]> git.saurik.com Git - wxWidgets.git/blob - configure
42168b45da2eee7232465e4f2a37d64cd06e2722
[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 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 DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY 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-shared create shared library code
877 --enable-optimise create optimised code
878 --enable-debug same as debug_flag and debug_info
879 --enable-stl use STL for containers
880 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
881 --enable-debug_info create code with debugging information
882 --enable-debug_gdb create code with extra GDB debugging information
883 --enable-debug_cntxt use wxDebugContext
884 --enable-mem_tracing create code with memory tracing
885 --enable-profile create code with profiling information
886 --enable-no_rtti create code without RTTI information
887 --enable-no_exceptions create code without C++ exceptions handling
888 --enable-permissive compile code disregarding strict ANSI
889 --enable-no_deps create code without dependency information
890 --enable-compat22 enable wxWindows 2.2 compatibility
891 --disable-compat24 disable wxWindows 2.4 compatibility
892 --enable-rpath=DIR output the rpath flag from wx-config
893 --enable-intl use internationalization system
894 --enable-config use wxConfig (and derived) classes
895 --enable-protocols use wxProtocol and derived classes
896 --enable-ftp use wxFTP (requires wxProtocol
897 --enable-http use wxHTTP (requires wxProtocol
898 --enable-fileproto use wxFileProto class (requires wxProtocol
899 --enable-sockets use socket/network classes
900 --enable-ole use OLE classes (Win32 only)
901 --enable-dataobj use data object classes
902 --enable-ipc use interprocess communication (wxSocket etc.)
903 --enable-apple_ieee use the Apple IEEE codec
904 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
905 --enable-cmdline use wxCmdLineParser class
906 --enable-datetime use wxDateTime class
907 --enable-dialupman use dialup network classes
908 --enable-dynlib use wxLibrary class for DLL loading
909 --enable-dynamicloader use (new) wxDynamicLibrary class
910 --enable-exceptions build exception-safe library
911 --enable-ffile use wxFFile class
912 --enable-file use wxFile class
913 --enable-filesystem use virtual file systems classes
914 --enable-fontmap use font encodings conversion classes
915 --enable-fs_inet use virtual HTTP/FTP filesystems
916 --enable-fs_zip use virtual ZIP filesystems
917 --enable-geometry use geometry class
918 --enable-log use logging system
919 --enable-longlong use wxLongLong class
920 --enable-mimetype use wxMimeTypesManager
921 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
922 --enable-snglinst use wxSingleInstanceChecker class
923 --enable-streams use wxStream etc classes
924 --enable-std_iostreams use standard C++ stream classes
925 --enable-stopwatch use wxStopWatch class
926 --enable-sysoptions use wxSystemOptions
927 --enable-textbuf use wxTextBuffer class
928 --enable-textfile use wxTextFile class
929 --enable-timer use wxTimer class
930 --enable-unicode compile wxString with Unicode support
931 --enable-sound use wxSound class
932 --enable-wxprintfv use wxWindows implementation of vprintf()
933 --enable-zipstream use wxZipInputStream
934 --enable-gzstream use wxGzipInputStream
935 --enable-url use wxURL class
936 --enable-protocol use wxProtocol class
937 --enable-protocol-http HTTP support in wxProtocol
938 --enable-protocol-ftp FTP support in wxProtocol
939 --enable-protocol-file FILE support in wxProtocol
940 --enable-threads use threads
941 --enable-docview use document view architecture
942 --enable-help use help subsystem
943 --enable-mshtmlhelp use MS HTML Help (win32)
944 --enable-html use wxHTML sub-library
945 --enable-htmlhelp use wxHTML-based help
946 --enable-constraints use layout-constraints system
947 --enable-printarch use printing architecture
948 --enable-mdi use multiple document interface architecture
949 --enable-loggui use standard GUI logger
950 --enable-logwin use wxLogWindow
951 --enable-logdialog use wxLogDialog
952 --enable-postscript use wxPostscriptDC device context (default for gtk+)
953 --enable-prologio not available; see contrib
954 --enable-resources not available; see contrib
955 --enable-clipboard use wxClipboard class
956 --enable-dnd use Drag'n'Drop classes
957 --enable-metafile use win32 metafiles
958 --enable-controls use all usual controls
959 --enable-accel use accelerators
960 --enable-button use wxButton class
961 --enable-bmpbutton use wxBitmapButton class
962 --enable-calendar use wxCalendarCtrl class
963 --enable-caret use wxCaret class
964 --enable-checkbox use wxCheckBox class
965 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
966 --enable-choice use wxChoice class
967 --enable-combobox use wxComboBox class
968 --enable-display use wxDisplay class
969 --enable-gauge use wxGauge class
970 --enable-grid use wxGrid class
971 --enable-imaglist use wxImageList class
972 --enable-listbook use wxListbook class
973 --enable-listbox use wxListBox class
974 --enable-listctrl use wxListCtrl class
975 --enable-notebook use wxNotebook class
976 --enable-radiobox use wxRadioBox class
977 --enable-radiobtn use wxRadioButton class
978 --enable-sash use wxSashWindow class
979 --enable-scrollbar use wxScrollBar class and scrollable windows
980 --enable-slider use wxSlider class
981 --enable-spinbtn use wxSpinButton class
982 --enable-spinctrl use wxSpinCtrl class
983 --enable-splitter use wxSplitterWindow class
984 --enable-statbmp use wxStaticBitmap class
985 --enable-statbox use wxStaticBox class
986 --enable-statline use wxStaticLine class
987 --enable-stattext use wxStaticText class
988 --enable-statusbar use wxStatusBar class
989 --enable-tabdialog use wxTabControl class
990 --enable-textctrl use wxTextCtrl class
991 --enable-togglebtn use wxToggleButton class
992 --enable-toolbar use wxToolBar class
993 --enable-tbarnative use native wxToolBar class
994 --enable-tbarsmpl use wxToolBarSimple class
995 --enable-treectrl use wxTreeCtrl class
996 --enable-tipwindow use wxTipWindow class
997 --enable-popupwin use wxPopUpWindow class
998 --enable-commondlg use all common dialogs
999 --enable-choicedlg use wxChoiceDialog
1000 --enable-coldlg use wxColourDialog
1001 --enable-filedlg use wxFileDialog
1002 --enable-finddlg use wxFindReplaceDialog
1003 --enable-fontdlg use wxFontDialog
1004 --enable-dirdlg use wxDirDialog
1005 --enable-msgdlg use wxMessageDialog
1006 --enable-numberdlg use wxNumberEntryDialog
1007 --enable-splash use wxSplashScreen
1008 --enable-textdlg use wxTextDialog
1009 --enable-tipdlg use startup tips
1010 --enable-progressdlg use wxProgressDialog
1011 --enable-wizarddlg use wxWizard
1012 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1013 --enable-miniframe use wxMiniFrame class
1014 --enable-tooltips use wxToolTip class
1015 --enable-splines use spline drawing code
1016 --enable-validators use wxValidator and derived classes
1017 --enable-busyinfo use wxBusyInfo
1018 --enable-joystick use wxJoystick (Linux only)
1019 --enable-metafiles use wxMetaFile (Windows only)
1020 --enable-dragimage use wxDragImage
1021 --enable-accessibility enable accessibility support
1022 --enable-palette use wxPalette class
1023 --enable-image use wxImage class
1024 --enable-gif use gif images (GIF file format)
1025 --enable-pcx use pcx images (PCX file format)
1026 --enable-iff use iff images (IFF file format)
1027 --enable-pnm use pnm images (PNM file format)
1028 --enable-xpm use xpm images (XPM file format)
1029 --enable-icocur use Windows ICO and CUR formats
1030 --enable-official_build official build of wxWindows (win32 DLL only)
1031 --enable-vendor=VENDOR vendor name (win32 DLL only)
1032 --disable-largefile omit support for large files
1033 --disable-gtktest do not try to compile and run a test GTK+ program
1034 --disable-gtktest Do not try to compile and run a test GTK program
1035 --disable-sdltest Do not try to compile and run a test SDL program
1036 --disable-precomp-headers don't use precompiled headers even if compiler can
1037
1038 Optional Packages:
1039 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1040 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1041 --with-gtk use GTK+
1042 --with-motif use Motif/Lesstif
1043 --with-mac use Mac OS X
1044 --with-cocoa use Cocoa
1045 --with-wine use Wine
1046 --with-msw use MS-Windows
1047 --with-pm use OS/2 Presentation Manager
1048 --with-mgl use SciTech MGL
1049 --with-microwin use MicroWindows
1050 --with-x11 use X11
1051 --with-libpng use libpng (PNG image format)
1052 --with-libjpeg use libjpeg (JPEG file format)
1053 --with-libtiff use libtiff (TIFF file format)
1054 --with-libxpm use libxpm (XPM file format)
1055 --with-libmspack use libmspack (CHM help files loading)
1056 --with-sdl use SDL for audio on Unix
1057 --with-opengl use OpenGL (or Mesa)
1058 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1059 --with-regex enable support for wxRegEx class
1060 --with-zlib use zlib for LZW compression
1061 --with-odbc use the IODBC and wxODBC classes
1062 --with-expat enable XML support using expat parser
1063 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1064 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1065 --with-x use the X Window System
1066 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1067 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1068 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1069
1070 Some influential environment variables:
1071 CC C compiler command
1072 CFLAGS C compiler flags
1073 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1074 nonstandard directory <lib dir>
1075 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1076 headers in a nonstandard directory <include dir>
1077 CPP C preprocessor
1078 CXX C++ compiler command
1079 CXXFLAGS C++ compiler flags
1080 CXXCPP C++ preprocessor
1081
1082 Use these variables to override the choices made by `configure' or to help
1083 it to find libraries and programs with nonstandard names/locations.
1084
1085 Report bugs to <wx-dev@lists.wxwindows.org>.
1086 _ACEOF
1087 fi
1088
1089 if test "$ac_init_help" = "recursive"; then
1090 # If there are subdirs, report their specific --help.
1091 ac_popdir=`pwd`
1092 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1093 test -d $ac_dir || continue
1094 ac_builddir=.
1095
1096 if test "$ac_dir" != .; then
1097 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1098 # A "../" for each directory in $ac_dir_suffix.
1099 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1100 else
1101 ac_dir_suffix= ac_top_builddir=
1102 fi
1103
1104 case $srcdir in
1105 .) # No --srcdir option. We are building in place.
1106 ac_srcdir=.
1107 if test -z "$ac_top_builddir"; then
1108 ac_top_srcdir=.
1109 else
1110 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1111 fi ;;
1112 [\\/]* | ?:[\\/]* ) # Absolute path.
1113 ac_srcdir=$srcdir$ac_dir_suffix;
1114 ac_top_srcdir=$srcdir ;;
1115 *) # Relative path.
1116 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1117 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1118 esac
1119
1120 # Do not use `cd foo && pwd` to compute absolute paths, because
1121 # the directories may not exist.
1122 case `pwd` in
1123 .) ac_abs_builddir="$ac_dir";;
1124 *)
1125 case "$ac_dir" in
1126 .) ac_abs_builddir=`pwd`;;
1127 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1128 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1129 esac;;
1130 esac
1131 case $ac_abs_builddir in
1132 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1133 *)
1134 case ${ac_top_builddir}. in
1135 .) ac_abs_top_builddir=$ac_abs_builddir;;
1136 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1137 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1138 esac;;
1139 esac
1140 case $ac_abs_builddir in
1141 .) ac_abs_srcdir=$ac_srcdir;;
1142 *)
1143 case $ac_srcdir in
1144 .) ac_abs_srcdir=$ac_abs_builddir;;
1145 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1146 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1147 esac;;
1148 esac
1149 case $ac_abs_builddir in
1150 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1151 *)
1152 case $ac_top_srcdir in
1153 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1154 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1155 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1156 esac;;
1157 esac
1158
1159 cd $ac_dir
1160 # Check for guested configure; otherwise get Cygnus style configure.
1161 if test -f $ac_srcdir/configure.gnu; then
1162 echo
1163 $SHELL $ac_srcdir/configure.gnu --help=recursive
1164 elif test -f $ac_srcdir/configure; then
1165 echo
1166 $SHELL $ac_srcdir/configure --help=recursive
1167 elif test -f $ac_srcdir/configure.ac ||
1168 test -f $ac_srcdir/configure.in; then
1169 echo
1170 $ac_configure --help
1171 else
1172 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1173 fi
1174 cd $ac_popdir
1175 done
1176 fi
1177
1178 test -n "$ac_init_help" && exit 0
1179 if $ac_init_version; then
1180 cat <<\_ACEOF
1181 wxWindows configure 2.5.1
1182 generated by GNU Autoconf 2.59
1183
1184 Copyright (C) 2003 Free Software Foundation, Inc.
1185 This configure script is free software; the Free Software Foundation
1186 gives unlimited permission to copy, distribute and modify it.
1187 _ACEOF
1188 exit 0
1189 fi
1190 exec 5>config.log
1191 cat >&5 <<_ACEOF
1192 This file contains any messages produced by compilers while
1193 running configure, to aid debugging if configure makes a mistake.
1194
1195 It was created by wxWindows $as_me 2.5.1, which was
1196 generated by GNU Autoconf 2.59. Invocation command line was
1197
1198 $ $0 $@
1199
1200 _ACEOF
1201 {
1202 cat <<_ASUNAME
1203 ## --------- ##
1204 ## Platform. ##
1205 ## --------- ##
1206
1207 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1208 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1209 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1210 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1211 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1212
1213 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1214 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1215
1216 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1217 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1218 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1219 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1220 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1221 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1222 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1223
1224 _ASUNAME
1225
1226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1227 for as_dir in $PATH
1228 do
1229 IFS=$as_save_IFS
1230 test -z "$as_dir" && as_dir=.
1231 echo "PATH: $as_dir"
1232 done
1233
1234 } >&5
1235
1236 cat >&5 <<_ACEOF
1237
1238
1239 ## ----------- ##
1240 ## Core tests. ##
1241 ## ----------- ##
1242
1243 _ACEOF
1244
1245
1246 # Keep a trace of the command line.
1247 # Strip out --no-create and --no-recursion so they do not pile up.
1248 # Strip out --silent because we don't want to record it for future runs.
1249 # Also quote any args containing shell meta-characters.
1250 # Make two passes to allow for proper duplicate-argument suppression.
1251 ac_configure_args=
1252 ac_configure_args0=
1253 ac_configure_args1=
1254 ac_sep=
1255 ac_must_keep_next=false
1256 for ac_pass in 1 2
1257 do
1258 for ac_arg
1259 do
1260 case $ac_arg in
1261 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1262 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1263 | -silent | --silent | --silen | --sile | --sil)
1264 continue ;;
1265 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1266 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1267 esac
1268 case $ac_pass in
1269 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1270 2)
1271 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1272 if test $ac_must_keep_next = true; then
1273 ac_must_keep_next=false # Got value, back to normal.
1274 else
1275 case $ac_arg in
1276 *=* | --config-cache | -C | -disable-* | --disable-* \
1277 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1278 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1279 | -with-* | --with-* | -without-* | --without-* | --x)
1280 case "$ac_configure_args0 " in
1281 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1282 esac
1283 ;;
1284 -* ) ac_must_keep_next=true ;;
1285 esac
1286 fi
1287 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1288 # Get rid of the leading space.
1289 ac_sep=" "
1290 ;;
1291 esac
1292 done
1293 done
1294 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1295 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1296
1297 # When interrupted or exit'd, cleanup temporary files, and complete
1298 # config.log. We remove comments because anyway the quotes in there
1299 # would cause problems or look ugly.
1300 # WARNING: Be sure not to use single quotes in there, as some shells,
1301 # such as our DU 5.0 friend, will then `close' the trap.
1302 trap 'exit_status=$?
1303 # Save into config.log some information that might help in debugging.
1304 {
1305 echo
1306
1307 cat <<\_ASBOX
1308 ## ---------------- ##
1309 ## Cache variables. ##
1310 ## ---------------- ##
1311 _ASBOX
1312 echo
1313 # The following way of writing the cache mishandles newlines in values,
1314 {
1315 (set) 2>&1 |
1316 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1317 *ac_space=\ *)
1318 sed -n \
1319 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1320 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1321 ;;
1322 *)
1323 sed -n \
1324 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1325 ;;
1326 esac;
1327 }
1328 echo
1329
1330 cat <<\_ASBOX
1331 ## ----------------- ##
1332 ## Output variables. ##
1333 ## ----------------- ##
1334 _ASBOX
1335 echo
1336 for ac_var in $ac_subst_vars
1337 do
1338 eval ac_val=$`echo $ac_var`
1339 echo "$ac_var='"'"'$ac_val'"'"'"
1340 done | sort
1341 echo
1342
1343 if test -n "$ac_subst_files"; then
1344 cat <<\_ASBOX
1345 ## ------------- ##
1346 ## Output files. ##
1347 ## ------------- ##
1348 _ASBOX
1349 echo
1350 for ac_var in $ac_subst_files
1351 do
1352 eval ac_val=$`echo $ac_var`
1353 echo "$ac_var='"'"'$ac_val'"'"'"
1354 done | sort
1355 echo
1356 fi
1357
1358 if test -s confdefs.h; then
1359 cat <<\_ASBOX
1360 ## ----------- ##
1361 ## confdefs.h. ##
1362 ## ----------- ##
1363 _ASBOX
1364 echo
1365 sed "/^$/d" confdefs.h | sort
1366 echo
1367 fi
1368 test "$ac_signal" != 0 &&
1369 echo "$as_me: caught signal $ac_signal"
1370 echo "$as_me: exit $exit_status"
1371 } >&5
1372 rm -f core *.core &&
1373 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1374 exit $exit_status
1375 ' 0
1376 for ac_signal in 1 2 13 15; do
1377 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1378 done
1379 ac_signal=0
1380
1381 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1382 rm -rf conftest* confdefs.h
1383 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1384 echo >confdefs.h
1385
1386 # Predefined preprocessor variables.
1387
1388 cat >>confdefs.h <<_ACEOF
1389 #define PACKAGE_NAME "$PACKAGE_NAME"
1390 _ACEOF
1391
1392
1393 cat >>confdefs.h <<_ACEOF
1394 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1395 _ACEOF
1396
1397
1398 cat >>confdefs.h <<_ACEOF
1399 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1400 _ACEOF
1401
1402
1403 cat >>confdefs.h <<_ACEOF
1404 #define PACKAGE_STRING "$PACKAGE_STRING"
1405 _ACEOF
1406
1407
1408 cat >>confdefs.h <<_ACEOF
1409 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1410 _ACEOF
1411
1412
1413 # Let the site file select an alternate cache file if it wants to.
1414 # Prefer explicitly selected file to automatically selected ones.
1415 if test -z "$CONFIG_SITE"; then
1416 if test "x$prefix" != xNONE; then
1417 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1418 else
1419 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1420 fi
1421 fi
1422 for ac_site_file in $CONFIG_SITE; do
1423 if test -r "$ac_site_file"; then
1424 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1425 echo "$as_me: loading site script $ac_site_file" >&6;}
1426 sed 's/^/| /' "$ac_site_file" >&5
1427 . "$ac_site_file"
1428 fi
1429 done
1430
1431 if test -r "$cache_file"; then
1432 # Some versions of bash will fail to source /dev/null (special
1433 # files actually), so we avoid doing that.
1434 if test -f "$cache_file"; then
1435 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1436 echo "$as_me: loading cache $cache_file" >&6;}
1437 case $cache_file in
1438 [\\/]* | ?:[\\/]* ) . $cache_file;;
1439 *) . ./$cache_file;;
1440 esac
1441 fi
1442 else
1443 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1444 echo "$as_me: creating cache $cache_file" >&6;}
1445 >$cache_file
1446 fi
1447
1448 # Check that the precious variables saved in the cache have kept the same
1449 # value.
1450 ac_cache_corrupted=false
1451 for ac_var in `(set) 2>&1 |
1452 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1453 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1454 eval ac_new_set=\$ac_env_${ac_var}_set
1455 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1456 eval ac_new_val="\$ac_env_${ac_var}_value"
1457 case $ac_old_set,$ac_new_set in
1458 set,)
1459 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1460 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1461 ac_cache_corrupted=: ;;
1462 ,set)
1463 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1464 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1465 ac_cache_corrupted=: ;;
1466 ,);;
1467 *)
1468 if test "x$ac_old_val" != "x$ac_new_val"; then
1469 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1470 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1471 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1472 echo "$as_me: former value: $ac_old_val" >&2;}
1473 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1474 echo "$as_me: current value: $ac_new_val" >&2;}
1475 ac_cache_corrupted=:
1476 fi;;
1477 esac
1478 # Pass precious variables to config.status.
1479 if test "$ac_new_set" = set; then
1480 case $ac_new_val in
1481 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1482 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1483 *) ac_arg=$ac_var=$ac_new_val ;;
1484 esac
1485 case " $ac_configure_args " in
1486 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1487 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1488 esac
1489 fi
1490 done
1491 if $ac_cache_corrupted; then
1492 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1493 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1494 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1495 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1496 { (exit 1); exit 1; }; }
1497 fi
1498
1499 ac_ext=c
1500 ac_cpp='$CPP $CPPFLAGS'
1501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1504
1505
1506
1507
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 ac_aux_dir=
1535 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1536 if test -f $ac_dir/install-sh; then
1537 ac_aux_dir=$ac_dir
1538 ac_install_sh="$ac_aux_dir/install-sh -c"
1539 break
1540 elif 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/shtool; then
1545 ac_aux_dir=$ac_dir
1546 ac_install_sh="$ac_aux_dir/shtool install -c"
1547 break
1548 fi
1549 done
1550 if test -z "$ac_aux_dir"; then
1551 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1552 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1553 { (exit 1); exit 1; }; }
1554 fi
1555 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1556 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1557 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1558
1559 # Make sure we can run config.sub.
1560 $ac_config_sub sun4 >/dev/null 2>&1 ||
1561 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1562 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1563 { (exit 1); exit 1; }; }
1564
1565 echo "$as_me:$LINENO: checking build system type" >&5
1566 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1567 if test "${ac_cv_build+set}" = set; then
1568 echo $ECHO_N "(cached) $ECHO_C" >&6
1569 else
1570 ac_cv_build_alias=$build_alias
1571 test -z "$ac_cv_build_alias" &&
1572 ac_cv_build_alias=`$ac_config_guess`
1573 test -z "$ac_cv_build_alias" &&
1574 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1575 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1576 { (exit 1); exit 1; }; }
1577 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1578 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1579 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1580 { (exit 1); exit 1; }; }
1581
1582 fi
1583 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1584 echo "${ECHO_T}$ac_cv_build" >&6
1585 build=$ac_cv_build
1586 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1587 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1588 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1589
1590
1591 echo "$as_me:$LINENO: checking host system type" >&5
1592 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1593 if test "${ac_cv_host+set}" = set; then
1594 echo $ECHO_N "(cached) $ECHO_C" >&6
1595 else
1596 ac_cv_host_alias=$host_alias
1597 test -z "$ac_cv_host_alias" &&
1598 ac_cv_host_alias=$ac_cv_build_alias
1599 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1600 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1601 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1602 { (exit 1); exit 1; }; }
1603
1604 fi
1605 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1606 echo "${ECHO_T}$ac_cv_host" >&6
1607 host=$ac_cv_host
1608 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1609 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1610 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1611
1612
1613 echo "$as_me:$LINENO: checking target system type" >&5
1614 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1615 if test "${ac_cv_target+set}" = set; then
1616 echo $ECHO_N "(cached) $ECHO_C" >&6
1617 else
1618 ac_cv_target_alias=$target_alias
1619 test "x$ac_cv_target_alias" = "x" &&
1620 ac_cv_target_alias=$ac_cv_host_alias
1621 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1622 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1623 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1624 { (exit 1); exit 1; }; }
1625
1626 fi
1627 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1628 echo "${ECHO_T}$ac_cv_target" >&6
1629 target=$ac_cv_target
1630 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1631 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1632 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1633
1634
1635 # The aliases save the names the user supplied, while $host etc.
1636 # will get canonicalized.
1637 test -n "$target_alias" &&
1638 test "$program_prefix$program_suffix$program_transform_name" = \
1639 NONENONEs,x,x, &&
1640 program_prefix=${target_alias}-
1641
1642
1643
1644 WX_MAJOR_VERSION_NUMBER=2
1645 WX_MINOR_VERSION_NUMBER=5
1646 WX_RELEASE_NUMBER=1
1647
1648 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1649 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1650
1651 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1652
1653 WX_CURRENT=1
1654 WX_REVISION=0
1655 WX_AGE=0
1656
1657
1658
1659 USE_UNIX=1
1660 USE_OS2=0
1661 USE_WIN32=0
1662 USE_DOS=0
1663 USE_BEOS=0
1664 USE_MAC=0
1665
1666 USE_AIX=
1667 USE_BSD= USE_DARWIN= USE_FREEBSD=
1668 USE_GNU= USE_HPUX=
1669 USE_LINUX=
1670 USE_NETBSD=
1671 USE_OPENBSD=
1672 USE_OSF= USE_SGI=
1673 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1674 USE_ULTRIX=
1675 USE_UNIXWARE=
1676
1677 USE_ALPHA=
1678
1679 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1680
1681 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1682
1683 DEFAULT_wxUSE_COCOA=0
1684 DEFAULT_wxUSE_GTK=0
1685 DEFAULT_wxUSE_MAC=0
1686 DEFAULT_wxUSE_MGL=0
1687 DEFAULT_wxUSE_MICROWIN=0
1688 DEFAULT_wxUSE_MOTIF=0
1689 DEFAULT_wxUSE_MSW=0
1690 DEFAULT_wxUSE_PM=0
1691 DEFAULT_wxUSE_X11=0
1692
1693 DEFAULT_DEFAULT_wxUSE_COCOA=0
1694 DEFAULT_DEFAULT_wxUSE_GTK=0
1695 DEFAULT_DEFAULT_wxUSE_MAC=0
1696 DEFAULT_DEFAULT_wxUSE_MGL=0
1697 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1698 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1699 DEFAULT_DEFAULT_wxUSE_MSW=0
1700 DEFAULT_DEFAULT_wxUSE_PM=0
1701 DEFAULT_DEFAULT_wxUSE_X11=0
1702
1703 PROGRAM_EXT=
1704 SO_SUFFIX=so
1705 SAMPLES_RPATH_FLAG=
1706 SAMPLES_RPATH_POSTLINK=
1707
1708 case "${host}" in
1709 *-hp-hpux* )
1710 USE_HPUX=1
1711 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1712 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1713 SO_SUFFIX=sl
1714 cat >>confdefs.h <<\_ACEOF
1715 #define __HPUX__ 1
1716 _ACEOF
1717
1718 ;;
1719 *-*-linux* )
1720 USE_LINUX=1
1721 cat >>confdefs.h <<\_ACEOF
1722 #define __LINUX__ 1
1723 _ACEOF
1724
1725 TMP=`uname -m`
1726 if test "x$TMP" = "xalpha"; then
1727 USE_ALPHA=1
1728 cat >>confdefs.h <<\_ACEOF
1729 #define __ALPHA__ 1
1730 _ACEOF
1731
1732 fi
1733 DEFAULT_DEFAULT_wxUSE_GTK=1
1734 ;;
1735 *-*-gnu* )
1736 USE_GNU=1
1737 cat >>confdefs.h <<\_ACEOF
1738 #define __GNU__ 1
1739 _ACEOF
1740
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 -Zsysv-signals"
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=no
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
2701 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2702 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2703 no_cache=0
2704
2705 # Check whether --with-libpng or --without-libpng was given.
2706 if test "${with_libpng+set}" = set; then
2707 withval="$with_libpng"
2708
2709 if test "$withval" = yes; then
2710 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2711 elif test "$withval" = no; then
2712 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2713 elif test "$withval" = sys; then
2714 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2715 elif test "$withval" = builtin; then
2716 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2717 else
2718 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2719 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2720 { (exit 1); exit 1; }; }
2721 fi
2722
2723 else
2724
2725 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2726 if test "x$LINE" != x ; then
2727 eval "DEFAULT_$LINE"
2728 else
2729 no_cache=1
2730 fi
2731
2732 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2733
2734 fi;
2735
2736 eval "$ac_cv_use_libpng"
2737 if test "$no_cache" != 1; then
2738 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2739 fi
2740
2741 if test "$wxUSE_LIBPNG" = yes; then
2742 echo "$as_me:$LINENO: result: yes" >&5
2743 echo "${ECHO_T}yes" >&6
2744 elif test "$wxUSE_LIBPNG" = no; then
2745 echo "$as_me:$LINENO: result: no" >&5
2746 echo "${ECHO_T}no" >&6
2747 elif test "$wxUSE_LIBPNG" = sys; then
2748 echo "$as_me:$LINENO: result: system version" >&5
2749 echo "${ECHO_T}system version" >&6
2750 elif test "$wxUSE_LIBPNG" = builtin; then
2751 echo "$as_me:$LINENO: result: builtin version" >&5
2752 echo "${ECHO_T}builtin version" >&6
2753 else
2754 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2755 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2756 { (exit 1); exit 1; }; }
2757 fi
2758
2759
2760 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2761 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2762 no_cache=0
2763
2764 # Check whether --with-libjpeg or --without-libjpeg was given.
2765 if test "${with_libjpeg+set}" = set; then
2766 withval="$with_libjpeg"
2767
2768 if test "$withval" = yes; then
2769 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2770 elif test "$withval" = no; then
2771 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2772 elif test "$withval" = sys; then
2773 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2774 elif test "$withval" = builtin; then
2775 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2776 else
2777 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2778 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2779 { (exit 1); exit 1; }; }
2780 fi
2781
2782 else
2783
2784 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2785 if test "x$LINE" != x ; then
2786 eval "DEFAULT_$LINE"
2787 else
2788 no_cache=1
2789 fi
2790
2791 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2792
2793 fi;
2794
2795 eval "$ac_cv_use_libjpeg"
2796 if test "$no_cache" != 1; then
2797 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2798 fi
2799
2800 if test "$wxUSE_LIBJPEG" = yes; then
2801 echo "$as_me:$LINENO: result: yes" >&5
2802 echo "${ECHO_T}yes" >&6
2803 elif test "$wxUSE_LIBJPEG" = no; then
2804 echo "$as_me:$LINENO: result: no" >&5
2805 echo "${ECHO_T}no" >&6
2806 elif test "$wxUSE_LIBJPEG" = sys; then
2807 echo "$as_me:$LINENO: result: system version" >&5
2808 echo "${ECHO_T}system version" >&6
2809 elif test "$wxUSE_LIBJPEG" = builtin; then
2810 echo "$as_me:$LINENO: result: builtin version" >&5
2811 echo "${ECHO_T}builtin version" >&6
2812 else
2813 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2814 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2815 { (exit 1); exit 1; }; }
2816 fi
2817
2818
2819 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2820 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2821 no_cache=0
2822
2823 # Check whether --with-libtiff or --without-libtiff was given.
2824 if test "${with_libtiff+set}" = set; then
2825 withval="$with_libtiff"
2826
2827 if test "$withval" = yes; then
2828 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2829 elif test "$withval" = no; then
2830 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2831 elif test "$withval" = sys; then
2832 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2833 elif test "$withval" = builtin; then
2834 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2835 else
2836 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2837 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2838 { (exit 1); exit 1; }; }
2839 fi
2840
2841 else
2842
2843 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2844 if test "x$LINE" != x ; then
2845 eval "DEFAULT_$LINE"
2846 else
2847 no_cache=1
2848 fi
2849
2850 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2851
2852 fi;
2853
2854 eval "$ac_cv_use_libtiff"
2855 if test "$no_cache" != 1; then
2856 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2857 fi
2858
2859 if test "$wxUSE_LIBTIFF" = yes; then
2860 echo "$as_me:$LINENO: result: yes" >&5
2861 echo "${ECHO_T}yes" >&6
2862 elif test "$wxUSE_LIBTIFF" = no; then
2863 echo "$as_me:$LINENO: result: no" >&5
2864 echo "${ECHO_T}no" >&6
2865 elif test "$wxUSE_LIBTIFF" = sys; then
2866 echo "$as_me:$LINENO: result: system version" >&5
2867 echo "${ECHO_T}system version" >&6
2868 elif test "$wxUSE_LIBTIFF" = builtin; then
2869 echo "$as_me:$LINENO: result: builtin version" >&5
2870 echo "${ECHO_T}builtin version" >&6
2871 else
2872 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2873 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2874 { (exit 1); exit 1; }; }
2875 fi
2876
2877
2878 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2879 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2880 no_cache=0
2881
2882 # Check whether --with-libxpm or --without-libxpm was given.
2883 if test "${with_libxpm+set}" = set; then
2884 withval="$with_libxpm"
2885
2886 if test "$withval" = yes; then
2887 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2888 elif test "$withval" = no; then
2889 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2890 elif test "$withval" = sys; then
2891 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2892 elif test "$withval" = builtin; then
2893 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2894 else
2895 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2896 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2897 { (exit 1); exit 1; }; }
2898 fi
2899
2900 else
2901
2902 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2903 if test "x$LINE" != x ; then
2904 eval "DEFAULT_$LINE"
2905 else
2906 no_cache=1
2907 fi
2908
2909 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2910
2911 fi;
2912
2913 eval "$ac_cv_use_libxpm"
2914 if test "$no_cache" != 1; then
2915 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2916 fi
2917
2918 if test "$wxUSE_LIBXPM" = yes; then
2919 echo "$as_me:$LINENO: result: yes" >&5
2920 echo "${ECHO_T}yes" >&6
2921 elif test "$wxUSE_LIBXPM" = no; then
2922 echo "$as_me:$LINENO: result: no" >&5
2923 echo "${ECHO_T}no" >&6
2924 elif test "$wxUSE_LIBXPM" = sys; then
2925 echo "$as_me:$LINENO: result: system version" >&5
2926 echo "${ECHO_T}system version" >&6
2927 elif test "$wxUSE_LIBXPM" = builtin; then
2928 echo "$as_me:$LINENO: result: builtin version" >&5
2929 echo "${ECHO_T}builtin version" >&6
2930 else
2931 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2932 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2933 { (exit 1); exit 1; }; }
2934 fi
2935
2936
2937 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2938 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2939 no_cache=0
2940
2941 # Check whether --with-libmspack or --without-libmspack was given.
2942 if test "${with_libmspack+set}" = set; then
2943 withval="$with_libmspack"
2944
2945 if test "$withval" = yes; then
2946 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
2947 else
2948 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
2949 fi
2950
2951 else
2952
2953 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
2954 if test "x$LINE" != x ; then
2955 eval "DEFAULT_$LINE"
2956 else
2957 no_cache=1
2958 fi
2959
2960 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
2961
2962 fi;
2963
2964 eval "$ac_cv_use_libmspack"
2965 if test "$no_cache" != 1; then
2966 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
2967 fi
2968
2969 if test "$wxUSE_LIBMSPACK" = yes; then
2970 echo "$as_me:$LINENO: result: yes" >&5
2971 echo "${ECHO_T}yes" >&6
2972 else
2973 echo "$as_me:$LINENO: result: no" >&5
2974 echo "${ECHO_T}no" >&6
2975 fi
2976
2977
2978 echo "$as_me:$LINENO: checking for --with-sdl" >&5
2979 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
2980 no_cache=0
2981
2982 # Check whether --with-sdl or --without-sdl was given.
2983 if test "${with_sdl+set}" = set; then
2984 withval="$with_sdl"
2985
2986 if test "$withval" = yes; then
2987 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
2988 else
2989 ac_cv_use_sdl='wxUSE_LIBSDL=no'
2990 fi
2991
2992 else
2993
2994 LINE=`grep "wxUSE_LIBSDL" ${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_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3002
3003 fi;
3004
3005 eval "$ac_cv_use_sdl"
3006 if test "$no_cache" != 1; then
3007 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3008 fi
3009
3010 if test "$wxUSE_LIBSDL" = 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-opengl" >&5
3020 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3021 no_cache=0
3022
3023 # Check whether --with-opengl or --without-opengl was given.
3024 if test "${with_opengl+set}" = set; then
3025 withval="$with_opengl"
3026
3027 if test "$withval" = yes; then
3028 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3029 else
3030 ac_cv_use_opengl='wxUSE_OPENGL=no'
3031 fi
3032
3033 else
3034
3035 LINE=`grep "wxUSE_OPENGL" ${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_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3043
3044 fi;
3045
3046 eval "$ac_cv_use_opengl"
3047 if test "$no_cache" != 1; then
3048 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3049 fi
3050
3051 if test "$wxUSE_OPENGL" = 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 fi
3061
3062
3063 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3064 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3065 no_cache=0
3066
3067 # Check whether --with-dmalloc or --without-dmalloc was given.
3068 if test "${with_dmalloc+set}" = set; then
3069 withval="$with_dmalloc"
3070
3071 if test "$withval" = yes; then
3072 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3073 else
3074 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3075 fi
3076
3077 else
3078
3079 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3080 if test "x$LINE" != x ; then
3081 eval "DEFAULT_$LINE"
3082 else
3083 no_cache=1
3084 fi
3085
3086 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3087
3088 fi;
3089
3090 eval "$ac_cv_use_dmalloc"
3091 if test "$no_cache" != 1; then
3092 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3093 fi
3094
3095 if test "$wxUSE_DMALLOC" = yes; then
3096 echo "$as_me:$LINENO: result: yes" >&5
3097 echo "${ECHO_T}yes" >&6
3098 else
3099 echo "$as_me:$LINENO: result: no" >&5
3100 echo "${ECHO_T}no" >&6
3101 fi
3102
3103
3104 echo "$as_me:$LINENO: checking for --with-regex" >&5
3105 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3106 no_cache=0
3107
3108 # Check whether --with-regex or --without-regex was given.
3109 if test "${with_regex+set}" = set; then
3110 withval="$with_regex"
3111
3112 if test "$withval" = yes; then
3113 ac_cv_use_regex='wxUSE_REGEX=yes'
3114 elif test "$withval" = no; then
3115 ac_cv_use_regex='wxUSE_REGEX=no'
3116 elif test "$withval" = sys; then
3117 ac_cv_use_regex='wxUSE_REGEX=sys'
3118 elif test "$withval" = builtin; then
3119 ac_cv_use_regex='wxUSE_REGEX=builtin'
3120 else
3121 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3122 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3123 { (exit 1); exit 1; }; }
3124 fi
3125
3126 else
3127
3128 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3129 if test "x$LINE" != x ; then
3130 eval "DEFAULT_$LINE"
3131 else
3132 no_cache=1
3133 fi
3134
3135 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3136
3137 fi;
3138
3139 eval "$ac_cv_use_regex"
3140 if test "$no_cache" != 1; then
3141 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3142 fi
3143
3144 if test "$wxUSE_REGEX" = yes; then
3145 echo "$as_me:$LINENO: result: yes" >&5
3146 echo "${ECHO_T}yes" >&6
3147 elif test "$wxUSE_REGEX" = no; then
3148 echo "$as_me:$LINENO: result: no" >&5
3149 echo "${ECHO_T}no" >&6
3150 elif test "$wxUSE_REGEX" = sys; then
3151 echo "$as_me:$LINENO: result: system version" >&5
3152 echo "${ECHO_T}system version" >&6
3153 elif test "$wxUSE_REGEX" = builtin; then
3154 echo "$as_me:$LINENO: result: builtin version" >&5
3155 echo "${ECHO_T}builtin version" >&6
3156 else
3157 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3158 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3159 { (exit 1); exit 1; }; }
3160 fi
3161
3162
3163 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3164 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3165 no_cache=0
3166
3167 # Check whether --with-zlib or --without-zlib was given.
3168 if test "${with_zlib+set}" = set; then
3169 withval="$with_zlib"
3170
3171 if test "$withval" = yes; then
3172 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3173 elif test "$withval" = no; then
3174 ac_cv_use_zlib='wxUSE_ZLIB=no'
3175 elif test "$withval" = sys; then
3176 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3177 elif test "$withval" = builtin; then
3178 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3179 else
3180 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3181 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3182 { (exit 1); exit 1; }; }
3183 fi
3184
3185 else
3186
3187 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3188 if test "x$LINE" != x ; then
3189 eval "DEFAULT_$LINE"
3190 else
3191 no_cache=1
3192 fi
3193
3194 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3195
3196 fi;
3197
3198 eval "$ac_cv_use_zlib"
3199 if test "$no_cache" != 1; then
3200 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3201 fi
3202
3203 if test "$wxUSE_ZLIB" = yes; then
3204 echo "$as_me:$LINENO: result: yes" >&5
3205 echo "${ECHO_T}yes" >&6
3206 elif test "$wxUSE_ZLIB" = no; then
3207 echo "$as_me:$LINENO: result: no" >&5
3208 echo "${ECHO_T}no" >&6
3209 elif test "$wxUSE_ZLIB" = sys; then
3210 echo "$as_me:$LINENO: result: system version" >&5
3211 echo "${ECHO_T}system version" >&6
3212 elif test "$wxUSE_ZLIB" = builtin; then
3213 echo "$as_me:$LINENO: result: builtin version" >&5
3214 echo "${ECHO_T}builtin version" >&6
3215 else
3216 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3217 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3218 { (exit 1); exit 1; }; }
3219 fi
3220
3221
3222 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3223 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3224 no_cache=0
3225
3226 # Check whether --with-odbc or --without-odbc was given.
3227 if test "${with_odbc+set}" = set; then
3228 withval="$with_odbc"
3229
3230 if test "$withval" = yes; then
3231 ac_cv_use_odbc='wxUSE_ODBC=yes'
3232 elif test "$withval" = no; then
3233 ac_cv_use_odbc='wxUSE_ODBC=no'
3234 elif test "$withval" = sys; then
3235 ac_cv_use_odbc='wxUSE_ODBC=sys'
3236 elif test "$withval" = builtin; then
3237 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3238 else
3239 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3240 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3241 { (exit 1); exit 1; }; }
3242 fi
3243
3244 else
3245
3246 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3247 if test "x$LINE" != x ; then
3248 eval "DEFAULT_$LINE"
3249 else
3250 no_cache=1
3251 fi
3252
3253 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3254
3255 fi;
3256
3257 eval "$ac_cv_use_odbc"
3258 if test "$no_cache" != 1; then
3259 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3260 fi
3261
3262 if test "$wxUSE_ODBC" = yes; then
3263 echo "$as_me:$LINENO: result: yes" >&5
3264 echo "${ECHO_T}yes" >&6
3265 elif test "$wxUSE_ODBC" = no; then
3266 echo "$as_me:$LINENO: result: no" >&5
3267 echo "${ECHO_T}no" >&6
3268 elif test "$wxUSE_ODBC" = sys; then
3269 echo "$as_me:$LINENO: result: system version" >&5
3270 echo "${ECHO_T}system version" >&6
3271 elif test "$wxUSE_ODBC" = builtin; then
3272 echo "$as_me:$LINENO: result: builtin version" >&5
3273 echo "${ECHO_T}builtin version" >&6
3274 else
3275 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3276 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3277 { (exit 1); exit 1; }; }
3278 fi
3279
3280
3281 echo "$as_me:$LINENO: checking for --with-expat" >&5
3282 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3283 no_cache=0
3284
3285 # Check whether --with-expat or --without-expat was given.
3286 if test "${with_expat+set}" = set; then
3287 withval="$with_expat"
3288
3289 if test "$withval" = yes; then
3290 ac_cv_use_expat='wxUSE_EXPAT=yes'
3291 elif test "$withval" = no; then
3292 ac_cv_use_expat='wxUSE_EXPAT=no'
3293 elif test "$withval" = sys; then
3294 ac_cv_use_expat='wxUSE_EXPAT=sys'
3295 elif test "$withval" = builtin; then
3296 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3297 else
3298 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3299 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3300 { (exit 1); exit 1; }; }
3301 fi
3302
3303 else
3304
3305 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3306 if test "x$LINE" != x ; then
3307 eval "DEFAULT_$LINE"
3308 else
3309 no_cache=1
3310 fi
3311
3312 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3313
3314 fi;
3315
3316 eval "$ac_cv_use_expat"
3317 if test "$no_cache" != 1; then
3318 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3319 fi
3320
3321 if test "$wxUSE_EXPAT" = yes; then
3322 echo "$as_me:$LINENO: result: yes" >&5
3323 echo "${ECHO_T}yes" >&6
3324 elif test "$wxUSE_EXPAT" = no; then
3325 echo "$as_me:$LINENO: result: no" >&5
3326 echo "${ECHO_T}no" >&6
3327 elif test "$wxUSE_EXPAT" = sys; then
3328 echo "$as_me:$LINENO: result: system version" >&5
3329 echo "${ECHO_T}system version" >&6
3330 elif test "$wxUSE_EXPAT" = builtin; then
3331 echo "$as_me:$LINENO: result: builtin version" >&5
3332 echo "${ECHO_T}builtin version" >&6
3333 else
3334 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3335 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3336 { (exit 1); exit 1; }; }
3337 fi
3338
3339
3340
3341
3342 enablestring=
3343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3344 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3345 no_cache=0
3346 # Check whether --enable-shared or --disable-shared was given.
3347 if test "${enable_shared+set}" = set; then
3348 enableval="$enable_shared"
3349
3350 if test "$enableval" = yes; then
3351 ac_cv_use_shared='wxUSE_SHARED=yes'
3352 else
3353 ac_cv_use_shared='wxUSE_SHARED=no'
3354 fi
3355
3356 else
3357
3358 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3359 if test "x$LINE" != x ; then
3360 eval "DEFAULT_$LINE"
3361 else
3362 no_cache=1
3363 fi
3364
3365 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3366
3367 fi;
3368
3369 eval "$ac_cv_use_shared"
3370 if test "$no_cache" != 1; then
3371 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3372 fi
3373
3374 if test "$wxUSE_SHARED" = yes; then
3375 echo "$as_me:$LINENO: result: yes" >&5
3376 echo "${ECHO_T}yes" >&6
3377 else
3378 echo "$as_me:$LINENO: result: no" >&5
3379 echo "${ECHO_T}no" >&6
3380 fi
3381
3382
3383 enablestring=
3384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3385 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3386 no_cache=0
3387 # Check whether --enable-optimise or --disable-optimise was given.
3388 if test "${enable_optimise+set}" = set; then
3389 enableval="$enable_optimise"
3390
3391 if test "$enableval" = yes; then
3392 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3393 else
3394 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3395 fi
3396
3397 else
3398
3399 LINE=`grep "wxUSE_OPTIMISE" ${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_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3407
3408 fi;
3409
3410 eval "$ac_cv_use_optimise"
3411 if test "$no_cache" != 1; then
3412 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3413 fi
3414
3415 if test "$wxUSE_OPTIMISE" = 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}-debug" >&5
3426 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3427 no_cache=0
3428 # Check whether --enable-debug or --disable-debug was given.
3429 if test "${enable_debug+set}" = set; then
3430 enableval="$enable_debug"
3431
3432 if test "$enableval" = yes; then
3433 ac_cv_use_debug='wxUSE_DEBUG=yes'
3434 else
3435 ac_cv_use_debug='wxUSE_DEBUG=no'
3436 fi
3437
3438 else
3439
3440 LINE=`grep "wxUSE_DEBUG" ${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_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3448
3449 fi;
3450
3451 eval "$ac_cv_use_debug"
3452 if test "$no_cache" != 1; then
3453 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3454 fi
3455
3456 if test "$wxUSE_DEBUG" = 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}-stl" >&5
3467 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3468 no_cache=0
3469 # Check whether --enable-stl or --disable-stl was given.
3470 if test "${enable_stl+set}" = set; then
3471 enableval="$enable_stl"
3472
3473 if test "$enableval" = yes; then
3474 ac_cv_use_stl='wxUSE_STL=yes'
3475 else
3476 ac_cv_use_stl='wxUSE_STL=no'
3477 fi
3478
3479 else
3480
3481 LINE=`grep "wxUSE_STL" ${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_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3489
3490 fi;
3491
3492 eval "$ac_cv_use_stl"
3493 if test "$no_cache" != 1; then
3494 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3495 fi
3496
3497 if test "$wxUSE_STL" = 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 if test "$wxUSE_DEBUG" = "yes"; then
3507 DEFAULT_wxUSE_DEBUG_FLAG=yes
3508 DEFAULT_wxUSE_DEBUG_INFO=yes
3509 BUILD=debug
3510 elif test "$wxUSE_DEBUG" = "no"; then
3511 DEFAULT_wxUSE_DEBUG_FLAG=no
3512 DEFAULT_wxUSE_DEBUG_INFO=no
3513 BUILD=release
3514 fi
3515
3516
3517 enablestring=
3518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3519 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3520 no_cache=0
3521 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3522 if test "${enable_debug_flag+set}" = set; then
3523 enableval="$enable_debug_flag"
3524
3525 if test "$enableval" = yes; then
3526 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3527 else
3528 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3529 fi
3530
3531 else
3532
3533 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3534 if test "x$LINE" != x ; then
3535 eval "DEFAULT_$LINE"
3536 else
3537 no_cache=1
3538 fi
3539
3540 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3541
3542 fi;
3543
3544 eval "$ac_cv_use_debug_flag"
3545 if test "$no_cache" != 1; then
3546 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3547 fi
3548
3549 if test "$wxUSE_DEBUG_FLAG" = yes; then
3550 echo "$as_me:$LINENO: result: yes" >&5
3551 echo "${ECHO_T}yes" >&6
3552 else
3553 echo "$as_me:$LINENO: result: no" >&5
3554 echo "${ECHO_T}no" >&6
3555 fi
3556
3557
3558 enablestring=
3559 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3560 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3561 no_cache=0
3562 # Check whether --enable-debug_info or --disable-debug_info was given.
3563 if test "${enable_debug_info+set}" = set; then
3564 enableval="$enable_debug_info"
3565
3566 if test "$enableval" = yes; then
3567 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3568 else
3569 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3570 fi
3571
3572 else
3573
3574 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3575 if test "x$LINE" != x ; then
3576 eval "DEFAULT_$LINE"
3577 else
3578 no_cache=1
3579 fi
3580
3581 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3582
3583 fi;
3584
3585 eval "$ac_cv_use_debug_info"
3586 if test "$no_cache" != 1; then
3587 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3588 fi
3589
3590 if test "$wxUSE_DEBUG_INFO" = yes; then
3591 echo "$as_me:$LINENO: result: yes" >&5
3592 echo "${ECHO_T}yes" >&6
3593 else
3594 echo "$as_me:$LINENO: result: no" >&5
3595 echo "${ECHO_T}no" >&6
3596 fi
3597
3598
3599 enablestring=
3600 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3601 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3602 no_cache=0
3603 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3604 if test "${enable_debug_gdb+set}" = set; then
3605 enableval="$enable_debug_gdb"
3606
3607 if test "$enableval" = yes; then
3608 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3609 else
3610 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3611 fi
3612
3613 else
3614
3615 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3616 if test "x$LINE" != x ; then
3617 eval "DEFAULT_$LINE"
3618 else
3619 no_cache=1
3620 fi
3621
3622 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3623
3624 fi;
3625
3626 eval "$ac_cv_use_debug_gdb"
3627 if test "$no_cache" != 1; then
3628 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3629 fi
3630
3631 if test "$wxUSE_DEBUG_GDB" = yes; then
3632 echo "$as_me:$LINENO: result: yes" >&5
3633 echo "${ECHO_T}yes" >&6
3634 else
3635 echo "$as_me:$LINENO: result: no" >&5
3636 echo "${ECHO_T}no" >&6
3637 fi
3638
3639
3640 enablestring=
3641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3642 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3643 no_cache=0
3644 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3645 if test "${enable_debug_cntxt+set}" = set; then
3646 enableval="$enable_debug_cntxt"
3647
3648 if test "$enableval" = yes; then
3649 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3650 else
3651 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3652 fi
3653
3654 else
3655
3656 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3657 if test "x$LINE" != x ; then
3658 eval "DEFAULT_$LINE"
3659 else
3660 no_cache=1
3661 fi
3662
3663 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3664
3665 fi;
3666
3667 eval "$ac_cv_use_debug_cntxt"
3668 if test "$no_cache" != 1; then
3669 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3670 fi
3671
3672 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3673 echo "$as_me:$LINENO: result: yes" >&5
3674 echo "${ECHO_T}yes" >&6
3675 else
3676 echo "$as_me:$LINENO: result: no" >&5
3677 echo "${ECHO_T}no" >&6
3678 fi
3679
3680
3681 enablestring=
3682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3683 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3684 no_cache=0
3685 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3686 if test "${enable_mem_tracing+set}" = set; then
3687 enableval="$enable_mem_tracing"
3688
3689 if test "$enableval" = yes; then
3690 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3691 else
3692 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3693 fi
3694
3695 else
3696
3697 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3698 if test "x$LINE" != x ; then
3699 eval "DEFAULT_$LINE"
3700 else
3701 no_cache=1
3702 fi
3703
3704 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3705
3706 fi;
3707
3708 eval "$ac_cv_use_mem_tracing"
3709 if test "$no_cache" != 1; then
3710 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3711 fi
3712
3713 if test "$wxUSE_MEM_TRACING" = yes; then
3714 echo "$as_me:$LINENO: result: yes" >&5
3715 echo "${ECHO_T}yes" >&6
3716 else
3717 echo "$as_me:$LINENO: result: no" >&5
3718 echo "${ECHO_T}no" >&6
3719 fi
3720
3721
3722 enablestring=
3723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3724 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3725 no_cache=0
3726 # Check whether --enable-profile or --disable-profile was given.
3727 if test "${enable_profile+set}" = set; then
3728 enableval="$enable_profile"
3729
3730 if test "$enableval" = yes; then
3731 ac_cv_use_profile='wxUSE_PROFILE=yes'
3732 else
3733 ac_cv_use_profile='wxUSE_PROFILE=no'
3734 fi
3735
3736 else
3737
3738 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3739 if test "x$LINE" != x ; then
3740 eval "DEFAULT_$LINE"
3741 else
3742 no_cache=1
3743 fi
3744
3745 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3746
3747 fi;
3748
3749 eval "$ac_cv_use_profile"
3750 if test "$no_cache" != 1; then
3751 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3752 fi
3753
3754 if test "$wxUSE_PROFILE" = yes; then
3755 echo "$as_me:$LINENO: result: yes" >&5
3756 echo "${ECHO_T}yes" >&6
3757 else
3758 echo "$as_me:$LINENO: result: no" >&5
3759 echo "${ECHO_T}no" >&6
3760 fi
3761
3762
3763 enablestring=
3764 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3765 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3766 no_cache=0
3767 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3768 if test "${enable_no_rtti+set}" = set; then
3769 enableval="$enable_no_rtti"
3770
3771 if test "$enableval" = yes; then
3772 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3773 else
3774 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3775 fi
3776
3777 else
3778
3779 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3780 if test "x$LINE" != x ; then
3781 eval "DEFAULT_$LINE"
3782 else
3783 no_cache=1
3784 fi
3785
3786 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3787
3788 fi;
3789
3790 eval "$ac_cv_use_no_rtti"
3791 if test "$no_cache" != 1; then
3792 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3793 fi
3794
3795 if test "$wxUSE_NO_RTTI" = yes; then
3796 echo "$as_me:$LINENO: result: yes" >&5
3797 echo "${ECHO_T}yes" >&6
3798 else
3799 echo "$as_me:$LINENO: result: no" >&5
3800 echo "${ECHO_T}no" >&6
3801 fi
3802
3803
3804 enablestring=
3805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3806 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3807 no_cache=0
3808 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3809 if test "${enable_no_exceptions+set}" = set; then
3810 enableval="$enable_no_exceptions"
3811
3812 if test "$enableval" = yes; then
3813 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3814 else
3815 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3816 fi
3817
3818 else
3819
3820 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3821 if test "x$LINE" != x ; then
3822 eval "DEFAULT_$LINE"
3823 else
3824 no_cache=1
3825 fi
3826
3827 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3828
3829 fi;
3830
3831 eval "$ac_cv_use_no_exceptions"
3832 if test "$no_cache" != 1; then
3833 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3834 fi
3835
3836 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3837 echo "$as_me:$LINENO: result: yes" >&5
3838 echo "${ECHO_T}yes" >&6
3839 else
3840 echo "$as_me:$LINENO: result: no" >&5
3841 echo "${ECHO_T}no" >&6
3842 fi
3843
3844
3845 enablestring=
3846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3847 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3848 no_cache=0
3849 # Check whether --enable-permissive or --disable-permissive was given.
3850 if test "${enable_permissive+set}" = set; then
3851 enableval="$enable_permissive"
3852
3853 if test "$enableval" = yes; then
3854 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3855 else
3856 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3857 fi
3858
3859 else
3860
3861 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3862 if test "x$LINE" != x ; then
3863 eval "DEFAULT_$LINE"
3864 else
3865 no_cache=1
3866 fi
3867
3868 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3869
3870 fi;
3871
3872 eval "$ac_cv_use_permissive"
3873 if test "$no_cache" != 1; then
3874 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3875 fi
3876
3877 if test "$wxUSE_PERMISSIVE" = yes; then
3878 echo "$as_me:$LINENO: result: yes" >&5
3879 echo "${ECHO_T}yes" >&6
3880 else
3881 echo "$as_me:$LINENO: result: no" >&5
3882 echo "${ECHO_T}no" >&6
3883 fi
3884
3885
3886 enablestring=
3887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3888 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3889 no_cache=0
3890 # Check whether --enable-no_deps or --disable-no_deps was given.
3891 if test "${enable_no_deps+set}" = set; then
3892 enableval="$enable_no_deps"
3893
3894 if test "$enableval" = yes; then
3895 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3896 else
3897 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3898 fi
3899
3900 else
3901
3902 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3903 if test "x$LINE" != x ; then
3904 eval "DEFAULT_$LINE"
3905 else
3906 no_cache=1
3907 fi
3908
3909 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3910
3911 fi;
3912
3913 eval "$ac_cv_use_no_deps"
3914 if test "$no_cache" != 1; then
3915 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3916 fi
3917
3918 if test "$wxUSE_NO_DEPS" = yes; then
3919 echo "$as_me:$LINENO: result: yes" >&5
3920 echo "${ECHO_T}yes" >&6
3921 else
3922 echo "$as_me:$LINENO: result: no" >&5
3923 echo "${ECHO_T}no" >&6
3924 fi
3925
3926
3927
3928 enablestring=
3929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3930 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3931 no_cache=0
3932 # Check whether --enable-compat22 or --disable-compat22 was given.
3933 if test "${enable_compat22+set}" = set; then
3934 enableval="$enable_compat22"
3935
3936 if test "$enableval" = yes; then
3937 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3938 else
3939 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3940 fi
3941
3942 else
3943
3944 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3945 if test "x$LINE" != x ; then
3946 eval "DEFAULT_$LINE"
3947 else
3948 no_cache=1
3949 fi
3950
3951 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3952
3953 fi;
3954
3955 eval "$ac_cv_use_compat22"
3956 if test "$no_cache" != 1; then
3957 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3958 fi
3959
3960 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3961 echo "$as_me:$LINENO: result: yes" >&5
3962 echo "${ECHO_T}yes" >&6
3963 else
3964 echo "$as_me:$LINENO: result: no" >&5
3965 echo "${ECHO_T}no" >&6
3966 fi
3967
3968
3969 enablestring=disable
3970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3971 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3972 no_cache=0
3973 # Check whether --enable-compat24 or --disable-compat24 was given.
3974 if test "${enable_compat24+set}" = set; then
3975 enableval="$enable_compat24"
3976
3977 if test "$enableval" = yes; then
3978 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3979 else
3980 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3981 fi
3982
3983 else
3984
3985 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3986 if test "x$LINE" != x ; then
3987 eval "DEFAULT_$LINE"
3988 else
3989 no_cache=1
3990 fi
3991
3992 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3993
3994 fi;
3995
3996 eval "$ac_cv_use_compat24"
3997 if test "$no_cache" != 1; then
3998 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3999 fi
4000
4001 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4002 echo "$as_me:$LINENO: result: yes" >&5
4003 echo "${ECHO_T}yes" >&6
4004 else
4005 echo "$as_me:$LINENO: result: no" >&5
4006 echo "${ECHO_T}no" >&6
4007 fi
4008
4009
4010 # Check whether --enable-rpath or --disable-rpath was given.
4011 if test "${enable_rpath+set}" = set; then
4012 enableval="$enable_rpath"
4013 wxRPATH_DIR="$enableval"
4014 fi;
4015
4016 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
4017 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
4018 fi
4019
4020
4021
4022
4023 enablestring=
4024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4025 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4026 no_cache=0
4027 # Check whether --enable-intl or --disable-intl was given.
4028 if test "${enable_intl+set}" = set; then
4029 enableval="$enable_intl"
4030
4031 if test "$enableval" = yes; then
4032 ac_cv_use_intl='wxUSE_INTL=yes'
4033 else
4034 ac_cv_use_intl='wxUSE_INTL=no'
4035 fi
4036
4037 else
4038
4039 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4040 if test "x$LINE" != x ; then
4041 eval "DEFAULT_$LINE"
4042 else
4043 no_cache=1
4044 fi
4045
4046 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4047
4048 fi;
4049
4050 eval "$ac_cv_use_intl"
4051 if test "$no_cache" != 1; then
4052 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4053 fi
4054
4055 if test "$wxUSE_INTL" = yes; then
4056 echo "$as_me:$LINENO: result: yes" >&5
4057 echo "${ECHO_T}yes" >&6
4058 else
4059 echo "$as_me:$LINENO: result: no" >&5
4060 echo "${ECHO_T}no" >&6
4061 fi
4062
4063
4064 enablestring=
4065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4066 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4067 no_cache=0
4068 # Check whether --enable-config or --disable-config was given.
4069 if test "${enable_config+set}" = set; then
4070 enableval="$enable_config"
4071
4072 if test "$enableval" = yes; then
4073 ac_cv_use_config='wxUSE_CONFIG=yes'
4074 else
4075 ac_cv_use_config='wxUSE_CONFIG=no'
4076 fi
4077
4078 else
4079
4080 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4081 if test "x$LINE" != x ; then
4082 eval "DEFAULT_$LINE"
4083 else
4084 no_cache=1
4085 fi
4086
4087 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4088
4089 fi;
4090
4091 eval "$ac_cv_use_config"
4092 if test "$no_cache" != 1; then
4093 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4094 fi
4095
4096 if test "$wxUSE_CONFIG" = yes; then
4097 echo "$as_me:$LINENO: result: yes" >&5
4098 echo "${ECHO_T}yes" >&6
4099 else
4100 echo "$as_me:$LINENO: result: no" >&5
4101 echo "${ECHO_T}no" >&6
4102 fi
4103
4104
4105
4106 enablestring=
4107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4108 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4109 no_cache=0
4110 # Check whether --enable-protocols or --disable-protocols was given.
4111 if test "${enable_protocols+set}" = set; then
4112 enableval="$enable_protocols"
4113
4114 if test "$enableval" = yes; then
4115 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4116 else
4117 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4118 fi
4119
4120 else
4121
4122 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4123 if test "x$LINE" != x ; then
4124 eval "DEFAULT_$LINE"
4125 else
4126 no_cache=1
4127 fi
4128
4129 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4130
4131 fi;
4132
4133 eval "$ac_cv_use_protocols"
4134 if test "$no_cache" != 1; then
4135 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4136 fi
4137
4138 if test "$wxUSE_PROTOCOL" = yes; then
4139 echo "$as_me:$LINENO: result: yes" >&5
4140 echo "${ECHO_T}yes" >&6
4141 else
4142 echo "$as_me:$LINENO: result: no" >&5
4143 echo "${ECHO_T}no" >&6
4144 fi
4145
4146
4147 enablestring=
4148 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4149 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4150 no_cache=0
4151 # Check whether --enable-ftp or --disable-ftp was given.
4152 if test "${enable_ftp+set}" = set; then
4153 enableval="$enable_ftp"
4154
4155 if test "$enableval" = yes; then
4156 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4157 else
4158 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4159 fi
4160
4161 else
4162
4163 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4164 if test "x$LINE" != x ; then
4165 eval "DEFAULT_$LINE"
4166 else
4167 no_cache=1
4168 fi
4169
4170 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4171
4172 fi;
4173
4174 eval "$ac_cv_use_ftp"
4175 if test "$no_cache" != 1; then
4176 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4177 fi
4178
4179 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4180 echo "$as_me:$LINENO: result: yes" >&5
4181 echo "${ECHO_T}yes" >&6
4182 else
4183 echo "$as_me:$LINENO: result: no" >&5
4184 echo "${ECHO_T}no" >&6
4185 fi
4186
4187
4188 enablestring=
4189 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4190 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4191 no_cache=0
4192 # Check whether --enable-http or --disable-http was given.
4193 if test "${enable_http+set}" = set; then
4194 enableval="$enable_http"
4195
4196 if test "$enableval" = yes; then
4197 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4198 else
4199 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4200 fi
4201
4202 else
4203
4204 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4205 if test "x$LINE" != x ; then
4206 eval "DEFAULT_$LINE"
4207 else
4208 no_cache=1
4209 fi
4210
4211 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4212
4213 fi;
4214
4215 eval "$ac_cv_use_http"
4216 if test "$no_cache" != 1; then
4217 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4218 fi
4219
4220 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4221 echo "$as_me:$LINENO: result: yes" >&5
4222 echo "${ECHO_T}yes" >&6
4223 else
4224 echo "$as_me:$LINENO: result: no" >&5
4225 echo "${ECHO_T}no" >&6
4226 fi
4227
4228
4229 enablestring=
4230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4231 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4232 no_cache=0
4233 # Check whether --enable-fileproto or --disable-fileproto was given.
4234 if test "${enable_fileproto+set}" = set; then
4235 enableval="$enable_fileproto"
4236
4237 if test "$enableval" = yes; then
4238 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4239 else
4240 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4241 fi
4242
4243 else
4244
4245 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4246 if test "x$LINE" != x ; then
4247 eval "DEFAULT_$LINE"
4248 else
4249 no_cache=1
4250 fi
4251
4252 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4253
4254 fi;
4255
4256 eval "$ac_cv_use_fileproto"
4257 if test "$no_cache" != 1; then
4258 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4259 fi
4260
4261 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4262 echo "$as_me:$LINENO: result: yes" >&5
4263 echo "${ECHO_T}yes" >&6
4264 else
4265 echo "$as_me:$LINENO: result: no" >&5
4266 echo "${ECHO_T}no" >&6
4267 fi
4268
4269
4270 enablestring=
4271 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4272 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4273 no_cache=0
4274 # Check whether --enable-sockets or --disable-sockets was given.
4275 if test "${enable_sockets+set}" = set; then
4276 enableval="$enable_sockets"
4277
4278 if test "$enableval" = yes; then
4279 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4280 else
4281 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4282 fi
4283
4284 else
4285
4286 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4287 if test "x$LINE" != x ; then
4288 eval "DEFAULT_$LINE"
4289 else
4290 no_cache=1
4291 fi
4292
4293 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4294
4295 fi;
4296
4297 eval "$ac_cv_use_sockets"
4298 if test "$no_cache" != 1; then
4299 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4300 fi
4301
4302 if test "$wxUSE_SOCKETS" = yes; then
4303 echo "$as_me:$LINENO: result: yes" >&5
4304 echo "${ECHO_T}yes" >&6
4305 else
4306 echo "$as_me:$LINENO: result: no" >&5
4307 echo "${ECHO_T}no" >&6
4308 fi
4309
4310
4311 enablestring=
4312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4313 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4314 no_cache=0
4315 # Check whether --enable-ole or --disable-ole was given.
4316 if test "${enable_ole+set}" = set; then
4317 enableval="$enable_ole"
4318
4319 if test "$enableval" = yes; then
4320 ac_cv_use_ole='wxUSE_OLE=yes'
4321 else
4322 ac_cv_use_ole='wxUSE_OLE=no'
4323 fi
4324
4325 else
4326
4327 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4328 if test "x$LINE" != x ; then
4329 eval "DEFAULT_$LINE"
4330 else
4331 no_cache=1
4332 fi
4333
4334 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4335
4336 fi;
4337
4338 eval "$ac_cv_use_ole"
4339 if test "$no_cache" != 1; then
4340 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4341 fi
4342
4343 if test "$wxUSE_OLE" = yes; then
4344 echo "$as_me:$LINENO: result: yes" >&5
4345 echo "${ECHO_T}yes" >&6
4346 else
4347 echo "$as_me:$LINENO: result: no" >&5
4348 echo "${ECHO_T}no" >&6
4349 fi
4350
4351
4352 enablestring=
4353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4354 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4355 no_cache=0
4356 # Check whether --enable-dataobj or --disable-dataobj was given.
4357 if test "${enable_dataobj+set}" = set; then
4358 enableval="$enable_dataobj"
4359
4360 if test "$enableval" = yes; then
4361 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4362 else
4363 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4364 fi
4365
4366 else
4367
4368 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4369 if test "x$LINE" != x ; then
4370 eval "DEFAULT_$LINE"
4371 else
4372 no_cache=1
4373 fi
4374
4375 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4376
4377 fi;
4378
4379 eval "$ac_cv_use_dataobj"
4380 if test "$no_cache" != 1; then
4381 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4382 fi
4383
4384 if test "$wxUSE_DATAOBJ" = yes; then
4385 echo "$as_me:$LINENO: result: yes" >&5
4386 echo "${ECHO_T}yes" >&6
4387 else
4388 echo "$as_me:$LINENO: result: no" >&5
4389 echo "${ECHO_T}no" >&6
4390 fi
4391
4392
4393
4394 enablestring=
4395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4396 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4397 no_cache=0
4398 # Check whether --enable-ipc or --disable-ipc was given.
4399 if test "${enable_ipc+set}" = set; then
4400 enableval="$enable_ipc"
4401
4402 if test "$enableval" = yes; then
4403 ac_cv_use_ipc='wxUSE_IPC=yes'
4404 else
4405 ac_cv_use_ipc='wxUSE_IPC=no'
4406 fi
4407
4408 else
4409
4410 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4411 if test "x$LINE" != x ; then
4412 eval "DEFAULT_$LINE"
4413 else
4414 no_cache=1
4415 fi
4416
4417 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4418
4419 fi;
4420
4421 eval "$ac_cv_use_ipc"
4422 if test "$no_cache" != 1; then
4423 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4424 fi
4425
4426 if test "$wxUSE_IPC" = yes; then
4427 echo "$as_me:$LINENO: result: yes" >&5
4428 echo "${ECHO_T}yes" >&6
4429 else
4430 echo "$as_me:$LINENO: result: no" >&5
4431 echo "${ECHO_T}no" >&6
4432 fi
4433
4434
4435
4436 enablestring=
4437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4438 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4439 no_cache=0
4440 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4441 if test "${enable_apple_ieee+set}" = set; then
4442 enableval="$enable_apple_ieee"
4443
4444 if test "$enableval" = yes; then
4445 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4446 else
4447 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4448 fi
4449
4450 else
4451
4452 LINE=`grep "wxUSE_APPLE_IEEE" ${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_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4460
4461 fi;
4462
4463 eval "$ac_cv_use_apple_ieee"
4464 if test "$no_cache" != 1; then
4465 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4466 fi
4467
4468 if test "$wxUSE_APPLE_IEEE" = 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 enablestring=
4478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4479 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4480 no_cache=0
4481 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4482 if test "${enable_catch_segvs+set}" = set; then
4483 enableval="$enable_catch_segvs"
4484
4485 if test "$enableval" = yes; then
4486 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4487 else
4488 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4489 fi
4490
4491 else
4492
4493 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4494 if test "x$LINE" != x ; then
4495 eval "DEFAULT_$LINE"
4496 else
4497 no_cache=1
4498 fi
4499
4500 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4501
4502 fi;
4503
4504 eval "$ac_cv_use_catch_segvs"
4505 if test "$no_cache" != 1; then
4506 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4507 fi
4508
4509 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4510 echo "$as_me:$LINENO: result: yes" >&5
4511 echo "${ECHO_T}yes" >&6
4512 else
4513 echo "$as_me:$LINENO: result: no" >&5
4514 echo "${ECHO_T}no" >&6
4515 fi
4516
4517
4518 enablestring=
4519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4520 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4521 no_cache=0
4522 # Check whether --enable-cmdline or --disable-cmdline was given.
4523 if test "${enable_cmdline+set}" = set; then
4524 enableval="$enable_cmdline"
4525
4526 if test "$enableval" = yes; then
4527 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4528 else
4529 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4530 fi
4531
4532 else
4533
4534 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4535 if test "x$LINE" != x ; then
4536 eval "DEFAULT_$LINE"
4537 else
4538 no_cache=1
4539 fi
4540
4541 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4542
4543 fi;
4544
4545 eval "$ac_cv_use_cmdline"
4546 if test "$no_cache" != 1; then
4547 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4548 fi
4549
4550 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4551 echo "$as_me:$LINENO: result: yes" >&5
4552 echo "${ECHO_T}yes" >&6
4553 else
4554 echo "$as_me:$LINENO: result: no" >&5
4555 echo "${ECHO_T}no" >&6
4556 fi
4557
4558
4559 enablestring=
4560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4561 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4562 no_cache=0
4563 # Check whether --enable-datetime or --disable-datetime was given.
4564 if test "${enable_datetime+set}" = set; then
4565 enableval="$enable_datetime"
4566
4567 if test "$enableval" = yes; then
4568 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4569 else
4570 ac_cv_use_datetime='wxUSE_DATETIME=no'
4571 fi
4572
4573 else
4574
4575 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4576 if test "x$LINE" != x ; then
4577 eval "DEFAULT_$LINE"
4578 else
4579 no_cache=1
4580 fi
4581
4582 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4583
4584 fi;
4585
4586 eval "$ac_cv_use_datetime"
4587 if test "$no_cache" != 1; then
4588 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4589 fi
4590
4591 if test "$wxUSE_DATETIME" = yes; then
4592 echo "$as_me:$LINENO: result: yes" >&5
4593 echo "${ECHO_T}yes" >&6
4594 else
4595 echo "$as_me:$LINENO: result: no" >&5
4596 echo "${ECHO_T}no" >&6
4597 fi
4598
4599
4600 enablestring=
4601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4602 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4603 no_cache=0
4604 # Check whether --enable-dialupman or --disable-dialupman was given.
4605 if test "${enable_dialupman+set}" = set; then
4606 enableval="$enable_dialupman"
4607
4608 if test "$enableval" = yes; then
4609 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4610 else
4611 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4612 fi
4613
4614 else
4615
4616 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4617 if test "x$LINE" != x ; then
4618 eval "DEFAULT_$LINE"
4619 else
4620 no_cache=1
4621 fi
4622
4623 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4624
4625 fi;
4626
4627 eval "$ac_cv_use_dialupman"
4628 if test "$no_cache" != 1; then
4629 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4630 fi
4631
4632 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4633 echo "$as_me:$LINENO: result: yes" >&5
4634 echo "${ECHO_T}yes" >&6
4635 else
4636 echo "$as_me:$LINENO: result: no" >&5
4637 echo "${ECHO_T}no" >&6
4638 fi
4639
4640
4641 enablestring=
4642 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4643 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4644 no_cache=0
4645 # Check whether --enable-dynlib or --disable-dynlib was given.
4646 if test "${enable_dynlib+set}" = set; then
4647 enableval="$enable_dynlib"
4648
4649 if test "$enableval" = yes; then
4650 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4651 else
4652 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4653 fi
4654
4655 else
4656
4657 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4658 if test "x$LINE" != x ; then
4659 eval "DEFAULT_$LINE"
4660 else
4661 no_cache=1
4662 fi
4663
4664 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4665
4666 fi;
4667
4668 eval "$ac_cv_use_dynlib"
4669 if test "$no_cache" != 1; then
4670 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4671 fi
4672
4673 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4674 echo "$as_me:$LINENO: result: yes" >&5
4675 echo "${ECHO_T}yes" >&6
4676 else
4677 echo "$as_me:$LINENO: result: no" >&5
4678 echo "${ECHO_T}no" >&6
4679 fi
4680
4681
4682 enablestring=
4683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4684 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4685 no_cache=0
4686 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4687 if test "${enable_dynamicloader+set}" = set; then
4688 enableval="$enable_dynamicloader"
4689
4690 if test "$enableval" = yes; then
4691 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4692 else
4693 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4694 fi
4695
4696 else
4697
4698 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4699 if test "x$LINE" != x ; then
4700 eval "DEFAULT_$LINE"
4701 else
4702 no_cache=1
4703 fi
4704
4705 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4706
4707 fi;
4708
4709 eval "$ac_cv_use_dynamicloader"
4710 if test "$no_cache" != 1; then
4711 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4712 fi
4713
4714 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4715 echo "$as_me:$LINENO: result: yes" >&5
4716 echo "${ECHO_T}yes" >&6
4717 else
4718 echo "$as_me:$LINENO: result: no" >&5
4719 echo "${ECHO_T}no" >&6
4720 fi
4721
4722
4723 enablestring=
4724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4725 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4726 no_cache=0
4727 # Check whether --enable-exceptions or --disable-exceptions was given.
4728 if test "${enable_exceptions+set}" = set; then
4729 enableval="$enable_exceptions"
4730
4731 if test "$enableval" = yes; then
4732 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
4733 else
4734 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
4735 fi
4736
4737 else
4738
4739 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4740 if test "x$LINE" != x ; then
4741 eval "DEFAULT_$LINE"
4742 else
4743 no_cache=1
4744 fi
4745
4746 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4747
4748 fi;
4749
4750 eval "$ac_cv_use_exceptions"
4751 if test "$no_cache" != 1; then
4752 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4753 fi
4754
4755 if test "$wxUSE_EXCEPTIONS" = yes; then
4756 echo "$as_me:$LINENO: result: yes" >&5
4757 echo "${ECHO_T}yes" >&6
4758 else
4759 echo "$as_me:$LINENO: result: no" >&5
4760 echo "${ECHO_T}no" >&6
4761 fi
4762
4763
4764 enablestring=
4765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4766 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4767 no_cache=0
4768 # Check whether --enable-ffile or --disable-ffile was given.
4769 if test "${enable_ffile+set}" = set; then
4770 enableval="$enable_ffile"
4771
4772 if test "$enableval" = yes; then
4773 ac_cv_use_ffile='wxUSE_FFILE=yes'
4774 else
4775 ac_cv_use_ffile='wxUSE_FFILE=no'
4776 fi
4777
4778 else
4779
4780 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4781 if test "x$LINE" != x ; then
4782 eval "DEFAULT_$LINE"
4783 else
4784 no_cache=1
4785 fi
4786
4787 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4788
4789 fi;
4790
4791 eval "$ac_cv_use_ffile"
4792 if test "$no_cache" != 1; then
4793 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4794 fi
4795
4796 if test "$wxUSE_FFILE" = yes; then
4797 echo "$as_me:$LINENO: result: yes" >&5
4798 echo "${ECHO_T}yes" >&6
4799 else
4800 echo "$as_me:$LINENO: result: no" >&5
4801 echo "${ECHO_T}no" >&6
4802 fi
4803
4804
4805 enablestring=
4806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4807 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4808 no_cache=0
4809 # Check whether --enable-file or --disable-file was given.
4810 if test "${enable_file+set}" = set; then
4811 enableval="$enable_file"
4812
4813 if test "$enableval" = yes; then
4814 ac_cv_use_file='wxUSE_FILE=yes'
4815 else
4816 ac_cv_use_file='wxUSE_FILE=no'
4817 fi
4818
4819 else
4820
4821 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4822 if test "x$LINE" != x ; then
4823 eval "DEFAULT_$LINE"
4824 else
4825 no_cache=1
4826 fi
4827
4828 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4829
4830 fi;
4831
4832 eval "$ac_cv_use_file"
4833 if test "$no_cache" != 1; then
4834 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4835 fi
4836
4837 if test "$wxUSE_FILE" = yes; then
4838 echo "$as_me:$LINENO: result: yes" >&5
4839 echo "${ECHO_T}yes" >&6
4840 else
4841 echo "$as_me:$LINENO: result: no" >&5
4842 echo "${ECHO_T}no" >&6
4843 fi
4844
4845
4846 enablestring=
4847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4848 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4849 no_cache=0
4850 # Check whether --enable-filesystem or --disable-filesystem was given.
4851 if test "${enable_filesystem+set}" = set; then
4852 enableval="$enable_filesystem"
4853
4854 if test "$enableval" = yes; then
4855 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4856 else
4857 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4858 fi
4859
4860 else
4861
4862 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4863 if test "x$LINE" != x ; then
4864 eval "DEFAULT_$LINE"
4865 else
4866 no_cache=1
4867 fi
4868
4869 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4870
4871 fi;
4872
4873 eval "$ac_cv_use_filesystem"
4874 if test "$no_cache" != 1; then
4875 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4876 fi
4877
4878 if test "$wxUSE_FILESYSTEM" = yes; then
4879 echo "$as_me:$LINENO: result: yes" >&5
4880 echo "${ECHO_T}yes" >&6
4881 else
4882 echo "$as_me:$LINENO: result: no" >&5
4883 echo "${ECHO_T}no" >&6
4884 fi
4885
4886
4887 enablestring=
4888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4889 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4890 no_cache=0
4891 # Check whether --enable-fontmap or --disable-fontmap was given.
4892 if test "${enable_fontmap+set}" = set; then
4893 enableval="$enable_fontmap"
4894
4895 if test "$enableval" = yes; then
4896 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4897 else
4898 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4899 fi
4900
4901 else
4902
4903 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4904 if test "x$LINE" != x ; then
4905 eval "DEFAULT_$LINE"
4906 else
4907 no_cache=1
4908 fi
4909
4910 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4911
4912 fi;
4913
4914 eval "$ac_cv_use_fontmap"
4915 if test "$no_cache" != 1; then
4916 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4917 fi
4918
4919 if test "$wxUSE_FONTMAP" = yes; then
4920 echo "$as_me:$LINENO: result: yes" >&5
4921 echo "${ECHO_T}yes" >&6
4922 else
4923 echo "$as_me:$LINENO: result: no" >&5
4924 echo "${ECHO_T}no" >&6
4925 fi
4926
4927
4928 enablestring=
4929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
4930 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
4931 no_cache=0
4932 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4933 if test "${enable_fs_inet+set}" = set; then
4934 enableval="$enable_fs_inet"
4935
4936 if test "$enableval" = yes; then
4937 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
4938 else
4939 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
4940 fi
4941
4942 else
4943
4944 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4945 if test "x$LINE" != x ; then
4946 eval "DEFAULT_$LINE"
4947 else
4948 no_cache=1
4949 fi
4950
4951 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4952
4953 fi;
4954
4955 eval "$ac_cv_use_fs_inet"
4956 if test "$no_cache" != 1; then
4957 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4958 fi
4959
4960 if test "$wxUSE_FS_INET" = yes; then
4961 echo "$as_me:$LINENO: result: yes" >&5
4962 echo "${ECHO_T}yes" >&6
4963 else
4964 echo "$as_me:$LINENO: result: no" >&5
4965 echo "${ECHO_T}no" >&6
4966 fi
4967
4968
4969 enablestring=
4970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
4971 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
4972 no_cache=0
4973 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4974 if test "${enable_fs_zip+set}" = set; then
4975 enableval="$enable_fs_zip"
4976
4977 if test "$enableval" = yes; then
4978 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
4979 else
4980 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
4981 fi
4982
4983 else
4984
4985 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4986 if test "x$LINE" != x ; then
4987 eval "DEFAULT_$LINE"
4988 else
4989 no_cache=1
4990 fi
4991
4992 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4993
4994 fi;
4995
4996 eval "$ac_cv_use_fs_zip"
4997 if test "$no_cache" != 1; then
4998 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4999 fi
5000
5001 if test "$wxUSE_FS_ZIP" = yes; then
5002 echo "$as_me:$LINENO: result: yes" >&5
5003 echo "${ECHO_T}yes" >&6
5004 else
5005 echo "$as_me:$LINENO: result: no" >&5
5006 echo "${ECHO_T}no" >&6
5007 fi
5008
5009
5010 enablestring=
5011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5012 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5013 no_cache=0
5014 # Check whether --enable-geometry or --disable-geometry was given.
5015 if test "${enable_geometry+set}" = set; then
5016 enableval="$enable_geometry"
5017
5018 if test "$enableval" = yes; then
5019 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5020 else
5021 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5022 fi
5023
5024 else
5025
5026 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5027 if test "x$LINE" != x ; then
5028 eval "DEFAULT_$LINE"
5029 else
5030 no_cache=1
5031 fi
5032
5033 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5034
5035 fi;
5036
5037 eval "$ac_cv_use_geometry"
5038 if test "$no_cache" != 1; then
5039 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5040 fi
5041
5042 if test "$wxUSE_GEOMETRY" = yes; then
5043 echo "$as_me:$LINENO: result: yes" >&5
5044 echo "${ECHO_T}yes" >&6
5045 else
5046 echo "$as_me:$LINENO: result: no" >&5
5047 echo "${ECHO_T}no" >&6
5048 fi
5049
5050
5051 enablestring=
5052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5053 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5054 no_cache=0
5055 # Check whether --enable-log or --disable-log was given.
5056 if test "${enable_log+set}" = set; then
5057 enableval="$enable_log"
5058
5059 if test "$enableval" = yes; then
5060 ac_cv_use_log='wxUSE_LOG=yes'
5061 else
5062 ac_cv_use_log='wxUSE_LOG=no'
5063 fi
5064
5065 else
5066
5067 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5068 if test "x$LINE" != x ; then
5069 eval "DEFAULT_$LINE"
5070 else
5071 no_cache=1
5072 fi
5073
5074 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5075
5076 fi;
5077
5078 eval "$ac_cv_use_log"
5079 if test "$no_cache" != 1; then
5080 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5081 fi
5082
5083 if test "$wxUSE_LOG" = yes; then
5084 echo "$as_me:$LINENO: result: yes" >&5
5085 echo "${ECHO_T}yes" >&6
5086 else
5087 echo "$as_me:$LINENO: result: no" >&5
5088 echo "${ECHO_T}no" >&6
5089 fi
5090
5091
5092 enablestring=
5093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5094 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5095 no_cache=0
5096 # Check whether --enable-longlong or --disable-longlong was given.
5097 if test "${enable_longlong+set}" = set; then
5098 enableval="$enable_longlong"
5099
5100 if test "$enableval" = yes; then
5101 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5102 else
5103 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5104 fi
5105
5106 else
5107
5108 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5109 if test "x$LINE" != x ; then
5110 eval "DEFAULT_$LINE"
5111 else
5112 no_cache=1
5113 fi
5114
5115 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5116
5117 fi;
5118
5119 eval "$ac_cv_use_longlong"
5120 if test "$no_cache" != 1; then
5121 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5122 fi
5123
5124 if test "$wxUSE_LONGLONG" = yes; then
5125 echo "$as_me:$LINENO: result: yes" >&5
5126 echo "${ECHO_T}yes" >&6
5127 else
5128 echo "$as_me:$LINENO: result: no" >&5
5129 echo "${ECHO_T}no" >&6
5130 fi
5131
5132
5133 enablestring=
5134 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5135 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5136 no_cache=0
5137 # Check whether --enable-mimetype or --disable-mimetype was given.
5138 if test "${enable_mimetype+set}" = set; then
5139 enableval="$enable_mimetype"
5140
5141 if test "$enableval" = yes; then
5142 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5143 else
5144 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5145 fi
5146
5147 else
5148
5149 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5150 if test "x$LINE" != x ; then
5151 eval "DEFAULT_$LINE"
5152 else
5153 no_cache=1
5154 fi
5155
5156 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5157
5158 fi;
5159
5160 eval "$ac_cv_use_mimetype"
5161 if test "$no_cache" != 1; then
5162 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5163 fi
5164
5165 if test "$wxUSE_MIMETYPE" = yes; then
5166 echo "$as_me:$LINENO: result: yes" >&5
5167 echo "${ECHO_T}yes" >&6
5168 else
5169 echo "$as_me:$LINENO: result: no" >&5
5170 echo "${ECHO_T}no" >&6
5171 fi
5172
5173
5174 enablestring=
5175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5176 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5177 no_cache=0
5178 # Check whether --enable-mslu or --disable-mslu was given.
5179 if test "${enable_mslu+set}" = set; then
5180 enableval="$enable_mslu"
5181
5182 if test "$enableval" = yes; then
5183 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5184 else
5185 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5186 fi
5187
5188 else
5189
5190 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5191 if test "x$LINE" != x ; then
5192 eval "DEFAULT_$LINE"
5193 else
5194 no_cache=1
5195 fi
5196
5197 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5198
5199 fi;
5200
5201 eval "$ac_cv_use_mslu"
5202 if test "$no_cache" != 1; then
5203 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5204 fi
5205
5206 if test "$wxUSE_UNICODE_MSLU" = yes; then
5207 echo "$as_me:$LINENO: result: yes" >&5
5208 echo "${ECHO_T}yes" >&6
5209 else
5210 echo "$as_me:$LINENO: result: no" >&5
5211 echo "${ECHO_T}no" >&6
5212 fi
5213
5214
5215 enablestring=
5216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5217 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5218 no_cache=0
5219 # Check whether --enable-snglinst or --disable-snglinst was given.
5220 if test "${enable_snglinst+set}" = set; then
5221 enableval="$enable_snglinst"
5222
5223 if test "$enableval" = yes; then
5224 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5225 else
5226 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5227 fi
5228
5229 else
5230
5231 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5232 if test "x$LINE" != x ; then
5233 eval "DEFAULT_$LINE"
5234 else
5235 no_cache=1
5236 fi
5237
5238 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5239
5240 fi;
5241
5242 eval "$ac_cv_use_snglinst"
5243 if test "$no_cache" != 1; then
5244 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5245 fi
5246
5247 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5248 echo "$as_me:$LINENO: result: yes" >&5
5249 echo "${ECHO_T}yes" >&6
5250 else
5251 echo "$as_me:$LINENO: result: no" >&5
5252 echo "${ECHO_T}no" >&6
5253 fi
5254
5255
5256 enablestring=
5257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5258 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5259 no_cache=0
5260 # Check whether --enable-streams or --disable-streams was given.
5261 if test "${enable_streams+set}" = set; then
5262 enableval="$enable_streams"
5263
5264 if test "$enableval" = yes; then
5265 ac_cv_use_streams='wxUSE_STREAMS=yes'
5266 else
5267 ac_cv_use_streams='wxUSE_STREAMS=no'
5268 fi
5269
5270 else
5271
5272 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5273 if test "x$LINE" != x ; then
5274 eval "DEFAULT_$LINE"
5275 else
5276 no_cache=1
5277 fi
5278
5279 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5280
5281 fi;
5282
5283 eval "$ac_cv_use_streams"
5284 if test "$no_cache" != 1; then
5285 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5286 fi
5287
5288 if test "$wxUSE_STREAMS" = yes; then
5289 echo "$as_me:$LINENO: result: yes" >&5
5290 echo "${ECHO_T}yes" >&6
5291 else
5292 echo "$as_me:$LINENO: result: no" >&5
5293 echo "${ECHO_T}no" >&6
5294 fi
5295
5296
5297 enablestring=
5298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5299 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5300 no_cache=0
5301 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5302 if test "${enable_std_iostreams+set}" = set; then
5303 enableval="$enable_std_iostreams"
5304
5305 if test "$enableval" = yes; then
5306 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5307 else
5308 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5309 fi
5310
5311 else
5312
5313 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5314 if test "x$LINE" != x ; then
5315 eval "DEFAULT_$LINE"
5316 else
5317 no_cache=1
5318 fi
5319
5320 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5321
5322 fi;
5323
5324 eval "$ac_cv_use_std_iostreams"
5325 if test "$no_cache" != 1; then
5326 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5327 fi
5328
5329 if test "$wxUSE_STD_IOSTREAM" = yes; then
5330 echo "$as_me:$LINENO: result: yes" >&5
5331 echo "${ECHO_T}yes" >&6
5332 else
5333 echo "$as_me:$LINENO: result: no" >&5
5334 echo "${ECHO_T}no" >&6
5335 fi
5336
5337
5338 enablestring=
5339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5340 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5341 no_cache=0
5342 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5343 if test "${enable_stopwatch+set}" = set; then
5344 enableval="$enable_stopwatch"
5345
5346 if test "$enableval" = yes; then
5347 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5348 else
5349 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5350 fi
5351
5352 else
5353
5354 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5355 if test "x$LINE" != x ; then
5356 eval "DEFAULT_$LINE"
5357 else
5358 no_cache=1
5359 fi
5360
5361 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5362
5363 fi;
5364
5365 eval "$ac_cv_use_stopwatch"
5366 if test "$no_cache" != 1; then
5367 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5368 fi
5369
5370 if test "$wxUSE_STOPWATCH" = yes; then
5371 echo "$as_me:$LINENO: result: yes" >&5
5372 echo "${ECHO_T}yes" >&6
5373 else
5374 echo "$as_me:$LINENO: result: no" >&5
5375 echo "${ECHO_T}no" >&6
5376 fi
5377
5378
5379 enablestring=
5380 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5381 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5382 no_cache=0
5383 # Check whether --enable-system_options or --disable-system_options was given.
5384 if test "${enable_system_options+set}" = set; then
5385 enableval="$enable_system_options"
5386
5387 if test "$enableval" = yes; then
5388 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5389 else
5390 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5391 fi
5392
5393 else
5394
5395 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5396 if test "x$LINE" != x ; then
5397 eval "DEFAULT_$LINE"
5398 else
5399 no_cache=1
5400 fi
5401
5402 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5403
5404 fi;
5405
5406 eval "$ac_cv_use_system_options"
5407 if test "$no_cache" != 1; then
5408 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5409 fi
5410
5411 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5412 echo "$as_me:$LINENO: result: yes" >&5
5413 echo "${ECHO_T}yes" >&6
5414 else
5415 echo "$as_me:$LINENO: result: no" >&5
5416 echo "${ECHO_T}no" >&6
5417 fi
5418
5419
5420 enablestring=
5421 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5422 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5423 no_cache=0
5424 # Check whether --enable-textbuf or --disable-textbuf was given.
5425 if test "${enable_textbuf+set}" = set; then
5426 enableval="$enable_textbuf"
5427
5428 if test "$enableval" = yes; then
5429 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5430 else
5431 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5432 fi
5433
5434 else
5435
5436 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5437 if test "x$LINE" != x ; then
5438 eval "DEFAULT_$LINE"
5439 else
5440 no_cache=1
5441 fi
5442
5443 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5444
5445 fi;
5446
5447 eval "$ac_cv_use_textbuf"
5448 if test "$no_cache" != 1; then
5449 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5450 fi
5451
5452 if test "$wxUSE_TEXTBUFFER" = yes; then
5453 echo "$as_me:$LINENO: result: yes" >&5
5454 echo "${ECHO_T}yes" >&6
5455 else
5456 echo "$as_me:$LINENO: result: no" >&5
5457 echo "${ECHO_T}no" >&6
5458 fi
5459
5460
5461 enablestring=
5462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5463 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5464 no_cache=0
5465 # Check whether --enable-textfile or --disable-textfile was given.
5466 if test "${enable_textfile+set}" = set; then
5467 enableval="$enable_textfile"
5468
5469 if test "$enableval" = yes; then
5470 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5471 else
5472 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5473 fi
5474
5475 else
5476
5477 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5478 if test "x$LINE" != x ; then
5479 eval "DEFAULT_$LINE"
5480 else
5481 no_cache=1
5482 fi
5483
5484 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5485
5486 fi;
5487
5488 eval "$ac_cv_use_textfile"
5489 if test "$no_cache" != 1; then
5490 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5491 fi
5492
5493 if test "$wxUSE_TEXTFILE" = yes; then
5494 echo "$as_me:$LINENO: result: yes" >&5
5495 echo "${ECHO_T}yes" >&6
5496 else
5497 echo "$as_me:$LINENO: result: no" >&5
5498 echo "${ECHO_T}no" >&6
5499 fi
5500
5501
5502 enablestring=
5503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5504 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5505 no_cache=0
5506 # Check whether --enable-timer or --disable-timer was given.
5507 if test "${enable_timer+set}" = set; then
5508 enableval="$enable_timer"
5509
5510 if test "$enableval" = yes; then
5511 ac_cv_use_timer='wxUSE_TIMER=yes'
5512 else
5513 ac_cv_use_timer='wxUSE_TIMER=no'
5514 fi
5515
5516 else
5517
5518 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5519 if test "x$LINE" != x ; then
5520 eval "DEFAULT_$LINE"
5521 else
5522 no_cache=1
5523 fi
5524
5525 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5526
5527 fi;
5528
5529 eval "$ac_cv_use_timer"
5530 if test "$no_cache" != 1; then
5531 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5532 fi
5533
5534 if test "$wxUSE_TIMER" = yes; then
5535 echo "$as_me:$LINENO: result: yes" >&5
5536 echo "${ECHO_T}yes" >&6
5537 else
5538 echo "$as_me:$LINENO: result: no" >&5
5539 echo "${ECHO_T}no" >&6
5540 fi
5541
5542
5543 enablestring=
5544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5545 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5546 no_cache=0
5547 # Check whether --enable-unicode or --disable-unicode was given.
5548 if test "${enable_unicode+set}" = set; then
5549 enableval="$enable_unicode"
5550
5551 if test "$enableval" = yes; then
5552 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5553 else
5554 ac_cv_use_unicode='wxUSE_UNICODE=no'
5555 fi
5556
5557 else
5558
5559 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5560 if test "x$LINE" != x ; then
5561 eval "DEFAULT_$LINE"
5562 else
5563 no_cache=1
5564 fi
5565
5566 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5567
5568 fi;
5569
5570 eval "$ac_cv_use_unicode"
5571 if test "$no_cache" != 1; then
5572 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5573 fi
5574
5575 if test "$wxUSE_UNICODE" = yes; then
5576 echo "$as_me:$LINENO: result: yes" >&5
5577 echo "${ECHO_T}yes" >&6
5578 else
5579 echo "$as_me:$LINENO: result: no" >&5
5580 echo "${ECHO_T}no" >&6
5581 fi
5582
5583
5584 enablestring=
5585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5586 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5587 no_cache=0
5588 # Check whether --enable-sound or --disable-sound was given.
5589 if test "${enable_sound+set}" = set; then
5590 enableval="$enable_sound"
5591
5592 if test "$enableval" = yes; then
5593 ac_cv_use_sound='wxUSE_SOUND=yes'
5594 else
5595 ac_cv_use_sound='wxUSE_SOUND=no'
5596 fi
5597
5598 else
5599
5600 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5601 if test "x$LINE" != x ; then
5602 eval "DEFAULT_$LINE"
5603 else
5604 no_cache=1
5605 fi
5606
5607 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5608
5609 fi;
5610
5611 eval "$ac_cv_use_sound"
5612 if test "$no_cache" != 1; then
5613 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5614 fi
5615
5616 if test "$wxUSE_SOUND" = yes; then
5617 echo "$as_me:$LINENO: result: yes" >&5
5618 echo "${ECHO_T}yes" >&6
5619 else
5620 echo "$as_me:$LINENO: result: no" >&5
5621 echo "${ECHO_T}no" >&6
5622 fi
5623
5624
5625 enablestring=
5626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5627 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5628 no_cache=0
5629 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5630 if test "${enable_wxprintfv+set}" = set; then
5631 enableval="$enable_wxprintfv"
5632
5633 if test "$enableval" = yes; then
5634 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5635 else
5636 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5637 fi
5638
5639 else
5640
5641 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5642 if test "x$LINE" != x ; then
5643 eval "DEFAULT_$LINE"
5644 else
5645 no_cache=1
5646 fi
5647
5648 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5649
5650 fi;
5651
5652 eval "$ac_cv_use_wxprintfv"
5653 if test "$no_cache" != 1; then
5654 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5655 fi
5656
5657 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5658 echo "$as_me:$LINENO: result: yes" >&5
5659 echo "${ECHO_T}yes" >&6
5660 else
5661 echo "$as_me:$LINENO: result: no" >&5
5662 echo "${ECHO_T}no" >&6
5663 fi
5664
5665
5666 enablestring=
5667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5668 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5669 no_cache=0
5670 # Check whether --enable-zipstream or --disable-zipstream was given.
5671 if test "${enable_zipstream+set}" = set; then
5672 enableval="$enable_zipstream"
5673
5674 if test "$enableval" = yes; then
5675 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5676 else
5677 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5678 fi
5679
5680 else
5681
5682 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5683 if test "x$LINE" != x ; then
5684 eval "DEFAULT_$LINE"
5685 else
5686 no_cache=1
5687 fi
5688
5689 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5690
5691 fi;
5692
5693 eval "$ac_cv_use_zipstream"
5694 if test "$no_cache" != 1; then
5695 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5696 fi
5697
5698 if test "$wxUSE_ZIPSTREAM" = yes; then
5699 echo "$as_me:$LINENO: result: yes" >&5
5700 echo "${ECHO_T}yes" >&6
5701 else
5702 echo "$as_me:$LINENO: result: no" >&5
5703 echo "${ECHO_T}no" >&6
5704 fi
5705
5706
5707 enablestring=
5708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gzstream" >&5
5709 echo $ECHO_N "checking for --${enablestring:-enable}-gzstream... $ECHO_C" >&6
5710 no_cache=0
5711 # Check whether --enable-gzstream or --disable-gzstream was given.
5712 if test "${enable_gzstream+set}" = set; then
5713 enableval="$enable_gzstream"
5714
5715 if test "$enableval" = yes; then
5716 ac_cv_use_gzstream='wxUSE_GZSTREAM=yes'
5717 else
5718 ac_cv_use_gzstream='wxUSE_GZSTREAM=no'
5719 fi
5720
5721 else
5722
5723 LINE=`grep "wxUSE_GZSTREAM" ${wx_arg_cache_file}`
5724 if test "x$LINE" != x ; then
5725 eval "DEFAULT_$LINE"
5726 else
5727 no_cache=1
5728 fi
5729
5730 ac_cv_use_gzstream='wxUSE_GZSTREAM='$DEFAULT_wxUSE_GZSTREAM
5731
5732 fi;
5733
5734 eval "$ac_cv_use_gzstream"
5735 if test "$no_cache" != 1; then
5736 echo $ac_cv_use_gzstream >> ${wx_arg_cache_file}.tmp
5737 fi
5738
5739 if test "$wxUSE_GZSTREAM" = yes; then
5740 echo "$as_me:$LINENO: result: yes" >&5
5741 echo "${ECHO_T}yes" >&6
5742 else
5743 echo "$as_me:$LINENO: result: no" >&5
5744 echo "${ECHO_T}no" >&6
5745 fi
5746
5747
5748
5749 enablestring=
5750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5751 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5752 no_cache=0
5753 # Check whether --enable-url or --disable-url was given.
5754 if test "${enable_url+set}" = set; then
5755 enableval="$enable_url"
5756
5757 if test "$enableval" = yes; then
5758 ac_cv_use_url='wxUSE_URL=yes'
5759 else
5760 ac_cv_use_url='wxUSE_URL=no'
5761 fi
5762
5763 else
5764
5765 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5766 if test "x$LINE" != x ; then
5767 eval "DEFAULT_$LINE"
5768 else
5769 no_cache=1
5770 fi
5771
5772 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5773
5774 fi;
5775
5776 eval "$ac_cv_use_url"
5777 if test "$no_cache" != 1; then
5778 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5779 fi
5780
5781 if test "$wxUSE_URL" = yes; then
5782 echo "$as_me:$LINENO: result: yes" >&5
5783 echo "${ECHO_T}yes" >&6
5784 else
5785 echo "$as_me:$LINENO: result: no" >&5
5786 echo "${ECHO_T}no" >&6
5787 fi
5788
5789
5790 enablestring=
5791 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5792 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5793 no_cache=0
5794 # Check whether --enable-protocol or --disable-protocol was given.
5795 if test "${enable_protocol+set}" = set; then
5796 enableval="$enable_protocol"
5797
5798 if test "$enableval" = yes; then
5799 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5800 else
5801 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5802 fi
5803
5804 else
5805
5806 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5807 if test "x$LINE" != x ; then
5808 eval "DEFAULT_$LINE"
5809 else
5810 no_cache=1
5811 fi
5812
5813 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5814
5815 fi;
5816
5817 eval "$ac_cv_use_protocol"
5818 if test "$no_cache" != 1; then
5819 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5820 fi
5821
5822 if test "$wxUSE_PROTOCOL" = yes; then
5823 echo "$as_me:$LINENO: result: yes" >&5
5824 echo "${ECHO_T}yes" >&6
5825 else
5826 echo "$as_me:$LINENO: result: no" >&5
5827 echo "${ECHO_T}no" >&6
5828 fi
5829
5830
5831 enablestring=
5832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5833 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5834 no_cache=0
5835 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5836 if test "${enable_protocol_http+set}" = set; then
5837 enableval="$enable_protocol_http"
5838
5839 if test "$enableval" = yes; then
5840 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5841 else
5842 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5843 fi
5844
5845 else
5846
5847 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5848 if test "x$LINE" != x ; then
5849 eval "DEFAULT_$LINE"
5850 else
5851 no_cache=1
5852 fi
5853
5854 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5855
5856 fi;
5857
5858 eval "$ac_cv_use_protocol_http"
5859 if test "$no_cache" != 1; then
5860 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5861 fi
5862
5863 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5864 echo "$as_me:$LINENO: result: yes" >&5
5865 echo "${ECHO_T}yes" >&6
5866 else
5867 echo "$as_me:$LINENO: result: no" >&5
5868 echo "${ECHO_T}no" >&6
5869 fi
5870
5871
5872 enablestring=
5873 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5874 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5875 no_cache=0
5876 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5877 if test "${enable_protocol_ftp+set}" = set; then
5878 enableval="$enable_protocol_ftp"
5879
5880 if test "$enableval" = yes; then
5881 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5882 else
5883 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5884 fi
5885
5886 else
5887
5888 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5889 if test "x$LINE" != x ; then
5890 eval "DEFAULT_$LINE"
5891 else
5892 no_cache=1
5893 fi
5894
5895 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5896
5897 fi;
5898
5899 eval "$ac_cv_use_protocol_ftp"
5900 if test "$no_cache" != 1; then
5901 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5902 fi
5903
5904 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5905 echo "$as_me:$LINENO: result: yes" >&5
5906 echo "${ECHO_T}yes" >&6
5907 else
5908 echo "$as_me:$LINENO: result: no" >&5
5909 echo "${ECHO_T}no" >&6
5910 fi
5911
5912
5913 enablestring=
5914 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5915 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5916 no_cache=0
5917 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5918 if test "${enable_protocol_file+set}" = set; then
5919 enableval="$enable_protocol_file"
5920
5921 if test "$enableval" = yes; then
5922 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5923 else
5924 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5925 fi
5926
5927 else
5928
5929 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5930 if test "x$LINE" != x ; then
5931 eval "DEFAULT_$LINE"
5932 else
5933 no_cache=1
5934 fi
5935
5936 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5937
5938 fi;
5939
5940 eval "$ac_cv_use_protocol_file"
5941 if test "$no_cache" != 1; then
5942 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5943 fi
5944
5945 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5946 echo "$as_me:$LINENO: result: yes" >&5
5947 echo "${ECHO_T}yes" >&6
5948 else
5949 echo "$as_me:$LINENO: result: no" >&5
5950 echo "${ECHO_T}no" >&6
5951 fi
5952
5953
5954
5955
5956
5957 enablestring=
5958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5959 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5960 no_cache=0
5961 # Check whether --enable-threads or --disable-threads was given.
5962 if test "${enable_threads+set}" = set; then
5963 enableval="$enable_threads"
5964
5965 if test "$enableval" = yes; then
5966 ac_cv_use_threads='wxUSE_THREADS=yes'
5967 else
5968 ac_cv_use_threads='wxUSE_THREADS=no'
5969 fi
5970
5971 else
5972
5973 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5974 if test "x$LINE" != x ; then
5975 eval "DEFAULT_$LINE"
5976 else
5977 no_cache=1
5978 fi
5979
5980 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5981
5982 fi;
5983
5984 eval "$ac_cv_use_threads"
5985 if test "$no_cache" != 1; then
5986 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5987 fi
5988
5989 if test "$wxUSE_THREADS" = yes; then
5990 echo "$as_me:$LINENO: result: yes" >&5
5991 echo "${ECHO_T}yes" >&6
5992 else
5993 echo "$as_me:$LINENO: result: no" >&5
5994 echo "${ECHO_T}no" >&6
5995 fi
5996
5997
5998 if test "$wxUSE_GUI" = "yes"; then
5999
6000
6001
6002 enablestring=
6003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6004 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6005 no_cache=0
6006 # Check whether --enable-docview or --disable-docview was given.
6007 if test "${enable_docview+set}" = set; then
6008 enableval="$enable_docview"
6009
6010 if test "$enableval" = yes; then
6011 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6012 else
6013 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6014 fi
6015
6016 else
6017
6018 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6019 if test "x$LINE" != x ; then
6020 eval "DEFAULT_$LINE"
6021 else
6022 no_cache=1
6023 fi
6024
6025 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6026
6027 fi;
6028
6029 eval "$ac_cv_use_docview"
6030 if test "$no_cache" != 1; then
6031 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6032 fi
6033
6034 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6035 echo "$as_me:$LINENO: result: yes" >&5
6036 echo "${ECHO_T}yes" >&6
6037 else
6038 echo "$as_me:$LINENO: result: no" >&5
6039 echo "${ECHO_T}no" >&6
6040 fi
6041
6042
6043 enablestring=
6044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6045 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6046 no_cache=0
6047 # Check whether --enable-help or --disable-help was given.
6048 if test "${enable_help+set}" = set; then
6049 enableval="$enable_help"
6050
6051 if test "$enableval" = yes; then
6052 ac_cv_use_help='wxUSE_HELP=yes'
6053 else
6054 ac_cv_use_help='wxUSE_HELP=no'
6055 fi
6056
6057 else
6058
6059 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6060 if test "x$LINE" != x ; then
6061 eval "DEFAULT_$LINE"
6062 else
6063 no_cache=1
6064 fi
6065
6066 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6067
6068 fi;
6069
6070 eval "$ac_cv_use_help"
6071 if test "$no_cache" != 1; then
6072 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6073 fi
6074
6075 if test "$wxUSE_HELP" = yes; then
6076 echo "$as_me:$LINENO: result: yes" >&5
6077 echo "${ECHO_T}yes" >&6
6078 else
6079 echo "$as_me:$LINENO: result: no" >&5
6080 echo "${ECHO_T}no" >&6
6081 fi
6082
6083
6084 enablestring=
6085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6086 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6087 no_cache=0
6088 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6089 if test "${enable_mshtmlhelp+set}" = set; then
6090 enableval="$enable_mshtmlhelp"
6091
6092 if test "$enableval" = yes; then
6093 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6094 else
6095 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6096 fi
6097
6098 else
6099
6100 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6101 if test "x$LINE" != x ; then
6102 eval "DEFAULT_$LINE"
6103 else
6104 no_cache=1
6105 fi
6106
6107 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6108
6109 fi;
6110
6111 eval "$ac_cv_use_mshtmlhelp"
6112 if test "$no_cache" != 1; then
6113 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6114 fi
6115
6116 if test "$wxUSE_MS_HTML_HELP" = yes; then
6117 echo "$as_me:$LINENO: result: yes" >&5
6118 echo "${ECHO_T}yes" >&6
6119 else
6120 echo "$as_me:$LINENO: result: no" >&5
6121 echo "${ECHO_T}no" >&6
6122 fi
6123
6124
6125 enablestring=
6126 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6127 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6128 no_cache=0
6129 # Check whether --enable-html or --disable-html was given.
6130 if test "${enable_html+set}" = set; then
6131 enableval="$enable_html"
6132
6133 if test "$enableval" = yes; then
6134 ac_cv_use_html='wxUSE_HTML=yes'
6135 else
6136 ac_cv_use_html='wxUSE_HTML=no'
6137 fi
6138
6139 else
6140
6141 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6142 if test "x$LINE" != x ; then
6143 eval "DEFAULT_$LINE"
6144 else
6145 no_cache=1
6146 fi
6147
6148 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6149
6150 fi;
6151
6152 eval "$ac_cv_use_html"
6153 if test "$no_cache" != 1; then
6154 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6155 fi
6156
6157 if test "$wxUSE_HTML" = yes; then
6158 echo "$as_me:$LINENO: result: yes" >&5
6159 echo "${ECHO_T}yes" >&6
6160 else
6161 echo "$as_me:$LINENO: result: no" >&5
6162 echo "${ECHO_T}no" >&6
6163 fi
6164
6165
6166 enablestring=
6167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6168 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6169 no_cache=0
6170 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6171 if test "${enable_htmlhelp+set}" = set; then
6172 enableval="$enable_htmlhelp"
6173
6174 if test "$enableval" = yes; then
6175 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6176 else
6177 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6178 fi
6179
6180 else
6181
6182 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6183 if test "x$LINE" != x ; then
6184 eval "DEFAULT_$LINE"
6185 else
6186 no_cache=1
6187 fi
6188
6189 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6190
6191 fi;
6192
6193 eval "$ac_cv_use_htmlhelp"
6194 if test "$no_cache" != 1; then
6195 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6196 fi
6197
6198 if test "$wxUSE_WXHTML_HELP" = yes; then
6199 echo "$as_me:$LINENO: result: yes" >&5
6200 echo "${ECHO_T}yes" >&6
6201 else
6202 echo "$as_me:$LINENO: result: no" >&5
6203 echo "${ECHO_T}no" >&6
6204 fi
6205
6206
6207 enablestring=
6208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6209 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6210 no_cache=0
6211 # Check whether --enable-constraints or --disable-constraints was given.
6212 if test "${enable_constraints+set}" = set; then
6213 enableval="$enable_constraints"
6214
6215 if test "$enableval" = yes; then
6216 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6217 else
6218 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6219 fi
6220
6221 else
6222
6223 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6224 if test "x$LINE" != x ; then
6225 eval "DEFAULT_$LINE"
6226 else
6227 no_cache=1
6228 fi
6229
6230 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6231
6232 fi;
6233
6234 eval "$ac_cv_use_constraints"
6235 if test "$no_cache" != 1; then
6236 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6237 fi
6238
6239 if test "$wxUSE_CONSTRAINTS" = yes; then
6240 echo "$as_me:$LINENO: result: yes" >&5
6241 echo "${ECHO_T}yes" >&6
6242 else
6243 echo "$as_me:$LINENO: result: no" >&5
6244 echo "${ECHO_T}no" >&6
6245 fi
6246
6247
6248 enablestring=
6249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6250 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6251 no_cache=0
6252 # Check whether --enable-printarch or --disable-printarch was given.
6253 if test "${enable_printarch+set}" = set; then
6254 enableval="$enable_printarch"
6255
6256 if test "$enableval" = yes; then
6257 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6258 else
6259 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6260 fi
6261
6262 else
6263
6264 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6265 if test "x$LINE" != x ; then
6266 eval "DEFAULT_$LINE"
6267 else
6268 no_cache=1
6269 fi
6270
6271 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6272
6273 fi;
6274
6275 eval "$ac_cv_use_printarch"
6276 if test "$no_cache" != 1; then
6277 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6278 fi
6279
6280 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6281 echo "$as_me:$LINENO: result: yes" >&5
6282 echo "${ECHO_T}yes" >&6
6283 else
6284 echo "$as_me:$LINENO: result: no" >&5
6285 echo "${ECHO_T}no" >&6
6286 fi
6287
6288
6289 enablestring=
6290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6291 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6292 no_cache=0
6293 # Check whether --enable-mdi or --disable-mdi was given.
6294 if test "${enable_mdi+set}" = set; then
6295 enableval="$enable_mdi"
6296
6297 if test "$enableval" = yes; then
6298 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
6299 else
6300 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
6301 fi
6302
6303 else
6304
6305 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6306 if test "x$LINE" != x ; then
6307 eval "DEFAULT_$LINE"
6308 else
6309 no_cache=1
6310 fi
6311
6312 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6313
6314 fi;
6315
6316 eval "$ac_cv_use_mdi"
6317 if test "$no_cache" != 1; then
6318 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6319 fi
6320
6321 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6322 echo "$as_me:$LINENO: result: yes" >&5
6323 echo "${ECHO_T}yes" >&6
6324 else
6325 echo "$as_me:$LINENO: result: no" >&5
6326 echo "${ECHO_T}no" >&6
6327 fi
6328
6329
6330 enablestring=
6331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6332 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6333 no_cache=0
6334 # Check whether --enable-loggui or --disable-loggui was given.
6335 if test "${enable_loggui+set}" = set; then
6336 enableval="$enable_loggui"
6337
6338 if test "$enableval" = yes; then
6339 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6340 else
6341 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6342 fi
6343
6344 else
6345
6346 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6347 if test "x$LINE" != x ; then
6348 eval "DEFAULT_$LINE"
6349 else
6350 no_cache=1
6351 fi
6352
6353 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6354
6355 fi;
6356
6357 eval "$ac_cv_use_loggui"
6358 if test "$no_cache" != 1; then
6359 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6360 fi
6361
6362 if test "$wxUSE_LOGGUI" = yes; then
6363 echo "$as_me:$LINENO: result: yes" >&5
6364 echo "${ECHO_T}yes" >&6
6365 else
6366 echo "$as_me:$LINENO: result: no" >&5
6367 echo "${ECHO_T}no" >&6
6368 fi
6369
6370
6371 enablestring=
6372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6373 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6374 no_cache=0
6375 # Check whether --enable-logwin or --disable-logwin was given.
6376 if test "${enable_logwin+set}" = set; then
6377 enableval="$enable_logwin"
6378
6379 if test "$enableval" = yes; then
6380 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6381 else
6382 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6383 fi
6384
6385 else
6386
6387 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6388 if test "x$LINE" != x ; then
6389 eval "DEFAULT_$LINE"
6390 else
6391 no_cache=1
6392 fi
6393
6394 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6395
6396 fi;
6397
6398 eval "$ac_cv_use_logwin"
6399 if test "$no_cache" != 1; then
6400 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6401 fi
6402
6403 if test "$wxUSE_LOGWINDOW" = yes; then
6404 echo "$as_me:$LINENO: result: yes" >&5
6405 echo "${ECHO_T}yes" >&6
6406 else
6407 echo "$as_me:$LINENO: result: no" >&5
6408 echo "${ECHO_T}no" >&6
6409 fi
6410
6411
6412 enablestring=
6413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6414 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6415 no_cache=0
6416 # Check whether --enable-logdialog or --disable-logdialog was given.
6417 if test "${enable_logdialog+set}" = set; then
6418 enableval="$enable_logdialog"
6419
6420 if test "$enableval" = yes; then
6421 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6422 else
6423 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6424 fi
6425
6426 else
6427
6428 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6429 if test "x$LINE" != x ; then
6430 eval "DEFAULT_$LINE"
6431 else
6432 no_cache=1
6433 fi
6434
6435 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6436
6437 fi;
6438
6439 eval "$ac_cv_use_logdialog"
6440 if test "$no_cache" != 1; then
6441 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6442 fi
6443
6444 if test "$wxUSE_LOGDIALOG" = yes; then
6445 echo "$as_me:$LINENO: result: yes" >&5
6446 echo "${ECHO_T}yes" >&6
6447 else
6448 echo "$as_me:$LINENO: result: no" >&5
6449 echo "${ECHO_T}no" >&6
6450 fi
6451
6452
6453
6454 enablestring=
6455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6456 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6457 no_cache=0
6458 # Check whether --enable-postscript or --disable-postscript was given.
6459 if test "${enable_postscript+set}" = set; then
6460 enableval="$enable_postscript"
6461
6462 if test "$enableval" = yes; then
6463 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6464 else
6465 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6466 fi
6467
6468 else
6469
6470 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6471 if test "x$LINE" != x ; then
6472 eval "DEFAULT_$LINE"
6473 else
6474 no_cache=1
6475 fi
6476
6477 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6478
6479 fi;
6480
6481 eval "$ac_cv_use_postscript"
6482 if test "$no_cache" != 1; then
6483 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6484 fi
6485
6486 if test "$wxUSE_POSTSCRIPT" = yes; then
6487 echo "$as_me:$LINENO: result: yes" >&5
6488 echo "${ECHO_T}yes" >&6
6489 else
6490 echo "$as_me:$LINENO: result: no" >&5
6491 echo "${ECHO_T}no" >&6
6492 fi
6493
6494
6495
6496
6497
6498 enablestring=
6499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6500 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6501 no_cache=0
6502 # Check whether --enable-prologio or --disable-prologio was given.
6503 if test "${enable_prologio+set}" = set; then
6504 enableval="$enable_prologio"
6505
6506 if test "$enableval" = yes; then
6507 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6508 else
6509 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6510 fi
6511
6512 else
6513
6514 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6515 if test "x$LINE" != x ; then
6516 eval "DEFAULT_$LINE"
6517 else
6518 no_cache=1
6519 fi
6520
6521 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6522
6523 fi;
6524
6525 eval "$ac_cv_use_prologio"
6526 if test "$no_cache" != 1; then
6527 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6528 fi
6529
6530 if test "$wxUSE_PROLOGIO" = yes; then
6531 echo "$as_me:$LINENO: result: yes" >&5
6532 echo "${ECHO_T}yes" >&6
6533 else
6534 echo "$as_me:$LINENO: result: no" >&5
6535 echo "${ECHO_T}no" >&6
6536 fi
6537
6538
6539 enablestring=
6540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6541 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6542 no_cache=0
6543 # Check whether --enable-resources or --disable-resources was given.
6544 if test "${enable_resources+set}" = set; then
6545 enableval="$enable_resources"
6546
6547 if test "$enableval" = yes; then
6548 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6549 else
6550 ac_cv_use_resources='wxUSE_RESOURCES=no'
6551 fi
6552
6553 else
6554
6555 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6556 if test "x$LINE" != x ; then
6557 eval "DEFAULT_$LINE"
6558 else
6559 no_cache=1
6560 fi
6561
6562 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6563
6564 fi;
6565
6566 eval "$ac_cv_use_resources"
6567 if test "$no_cache" != 1; then
6568 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6569 fi
6570
6571 if test "$wxUSE_RESOURCES" = yes; then
6572 echo "$as_me:$LINENO: result: yes" >&5
6573 echo "${ECHO_T}yes" >&6
6574 else
6575 echo "$as_me:$LINENO: result: no" >&5
6576 echo "${ECHO_T}no" >&6
6577 fi
6578
6579
6580
6581
6582 enablestring=
6583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6584 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6585 no_cache=0
6586 # Check whether --enable-clipboard or --disable-clipboard was given.
6587 if test "${enable_clipboard+set}" = set; then
6588 enableval="$enable_clipboard"
6589
6590 if test "$enableval" = yes; then
6591 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6592 else
6593 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6594 fi
6595
6596 else
6597
6598 LINE=`grep "wxUSE_CLIPBOARD" ${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_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6606
6607 fi;
6608
6609 eval "$ac_cv_use_clipboard"
6610 if test "$no_cache" != 1; then
6611 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6612 fi
6613
6614 if test "$wxUSE_CLIPBOARD" = 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}-dnd" >&5
6625 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6626 no_cache=0
6627 # Check whether --enable-dnd or --disable-dnd was given.
6628 if test "${enable_dnd+set}" = set; then
6629 enableval="$enable_dnd"
6630
6631 if test "$enableval" = yes; then
6632 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6633 else
6634 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6635 fi
6636
6637 else
6638
6639 LINE=`grep "wxUSE_DRAG_AND_DROP" ${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_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6647
6648 fi;
6649
6650 eval "$ac_cv_use_dnd"
6651 if test "$no_cache" != 1; then
6652 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6653 fi
6654
6655 if test "$wxUSE_DRAG_AND_DROP" = 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 enablestring=
6665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6666 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6667 no_cache=0
6668 # Check whether --enable-metafile or --disable-metafile was given.
6669 if test "${enable_metafile+set}" = set; then
6670 enableval="$enable_metafile"
6671
6672 if test "$enableval" = yes; then
6673 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6674 else
6675 ac_cv_use_metafile='wxUSE_METAFILE=no'
6676 fi
6677
6678 else
6679
6680 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6681 if test "x$LINE" != x ; then
6682 eval "DEFAULT_$LINE"
6683 else
6684 no_cache=1
6685 fi
6686
6687 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6688
6689 fi;
6690
6691 eval "$ac_cv_use_metafile"
6692 if test "$no_cache" != 1; then
6693 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6694 fi
6695
6696 if test "$wxUSE_METAFILE" = yes; then
6697 echo "$as_me:$LINENO: result: yes" >&5
6698 echo "${ECHO_T}yes" >&6
6699 else
6700 echo "$as_me:$LINENO: result: no" >&5
6701 echo "${ECHO_T}no" >&6
6702 fi
6703
6704
6705
6706
6707
6708 enablestring=
6709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6710 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6711 no_cache=0
6712 # Check whether --enable-controls or --disable-controls was given.
6713 if test "${enable_controls+set}" = set; then
6714 enableval="$enable_controls"
6715
6716 if test "$enableval" = yes; then
6717 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6718 else
6719 ac_cv_use_controls='wxUSE_CONTROLS=no'
6720 fi
6721
6722 else
6723
6724 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6725 if test "x$LINE" != x ; then
6726 eval "DEFAULT_$LINE"
6727 else
6728 no_cache=1
6729 fi
6730
6731 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6732
6733 fi;
6734
6735 eval "$ac_cv_use_controls"
6736 if test "$no_cache" != 1; then
6737 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6738 fi
6739
6740 if test "$wxUSE_CONTROLS" = yes; then
6741 echo "$as_me:$LINENO: result: yes" >&5
6742 echo "${ECHO_T}yes" >&6
6743 else
6744 echo "$as_me:$LINENO: result: no" >&5
6745 echo "${ECHO_T}no" >&6
6746 fi
6747
6748
6749 if test "$wxUSE_CONTROLS" = "yes"; then
6750 DEFAULT_wxUSE_ACCEL=yes
6751 DEFAULT_wxUSE_BMPBUTTON=yes
6752 DEFAULT_wxUSE_BUTTON=yes
6753 DEFAULT_wxUSE_CALCTRL=no
6754 DEFAULT_wxUSE_CARET=yes
6755 DEFAULT_wxUSE_COMBOBOX=yes
6756 DEFAULT_wxUSE_CHECKBOX=yes
6757 DEFAULT_wxUSE_CHECKLISTBOX=yes
6758 DEFAULT_wxUSE_CHOICE=yes
6759 DEFAULT_wxUSE_GAUGE=yes
6760 DEFAULT_wxUSE_GRID=yes
6761 DEFAULT_wxUSE_IMAGLIST=yes
6762 DEFAULT_wxUSE_LISTBOOK=yes
6763 DEFAULT_wxUSE_LISTBOX=yes
6764 DEFAULT_wxUSE_LISTCTRL=yes
6765 DEFAULT_wxUSE_NOTEBOOK=yes
6766 DEFAULT_wxUSE_RADIOBOX=yes
6767 DEFAULT_wxUSE_RADIOBTN=yes
6768 DEFAULT_wxUSE_SASH=yes
6769 DEFAULT_wxUSE_SCROLLBAR=yes
6770 DEFAULT_wxUSE_SLIDER=yes
6771 DEFAULT_wxUSE_SPINBTN=yes
6772 DEFAULT_wxUSE_SPINCTRL=yes
6773 DEFAULT_wxUSE_SPLITTER=yes
6774 DEFAULT_wxUSE_STATBMP=yes
6775 DEFAULT_wxUSE_STATBOX=yes
6776 DEFAULT_wxUSE_STATLINE=yes
6777 DEFAULT_wxUSE_STATUSBAR=yes
6778 DEFAULT_wxUSE_TAB_DIALOG=yes
6779 DEFAULT_wxUSE_TOGGLEBTN=yes
6780 DEFAULT_wxUSE_TOOLBAR=yes
6781 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6782 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6783 DEFAULT_wxUSE_TOOLTIPS=yes
6784 DEFAULT_wxUSE_TREECTRL=yes
6785 DEFAULT_wxUSE_POPUPWIN=yes
6786 DEFAULT_wxUSE_TIPWINDOW=yes
6787 elif test "$wxUSE_CONTROLS" = "no"; then
6788 DEFAULT_wxUSE_ACCEL=no
6789 DEFAULT_wxUSE_BMPBUTTON=no
6790 DEFAULT_wxUSE_BUTTON=no
6791 DEFAULT_wxUSE_CALCTRL=no
6792 DEFAULT_wxUSE_CARET=no
6793 DEFAULT_wxUSE_COMBOBOX=no
6794 DEFAULT_wxUSE_CHECKBOX=no
6795 DEFAULT_wxUSE_CHECKLISTBOX=no
6796 DEFAULT_wxUSE_CHOICE=no
6797 DEFAULT_wxUSE_GAUGE=no
6798 DEFAULT_wxUSE_GRID=no
6799 DEFAULT_wxUSE_IMAGLIST=no
6800 DEFAULT_wxUSE_LISTBOOK=no
6801 DEFAULT_wxUSE_LISTBOX=no
6802 DEFAULT_wxUSE_LISTCTRL=no
6803 DEFAULT_wxUSE_NOTEBOOK=no
6804 DEFAULT_wxUSE_RADIOBOX=no
6805 DEFAULT_wxUSE_RADIOBTN=no
6806 DEFAULT_wxUSE_SASH=no
6807 DEFAULT_wxUSE_SCROLLBAR=no
6808 DEFAULT_wxUSE_SLIDER=no
6809 DEFAULT_wxUSE_SPINBTN=no
6810 DEFAULT_wxUSE_SPINCTRL=no
6811 DEFAULT_wxUSE_SPLITTER=no
6812 DEFAULT_wxUSE_STATBMP=no
6813 DEFAULT_wxUSE_STATBOX=no
6814 DEFAULT_wxUSE_STATLINE=no
6815 DEFAULT_wxUSE_STATUSBAR=no
6816 DEFAULT_wxUSE_TAB_DIALOG=no
6817 DEFAULT_wxUSE_TOGGLEBTN=no
6818 DEFAULT_wxUSE_TOOLBAR=no
6819 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6820 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6821 DEFAULT_wxUSE_TOOLTIPS=no
6822 DEFAULT_wxUSE_TREECTRL=no
6823 DEFAULT_wxUSE_POPUPWIN=no
6824 DEFAULT_wxUSE_TIPWINDOW=no
6825 fi
6826
6827 ## FIXME: This is a blatant hack
6828 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6829 wxUSE_PRINTING_ARCHITECTURE=no
6830 wxUSE_DRAG_AND_DROP=no
6831 # Generic notebook requires tab dialog
6832 DEFAULT_wxUSE_TABDIALOG=yes
6833 DEFAULT_wxUSE_SCROLLBAR=no
6834 DEFAULT_wxUSE_TOOLTIPS=no
6835 DEFAULT_wxUSE_DRAGIMAGE=no
6836 fi
6837
6838
6839 enablestring=
6840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6841 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6842 no_cache=0
6843 # Check whether --enable-accel or --disable-accel was given.
6844 if test "${enable_accel+set}" = set; then
6845 enableval="$enable_accel"
6846
6847 if test "$enableval" = yes; then
6848 ac_cv_use_accel='wxUSE_ACCEL=yes'
6849 else
6850 ac_cv_use_accel='wxUSE_ACCEL=no'
6851 fi
6852
6853 else
6854
6855 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6856 if test "x$LINE" != x ; then
6857 eval "DEFAULT_$LINE"
6858 else
6859 no_cache=1
6860 fi
6861
6862 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6863
6864 fi;
6865
6866 eval "$ac_cv_use_accel"
6867 if test "$no_cache" != 1; then
6868 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6869 fi
6870
6871 if test "$wxUSE_ACCEL" = yes; then
6872 echo "$as_me:$LINENO: result: yes" >&5
6873 echo "${ECHO_T}yes" >&6
6874 else
6875 echo "$as_me:$LINENO: result: no" >&5
6876 echo "${ECHO_T}no" >&6
6877 fi
6878
6879
6880 enablestring=
6881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6882 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6883 no_cache=0
6884 # Check whether --enable-button or --disable-button was given.
6885 if test "${enable_button+set}" = set; then
6886 enableval="$enable_button"
6887
6888 if test "$enableval" = yes; then
6889 ac_cv_use_button='wxUSE_BUTTON=yes'
6890 else
6891 ac_cv_use_button='wxUSE_BUTTON=no'
6892 fi
6893
6894 else
6895
6896 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6897 if test "x$LINE" != x ; then
6898 eval "DEFAULT_$LINE"
6899 else
6900 no_cache=1
6901 fi
6902
6903 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6904
6905 fi;
6906
6907 eval "$ac_cv_use_button"
6908 if test "$no_cache" != 1; then
6909 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6910 fi
6911
6912 if test "$wxUSE_BUTTON" = yes; then
6913 echo "$as_me:$LINENO: result: yes" >&5
6914 echo "${ECHO_T}yes" >&6
6915 else
6916 echo "$as_me:$LINENO: result: no" >&5
6917 echo "${ECHO_T}no" >&6
6918 fi
6919
6920
6921 enablestring=
6922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6923 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6924 no_cache=0
6925 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6926 if test "${enable_bmpbutton+set}" = set; then
6927 enableval="$enable_bmpbutton"
6928
6929 if test "$enableval" = yes; then
6930 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6931 else
6932 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6933 fi
6934
6935 else
6936
6937 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6938 if test "x$LINE" != x ; then
6939 eval "DEFAULT_$LINE"
6940 else
6941 no_cache=1
6942 fi
6943
6944 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6945
6946 fi;
6947
6948 eval "$ac_cv_use_bmpbutton"
6949 if test "$no_cache" != 1; then
6950 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6951 fi
6952
6953 if test "$wxUSE_BMPBUTTON" = yes; then
6954 echo "$as_me:$LINENO: result: yes" >&5
6955 echo "${ECHO_T}yes" >&6
6956 else
6957 echo "$as_me:$LINENO: result: no" >&5
6958 echo "${ECHO_T}no" >&6
6959 fi
6960
6961
6962 enablestring=
6963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6964 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6965 no_cache=0
6966 # Check whether --enable-calendar or --disable-calendar was given.
6967 if test "${enable_calendar+set}" = set; then
6968 enableval="$enable_calendar"
6969
6970 if test "$enableval" = yes; then
6971 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6972 else
6973 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6974 fi
6975
6976 else
6977
6978 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6979 if test "x$LINE" != x ; then
6980 eval "DEFAULT_$LINE"
6981 else
6982 no_cache=1
6983 fi
6984
6985 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6986
6987 fi;
6988
6989 eval "$ac_cv_use_calendar"
6990 if test "$no_cache" != 1; then
6991 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6992 fi
6993
6994 if test "$wxUSE_CALCTRL" = yes; then
6995 echo "$as_me:$LINENO: result: yes" >&5
6996 echo "${ECHO_T}yes" >&6
6997 else
6998 echo "$as_me:$LINENO: result: no" >&5
6999 echo "${ECHO_T}no" >&6
7000 fi
7001
7002
7003 enablestring=
7004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7005 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7006 no_cache=0
7007 # Check whether --enable-caret or --disable-caret was given.
7008 if test "${enable_caret+set}" = set; then
7009 enableval="$enable_caret"
7010
7011 if test "$enableval" = yes; then
7012 ac_cv_use_caret='wxUSE_CARET=yes'
7013 else
7014 ac_cv_use_caret='wxUSE_CARET=no'
7015 fi
7016
7017 else
7018
7019 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7020 if test "x$LINE" != x ; then
7021 eval "DEFAULT_$LINE"
7022 else
7023 no_cache=1
7024 fi
7025
7026 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7027
7028 fi;
7029
7030 eval "$ac_cv_use_caret"
7031 if test "$no_cache" != 1; then
7032 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7033 fi
7034
7035 if test "$wxUSE_CARET" = yes; then
7036 echo "$as_me:$LINENO: result: yes" >&5
7037 echo "${ECHO_T}yes" >&6
7038 else
7039 echo "$as_me:$LINENO: result: no" >&5
7040 echo "${ECHO_T}no" >&6
7041 fi
7042
7043
7044 enablestring=
7045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7046 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7047 no_cache=0
7048 # Check whether --enable-checkbox or --disable-checkbox was given.
7049 if test "${enable_checkbox+set}" = set; then
7050 enableval="$enable_checkbox"
7051
7052 if test "$enableval" = yes; then
7053 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7054 else
7055 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7056 fi
7057
7058 else
7059
7060 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7061 if test "x$LINE" != x ; then
7062 eval "DEFAULT_$LINE"
7063 else
7064 no_cache=1
7065 fi
7066
7067 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7068
7069 fi;
7070
7071 eval "$ac_cv_use_checkbox"
7072 if test "$no_cache" != 1; then
7073 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7074 fi
7075
7076 if test "$wxUSE_CHECKBOX" = yes; then
7077 echo "$as_me:$LINENO: result: yes" >&5
7078 echo "${ECHO_T}yes" >&6
7079 else
7080 echo "$as_me:$LINENO: result: no" >&5
7081 echo "${ECHO_T}no" >&6
7082 fi
7083
7084
7085 enablestring=
7086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7087 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7088 no_cache=0
7089 # Check whether --enable-checklst or --disable-checklst was given.
7090 if test "${enable_checklst+set}" = set; then
7091 enableval="$enable_checklst"
7092
7093 if test "$enableval" = yes; then
7094 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7095 else
7096 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7097 fi
7098
7099 else
7100
7101 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7102 if test "x$LINE" != x ; then
7103 eval "DEFAULT_$LINE"
7104 else
7105 no_cache=1
7106 fi
7107
7108 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7109
7110 fi;
7111
7112 eval "$ac_cv_use_checklst"
7113 if test "$no_cache" != 1; then
7114 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7115 fi
7116
7117 if test "$wxUSE_CHECKLST" = yes; then
7118 echo "$as_me:$LINENO: result: yes" >&5
7119 echo "${ECHO_T}yes" >&6
7120 else
7121 echo "$as_me:$LINENO: result: no" >&5
7122 echo "${ECHO_T}no" >&6
7123 fi
7124
7125
7126 enablestring=
7127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7128 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7129 no_cache=0
7130 # Check whether --enable-choice or --disable-choice was given.
7131 if test "${enable_choice+set}" = set; then
7132 enableval="$enable_choice"
7133
7134 if test "$enableval" = yes; then
7135 ac_cv_use_choice='wxUSE_CHOICE=yes'
7136 else
7137 ac_cv_use_choice='wxUSE_CHOICE=no'
7138 fi
7139
7140 else
7141
7142 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7143 if test "x$LINE" != x ; then
7144 eval "DEFAULT_$LINE"
7145 else
7146 no_cache=1
7147 fi
7148
7149 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7150
7151 fi;
7152
7153 eval "$ac_cv_use_choice"
7154 if test "$no_cache" != 1; then
7155 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7156 fi
7157
7158 if test "$wxUSE_CHOICE" = yes; then
7159 echo "$as_me:$LINENO: result: yes" >&5
7160 echo "${ECHO_T}yes" >&6
7161 else
7162 echo "$as_me:$LINENO: result: no" >&5
7163 echo "${ECHO_T}no" >&6
7164 fi
7165
7166
7167 enablestring=
7168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7169 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7170 no_cache=0
7171 # Check whether --enable-combobox or --disable-combobox was given.
7172 if test "${enable_combobox+set}" = set; then
7173 enableval="$enable_combobox"
7174
7175 if test "$enableval" = yes; then
7176 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7177 else
7178 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7179 fi
7180
7181 else
7182
7183 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7184 if test "x$LINE" != x ; then
7185 eval "DEFAULT_$LINE"
7186 else
7187 no_cache=1
7188 fi
7189
7190 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7191
7192 fi;
7193
7194 eval "$ac_cv_use_combobox"
7195 if test "$no_cache" != 1; then
7196 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7197 fi
7198
7199 if test "$wxUSE_COMBOBOX" = yes; then
7200 echo "$as_me:$LINENO: result: yes" >&5
7201 echo "${ECHO_T}yes" >&6
7202 else
7203 echo "$as_me:$LINENO: result: no" >&5
7204 echo "${ECHO_T}no" >&6
7205 fi
7206
7207
7208 enablestring=
7209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7210 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7211 no_cache=0
7212 # Check whether --enable-display or --disable-display was given.
7213 if test "${enable_display+set}" = set; then
7214 enableval="$enable_display"
7215
7216 if test "$enableval" = yes; then
7217 ac_cv_use_display='wxUSE_DISPLAY=yes'
7218 else
7219 ac_cv_use_display='wxUSE_DISPLAY=no'
7220 fi
7221
7222 else
7223
7224 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7225 if test "x$LINE" != x ; then
7226 eval "DEFAULT_$LINE"
7227 else
7228 no_cache=1
7229 fi
7230
7231 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7232
7233 fi;
7234
7235 eval "$ac_cv_use_display"
7236 if test "$no_cache" != 1; then
7237 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7238 fi
7239
7240 if test "$wxUSE_DISPLAY" = yes; then
7241 echo "$as_me:$LINENO: result: yes" >&5
7242 echo "${ECHO_T}yes" >&6
7243 else
7244 echo "$as_me:$LINENO: result: no" >&5
7245 echo "${ECHO_T}no" >&6
7246 fi
7247
7248
7249 enablestring=
7250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7251 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7252 no_cache=0
7253 # Check whether --enable-gauge or --disable-gauge was given.
7254 if test "${enable_gauge+set}" = set; then
7255 enableval="$enable_gauge"
7256
7257 if test "$enableval" = yes; then
7258 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7259 else
7260 ac_cv_use_gauge='wxUSE_GAUGE=no'
7261 fi
7262
7263 else
7264
7265 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7266 if test "x$LINE" != x ; then
7267 eval "DEFAULT_$LINE"
7268 else
7269 no_cache=1
7270 fi
7271
7272 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7273
7274 fi;
7275
7276 eval "$ac_cv_use_gauge"
7277 if test "$no_cache" != 1; then
7278 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7279 fi
7280
7281 if test "$wxUSE_GAUGE" = yes; then
7282 echo "$as_me:$LINENO: result: yes" >&5
7283 echo "${ECHO_T}yes" >&6
7284 else
7285 echo "$as_me:$LINENO: result: no" >&5
7286 echo "${ECHO_T}no" >&6
7287 fi
7288
7289
7290 enablestring=
7291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7292 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7293 no_cache=0
7294 # Check whether --enable-grid or --disable-grid was given.
7295 if test "${enable_grid+set}" = set; then
7296 enableval="$enable_grid"
7297
7298 if test "$enableval" = yes; then
7299 ac_cv_use_grid='wxUSE_GRID=yes'
7300 else
7301 ac_cv_use_grid='wxUSE_GRID=no'
7302 fi
7303
7304 else
7305
7306 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7307 if test "x$LINE" != x ; then
7308 eval "DEFAULT_$LINE"
7309 else
7310 no_cache=1
7311 fi
7312
7313 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7314
7315 fi;
7316
7317 eval "$ac_cv_use_grid"
7318 if test "$no_cache" != 1; then
7319 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7320 fi
7321
7322 if test "$wxUSE_GRID" = yes; then
7323 echo "$as_me:$LINENO: result: yes" >&5
7324 echo "${ECHO_T}yes" >&6
7325 else
7326 echo "$as_me:$LINENO: result: no" >&5
7327 echo "${ECHO_T}no" >&6
7328 fi
7329
7330
7331 enablestring=
7332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7333 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7334 no_cache=0
7335 # Check whether --enable-imaglist or --disable-imaglist was given.
7336 if test "${enable_imaglist+set}" = set; then
7337 enableval="$enable_imaglist"
7338
7339 if test "$enableval" = yes; then
7340 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7341 else
7342 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7343 fi
7344
7345 else
7346
7347 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7348 if test "x$LINE" != x ; then
7349 eval "DEFAULT_$LINE"
7350 else
7351 no_cache=1
7352 fi
7353
7354 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7355
7356 fi;
7357
7358 eval "$ac_cv_use_imaglist"
7359 if test "$no_cache" != 1; then
7360 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7361 fi
7362
7363 if test "$wxUSE_IMAGLIST" = yes; then
7364 echo "$as_me:$LINENO: result: yes" >&5
7365 echo "${ECHO_T}yes" >&6
7366 else
7367 echo "$as_me:$LINENO: result: no" >&5
7368 echo "${ECHO_T}no" >&6
7369 fi
7370
7371
7372 enablestring=
7373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7374 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7375 no_cache=0
7376 # Check whether --enable-listbook or --disable-listbook was given.
7377 if test "${enable_listbook+set}" = set; then
7378 enableval="$enable_listbook"
7379
7380 if test "$enableval" = yes; then
7381 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7382 else
7383 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7384 fi
7385
7386 else
7387
7388 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7389 if test "x$LINE" != x ; then
7390 eval "DEFAULT_$LINE"
7391 else
7392 no_cache=1
7393 fi
7394
7395 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7396
7397 fi;
7398
7399 eval "$ac_cv_use_listbook"
7400 if test "$no_cache" != 1; then
7401 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7402 fi
7403
7404 if test "$wxUSE_LISTBOOK" = yes; then
7405 echo "$as_me:$LINENO: result: yes" >&5
7406 echo "${ECHO_T}yes" >&6
7407 else
7408 echo "$as_me:$LINENO: result: no" >&5
7409 echo "${ECHO_T}no" >&6
7410 fi
7411
7412
7413 enablestring=
7414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7415 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7416 no_cache=0
7417 # Check whether --enable-listbox or --disable-listbox was given.
7418 if test "${enable_listbox+set}" = set; then
7419 enableval="$enable_listbox"
7420
7421 if test "$enableval" = yes; then
7422 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7423 else
7424 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7425 fi
7426
7427 else
7428
7429 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7430 if test "x$LINE" != x ; then
7431 eval "DEFAULT_$LINE"
7432 else
7433 no_cache=1
7434 fi
7435
7436 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7437
7438 fi;
7439
7440 eval "$ac_cv_use_listbox"
7441 if test "$no_cache" != 1; then
7442 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7443 fi
7444
7445 if test "$wxUSE_LISTBOX" = yes; then
7446 echo "$as_me:$LINENO: result: yes" >&5
7447 echo "${ECHO_T}yes" >&6
7448 else
7449 echo "$as_me:$LINENO: result: no" >&5
7450 echo "${ECHO_T}no" >&6
7451 fi
7452
7453
7454 enablestring=
7455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7456 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7457 no_cache=0
7458 # Check whether --enable-listctrl or --disable-listctrl was given.
7459 if test "${enable_listctrl+set}" = set; then
7460 enableval="$enable_listctrl"
7461
7462 if test "$enableval" = yes; then
7463 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7464 else
7465 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7466 fi
7467
7468 else
7469
7470 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7471 if test "x$LINE" != x ; then
7472 eval "DEFAULT_$LINE"
7473 else
7474 no_cache=1
7475 fi
7476
7477 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7478
7479 fi;
7480
7481 eval "$ac_cv_use_listctrl"
7482 if test "$no_cache" != 1; then
7483 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7484 fi
7485
7486 if test "$wxUSE_LISTCTRL" = yes; then
7487 echo "$as_me:$LINENO: result: yes" >&5
7488 echo "${ECHO_T}yes" >&6
7489 else
7490 echo "$as_me:$LINENO: result: no" >&5
7491 echo "${ECHO_T}no" >&6
7492 fi
7493
7494
7495 enablestring=
7496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7497 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7498 no_cache=0
7499 # Check whether --enable-notebook or --disable-notebook was given.
7500 if test "${enable_notebook+set}" = set; then
7501 enableval="$enable_notebook"
7502
7503 if test "$enableval" = yes; then
7504 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7505 else
7506 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7507 fi
7508
7509 else
7510
7511 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7512 if test "x$LINE" != x ; then
7513 eval "DEFAULT_$LINE"
7514 else
7515 no_cache=1
7516 fi
7517
7518 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7519
7520 fi;
7521
7522 eval "$ac_cv_use_notebook"
7523 if test "$no_cache" != 1; then
7524 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7525 fi
7526
7527 if test "$wxUSE_NOTEBOOK" = yes; then
7528 echo "$as_me:$LINENO: result: yes" >&5
7529 echo "${ECHO_T}yes" >&6
7530 else
7531 echo "$as_me:$LINENO: result: no" >&5
7532 echo "${ECHO_T}no" >&6
7533 fi
7534
7535
7536 enablestring=
7537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7538 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7539 no_cache=0
7540 # Check whether --enable-radiobox or --disable-radiobox was given.
7541 if test "${enable_radiobox+set}" = set; then
7542 enableval="$enable_radiobox"
7543
7544 if test "$enableval" = yes; then
7545 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7546 else
7547 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7548 fi
7549
7550 else
7551
7552 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7553 if test "x$LINE" != x ; then
7554 eval "DEFAULT_$LINE"
7555 else
7556 no_cache=1
7557 fi
7558
7559 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7560
7561 fi;
7562
7563 eval "$ac_cv_use_radiobox"
7564 if test "$no_cache" != 1; then
7565 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7566 fi
7567
7568 if test "$wxUSE_RADIOBOX" = yes; then
7569 echo "$as_me:$LINENO: result: yes" >&5
7570 echo "${ECHO_T}yes" >&6
7571 else
7572 echo "$as_me:$LINENO: result: no" >&5
7573 echo "${ECHO_T}no" >&6
7574 fi
7575
7576
7577 enablestring=
7578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7579 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7580 no_cache=0
7581 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7582 if test "${enable_radiobtn+set}" = set; then
7583 enableval="$enable_radiobtn"
7584
7585 if test "$enableval" = yes; then
7586 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7587 else
7588 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7589 fi
7590
7591 else
7592
7593 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7594 if test "x$LINE" != x ; then
7595 eval "DEFAULT_$LINE"
7596 else
7597 no_cache=1
7598 fi
7599
7600 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7601
7602 fi;
7603
7604 eval "$ac_cv_use_radiobtn"
7605 if test "$no_cache" != 1; then
7606 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7607 fi
7608
7609 if test "$wxUSE_RADIOBTN" = yes; then
7610 echo "$as_me:$LINENO: result: yes" >&5
7611 echo "${ECHO_T}yes" >&6
7612 else
7613 echo "$as_me:$LINENO: result: no" >&5
7614 echo "${ECHO_T}no" >&6
7615 fi
7616
7617
7618 enablestring=
7619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7620 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7621 no_cache=0
7622 # Check whether --enable-sash or --disable-sash was given.
7623 if test "${enable_sash+set}" = set; then
7624 enableval="$enable_sash"
7625
7626 if test "$enableval" = yes; then
7627 ac_cv_use_sash='wxUSE_SASH=yes'
7628 else
7629 ac_cv_use_sash='wxUSE_SASH=no'
7630 fi
7631
7632 else
7633
7634 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7635 if test "x$LINE" != x ; then
7636 eval "DEFAULT_$LINE"
7637 else
7638 no_cache=1
7639 fi
7640
7641 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7642
7643 fi;
7644
7645 eval "$ac_cv_use_sash"
7646 if test "$no_cache" != 1; then
7647 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7648 fi
7649
7650 if test "$wxUSE_SASH" = yes; then
7651 echo "$as_me:$LINENO: result: yes" >&5
7652 echo "${ECHO_T}yes" >&6
7653 else
7654 echo "$as_me:$LINENO: result: no" >&5
7655 echo "${ECHO_T}no" >&6
7656 fi
7657
7658
7659 enablestring=
7660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7661 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7662 no_cache=0
7663 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7664 if test "${enable_scrollbar+set}" = set; then
7665 enableval="$enable_scrollbar"
7666
7667 if test "$enableval" = yes; then
7668 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7669 else
7670 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7671 fi
7672
7673 else
7674
7675 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7676 if test "x$LINE" != x ; then
7677 eval "DEFAULT_$LINE"
7678 else
7679 no_cache=1
7680 fi
7681
7682 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7683
7684 fi;
7685
7686 eval "$ac_cv_use_scrollbar"
7687 if test "$no_cache" != 1; then
7688 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7689 fi
7690
7691 if test "$wxUSE_SCROLLBAR" = yes; then
7692 echo "$as_me:$LINENO: result: yes" >&5
7693 echo "${ECHO_T}yes" >&6
7694 else
7695 echo "$as_me:$LINENO: result: no" >&5
7696 echo "${ECHO_T}no" >&6
7697 fi
7698
7699
7700 enablestring=
7701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7702 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7703 no_cache=0
7704 # Check whether --enable-slider or --disable-slider was given.
7705 if test "${enable_slider+set}" = set; then
7706 enableval="$enable_slider"
7707
7708 if test "$enableval" = yes; then
7709 ac_cv_use_slider='wxUSE_SLIDER=yes'
7710 else
7711 ac_cv_use_slider='wxUSE_SLIDER=no'
7712 fi
7713
7714 else
7715
7716 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7717 if test "x$LINE" != x ; then
7718 eval "DEFAULT_$LINE"
7719 else
7720 no_cache=1
7721 fi
7722
7723 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7724
7725 fi;
7726
7727 eval "$ac_cv_use_slider"
7728 if test "$no_cache" != 1; then
7729 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7730 fi
7731
7732 if test "$wxUSE_SLIDER" = yes; then
7733 echo "$as_me:$LINENO: result: yes" >&5
7734 echo "${ECHO_T}yes" >&6
7735 else
7736 echo "$as_me:$LINENO: result: no" >&5
7737 echo "${ECHO_T}no" >&6
7738 fi
7739
7740
7741 enablestring=
7742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7743 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7744 no_cache=0
7745 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7746 if test "${enable_spinbtn+set}" = set; then
7747 enableval="$enable_spinbtn"
7748
7749 if test "$enableval" = yes; then
7750 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7751 else
7752 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7753 fi
7754
7755 else
7756
7757 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7758 if test "x$LINE" != x ; then
7759 eval "DEFAULT_$LINE"
7760 else
7761 no_cache=1
7762 fi
7763
7764 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7765
7766 fi;
7767
7768 eval "$ac_cv_use_spinbtn"
7769 if test "$no_cache" != 1; then
7770 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7771 fi
7772
7773 if test "$wxUSE_SPINBTN" = yes; then
7774 echo "$as_me:$LINENO: result: yes" >&5
7775 echo "${ECHO_T}yes" >&6
7776 else
7777 echo "$as_me:$LINENO: result: no" >&5
7778 echo "${ECHO_T}no" >&6
7779 fi
7780
7781
7782 enablestring=
7783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7784 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7785 no_cache=0
7786 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7787 if test "${enable_spinctrl+set}" = set; then
7788 enableval="$enable_spinctrl"
7789
7790 if test "$enableval" = yes; then
7791 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7792 else
7793 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7794 fi
7795
7796 else
7797
7798 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7799 if test "x$LINE" != x ; then
7800 eval "DEFAULT_$LINE"
7801 else
7802 no_cache=1
7803 fi
7804
7805 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7806
7807 fi;
7808
7809 eval "$ac_cv_use_spinctrl"
7810 if test "$no_cache" != 1; then
7811 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7812 fi
7813
7814 if test "$wxUSE_SPINCTRL" = yes; then
7815 echo "$as_me:$LINENO: result: yes" >&5
7816 echo "${ECHO_T}yes" >&6
7817 else
7818 echo "$as_me:$LINENO: result: no" >&5
7819 echo "${ECHO_T}no" >&6
7820 fi
7821
7822
7823 enablestring=
7824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7825 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7826 no_cache=0
7827 # Check whether --enable-splitter or --disable-splitter was given.
7828 if test "${enable_splitter+set}" = set; then
7829 enableval="$enable_splitter"
7830
7831 if test "$enableval" = yes; then
7832 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7833 else
7834 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7835 fi
7836
7837 else
7838
7839 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7840 if test "x$LINE" != x ; then
7841 eval "DEFAULT_$LINE"
7842 else
7843 no_cache=1
7844 fi
7845
7846 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7847
7848 fi;
7849
7850 eval "$ac_cv_use_splitter"
7851 if test "$no_cache" != 1; then
7852 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7853 fi
7854
7855 if test "$wxUSE_SPLITTER" = yes; then
7856 echo "$as_me:$LINENO: result: yes" >&5
7857 echo "${ECHO_T}yes" >&6
7858 else
7859 echo "$as_me:$LINENO: result: no" >&5
7860 echo "${ECHO_T}no" >&6
7861 fi
7862
7863
7864 enablestring=
7865 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7866 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7867 no_cache=0
7868 # Check whether --enable-statbmp or --disable-statbmp was given.
7869 if test "${enable_statbmp+set}" = set; then
7870 enableval="$enable_statbmp"
7871
7872 if test "$enableval" = yes; then
7873 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7874 else
7875 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7876 fi
7877
7878 else
7879
7880 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7881 if test "x$LINE" != x ; then
7882 eval "DEFAULT_$LINE"
7883 else
7884 no_cache=1
7885 fi
7886
7887 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7888
7889 fi;
7890
7891 eval "$ac_cv_use_statbmp"
7892 if test "$no_cache" != 1; then
7893 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7894 fi
7895
7896 if test "$wxUSE_STATBMP" = yes; then
7897 echo "$as_me:$LINENO: result: yes" >&5
7898 echo "${ECHO_T}yes" >&6
7899 else
7900 echo "$as_me:$LINENO: result: no" >&5
7901 echo "${ECHO_T}no" >&6
7902 fi
7903
7904
7905 enablestring=
7906 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7907 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7908 no_cache=0
7909 # Check whether --enable-statbox or --disable-statbox was given.
7910 if test "${enable_statbox+set}" = set; then
7911 enableval="$enable_statbox"
7912
7913 if test "$enableval" = yes; then
7914 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7915 else
7916 ac_cv_use_statbox='wxUSE_STATBOX=no'
7917 fi
7918
7919 else
7920
7921 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7922 if test "x$LINE" != x ; then
7923 eval "DEFAULT_$LINE"
7924 else
7925 no_cache=1
7926 fi
7927
7928 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7929
7930 fi;
7931
7932 eval "$ac_cv_use_statbox"
7933 if test "$no_cache" != 1; then
7934 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7935 fi
7936
7937 if test "$wxUSE_STATBOX" = yes; then
7938 echo "$as_me:$LINENO: result: yes" >&5
7939 echo "${ECHO_T}yes" >&6
7940 else
7941 echo "$as_me:$LINENO: result: no" >&5
7942 echo "${ECHO_T}no" >&6
7943 fi
7944
7945
7946 enablestring=
7947 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7948 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7949 no_cache=0
7950 # Check whether --enable-statline or --disable-statline was given.
7951 if test "${enable_statline+set}" = set; then
7952 enableval="$enable_statline"
7953
7954 if test "$enableval" = yes; then
7955 ac_cv_use_statline='wxUSE_STATLINE=yes'
7956 else
7957 ac_cv_use_statline='wxUSE_STATLINE=no'
7958 fi
7959
7960 else
7961
7962 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7963 if test "x$LINE" != x ; then
7964 eval "DEFAULT_$LINE"
7965 else
7966 no_cache=1
7967 fi
7968
7969 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7970
7971 fi;
7972
7973 eval "$ac_cv_use_statline"
7974 if test "$no_cache" != 1; then
7975 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7976 fi
7977
7978 if test "$wxUSE_STATLINE" = yes; then
7979 echo "$as_me:$LINENO: result: yes" >&5
7980 echo "${ECHO_T}yes" >&6
7981 else
7982 echo "$as_me:$LINENO: result: no" >&5
7983 echo "${ECHO_T}no" >&6
7984 fi
7985
7986
7987 enablestring=
7988 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7989 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7990 no_cache=0
7991 # Check whether --enable-stattext or --disable-stattext was given.
7992 if test "${enable_stattext+set}" = set; then
7993 enableval="$enable_stattext"
7994
7995 if test "$enableval" = yes; then
7996 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7997 else
7998 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7999 fi
8000
8001 else
8002
8003 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8004 if test "x$LINE" != x ; then
8005 eval "DEFAULT_$LINE"
8006 else
8007 no_cache=1
8008 fi
8009
8010 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8011
8012 fi;
8013
8014 eval "$ac_cv_use_stattext"
8015 if test "$no_cache" != 1; then
8016 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8017 fi
8018
8019 if test "$wxUSE_STATTEXT" = yes; then
8020 echo "$as_me:$LINENO: result: yes" >&5
8021 echo "${ECHO_T}yes" >&6
8022 else
8023 echo "$as_me:$LINENO: result: no" >&5
8024 echo "${ECHO_T}no" >&6
8025 fi
8026
8027
8028 enablestring=
8029 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8030 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8031 no_cache=0
8032 # Check whether --enable-statusbar or --disable-statusbar was given.
8033 if test "${enable_statusbar+set}" = set; then
8034 enableval="$enable_statusbar"
8035
8036 if test "$enableval" = yes; then
8037 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8038 else
8039 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8040 fi
8041
8042 else
8043
8044 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8045 if test "x$LINE" != x ; then
8046 eval "DEFAULT_$LINE"
8047 else
8048 no_cache=1
8049 fi
8050
8051 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8052
8053 fi;
8054
8055 eval "$ac_cv_use_statusbar"
8056 if test "$no_cache" != 1; then
8057 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8058 fi
8059
8060 if test "$wxUSE_STATUSBAR" = yes; then
8061 echo "$as_me:$LINENO: result: yes" >&5
8062 echo "${ECHO_T}yes" >&6
8063 else
8064 echo "$as_me:$LINENO: result: no" >&5
8065 echo "${ECHO_T}no" >&6
8066 fi
8067
8068
8069 enablestring=
8070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8071 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8072 no_cache=0
8073 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8074 if test "${enable_tabdialog+set}" = set; then
8075 enableval="$enable_tabdialog"
8076
8077 if test "$enableval" = yes; then
8078 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8079 else
8080 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8081 fi
8082
8083 else
8084
8085 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8086 if test "x$LINE" != x ; then
8087 eval "DEFAULT_$LINE"
8088 else
8089 no_cache=1
8090 fi
8091
8092 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8093
8094 fi;
8095
8096 eval "$ac_cv_use_tabdialog"
8097 if test "$no_cache" != 1; then
8098 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8099 fi
8100
8101 if test "$wxUSE_TABDIALOG" = yes; then
8102 echo "$as_me:$LINENO: result: yes" >&5
8103 echo "${ECHO_T}yes" >&6
8104 else
8105 echo "$as_me:$LINENO: result: no" >&5
8106 echo "${ECHO_T}no" >&6
8107 fi
8108
8109
8110 enablestring=
8111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8112 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8113 no_cache=0
8114 # Check whether --enable-textctrl or --disable-textctrl was given.
8115 if test "${enable_textctrl+set}" = set; then
8116 enableval="$enable_textctrl"
8117
8118 if test "$enableval" = yes; then
8119 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8120 else
8121 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8122 fi
8123
8124 else
8125
8126 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8127 if test "x$LINE" != x ; then
8128 eval "DEFAULT_$LINE"
8129 else
8130 no_cache=1
8131 fi
8132
8133 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8134
8135 fi;
8136
8137 eval "$ac_cv_use_textctrl"
8138 if test "$no_cache" != 1; then
8139 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8140 fi
8141
8142 if test "$wxUSE_TEXTCTRL" = yes; then
8143 echo "$as_me:$LINENO: result: yes" >&5
8144 echo "${ECHO_T}yes" >&6
8145 else
8146 echo "$as_me:$LINENO: result: no" >&5
8147 echo "${ECHO_T}no" >&6
8148 fi
8149
8150
8151 enablestring=
8152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8153 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8154 no_cache=0
8155 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8156 if test "${enable_togglebtn+set}" = set; then
8157 enableval="$enable_togglebtn"
8158
8159 if test "$enableval" = yes; then
8160 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8161 else
8162 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8163 fi
8164
8165 else
8166
8167 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8168 if test "x$LINE" != x ; then
8169 eval "DEFAULT_$LINE"
8170 else
8171 no_cache=1
8172 fi
8173
8174 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8175
8176 fi;
8177
8178 eval "$ac_cv_use_togglebtn"
8179 if test "$no_cache" != 1; then
8180 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8181 fi
8182
8183 if test "$wxUSE_TOGGLEBTN" = yes; then
8184 echo "$as_me:$LINENO: result: yes" >&5
8185 echo "${ECHO_T}yes" >&6
8186 else
8187 echo "$as_me:$LINENO: result: no" >&5
8188 echo "${ECHO_T}no" >&6
8189 fi
8190
8191
8192 enablestring=
8193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8194 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8195 no_cache=0
8196 # Check whether --enable-toolbar or --disable-toolbar was given.
8197 if test "${enable_toolbar+set}" = set; then
8198 enableval="$enable_toolbar"
8199
8200 if test "$enableval" = yes; then
8201 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8202 else
8203 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8204 fi
8205
8206 else
8207
8208 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8209 if test "x$LINE" != x ; then
8210 eval "DEFAULT_$LINE"
8211 else
8212 no_cache=1
8213 fi
8214
8215 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8216
8217 fi;
8218
8219 eval "$ac_cv_use_toolbar"
8220 if test "$no_cache" != 1; then
8221 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8222 fi
8223
8224 if test "$wxUSE_TOOLBAR" = yes; then
8225 echo "$as_me:$LINENO: result: yes" >&5
8226 echo "${ECHO_T}yes" >&6
8227 else
8228 echo "$as_me:$LINENO: result: no" >&5
8229 echo "${ECHO_T}no" >&6
8230 fi
8231
8232
8233 enablestring=
8234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8235 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8236 no_cache=0
8237 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8238 if test "${enable_tbarnative+set}" = set; then
8239 enableval="$enable_tbarnative"
8240
8241 if test "$enableval" = yes; then
8242 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8243 else
8244 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8245 fi
8246
8247 else
8248
8249 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8250 if test "x$LINE" != x ; then
8251 eval "DEFAULT_$LINE"
8252 else
8253 no_cache=1
8254 fi
8255
8256 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8257
8258 fi;
8259
8260 eval "$ac_cv_use_tbarnative"
8261 if test "$no_cache" != 1; then
8262 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8263 fi
8264
8265 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8266 echo "$as_me:$LINENO: result: yes" >&5
8267 echo "${ECHO_T}yes" >&6
8268 else
8269 echo "$as_me:$LINENO: result: no" >&5
8270 echo "${ECHO_T}no" >&6
8271 fi
8272
8273
8274 enablestring=
8275 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8276 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8277 no_cache=0
8278 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8279 if test "${enable_tbarsmpl+set}" = set; then
8280 enableval="$enable_tbarsmpl"
8281
8282 if test "$enableval" = yes; then
8283 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8284 else
8285 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8286 fi
8287
8288 else
8289
8290 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8291 if test "x$LINE" != x ; then
8292 eval "DEFAULT_$LINE"
8293 else
8294 no_cache=1
8295 fi
8296
8297 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8298
8299 fi;
8300
8301 eval "$ac_cv_use_tbarsmpl"
8302 if test "$no_cache" != 1; then
8303 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8304 fi
8305
8306 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8307 echo "$as_me:$LINENO: result: yes" >&5
8308 echo "${ECHO_T}yes" >&6
8309 else
8310 echo "$as_me:$LINENO: result: no" >&5
8311 echo "${ECHO_T}no" >&6
8312 fi
8313
8314
8315 enablestring=
8316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8317 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8318 no_cache=0
8319 # Check whether --enable-treectrl or --disable-treectrl was given.
8320 if test "${enable_treectrl+set}" = set; then
8321 enableval="$enable_treectrl"
8322
8323 if test "$enableval" = yes; then
8324 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8325 else
8326 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8327 fi
8328
8329 else
8330
8331 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8332 if test "x$LINE" != x ; then
8333 eval "DEFAULT_$LINE"
8334 else
8335 no_cache=1
8336 fi
8337
8338 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8339
8340 fi;
8341
8342 eval "$ac_cv_use_treectrl"
8343 if test "$no_cache" != 1; then
8344 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8345 fi
8346
8347 if test "$wxUSE_TREECTRL" = yes; then
8348 echo "$as_me:$LINENO: result: yes" >&5
8349 echo "${ECHO_T}yes" >&6
8350 else
8351 echo "$as_me:$LINENO: result: no" >&5
8352 echo "${ECHO_T}no" >&6
8353 fi
8354
8355
8356 enablestring=
8357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8358 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8359 no_cache=0
8360 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8361 if test "${enable_tipwindow+set}" = set; then
8362 enableval="$enable_tipwindow"
8363
8364 if test "$enableval" = yes; then
8365 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8366 else
8367 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8368 fi
8369
8370 else
8371
8372 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8373 if test "x$LINE" != x ; then
8374 eval "DEFAULT_$LINE"
8375 else
8376 no_cache=1
8377 fi
8378
8379 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8380
8381 fi;
8382
8383 eval "$ac_cv_use_tipwindow"
8384 if test "$no_cache" != 1; then
8385 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8386 fi
8387
8388 if test "$wxUSE_TIPWINDOW" = yes; then
8389 echo "$as_me:$LINENO: result: yes" >&5
8390 echo "${ECHO_T}yes" >&6
8391 else
8392 echo "$as_me:$LINENO: result: no" >&5
8393 echo "${ECHO_T}no" >&6
8394 fi
8395
8396
8397 enablestring=
8398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8399 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8400 no_cache=0
8401 # Check whether --enable-popupwin or --disable-popupwin was given.
8402 if test "${enable_popupwin+set}" = set; then
8403 enableval="$enable_popupwin"
8404
8405 if test "$enableval" = yes; then
8406 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8407 else
8408 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8409 fi
8410
8411 else
8412
8413 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8414 if test "x$LINE" != x ; then
8415 eval "DEFAULT_$LINE"
8416 else
8417 no_cache=1
8418 fi
8419
8420 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8421
8422 fi;
8423
8424 eval "$ac_cv_use_popupwin"
8425 if test "$no_cache" != 1; then
8426 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8427 fi
8428
8429 if test "$wxUSE_POPUPWIN" = yes; then
8430 echo "$as_me:$LINENO: result: yes" >&5
8431 echo "${ECHO_T}yes" >&6
8432 else
8433 echo "$as_me:$LINENO: result: no" >&5
8434 echo "${ECHO_T}no" >&6
8435 fi
8436
8437
8438
8439
8440 enablestring=
8441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8442 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8443 no_cache=0
8444 # Check whether --enable-commondlg or --disable-commondlg was given.
8445 if test "${enable_commondlg+set}" = set; then
8446 enableval="$enable_commondlg"
8447
8448 if test "$enableval" = yes; then
8449 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8450 else
8451 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8452 fi
8453
8454 else
8455
8456 LINE=`grep "wxUSE_COMMONDLGS" ${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_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8464
8465 fi;
8466
8467 eval "$ac_cv_use_commondlg"
8468 if test "$no_cache" != 1; then
8469 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8470 fi
8471
8472 if test "$wxUSE_COMMONDLGS" = 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}-choicedlg" >&5
8483 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8484 no_cache=0
8485 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8486 if test "${enable_choicedlg+set}" = set; then
8487 enableval="$enable_choicedlg"
8488
8489 if test "$enableval" = yes; then
8490 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8491 else
8492 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8493 fi
8494
8495 else
8496
8497 LINE=`grep "wxUSE_CHOICEDLG" ${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_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8505
8506 fi;
8507
8508 eval "$ac_cv_use_choicedlg"
8509 if test "$no_cache" != 1; then
8510 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8511 fi
8512
8513 if test "$wxUSE_CHOICEDLG" = 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 enablestring=
8523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8524 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8525 no_cache=0
8526 # Check whether --enable-coldlg or --disable-coldlg was given.
8527 if test "${enable_coldlg+set}" = set; then
8528 enableval="$enable_coldlg"
8529
8530 if test "$enableval" = yes; then
8531 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8532 else
8533 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8534 fi
8535
8536 else
8537
8538 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8539 if test "x$LINE" != x ; then
8540 eval "DEFAULT_$LINE"
8541 else
8542 no_cache=1
8543 fi
8544
8545 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8546
8547 fi;
8548
8549 eval "$ac_cv_use_coldlg"
8550 if test "$no_cache" != 1; then
8551 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8552 fi
8553
8554 if test "$wxUSE_COLOURDLG" = yes; then
8555 echo "$as_me:$LINENO: result: yes" >&5
8556 echo "${ECHO_T}yes" >&6
8557 else
8558 echo "$as_me:$LINENO: result: no" >&5
8559 echo "${ECHO_T}no" >&6
8560 fi
8561
8562
8563 enablestring=
8564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8565 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8566 no_cache=0
8567 # Check whether --enable-filedlg or --disable-filedlg was given.
8568 if test "${enable_filedlg+set}" = set; then
8569 enableval="$enable_filedlg"
8570
8571 if test "$enableval" = yes; then
8572 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8573 else
8574 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8575 fi
8576
8577 else
8578
8579 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8580 if test "x$LINE" != x ; then
8581 eval "DEFAULT_$LINE"
8582 else
8583 no_cache=1
8584 fi
8585
8586 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8587
8588 fi;
8589
8590 eval "$ac_cv_use_filedlg"
8591 if test "$no_cache" != 1; then
8592 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8593 fi
8594
8595 if test "$wxUSE_FILEDLG" = yes; then
8596 echo "$as_me:$LINENO: result: yes" >&5
8597 echo "${ECHO_T}yes" >&6
8598 else
8599 echo "$as_me:$LINENO: result: no" >&5
8600 echo "${ECHO_T}no" >&6
8601 fi
8602
8603
8604 enablestring=
8605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8606 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8607 no_cache=0
8608 # Check whether --enable-finddlg or --disable-finddlg was given.
8609 if test "${enable_finddlg+set}" = set; then
8610 enableval="$enable_finddlg"
8611
8612 if test "$enableval" = yes; then
8613 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8614 else
8615 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8616 fi
8617
8618 else
8619
8620 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8621 if test "x$LINE" != x ; then
8622 eval "DEFAULT_$LINE"
8623 else
8624 no_cache=1
8625 fi
8626
8627 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8628
8629 fi;
8630
8631 eval "$ac_cv_use_finddlg"
8632 if test "$no_cache" != 1; then
8633 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8634 fi
8635
8636 if test "$wxUSE_FINDREPLDLG" = yes; then
8637 echo "$as_me:$LINENO: result: yes" >&5
8638 echo "${ECHO_T}yes" >&6
8639 else
8640 echo "$as_me:$LINENO: result: no" >&5
8641 echo "${ECHO_T}no" >&6
8642 fi
8643
8644
8645 enablestring=
8646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8647 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8648 no_cache=0
8649 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8650 if test "${enable_fontdlg+set}" = set; then
8651 enableval="$enable_fontdlg"
8652
8653 if test "$enableval" = yes; then
8654 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8655 else
8656 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8657 fi
8658
8659 else
8660
8661 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8662 if test "x$LINE" != x ; then
8663 eval "DEFAULT_$LINE"
8664 else
8665 no_cache=1
8666 fi
8667
8668 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8669
8670 fi;
8671
8672 eval "$ac_cv_use_fontdlg"
8673 if test "$no_cache" != 1; then
8674 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8675 fi
8676
8677 if test "$wxUSE_FONTDLG" = yes; then
8678 echo "$as_me:$LINENO: result: yes" >&5
8679 echo "${ECHO_T}yes" >&6
8680 else
8681 echo "$as_me:$LINENO: result: no" >&5
8682 echo "${ECHO_T}no" >&6
8683 fi
8684
8685
8686 enablestring=
8687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8688 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8689 no_cache=0
8690 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8691 if test "${enable_dirdlg+set}" = set; then
8692 enableval="$enable_dirdlg"
8693
8694 if test "$enableval" = yes; then
8695 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8696 else
8697 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8698 fi
8699
8700 else
8701
8702 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8703 if test "x$LINE" != x ; then
8704 eval "DEFAULT_$LINE"
8705 else
8706 no_cache=1
8707 fi
8708
8709 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8710
8711 fi;
8712
8713 eval "$ac_cv_use_dirdlg"
8714 if test "$no_cache" != 1; then
8715 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8716 fi
8717
8718 if test "$wxUSE_DIRDLG" = yes; then
8719 echo "$as_me:$LINENO: result: yes" >&5
8720 echo "${ECHO_T}yes" >&6
8721 else
8722 echo "$as_me:$LINENO: result: no" >&5
8723 echo "${ECHO_T}no" >&6
8724 fi
8725
8726
8727 enablestring=
8728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8729 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8730 no_cache=0
8731 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8732 if test "${enable_msgdlg+set}" = set; then
8733 enableval="$enable_msgdlg"
8734
8735 if test "$enableval" = yes; then
8736 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8737 else
8738 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8739 fi
8740
8741 else
8742
8743 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8744 if test "x$LINE" != x ; then
8745 eval "DEFAULT_$LINE"
8746 else
8747 no_cache=1
8748 fi
8749
8750 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8751
8752 fi;
8753
8754 eval "$ac_cv_use_msgdlg"
8755 if test "$no_cache" != 1; then
8756 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8757 fi
8758
8759 if test "$wxUSE_MSGDLG" = yes; then
8760 echo "$as_me:$LINENO: result: yes" >&5
8761 echo "${ECHO_T}yes" >&6
8762 else
8763 echo "$as_me:$LINENO: result: no" >&5
8764 echo "${ECHO_T}no" >&6
8765 fi
8766
8767
8768 enablestring=
8769 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8770 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8771 no_cache=0
8772 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8773 if test "${enable_numberdlg+set}" = set; then
8774 enableval="$enable_numberdlg"
8775
8776 if test "$enableval" = yes; then
8777 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8778 else
8779 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8780 fi
8781
8782 else
8783
8784 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8785 if test "x$LINE" != x ; then
8786 eval "DEFAULT_$LINE"
8787 else
8788 no_cache=1
8789 fi
8790
8791 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8792
8793 fi;
8794
8795 eval "$ac_cv_use_numberdlg"
8796 if test "$no_cache" != 1; then
8797 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8798 fi
8799
8800 if test "$wxUSE_NUMBERDLG" = yes; then
8801 echo "$as_me:$LINENO: result: yes" >&5
8802 echo "${ECHO_T}yes" >&6
8803 else
8804 echo "$as_me:$LINENO: result: no" >&5
8805 echo "${ECHO_T}no" >&6
8806 fi
8807
8808
8809 enablestring=
8810 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8811 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8812 no_cache=0
8813 # Check whether --enable-splash or --disable-splash was given.
8814 if test "${enable_splash+set}" = set; then
8815 enableval="$enable_splash"
8816
8817 if test "$enableval" = yes; then
8818 ac_cv_use_splash='wxUSE_SPLASH=yes'
8819 else
8820 ac_cv_use_splash='wxUSE_SPLASH=no'
8821 fi
8822
8823 else
8824
8825 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8826 if test "x$LINE" != x ; then
8827 eval "DEFAULT_$LINE"
8828 else
8829 no_cache=1
8830 fi
8831
8832 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8833
8834 fi;
8835
8836 eval "$ac_cv_use_splash"
8837 if test "$no_cache" != 1; then
8838 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8839 fi
8840
8841 if test "$wxUSE_SPLASH" = yes; then
8842 echo "$as_me:$LINENO: result: yes" >&5
8843 echo "${ECHO_T}yes" >&6
8844 else
8845 echo "$as_me:$LINENO: result: no" >&5
8846 echo "${ECHO_T}no" >&6
8847 fi
8848
8849
8850 enablestring=
8851 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8852 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8853 no_cache=0
8854 # Check whether --enable-textdlg or --disable-textdlg was given.
8855 if test "${enable_textdlg+set}" = set; then
8856 enableval="$enable_textdlg"
8857
8858 if test "$enableval" = yes; then
8859 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8860 else
8861 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8862 fi
8863
8864 else
8865
8866 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8867 if test "x$LINE" != x ; then
8868 eval "DEFAULT_$LINE"
8869 else
8870 no_cache=1
8871 fi
8872
8873 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8874
8875 fi;
8876
8877 eval "$ac_cv_use_textdlg"
8878 if test "$no_cache" != 1; then
8879 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8880 fi
8881
8882 if test "$wxUSE_TEXTDLG" = yes; then
8883 echo "$as_me:$LINENO: result: yes" >&5
8884 echo "${ECHO_T}yes" >&6
8885 else
8886 echo "$as_me:$LINENO: result: no" >&5
8887 echo "${ECHO_T}no" >&6
8888 fi
8889
8890
8891 enablestring=
8892 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8893 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8894 no_cache=0
8895 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8896 if test "${enable_tipdlg+set}" = set; then
8897 enableval="$enable_tipdlg"
8898
8899 if test "$enableval" = yes; then
8900 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8901 else
8902 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8903 fi
8904
8905 else
8906
8907 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8908 if test "x$LINE" != x ; then
8909 eval "DEFAULT_$LINE"
8910 else
8911 no_cache=1
8912 fi
8913
8914 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8915
8916 fi;
8917
8918 eval "$ac_cv_use_tipdlg"
8919 if test "$no_cache" != 1; then
8920 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8921 fi
8922
8923 if test "$wxUSE_STARTUP_TIPS" = yes; then
8924 echo "$as_me:$LINENO: result: yes" >&5
8925 echo "${ECHO_T}yes" >&6
8926 else
8927 echo "$as_me:$LINENO: result: no" >&5
8928 echo "${ECHO_T}no" >&6
8929 fi
8930
8931
8932 enablestring=
8933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8934 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8935 no_cache=0
8936 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8937 if test "${enable_progressdlg+set}" = set; then
8938 enableval="$enable_progressdlg"
8939
8940 if test "$enableval" = yes; then
8941 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8942 else
8943 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8944 fi
8945
8946 else
8947
8948 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8949 if test "x$LINE" != x ; then
8950 eval "DEFAULT_$LINE"
8951 else
8952 no_cache=1
8953 fi
8954
8955 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8956
8957 fi;
8958
8959 eval "$ac_cv_use_progressdlg"
8960 if test "$no_cache" != 1; then
8961 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8962 fi
8963
8964 if test "$wxUSE_PROGRESSDLG" = yes; then
8965 echo "$as_me:$LINENO: result: yes" >&5
8966 echo "${ECHO_T}yes" >&6
8967 else
8968 echo "$as_me:$LINENO: result: no" >&5
8969 echo "${ECHO_T}no" >&6
8970 fi
8971
8972
8973 enablestring=
8974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8975 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8976 no_cache=0
8977 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8978 if test "${enable_wizarddlg+set}" = set; then
8979 enableval="$enable_wizarddlg"
8980
8981 if test "$enableval" = yes; then
8982 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8983 else
8984 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8985 fi
8986
8987 else
8988
8989 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8990 if test "x$LINE" != x ; then
8991 eval "DEFAULT_$LINE"
8992 else
8993 no_cache=1
8994 fi
8995
8996 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8997
8998 fi;
8999
9000 eval "$ac_cv_use_wizarddlg"
9001 if test "$no_cache" != 1; then
9002 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9003 fi
9004
9005 if test "$wxUSE_WIZARDDLG" = yes; then
9006 echo "$as_me:$LINENO: result: yes" >&5
9007 echo "${ECHO_T}yes" >&6
9008 else
9009 echo "$as_me:$LINENO: result: no" >&5
9010 echo "${ECHO_T}no" >&6
9011 fi
9012
9013
9014
9015
9016 enablestring=
9017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9018 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9019 no_cache=0
9020 # Check whether --enable-menus or --disable-menus was given.
9021 if test "${enable_menus+set}" = set; then
9022 enableval="$enable_menus"
9023
9024 if test "$enableval" = yes; then
9025 ac_cv_use_menus='wxUSE_MENUS=yes'
9026 else
9027 ac_cv_use_menus='wxUSE_MENUS=no'
9028 fi
9029
9030 else
9031
9032 LINE=`grep "wxUSE_MENUS" ${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_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9040
9041 fi;
9042
9043 eval "$ac_cv_use_menus"
9044 if test "$no_cache" != 1; then
9045 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9046 fi
9047
9048 if test "$wxUSE_MENUS" = 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}-miniframe" >&5
9059 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9060 no_cache=0
9061 # Check whether --enable-miniframe or --disable-miniframe was given.
9062 if test "${enable_miniframe+set}" = set; then
9063 enableval="$enable_miniframe"
9064
9065 if test "$enableval" = yes; then
9066 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9067 else
9068 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9069 fi
9070
9071 else
9072
9073 LINE=`grep "wxUSE_MINIFRAME" ${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_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9081
9082 fi;
9083
9084 eval "$ac_cv_use_miniframe"
9085 if test "$no_cache" != 1; then
9086 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9087 fi
9088
9089 if test "$wxUSE_MINIFRAME" = 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 enablestring=
9099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9100 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9101 no_cache=0
9102 # Check whether --enable-tooltips or --disable-tooltips was given.
9103 if test "${enable_tooltips+set}" = set; then
9104 enableval="$enable_tooltips"
9105
9106 if test "$enableval" = yes; then
9107 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9108 else
9109 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9110 fi
9111
9112 else
9113
9114 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9115 if test "x$LINE" != x ; then
9116 eval "DEFAULT_$LINE"
9117 else
9118 no_cache=1
9119 fi
9120
9121 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9122
9123 fi;
9124
9125 eval "$ac_cv_use_tooltips"
9126 if test "$no_cache" != 1; then
9127 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9128 fi
9129
9130 if test "$wxUSE_TOOLTIPS" = yes; then
9131 echo "$as_me:$LINENO: result: yes" >&5
9132 echo "${ECHO_T}yes" >&6
9133 else
9134 echo "$as_me:$LINENO: result: no" >&5
9135 echo "${ECHO_T}no" >&6
9136 fi
9137
9138
9139 enablestring=
9140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9141 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9142 no_cache=0
9143 # Check whether --enable-splines or --disable-splines was given.
9144 if test "${enable_splines+set}" = set; then
9145 enableval="$enable_splines"
9146
9147 if test "$enableval" = yes; then
9148 ac_cv_use_splines='wxUSE_SPLINES=yes'
9149 else
9150 ac_cv_use_splines='wxUSE_SPLINES=no'
9151 fi
9152
9153 else
9154
9155 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9156 if test "x$LINE" != x ; then
9157 eval "DEFAULT_$LINE"
9158 else
9159 no_cache=1
9160 fi
9161
9162 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9163
9164 fi;
9165
9166 eval "$ac_cv_use_splines"
9167 if test "$no_cache" != 1; then
9168 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9169 fi
9170
9171 if test "$wxUSE_SPLINES" = yes; then
9172 echo "$as_me:$LINENO: result: yes" >&5
9173 echo "${ECHO_T}yes" >&6
9174 else
9175 echo "$as_me:$LINENO: result: no" >&5
9176 echo "${ECHO_T}no" >&6
9177 fi
9178
9179
9180 enablestring=
9181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9182 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9183 no_cache=0
9184 # Check whether --enable-validators or --disable-validators was given.
9185 if test "${enable_validators+set}" = set; then
9186 enableval="$enable_validators"
9187
9188 if test "$enableval" = yes; then
9189 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9190 else
9191 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9192 fi
9193
9194 else
9195
9196 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9197 if test "x$LINE" != x ; then
9198 eval "DEFAULT_$LINE"
9199 else
9200 no_cache=1
9201 fi
9202
9203 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9204
9205 fi;
9206
9207 eval "$ac_cv_use_validators"
9208 if test "$no_cache" != 1; then
9209 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9210 fi
9211
9212 if test "$wxUSE_VALIDATORS" = yes; then
9213 echo "$as_me:$LINENO: result: yes" >&5
9214 echo "${ECHO_T}yes" >&6
9215 else
9216 echo "$as_me:$LINENO: result: no" >&5
9217 echo "${ECHO_T}no" >&6
9218 fi
9219
9220
9221 enablestring=
9222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9223 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9224 no_cache=0
9225 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9226 if test "${enable_busyinfo+set}" = set; then
9227 enableval="$enable_busyinfo"
9228
9229 if test "$enableval" = yes; then
9230 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9231 else
9232 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9233 fi
9234
9235 else
9236
9237 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9238 if test "x$LINE" != x ; then
9239 eval "DEFAULT_$LINE"
9240 else
9241 no_cache=1
9242 fi
9243
9244 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9245
9246 fi;
9247
9248 eval "$ac_cv_use_busyinfo"
9249 if test "$no_cache" != 1; then
9250 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9251 fi
9252
9253 if test "$wxUSE_BUSYINFO" = yes; then
9254 echo "$as_me:$LINENO: result: yes" >&5
9255 echo "${ECHO_T}yes" >&6
9256 else
9257 echo "$as_me:$LINENO: result: no" >&5
9258 echo "${ECHO_T}no" >&6
9259 fi
9260
9261
9262 enablestring=
9263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9264 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9265 no_cache=0
9266 # Check whether --enable-joystick or --disable-joystick was given.
9267 if test "${enable_joystick+set}" = set; then
9268 enableval="$enable_joystick"
9269
9270 if test "$enableval" = yes; then
9271 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9272 else
9273 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9274 fi
9275
9276 else
9277
9278 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9279 if test "x$LINE" != x ; then
9280 eval "DEFAULT_$LINE"
9281 else
9282 no_cache=1
9283 fi
9284
9285 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9286
9287 fi;
9288
9289 eval "$ac_cv_use_joystick"
9290 if test "$no_cache" != 1; then
9291 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9292 fi
9293
9294 if test "$wxUSE_JOYSTICK" = yes; then
9295 echo "$as_me:$LINENO: result: yes" >&5
9296 echo "${ECHO_T}yes" >&6
9297 else
9298 echo "$as_me:$LINENO: result: no" >&5
9299 echo "${ECHO_T}no" >&6
9300 fi
9301
9302
9303 enablestring=
9304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9305 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9306 no_cache=0
9307 # Check whether --enable-metafile or --disable-metafile was given.
9308 if test "${enable_metafile+set}" = set; then
9309 enableval="$enable_metafile"
9310
9311 if test "$enableval" = yes; then
9312 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9313 else
9314 ac_cv_use_metafile='wxUSE_METAFILE=no'
9315 fi
9316
9317 else
9318
9319 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9320 if test "x$LINE" != x ; then
9321 eval "DEFAULT_$LINE"
9322 else
9323 no_cache=1
9324 fi
9325
9326 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9327
9328 fi;
9329
9330 eval "$ac_cv_use_metafile"
9331 if test "$no_cache" != 1; then
9332 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9333 fi
9334
9335 if test "$wxUSE_METAFILE" = yes; then
9336 echo "$as_me:$LINENO: result: yes" >&5
9337 echo "${ECHO_T}yes" >&6
9338 else
9339 echo "$as_me:$LINENO: result: no" >&5
9340 echo "${ECHO_T}no" >&6
9341 fi
9342
9343
9344 enablestring=
9345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9346 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9347 no_cache=0
9348 # Check whether --enable-dragimage or --disable-dragimage was given.
9349 if test "${enable_dragimage+set}" = set; then
9350 enableval="$enable_dragimage"
9351
9352 if test "$enableval" = yes; then
9353 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9354 else
9355 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9356 fi
9357
9358 else
9359
9360 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9361 if test "x$LINE" != x ; then
9362 eval "DEFAULT_$LINE"
9363 else
9364 no_cache=1
9365 fi
9366
9367 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9368
9369 fi;
9370
9371 eval "$ac_cv_use_dragimage"
9372 if test "$no_cache" != 1; then
9373 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9374 fi
9375
9376 if test "$wxUSE_DRAGIMAGE" = yes; then
9377 echo "$as_me:$LINENO: result: yes" >&5
9378 echo "${ECHO_T}yes" >&6
9379 else
9380 echo "$as_me:$LINENO: result: no" >&5
9381 echo "${ECHO_T}no" >&6
9382 fi
9383
9384
9385 enablestring=
9386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9387 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9388 no_cache=0
9389 # Check whether --enable-accessibility or --disable-accessibility was given.
9390 if test "${enable_accessibility+set}" = set; then
9391 enableval="$enable_accessibility"
9392
9393 if test "$enableval" = yes; then
9394 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9395 else
9396 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9397 fi
9398
9399 else
9400
9401 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9402 if test "x$LINE" != x ; then
9403 eval "DEFAULT_$LINE"
9404 else
9405 no_cache=1
9406 fi
9407
9408 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9409
9410 fi;
9411
9412 eval "$ac_cv_use_accessibility"
9413 if test "$no_cache" != 1; then
9414 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9415 fi
9416
9417 if test "$wxUSE_ACCESSIBILITY" = yes; then
9418 echo "$as_me:$LINENO: result: yes" >&5
9419 echo "${ECHO_T}yes" >&6
9420 else
9421 echo "$as_me:$LINENO: result: no" >&5
9422 echo "${ECHO_T}no" >&6
9423 fi
9424
9425
9426
9427
9428 enablestring=
9429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9430 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9431 no_cache=0
9432 # Check whether --enable-palette or --disable-palette was given.
9433 if test "${enable_palette+set}" = set; then
9434 enableval="$enable_palette"
9435
9436 if test "$enableval" = yes; then
9437 ac_cv_use_palette='wxUSE_PALETTE=yes'
9438 else
9439 ac_cv_use_palette='wxUSE_PALETTE=no'
9440 fi
9441
9442 else
9443
9444 LINE=`grep "wxUSE_PALETTE" ${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_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9452
9453 fi;
9454
9455 eval "$ac_cv_use_palette"
9456 if test "$no_cache" != 1; then
9457 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9458 fi
9459
9460 if test "$wxUSE_PALETTE" = 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}-image" >&5
9471 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9472 no_cache=0
9473 # Check whether --enable-image or --disable-image was given.
9474 if test "${enable_image+set}" = set; then
9475 enableval="$enable_image"
9476
9477 if test "$enableval" = yes; then
9478 ac_cv_use_image='wxUSE_IMAGE=yes'
9479 else
9480 ac_cv_use_image='wxUSE_IMAGE=no'
9481 fi
9482
9483 else
9484
9485 LINE=`grep "wxUSE_IMAGE" ${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_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9493
9494 fi;
9495
9496 eval "$ac_cv_use_image"
9497 if test "$no_cache" != 1; then
9498 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9499 fi
9500
9501 if test "$wxUSE_IMAGE" = 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 enablestring=
9511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9512 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9513 no_cache=0
9514 # Check whether --enable-gif or --disable-gif was given.
9515 if test "${enable_gif+set}" = set; then
9516 enableval="$enable_gif"
9517
9518 if test "$enableval" = yes; then
9519 ac_cv_use_gif='wxUSE_GIF=yes'
9520 else
9521 ac_cv_use_gif='wxUSE_GIF=no'
9522 fi
9523
9524 else
9525
9526 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9527 if test "x$LINE" != x ; then
9528 eval "DEFAULT_$LINE"
9529 else
9530 no_cache=1
9531 fi
9532
9533 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9534
9535 fi;
9536
9537 eval "$ac_cv_use_gif"
9538 if test "$no_cache" != 1; then
9539 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9540 fi
9541
9542 if test "$wxUSE_GIF" = yes; then
9543 echo "$as_me:$LINENO: result: yes" >&5
9544 echo "${ECHO_T}yes" >&6
9545 else
9546 echo "$as_me:$LINENO: result: no" >&5
9547 echo "${ECHO_T}no" >&6
9548 fi
9549
9550
9551 enablestring=
9552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9553 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9554 no_cache=0
9555 # Check whether --enable-pcx or --disable-pcx was given.
9556 if test "${enable_pcx+set}" = set; then
9557 enableval="$enable_pcx"
9558
9559 if test "$enableval" = yes; then
9560 ac_cv_use_pcx='wxUSE_PCX=yes'
9561 else
9562 ac_cv_use_pcx='wxUSE_PCX=no'
9563 fi
9564
9565 else
9566
9567 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9568 if test "x$LINE" != x ; then
9569 eval "DEFAULT_$LINE"
9570 else
9571 no_cache=1
9572 fi
9573
9574 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9575
9576 fi;
9577
9578 eval "$ac_cv_use_pcx"
9579 if test "$no_cache" != 1; then
9580 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9581 fi
9582
9583 if test "$wxUSE_PCX" = yes; then
9584 echo "$as_me:$LINENO: result: yes" >&5
9585 echo "${ECHO_T}yes" >&6
9586 else
9587 echo "$as_me:$LINENO: result: no" >&5
9588 echo "${ECHO_T}no" >&6
9589 fi
9590
9591
9592 enablestring=
9593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9594 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9595 no_cache=0
9596 # Check whether --enable-iff or --disable-iff was given.
9597 if test "${enable_iff+set}" = set; then
9598 enableval="$enable_iff"
9599
9600 if test "$enableval" = yes; then
9601 ac_cv_use_iff='wxUSE_IFF=yes'
9602 else
9603 ac_cv_use_iff='wxUSE_IFF=no'
9604 fi
9605
9606 else
9607
9608 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9609 if test "x$LINE" != x ; then
9610 eval "DEFAULT_$LINE"
9611 else
9612 no_cache=1
9613 fi
9614
9615 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9616
9617 fi;
9618
9619 eval "$ac_cv_use_iff"
9620 if test "$no_cache" != 1; then
9621 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9622 fi
9623
9624 if test "$wxUSE_IFF" = yes; then
9625 echo "$as_me:$LINENO: result: yes" >&5
9626 echo "${ECHO_T}yes" >&6
9627 else
9628 echo "$as_me:$LINENO: result: no" >&5
9629 echo "${ECHO_T}no" >&6
9630 fi
9631
9632
9633 enablestring=
9634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9635 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9636 no_cache=0
9637 # Check whether --enable-pnm or --disable-pnm was given.
9638 if test "${enable_pnm+set}" = set; then
9639 enableval="$enable_pnm"
9640
9641 if test "$enableval" = yes; then
9642 ac_cv_use_pnm='wxUSE_PNM=yes'
9643 else
9644 ac_cv_use_pnm='wxUSE_PNM=no'
9645 fi
9646
9647 else
9648
9649 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9650 if test "x$LINE" != x ; then
9651 eval "DEFAULT_$LINE"
9652 else
9653 no_cache=1
9654 fi
9655
9656 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9657
9658 fi;
9659
9660 eval "$ac_cv_use_pnm"
9661 if test "$no_cache" != 1; then
9662 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9663 fi
9664
9665 if test "$wxUSE_PNM" = yes; then
9666 echo "$as_me:$LINENO: result: yes" >&5
9667 echo "${ECHO_T}yes" >&6
9668 else
9669 echo "$as_me:$LINENO: result: no" >&5
9670 echo "${ECHO_T}no" >&6
9671 fi
9672
9673
9674 enablestring=
9675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9676 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9677 no_cache=0
9678 # Check whether --enable-xpm or --disable-xpm was given.
9679 if test "${enable_xpm+set}" = set; then
9680 enableval="$enable_xpm"
9681
9682 if test "$enableval" = yes; then
9683 ac_cv_use_xpm='wxUSE_XPM=yes'
9684 else
9685 ac_cv_use_xpm='wxUSE_XPM=no'
9686 fi
9687
9688 else
9689
9690 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9691 if test "x$LINE" != x ; then
9692 eval "DEFAULT_$LINE"
9693 else
9694 no_cache=1
9695 fi
9696
9697 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9698
9699 fi;
9700
9701 eval "$ac_cv_use_xpm"
9702 if test "$no_cache" != 1; then
9703 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9704 fi
9705
9706 if test "$wxUSE_XPM" = yes; then
9707 echo "$as_me:$LINENO: result: yes" >&5
9708 echo "${ECHO_T}yes" >&6
9709 else
9710 echo "$as_me:$LINENO: result: no" >&5
9711 echo "${ECHO_T}no" >&6
9712 fi
9713
9714
9715 enablestring=
9716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9717 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9718 no_cache=0
9719 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9720 if test "${enable_ico_cur+set}" = set; then
9721 enableval="$enable_ico_cur"
9722
9723 if test "$enableval" = yes; then
9724 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9725 else
9726 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9727 fi
9728
9729 else
9730
9731 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9732 if test "x$LINE" != x ; then
9733 eval "DEFAULT_$LINE"
9734 else
9735 no_cache=1
9736 fi
9737
9738 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9739
9740 fi;
9741
9742 eval "$ac_cv_use_ico_cur"
9743 if test "$no_cache" != 1; then
9744 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9745 fi
9746
9747 if test "$wxUSE_ICO_CUR" = yes; then
9748 echo "$as_me:$LINENO: result: yes" >&5
9749 echo "${ECHO_T}yes" >&6
9750 else
9751 echo "$as_me:$LINENO: result: no" >&5
9752 echo "${ECHO_T}no" >&6
9753 fi
9754
9755
9756 fi
9757
9758
9759
9760 enablestring=
9761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9762 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9763 no_cache=0
9764 # Check whether --enable-official_build or --disable-official_build was given.
9765 if test "${enable_official_build+set}" = set; then
9766 enableval="$enable_official_build"
9767
9768 if test "$enableval" = yes; then
9769 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9770 else
9771 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9772 fi
9773
9774 else
9775
9776 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9777 if test "x$LINE" != x ; then
9778 eval "DEFAULT_$LINE"
9779 else
9780 no_cache=1
9781 fi
9782
9783 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9784
9785 fi;
9786
9787 eval "$ac_cv_use_official_build"
9788 if test "$no_cache" != 1; then
9789 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9790 fi
9791
9792 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9793 echo "$as_me:$LINENO: result: yes" >&5
9794 echo "${ECHO_T}yes" >&6
9795 else
9796 echo "$as_me:$LINENO: result: no" >&5
9797 echo "${ECHO_T}no" >&6
9798 fi
9799
9800 # Check whether --enable-vendor or --disable-vendor was given.
9801 if test "${enable_vendor+set}" = set; then
9802 enableval="$enable_vendor"
9803 VENDOR="$enableval"
9804 fi;
9805 if test "x$VENDOR" = "x"; then
9806 VENDOR="custom"
9807 fi
9808
9809 case "${host}" in
9810 *-pc-os2_emx | *-pc-os2-emx )
9811 PATH_IFS=';'
9812 ;;
9813 *)
9814 PATH_IFS=':'
9815 ;;
9816 esac
9817
9818
9819
9820 echo "saving argument cache $wx_arg_cache_file"
9821 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9822
9823
9824
9825 echo "$as_me:$LINENO: checking for toolkit" >&5
9826 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9827
9828 # In Wine, we need to default to MSW, not GTK or MOTIF
9829 if test "$wxUSE_WINE" = "yes"; then
9830 DEFAULT_DEFAULT_wxUSE_GTK=0
9831 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9832 DEFAULT_DEFAULT_wxUSE_MSW=1
9833 wxUSE_SHARED=no
9834 fi
9835
9836 if test "$wxUSE_GUI" = "yes"; then
9837
9838 if test "$USE_BEOS" = 1; then
9839 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9840 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9841 { (exit 1); exit 1; }; }
9842 fi
9843
9844 if test "$TOOLKIT_GIVEN" = 1; then
9845 for toolkit in `echo $ALL_TOOLKITS`; do
9846 var=wxUSE_$toolkit
9847 eval "value=\$${var}"
9848 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9849 done
9850 else
9851 for toolkit in `echo $ALL_TOOLKITS`; do
9852 if test "$has_toolkit_in_cache" != 1; then
9853 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9854 else
9855 var=DEFAULT_wxUSE_$toolkit
9856 fi
9857 eval "wxUSE_$toolkit=\$${var}"
9858 done
9859 fi
9860
9861 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9862 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9863 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9864
9865 case "${host}" in
9866 *-pc-os2_emx | *-pc-os2-emx )
9867 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9868 esac
9869
9870 case "$NUM_TOOLKITS" in
9871 1)
9872 ;;
9873 0)
9874 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9875 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9876 { (exit 1); exit 1; }; }
9877 ;;
9878 *)
9879 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9880 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9881 { (exit 1); exit 1; }; }
9882 esac
9883
9884 for toolkit in `echo $ALL_TOOLKITS`; do
9885 var=wxUSE_$toolkit
9886 eval "value=\$${var}"
9887 if test "x$value" != x; then
9888 cache_var=CACHE_$toolkit
9889 eval "cache=\$${cache_var}"
9890 if test "$cache" = 1; then
9891 echo "$var=$value" >> ${wx_arg_cache_file}
9892 fi
9893 if test "$value" = 1; then
9894 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
9895 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9896 echo "${ECHO_T}$toolkit_echo" >&6
9897 fi
9898 fi
9899 done
9900 else
9901 if test "x$host_alias" != "x"; then
9902 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9903 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9904 else
9905 echo "$as_me:$LINENO: result: base only" >&5
9906 echo "${ECHO_T}base only" >&6
9907 fi
9908 fi
9909
9910 wants_win32=0
9911 doesnt_want_win32=0
9912 case "${host}" in
9913 *-*-cygwin*)
9914 if test "$wxUSE_MSW" = 1 ; then
9915 wants_win32=1
9916 else
9917 doesnt_want_win32=1
9918 fi
9919 ;;
9920 *-*-mingw*)
9921 wants_win32=1
9922 ;;
9923 esac
9924
9925 if test "$wxUSE_WINE" = "yes"; then
9926 wants_win32=1
9927 CC=winegcc
9928 CXX=wineg++
9929 RESCOMP=wrc
9930 LDFLAGS_GUI="-mwindows"
9931 fi
9932
9933 if test "$wants_win32" = 1 ; then
9934 USE_UNIX=0
9935 USE_WIN32=1
9936 cat >>confdefs.h <<\_ACEOF
9937 #define __WIN32__ 1
9938 _ACEOF
9939
9940 cat >>confdefs.h <<\_ACEOF
9941 #define __WIN95__ 1
9942 _ACEOF
9943
9944 cat >>confdefs.h <<\_ACEOF
9945 #define __WINDOWS__ 1
9946 _ACEOF
9947
9948 cat >>confdefs.h <<\_ACEOF
9949 #define __GNUWIN32__ 1
9950 _ACEOF
9951
9952 cat >>confdefs.h <<\_ACEOF
9953 #define STRICT 1
9954 _ACEOF
9955
9956 cat >>confdefs.h <<\_ACEOF
9957 #define WINVER 0x0400
9958 _ACEOF
9959
9960 fi
9961 if test "$doesnt_want_win32" = 1 ; then
9962 USE_UNIX=1
9963 USE_WIN32=0
9964 fi
9965
9966 if test "$USE_UNIX" = 1 ; then
9967 wxUSE_UNIX=yes
9968 cat >>confdefs.h <<\_ACEOF
9969 #define __UNIX__ 1
9970 _ACEOF
9971
9972 fi
9973
9974
9975 cat >confcache <<\_ACEOF
9976 # This file is a shell script that caches the results of configure
9977 # tests run on this system so they can be shared between configure
9978 # scripts and configure runs, see configure's option --config-cache.
9979 # It is not useful on other systems. If it contains results you don't
9980 # want to keep, you may remove or edit it.
9981 #
9982 # config.status only pays attention to the cache file if you give it
9983 # the --recheck option to rerun configure.
9984 #
9985 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9986 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9987 # following values.
9988
9989 _ACEOF
9990
9991 # The following way of writing the cache mishandles newlines in values,
9992 # but we know of no workaround that is simple, portable, and efficient.
9993 # So, don't put newlines in cache variables' values.
9994 # Ultrix sh set writes to stderr and can't be redirected directly,
9995 # and sets the high bit in the cache file unless we assign to the vars.
9996 {
9997 (set) 2>&1 |
9998 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9999 *ac_space=\ *)
10000 # `set' does not quote correctly, so add quotes (double-quote
10001 # substitution turns \\\\ into \\, and sed turns \\ into \).
10002 sed -n \
10003 "s/'/'\\\\''/g;
10004 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10005 ;;
10006 *)
10007 # `set' quotes correctly as required by POSIX, so do not add quotes.
10008 sed -n \
10009 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10010 ;;
10011 esac;
10012 } |
10013 sed '
10014 t clear
10015 : clear
10016 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10017 t end
10018 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10019 : end' >>confcache
10020 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10021 if test -w $cache_file; then
10022 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10023 cat confcache >$cache_file
10024 else
10025 echo "not updating unwritable cache $cache_file"
10026 fi
10027 fi
10028 rm -f confcache
10029
10030 if test "$build" != "$host" ; then
10031 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10032 CC=$host_alias-gcc
10033 CXX=$host_alias-c++
10034 AR=$host_alias-ar
10035 RANLIB=$host_alias-ranlib
10036 DLLTOOL=$host_alias-dlltool
10037 RESCOMP=$host_alias-windres
10038 LD=$host_alias-ld
10039 NM=$host_alias-nm
10040 STRIP=$host_alias-strip
10041 else
10042 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10043 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10044 { (exit 1); exit 1; }; }
10045 fi
10046 fi
10047
10048 CFLAGS=${CFLAGS:=}
10049 ac_ext=c
10050 ac_cpp='$CPP $CPPFLAGS'
10051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10054 if test -n "$ac_tool_prefix"; then
10055 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10056 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10057 echo "$as_me:$LINENO: checking for $ac_word" >&5
10058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10059 if test "${ac_cv_prog_CC+set}" = set; then
10060 echo $ECHO_N "(cached) $ECHO_C" >&6
10061 else
10062 if test -n "$CC"; then
10063 ac_cv_prog_CC="$CC" # Let the user override the test.
10064 else
10065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10066 for as_dir in $PATH
10067 do
10068 IFS=$as_save_IFS
10069 test -z "$as_dir" && as_dir=.
10070 for ac_exec_ext in '' $ac_executable_extensions; do
10071 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10072 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10074 break 2
10075 fi
10076 done
10077 done
10078
10079 fi
10080 fi
10081 CC=$ac_cv_prog_CC
10082 if test -n "$CC"; then
10083 echo "$as_me:$LINENO: result: $CC" >&5
10084 echo "${ECHO_T}$CC" >&6
10085 else
10086 echo "$as_me:$LINENO: result: no" >&5
10087 echo "${ECHO_T}no" >&6
10088 fi
10089
10090 fi
10091 if test -z "$ac_cv_prog_CC"; then
10092 ac_ct_CC=$CC
10093 # Extract the first word of "gcc", so it can be a program name with args.
10094 set dummy gcc; ac_word=$2
10095 echo "$as_me:$LINENO: checking for $ac_word" >&5
10096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10097 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10098 echo $ECHO_N "(cached) $ECHO_C" >&6
10099 else
10100 if test -n "$ac_ct_CC"; then
10101 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10102 else
10103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10104 for as_dir in $PATH
10105 do
10106 IFS=$as_save_IFS
10107 test -z "$as_dir" && as_dir=.
10108 for ac_exec_ext in '' $ac_executable_extensions; do
10109 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10110 ac_cv_prog_ac_ct_CC="gcc"
10111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10112 break 2
10113 fi
10114 done
10115 done
10116
10117 fi
10118 fi
10119 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10120 if test -n "$ac_ct_CC"; then
10121 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10122 echo "${ECHO_T}$ac_ct_CC" >&6
10123 else
10124 echo "$as_me:$LINENO: result: no" >&5
10125 echo "${ECHO_T}no" >&6
10126 fi
10127
10128 CC=$ac_ct_CC
10129 else
10130 CC="$ac_cv_prog_CC"
10131 fi
10132
10133 if test -z "$CC"; then
10134 if test -n "$ac_tool_prefix"; then
10135 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10136 set dummy ${ac_tool_prefix}cc; ac_word=$2
10137 echo "$as_me:$LINENO: checking for $ac_word" >&5
10138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10139 if test "${ac_cv_prog_CC+set}" = set; then
10140 echo $ECHO_N "(cached) $ECHO_C" >&6
10141 else
10142 if test -n "$CC"; then
10143 ac_cv_prog_CC="$CC" # Let the user override the test.
10144 else
10145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10146 for as_dir in $PATH
10147 do
10148 IFS=$as_save_IFS
10149 test -z "$as_dir" && as_dir=.
10150 for ac_exec_ext in '' $ac_executable_extensions; do
10151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10152 ac_cv_prog_CC="${ac_tool_prefix}cc"
10153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10154 break 2
10155 fi
10156 done
10157 done
10158
10159 fi
10160 fi
10161 CC=$ac_cv_prog_CC
10162 if test -n "$CC"; then
10163 echo "$as_me:$LINENO: result: $CC" >&5
10164 echo "${ECHO_T}$CC" >&6
10165 else
10166 echo "$as_me:$LINENO: result: no" >&5
10167 echo "${ECHO_T}no" >&6
10168 fi
10169
10170 fi
10171 if test -z "$ac_cv_prog_CC"; then
10172 ac_ct_CC=$CC
10173 # Extract the first word of "cc", so it can be a program name with args.
10174 set dummy cc; ac_word=$2
10175 echo "$as_me:$LINENO: checking for $ac_word" >&5
10176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10177 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10178 echo $ECHO_N "(cached) $ECHO_C" >&6
10179 else
10180 if test -n "$ac_ct_CC"; then
10181 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10182 else
10183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10184 for as_dir in $PATH
10185 do
10186 IFS=$as_save_IFS
10187 test -z "$as_dir" && as_dir=.
10188 for ac_exec_ext in '' $ac_executable_extensions; do
10189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10190 ac_cv_prog_ac_ct_CC="cc"
10191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10192 break 2
10193 fi
10194 done
10195 done
10196
10197 fi
10198 fi
10199 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10200 if test -n "$ac_ct_CC"; then
10201 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10202 echo "${ECHO_T}$ac_ct_CC" >&6
10203 else
10204 echo "$as_me:$LINENO: result: no" >&5
10205 echo "${ECHO_T}no" >&6
10206 fi
10207
10208 CC=$ac_ct_CC
10209 else
10210 CC="$ac_cv_prog_CC"
10211 fi
10212
10213 fi
10214 if test -z "$CC"; then
10215 # Extract the first word of "cc", so it can be a program name with args.
10216 set dummy cc; ac_word=$2
10217 echo "$as_me:$LINENO: checking for $ac_word" >&5
10218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10219 if test "${ac_cv_prog_CC+set}" = set; then
10220 echo $ECHO_N "(cached) $ECHO_C" >&6
10221 else
10222 if test -n "$CC"; then
10223 ac_cv_prog_CC="$CC" # Let the user override the test.
10224 else
10225 ac_prog_rejected=no
10226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10227 for as_dir in $PATH
10228 do
10229 IFS=$as_save_IFS
10230 test -z "$as_dir" && as_dir=.
10231 for ac_exec_ext in '' $ac_executable_extensions; do
10232 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10233 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10234 ac_prog_rejected=yes
10235 continue
10236 fi
10237 ac_cv_prog_CC="cc"
10238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10239 break 2
10240 fi
10241 done
10242 done
10243
10244 if test $ac_prog_rejected = yes; then
10245 # We found a bogon in the path, so make sure we never use it.
10246 set dummy $ac_cv_prog_CC
10247 shift
10248 if test $# != 0; then
10249 # We chose a different compiler from the bogus one.
10250 # However, it has the same basename, so the bogon will be chosen
10251 # first if we set CC to just the basename; use the full file name.
10252 shift
10253 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10254 fi
10255 fi
10256 fi
10257 fi
10258 CC=$ac_cv_prog_CC
10259 if test -n "$CC"; then
10260 echo "$as_me:$LINENO: result: $CC" >&5
10261 echo "${ECHO_T}$CC" >&6
10262 else
10263 echo "$as_me:$LINENO: result: no" >&5
10264 echo "${ECHO_T}no" >&6
10265 fi
10266
10267 fi
10268 if test -z "$CC"; then
10269 if test -n "$ac_tool_prefix"; then
10270 for ac_prog in cl
10271 do
10272 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10273 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10274 echo "$as_me:$LINENO: checking for $ac_word" >&5
10275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10276 if test "${ac_cv_prog_CC+set}" = set; then
10277 echo $ECHO_N "(cached) $ECHO_C" >&6
10278 else
10279 if test -n "$CC"; then
10280 ac_cv_prog_CC="$CC" # Let the user override the test.
10281 else
10282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10283 for as_dir in $PATH
10284 do
10285 IFS=$as_save_IFS
10286 test -z "$as_dir" && as_dir=.
10287 for ac_exec_ext in '' $ac_executable_extensions; do
10288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10289 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10291 break 2
10292 fi
10293 done
10294 done
10295
10296 fi
10297 fi
10298 CC=$ac_cv_prog_CC
10299 if test -n "$CC"; then
10300 echo "$as_me:$LINENO: result: $CC" >&5
10301 echo "${ECHO_T}$CC" >&6
10302 else
10303 echo "$as_me:$LINENO: result: no" >&5
10304 echo "${ECHO_T}no" >&6
10305 fi
10306
10307 test -n "$CC" && break
10308 done
10309 fi
10310 if test -z "$CC"; then
10311 ac_ct_CC=$CC
10312 for ac_prog in cl
10313 do
10314 # Extract the first word of "$ac_prog", so it can be a program name with args.
10315 set dummy $ac_prog; ac_word=$2
10316 echo "$as_me:$LINENO: checking for $ac_word" >&5
10317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10318 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10319 echo $ECHO_N "(cached) $ECHO_C" >&6
10320 else
10321 if test -n "$ac_ct_CC"; then
10322 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10323 else
10324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10325 for as_dir in $PATH
10326 do
10327 IFS=$as_save_IFS
10328 test -z "$as_dir" && as_dir=.
10329 for ac_exec_ext in '' $ac_executable_extensions; do
10330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10331 ac_cv_prog_ac_ct_CC="$ac_prog"
10332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10333 break 2
10334 fi
10335 done
10336 done
10337
10338 fi
10339 fi
10340 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10341 if test -n "$ac_ct_CC"; then
10342 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10343 echo "${ECHO_T}$ac_ct_CC" >&6
10344 else
10345 echo "$as_me:$LINENO: result: no" >&5
10346 echo "${ECHO_T}no" >&6
10347 fi
10348
10349 test -n "$ac_ct_CC" && break
10350 done
10351
10352 CC=$ac_ct_CC
10353 fi
10354
10355 fi
10356
10357
10358 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10359 See \`config.log' for more details." >&5
10360 echo "$as_me: error: no acceptable C compiler found in \$PATH
10361 See \`config.log' for more details." >&2;}
10362 { (exit 1); exit 1; }; }
10363
10364 # Provide some information about the compiler.
10365 echo "$as_me:$LINENO:" \
10366 "checking for C compiler version" >&5
10367 ac_compiler=`set X $ac_compile; echo $2`
10368 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10369 (eval $ac_compiler --version </dev/null >&5) 2>&5
10370 ac_status=$?
10371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10372 (exit $ac_status); }
10373 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10374 (eval $ac_compiler -v </dev/null >&5) 2>&5
10375 ac_status=$?
10376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10377 (exit $ac_status); }
10378 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10379 (eval $ac_compiler -V </dev/null >&5) 2>&5
10380 ac_status=$?
10381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10382 (exit $ac_status); }
10383
10384 cat >conftest.$ac_ext <<_ACEOF
10385 /* confdefs.h. */
10386 _ACEOF
10387 cat confdefs.h >>conftest.$ac_ext
10388 cat >>conftest.$ac_ext <<_ACEOF
10389 /* end confdefs.h. */
10390
10391 int
10392 main ()
10393 {
10394
10395 ;
10396 return 0;
10397 }
10398 _ACEOF
10399 ac_clean_files_save=$ac_clean_files
10400 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10401 # Try to create an executable without -o first, disregard a.out.
10402 # It will help us diagnose broken compilers, and finding out an intuition
10403 # of exeext.
10404 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10405 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10406 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10407 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10408 (eval $ac_link_default) 2>&5
10409 ac_status=$?
10410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10411 (exit $ac_status); }; then
10412 # Find the output, starting from the most likely. This scheme is
10413 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10414 # resort.
10415
10416 # Be careful to initialize this variable, since it used to be cached.
10417 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10418 ac_cv_exeext=
10419 # b.out is created by i960 compilers.
10420 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10421 do
10422 test -f "$ac_file" || continue
10423 case $ac_file in
10424 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10425 ;;
10426 conftest.$ac_ext )
10427 # This is the source file.
10428 ;;
10429 [ab].out )
10430 # We found the default executable, but exeext='' is most
10431 # certainly right.
10432 break;;
10433 *.* )
10434 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10435 # FIXME: I believe we export ac_cv_exeext for Libtool,
10436 # but it would be cool to find out if it's true. Does anybody
10437 # maintain Libtool? --akim.
10438 export ac_cv_exeext
10439 break;;
10440 * )
10441 break;;
10442 esac
10443 done
10444 else
10445 echo "$as_me: failed program was:" >&5
10446 sed 's/^/| /' conftest.$ac_ext >&5
10447
10448 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10449 See \`config.log' for more details." >&5
10450 echo "$as_me: error: C compiler cannot create executables
10451 See \`config.log' for more details." >&2;}
10452 { (exit 77); exit 77; }; }
10453 fi
10454
10455 ac_exeext=$ac_cv_exeext
10456 echo "$as_me:$LINENO: result: $ac_file" >&5
10457 echo "${ECHO_T}$ac_file" >&6
10458
10459 # Check the compiler produces executables we can run. If not, either
10460 # the compiler is broken, or we cross compile.
10461 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10462 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10463 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10464 # If not cross compiling, check that we can run a simple program.
10465 if test "$cross_compiling" != yes; then
10466 if { ac_try='./$ac_file'
10467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10468 (eval $ac_try) 2>&5
10469 ac_status=$?
10470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10471 (exit $ac_status); }; }; then
10472 cross_compiling=no
10473 else
10474 if test "$cross_compiling" = maybe; then
10475 cross_compiling=yes
10476 else
10477 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10478 If you meant to cross compile, use \`--host'.
10479 See \`config.log' for more details." >&5
10480 echo "$as_me: error: cannot run C compiled programs.
10481 If you meant to cross compile, use \`--host'.
10482 See \`config.log' for more details." >&2;}
10483 { (exit 1); exit 1; }; }
10484 fi
10485 fi
10486 fi
10487 echo "$as_me:$LINENO: result: yes" >&5
10488 echo "${ECHO_T}yes" >&6
10489
10490 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10491 ac_clean_files=$ac_clean_files_save
10492 # Check the compiler produces executables we can run. If not, either
10493 # the compiler is broken, or we cross compile.
10494 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10495 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10496 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10497 echo "${ECHO_T}$cross_compiling" >&6
10498
10499 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10500 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10502 (eval $ac_link) 2>&5
10503 ac_status=$?
10504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10505 (exit $ac_status); }; then
10506 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10507 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10508 # work properly (i.e., refer to `conftest.exe'), while it won't with
10509 # `rm'.
10510 for ac_file in conftest.exe conftest conftest.*; do
10511 test -f "$ac_file" || continue
10512 case $ac_file in
10513 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10514 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10515 export ac_cv_exeext
10516 break;;
10517 * ) break;;
10518 esac
10519 done
10520 else
10521 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10522 See \`config.log' for more details." >&5
10523 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10524 See \`config.log' for more details." >&2;}
10525 { (exit 1); exit 1; }; }
10526 fi
10527
10528 rm -f conftest$ac_cv_exeext
10529 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10530 echo "${ECHO_T}$ac_cv_exeext" >&6
10531
10532 rm -f conftest.$ac_ext
10533 EXEEXT=$ac_cv_exeext
10534 ac_exeext=$EXEEXT
10535 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10536 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10537 if test "${ac_cv_objext+set}" = set; then
10538 echo $ECHO_N "(cached) $ECHO_C" >&6
10539 else
10540 cat >conftest.$ac_ext <<_ACEOF
10541 /* confdefs.h. */
10542 _ACEOF
10543 cat confdefs.h >>conftest.$ac_ext
10544 cat >>conftest.$ac_ext <<_ACEOF
10545 /* end confdefs.h. */
10546
10547 int
10548 main ()
10549 {
10550
10551 ;
10552 return 0;
10553 }
10554 _ACEOF
10555 rm -f conftest.o conftest.obj
10556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10557 (eval $ac_compile) 2>&5
10558 ac_status=$?
10559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10560 (exit $ac_status); }; then
10561 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10562 case $ac_file in
10563 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10564 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10565 break;;
10566 esac
10567 done
10568 else
10569 echo "$as_me: failed program was:" >&5
10570 sed 's/^/| /' conftest.$ac_ext >&5
10571
10572 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10573 See \`config.log' for more details." >&5
10574 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10575 See \`config.log' for more details." >&2;}
10576 { (exit 1); exit 1; }; }
10577 fi
10578
10579 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10580 fi
10581 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10582 echo "${ECHO_T}$ac_cv_objext" >&6
10583 OBJEXT=$ac_cv_objext
10584 ac_objext=$OBJEXT
10585 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10586 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10587 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10588 echo $ECHO_N "(cached) $ECHO_C" >&6
10589 else
10590 cat >conftest.$ac_ext <<_ACEOF
10591 /* confdefs.h. */
10592 _ACEOF
10593 cat confdefs.h >>conftest.$ac_ext
10594 cat >>conftest.$ac_ext <<_ACEOF
10595 /* end confdefs.h. */
10596
10597 int
10598 main ()
10599 {
10600 #ifndef __GNUC__
10601 choke me
10602 #endif
10603
10604 ;
10605 return 0;
10606 }
10607 _ACEOF
10608 rm -f conftest.$ac_objext
10609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10610 (eval $ac_compile) 2>conftest.er1
10611 ac_status=$?
10612 grep -v '^ *+' conftest.er1 >conftest.err
10613 rm -f conftest.er1
10614 cat conftest.err >&5
10615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10616 (exit $ac_status); } &&
10617 { ac_try='test -z "$ac_c_werror_flag"
10618 || test ! -s conftest.err'
10619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10620 (eval $ac_try) 2>&5
10621 ac_status=$?
10622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10623 (exit $ac_status); }; } &&
10624 { ac_try='test -s conftest.$ac_objext'
10625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10626 (eval $ac_try) 2>&5
10627 ac_status=$?
10628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10629 (exit $ac_status); }; }; then
10630 ac_compiler_gnu=yes
10631 else
10632 echo "$as_me: failed program was:" >&5
10633 sed 's/^/| /' conftest.$ac_ext >&5
10634
10635 ac_compiler_gnu=no
10636 fi
10637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10638 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10639
10640 fi
10641 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10642 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10643 GCC=`test $ac_compiler_gnu = yes && echo yes`
10644 ac_test_CFLAGS=${CFLAGS+set}
10645 ac_save_CFLAGS=$CFLAGS
10646 CFLAGS="-g"
10647 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10648 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10649 if test "${ac_cv_prog_cc_g+set}" = set; then
10650 echo $ECHO_N "(cached) $ECHO_C" >&6
10651 else
10652 cat >conftest.$ac_ext <<_ACEOF
10653 /* confdefs.h. */
10654 _ACEOF
10655 cat confdefs.h >>conftest.$ac_ext
10656 cat >>conftest.$ac_ext <<_ACEOF
10657 /* end confdefs.h. */
10658
10659 int
10660 main ()
10661 {
10662
10663 ;
10664 return 0;
10665 }
10666 _ACEOF
10667 rm -f conftest.$ac_objext
10668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10669 (eval $ac_compile) 2>conftest.er1
10670 ac_status=$?
10671 grep -v '^ *+' conftest.er1 >conftest.err
10672 rm -f conftest.er1
10673 cat conftest.err >&5
10674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10675 (exit $ac_status); } &&
10676 { ac_try='test -z "$ac_c_werror_flag"
10677 || test ! -s conftest.err'
10678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10679 (eval $ac_try) 2>&5
10680 ac_status=$?
10681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10682 (exit $ac_status); }; } &&
10683 { ac_try='test -s conftest.$ac_objext'
10684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10685 (eval $ac_try) 2>&5
10686 ac_status=$?
10687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10688 (exit $ac_status); }; }; then
10689 ac_cv_prog_cc_g=yes
10690 else
10691 echo "$as_me: failed program was:" >&5
10692 sed 's/^/| /' conftest.$ac_ext >&5
10693
10694 ac_cv_prog_cc_g=no
10695 fi
10696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10697 fi
10698 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10699 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10700 if test "$ac_test_CFLAGS" = set; then
10701 CFLAGS=$ac_save_CFLAGS
10702 elif test $ac_cv_prog_cc_g = yes; then
10703 if test "$GCC" = yes; then
10704 CFLAGS="-g -O2"
10705 else
10706 CFLAGS="-g"
10707 fi
10708 else
10709 if test "$GCC" = yes; then
10710 CFLAGS="-O2"
10711 else
10712 CFLAGS=
10713 fi
10714 fi
10715 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10716 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10717 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10718 echo $ECHO_N "(cached) $ECHO_C" >&6
10719 else
10720 ac_cv_prog_cc_stdc=no
10721 ac_save_CC=$CC
10722 cat >conftest.$ac_ext <<_ACEOF
10723 /* confdefs.h. */
10724 _ACEOF
10725 cat confdefs.h >>conftest.$ac_ext
10726 cat >>conftest.$ac_ext <<_ACEOF
10727 /* end confdefs.h. */
10728 #include <stdarg.h>
10729 #include <stdio.h>
10730 #include <sys/types.h>
10731 #include <sys/stat.h>
10732 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10733 struct buf { int x; };
10734 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10735 static char *e (p, i)
10736 char **p;
10737 int i;
10738 {
10739 return p[i];
10740 }
10741 static char *f (char * (*g) (char **, int), char **p, ...)
10742 {
10743 char *s;
10744 va_list v;
10745 va_start (v,p);
10746 s = g (p, va_arg (v,int));
10747 va_end (v);
10748 return s;
10749 }
10750
10751 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10752 function prototypes and stuff, but not '\xHH' hex character constants.
10753 These don't provoke an error unfortunately, instead are silently treated
10754 as 'x'. The following induces an error, until -std1 is added to get
10755 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10756 array size at least. It's necessary to write '\x00'==0 to get something
10757 that's true only with -std1. */
10758 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10759
10760 int test (int i, double x);
10761 struct s1 {int (*f) (int a);};
10762 struct s2 {int (*f) (double a);};
10763 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10764 int argc;
10765 char **argv;
10766 int
10767 main ()
10768 {
10769 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10770 ;
10771 return 0;
10772 }
10773 _ACEOF
10774 # Don't try gcc -ansi; that turns off useful extensions and
10775 # breaks some systems' header files.
10776 # AIX -qlanglvl=ansi
10777 # Ultrix and OSF/1 -std1
10778 # HP-UX 10.20 and later -Ae
10779 # HP-UX older versions -Aa -D_HPUX_SOURCE
10780 # SVR4 -Xc -D__EXTENSIONS__
10781 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10782 do
10783 CC="$ac_save_CC $ac_arg"
10784 rm -f conftest.$ac_objext
10785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10786 (eval $ac_compile) 2>conftest.er1
10787 ac_status=$?
10788 grep -v '^ *+' conftest.er1 >conftest.err
10789 rm -f conftest.er1
10790 cat conftest.err >&5
10791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10792 (exit $ac_status); } &&
10793 { ac_try='test -z "$ac_c_werror_flag"
10794 || test ! -s conftest.err'
10795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10796 (eval $ac_try) 2>&5
10797 ac_status=$?
10798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10799 (exit $ac_status); }; } &&
10800 { ac_try='test -s conftest.$ac_objext'
10801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10802 (eval $ac_try) 2>&5
10803 ac_status=$?
10804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10805 (exit $ac_status); }; }; then
10806 ac_cv_prog_cc_stdc=$ac_arg
10807 break
10808 else
10809 echo "$as_me: failed program was:" >&5
10810 sed 's/^/| /' conftest.$ac_ext >&5
10811
10812 fi
10813 rm -f conftest.err conftest.$ac_objext
10814 done
10815 rm -f conftest.$ac_ext conftest.$ac_objext
10816 CC=$ac_save_CC
10817
10818 fi
10819
10820 case "x$ac_cv_prog_cc_stdc" in
10821 x|xno)
10822 echo "$as_me:$LINENO: result: none needed" >&5
10823 echo "${ECHO_T}none needed" >&6 ;;
10824 *)
10825 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10826 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10827 CC="$CC $ac_cv_prog_cc_stdc" ;;
10828 esac
10829
10830 # Some people use a C++ compiler to compile C. Since we use `exit',
10831 # in C++ we need to declare it. In case someone uses the same compiler
10832 # for both compiling C and C++ we need to have the C++ compiler decide
10833 # the declaration of exit, since it's the most demanding environment.
10834 cat >conftest.$ac_ext <<_ACEOF
10835 #ifndef __cplusplus
10836 choke me
10837 #endif
10838 _ACEOF
10839 rm -f conftest.$ac_objext
10840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10841 (eval $ac_compile) 2>conftest.er1
10842 ac_status=$?
10843 grep -v '^ *+' conftest.er1 >conftest.err
10844 rm -f conftest.er1
10845 cat conftest.err >&5
10846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10847 (exit $ac_status); } &&
10848 { ac_try='test -z "$ac_c_werror_flag"
10849 || test ! -s conftest.err'
10850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10851 (eval $ac_try) 2>&5
10852 ac_status=$?
10853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10854 (exit $ac_status); }; } &&
10855 { ac_try='test -s conftest.$ac_objext'
10856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10857 (eval $ac_try) 2>&5
10858 ac_status=$?
10859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10860 (exit $ac_status); }; }; then
10861 for ac_declaration in \
10862 '' \
10863 'extern "C" void std::exit (int) throw (); using std::exit;' \
10864 'extern "C" void std::exit (int); using std::exit;' \
10865 'extern "C" void exit (int) throw ();' \
10866 'extern "C" void exit (int);' \
10867 'void exit (int);'
10868 do
10869 cat >conftest.$ac_ext <<_ACEOF
10870 /* confdefs.h. */
10871 _ACEOF
10872 cat confdefs.h >>conftest.$ac_ext
10873 cat >>conftest.$ac_ext <<_ACEOF
10874 /* end confdefs.h. */
10875 $ac_declaration
10876 #include <stdlib.h>
10877 int
10878 main ()
10879 {
10880 exit (42);
10881 ;
10882 return 0;
10883 }
10884 _ACEOF
10885 rm -f conftest.$ac_objext
10886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10887 (eval $ac_compile) 2>conftest.er1
10888 ac_status=$?
10889 grep -v '^ *+' conftest.er1 >conftest.err
10890 rm -f conftest.er1
10891 cat conftest.err >&5
10892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10893 (exit $ac_status); } &&
10894 { ac_try='test -z "$ac_c_werror_flag"
10895 || test ! -s conftest.err'
10896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10897 (eval $ac_try) 2>&5
10898 ac_status=$?
10899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10900 (exit $ac_status); }; } &&
10901 { ac_try='test -s conftest.$ac_objext'
10902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10903 (eval $ac_try) 2>&5
10904 ac_status=$?
10905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10906 (exit $ac_status); }; }; then
10907 :
10908 else
10909 echo "$as_me: failed program was:" >&5
10910 sed 's/^/| /' conftest.$ac_ext >&5
10911
10912 continue
10913 fi
10914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10915 cat >conftest.$ac_ext <<_ACEOF
10916 /* confdefs.h. */
10917 _ACEOF
10918 cat confdefs.h >>conftest.$ac_ext
10919 cat >>conftest.$ac_ext <<_ACEOF
10920 /* end confdefs.h. */
10921 $ac_declaration
10922 int
10923 main ()
10924 {
10925 exit (42);
10926 ;
10927 return 0;
10928 }
10929 _ACEOF
10930 rm -f conftest.$ac_objext
10931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10932 (eval $ac_compile) 2>conftest.er1
10933 ac_status=$?
10934 grep -v '^ *+' conftest.er1 >conftest.err
10935 rm -f conftest.er1
10936 cat conftest.err >&5
10937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10938 (exit $ac_status); } &&
10939 { ac_try='test -z "$ac_c_werror_flag"
10940 || test ! -s conftest.err'
10941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10942 (eval $ac_try) 2>&5
10943 ac_status=$?
10944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10945 (exit $ac_status); }; } &&
10946 { ac_try='test -s conftest.$ac_objext'
10947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10948 (eval $ac_try) 2>&5
10949 ac_status=$?
10950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10951 (exit $ac_status); }; }; then
10952 break
10953 else
10954 echo "$as_me: failed program was:" >&5
10955 sed 's/^/| /' conftest.$ac_ext >&5
10956
10957 fi
10958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10959 done
10960 rm -f conftest*
10961 if test -n "$ac_declaration"; then
10962 echo '#ifdef __cplusplus' >>confdefs.h
10963 echo $ac_declaration >>confdefs.h
10964 echo '#endif' >>confdefs.h
10965 fi
10966
10967 else
10968 echo "$as_me: failed program was:" >&5
10969 sed 's/^/| /' conftest.$ac_ext >&5
10970
10971 fi
10972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10973 ac_ext=c
10974 ac_cpp='$CPP $CPPFLAGS'
10975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10978
10979
10980
10981 ac_ext=c
10982 ac_cpp='$CPP $CPPFLAGS'
10983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10986 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10987 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10988 # On Suns, sometimes $CPP names a directory.
10989 if test -n "$CPP" && test -d "$CPP"; then
10990 CPP=
10991 fi
10992 if test -z "$CPP"; then
10993 if test "${ac_cv_prog_CPP+set}" = set; then
10994 echo $ECHO_N "(cached) $ECHO_C" >&6
10995 else
10996 # Double quotes because CPP needs to be expanded
10997 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10998 do
10999 ac_preproc_ok=false
11000 for ac_c_preproc_warn_flag in '' yes
11001 do
11002 # Use a header file that comes with gcc, so configuring glibc
11003 # with a fresh cross-compiler works.
11004 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11005 # <limits.h> exists even on freestanding compilers.
11006 # On the NeXT, cc -E runs the code through the compiler's parser,
11007 # not just through cpp. "Syntax error" is here to catch this case.
11008 cat >conftest.$ac_ext <<_ACEOF
11009 /* confdefs.h. */
11010 _ACEOF
11011 cat confdefs.h >>conftest.$ac_ext
11012 cat >>conftest.$ac_ext <<_ACEOF
11013 /* end confdefs.h. */
11014 #ifdef __STDC__
11015 # include <limits.h>
11016 #else
11017 # include <assert.h>
11018 #endif
11019 Syntax error
11020 _ACEOF
11021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11022 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11023 ac_status=$?
11024 grep -v '^ *+' conftest.er1 >conftest.err
11025 rm -f conftest.er1
11026 cat conftest.err >&5
11027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11028 (exit $ac_status); } >/dev/null; then
11029 if test -s conftest.err; then
11030 ac_cpp_err=$ac_c_preproc_warn_flag
11031 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11032 else
11033 ac_cpp_err=
11034 fi
11035 else
11036 ac_cpp_err=yes
11037 fi
11038 if test -z "$ac_cpp_err"; then
11039 :
11040 else
11041 echo "$as_me: failed program was:" >&5
11042 sed 's/^/| /' conftest.$ac_ext >&5
11043
11044 # Broken: fails on valid input.
11045 continue
11046 fi
11047 rm -f conftest.err conftest.$ac_ext
11048
11049 # OK, works on sane cases. Now check whether non-existent headers
11050 # can be detected and how.
11051 cat >conftest.$ac_ext <<_ACEOF
11052 /* confdefs.h. */
11053 _ACEOF
11054 cat confdefs.h >>conftest.$ac_ext
11055 cat >>conftest.$ac_ext <<_ACEOF
11056 /* end confdefs.h. */
11057 #include <ac_nonexistent.h>
11058 _ACEOF
11059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11060 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11061 ac_status=$?
11062 grep -v '^ *+' conftest.er1 >conftest.err
11063 rm -f conftest.er1
11064 cat conftest.err >&5
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); } >/dev/null; then
11067 if test -s conftest.err; then
11068 ac_cpp_err=$ac_c_preproc_warn_flag
11069 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11070 else
11071 ac_cpp_err=
11072 fi
11073 else
11074 ac_cpp_err=yes
11075 fi
11076 if test -z "$ac_cpp_err"; then
11077 # Broken: success on invalid input.
11078 continue
11079 else
11080 echo "$as_me: failed program was:" >&5
11081 sed 's/^/| /' conftest.$ac_ext >&5
11082
11083 # Passes both tests.
11084 ac_preproc_ok=:
11085 break
11086 fi
11087 rm -f conftest.err conftest.$ac_ext
11088
11089 done
11090 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11091 rm -f conftest.err conftest.$ac_ext
11092 if $ac_preproc_ok; then
11093 break
11094 fi
11095
11096 done
11097 ac_cv_prog_CPP=$CPP
11098
11099 fi
11100 CPP=$ac_cv_prog_CPP
11101 else
11102 ac_cv_prog_CPP=$CPP
11103 fi
11104 echo "$as_me:$LINENO: result: $CPP" >&5
11105 echo "${ECHO_T}$CPP" >&6
11106 ac_preproc_ok=false
11107 for ac_c_preproc_warn_flag in '' yes
11108 do
11109 # Use a header file that comes with gcc, so configuring glibc
11110 # with a fresh cross-compiler works.
11111 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11112 # <limits.h> exists even on freestanding compilers.
11113 # On the NeXT, cc -E runs the code through the compiler's parser,
11114 # not just through cpp. "Syntax error" is here to catch this case.
11115 cat >conftest.$ac_ext <<_ACEOF
11116 /* confdefs.h. */
11117 _ACEOF
11118 cat confdefs.h >>conftest.$ac_ext
11119 cat >>conftest.$ac_ext <<_ACEOF
11120 /* end confdefs.h. */
11121 #ifdef __STDC__
11122 # include <limits.h>
11123 #else
11124 # include <assert.h>
11125 #endif
11126 Syntax error
11127 _ACEOF
11128 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11129 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11130 ac_status=$?
11131 grep -v '^ *+' conftest.er1 >conftest.err
11132 rm -f conftest.er1
11133 cat conftest.err >&5
11134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11135 (exit $ac_status); } >/dev/null; then
11136 if test -s conftest.err; then
11137 ac_cpp_err=$ac_c_preproc_warn_flag
11138 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11139 else
11140 ac_cpp_err=
11141 fi
11142 else
11143 ac_cpp_err=yes
11144 fi
11145 if test -z "$ac_cpp_err"; then
11146 :
11147 else
11148 echo "$as_me: failed program was:" >&5
11149 sed 's/^/| /' conftest.$ac_ext >&5
11150
11151 # Broken: fails on valid input.
11152 continue
11153 fi
11154 rm -f conftest.err conftest.$ac_ext
11155
11156 # OK, works on sane cases. Now check whether non-existent headers
11157 # can be detected and how.
11158 cat >conftest.$ac_ext <<_ACEOF
11159 /* confdefs.h. */
11160 _ACEOF
11161 cat confdefs.h >>conftest.$ac_ext
11162 cat >>conftest.$ac_ext <<_ACEOF
11163 /* end confdefs.h. */
11164 #include <ac_nonexistent.h>
11165 _ACEOF
11166 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11167 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11168 ac_status=$?
11169 grep -v '^ *+' conftest.er1 >conftest.err
11170 rm -f conftest.er1
11171 cat conftest.err >&5
11172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11173 (exit $ac_status); } >/dev/null; then
11174 if test -s conftest.err; then
11175 ac_cpp_err=$ac_c_preproc_warn_flag
11176 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11177 else
11178 ac_cpp_err=
11179 fi
11180 else
11181 ac_cpp_err=yes
11182 fi
11183 if test -z "$ac_cpp_err"; then
11184 # Broken: success on invalid input.
11185 continue
11186 else
11187 echo "$as_me: failed program was:" >&5
11188 sed 's/^/| /' conftest.$ac_ext >&5
11189
11190 # Passes both tests.
11191 ac_preproc_ok=:
11192 break
11193 fi
11194 rm -f conftest.err conftest.$ac_ext
11195
11196 done
11197 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11198 rm -f conftest.err conftest.$ac_ext
11199 if $ac_preproc_ok; then
11200 :
11201 else
11202 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11203 See \`config.log' for more details." >&5
11204 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11205 See \`config.log' for more details." >&2;}
11206 { (exit 1); exit 1; }; }
11207 fi
11208
11209 ac_ext=c
11210 ac_cpp='$CPP $CPPFLAGS'
11211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11214
11215
11216 echo "$as_me:$LINENO: checking for egrep" >&5
11217 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11218 if test "${ac_cv_prog_egrep+set}" = set; then
11219 echo $ECHO_N "(cached) $ECHO_C" >&6
11220 else
11221 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
11222 then ac_cv_prog_egrep='grep -E'
11223 else ac_cv_prog_egrep='egrep'
11224 fi
11225 fi
11226 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11227 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11228 EGREP=$ac_cv_prog_egrep
11229
11230
11231 if test $ac_cv_c_compiler_gnu = yes; then
11232 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11233 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11234 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11235 echo $ECHO_N "(cached) $ECHO_C" >&6
11236 else
11237 ac_pattern="Autoconf.*'x'"
11238 cat >conftest.$ac_ext <<_ACEOF
11239 /* confdefs.h. */
11240 _ACEOF
11241 cat confdefs.h >>conftest.$ac_ext
11242 cat >>conftest.$ac_ext <<_ACEOF
11243 /* end confdefs.h. */
11244 #include <sgtty.h>
11245 Autoconf TIOCGETP
11246 _ACEOF
11247 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11248 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11249 ac_cv_prog_gcc_traditional=yes
11250 else
11251 ac_cv_prog_gcc_traditional=no
11252 fi
11253 rm -f conftest*
11254
11255
11256 if test $ac_cv_prog_gcc_traditional = no; then
11257 cat >conftest.$ac_ext <<_ACEOF
11258 /* confdefs.h. */
11259 _ACEOF
11260 cat confdefs.h >>conftest.$ac_ext
11261 cat >>conftest.$ac_ext <<_ACEOF
11262 /* end confdefs.h. */
11263 #include <termio.h>
11264 Autoconf TCGETA
11265 _ACEOF
11266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11267 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11268 ac_cv_prog_gcc_traditional=yes
11269 fi
11270 rm -f conftest*
11271
11272 fi
11273 fi
11274 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11275 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11276 if test $ac_cv_prog_gcc_traditional = yes; then
11277 CC="$CC -traditional"
11278 fi
11279 fi
11280
11281
11282
11283
11284 ac_ext=cc
11285 ac_cpp='$CXXCPP $CPPFLAGS'
11286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11289
11290
11291 CXXFLAGS=${CXXFLAGS:=}
11292 ac_ext=cc
11293 ac_cpp='$CXXCPP $CPPFLAGS'
11294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11297 if test -n "$ac_tool_prefix"; then
11298 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11299 do
11300 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11301 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11302 echo "$as_me:$LINENO: checking for $ac_word" >&5
11303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11304 if test "${ac_cv_prog_CXX+set}" = set; then
11305 echo $ECHO_N "(cached) $ECHO_C" >&6
11306 else
11307 if test -n "$CXX"; then
11308 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11309 else
11310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11311 for as_dir in $PATH
11312 do
11313 IFS=$as_save_IFS
11314 test -z "$as_dir" && as_dir=.
11315 for ac_exec_ext in '' $ac_executable_extensions; do
11316 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11317 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11319 break 2
11320 fi
11321 done
11322 done
11323
11324 fi
11325 fi
11326 CXX=$ac_cv_prog_CXX
11327 if test -n "$CXX"; then
11328 echo "$as_me:$LINENO: result: $CXX" >&5
11329 echo "${ECHO_T}$CXX" >&6
11330 else
11331 echo "$as_me:$LINENO: result: no" >&5
11332 echo "${ECHO_T}no" >&6
11333 fi
11334
11335 test -n "$CXX" && break
11336 done
11337 fi
11338 if test -z "$CXX"; then
11339 ac_ct_CXX=$CXX
11340 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11341 do
11342 # Extract the first word of "$ac_prog", so it can be a program name with args.
11343 set dummy $ac_prog; ac_word=$2
11344 echo "$as_me:$LINENO: checking for $ac_word" >&5
11345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11346 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11347 echo $ECHO_N "(cached) $ECHO_C" >&6
11348 else
11349 if test -n "$ac_ct_CXX"; then
11350 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11351 else
11352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11353 for as_dir in $PATH
11354 do
11355 IFS=$as_save_IFS
11356 test -z "$as_dir" && as_dir=.
11357 for ac_exec_ext in '' $ac_executable_extensions; do
11358 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11359 ac_cv_prog_ac_ct_CXX="$ac_prog"
11360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11361 break 2
11362 fi
11363 done
11364 done
11365
11366 fi
11367 fi
11368 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11369 if test -n "$ac_ct_CXX"; then
11370 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11371 echo "${ECHO_T}$ac_ct_CXX" >&6
11372 else
11373 echo "$as_me:$LINENO: result: no" >&5
11374 echo "${ECHO_T}no" >&6
11375 fi
11376
11377 test -n "$ac_ct_CXX" && break
11378 done
11379 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11380
11381 CXX=$ac_ct_CXX
11382 fi
11383
11384
11385 # Provide some information about the compiler.
11386 echo "$as_me:$LINENO:" \
11387 "checking for C++ compiler version" >&5
11388 ac_compiler=`set X $ac_compile; echo $2`
11389 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11390 (eval $ac_compiler --version </dev/null >&5) 2>&5
11391 ac_status=$?
11392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11393 (exit $ac_status); }
11394 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11395 (eval $ac_compiler -v </dev/null >&5) 2>&5
11396 ac_status=$?
11397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11398 (exit $ac_status); }
11399 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11400 (eval $ac_compiler -V </dev/null >&5) 2>&5
11401 ac_status=$?
11402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11403 (exit $ac_status); }
11404
11405 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11406 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11407 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11408 echo $ECHO_N "(cached) $ECHO_C" >&6
11409 else
11410 cat >conftest.$ac_ext <<_ACEOF
11411 /* confdefs.h. */
11412 _ACEOF
11413 cat confdefs.h >>conftest.$ac_ext
11414 cat >>conftest.$ac_ext <<_ACEOF
11415 /* end confdefs.h. */
11416
11417 int
11418 main ()
11419 {
11420 #ifndef __GNUC__
11421 choke me
11422 #endif
11423
11424 ;
11425 return 0;
11426 }
11427 _ACEOF
11428 rm -f conftest.$ac_objext
11429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11430 (eval $ac_compile) 2>conftest.er1
11431 ac_status=$?
11432 grep -v '^ *+' conftest.er1 >conftest.err
11433 rm -f conftest.er1
11434 cat conftest.err >&5
11435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11436 (exit $ac_status); } &&
11437 { ac_try='test -z "$ac_cxx_werror_flag"
11438 || test ! -s conftest.err'
11439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11440 (eval $ac_try) 2>&5
11441 ac_status=$?
11442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11443 (exit $ac_status); }; } &&
11444 { ac_try='test -s conftest.$ac_objext'
11445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11446 (eval $ac_try) 2>&5
11447 ac_status=$?
11448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11449 (exit $ac_status); }; }; then
11450 ac_compiler_gnu=yes
11451 else
11452 echo "$as_me: failed program was:" >&5
11453 sed 's/^/| /' conftest.$ac_ext >&5
11454
11455 ac_compiler_gnu=no
11456 fi
11457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11458 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11459
11460 fi
11461 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11462 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11463 GXX=`test $ac_compiler_gnu = yes && echo yes`
11464 ac_test_CXXFLAGS=${CXXFLAGS+set}
11465 ac_save_CXXFLAGS=$CXXFLAGS
11466 CXXFLAGS="-g"
11467 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11468 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11469 if test "${ac_cv_prog_cxx_g+set}" = set; then
11470 echo $ECHO_N "(cached) $ECHO_C" >&6
11471 else
11472 cat >conftest.$ac_ext <<_ACEOF
11473 /* confdefs.h. */
11474 _ACEOF
11475 cat confdefs.h >>conftest.$ac_ext
11476 cat >>conftest.$ac_ext <<_ACEOF
11477 /* end confdefs.h. */
11478
11479 int
11480 main ()
11481 {
11482
11483 ;
11484 return 0;
11485 }
11486 _ACEOF
11487 rm -f conftest.$ac_objext
11488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11489 (eval $ac_compile) 2>conftest.er1
11490 ac_status=$?
11491 grep -v '^ *+' conftest.er1 >conftest.err
11492 rm -f conftest.er1
11493 cat conftest.err >&5
11494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11495 (exit $ac_status); } &&
11496 { ac_try='test -z "$ac_cxx_werror_flag"
11497 || test ! -s conftest.err'
11498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11499 (eval $ac_try) 2>&5
11500 ac_status=$?
11501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11502 (exit $ac_status); }; } &&
11503 { ac_try='test -s conftest.$ac_objext'
11504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11505 (eval $ac_try) 2>&5
11506 ac_status=$?
11507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11508 (exit $ac_status); }; }; then
11509 ac_cv_prog_cxx_g=yes
11510 else
11511 echo "$as_me: failed program was:" >&5
11512 sed 's/^/| /' conftest.$ac_ext >&5
11513
11514 ac_cv_prog_cxx_g=no
11515 fi
11516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11517 fi
11518 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11519 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11520 if test "$ac_test_CXXFLAGS" = set; then
11521 CXXFLAGS=$ac_save_CXXFLAGS
11522 elif test $ac_cv_prog_cxx_g = yes; then
11523 if test "$GXX" = yes; then
11524 CXXFLAGS="-g -O2"
11525 else
11526 CXXFLAGS="-g"
11527 fi
11528 else
11529 if test "$GXX" = yes; then
11530 CXXFLAGS="-O2"
11531 else
11532 CXXFLAGS=
11533 fi
11534 fi
11535 for ac_declaration in \
11536 '' \
11537 'extern "C" void std::exit (int) throw (); using std::exit;' \
11538 'extern "C" void std::exit (int); using std::exit;' \
11539 'extern "C" void exit (int) throw ();' \
11540 'extern "C" void exit (int);' \
11541 'void exit (int);'
11542 do
11543 cat >conftest.$ac_ext <<_ACEOF
11544 /* confdefs.h. */
11545 _ACEOF
11546 cat confdefs.h >>conftest.$ac_ext
11547 cat >>conftest.$ac_ext <<_ACEOF
11548 /* end confdefs.h. */
11549 $ac_declaration
11550 #include <stdlib.h>
11551 int
11552 main ()
11553 {
11554 exit (42);
11555 ;
11556 return 0;
11557 }
11558 _ACEOF
11559 rm -f conftest.$ac_objext
11560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11561 (eval $ac_compile) 2>conftest.er1
11562 ac_status=$?
11563 grep -v '^ *+' conftest.er1 >conftest.err
11564 rm -f conftest.er1
11565 cat conftest.err >&5
11566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11567 (exit $ac_status); } &&
11568 { ac_try='test -z "$ac_cxx_werror_flag"
11569 || test ! -s conftest.err'
11570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11571 (eval $ac_try) 2>&5
11572 ac_status=$?
11573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11574 (exit $ac_status); }; } &&
11575 { ac_try='test -s conftest.$ac_objext'
11576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11577 (eval $ac_try) 2>&5
11578 ac_status=$?
11579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11580 (exit $ac_status); }; }; then
11581 :
11582 else
11583 echo "$as_me: failed program was:" >&5
11584 sed 's/^/| /' conftest.$ac_ext >&5
11585
11586 continue
11587 fi
11588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11589 cat >conftest.$ac_ext <<_ACEOF
11590 /* confdefs.h. */
11591 _ACEOF
11592 cat confdefs.h >>conftest.$ac_ext
11593 cat >>conftest.$ac_ext <<_ACEOF
11594 /* end confdefs.h. */
11595 $ac_declaration
11596 int
11597 main ()
11598 {
11599 exit (42);
11600 ;
11601 return 0;
11602 }
11603 _ACEOF
11604 rm -f conftest.$ac_objext
11605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11606 (eval $ac_compile) 2>conftest.er1
11607 ac_status=$?
11608 grep -v '^ *+' conftest.er1 >conftest.err
11609 rm -f conftest.er1
11610 cat conftest.err >&5
11611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11612 (exit $ac_status); } &&
11613 { ac_try='test -z "$ac_cxx_werror_flag"
11614 || test ! -s conftest.err'
11615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11616 (eval $ac_try) 2>&5
11617 ac_status=$?
11618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11619 (exit $ac_status); }; } &&
11620 { ac_try='test -s conftest.$ac_objext'
11621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11622 (eval $ac_try) 2>&5
11623 ac_status=$?
11624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11625 (exit $ac_status); }; }; then
11626 break
11627 else
11628 echo "$as_me: failed program was:" >&5
11629 sed 's/^/| /' conftest.$ac_ext >&5
11630
11631 fi
11632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11633 done
11634 rm -f conftest*
11635 if test -n "$ac_declaration"; then
11636 echo '#ifdef __cplusplus' >>confdefs.h
11637 echo $ac_declaration >>confdefs.h
11638 echo '#endif' >>confdefs.h
11639 fi
11640
11641 ac_ext=cc
11642 ac_cpp='$CXXCPP $CPPFLAGS'
11643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11646
11647
11648 ac_ext=c
11649 ac_cpp='$CPP $CPPFLAGS'
11650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11653
11654
11655 if test -n "$ac_tool_prefix"; then
11656 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11657 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11658 echo "$as_me:$LINENO: checking for $ac_word" >&5
11659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11660 if test "${ac_cv_prog_RANLIB+set}" = set; then
11661 echo $ECHO_N "(cached) $ECHO_C" >&6
11662 else
11663 if test -n "$RANLIB"; then
11664 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11665 else
11666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11667 for as_dir in $PATH
11668 do
11669 IFS=$as_save_IFS
11670 test -z "$as_dir" && as_dir=.
11671 for ac_exec_ext in '' $ac_executable_extensions; do
11672 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11673 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11675 break 2
11676 fi
11677 done
11678 done
11679
11680 fi
11681 fi
11682 RANLIB=$ac_cv_prog_RANLIB
11683 if test -n "$RANLIB"; then
11684 echo "$as_me:$LINENO: result: $RANLIB" >&5
11685 echo "${ECHO_T}$RANLIB" >&6
11686 else
11687 echo "$as_me:$LINENO: result: no" >&5
11688 echo "${ECHO_T}no" >&6
11689 fi
11690
11691 fi
11692 if test -z "$ac_cv_prog_RANLIB"; then
11693 ac_ct_RANLIB=$RANLIB
11694 # Extract the first word of "ranlib", so it can be a program name with args.
11695 set dummy ranlib; ac_word=$2
11696 echo "$as_me:$LINENO: checking for $ac_word" >&5
11697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11698 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11699 echo $ECHO_N "(cached) $ECHO_C" >&6
11700 else
11701 if test -n "$ac_ct_RANLIB"; then
11702 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11703 else
11704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11705 for as_dir in $PATH
11706 do
11707 IFS=$as_save_IFS
11708 test -z "$as_dir" && as_dir=.
11709 for ac_exec_ext in '' $ac_executable_extensions; do
11710 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11711 ac_cv_prog_ac_ct_RANLIB="ranlib"
11712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11713 break 2
11714 fi
11715 done
11716 done
11717
11718 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11719 fi
11720 fi
11721 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11722 if test -n "$ac_ct_RANLIB"; then
11723 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11724 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11725 else
11726 echo "$as_me:$LINENO: result: no" >&5
11727 echo "${ECHO_T}no" >&6
11728 fi
11729
11730 RANLIB=$ac_ct_RANLIB
11731 else
11732 RANLIB="$ac_cv_prog_RANLIB"
11733 fi
11734
11735
11736 # Extract the first word of "ar", so it can be a program name with args.
11737 set dummy ar; ac_word=$2
11738 echo "$as_me:$LINENO: checking for $ac_word" >&5
11739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11740 if test "${ac_cv_prog_AR+set}" = set; then
11741 echo $ECHO_N "(cached) $ECHO_C" >&6
11742 else
11743 if test -n "$AR"; then
11744 ac_cv_prog_AR="$AR" # Let the user override the test.
11745 else
11746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11747 for as_dir in $PATH
11748 do
11749 IFS=$as_save_IFS
11750 test -z "$as_dir" && as_dir=.
11751 for ac_exec_ext in '' $ac_executable_extensions; do
11752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11753 ac_cv_prog_AR="ar"
11754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11755 break 2
11756 fi
11757 done
11758 done
11759
11760 fi
11761 fi
11762 AR=$ac_cv_prog_AR
11763 if test -n "$AR"; then
11764 echo "$as_me:$LINENO: result: $AR" >&5
11765 echo "${ECHO_T}$AR" >&6
11766 else
11767 echo "$as_me:$LINENO: result: no" >&5
11768 echo "${ECHO_T}no" >&6
11769 fi
11770
11771 if test "x$AR" = "x" ; then
11772 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11773 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11774 { (exit 1); exit 1; }; }
11775 fi
11776
11777 # Find a good install program. We prefer a C program (faster),
11778 # so one script is as good as another. But avoid the broken or
11779 # incompatible versions:
11780 # SysV /etc/install, /usr/sbin/install
11781 # SunOS /usr/etc/install
11782 # IRIX /sbin/install
11783 # AIX /bin/install
11784 # AmigaOS /C/install, which installs bootblocks on floppy discs
11785 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11786 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11787 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11788 # OS/2's system install, which has a completely different semantic
11789 # ./install, which can be erroneously created by make from ./install.sh.
11790 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11791 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11792 if test -z "$INSTALL"; then
11793 if test "${ac_cv_path_install+set}" = set; then
11794 echo $ECHO_N "(cached) $ECHO_C" >&6
11795 else
11796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11797 for as_dir in $PATH
11798 do
11799 IFS=$as_save_IFS
11800 test -z "$as_dir" && as_dir=.
11801 # Account for people who put trailing slashes in PATH elements.
11802 case $as_dir/ in
11803 ./ | .// | /cC/* | \
11804 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11805 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
11806 /usr/ucb/* ) ;;
11807 *)
11808 # OSF1 and SCO ODT 3.0 have their own names for install.
11809 # Don't use installbsd from OSF since it installs stuff as root
11810 # by default.
11811 for ac_prog in ginstall scoinst install; do
11812 for ac_exec_ext in '' $ac_executable_extensions; do
11813 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11814 if test $ac_prog = install &&
11815 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11816 # AIX install. It has an incompatible calling convention.
11817 :
11818 elif test $ac_prog = install &&
11819 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11820 # program-specific install script used by HP pwplus--don't use.
11821 :
11822 else
11823 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11824 break 3
11825 fi
11826 fi
11827 done
11828 done
11829 ;;
11830 esac
11831 done
11832
11833
11834 fi
11835 if test "${ac_cv_path_install+set}" = set; then
11836 INSTALL=$ac_cv_path_install
11837 else
11838 # As a last resort, use the slow shell script. We don't cache a
11839 # path for INSTALL within a source directory, because that will
11840 # break other packages using the cache if that directory is
11841 # removed, or if the path is relative.
11842 INSTALL=$ac_install_sh
11843 fi
11844 fi
11845 echo "$as_me:$LINENO: result: $INSTALL" >&5
11846 echo "${ECHO_T}$INSTALL" >&6
11847
11848 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11849 # It thinks the first close brace ends the variable substitution.
11850 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11851
11852 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11853
11854 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11855
11856
11857 case ${INSTALL} in
11858 /* ) # Absolute
11859 ;;
11860 ?:* ) # Drive letter, considered as absolute.
11861 ;;
11862 *)
11863 INSTALL=`pwd`/${INSTALL} ;;
11864 esac
11865
11866 case ${host} in
11867 *-hp-hpux* )
11868 INSTALL_DIR="mkdir"
11869 ;;
11870
11871 *) INSTALL_DIR="$INSTALL -d"
11872 ;;
11873 esac
11874
11875
11876 case "${host}" in
11877
11878 powerpc-*-darwin* )
11879 INSTALL_PROGRAM="cp -fp"
11880 INSTALL_DATA="cp -fp"
11881 ;;
11882 *)
11883 ;;
11884 esac
11885
11886 # Extract the first word of "strip", so it can be a program name with args.
11887 set dummy strip; ac_word=$2
11888 echo "$as_me:$LINENO: checking for $ac_word" >&5
11889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11890 if test "${ac_cv_prog_STRIP+set}" = set; then
11891 echo $ECHO_N "(cached) $ECHO_C" >&6
11892 else
11893 if test -n "$STRIP"; then
11894 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11895 else
11896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11897 for as_dir in $PATH
11898 do
11899 IFS=$as_save_IFS
11900 test -z "$as_dir" && as_dir=.
11901 for ac_exec_ext in '' $ac_executable_extensions; do
11902 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11903 ac_cv_prog_STRIP="strip"
11904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11905 break 2
11906 fi
11907 done
11908 done
11909
11910 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11911 fi
11912 fi
11913 STRIP=$ac_cv_prog_STRIP
11914 if test -n "$STRIP"; then
11915 echo "$as_me:$LINENO: result: $STRIP" >&5
11916 echo "${ECHO_T}$STRIP" >&6
11917 else
11918 echo "$as_me:$LINENO: result: no" >&5
11919 echo "${ECHO_T}no" >&6
11920 fi
11921
11922
11923 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11924 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11925 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11926 echo $ECHO_N "(cached) $ECHO_C" >&6
11927 else
11928
11929 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11930 egrep -s GNU > /dev/null); then
11931 wx_cv_prog_makeisgnu="yes"
11932 else
11933 wx_cv_prog_makeisgnu="no"
11934 fi
11935
11936 fi
11937 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11938 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11939
11940 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11941 IF_GNU_MAKE=""
11942 else
11943 IF_GNU_MAKE="#"
11944 fi
11945
11946
11947
11948 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11949 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11950 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11951 if test "${wx_cv_prog_makevpath+set}" = set; then
11952 echo $ECHO_N "(cached) $ECHO_C" >&6
11953 else
11954
11955 cat - << EOF > confMake
11956 check : file
11957 cp \$? \$@
11958 cp \$? final_file
11959 EOF
11960
11961 if test ! -d sub ; then
11962 mkdir sub
11963 fi
11964 echo dummy > sub/file
11965 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11966 RESULT=$?
11967 rm -f sub/file check final_file confMake
11968 rmdir sub
11969 if test "$RESULT" = 0; then
11970 wx_cv_prog_makevpath="yes"
11971 else
11972 wx_cv_prog_makevpath="no"
11973 fi
11974
11975 fi
11976 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11977 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11978
11979 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11980 { { echo "$as_me:$LINENO: error:
11981 You need a make-utility that is able to use the variable
11982 VPATH correctly.
11983 If your version of make does not support VPATH correctly,
11984 please install GNU-make (possibly as gmake), and start
11985 configure with the following command:
11986 export MAKE=gmake; ./configure for sh-type shells
11987 setenv MAKE gmake; ./configure for csh-type shells
11988 Also please do remember to use gmake in this case every time
11989 you are trying to compile.
11990 " >&5
11991 echo "$as_me: error:
11992 You need a make-utility that is able to use the variable
11993 VPATH correctly.
11994 If your version of make does not support VPATH correctly,
11995 please install GNU-make (possibly as gmake), and start
11996 configure with the following command:
11997 export MAKE=gmake; ./configure for sh-type shells
11998 setenv MAKE gmake; ./configure for csh-type shells
11999 Also please do remember to use gmake in this case every time
12000 you are trying to compile.
12001 " >&2;}
12002 { (exit 1); exit 1; }; }
12003 fi fi
12004 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12005 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12006 LN_S=$as_ln_s
12007 if test "$LN_S" = "ln -s"; then
12008 echo "$as_me:$LINENO: result: yes" >&5
12009 echo "${ECHO_T}yes" >&6
12010 else
12011 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12012 echo "${ECHO_T}no, using $LN_S" >&6
12013 fi
12014
12015
12016 case "${host}" in
12017 *-pc-os2_emx | *-pc-os2-emx )
12018 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12019 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12020 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12021 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12022 echo $ECHO_N "(cached) $ECHO_C" >&6
12023 else
12024 ac_check_lib_save_LIBS=$LIBS
12025 LIBS="-lcExt $LIBS"
12026 cat >conftest.$ac_ext <<_ACEOF
12027 /* confdefs.h. */
12028 _ACEOF
12029 cat confdefs.h >>conftest.$ac_ext
12030 cat >>conftest.$ac_ext <<_ACEOF
12031 /* end confdefs.h. */
12032
12033 /* Override any gcc2 internal prototype to avoid an error. */
12034 #ifdef __cplusplus
12035 extern "C"
12036 #endif
12037 /* We use char because int might match the return type of a gcc2
12038 builtin and then its argument prototype would still apply. */
12039 char drand48 ();
12040 int
12041 main ()
12042 {
12043 drand48 ();
12044 ;
12045 return 0;
12046 }
12047 _ACEOF
12048 rm -f conftest.$ac_objext conftest$ac_exeext
12049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12050 (eval $ac_link) 2>conftest.er1
12051 ac_status=$?
12052 grep -v '^ *+' conftest.er1 >conftest.err
12053 rm -f conftest.er1
12054 cat conftest.err >&5
12055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12056 (exit $ac_status); } &&
12057 { ac_try='test -z "$ac_c_werror_flag"
12058 || test ! -s conftest.err'
12059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12060 (eval $ac_try) 2>&5
12061 ac_status=$?
12062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12063 (exit $ac_status); }; } &&
12064 { ac_try='test -s conftest$ac_exeext'
12065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12066 (eval $ac_try) 2>&5
12067 ac_status=$?
12068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12069 (exit $ac_status); }; }; then
12070 ac_cv_lib_cExt_drand48=yes
12071 else
12072 echo "$as_me: failed program was:" >&5
12073 sed 's/^/| /' conftest.$ac_ext >&5
12074
12075 ac_cv_lib_cExt_drand48=no
12076 fi
12077 rm -f conftest.err conftest.$ac_objext \
12078 conftest$ac_exeext conftest.$ac_ext
12079 LIBS=$ac_check_lib_save_LIBS
12080 fi
12081 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12082 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12083 if test $ac_cv_lib_cExt_drand48 = yes; then
12084 LIBS="$LIBS -lcExt"
12085 fi
12086
12087 else
12088 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
12089 fi
12090 echo "$as_me:$LINENO: checking for gcc 3 or later" >&5
12091 echo $ECHO_N "checking for gcc 3 or later... $ECHO_C" >&6
12092 if test "${wx_cv_gcc3+set}" = set; then
12093 echo $ECHO_N "(cached) $ECHO_C" >&6
12094 else
12095
12096 cat >conftest.$ac_ext <<_ACEOF
12097 /* confdefs.h. */
12098 _ACEOF
12099 cat confdefs.h >>conftest.$ac_ext
12100 cat >>conftest.$ac_ext <<_ACEOF
12101 /* end confdefs.h. */
12102
12103 int
12104 main ()
12105 {
12106
12107 #if (__GNUC__ < 3)
12108 #error old gcc
12109 #endif
12110
12111 ;
12112 return 0;
12113 }
12114 _ACEOF
12115 rm -f conftest.$ac_objext
12116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12117 (eval $ac_compile) 2>conftest.er1
12118 ac_status=$?
12119 grep -v '^ *+' conftest.er1 >conftest.err
12120 rm -f conftest.er1
12121 cat conftest.err >&5
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); } &&
12124 { ac_try='test -z "$ac_c_werror_flag"
12125 || test ! -s conftest.err'
12126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12127 (eval $ac_try) 2>&5
12128 ac_status=$?
12129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12130 (exit $ac_status); }; } &&
12131 { ac_try='test -s conftest.$ac_objext'
12132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12133 (eval $ac_try) 2>&5
12134 ac_status=$?
12135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12136 (exit $ac_status); }; }; then
12137
12138 wx_cv_gcc3=yes
12139
12140 else
12141 echo "$as_me: failed program was:" >&5
12142 sed 's/^/| /' conftest.$ac_ext >&5
12143
12144
12145 wx_cv_gcc3=no
12146
12147
12148 fi
12149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12150
12151 fi
12152 echo "$as_me:$LINENO: result: $wx_cv_gcc3" >&5
12153 echo "${ECHO_T}$wx_cv_gcc3" >&6
12154 if test "$wx_cv_gcc3" = "no"; then
12155 LIBS="$LIBS -lstdcpp"
12156 else
12157 LIBS="$LIBS -lstdcxx"
12158 fi
12159 ;;
12160 esac
12161
12162
12163 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
12164 echo "$as_me:$LINENO: checking for strings.h" >&5
12165 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
12166 if test "${ac_cv_header_strings_h+set}" = set; then
12167 echo $ECHO_N "(cached) $ECHO_C" >&6
12168 else
12169 ac_cv_header_strings_h=no
12170 fi
12171 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
12172 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
12173 if test "$ac_cv_header_strings_h" = "no"; then
12174 echo "$as_me:$LINENO: result: forced no into cache" >&5
12175 echo "${ECHO_T}forced no into cache" >&6
12176 else
12177 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
12178 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
12179 fi
12180 fi
12181 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12182 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12183 if test "${ac_cv_header_stdc+set}" = set; then
12184 echo $ECHO_N "(cached) $ECHO_C" >&6
12185 else
12186 cat >conftest.$ac_ext <<_ACEOF
12187 /* confdefs.h. */
12188 _ACEOF
12189 cat confdefs.h >>conftest.$ac_ext
12190 cat >>conftest.$ac_ext <<_ACEOF
12191 /* end confdefs.h. */
12192 #include <stdlib.h>
12193 #include <stdarg.h>
12194 #include <string.h>
12195 #include <float.h>
12196
12197 int
12198 main ()
12199 {
12200
12201 ;
12202 return 0;
12203 }
12204 _ACEOF
12205 rm -f conftest.$ac_objext
12206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12207 (eval $ac_compile) 2>conftest.er1
12208 ac_status=$?
12209 grep -v '^ *+' conftest.er1 >conftest.err
12210 rm -f conftest.er1
12211 cat conftest.err >&5
12212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12213 (exit $ac_status); } &&
12214 { ac_try='test -z "$ac_c_werror_flag"
12215 || test ! -s conftest.err'
12216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12217 (eval $ac_try) 2>&5
12218 ac_status=$?
12219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12220 (exit $ac_status); }; } &&
12221 { ac_try='test -s conftest.$ac_objext'
12222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12223 (eval $ac_try) 2>&5
12224 ac_status=$?
12225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12226 (exit $ac_status); }; }; then
12227 ac_cv_header_stdc=yes
12228 else
12229 echo "$as_me: failed program was:" >&5
12230 sed 's/^/| /' conftest.$ac_ext >&5
12231
12232 ac_cv_header_stdc=no
12233 fi
12234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12235
12236 if test $ac_cv_header_stdc = yes; then
12237 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12238 cat >conftest.$ac_ext <<_ACEOF
12239 /* confdefs.h. */
12240 _ACEOF
12241 cat confdefs.h >>conftest.$ac_ext
12242 cat >>conftest.$ac_ext <<_ACEOF
12243 /* end confdefs.h. */
12244 #include <string.h>
12245
12246 _ACEOF
12247 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12248 $EGREP "memchr" >/dev/null 2>&1; then
12249 :
12250 else
12251 ac_cv_header_stdc=no
12252 fi
12253 rm -f conftest*
12254
12255 fi
12256
12257 if test $ac_cv_header_stdc = yes; then
12258 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12259 cat >conftest.$ac_ext <<_ACEOF
12260 /* confdefs.h. */
12261 _ACEOF
12262 cat confdefs.h >>conftest.$ac_ext
12263 cat >>conftest.$ac_ext <<_ACEOF
12264 /* end confdefs.h. */
12265 #include <stdlib.h>
12266
12267 _ACEOF
12268 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12269 $EGREP "free" >/dev/null 2>&1; then
12270 :
12271 else
12272 ac_cv_header_stdc=no
12273 fi
12274 rm -f conftest*
12275
12276 fi
12277
12278 if test $ac_cv_header_stdc = yes; then
12279 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12280 if test "$cross_compiling" = yes; then
12281 :
12282 else
12283 cat >conftest.$ac_ext <<_ACEOF
12284 /* confdefs.h. */
12285 _ACEOF
12286 cat confdefs.h >>conftest.$ac_ext
12287 cat >>conftest.$ac_ext <<_ACEOF
12288 /* end confdefs.h. */
12289 #include <ctype.h>
12290 #if ((' ' & 0x0FF) == 0x020)
12291 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12292 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12293 #else
12294 # define ISLOWER(c) \
12295 (('a' <= (c) && (c) <= 'i') \
12296 || ('j' <= (c) && (c) <= 'r') \
12297 || ('s' <= (c) && (c) <= 'z'))
12298 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12299 #endif
12300
12301 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12302 int
12303 main ()
12304 {
12305 int i;
12306 for (i = 0; i < 256; i++)
12307 if (XOR (islower (i), ISLOWER (i))
12308 || toupper (i) != TOUPPER (i))
12309 exit(2);
12310 exit (0);
12311 }
12312 _ACEOF
12313 rm -f conftest$ac_exeext
12314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12315 (eval $ac_link) 2>&5
12316 ac_status=$?
12317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12318 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12320 (eval $ac_try) 2>&5
12321 ac_status=$?
12322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12323 (exit $ac_status); }; }; then
12324 :
12325 else
12326 echo "$as_me: program exited with status $ac_status" >&5
12327 echo "$as_me: failed program was:" >&5
12328 sed 's/^/| /' conftest.$ac_ext >&5
12329
12330 ( exit $ac_status )
12331 ac_cv_header_stdc=no
12332 fi
12333 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12334 fi
12335 fi
12336 fi
12337 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12338 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12339 if test $ac_cv_header_stdc = yes; then
12340
12341 cat >>confdefs.h <<\_ACEOF
12342 #define STDC_HEADERS 1
12343 _ACEOF
12344
12345 fi
12346
12347 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12358 inttypes.h stdint.h unistd.h
12359 do
12360 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12361 echo "$as_me:$LINENO: checking for $ac_header" >&5
12362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12363 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12364 echo $ECHO_N "(cached) $ECHO_C" >&6
12365 else
12366 cat >conftest.$ac_ext <<_ACEOF
12367 /* confdefs.h. */
12368 _ACEOF
12369 cat confdefs.h >>conftest.$ac_ext
12370 cat >>conftest.$ac_ext <<_ACEOF
12371 /* end confdefs.h. */
12372 $ac_includes_default
12373
12374 #include <$ac_header>
12375 _ACEOF
12376 rm -f conftest.$ac_objext
12377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12378 (eval $ac_compile) 2>conftest.er1
12379 ac_status=$?
12380 grep -v '^ *+' conftest.er1 >conftest.err
12381 rm -f conftest.er1
12382 cat conftest.err >&5
12383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12384 (exit $ac_status); } &&
12385 { ac_try='test -z "$ac_c_werror_flag"
12386 || test ! -s conftest.err'
12387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12388 (eval $ac_try) 2>&5
12389 ac_status=$?
12390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12391 (exit $ac_status); }; } &&
12392 { ac_try='test -s conftest.$ac_objext'
12393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12394 (eval $ac_try) 2>&5
12395 ac_status=$?
12396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12397 (exit $ac_status); }; }; then
12398 eval "$as_ac_Header=yes"
12399 else
12400 echo "$as_me: failed program was:" >&5
12401 sed 's/^/| /' conftest.$ac_ext >&5
12402
12403 eval "$as_ac_Header=no"
12404 fi
12405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12406 fi
12407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12408 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12409 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12410 cat >>confdefs.h <<_ACEOF
12411 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12412 _ACEOF
12413
12414 fi
12415
12416 done
12417
12418
12419
12420 for ac_header in strings.h
12421 do
12422 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12423 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12424 echo "$as_me:$LINENO: checking for $ac_header" >&5
12425 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12426 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12427 echo $ECHO_N "(cached) $ECHO_C" >&6
12428 fi
12429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12430 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12431 else
12432 # Is the header compilable?
12433 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12434 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12435 cat >conftest.$ac_ext <<_ACEOF
12436 /* confdefs.h. */
12437 _ACEOF
12438 cat confdefs.h >>conftest.$ac_ext
12439 cat >>conftest.$ac_ext <<_ACEOF
12440 /* end confdefs.h. */
12441 $ac_includes_default
12442 #include <$ac_header>
12443 _ACEOF
12444 rm -f conftest.$ac_objext
12445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12446 (eval $ac_compile) 2>conftest.er1
12447 ac_status=$?
12448 grep -v '^ *+' conftest.er1 >conftest.err
12449 rm -f conftest.er1
12450 cat conftest.err >&5
12451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12452 (exit $ac_status); } &&
12453 { ac_try='test -z "$ac_c_werror_flag"
12454 || test ! -s conftest.err'
12455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12456 (eval $ac_try) 2>&5
12457 ac_status=$?
12458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12459 (exit $ac_status); }; } &&
12460 { ac_try='test -s conftest.$ac_objext'
12461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12462 (eval $ac_try) 2>&5
12463 ac_status=$?
12464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12465 (exit $ac_status); }; }; then
12466 ac_header_compiler=yes
12467 else
12468 echo "$as_me: failed program was:" >&5
12469 sed 's/^/| /' conftest.$ac_ext >&5
12470
12471 ac_header_compiler=no
12472 fi
12473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12474 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12475 echo "${ECHO_T}$ac_header_compiler" >&6
12476
12477 # Is the header present?
12478 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12479 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
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 <$ac_header>
12487 _ACEOF
12488 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12489 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12490 ac_status=$?
12491 grep -v '^ *+' conftest.er1 >conftest.err
12492 rm -f conftest.er1
12493 cat conftest.err >&5
12494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12495 (exit $ac_status); } >/dev/null; then
12496 if test -s conftest.err; then
12497 ac_cpp_err=$ac_c_preproc_warn_flag
12498 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12499 else
12500 ac_cpp_err=
12501 fi
12502 else
12503 ac_cpp_err=yes
12504 fi
12505 if test -z "$ac_cpp_err"; then
12506 ac_header_preproc=yes
12507 else
12508 echo "$as_me: failed program was:" >&5
12509 sed 's/^/| /' conftest.$ac_ext >&5
12510
12511 ac_header_preproc=no
12512 fi
12513 rm -f conftest.err conftest.$ac_ext
12514 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12515 echo "${ECHO_T}$ac_header_preproc" >&6
12516
12517 # So? What about this header?
12518 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12519 yes:no: )
12520 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12521 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12522 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12523 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12524 ac_header_preproc=yes
12525 ;;
12526 no:yes:* )
12527 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12528 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12529 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12530 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12531 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12532 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12533 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12534 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12535 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12536 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12537 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12538 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12539 (
12540 cat <<\_ASBOX
12541 ## ----------------------------------------- ##
12542 ## Report this to wx-dev@lists.wxwindows.org ##
12543 ## ----------------------------------------- ##
12544 _ASBOX
12545 ) |
12546 sed "s/^/$as_me: WARNING: /" >&2
12547 ;;
12548 esac
12549 echo "$as_me:$LINENO: checking for $ac_header" >&5
12550 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12551 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12552 echo $ECHO_N "(cached) $ECHO_C" >&6
12553 else
12554 eval "$as_ac_Header=\$ac_header_preproc"
12555 fi
12556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12557 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12558
12559 fi
12560 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12561 cat >>confdefs.h <<_ACEOF
12562 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12563 _ACEOF
12564
12565 fi
12566
12567 done
12568
12569
12570
12571 for ac_header in stdlib.h
12572 do
12573 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12574 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12575 echo "$as_me:$LINENO: checking for $ac_header" >&5
12576 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12577 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12578 echo $ECHO_N "(cached) $ECHO_C" >&6
12579 fi
12580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12581 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12582 else
12583 # Is the header compilable?
12584 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12585 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12586 cat >conftest.$ac_ext <<_ACEOF
12587 /* confdefs.h. */
12588 _ACEOF
12589 cat confdefs.h >>conftest.$ac_ext
12590 cat >>conftest.$ac_ext <<_ACEOF
12591 /* end confdefs.h. */
12592 $ac_includes_default
12593 #include <$ac_header>
12594 _ACEOF
12595 rm -f conftest.$ac_objext
12596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12597 (eval $ac_compile) 2>conftest.er1
12598 ac_status=$?
12599 grep -v '^ *+' conftest.er1 >conftest.err
12600 rm -f conftest.er1
12601 cat conftest.err >&5
12602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12603 (exit $ac_status); } &&
12604 { ac_try='test -z "$ac_c_werror_flag"
12605 || test ! -s conftest.err'
12606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12607 (eval $ac_try) 2>&5
12608 ac_status=$?
12609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12610 (exit $ac_status); }; } &&
12611 { ac_try='test -s conftest.$ac_objext'
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 ac_header_compiler=yes
12618 else
12619 echo "$as_me: failed program was:" >&5
12620 sed 's/^/| /' conftest.$ac_ext >&5
12621
12622 ac_header_compiler=no
12623 fi
12624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12625 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12626 echo "${ECHO_T}$ac_header_compiler" >&6
12627
12628 # Is the header present?
12629 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12630 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12631 cat >conftest.$ac_ext <<_ACEOF
12632 /* confdefs.h. */
12633 _ACEOF
12634 cat confdefs.h >>conftest.$ac_ext
12635 cat >>conftest.$ac_ext <<_ACEOF
12636 /* end confdefs.h. */
12637 #include <$ac_header>
12638 _ACEOF
12639 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12640 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12641 ac_status=$?
12642 grep -v '^ *+' conftest.er1 >conftest.err
12643 rm -f conftest.er1
12644 cat conftest.err >&5
12645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12646 (exit $ac_status); } >/dev/null; then
12647 if test -s conftest.err; then
12648 ac_cpp_err=$ac_c_preproc_warn_flag
12649 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12650 else
12651 ac_cpp_err=
12652 fi
12653 else
12654 ac_cpp_err=yes
12655 fi
12656 if test -z "$ac_cpp_err"; then
12657 ac_header_preproc=yes
12658 else
12659 echo "$as_me: failed program was:" >&5
12660 sed 's/^/| /' conftest.$ac_ext >&5
12661
12662 ac_header_preproc=no
12663 fi
12664 rm -f conftest.err conftest.$ac_ext
12665 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12666 echo "${ECHO_T}$ac_header_preproc" >&6
12667
12668 # So? What about this header?
12669 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12670 yes:no: )
12671 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12672 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12673 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12674 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12675 ac_header_preproc=yes
12676 ;;
12677 no:yes:* )
12678 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12679 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12680 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12681 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12682 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12683 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12684 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12685 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12686 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12687 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12688 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12689 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12690 (
12691 cat <<\_ASBOX
12692 ## ----------------------------------------- ##
12693 ## Report this to wx-dev@lists.wxwindows.org ##
12694 ## ----------------------------------------- ##
12695 _ASBOX
12696 ) |
12697 sed "s/^/$as_me: WARNING: /" >&2
12698 ;;
12699 esac
12700 echo "$as_me:$LINENO: checking for $ac_header" >&5
12701 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12702 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12703 echo $ECHO_N "(cached) $ECHO_C" >&6
12704 else
12705 eval "$as_ac_Header=\$ac_header_preproc"
12706 fi
12707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12708 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12709
12710 fi
12711 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12712 cat >>confdefs.h <<_ACEOF
12713 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12714 _ACEOF
12715
12716 fi
12717
12718 done
12719
12720
12721 for ac_header in malloc.h
12722 do
12723 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12724 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12725 echo "$as_me:$LINENO: checking for $ac_header" >&5
12726 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12728 echo $ECHO_N "(cached) $ECHO_C" >&6
12729 fi
12730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12731 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12732 else
12733 # Is the header compilable?
12734 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12735 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12736 cat >conftest.$ac_ext <<_ACEOF
12737 /* confdefs.h. */
12738 _ACEOF
12739 cat confdefs.h >>conftest.$ac_ext
12740 cat >>conftest.$ac_ext <<_ACEOF
12741 /* end confdefs.h. */
12742 $ac_includes_default
12743 #include <$ac_header>
12744 _ACEOF
12745 rm -f conftest.$ac_objext
12746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12747 (eval $ac_compile) 2>conftest.er1
12748 ac_status=$?
12749 grep -v '^ *+' conftest.er1 >conftest.err
12750 rm -f conftest.er1
12751 cat conftest.err >&5
12752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12753 (exit $ac_status); } &&
12754 { ac_try='test -z "$ac_c_werror_flag"
12755 || test ! -s conftest.err'
12756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12757 (eval $ac_try) 2>&5
12758 ac_status=$?
12759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12760 (exit $ac_status); }; } &&
12761 { ac_try='test -s conftest.$ac_objext'
12762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12763 (eval $ac_try) 2>&5
12764 ac_status=$?
12765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12766 (exit $ac_status); }; }; then
12767 ac_header_compiler=yes
12768 else
12769 echo "$as_me: failed program was:" >&5
12770 sed 's/^/| /' conftest.$ac_ext >&5
12771
12772 ac_header_compiler=no
12773 fi
12774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12775 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12776 echo "${ECHO_T}$ac_header_compiler" >&6
12777
12778 # Is the header present?
12779 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12780 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12781 cat >conftest.$ac_ext <<_ACEOF
12782 /* confdefs.h. */
12783 _ACEOF
12784 cat confdefs.h >>conftest.$ac_ext
12785 cat >>conftest.$ac_ext <<_ACEOF
12786 /* end confdefs.h. */
12787 #include <$ac_header>
12788 _ACEOF
12789 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12790 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12791 ac_status=$?
12792 grep -v '^ *+' conftest.er1 >conftest.err
12793 rm -f conftest.er1
12794 cat conftest.err >&5
12795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12796 (exit $ac_status); } >/dev/null; then
12797 if test -s conftest.err; then
12798 ac_cpp_err=$ac_c_preproc_warn_flag
12799 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12800 else
12801 ac_cpp_err=
12802 fi
12803 else
12804 ac_cpp_err=yes
12805 fi
12806 if test -z "$ac_cpp_err"; then
12807 ac_header_preproc=yes
12808 else
12809 echo "$as_me: failed program was:" >&5
12810 sed 's/^/| /' conftest.$ac_ext >&5
12811
12812 ac_header_preproc=no
12813 fi
12814 rm -f conftest.err conftest.$ac_ext
12815 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12816 echo "${ECHO_T}$ac_header_preproc" >&6
12817
12818 # So? What about this header?
12819 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12820 yes:no: )
12821 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12822 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12823 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12824 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12825 ac_header_preproc=yes
12826 ;;
12827 no:yes:* )
12828 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12829 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12830 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12831 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12832 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12833 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12834 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12835 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12836 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12837 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12838 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12839 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12840 (
12841 cat <<\_ASBOX
12842 ## ----------------------------------------- ##
12843 ## Report this to wx-dev@lists.wxwindows.org ##
12844 ## ----------------------------------------- ##
12845 _ASBOX
12846 ) |
12847 sed "s/^/$as_me: WARNING: /" >&2
12848 ;;
12849 esac
12850 echo "$as_me:$LINENO: checking for $ac_header" >&5
12851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12853 echo $ECHO_N "(cached) $ECHO_C" >&6
12854 else
12855 eval "$as_ac_Header=\$ac_header_preproc"
12856 fi
12857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12858 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12859
12860 fi
12861 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12862 cat >>confdefs.h <<_ACEOF
12863 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12864 _ACEOF
12865
12866 fi
12867
12868 done
12869
12870
12871 for ac_header in unistd.h
12872 do
12873 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12874 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12875 echo "$as_me:$LINENO: checking for $ac_header" >&5
12876 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12878 echo $ECHO_N "(cached) $ECHO_C" >&6
12879 fi
12880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12881 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12882 else
12883 # Is the header compilable?
12884 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12885 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12886 cat >conftest.$ac_ext <<_ACEOF
12887 /* confdefs.h. */
12888 _ACEOF
12889 cat confdefs.h >>conftest.$ac_ext
12890 cat >>conftest.$ac_ext <<_ACEOF
12891 /* end confdefs.h. */
12892 $ac_includes_default
12893 #include <$ac_header>
12894 _ACEOF
12895 rm -f conftest.$ac_objext
12896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12897 (eval $ac_compile) 2>conftest.er1
12898 ac_status=$?
12899 grep -v '^ *+' conftest.er1 >conftest.err
12900 rm -f conftest.er1
12901 cat conftest.err >&5
12902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); } &&
12904 { ac_try='test -z "$ac_c_werror_flag"
12905 || test ! -s conftest.err'
12906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12907 (eval $ac_try) 2>&5
12908 ac_status=$?
12909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12910 (exit $ac_status); }; } &&
12911 { ac_try='test -s conftest.$ac_objext'
12912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12913 (eval $ac_try) 2>&5
12914 ac_status=$?
12915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12916 (exit $ac_status); }; }; then
12917 ac_header_compiler=yes
12918 else
12919 echo "$as_me: failed program was:" >&5
12920 sed 's/^/| /' conftest.$ac_ext >&5
12921
12922 ac_header_compiler=no
12923 fi
12924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12925 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12926 echo "${ECHO_T}$ac_header_compiler" >&6
12927
12928 # Is the header present?
12929 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12930 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12931 cat >conftest.$ac_ext <<_ACEOF
12932 /* confdefs.h. */
12933 _ACEOF
12934 cat confdefs.h >>conftest.$ac_ext
12935 cat >>conftest.$ac_ext <<_ACEOF
12936 /* end confdefs.h. */
12937 #include <$ac_header>
12938 _ACEOF
12939 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12940 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12941 ac_status=$?
12942 grep -v '^ *+' conftest.er1 >conftest.err
12943 rm -f conftest.er1
12944 cat conftest.err >&5
12945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12946 (exit $ac_status); } >/dev/null; then
12947 if test -s conftest.err; then
12948 ac_cpp_err=$ac_c_preproc_warn_flag
12949 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12950 else
12951 ac_cpp_err=
12952 fi
12953 else
12954 ac_cpp_err=yes
12955 fi
12956 if test -z "$ac_cpp_err"; then
12957 ac_header_preproc=yes
12958 else
12959 echo "$as_me: failed program was:" >&5
12960 sed 's/^/| /' conftest.$ac_ext >&5
12961
12962 ac_header_preproc=no
12963 fi
12964 rm -f conftest.err conftest.$ac_ext
12965 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12966 echo "${ECHO_T}$ac_header_preproc" >&6
12967
12968 # So? What about this header?
12969 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12970 yes:no: )
12971 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12972 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12973 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12974 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12975 ac_header_preproc=yes
12976 ;;
12977 no:yes:* )
12978 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12979 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12980 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12981 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12982 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12983 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12984 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12985 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12986 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12987 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12988 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12989 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12990 (
12991 cat <<\_ASBOX
12992 ## ----------------------------------------- ##
12993 ## Report this to wx-dev@lists.wxwindows.org ##
12994 ## ----------------------------------------- ##
12995 _ASBOX
12996 ) |
12997 sed "s/^/$as_me: WARNING: /" >&2
12998 ;;
12999 esac
13000 echo "$as_me:$LINENO: checking for $ac_header" >&5
13001 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13002 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13003 echo $ECHO_N "(cached) $ECHO_C" >&6
13004 else
13005 eval "$as_ac_Header=\$ac_header_preproc"
13006 fi
13007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13008 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13009
13010 fi
13011 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13012 cat >>confdefs.h <<_ACEOF
13013 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13014 _ACEOF
13015
13016 fi
13017
13018 done
13019
13020
13021 for ac_header in wchar.h
13022 do
13023 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13025 echo "$as_me:$LINENO: checking for $ac_header" >&5
13026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13028 echo $ECHO_N "(cached) $ECHO_C" >&6
13029 fi
13030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13031 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13032 else
13033 # Is the header compilable?
13034 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13035 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13036 cat >conftest.$ac_ext <<_ACEOF
13037 /* confdefs.h. */
13038 _ACEOF
13039 cat confdefs.h >>conftest.$ac_ext
13040 cat >>conftest.$ac_ext <<_ACEOF
13041 /* end confdefs.h. */
13042 $ac_includes_default
13043 #include <$ac_header>
13044 _ACEOF
13045 rm -f conftest.$ac_objext
13046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13047 (eval $ac_compile) 2>conftest.er1
13048 ac_status=$?
13049 grep -v '^ *+' conftest.er1 >conftest.err
13050 rm -f conftest.er1
13051 cat conftest.err >&5
13052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13053 (exit $ac_status); } &&
13054 { ac_try='test -z "$ac_c_werror_flag"
13055 || test ! -s conftest.err'
13056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13057 (eval $ac_try) 2>&5
13058 ac_status=$?
13059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13060 (exit $ac_status); }; } &&
13061 { ac_try='test -s conftest.$ac_objext'
13062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13063 (eval $ac_try) 2>&5
13064 ac_status=$?
13065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13066 (exit $ac_status); }; }; then
13067 ac_header_compiler=yes
13068 else
13069 echo "$as_me: failed program was:" >&5
13070 sed 's/^/| /' conftest.$ac_ext >&5
13071
13072 ac_header_compiler=no
13073 fi
13074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13075 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13076 echo "${ECHO_T}$ac_header_compiler" >&6
13077
13078 # Is the header present?
13079 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13080 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13081 cat >conftest.$ac_ext <<_ACEOF
13082 /* confdefs.h. */
13083 _ACEOF
13084 cat confdefs.h >>conftest.$ac_ext
13085 cat >>conftest.$ac_ext <<_ACEOF
13086 /* end confdefs.h. */
13087 #include <$ac_header>
13088 _ACEOF
13089 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13090 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13091 ac_status=$?
13092 grep -v '^ *+' conftest.er1 >conftest.err
13093 rm -f conftest.er1
13094 cat conftest.err >&5
13095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13096 (exit $ac_status); } >/dev/null; then
13097 if test -s conftest.err; then
13098 ac_cpp_err=$ac_c_preproc_warn_flag
13099 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13100 else
13101 ac_cpp_err=
13102 fi
13103 else
13104 ac_cpp_err=yes
13105 fi
13106 if test -z "$ac_cpp_err"; then
13107 ac_header_preproc=yes
13108 else
13109 echo "$as_me: failed program was:" >&5
13110 sed 's/^/| /' conftest.$ac_ext >&5
13111
13112 ac_header_preproc=no
13113 fi
13114 rm -f conftest.err conftest.$ac_ext
13115 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13116 echo "${ECHO_T}$ac_header_preproc" >&6
13117
13118 # So? What about this header?
13119 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13120 yes:no: )
13121 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13122 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13123 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13124 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13125 ac_header_preproc=yes
13126 ;;
13127 no:yes:* )
13128 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13129 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13130 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13131 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13132 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13133 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13134 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13135 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13136 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13137 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13138 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13139 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13140 (
13141 cat <<\_ASBOX
13142 ## ----------------------------------------- ##
13143 ## Report this to wx-dev@lists.wxwindows.org ##
13144 ## ----------------------------------------- ##
13145 _ASBOX
13146 ) |
13147 sed "s/^/$as_me: WARNING: /" >&2
13148 ;;
13149 esac
13150 echo "$as_me:$LINENO: checking for $ac_header" >&5
13151 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13152 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13153 echo $ECHO_N "(cached) $ECHO_C" >&6
13154 else
13155 eval "$as_ac_Header=\$ac_header_preproc"
13156 fi
13157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13158 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13159
13160 fi
13161 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13162 cat >>confdefs.h <<_ACEOF
13163 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13164 _ACEOF
13165
13166 fi
13167
13168 done
13169
13170
13171 if test "$ac_cv_header_wchar_h" != "yes"; then
13172
13173 for ac_header in wcstr.h
13174 do
13175 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13176 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13177 echo "$as_me:$LINENO: checking for $ac_header" >&5
13178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13179 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13180 echo $ECHO_N "(cached) $ECHO_C" >&6
13181 fi
13182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13183 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13184 else
13185 # Is the header compilable?
13186 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13187 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13188 cat >conftest.$ac_ext <<_ACEOF
13189 /* confdefs.h. */
13190 _ACEOF
13191 cat confdefs.h >>conftest.$ac_ext
13192 cat >>conftest.$ac_ext <<_ACEOF
13193 /* end confdefs.h. */
13194 $ac_includes_default
13195 #include <$ac_header>
13196 _ACEOF
13197 rm -f conftest.$ac_objext
13198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13199 (eval $ac_compile) 2>conftest.er1
13200 ac_status=$?
13201 grep -v '^ *+' conftest.er1 >conftest.err
13202 rm -f conftest.er1
13203 cat conftest.err >&5
13204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13205 (exit $ac_status); } &&
13206 { ac_try='test -z "$ac_c_werror_flag"
13207 || test ! -s conftest.err'
13208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13209 (eval $ac_try) 2>&5
13210 ac_status=$?
13211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13212 (exit $ac_status); }; } &&
13213 { ac_try='test -s conftest.$ac_objext'
13214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13215 (eval $ac_try) 2>&5
13216 ac_status=$?
13217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13218 (exit $ac_status); }; }; then
13219 ac_header_compiler=yes
13220 else
13221 echo "$as_me: failed program was:" >&5
13222 sed 's/^/| /' conftest.$ac_ext >&5
13223
13224 ac_header_compiler=no
13225 fi
13226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13227 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13228 echo "${ECHO_T}$ac_header_compiler" >&6
13229
13230 # Is the header present?
13231 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13232 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13233 cat >conftest.$ac_ext <<_ACEOF
13234 /* confdefs.h. */
13235 _ACEOF
13236 cat confdefs.h >>conftest.$ac_ext
13237 cat >>conftest.$ac_ext <<_ACEOF
13238 /* end confdefs.h. */
13239 #include <$ac_header>
13240 _ACEOF
13241 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13242 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13243 ac_status=$?
13244 grep -v '^ *+' conftest.er1 >conftest.err
13245 rm -f conftest.er1
13246 cat conftest.err >&5
13247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13248 (exit $ac_status); } >/dev/null; then
13249 if test -s conftest.err; then
13250 ac_cpp_err=$ac_c_preproc_warn_flag
13251 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13252 else
13253 ac_cpp_err=
13254 fi
13255 else
13256 ac_cpp_err=yes
13257 fi
13258 if test -z "$ac_cpp_err"; then
13259 ac_header_preproc=yes
13260 else
13261 echo "$as_me: failed program was:" >&5
13262 sed 's/^/| /' conftest.$ac_ext >&5
13263
13264 ac_header_preproc=no
13265 fi
13266 rm -f conftest.err conftest.$ac_ext
13267 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13268 echo "${ECHO_T}$ac_header_preproc" >&6
13269
13270 # So? What about this header?
13271 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13272 yes:no: )
13273 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13274 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13275 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13276 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13277 ac_header_preproc=yes
13278 ;;
13279 no:yes:* )
13280 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13281 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13282 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13283 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13284 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13285 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13286 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13287 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13288 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13289 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13290 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13291 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13292 (
13293 cat <<\_ASBOX
13294 ## ----------------------------------------- ##
13295 ## Report this to wx-dev@lists.wxwindows.org ##
13296 ## ----------------------------------------- ##
13297 _ASBOX
13298 ) |
13299 sed "s/^/$as_me: WARNING: /" >&2
13300 ;;
13301 esac
13302 echo "$as_me:$LINENO: checking for $ac_header" >&5
13303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13305 echo $ECHO_N "(cached) $ECHO_C" >&6
13306 else
13307 eval "$as_ac_Header=\$ac_header_preproc"
13308 fi
13309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13310 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13311
13312 fi
13313 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13314 cat >>confdefs.h <<_ACEOF
13315 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13316 _ACEOF
13317
13318 fi
13319
13320 done
13321
13322 fi
13323
13324
13325 for ac_header in fnmatch.h
13326 do
13327 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13329 echo "$as_me:$LINENO: checking for $ac_header" >&5
13330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13331 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13332 echo $ECHO_N "(cached) $ECHO_C" >&6
13333 fi
13334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13335 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13336 else
13337 # Is the header compilable?
13338 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13339 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13340 cat >conftest.$ac_ext <<_ACEOF
13341 /* confdefs.h. */
13342 _ACEOF
13343 cat confdefs.h >>conftest.$ac_ext
13344 cat >>conftest.$ac_ext <<_ACEOF
13345 /* end confdefs.h. */
13346 $ac_includes_default
13347 #include <$ac_header>
13348 _ACEOF
13349 rm -f conftest.$ac_objext
13350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13351 (eval $ac_compile) 2>conftest.er1
13352 ac_status=$?
13353 grep -v '^ *+' conftest.er1 >conftest.err
13354 rm -f conftest.er1
13355 cat conftest.err >&5
13356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13357 (exit $ac_status); } &&
13358 { ac_try='test -z "$ac_c_werror_flag"
13359 || test ! -s conftest.err'
13360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13361 (eval $ac_try) 2>&5
13362 ac_status=$?
13363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13364 (exit $ac_status); }; } &&
13365 { ac_try='test -s conftest.$ac_objext'
13366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13367 (eval $ac_try) 2>&5
13368 ac_status=$?
13369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13370 (exit $ac_status); }; }; then
13371 ac_header_compiler=yes
13372 else
13373 echo "$as_me: failed program was:" >&5
13374 sed 's/^/| /' conftest.$ac_ext >&5
13375
13376 ac_header_compiler=no
13377 fi
13378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13379 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13380 echo "${ECHO_T}$ac_header_compiler" >&6
13381
13382 # Is the header present?
13383 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13384 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13385 cat >conftest.$ac_ext <<_ACEOF
13386 /* confdefs.h. */
13387 _ACEOF
13388 cat confdefs.h >>conftest.$ac_ext
13389 cat >>conftest.$ac_ext <<_ACEOF
13390 /* end confdefs.h. */
13391 #include <$ac_header>
13392 _ACEOF
13393 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13394 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13395 ac_status=$?
13396 grep -v '^ *+' conftest.er1 >conftest.err
13397 rm -f conftest.er1
13398 cat conftest.err >&5
13399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13400 (exit $ac_status); } >/dev/null; then
13401 if test -s conftest.err; then
13402 ac_cpp_err=$ac_c_preproc_warn_flag
13403 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13404 else
13405 ac_cpp_err=
13406 fi
13407 else
13408 ac_cpp_err=yes
13409 fi
13410 if test -z "$ac_cpp_err"; then
13411 ac_header_preproc=yes
13412 else
13413 echo "$as_me: failed program was:" >&5
13414 sed 's/^/| /' conftest.$ac_ext >&5
13415
13416 ac_header_preproc=no
13417 fi
13418 rm -f conftest.err conftest.$ac_ext
13419 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13420 echo "${ECHO_T}$ac_header_preproc" >&6
13421
13422 # So? What about this header?
13423 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13424 yes:no: )
13425 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13426 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13427 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13428 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13429 ac_header_preproc=yes
13430 ;;
13431 no:yes:* )
13432 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13433 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13434 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13435 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13436 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13437 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13438 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13439 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13440 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13441 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13442 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13443 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13444 (
13445 cat <<\_ASBOX
13446 ## ----------------------------------------- ##
13447 ## Report this to wx-dev@lists.wxwindows.org ##
13448 ## ----------------------------------------- ##
13449 _ASBOX
13450 ) |
13451 sed "s/^/$as_me: WARNING: /" >&2
13452 ;;
13453 esac
13454 echo "$as_me:$LINENO: checking for $ac_header" >&5
13455 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13457 echo $ECHO_N "(cached) $ECHO_C" >&6
13458 else
13459 eval "$as_ac_Header=\$ac_header_preproc"
13460 fi
13461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13462 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13463
13464 fi
13465 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13466 cat >>confdefs.h <<_ACEOF
13467 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13468 _ACEOF
13469
13470 fi
13471
13472 done
13473
13474
13475 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13476
13477 for ac_func in fnmatch
13478 do
13479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13480 echo "$as_me:$LINENO: checking for $ac_func" >&5
13481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13482 if eval "test \"\${$as_ac_var+set}\" = set"; then
13483 echo $ECHO_N "(cached) $ECHO_C" >&6
13484 else
13485 cat >conftest.$ac_ext <<_ACEOF
13486 /* confdefs.h. */
13487 _ACEOF
13488 cat confdefs.h >>conftest.$ac_ext
13489 cat >>conftest.$ac_ext <<_ACEOF
13490 /* end confdefs.h. */
13491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13493 #define $ac_func innocuous_$ac_func
13494
13495 /* System header to define __stub macros and hopefully few prototypes,
13496 which can conflict with char $ac_func (); below.
13497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13498 <limits.h> exists even on freestanding compilers. */
13499
13500 #ifdef __STDC__
13501 # include <limits.h>
13502 #else
13503 # include <assert.h>
13504 #endif
13505
13506 #undef $ac_func
13507
13508 /* Override any gcc2 internal prototype to avoid an error. */
13509 #ifdef __cplusplus
13510 extern "C"
13511 {
13512 #endif
13513 /* We use char because int might match the return type of a gcc2
13514 builtin and then its argument prototype would still apply. */
13515 char $ac_func ();
13516 /* The GNU C library defines this for functions which it implements
13517 to always fail with ENOSYS. Some functions are actually named
13518 something starting with __ and the normal name is an alias. */
13519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13520 choke me
13521 #else
13522 char (*f) () = $ac_func;
13523 #endif
13524 #ifdef __cplusplus
13525 }
13526 #endif
13527
13528 int
13529 main ()
13530 {
13531 return f != $ac_func;
13532 ;
13533 return 0;
13534 }
13535 _ACEOF
13536 rm -f conftest.$ac_objext conftest$ac_exeext
13537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13538 (eval $ac_link) 2>conftest.er1
13539 ac_status=$?
13540 grep -v '^ *+' conftest.er1 >conftest.err
13541 rm -f conftest.er1
13542 cat conftest.err >&5
13543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13544 (exit $ac_status); } &&
13545 { ac_try='test -z "$ac_c_werror_flag"
13546 || test ! -s conftest.err'
13547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13548 (eval $ac_try) 2>&5
13549 ac_status=$?
13550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13551 (exit $ac_status); }; } &&
13552 { ac_try='test -s conftest$ac_exeext'
13553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13554 (eval $ac_try) 2>&5
13555 ac_status=$?
13556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13557 (exit $ac_status); }; }; then
13558 eval "$as_ac_var=yes"
13559 else
13560 echo "$as_me: failed program was:" >&5
13561 sed 's/^/| /' conftest.$ac_ext >&5
13562
13563 eval "$as_ac_var=no"
13564 fi
13565 rm -f conftest.err conftest.$ac_objext \
13566 conftest$ac_exeext conftest.$ac_ext
13567 fi
13568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13570 if test `eval echo '${'$as_ac_var'}'` = yes; then
13571 cat >>confdefs.h <<_ACEOF
13572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13573 _ACEOF
13574
13575 fi
13576 done
13577
13578 fi
13579
13580
13581 for ac_header in langinfo.h
13582 do
13583 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13584 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13585 echo "$as_me:$LINENO: checking for $ac_header" >&5
13586 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13587 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13588 echo $ECHO_N "(cached) $ECHO_C" >&6
13589 fi
13590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13591 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13592 else
13593 # Is the header compilable?
13594 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13595 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13596 cat >conftest.$ac_ext <<_ACEOF
13597 /* confdefs.h. */
13598 _ACEOF
13599 cat confdefs.h >>conftest.$ac_ext
13600 cat >>conftest.$ac_ext <<_ACEOF
13601 /* end confdefs.h. */
13602 $ac_includes_default
13603 #include <$ac_header>
13604 _ACEOF
13605 rm -f conftest.$ac_objext
13606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13607 (eval $ac_compile) 2>conftest.er1
13608 ac_status=$?
13609 grep -v '^ *+' conftest.er1 >conftest.err
13610 rm -f conftest.er1
13611 cat conftest.err >&5
13612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13613 (exit $ac_status); } &&
13614 { ac_try='test -z "$ac_c_werror_flag"
13615 || test ! -s conftest.err'
13616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13617 (eval $ac_try) 2>&5
13618 ac_status=$?
13619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13620 (exit $ac_status); }; } &&
13621 { ac_try='test -s conftest.$ac_objext'
13622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13623 (eval $ac_try) 2>&5
13624 ac_status=$?
13625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13626 (exit $ac_status); }; }; then
13627 ac_header_compiler=yes
13628 else
13629 echo "$as_me: failed program was:" >&5
13630 sed 's/^/| /' conftest.$ac_ext >&5
13631
13632 ac_header_compiler=no
13633 fi
13634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13635 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13636 echo "${ECHO_T}$ac_header_compiler" >&6
13637
13638 # Is the header present?
13639 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13640 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13641 cat >conftest.$ac_ext <<_ACEOF
13642 /* confdefs.h. */
13643 _ACEOF
13644 cat confdefs.h >>conftest.$ac_ext
13645 cat >>conftest.$ac_ext <<_ACEOF
13646 /* end confdefs.h. */
13647 #include <$ac_header>
13648 _ACEOF
13649 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13650 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13651 ac_status=$?
13652 grep -v '^ *+' conftest.er1 >conftest.err
13653 rm -f conftest.er1
13654 cat conftest.err >&5
13655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13656 (exit $ac_status); } >/dev/null; then
13657 if test -s conftest.err; then
13658 ac_cpp_err=$ac_c_preproc_warn_flag
13659 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13660 else
13661 ac_cpp_err=
13662 fi
13663 else
13664 ac_cpp_err=yes
13665 fi
13666 if test -z "$ac_cpp_err"; then
13667 ac_header_preproc=yes
13668 else
13669 echo "$as_me: failed program was:" >&5
13670 sed 's/^/| /' conftest.$ac_ext >&5
13671
13672 ac_header_preproc=no
13673 fi
13674 rm -f conftest.err conftest.$ac_ext
13675 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13676 echo "${ECHO_T}$ac_header_preproc" >&6
13677
13678 # So? What about this header?
13679 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13680 yes:no: )
13681 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13682 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13683 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13684 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13685 ac_header_preproc=yes
13686 ;;
13687 no:yes:* )
13688 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13689 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13690 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13691 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13692 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13693 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13694 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13695 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13696 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13697 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13698 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13699 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13700 (
13701 cat <<\_ASBOX
13702 ## ----------------------------------------- ##
13703 ## Report this to wx-dev@lists.wxwindows.org ##
13704 ## ----------------------------------------- ##
13705 _ASBOX
13706 ) |
13707 sed "s/^/$as_me: WARNING: /" >&2
13708 ;;
13709 esac
13710 echo "$as_me:$LINENO: checking for $ac_header" >&5
13711 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13712 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13713 echo $ECHO_N "(cached) $ECHO_C" >&6
13714 else
13715 eval "$as_ac_Header=\$ac_header_preproc"
13716 fi
13717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13718 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13719
13720 fi
13721 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13722 cat >>confdefs.h <<_ACEOF
13723 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13724 _ACEOF
13725
13726 fi
13727
13728 done
13729
13730
13731 case "${host}" in
13732 *-pc-os2_emx | *-pc-os2-emx )
13733 if test $ac_cv_header_langinfo_h = "yes"; then
13734 LIBS="$LIBS -lintl"
13735 fi
13736 ;;
13737 esac
13738
13739 if test "$wxUSE_GUI" = "yes"; then
13740 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13741
13742 for ac_header in X11/Xlib.h
13743 do
13744 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13745 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13746 echo "$as_me:$LINENO: checking for $ac_header" >&5
13747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13749 echo $ECHO_N "(cached) $ECHO_C" >&6
13750 fi
13751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13752 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13753 else
13754 # Is the header compilable?
13755 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13756 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13757 cat >conftest.$ac_ext <<_ACEOF
13758 /* confdefs.h. */
13759 _ACEOF
13760 cat confdefs.h >>conftest.$ac_ext
13761 cat >>conftest.$ac_ext <<_ACEOF
13762 /* end confdefs.h. */
13763 $ac_includes_default
13764 #include <$ac_header>
13765 _ACEOF
13766 rm -f conftest.$ac_objext
13767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13768 (eval $ac_compile) 2>conftest.er1
13769 ac_status=$?
13770 grep -v '^ *+' conftest.er1 >conftest.err
13771 rm -f conftest.er1
13772 cat conftest.err >&5
13773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13774 (exit $ac_status); } &&
13775 { ac_try='test -z "$ac_c_werror_flag"
13776 || test ! -s conftest.err'
13777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13778 (eval $ac_try) 2>&5
13779 ac_status=$?
13780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13781 (exit $ac_status); }; } &&
13782 { ac_try='test -s conftest.$ac_objext'
13783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13784 (eval $ac_try) 2>&5
13785 ac_status=$?
13786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13787 (exit $ac_status); }; }; then
13788 ac_header_compiler=yes
13789 else
13790 echo "$as_me: failed program was:" >&5
13791 sed 's/^/| /' conftest.$ac_ext >&5
13792
13793 ac_header_compiler=no
13794 fi
13795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13796 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13797 echo "${ECHO_T}$ac_header_compiler" >&6
13798
13799 # Is the header present?
13800 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13801 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13802 cat >conftest.$ac_ext <<_ACEOF
13803 /* confdefs.h. */
13804 _ACEOF
13805 cat confdefs.h >>conftest.$ac_ext
13806 cat >>conftest.$ac_ext <<_ACEOF
13807 /* end confdefs.h. */
13808 #include <$ac_header>
13809 _ACEOF
13810 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13811 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13812 ac_status=$?
13813 grep -v '^ *+' conftest.er1 >conftest.err
13814 rm -f conftest.er1
13815 cat conftest.err >&5
13816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13817 (exit $ac_status); } >/dev/null; then
13818 if test -s conftest.err; then
13819 ac_cpp_err=$ac_c_preproc_warn_flag
13820 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13821 else
13822 ac_cpp_err=
13823 fi
13824 else
13825 ac_cpp_err=yes
13826 fi
13827 if test -z "$ac_cpp_err"; then
13828 ac_header_preproc=yes
13829 else
13830 echo "$as_me: failed program was:" >&5
13831 sed 's/^/| /' conftest.$ac_ext >&5
13832
13833 ac_header_preproc=no
13834 fi
13835 rm -f conftest.err conftest.$ac_ext
13836 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13837 echo "${ECHO_T}$ac_header_preproc" >&6
13838
13839 # So? What about this header?
13840 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13841 yes:no: )
13842 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13843 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13844 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13845 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13846 ac_header_preproc=yes
13847 ;;
13848 no:yes:* )
13849 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13850 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13851 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13852 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13853 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13854 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13855 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13856 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13857 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13858 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13859 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13860 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13861 (
13862 cat <<\_ASBOX
13863 ## ----------------------------------------- ##
13864 ## Report this to wx-dev@lists.wxwindows.org ##
13865 ## ----------------------------------------- ##
13866 _ASBOX
13867 ) |
13868 sed "s/^/$as_me: WARNING: /" >&2
13869 ;;
13870 esac
13871 echo "$as_me:$LINENO: checking for $ac_header" >&5
13872 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13873 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13874 echo $ECHO_N "(cached) $ECHO_C" >&6
13875 else
13876 eval "$as_ac_Header=\$ac_header_preproc"
13877 fi
13878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13879 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13880
13881 fi
13882 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13883 cat >>confdefs.h <<_ACEOF
13884 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13885 _ACEOF
13886
13887 fi
13888
13889 done
13890
13891
13892 for ac_header in X11/XKBlib.h
13893 do
13894 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13895 echo "$as_me:$LINENO: checking for $ac_header" >&5
13896 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13897 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13898 echo $ECHO_N "(cached) $ECHO_C" >&6
13899 else
13900 cat >conftest.$ac_ext <<_ACEOF
13901 /* confdefs.h. */
13902 _ACEOF
13903 cat confdefs.h >>conftest.$ac_ext
13904 cat >>conftest.$ac_ext <<_ACEOF
13905 /* end confdefs.h. */
13906
13907 #if HAVE_X11_XLIB_H
13908 #include <X11/Xlib.h>
13909 #endif
13910
13911
13912 #include <$ac_header>
13913 _ACEOF
13914 rm -f conftest.$ac_objext
13915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13916 (eval $ac_compile) 2>conftest.er1
13917 ac_status=$?
13918 grep -v '^ *+' conftest.er1 >conftest.err
13919 rm -f conftest.er1
13920 cat conftest.err >&5
13921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13922 (exit $ac_status); } &&
13923 { ac_try='test -z "$ac_c_werror_flag"
13924 || test ! -s conftest.err'
13925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13926 (eval $ac_try) 2>&5
13927 ac_status=$?
13928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13929 (exit $ac_status); }; } &&
13930 { ac_try='test -s conftest.$ac_objext'
13931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13932 (eval $ac_try) 2>&5
13933 ac_status=$?
13934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13935 (exit $ac_status); }; }; then
13936 eval "$as_ac_Header=yes"
13937 else
13938 echo "$as_me: failed program was:" >&5
13939 sed 's/^/| /' conftest.$ac_ext >&5
13940
13941 eval "$as_ac_Header=no"
13942 fi
13943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13944 fi
13945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13946 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13947 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13948 cat >>confdefs.h <<_ACEOF
13949 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13950 _ACEOF
13951
13952 fi
13953
13954 done
13955
13956 fi
13957 fi
13958
13959
13960 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13961 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13962 if test "${ac_cv_c_const+set}" = set; then
13963 echo $ECHO_N "(cached) $ECHO_C" >&6
13964 else
13965 cat >conftest.$ac_ext <<_ACEOF
13966 /* confdefs.h. */
13967 _ACEOF
13968 cat confdefs.h >>conftest.$ac_ext
13969 cat >>conftest.$ac_ext <<_ACEOF
13970 /* end confdefs.h. */
13971
13972 int
13973 main ()
13974 {
13975 /* FIXME: Include the comments suggested by Paul. */
13976 #ifndef __cplusplus
13977 /* Ultrix mips cc rejects this. */
13978 typedef int charset[2];
13979 const charset x;
13980 /* SunOS 4.1.1 cc rejects this. */
13981 char const *const *ccp;
13982 char **p;
13983 /* NEC SVR4.0.2 mips cc rejects this. */
13984 struct point {int x, y;};
13985 static struct point const zero = {0,0};
13986 /* AIX XL C 1.02.0.0 rejects this.
13987 It does not let you subtract one const X* pointer from another in
13988 an arm of an if-expression whose if-part is not a constant
13989 expression */
13990 const char *g = "string";
13991 ccp = &g + (g ? g-g : 0);
13992 /* HPUX 7.0 cc rejects these. */
13993 ++ccp;
13994 p = (char**) ccp;
13995 ccp = (char const *const *) p;
13996 { /* SCO 3.2v4 cc rejects this. */
13997 char *t;
13998 char const *s = 0 ? (char *) 0 : (char const *) 0;
13999
14000 *t++ = 0;
14001 }
14002 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14003 int x[] = {25, 17};
14004 const int *foo = &x[0];
14005 ++foo;
14006 }
14007 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14008 typedef const int *iptr;
14009 iptr p = 0;
14010 ++p;
14011 }
14012 { /* AIX XL C 1.02.0.0 rejects this saying
14013 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14014 struct s { int j; const int *ap[3]; };
14015 struct s *b; b->j = 5;
14016 }
14017 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14018 const int foo = 10;
14019 }
14020 #endif
14021
14022 ;
14023 return 0;
14024 }
14025 _ACEOF
14026 rm -f conftest.$ac_objext
14027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14028 (eval $ac_compile) 2>conftest.er1
14029 ac_status=$?
14030 grep -v '^ *+' conftest.er1 >conftest.err
14031 rm -f conftest.er1
14032 cat conftest.err >&5
14033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14034 (exit $ac_status); } &&
14035 { ac_try='test -z "$ac_c_werror_flag"
14036 || test ! -s conftest.err'
14037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14038 (eval $ac_try) 2>&5
14039 ac_status=$?
14040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14041 (exit $ac_status); }; } &&
14042 { ac_try='test -s conftest.$ac_objext'
14043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14044 (eval $ac_try) 2>&5
14045 ac_status=$?
14046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14047 (exit $ac_status); }; }; then
14048 ac_cv_c_const=yes
14049 else
14050 echo "$as_me: failed program was:" >&5
14051 sed 's/^/| /' conftest.$ac_ext >&5
14052
14053 ac_cv_c_const=no
14054 fi
14055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14056 fi
14057 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14058 echo "${ECHO_T}$ac_cv_c_const" >&6
14059 if test $ac_cv_c_const = no; then
14060
14061 cat >>confdefs.h <<\_ACEOF
14062 #define const
14063 _ACEOF
14064
14065 fi
14066
14067 echo "$as_me:$LINENO: checking for inline" >&5
14068 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14069 if test "${ac_cv_c_inline+set}" = set; then
14070 echo $ECHO_N "(cached) $ECHO_C" >&6
14071 else
14072 ac_cv_c_inline=no
14073 for ac_kw in inline __inline__ __inline; do
14074 cat >conftest.$ac_ext <<_ACEOF
14075 /* confdefs.h. */
14076 _ACEOF
14077 cat confdefs.h >>conftest.$ac_ext
14078 cat >>conftest.$ac_ext <<_ACEOF
14079 /* end confdefs.h. */
14080 #ifndef __cplusplus
14081 typedef int foo_t;
14082 static $ac_kw foo_t static_foo () {return 0; }
14083 $ac_kw foo_t foo () {return 0; }
14084 #endif
14085
14086 _ACEOF
14087 rm -f conftest.$ac_objext
14088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14089 (eval $ac_compile) 2>conftest.er1
14090 ac_status=$?
14091 grep -v '^ *+' conftest.er1 >conftest.err
14092 rm -f conftest.er1
14093 cat conftest.err >&5
14094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095 (exit $ac_status); } &&
14096 { ac_try='test -z "$ac_c_werror_flag"
14097 || test ! -s conftest.err'
14098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14099 (eval $ac_try) 2>&5
14100 ac_status=$?
14101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14102 (exit $ac_status); }; } &&
14103 { ac_try='test -s conftest.$ac_objext'
14104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14105 (eval $ac_try) 2>&5
14106 ac_status=$?
14107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14108 (exit $ac_status); }; }; then
14109 ac_cv_c_inline=$ac_kw; break
14110 else
14111 echo "$as_me: failed program was:" >&5
14112 sed 's/^/| /' conftest.$ac_ext >&5
14113
14114 fi
14115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14116 done
14117
14118 fi
14119 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14120 echo "${ECHO_T}$ac_cv_c_inline" >&6
14121
14122
14123 case $ac_cv_c_inline in
14124 inline | yes) ;;
14125 *)
14126 case $ac_cv_c_inline in
14127 no) ac_val=;;
14128 *) ac_val=$ac_cv_c_inline;;
14129 esac
14130 cat >>confdefs.h <<_ACEOF
14131 #ifndef __cplusplus
14132 #define inline $ac_val
14133 #endif
14134 _ACEOF
14135 ;;
14136 esac
14137
14138
14139 echo "$as_me:$LINENO: checking for char" >&5
14140 echo $ECHO_N "checking for char... $ECHO_C" >&6
14141 if test "${ac_cv_type_char+set}" = set; then
14142 echo $ECHO_N "(cached) $ECHO_C" >&6
14143 else
14144 cat >conftest.$ac_ext <<_ACEOF
14145 /* confdefs.h. */
14146 _ACEOF
14147 cat confdefs.h >>conftest.$ac_ext
14148 cat >>conftest.$ac_ext <<_ACEOF
14149 /* end confdefs.h. */
14150 $ac_includes_default
14151 int
14152 main ()
14153 {
14154 if ((char *) 0)
14155 return 0;
14156 if (sizeof (char))
14157 return 0;
14158 ;
14159 return 0;
14160 }
14161 _ACEOF
14162 rm -f conftest.$ac_objext
14163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14164 (eval $ac_compile) 2>conftest.er1
14165 ac_status=$?
14166 grep -v '^ *+' conftest.er1 >conftest.err
14167 rm -f conftest.er1
14168 cat conftest.err >&5
14169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14170 (exit $ac_status); } &&
14171 { ac_try='test -z "$ac_c_werror_flag"
14172 || test ! -s conftest.err'
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); }; } &&
14178 { ac_try='test -s conftest.$ac_objext'
14179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14180 (eval $ac_try) 2>&5
14181 ac_status=$?
14182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14183 (exit $ac_status); }; }; then
14184 ac_cv_type_char=yes
14185 else
14186 echo "$as_me: failed program was:" >&5
14187 sed 's/^/| /' conftest.$ac_ext >&5
14188
14189 ac_cv_type_char=no
14190 fi
14191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14192 fi
14193 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14194 echo "${ECHO_T}$ac_cv_type_char" >&6
14195
14196 echo "$as_me:$LINENO: checking size of char" >&5
14197 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14198 if test "${ac_cv_sizeof_char+set}" = set; then
14199 echo $ECHO_N "(cached) $ECHO_C" >&6
14200 else
14201 if test "$ac_cv_type_char" = yes; then
14202 # The cast to unsigned long works around a bug in the HP C Compiler
14203 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14204 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14205 # This bug is HP SR number 8606223364.
14206 if test "$cross_compiling" = yes; then
14207 # Depending upon the size, compute the lo and hi bounds.
14208 cat >conftest.$ac_ext <<_ACEOF
14209 /* confdefs.h. */
14210 _ACEOF
14211 cat confdefs.h >>conftest.$ac_ext
14212 cat >>conftest.$ac_ext <<_ACEOF
14213 /* end confdefs.h. */
14214 $ac_includes_default
14215 int
14216 main ()
14217 {
14218 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14219 test_array [0] = 0
14220
14221 ;
14222 return 0;
14223 }
14224 _ACEOF
14225 rm -f conftest.$ac_objext
14226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14227 (eval $ac_compile) 2>conftest.er1
14228 ac_status=$?
14229 grep -v '^ *+' conftest.er1 >conftest.err
14230 rm -f conftest.er1
14231 cat conftest.err >&5
14232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14233 (exit $ac_status); } &&
14234 { ac_try='test -z "$ac_c_werror_flag"
14235 || test ! -s conftest.err'
14236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14237 (eval $ac_try) 2>&5
14238 ac_status=$?
14239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14240 (exit $ac_status); }; } &&
14241 { ac_try='test -s conftest.$ac_objext'
14242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14243 (eval $ac_try) 2>&5
14244 ac_status=$?
14245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14246 (exit $ac_status); }; }; then
14247 ac_lo=0 ac_mid=0
14248 while :; do
14249 cat >conftest.$ac_ext <<_ACEOF
14250 /* confdefs.h. */
14251 _ACEOF
14252 cat confdefs.h >>conftest.$ac_ext
14253 cat >>conftest.$ac_ext <<_ACEOF
14254 /* end confdefs.h. */
14255 $ac_includes_default
14256 int
14257 main ()
14258 {
14259 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14260 test_array [0] = 0
14261
14262 ;
14263 return 0;
14264 }
14265 _ACEOF
14266 rm -f conftest.$ac_objext
14267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14268 (eval $ac_compile) 2>conftest.er1
14269 ac_status=$?
14270 grep -v '^ *+' conftest.er1 >conftest.err
14271 rm -f conftest.er1
14272 cat conftest.err >&5
14273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14274 (exit $ac_status); } &&
14275 { ac_try='test -z "$ac_c_werror_flag"
14276 || test ! -s conftest.err'
14277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14278 (eval $ac_try) 2>&5
14279 ac_status=$?
14280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14281 (exit $ac_status); }; } &&
14282 { ac_try='test -s conftest.$ac_objext'
14283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14284 (eval $ac_try) 2>&5
14285 ac_status=$?
14286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14287 (exit $ac_status); }; }; then
14288 ac_hi=$ac_mid; break
14289 else
14290 echo "$as_me: failed program was:" >&5
14291 sed 's/^/| /' conftest.$ac_ext >&5
14292
14293 ac_lo=`expr $ac_mid + 1`
14294 if test $ac_lo -le $ac_mid; then
14295 ac_lo= ac_hi=
14296 break
14297 fi
14298 ac_mid=`expr 2 '*' $ac_mid + 1`
14299 fi
14300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14301 done
14302 else
14303 echo "$as_me: failed program was:" >&5
14304 sed 's/^/| /' conftest.$ac_ext >&5
14305
14306 cat >conftest.$ac_ext <<_ACEOF
14307 /* confdefs.h. */
14308 _ACEOF
14309 cat confdefs.h >>conftest.$ac_ext
14310 cat >>conftest.$ac_ext <<_ACEOF
14311 /* end confdefs.h. */
14312 $ac_includes_default
14313 int
14314 main ()
14315 {
14316 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14317 test_array [0] = 0
14318
14319 ;
14320 return 0;
14321 }
14322 _ACEOF
14323 rm -f conftest.$ac_objext
14324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14325 (eval $ac_compile) 2>conftest.er1
14326 ac_status=$?
14327 grep -v '^ *+' conftest.er1 >conftest.err
14328 rm -f conftest.er1
14329 cat conftest.err >&5
14330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14331 (exit $ac_status); } &&
14332 { ac_try='test -z "$ac_c_werror_flag"
14333 || test ! -s conftest.err'
14334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14335 (eval $ac_try) 2>&5
14336 ac_status=$?
14337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14338 (exit $ac_status); }; } &&
14339 { ac_try='test -s conftest.$ac_objext'
14340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14341 (eval $ac_try) 2>&5
14342 ac_status=$?
14343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14344 (exit $ac_status); }; }; then
14345 ac_hi=-1 ac_mid=-1
14346 while :; do
14347 cat >conftest.$ac_ext <<_ACEOF
14348 /* confdefs.h. */
14349 _ACEOF
14350 cat confdefs.h >>conftest.$ac_ext
14351 cat >>conftest.$ac_ext <<_ACEOF
14352 /* end confdefs.h. */
14353 $ac_includes_default
14354 int
14355 main ()
14356 {
14357 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14358 test_array [0] = 0
14359
14360 ;
14361 return 0;
14362 }
14363 _ACEOF
14364 rm -f conftest.$ac_objext
14365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14366 (eval $ac_compile) 2>conftest.er1
14367 ac_status=$?
14368 grep -v '^ *+' conftest.er1 >conftest.err
14369 rm -f conftest.er1
14370 cat conftest.err >&5
14371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14372 (exit $ac_status); } &&
14373 { ac_try='test -z "$ac_c_werror_flag"
14374 || test ! -s conftest.err'
14375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14376 (eval $ac_try) 2>&5
14377 ac_status=$?
14378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14379 (exit $ac_status); }; } &&
14380 { ac_try='test -s conftest.$ac_objext'
14381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14382 (eval $ac_try) 2>&5
14383 ac_status=$?
14384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14385 (exit $ac_status); }; }; then
14386 ac_lo=$ac_mid; break
14387 else
14388 echo "$as_me: failed program was:" >&5
14389 sed 's/^/| /' conftest.$ac_ext >&5
14390
14391 ac_hi=`expr '(' $ac_mid ')' - 1`
14392 if test $ac_mid -le $ac_hi; then
14393 ac_lo= ac_hi=
14394 break
14395 fi
14396 ac_mid=`expr 2 '*' $ac_mid`
14397 fi
14398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14399 done
14400 else
14401 echo "$as_me: failed program was:" >&5
14402 sed 's/^/| /' conftest.$ac_ext >&5
14403
14404 ac_lo= ac_hi=
14405 fi
14406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14407 fi
14408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14409 # Binary search between lo and hi bounds.
14410 while test "x$ac_lo" != "x$ac_hi"; do
14411 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14412 cat >conftest.$ac_ext <<_ACEOF
14413 /* confdefs.h. */
14414 _ACEOF
14415 cat confdefs.h >>conftest.$ac_ext
14416 cat >>conftest.$ac_ext <<_ACEOF
14417 /* end confdefs.h. */
14418 $ac_includes_default
14419 int
14420 main ()
14421 {
14422 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14423 test_array [0] = 0
14424
14425 ;
14426 return 0;
14427 }
14428 _ACEOF
14429 rm -f conftest.$ac_objext
14430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14431 (eval $ac_compile) 2>conftest.er1
14432 ac_status=$?
14433 grep -v '^ *+' conftest.er1 >conftest.err
14434 rm -f conftest.er1
14435 cat conftest.err >&5
14436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14437 (exit $ac_status); } &&
14438 { ac_try='test -z "$ac_c_werror_flag"
14439 || test ! -s conftest.err'
14440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14441 (eval $ac_try) 2>&5
14442 ac_status=$?
14443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14444 (exit $ac_status); }; } &&
14445 { ac_try='test -s conftest.$ac_objext'
14446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14447 (eval $ac_try) 2>&5
14448 ac_status=$?
14449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14450 (exit $ac_status); }; }; then
14451 ac_hi=$ac_mid
14452 else
14453 echo "$as_me: failed program was:" >&5
14454 sed 's/^/| /' conftest.$ac_ext >&5
14455
14456 ac_lo=`expr '(' $ac_mid ')' + 1`
14457 fi
14458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14459 done
14460 case $ac_lo in
14461 ?*) ac_cv_sizeof_char=$ac_lo;;
14462 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14463 See \`config.log' for more details." >&5
14464 echo "$as_me: error: cannot compute sizeof (char), 77
14465 See \`config.log' for more details." >&2;}
14466 { (exit 1); exit 1; }; } ;;
14467 esac
14468 else
14469 if test "$cross_compiling" = yes; then
14470 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14471 See \`config.log' for more details." >&5
14472 echo "$as_me: error: cannot run test program while cross compiling
14473 See \`config.log' for more details." >&2;}
14474 { (exit 1); exit 1; }; }
14475 else
14476 cat >conftest.$ac_ext <<_ACEOF
14477 /* confdefs.h. */
14478 _ACEOF
14479 cat confdefs.h >>conftest.$ac_ext
14480 cat >>conftest.$ac_ext <<_ACEOF
14481 /* end confdefs.h. */
14482 $ac_includes_default
14483 long longval () { return (long) (sizeof (char)); }
14484 unsigned long ulongval () { return (long) (sizeof (char)); }
14485 #include <stdio.h>
14486 #include <stdlib.h>
14487 int
14488 main ()
14489 {
14490
14491 FILE *f = fopen ("conftest.val", "w");
14492 if (! f)
14493 exit (1);
14494 if (((long) (sizeof (char))) < 0)
14495 {
14496 long i = longval ();
14497 if (i != ((long) (sizeof (char))))
14498 exit (1);
14499 fprintf (f, "%ld\n", i);
14500 }
14501 else
14502 {
14503 unsigned long i = ulongval ();
14504 if (i != ((long) (sizeof (char))))
14505 exit (1);
14506 fprintf (f, "%lu\n", i);
14507 }
14508 exit (ferror (f) || fclose (f) != 0);
14509
14510 ;
14511 return 0;
14512 }
14513 _ACEOF
14514 rm -f conftest$ac_exeext
14515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14516 (eval $ac_link) 2>&5
14517 ac_status=$?
14518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14519 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14521 (eval $ac_try) 2>&5
14522 ac_status=$?
14523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14524 (exit $ac_status); }; }; then
14525 ac_cv_sizeof_char=`cat conftest.val`
14526 else
14527 echo "$as_me: program exited with status $ac_status" >&5
14528 echo "$as_me: failed program was:" >&5
14529 sed 's/^/| /' conftest.$ac_ext >&5
14530
14531 ( exit $ac_status )
14532 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14533 See \`config.log' for more details." >&5
14534 echo "$as_me: error: cannot compute sizeof (char), 77
14535 See \`config.log' for more details." >&2;}
14536 { (exit 1); exit 1; }; }
14537 fi
14538 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14539 fi
14540 fi
14541 rm -f conftest.val
14542 else
14543 ac_cv_sizeof_char=0
14544 fi
14545 fi
14546 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14547 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14548 cat >>confdefs.h <<_ACEOF
14549 #define SIZEOF_CHAR $ac_cv_sizeof_char
14550 _ACEOF
14551
14552
14553 echo "$as_me:$LINENO: checking for short" >&5
14554 echo $ECHO_N "checking for short... $ECHO_C" >&6
14555 if test "${ac_cv_type_short+set}" = set; then
14556 echo $ECHO_N "(cached) $ECHO_C" >&6
14557 else
14558 cat >conftest.$ac_ext <<_ACEOF
14559 /* confdefs.h. */
14560 _ACEOF
14561 cat confdefs.h >>conftest.$ac_ext
14562 cat >>conftest.$ac_ext <<_ACEOF
14563 /* end confdefs.h. */
14564 $ac_includes_default
14565 int
14566 main ()
14567 {
14568 if ((short *) 0)
14569 return 0;
14570 if (sizeof (short))
14571 return 0;
14572 ;
14573 return 0;
14574 }
14575 _ACEOF
14576 rm -f conftest.$ac_objext
14577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14578 (eval $ac_compile) 2>conftest.er1
14579 ac_status=$?
14580 grep -v '^ *+' conftest.er1 >conftest.err
14581 rm -f conftest.er1
14582 cat conftest.err >&5
14583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14584 (exit $ac_status); } &&
14585 { ac_try='test -z "$ac_c_werror_flag"
14586 || test ! -s conftest.err'
14587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14588 (eval $ac_try) 2>&5
14589 ac_status=$?
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 (exit $ac_status); }; } &&
14592 { ac_try='test -s conftest.$ac_objext'
14593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14594 (eval $ac_try) 2>&5
14595 ac_status=$?
14596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597 (exit $ac_status); }; }; then
14598 ac_cv_type_short=yes
14599 else
14600 echo "$as_me: failed program was:" >&5
14601 sed 's/^/| /' conftest.$ac_ext >&5
14602
14603 ac_cv_type_short=no
14604 fi
14605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14606 fi
14607 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14608 echo "${ECHO_T}$ac_cv_type_short" >&6
14609
14610 echo "$as_me:$LINENO: checking size of short" >&5
14611 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14612 if test "${ac_cv_sizeof_short+set}" = set; then
14613 echo $ECHO_N "(cached) $ECHO_C" >&6
14614 else
14615 if test "$ac_cv_type_short" = yes; then
14616 # The cast to unsigned long works around a bug in the HP C Compiler
14617 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14618 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14619 # This bug is HP SR number 8606223364.
14620 if test "$cross_compiling" = yes; then
14621 # Depending upon the size, compute the lo and hi bounds.
14622 cat >conftest.$ac_ext <<_ACEOF
14623 /* confdefs.h. */
14624 _ACEOF
14625 cat confdefs.h >>conftest.$ac_ext
14626 cat >>conftest.$ac_ext <<_ACEOF
14627 /* end confdefs.h. */
14628 $ac_includes_default
14629 int
14630 main ()
14631 {
14632 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14633 test_array [0] = 0
14634
14635 ;
14636 return 0;
14637 }
14638 _ACEOF
14639 rm -f conftest.$ac_objext
14640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14641 (eval $ac_compile) 2>conftest.er1
14642 ac_status=$?
14643 grep -v '^ *+' conftest.er1 >conftest.err
14644 rm -f conftest.er1
14645 cat conftest.err >&5
14646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14647 (exit $ac_status); } &&
14648 { ac_try='test -z "$ac_c_werror_flag"
14649 || test ! -s conftest.err'
14650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14651 (eval $ac_try) 2>&5
14652 ac_status=$?
14653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14654 (exit $ac_status); }; } &&
14655 { ac_try='test -s conftest.$ac_objext'
14656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14657 (eval $ac_try) 2>&5
14658 ac_status=$?
14659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14660 (exit $ac_status); }; }; then
14661 ac_lo=0 ac_mid=0
14662 while :; do
14663 cat >conftest.$ac_ext <<_ACEOF
14664 /* confdefs.h. */
14665 _ACEOF
14666 cat confdefs.h >>conftest.$ac_ext
14667 cat >>conftest.$ac_ext <<_ACEOF
14668 /* end confdefs.h. */
14669 $ac_includes_default
14670 int
14671 main ()
14672 {
14673 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14674 test_array [0] = 0
14675
14676 ;
14677 return 0;
14678 }
14679 _ACEOF
14680 rm -f conftest.$ac_objext
14681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14682 (eval $ac_compile) 2>conftest.er1
14683 ac_status=$?
14684 grep -v '^ *+' conftest.er1 >conftest.err
14685 rm -f conftest.er1
14686 cat conftest.err >&5
14687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14688 (exit $ac_status); } &&
14689 { ac_try='test -z "$ac_c_werror_flag"
14690 || test ! -s conftest.err'
14691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14692 (eval $ac_try) 2>&5
14693 ac_status=$?
14694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14695 (exit $ac_status); }; } &&
14696 { ac_try='test -s conftest.$ac_objext'
14697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14698 (eval $ac_try) 2>&5
14699 ac_status=$?
14700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14701 (exit $ac_status); }; }; then
14702 ac_hi=$ac_mid; break
14703 else
14704 echo "$as_me: failed program was:" >&5
14705 sed 's/^/| /' conftest.$ac_ext >&5
14706
14707 ac_lo=`expr $ac_mid + 1`
14708 if test $ac_lo -le $ac_mid; then
14709 ac_lo= ac_hi=
14710 break
14711 fi
14712 ac_mid=`expr 2 '*' $ac_mid + 1`
14713 fi
14714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14715 done
14716 else
14717 echo "$as_me: failed program was:" >&5
14718 sed 's/^/| /' conftest.$ac_ext >&5
14719
14720 cat >conftest.$ac_ext <<_ACEOF
14721 /* confdefs.h. */
14722 _ACEOF
14723 cat confdefs.h >>conftest.$ac_ext
14724 cat >>conftest.$ac_ext <<_ACEOF
14725 /* end confdefs.h. */
14726 $ac_includes_default
14727 int
14728 main ()
14729 {
14730 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14731 test_array [0] = 0
14732
14733 ;
14734 return 0;
14735 }
14736 _ACEOF
14737 rm -f conftest.$ac_objext
14738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14739 (eval $ac_compile) 2>conftest.er1
14740 ac_status=$?
14741 grep -v '^ *+' conftest.er1 >conftest.err
14742 rm -f conftest.er1
14743 cat conftest.err >&5
14744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14745 (exit $ac_status); } &&
14746 { ac_try='test -z "$ac_c_werror_flag"
14747 || test ! -s conftest.err'
14748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14749 (eval $ac_try) 2>&5
14750 ac_status=$?
14751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14752 (exit $ac_status); }; } &&
14753 { ac_try='test -s conftest.$ac_objext'
14754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14755 (eval $ac_try) 2>&5
14756 ac_status=$?
14757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14758 (exit $ac_status); }; }; then
14759 ac_hi=-1 ac_mid=-1
14760 while :; do
14761 cat >conftest.$ac_ext <<_ACEOF
14762 /* confdefs.h. */
14763 _ACEOF
14764 cat confdefs.h >>conftest.$ac_ext
14765 cat >>conftest.$ac_ext <<_ACEOF
14766 /* end confdefs.h. */
14767 $ac_includes_default
14768 int
14769 main ()
14770 {
14771 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14772 test_array [0] = 0
14773
14774 ;
14775 return 0;
14776 }
14777 _ACEOF
14778 rm -f conftest.$ac_objext
14779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14780 (eval $ac_compile) 2>conftest.er1
14781 ac_status=$?
14782 grep -v '^ *+' conftest.er1 >conftest.err
14783 rm -f conftest.er1
14784 cat conftest.err >&5
14785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14786 (exit $ac_status); } &&
14787 { ac_try='test -z "$ac_c_werror_flag"
14788 || test ! -s conftest.err'
14789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14790 (eval $ac_try) 2>&5
14791 ac_status=$?
14792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14793 (exit $ac_status); }; } &&
14794 { ac_try='test -s conftest.$ac_objext'
14795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14796 (eval $ac_try) 2>&5
14797 ac_status=$?
14798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14799 (exit $ac_status); }; }; then
14800 ac_lo=$ac_mid; break
14801 else
14802 echo "$as_me: failed program was:" >&5
14803 sed 's/^/| /' conftest.$ac_ext >&5
14804
14805 ac_hi=`expr '(' $ac_mid ')' - 1`
14806 if test $ac_mid -le $ac_hi; then
14807 ac_lo= ac_hi=
14808 break
14809 fi
14810 ac_mid=`expr 2 '*' $ac_mid`
14811 fi
14812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14813 done
14814 else
14815 echo "$as_me: failed program was:" >&5
14816 sed 's/^/| /' conftest.$ac_ext >&5
14817
14818 ac_lo= ac_hi=
14819 fi
14820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14821 fi
14822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14823 # Binary search between lo and hi bounds.
14824 while test "x$ac_lo" != "x$ac_hi"; do
14825 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14826 cat >conftest.$ac_ext <<_ACEOF
14827 /* confdefs.h. */
14828 _ACEOF
14829 cat confdefs.h >>conftest.$ac_ext
14830 cat >>conftest.$ac_ext <<_ACEOF
14831 /* end confdefs.h. */
14832 $ac_includes_default
14833 int
14834 main ()
14835 {
14836 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14837 test_array [0] = 0
14838
14839 ;
14840 return 0;
14841 }
14842 _ACEOF
14843 rm -f conftest.$ac_objext
14844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14845 (eval $ac_compile) 2>conftest.er1
14846 ac_status=$?
14847 grep -v '^ *+' conftest.er1 >conftest.err
14848 rm -f conftest.er1
14849 cat conftest.err >&5
14850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14851 (exit $ac_status); } &&
14852 { ac_try='test -z "$ac_c_werror_flag"
14853 || test ! -s conftest.err'
14854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14855 (eval $ac_try) 2>&5
14856 ac_status=$?
14857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14858 (exit $ac_status); }; } &&
14859 { ac_try='test -s conftest.$ac_objext'
14860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14861 (eval $ac_try) 2>&5
14862 ac_status=$?
14863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14864 (exit $ac_status); }; }; then
14865 ac_hi=$ac_mid
14866 else
14867 echo "$as_me: failed program was:" >&5
14868 sed 's/^/| /' conftest.$ac_ext >&5
14869
14870 ac_lo=`expr '(' $ac_mid ')' + 1`
14871 fi
14872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14873 done
14874 case $ac_lo in
14875 ?*) ac_cv_sizeof_short=$ac_lo;;
14876 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14877 See \`config.log' for more details." >&5
14878 echo "$as_me: error: cannot compute sizeof (short), 77
14879 See \`config.log' for more details." >&2;}
14880 { (exit 1); exit 1; }; } ;;
14881 esac
14882 else
14883 if test "$cross_compiling" = yes; then
14884 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14885 See \`config.log' for more details." >&5
14886 echo "$as_me: error: cannot run test program while cross compiling
14887 See \`config.log' for more details." >&2;}
14888 { (exit 1); exit 1; }; }
14889 else
14890 cat >conftest.$ac_ext <<_ACEOF
14891 /* confdefs.h. */
14892 _ACEOF
14893 cat confdefs.h >>conftest.$ac_ext
14894 cat >>conftest.$ac_ext <<_ACEOF
14895 /* end confdefs.h. */
14896 $ac_includes_default
14897 long longval () { return (long) (sizeof (short)); }
14898 unsigned long ulongval () { return (long) (sizeof (short)); }
14899 #include <stdio.h>
14900 #include <stdlib.h>
14901 int
14902 main ()
14903 {
14904
14905 FILE *f = fopen ("conftest.val", "w");
14906 if (! f)
14907 exit (1);
14908 if (((long) (sizeof (short))) < 0)
14909 {
14910 long i = longval ();
14911 if (i != ((long) (sizeof (short))))
14912 exit (1);
14913 fprintf (f, "%ld\n", i);
14914 }
14915 else
14916 {
14917 unsigned long i = ulongval ();
14918 if (i != ((long) (sizeof (short))))
14919 exit (1);
14920 fprintf (f, "%lu\n", i);
14921 }
14922 exit (ferror (f) || fclose (f) != 0);
14923
14924 ;
14925 return 0;
14926 }
14927 _ACEOF
14928 rm -f conftest$ac_exeext
14929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14930 (eval $ac_link) 2>&5
14931 ac_status=$?
14932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14933 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14935 (eval $ac_try) 2>&5
14936 ac_status=$?
14937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14938 (exit $ac_status); }; }; then
14939 ac_cv_sizeof_short=`cat conftest.val`
14940 else
14941 echo "$as_me: program exited with status $ac_status" >&5
14942 echo "$as_me: failed program was:" >&5
14943 sed 's/^/| /' conftest.$ac_ext >&5
14944
14945 ( exit $ac_status )
14946 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14947 See \`config.log' for more details." >&5
14948 echo "$as_me: error: cannot compute sizeof (short), 77
14949 See \`config.log' for more details." >&2;}
14950 { (exit 1); exit 1; }; }
14951 fi
14952 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14953 fi
14954 fi
14955 rm -f conftest.val
14956 else
14957 ac_cv_sizeof_short=0
14958 fi
14959 fi
14960 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14961 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14962 cat >>confdefs.h <<_ACEOF
14963 #define SIZEOF_SHORT $ac_cv_sizeof_short
14964 _ACEOF
14965
14966
14967 echo "$as_me:$LINENO: checking for void *" >&5
14968 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14969 if test "${ac_cv_type_void_p+set}" = set; then
14970 echo $ECHO_N "(cached) $ECHO_C" >&6
14971 else
14972 cat >conftest.$ac_ext <<_ACEOF
14973 /* confdefs.h. */
14974 _ACEOF
14975 cat confdefs.h >>conftest.$ac_ext
14976 cat >>conftest.$ac_ext <<_ACEOF
14977 /* end confdefs.h. */
14978 $ac_includes_default
14979 int
14980 main ()
14981 {
14982 if ((void * *) 0)
14983 return 0;
14984 if (sizeof (void *))
14985 return 0;
14986 ;
14987 return 0;
14988 }
14989 _ACEOF
14990 rm -f conftest.$ac_objext
14991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14992 (eval $ac_compile) 2>conftest.er1
14993 ac_status=$?
14994 grep -v '^ *+' conftest.er1 >conftest.err
14995 rm -f conftest.er1
14996 cat conftest.err >&5
14997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14998 (exit $ac_status); } &&
14999 { ac_try='test -z "$ac_c_werror_flag"
15000 || test ! -s conftest.err'
15001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15002 (eval $ac_try) 2>&5
15003 ac_status=$?
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); }; } &&
15006 { ac_try='test -s conftest.$ac_objext'
15007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15008 (eval $ac_try) 2>&5
15009 ac_status=$?
15010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15011 (exit $ac_status); }; }; then
15012 ac_cv_type_void_p=yes
15013 else
15014 echo "$as_me: failed program was:" >&5
15015 sed 's/^/| /' conftest.$ac_ext >&5
15016
15017 ac_cv_type_void_p=no
15018 fi
15019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15020 fi
15021 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15022 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15023
15024 echo "$as_me:$LINENO: checking size of void *" >&5
15025 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15026 if test "${ac_cv_sizeof_void_p+set}" = set; then
15027 echo $ECHO_N "(cached) $ECHO_C" >&6
15028 else
15029 if test "$ac_cv_type_void_p" = yes; then
15030 # The cast to unsigned long works around a bug in the HP C Compiler
15031 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15032 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15033 # This bug is HP SR number 8606223364.
15034 if test "$cross_compiling" = yes; then
15035 # Depending upon the size, compute the lo and hi bounds.
15036 cat >conftest.$ac_ext <<_ACEOF
15037 /* confdefs.h. */
15038 _ACEOF
15039 cat confdefs.h >>conftest.$ac_ext
15040 cat >>conftest.$ac_ext <<_ACEOF
15041 /* end confdefs.h. */
15042 $ac_includes_default
15043 int
15044 main ()
15045 {
15046 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15047 test_array [0] = 0
15048
15049 ;
15050 return 0;
15051 }
15052 _ACEOF
15053 rm -f conftest.$ac_objext
15054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15055 (eval $ac_compile) 2>conftest.er1
15056 ac_status=$?
15057 grep -v '^ *+' conftest.er1 >conftest.err
15058 rm -f conftest.er1
15059 cat conftest.err >&5
15060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15061 (exit $ac_status); } &&
15062 { ac_try='test -z "$ac_c_werror_flag"
15063 || test ! -s conftest.err'
15064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15065 (eval $ac_try) 2>&5
15066 ac_status=$?
15067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15068 (exit $ac_status); }; } &&
15069 { ac_try='test -s conftest.$ac_objext'
15070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15071 (eval $ac_try) 2>&5
15072 ac_status=$?
15073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15074 (exit $ac_status); }; }; then
15075 ac_lo=0 ac_mid=0
15076 while :; do
15077 cat >conftest.$ac_ext <<_ACEOF
15078 /* confdefs.h. */
15079 _ACEOF
15080 cat confdefs.h >>conftest.$ac_ext
15081 cat >>conftest.$ac_ext <<_ACEOF
15082 /* end confdefs.h. */
15083 $ac_includes_default
15084 int
15085 main ()
15086 {
15087 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15088 test_array [0] = 0
15089
15090 ;
15091 return 0;
15092 }
15093 _ACEOF
15094 rm -f conftest.$ac_objext
15095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15096 (eval $ac_compile) 2>conftest.er1
15097 ac_status=$?
15098 grep -v '^ *+' conftest.er1 >conftest.err
15099 rm -f conftest.er1
15100 cat conftest.err >&5
15101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15102 (exit $ac_status); } &&
15103 { ac_try='test -z "$ac_c_werror_flag"
15104 || test ! -s conftest.err'
15105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15106 (eval $ac_try) 2>&5
15107 ac_status=$?
15108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15109 (exit $ac_status); }; } &&
15110 { ac_try='test -s conftest.$ac_objext'
15111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15112 (eval $ac_try) 2>&5
15113 ac_status=$?
15114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15115 (exit $ac_status); }; }; then
15116 ac_hi=$ac_mid; break
15117 else
15118 echo "$as_me: failed program was:" >&5
15119 sed 's/^/| /' conftest.$ac_ext >&5
15120
15121 ac_lo=`expr $ac_mid + 1`
15122 if test $ac_lo -le $ac_mid; then
15123 ac_lo= ac_hi=
15124 break
15125 fi
15126 ac_mid=`expr 2 '*' $ac_mid + 1`
15127 fi
15128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15129 done
15130 else
15131 echo "$as_me: failed program was:" >&5
15132 sed 's/^/| /' conftest.$ac_ext >&5
15133
15134 cat >conftest.$ac_ext <<_ACEOF
15135 /* confdefs.h. */
15136 _ACEOF
15137 cat confdefs.h >>conftest.$ac_ext
15138 cat >>conftest.$ac_ext <<_ACEOF
15139 /* end confdefs.h. */
15140 $ac_includes_default
15141 int
15142 main ()
15143 {
15144 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15145 test_array [0] = 0
15146
15147 ;
15148 return 0;
15149 }
15150 _ACEOF
15151 rm -f conftest.$ac_objext
15152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15153 (eval $ac_compile) 2>conftest.er1
15154 ac_status=$?
15155 grep -v '^ *+' conftest.er1 >conftest.err
15156 rm -f conftest.er1
15157 cat conftest.err >&5
15158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15159 (exit $ac_status); } &&
15160 { ac_try='test -z "$ac_c_werror_flag"
15161 || test ! -s conftest.err'
15162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15163 (eval $ac_try) 2>&5
15164 ac_status=$?
15165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15166 (exit $ac_status); }; } &&
15167 { ac_try='test -s conftest.$ac_objext'
15168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15169 (eval $ac_try) 2>&5
15170 ac_status=$?
15171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172 (exit $ac_status); }; }; then
15173 ac_hi=-1 ac_mid=-1
15174 while :; do
15175 cat >conftest.$ac_ext <<_ACEOF
15176 /* confdefs.h. */
15177 _ACEOF
15178 cat confdefs.h >>conftest.$ac_ext
15179 cat >>conftest.$ac_ext <<_ACEOF
15180 /* end confdefs.h. */
15181 $ac_includes_default
15182 int
15183 main ()
15184 {
15185 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15186 test_array [0] = 0
15187
15188 ;
15189 return 0;
15190 }
15191 _ACEOF
15192 rm -f conftest.$ac_objext
15193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15194 (eval $ac_compile) 2>conftest.er1
15195 ac_status=$?
15196 grep -v '^ *+' conftest.er1 >conftest.err
15197 rm -f conftest.er1
15198 cat conftest.err >&5
15199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15200 (exit $ac_status); } &&
15201 { ac_try='test -z "$ac_c_werror_flag"
15202 || test ! -s conftest.err'
15203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15204 (eval $ac_try) 2>&5
15205 ac_status=$?
15206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15207 (exit $ac_status); }; } &&
15208 { ac_try='test -s conftest.$ac_objext'
15209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15210 (eval $ac_try) 2>&5
15211 ac_status=$?
15212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15213 (exit $ac_status); }; }; then
15214 ac_lo=$ac_mid; break
15215 else
15216 echo "$as_me: failed program was:" >&5
15217 sed 's/^/| /' conftest.$ac_ext >&5
15218
15219 ac_hi=`expr '(' $ac_mid ')' - 1`
15220 if test $ac_mid -le $ac_hi; then
15221 ac_lo= ac_hi=
15222 break
15223 fi
15224 ac_mid=`expr 2 '*' $ac_mid`
15225 fi
15226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15227 done
15228 else
15229 echo "$as_me: failed program was:" >&5
15230 sed 's/^/| /' conftest.$ac_ext >&5
15231
15232 ac_lo= ac_hi=
15233 fi
15234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15235 fi
15236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15237 # Binary search between lo and hi bounds.
15238 while test "x$ac_lo" != "x$ac_hi"; do
15239 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15240 cat >conftest.$ac_ext <<_ACEOF
15241 /* confdefs.h. */
15242 _ACEOF
15243 cat confdefs.h >>conftest.$ac_ext
15244 cat >>conftest.$ac_ext <<_ACEOF
15245 /* end confdefs.h. */
15246 $ac_includes_default
15247 int
15248 main ()
15249 {
15250 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15251 test_array [0] = 0
15252
15253 ;
15254 return 0;
15255 }
15256 _ACEOF
15257 rm -f conftest.$ac_objext
15258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15259 (eval $ac_compile) 2>conftest.er1
15260 ac_status=$?
15261 grep -v '^ *+' conftest.er1 >conftest.err
15262 rm -f conftest.er1
15263 cat conftest.err >&5
15264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15265 (exit $ac_status); } &&
15266 { ac_try='test -z "$ac_c_werror_flag"
15267 || test ! -s conftest.err'
15268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15269 (eval $ac_try) 2>&5
15270 ac_status=$?
15271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15272 (exit $ac_status); }; } &&
15273 { ac_try='test -s conftest.$ac_objext'
15274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15275 (eval $ac_try) 2>&5
15276 ac_status=$?
15277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15278 (exit $ac_status); }; }; then
15279 ac_hi=$ac_mid
15280 else
15281 echo "$as_me: failed program was:" >&5
15282 sed 's/^/| /' conftest.$ac_ext >&5
15283
15284 ac_lo=`expr '(' $ac_mid ')' + 1`
15285 fi
15286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15287 done
15288 case $ac_lo in
15289 ?*) ac_cv_sizeof_void_p=$ac_lo;;
15290 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15291 See \`config.log' for more details." >&5
15292 echo "$as_me: error: cannot compute sizeof (void *), 77
15293 See \`config.log' for more details." >&2;}
15294 { (exit 1); exit 1; }; } ;;
15295 esac
15296 else
15297 if test "$cross_compiling" = yes; then
15298 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15299 See \`config.log' for more details." >&5
15300 echo "$as_me: error: cannot run test program while cross compiling
15301 See \`config.log' for more details." >&2;}
15302 { (exit 1); exit 1; }; }
15303 else
15304 cat >conftest.$ac_ext <<_ACEOF
15305 /* confdefs.h. */
15306 _ACEOF
15307 cat confdefs.h >>conftest.$ac_ext
15308 cat >>conftest.$ac_ext <<_ACEOF
15309 /* end confdefs.h. */
15310 $ac_includes_default
15311 long longval () { return (long) (sizeof (void *)); }
15312 unsigned long ulongval () { return (long) (sizeof (void *)); }
15313 #include <stdio.h>
15314 #include <stdlib.h>
15315 int
15316 main ()
15317 {
15318
15319 FILE *f = fopen ("conftest.val", "w");
15320 if (! f)
15321 exit (1);
15322 if (((long) (sizeof (void *))) < 0)
15323 {
15324 long i = longval ();
15325 if (i != ((long) (sizeof (void *))))
15326 exit (1);
15327 fprintf (f, "%ld\n", i);
15328 }
15329 else
15330 {
15331 unsigned long i = ulongval ();
15332 if (i != ((long) (sizeof (void *))))
15333 exit (1);
15334 fprintf (f, "%lu\n", i);
15335 }
15336 exit (ferror (f) || fclose (f) != 0);
15337
15338 ;
15339 return 0;
15340 }
15341 _ACEOF
15342 rm -f conftest$ac_exeext
15343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15344 (eval $ac_link) 2>&5
15345 ac_status=$?
15346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15347 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15349 (eval $ac_try) 2>&5
15350 ac_status=$?
15351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15352 (exit $ac_status); }; }; then
15353 ac_cv_sizeof_void_p=`cat conftest.val`
15354 else
15355 echo "$as_me: program exited with status $ac_status" >&5
15356 echo "$as_me: failed program was:" >&5
15357 sed 's/^/| /' conftest.$ac_ext >&5
15358
15359 ( exit $ac_status )
15360 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15361 See \`config.log' for more details." >&5
15362 echo "$as_me: error: cannot compute sizeof (void *), 77
15363 See \`config.log' for more details." >&2;}
15364 { (exit 1); exit 1; }; }
15365 fi
15366 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15367 fi
15368 fi
15369 rm -f conftest.val
15370 else
15371 ac_cv_sizeof_void_p=0
15372 fi
15373 fi
15374 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15375 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15376 cat >>confdefs.h <<_ACEOF
15377 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15378 _ACEOF
15379
15380
15381 echo "$as_me:$LINENO: checking for int" >&5
15382 echo $ECHO_N "checking for int... $ECHO_C" >&6
15383 if test "${ac_cv_type_int+set}" = set; then
15384 echo $ECHO_N "(cached) $ECHO_C" >&6
15385 else
15386 cat >conftest.$ac_ext <<_ACEOF
15387 /* confdefs.h. */
15388 _ACEOF
15389 cat confdefs.h >>conftest.$ac_ext
15390 cat >>conftest.$ac_ext <<_ACEOF
15391 /* end confdefs.h. */
15392 $ac_includes_default
15393 int
15394 main ()
15395 {
15396 if ((int *) 0)
15397 return 0;
15398 if (sizeof (int))
15399 return 0;
15400 ;
15401 return 0;
15402 }
15403 _ACEOF
15404 rm -f conftest.$ac_objext
15405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15406 (eval $ac_compile) 2>conftest.er1
15407 ac_status=$?
15408 grep -v '^ *+' conftest.er1 >conftest.err
15409 rm -f conftest.er1
15410 cat conftest.err >&5
15411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15412 (exit $ac_status); } &&
15413 { ac_try='test -z "$ac_c_werror_flag"
15414 || test ! -s conftest.err'
15415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15416 (eval $ac_try) 2>&5
15417 ac_status=$?
15418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15419 (exit $ac_status); }; } &&
15420 { ac_try='test -s conftest.$ac_objext'
15421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15422 (eval $ac_try) 2>&5
15423 ac_status=$?
15424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15425 (exit $ac_status); }; }; then
15426 ac_cv_type_int=yes
15427 else
15428 echo "$as_me: failed program was:" >&5
15429 sed 's/^/| /' conftest.$ac_ext >&5
15430
15431 ac_cv_type_int=no
15432 fi
15433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15434 fi
15435 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15436 echo "${ECHO_T}$ac_cv_type_int" >&6
15437
15438 echo "$as_me:$LINENO: checking size of int" >&5
15439 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15440 if test "${ac_cv_sizeof_int+set}" = set; then
15441 echo $ECHO_N "(cached) $ECHO_C" >&6
15442 else
15443 if test "$ac_cv_type_int" = yes; then
15444 # The cast to unsigned long works around a bug in the HP C Compiler
15445 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15446 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15447 # This bug is HP SR number 8606223364.
15448 if test "$cross_compiling" = yes; then
15449 # Depending upon the size, compute the lo and hi bounds.
15450 cat >conftest.$ac_ext <<_ACEOF
15451 /* confdefs.h. */
15452 _ACEOF
15453 cat confdefs.h >>conftest.$ac_ext
15454 cat >>conftest.$ac_ext <<_ACEOF
15455 /* end confdefs.h. */
15456 $ac_includes_default
15457 int
15458 main ()
15459 {
15460 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15461 test_array [0] = 0
15462
15463 ;
15464 return 0;
15465 }
15466 _ACEOF
15467 rm -f conftest.$ac_objext
15468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15469 (eval $ac_compile) 2>conftest.er1
15470 ac_status=$?
15471 grep -v '^ *+' conftest.er1 >conftest.err
15472 rm -f conftest.er1
15473 cat conftest.err >&5
15474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15475 (exit $ac_status); } &&
15476 { ac_try='test -z "$ac_c_werror_flag"
15477 || test ! -s conftest.err'
15478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15479 (eval $ac_try) 2>&5
15480 ac_status=$?
15481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15482 (exit $ac_status); }; } &&
15483 { ac_try='test -s conftest.$ac_objext'
15484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15485 (eval $ac_try) 2>&5
15486 ac_status=$?
15487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15488 (exit $ac_status); }; }; then
15489 ac_lo=0 ac_mid=0
15490 while :; do
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 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15502 test_array [0] = 0
15503
15504 ;
15505 return 0;
15506 }
15507 _ACEOF
15508 rm -f conftest.$ac_objext
15509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15510 (eval $ac_compile) 2>conftest.er1
15511 ac_status=$?
15512 grep -v '^ *+' conftest.er1 >conftest.err
15513 rm -f conftest.er1
15514 cat conftest.err >&5
15515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15516 (exit $ac_status); } &&
15517 { ac_try='test -z "$ac_c_werror_flag"
15518 || 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_hi=$ac_mid; break
15531 else
15532 echo "$as_me: failed program was:" >&5
15533 sed 's/^/| /' conftest.$ac_ext >&5
15534
15535 ac_lo=`expr $ac_mid + 1`
15536 if test $ac_lo -le $ac_mid; then
15537 ac_lo= ac_hi=
15538 break
15539 fi
15540 ac_mid=`expr 2 '*' $ac_mid + 1`
15541 fi
15542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15543 done
15544 else
15545 echo "$as_me: failed program was:" >&5
15546 sed 's/^/| /' conftest.$ac_ext >&5
15547
15548 cat >conftest.$ac_ext <<_ACEOF
15549 /* confdefs.h. */
15550 _ACEOF
15551 cat confdefs.h >>conftest.$ac_ext
15552 cat >>conftest.$ac_ext <<_ACEOF
15553 /* end confdefs.h. */
15554 $ac_includes_default
15555 int
15556 main ()
15557 {
15558 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15559 test_array [0] = 0
15560
15561 ;
15562 return 0;
15563 }
15564 _ACEOF
15565 rm -f conftest.$ac_objext
15566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15567 (eval $ac_compile) 2>conftest.er1
15568 ac_status=$?
15569 grep -v '^ *+' conftest.er1 >conftest.err
15570 rm -f conftest.er1
15571 cat conftest.err >&5
15572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15573 (exit $ac_status); } &&
15574 { ac_try='test -z "$ac_c_werror_flag"
15575 || test ! -s conftest.err'
15576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15577 (eval $ac_try) 2>&5
15578 ac_status=$?
15579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15580 (exit $ac_status); }; } &&
15581 { ac_try='test -s conftest.$ac_objext'
15582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15583 (eval $ac_try) 2>&5
15584 ac_status=$?
15585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15586 (exit $ac_status); }; }; then
15587 ac_hi=-1 ac_mid=-1
15588 while :; do
15589 cat >conftest.$ac_ext <<_ACEOF
15590 /* confdefs.h. */
15591 _ACEOF
15592 cat confdefs.h >>conftest.$ac_ext
15593 cat >>conftest.$ac_ext <<_ACEOF
15594 /* end confdefs.h. */
15595 $ac_includes_default
15596 int
15597 main ()
15598 {
15599 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15600 test_array [0] = 0
15601
15602 ;
15603 return 0;
15604 }
15605 _ACEOF
15606 rm -f conftest.$ac_objext
15607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15608 (eval $ac_compile) 2>conftest.er1
15609 ac_status=$?
15610 grep -v '^ *+' conftest.er1 >conftest.err
15611 rm -f conftest.er1
15612 cat conftest.err >&5
15613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15614 (exit $ac_status); } &&
15615 { ac_try='test -z "$ac_c_werror_flag"
15616 || test ! -s conftest.err'
15617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15618 (eval $ac_try) 2>&5
15619 ac_status=$?
15620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15621 (exit $ac_status); }; } &&
15622 { ac_try='test -s conftest.$ac_objext'
15623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15624 (eval $ac_try) 2>&5
15625 ac_status=$?
15626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15627 (exit $ac_status); }; }; then
15628 ac_lo=$ac_mid; break
15629 else
15630 echo "$as_me: failed program was:" >&5
15631 sed 's/^/| /' conftest.$ac_ext >&5
15632
15633 ac_hi=`expr '(' $ac_mid ')' - 1`
15634 if test $ac_mid -le $ac_hi; then
15635 ac_lo= ac_hi=
15636 break
15637 fi
15638 ac_mid=`expr 2 '*' $ac_mid`
15639 fi
15640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15641 done
15642 else
15643 echo "$as_me: failed program was:" >&5
15644 sed 's/^/| /' conftest.$ac_ext >&5
15645
15646 ac_lo= ac_hi=
15647 fi
15648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15649 fi
15650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15651 # Binary search between lo and hi bounds.
15652 while test "x$ac_lo" != "x$ac_hi"; do
15653 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15654 cat >conftest.$ac_ext <<_ACEOF
15655 /* confdefs.h. */
15656 _ACEOF
15657 cat confdefs.h >>conftest.$ac_ext
15658 cat >>conftest.$ac_ext <<_ACEOF
15659 /* end confdefs.h. */
15660 $ac_includes_default
15661 int
15662 main ()
15663 {
15664 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15665 test_array [0] = 0
15666
15667 ;
15668 return 0;
15669 }
15670 _ACEOF
15671 rm -f conftest.$ac_objext
15672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15673 (eval $ac_compile) 2>conftest.er1
15674 ac_status=$?
15675 grep -v '^ *+' conftest.er1 >conftest.err
15676 rm -f conftest.er1
15677 cat conftest.err >&5
15678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15679 (exit $ac_status); } &&
15680 { ac_try='test -z "$ac_c_werror_flag"
15681 || test ! -s conftest.err'
15682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15683 (eval $ac_try) 2>&5
15684 ac_status=$?
15685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15686 (exit $ac_status); }; } &&
15687 { ac_try='test -s conftest.$ac_objext'
15688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15689 (eval $ac_try) 2>&5
15690 ac_status=$?
15691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15692 (exit $ac_status); }; }; then
15693 ac_hi=$ac_mid
15694 else
15695 echo "$as_me: failed program was:" >&5
15696 sed 's/^/| /' conftest.$ac_ext >&5
15697
15698 ac_lo=`expr '(' $ac_mid ')' + 1`
15699 fi
15700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15701 done
15702 case $ac_lo in
15703 ?*) ac_cv_sizeof_int=$ac_lo;;
15704 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15705 See \`config.log' for more details." >&5
15706 echo "$as_me: error: cannot compute sizeof (int), 77
15707 See \`config.log' for more details." >&2;}
15708 { (exit 1); exit 1; }; } ;;
15709 esac
15710 else
15711 if test "$cross_compiling" = yes; then
15712 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15713 See \`config.log' for more details." >&5
15714 echo "$as_me: error: cannot run test program while cross compiling
15715 See \`config.log' for more details." >&2;}
15716 { (exit 1); exit 1; }; }
15717 else
15718 cat >conftest.$ac_ext <<_ACEOF
15719 /* confdefs.h. */
15720 _ACEOF
15721 cat confdefs.h >>conftest.$ac_ext
15722 cat >>conftest.$ac_ext <<_ACEOF
15723 /* end confdefs.h. */
15724 $ac_includes_default
15725 long longval () { return (long) (sizeof (int)); }
15726 unsigned long ulongval () { return (long) (sizeof (int)); }
15727 #include <stdio.h>
15728 #include <stdlib.h>
15729 int
15730 main ()
15731 {
15732
15733 FILE *f = fopen ("conftest.val", "w");
15734 if (! f)
15735 exit (1);
15736 if (((long) (sizeof (int))) < 0)
15737 {
15738 long i = longval ();
15739 if (i != ((long) (sizeof (int))))
15740 exit (1);
15741 fprintf (f, "%ld\n", i);
15742 }
15743 else
15744 {
15745 unsigned long i = ulongval ();
15746 if (i != ((long) (sizeof (int))))
15747 exit (1);
15748 fprintf (f, "%lu\n", i);
15749 }
15750 exit (ferror (f) || fclose (f) != 0);
15751
15752 ;
15753 return 0;
15754 }
15755 _ACEOF
15756 rm -f conftest$ac_exeext
15757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15758 (eval $ac_link) 2>&5
15759 ac_status=$?
15760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15761 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15763 (eval $ac_try) 2>&5
15764 ac_status=$?
15765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15766 (exit $ac_status); }; }; then
15767 ac_cv_sizeof_int=`cat conftest.val`
15768 else
15769 echo "$as_me: program exited with status $ac_status" >&5
15770 echo "$as_me: failed program was:" >&5
15771 sed 's/^/| /' conftest.$ac_ext >&5
15772
15773 ( exit $ac_status )
15774 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15775 See \`config.log' for more details." >&5
15776 echo "$as_me: error: cannot compute sizeof (int), 77
15777 See \`config.log' for more details." >&2;}
15778 { (exit 1); exit 1; }; }
15779 fi
15780 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15781 fi
15782 fi
15783 rm -f conftest.val
15784 else
15785 ac_cv_sizeof_int=0
15786 fi
15787 fi
15788 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15789 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15790 cat >>confdefs.h <<_ACEOF
15791 #define SIZEOF_INT $ac_cv_sizeof_int
15792 _ACEOF
15793
15794
15795 echo "$as_me:$LINENO: checking for long" >&5
15796 echo $ECHO_N "checking for long... $ECHO_C" >&6
15797 if test "${ac_cv_type_long+set}" = set; then
15798 echo $ECHO_N "(cached) $ECHO_C" >&6
15799 else
15800 cat >conftest.$ac_ext <<_ACEOF
15801 /* confdefs.h. */
15802 _ACEOF
15803 cat confdefs.h >>conftest.$ac_ext
15804 cat >>conftest.$ac_ext <<_ACEOF
15805 /* end confdefs.h. */
15806 $ac_includes_default
15807 int
15808 main ()
15809 {
15810 if ((long *) 0)
15811 return 0;
15812 if (sizeof (long))
15813 return 0;
15814 ;
15815 return 0;
15816 }
15817 _ACEOF
15818 rm -f conftest.$ac_objext
15819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15820 (eval $ac_compile) 2>conftest.er1
15821 ac_status=$?
15822 grep -v '^ *+' conftest.er1 >conftest.err
15823 rm -f conftest.er1
15824 cat conftest.err >&5
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); } &&
15827 { ac_try='test -z "$ac_c_werror_flag"
15828 || test ! -s conftest.err'
15829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15830 (eval $ac_try) 2>&5
15831 ac_status=$?
15832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15833 (exit $ac_status); }; } &&
15834 { ac_try='test -s conftest.$ac_objext'
15835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15836 (eval $ac_try) 2>&5
15837 ac_status=$?
15838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15839 (exit $ac_status); }; }; then
15840 ac_cv_type_long=yes
15841 else
15842 echo "$as_me: failed program was:" >&5
15843 sed 's/^/| /' conftest.$ac_ext >&5
15844
15845 ac_cv_type_long=no
15846 fi
15847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15848 fi
15849 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15850 echo "${ECHO_T}$ac_cv_type_long" >&6
15851
15852 echo "$as_me:$LINENO: checking size of long" >&5
15853 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15854 if test "${ac_cv_sizeof_long+set}" = set; then
15855 echo $ECHO_N "(cached) $ECHO_C" >&6
15856 else
15857 if test "$ac_cv_type_long" = yes; then
15858 # The cast to unsigned long works around a bug in the HP C Compiler
15859 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15860 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15861 # This bug is HP SR number 8606223364.
15862 if test "$cross_compiling" = yes; then
15863 # Depending upon the size, compute the lo and hi bounds.
15864 cat >conftest.$ac_ext <<_ACEOF
15865 /* confdefs.h. */
15866 _ACEOF
15867 cat confdefs.h >>conftest.$ac_ext
15868 cat >>conftest.$ac_ext <<_ACEOF
15869 /* end confdefs.h. */
15870 $ac_includes_default
15871 int
15872 main ()
15873 {
15874 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15875 test_array [0] = 0
15876
15877 ;
15878 return 0;
15879 }
15880 _ACEOF
15881 rm -f conftest.$ac_objext
15882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15883 (eval $ac_compile) 2>conftest.er1
15884 ac_status=$?
15885 grep -v '^ *+' conftest.er1 >conftest.err
15886 rm -f conftest.er1
15887 cat conftest.err >&5
15888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15889 (exit $ac_status); } &&
15890 { ac_try='test -z "$ac_c_werror_flag"
15891 || test ! -s conftest.err'
15892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15893 (eval $ac_try) 2>&5
15894 ac_status=$?
15895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15896 (exit $ac_status); }; } &&
15897 { ac_try='test -s conftest.$ac_objext'
15898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15899 (eval $ac_try) 2>&5
15900 ac_status=$?
15901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15902 (exit $ac_status); }; }; then
15903 ac_lo=0 ac_mid=0
15904 while :; do
15905 cat >conftest.$ac_ext <<_ACEOF
15906 /* confdefs.h. */
15907 _ACEOF
15908 cat confdefs.h >>conftest.$ac_ext
15909 cat >>conftest.$ac_ext <<_ACEOF
15910 /* end confdefs.h. */
15911 $ac_includes_default
15912 int
15913 main ()
15914 {
15915 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15916 test_array [0] = 0
15917
15918 ;
15919 return 0;
15920 }
15921 _ACEOF
15922 rm -f conftest.$ac_objext
15923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15924 (eval $ac_compile) 2>conftest.er1
15925 ac_status=$?
15926 grep -v '^ *+' conftest.er1 >conftest.err
15927 rm -f conftest.er1
15928 cat conftest.err >&5
15929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15930 (exit $ac_status); } &&
15931 { ac_try='test -z "$ac_c_werror_flag"
15932 || test ! -s conftest.err'
15933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15934 (eval $ac_try) 2>&5
15935 ac_status=$?
15936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15937 (exit $ac_status); }; } &&
15938 { ac_try='test -s conftest.$ac_objext'
15939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15940 (eval $ac_try) 2>&5
15941 ac_status=$?
15942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15943 (exit $ac_status); }; }; then
15944 ac_hi=$ac_mid; break
15945 else
15946 echo "$as_me: failed program was:" >&5
15947 sed 's/^/| /' conftest.$ac_ext >&5
15948
15949 ac_lo=`expr $ac_mid + 1`
15950 if test $ac_lo -le $ac_mid; then
15951 ac_lo= ac_hi=
15952 break
15953 fi
15954 ac_mid=`expr 2 '*' $ac_mid + 1`
15955 fi
15956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15957 done
15958 else
15959 echo "$as_me: failed program was:" >&5
15960 sed 's/^/| /' conftest.$ac_ext >&5
15961
15962 cat >conftest.$ac_ext <<_ACEOF
15963 /* confdefs.h. */
15964 _ACEOF
15965 cat confdefs.h >>conftest.$ac_ext
15966 cat >>conftest.$ac_ext <<_ACEOF
15967 /* end confdefs.h. */
15968 $ac_includes_default
15969 int
15970 main ()
15971 {
15972 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15973 test_array [0] = 0
15974
15975 ;
15976 return 0;
15977 }
15978 _ACEOF
15979 rm -f conftest.$ac_objext
15980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15981 (eval $ac_compile) 2>conftest.er1
15982 ac_status=$?
15983 grep -v '^ *+' conftest.er1 >conftest.err
15984 rm -f conftest.er1
15985 cat conftest.err >&5
15986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15987 (exit $ac_status); } &&
15988 { ac_try='test -z "$ac_c_werror_flag"
15989 || test ! -s conftest.err'
15990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15991 (eval $ac_try) 2>&5
15992 ac_status=$?
15993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15994 (exit $ac_status); }; } &&
15995 { ac_try='test -s conftest.$ac_objext'
15996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15997 (eval $ac_try) 2>&5
15998 ac_status=$?
15999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16000 (exit $ac_status); }; }; then
16001 ac_hi=-1 ac_mid=-1
16002 while :; do
16003 cat >conftest.$ac_ext <<_ACEOF
16004 /* confdefs.h. */
16005 _ACEOF
16006 cat confdefs.h >>conftest.$ac_ext
16007 cat >>conftest.$ac_ext <<_ACEOF
16008 /* end confdefs.h. */
16009 $ac_includes_default
16010 int
16011 main ()
16012 {
16013 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16014 test_array [0] = 0
16015
16016 ;
16017 return 0;
16018 }
16019 _ACEOF
16020 rm -f conftest.$ac_objext
16021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16022 (eval $ac_compile) 2>conftest.er1
16023 ac_status=$?
16024 grep -v '^ *+' conftest.er1 >conftest.err
16025 rm -f conftest.er1
16026 cat conftest.err >&5
16027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16028 (exit $ac_status); } &&
16029 { ac_try='test -z "$ac_c_werror_flag"
16030 || test ! -s conftest.err'
16031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16032 (eval $ac_try) 2>&5
16033 ac_status=$?
16034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16035 (exit $ac_status); }; } &&
16036 { ac_try='test -s conftest.$ac_objext'
16037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16038 (eval $ac_try) 2>&5
16039 ac_status=$?
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); }; }; then
16042 ac_lo=$ac_mid; break
16043 else
16044 echo "$as_me: failed program was:" >&5
16045 sed 's/^/| /' conftest.$ac_ext >&5
16046
16047 ac_hi=`expr '(' $ac_mid ')' - 1`
16048 if test $ac_mid -le $ac_hi; then
16049 ac_lo= ac_hi=
16050 break
16051 fi
16052 ac_mid=`expr 2 '*' $ac_mid`
16053 fi
16054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16055 done
16056 else
16057 echo "$as_me: failed program was:" >&5
16058 sed 's/^/| /' conftest.$ac_ext >&5
16059
16060 ac_lo= ac_hi=
16061 fi
16062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16063 fi
16064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16065 # Binary search between lo and hi bounds.
16066 while test "x$ac_lo" != "x$ac_hi"; do
16067 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16068 cat >conftest.$ac_ext <<_ACEOF
16069 /* confdefs.h. */
16070 _ACEOF
16071 cat confdefs.h >>conftest.$ac_ext
16072 cat >>conftest.$ac_ext <<_ACEOF
16073 /* end confdefs.h. */
16074 $ac_includes_default
16075 int
16076 main ()
16077 {
16078 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16079 test_array [0] = 0
16080
16081 ;
16082 return 0;
16083 }
16084 _ACEOF
16085 rm -f conftest.$ac_objext
16086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16087 (eval $ac_compile) 2>conftest.er1
16088 ac_status=$?
16089 grep -v '^ *+' conftest.er1 >conftest.err
16090 rm -f conftest.er1
16091 cat conftest.err >&5
16092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16093 (exit $ac_status); } &&
16094 { ac_try='test -z "$ac_c_werror_flag"
16095 || test ! -s conftest.err'
16096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16097 (eval $ac_try) 2>&5
16098 ac_status=$?
16099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16100 (exit $ac_status); }; } &&
16101 { ac_try='test -s conftest.$ac_objext'
16102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16103 (eval $ac_try) 2>&5
16104 ac_status=$?
16105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16106 (exit $ac_status); }; }; then
16107 ac_hi=$ac_mid
16108 else
16109 echo "$as_me: failed program was:" >&5
16110 sed 's/^/| /' conftest.$ac_ext >&5
16111
16112 ac_lo=`expr '(' $ac_mid ')' + 1`
16113 fi
16114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16115 done
16116 case $ac_lo in
16117 ?*) ac_cv_sizeof_long=$ac_lo;;
16118 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16119 See \`config.log' for more details." >&5
16120 echo "$as_me: error: cannot compute sizeof (long), 77
16121 See \`config.log' for more details." >&2;}
16122 { (exit 1); exit 1; }; } ;;
16123 esac
16124 else
16125 if test "$cross_compiling" = yes; then
16126 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16127 See \`config.log' for more details." >&5
16128 echo "$as_me: error: cannot run test program while cross compiling
16129 See \`config.log' for more details." >&2;}
16130 { (exit 1); exit 1; }; }
16131 else
16132 cat >conftest.$ac_ext <<_ACEOF
16133 /* confdefs.h. */
16134 _ACEOF
16135 cat confdefs.h >>conftest.$ac_ext
16136 cat >>conftest.$ac_ext <<_ACEOF
16137 /* end confdefs.h. */
16138 $ac_includes_default
16139 long longval () { return (long) (sizeof (long)); }
16140 unsigned long ulongval () { return (long) (sizeof (long)); }
16141 #include <stdio.h>
16142 #include <stdlib.h>
16143 int
16144 main ()
16145 {
16146
16147 FILE *f = fopen ("conftest.val", "w");
16148 if (! f)
16149 exit (1);
16150 if (((long) (sizeof (long))) < 0)
16151 {
16152 long i = longval ();
16153 if (i != ((long) (sizeof (long))))
16154 exit (1);
16155 fprintf (f, "%ld\n", i);
16156 }
16157 else
16158 {
16159 unsigned long i = ulongval ();
16160 if (i != ((long) (sizeof (long))))
16161 exit (1);
16162 fprintf (f, "%lu\n", i);
16163 }
16164 exit (ferror (f) || fclose (f) != 0);
16165
16166 ;
16167 return 0;
16168 }
16169 _ACEOF
16170 rm -f conftest$ac_exeext
16171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16172 (eval $ac_link) 2>&5
16173 ac_status=$?
16174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16175 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16177 (eval $ac_try) 2>&5
16178 ac_status=$?
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); }; }; then
16181 ac_cv_sizeof_long=`cat conftest.val`
16182 else
16183 echo "$as_me: program exited with status $ac_status" >&5
16184 echo "$as_me: failed program was:" >&5
16185 sed 's/^/| /' conftest.$ac_ext >&5
16186
16187 ( exit $ac_status )
16188 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16189 See \`config.log' for more details." >&5
16190 echo "$as_me: error: cannot compute sizeof (long), 77
16191 See \`config.log' for more details." >&2;}
16192 { (exit 1); exit 1; }; }
16193 fi
16194 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16195 fi
16196 fi
16197 rm -f conftest.val
16198 else
16199 ac_cv_sizeof_long=0
16200 fi
16201 fi
16202 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16203 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16204 cat >>confdefs.h <<_ACEOF
16205 #define SIZEOF_LONG $ac_cv_sizeof_long
16206 _ACEOF
16207
16208
16209
16210 case "${host}" in
16211 arm-*-linux* )
16212 echo "$as_me:$LINENO: checking for long long" >&5
16213 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16214 if test "${ac_cv_type_long_long+set}" = set; then
16215 echo $ECHO_N "(cached) $ECHO_C" >&6
16216 else
16217 cat >conftest.$ac_ext <<_ACEOF
16218 /* confdefs.h. */
16219 _ACEOF
16220 cat confdefs.h >>conftest.$ac_ext
16221 cat >>conftest.$ac_ext <<_ACEOF
16222 /* end confdefs.h. */
16223 $ac_includes_default
16224 int
16225 main ()
16226 {
16227 if ((long long *) 0)
16228 return 0;
16229 if (sizeof (long long))
16230 return 0;
16231 ;
16232 return 0;
16233 }
16234 _ACEOF
16235 rm -f conftest.$ac_objext
16236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16237 (eval $ac_compile) 2>conftest.er1
16238 ac_status=$?
16239 grep -v '^ *+' conftest.er1 >conftest.err
16240 rm -f conftest.er1
16241 cat conftest.err >&5
16242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16243 (exit $ac_status); } &&
16244 { ac_try='test -z "$ac_c_werror_flag"
16245 || test ! -s conftest.err'
16246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16247 (eval $ac_try) 2>&5
16248 ac_status=$?
16249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16250 (exit $ac_status); }; } &&
16251 { ac_try='test -s conftest.$ac_objext'
16252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16253 (eval $ac_try) 2>&5
16254 ac_status=$?
16255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16256 (exit $ac_status); }; }; then
16257 ac_cv_type_long_long=yes
16258 else
16259 echo "$as_me: failed program was:" >&5
16260 sed 's/^/| /' conftest.$ac_ext >&5
16261
16262 ac_cv_type_long_long=no
16263 fi
16264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16265 fi
16266 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16267 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16268
16269 echo "$as_me:$LINENO: checking size of long long" >&5
16270 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16271 if test "${ac_cv_sizeof_long_long+set}" = set; then
16272 echo $ECHO_N "(cached) $ECHO_C" >&6
16273 else
16274 if test "$ac_cv_type_long_long" = yes; then
16275 # The cast to unsigned long works around a bug in the HP C Compiler
16276 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16277 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16278 # This bug is HP SR number 8606223364.
16279 if test "$cross_compiling" = yes; then
16280 # Depending upon the size, compute the lo and hi bounds.
16281 cat >conftest.$ac_ext <<_ACEOF
16282 /* confdefs.h. */
16283 _ACEOF
16284 cat confdefs.h >>conftest.$ac_ext
16285 cat >>conftest.$ac_ext <<_ACEOF
16286 /* end confdefs.h. */
16287 $ac_includes_default
16288 int
16289 main ()
16290 {
16291 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16292 test_array [0] = 0
16293
16294 ;
16295 return 0;
16296 }
16297 _ACEOF
16298 rm -f conftest.$ac_objext
16299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16300 (eval $ac_compile) 2>conftest.er1
16301 ac_status=$?
16302 grep -v '^ *+' conftest.er1 >conftest.err
16303 rm -f conftest.er1
16304 cat conftest.err >&5
16305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16306 (exit $ac_status); } &&
16307 { ac_try='test -z "$ac_c_werror_flag"
16308 || test ! -s conftest.err'
16309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16310 (eval $ac_try) 2>&5
16311 ac_status=$?
16312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16313 (exit $ac_status); }; } &&
16314 { ac_try='test -s conftest.$ac_objext'
16315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16316 (eval $ac_try) 2>&5
16317 ac_status=$?
16318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16319 (exit $ac_status); }; }; then
16320 ac_lo=0 ac_mid=0
16321 while :; do
16322 cat >conftest.$ac_ext <<_ACEOF
16323 /* confdefs.h. */
16324 _ACEOF
16325 cat confdefs.h >>conftest.$ac_ext
16326 cat >>conftest.$ac_ext <<_ACEOF
16327 /* end confdefs.h. */
16328 $ac_includes_default
16329 int
16330 main ()
16331 {
16332 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16333 test_array [0] = 0
16334
16335 ;
16336 return 0;
16337 }
16338 _ACEOF
16339 rm -f conftest.$ac_objext
16340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16341 (eval $ac_compile) 2>conftest.er1
16342 ac_status=$?
16343 grep -v '^ *+' conftest.er1 >conftest.err
16344 rm -f conftest.er1
16345 cat conftest.err >&5
16346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16347 (exit $ac_status); } &&
16348 { ac_try='test -z "$ac_c_werror_flag"
16349 || test ! -s conftest.err'
16350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16351 (eval $ac_try) 2>&5
16352 ac_status=$?
16353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16354 (exit $ac_status); }; } &&
16355 { ac_try='test -s conftest.$ac_objext'
16356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16357 (eval $ac_try) 2>&5
16358 ac_status=$?
16359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16360 (exit $ac_status); }; }; then
16361 ac_hi=$ac_mid; break
16362 else
16363 echo "$as_me: failed program was:" >&5
16364 sed 's/^/| /' conftest.$ac_ext >&5
16365
16366 ac_lo=`expr $ac_mid + 1`
16367 if test $ac_lo -le $ac_mid; then
16368 ac_lo= ac_hi=
16369 break
16370 fi
16371 ac_mid=`expr 2 '*' $ac_mid + 1`
16372 fi
16373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16374 done
16375 else
16376 echo "$as_me: failed program was:" >&5
16377 sed 's/^/| /' conftest.$ac_ext >&5
16378
16379 cat >conftest.$ac_ext <<_ACEOF
16380 /* confdefs.h. */
16381 _ACEOF
16382 cat confdefs.h >>conftest.$ac_ext
16383 cat >>conftest.$ac_ext <<_ACEOF
16384 /* end confdefs.h. */
16385 $ac_includes_default
16386 int
16387 main ()
16388 {
16389 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16390 test_array [0] = 0
16391
16392 ;
16393 return 0;
16394 }
16395 _ACEOF
16396 rm -f conftest.$ac_objext
16397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16398 (eval $ac_compile) 2>conftest.er1
16399 ac_status=$?
16400 grep -v '^ *+' conftest.er1 >conftest.err
16401 rm -f conftest.er1
16402 cat conftest.err >&5
16403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16404 (exit $ac_status); } &&
16405 { ac_try='test -z "$ac_c_werror_flag"
16406 || test ! -s conftest.err'
16407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16408 (eval $ac_try) 2>&5
16409 ac_status=$?
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); }; } &&
16412 { ac_try='test -s conftest.$ac_objext'
16413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16414 (eval $ac_try) 2>&5
16415 ac_status=$?
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); }; }; then
16418 ac_hi=-1 ac_mid=-1
16419 while :; do
16420 cat >conftest.$ac_ext <<_ACEOF
16421 /* confdefs.h. */
16422 _ACEOF
16423 cat confdefs.h >>conftest.$ac_ext
16424 cat >>conftest.$ac_ext <<_ACEOF
16425 /* end confdefs.h. */
16426 $ac_includes_default
16427 int
16428 main ()
16429 {
16430 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16431 test_array [0] = 0
16432
16433 ;
16434 return 0;
16435 }
16436 _ACEOF
16437 rm -f conftest.$ac_objext
16438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16439 (eval $ac_compile) 2>conftest.er1
16440 ac_status=$?
16441 grep -v '^ *+' conftest.er1 >conftest.err
16442 rm -f conftest.er1
16443 cat conftest.err >&5
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); } &&
16446 { ac_try='test -z "$ac_c_werror_flag"
16447 || test ! -s conftest.err'
16448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16449 (eval $ac_try) 2>&5
16450 ac_status=$?
16451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16452 (exit $ac_status); }; } &&
16453 { ac_try='test -s conftest.$ac_objext'
16454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16455 (eval $ac_try) 2>&5
16456 ac_status=$?
16457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16458 (exit $ac_status); }; }; then
16459 ac_lo=$ac_mid; break
16460 else
16461 echo "$as_me: failed program was:" >&5
16462 sed 's/^/| /' conftest.$ac_ext >&5
16463
16464 ac_hi=`expr '(' $ac_mid ')' - 1`
16465 if test $ac_mid -le $ac_hi; then
16466 ac_lo= ac_hi=
16467 break
16468 fi
16469 ac_mid=`expr 2 '*' $ac_mid`
16470 fi
16471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16472 done
16473 else
16474 echo "$as_me: failed program was:" >&5
16475 sed 's/^/| /' conftest.$ac_ext >&5
16476
16477 ac_lo= ac_hi=
16478 fi
16479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16480 fi
16481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16482 # Binary search between lo and hi bounds.
16483 while test "x$ac_lo" != "x$ac_hi"; do
16484 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16485 cat >conftest.$ac_ext <<_ACEOF
16486 /* confdefs.h. */
16487 _ACEOF
16488 cat confdefs.h >>conftest.$ac_ext
16489 cat >>conftest.$ac_ext <<_ACEOF
16490 /* end confdefs.h. */
16491 $ac_includes_default
16492 int
16493 main ()
16494 {
16495 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16496 test_array [0] = 0
16497
16498 ;
16499 return 0;
16500 }
16501 _ACEOF
16502 rm -f conftest.$ac_objext
16503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16504 (eval $ac_compile) 2>conftest.er1
16505 ac_status=$?
16506 grep -v '^ *+' conftest.er1 >conftest.err
16507 rm -f conftest.er1
16508 cat conftest.err >&5
16509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16510 (exit $ac_status); } &&
16511 { ac_try='test -z "$ac_c_werror_flag"
16512 || test ! -s conftest.err'
16513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16514 (eval $ac_try) 2>&5
16515 ac_status=$?
16516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16517 (exit $ac_status); }; } &&
16518 { ac_try='test -s conftest.$ac_objext'
16519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16520 (eval $ac_try) 2>&5
16521 ac_status=$?
16522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16523 (exit $ac_status); }; }; then
16524 ac_hi=$ac_mid
16525 else
16526 echo "$as_me: failed program was:" >&5
16527 sed 's/^/| /' conftest.$ac_ext >&5
16528
16529 ac_lo=`expr '(' $ac_mid ')' + 1`
16530 fi
16531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16532 done
16533 case $ac_lo in
16534 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16535 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16536 See \`config.log' for more details." >&5
16537 echo "$as_me: error: cannot compute sizeof (long long), 77
16538 See \`config.log' for more details." >&2;}
16539 { (exit 1); exit 1; }; } ;;
16540 esac
16541 else
16542 if test "$cross_compiling" = yes; then
16543 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16544 See \`config.log' for more details." >&5
16545 echo "$as_me: error: cannot run test program while cross compiling
16546 See \`config.log' for more details." >&2;}
16547 { (exit 1); exit 1; }; }
16548 else
16549 cat >conftest.$ac_ext <<_ACEOF
16550 /* confdefs.h. */
16551 _ACEOF
16552 cat confdefs.h >>conftest.$ac_ext
16553 cat >>conftest.$ac_ext <<_ACEOF
16554 /* end confdefs.h. */
16555 $ac_includes_default
16556 long longval () { return (long) (sizeof (long long)); }
16557 unsigned long ulongval () { return (long) (sizeof (long long)); }
16558 #include <stdio.h>
16559 #include <stdlib.h>
16560 int
16561 main ()
16562 {
16563
16564 FILE *f = fopen ("conftest.val", "w");
16565 if (! f)
16566 exit (1);
16567 if (((long) (sizeof (long long))) < 0)
16568 {
16569 long i = longval ();
16570 if (i != ((long) (sizeof (long long))))
16571 exit (1);
16572 fprintf (f, "%ld\n", i);
16573 }
16574 else
16575 {
16576 unsigned long i = ulongval ();
16577 if (i != ((long) (sizeof (long long))))
16578 exit (1);
16579 fprintf (f, "%lu\n", i);
16580 }
16581 exit (ferror (f) || fclose (f) != 0);
16582
16583 ;
16584 return 0;
16585 }
16586 _ACEOF
16587 rm -f conftest$ac_exeext
16588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16589 (eval $ac_link) 2>&5
16590 ac_status=$?
16591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16592 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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); }; }; then
16598 ac_cv_sizeof_long_long=`cat conftest.val`
16599 else
16600 echo "$as_me: program exited with status $ac_status" >&5
16601 echo "$as_me: failed program was:" >&5
16602 sed 's/^/| /' conftest.$ac_ext >&5
16603
16604 ( exit $ac_status )
16605 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16606 See \`config.log' for more details." >&5
16607 echo "$as_me: error: cannot compute sizeof (long long), 77
16608 See \`config.log' for more details." >&2;}
16609 { (exit 1); exit 1; }; }
16610 fi
16611 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16612 fi
16613 fi
16614 rm -f conftest.val
16615 else
16616 ac_cv_sizeof_long_long=0
16617 fi
16618 fi
16619 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16620 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16621 cat >>confdefs.h <<_ACEOF
16622 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16623 _ACEOF
16624
16625
16626 ;;
16627 *-hp-hpux* )
16628 echo "$as_me:$LINENO: checking for long long" >&5
16629 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16630 if test "${ac_cv_type_long_long+set}" = set; then
16631 echo $ECHO_N "(cached) $ECHO_C" >&6
16632 else
16633 cat >conftest.$ac_ext <<_ACEOF
16634 /* confdefs.h. */
16635 _ACEOF
16636 cat confdefs.h >>conftest.$ac_ext
16637 cat >>conftest.$ac_ext <<_ACEOF
16638 /* end confdefs.h. */
16639 $ac_includes_default
16640 int
16641 main ()
16642 {
16643 if ((long long *) 0)
16644 return 0;
16645 if (sizeof (long long))
16646 return 0;
16647 ;
16648 return 0;
16649 }
16650 _ACEOF
16651 rm -f conftest.$ac_objext
16652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16653 (eval $ac_compile) 2>conftest.er1
16654 ac_status=$?
16655 grep -v '^ *+' conftest.er1 >conftest.err
16656 rm -f conftest.er1
16657 cat conftest.err >&5
16658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16659 (exit $ac_status); } &&
16660 { ac_try='test -z "$ac_c_werror_flag"
16661 || test ! -s conftest.err'
16662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16663 (eval $ac_try) 2>&5
16664 ac_status=$?
16665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16666 (exit $ac_status); }; } &&
16667 { ac_try='test -s conftest.$ac_objext'
16668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16669 (eval $ac_try) 2>&5
16670 ac_status=$?
16671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672 (exit $ac_status); }; }; then
16673 ac_cv_type_long_long=yes
16674 else
16675 echo "$as_me: failed program was:" >&5
16676 sed 's/^/| /' conftest.$ac_ext >&5
16677
16678 ac_cv_type_long_long=no
16679 fi
16680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16681 fi
16682 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16683 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16684
16685 echo "$as_me:$LINENO: checking size of long long" >&5
16686 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16687 if test "${ac_cv_sizeof_long_long+set}" = set; then
16688 echo $ECHO_N "(cached) $ECHO_C" >&6
16689 else
16690 if test "$ac_cv_type_long_long" = yes; then
16691 # The cast to unsigned long works around a bug in the HP C Compiler
16692 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16693 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16694 # This bug is HP SR number 8606223364.
16695 if test "$cross_compiling" = yes; then
16696 # Depending upon the size, compute the lo and hi bounds.
16697 cat >conftest.$ac_ext <<_ACEOF
16698 /* confdefs.h. */
16699 _ACEOF
16700 cat confdefs.h >>conftest.$ac_ext
16701 cat >>conftest.$ac_ext <<_ACEOF
16702 /* end confdefs.h. */
16703 $ac_includes_default
16704 int
16705 main ()
16706 {
16707 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16708 test_array [0] = 0
16709
16710 ;
16711 return 0;
16712 }
16713 _ACEOF
16714 rm -f conftest.$ac_objext
16715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16716 (eval $ac_compile) 2>conftest.er1
16717 ac_status=$?
16718 grep -v '^ *+' conftest.er1 >conftest.err
16719 rm -f conftest.er1
16720 cat conftest.err >&5
16721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); } &&
16723 { ac_try='test -z "$ac_c_werror_flag"
16724 || test ! -s conftest.err'
16725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16726 (eval $ac_try) 2>&5
16727 ac_status=$?
16728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16729 (exit $ac_status); }; } &&
16730 { ac_try='test -s conftest.$ac_objext'
16731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16732 (eval $ac_try) 2>&5
16733 ac_status=$?
16734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16735 (exit $ac_status); }; }; then
16736 ac_lo=0 ac_mid=0
16737 while :; do
16738 cat >conftest.$ac_ext <<_ACEOF
16739 /* confdefs.h. */
16740 _ACEOF
16741 cat confdefs.h >>conftest.$ac_ext
16742 cat >>conftest.$ac_ext <<_ACEOF
16743 /* end confdefs.h. */
16744 $ac_includes_default
16745 int
16746 main ()
16747 {
16748 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16749 test_array [0] = 0
16750
16751 ;
16752 return 0;
16753 }
16754 _ACEOF
16755 rm -f conftest.$ac_objext
16756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16757 (eval $ac_compile) 2>conftest.er1
16758 ac_status=$?
16759 grep -v '^ *+' conftest.er1 >conftest.err
16760 rm -f conftest.er1
16761 cat conftest.err >&5
16762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16763 (exit $ac_status); } &&
16764 { ac_try='test -z "$ac_c_werror_flag"
16765 || test ! -s conftest.err'
16766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16767 (eval $ac_try) 2>&5
16768 ac_status=$?
16769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16770 (exit $ac_status); }; } &&
16771 { ac_try='test -s conftest.$ac_objext'
16772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16773 (eval $ac_try) 2>&5
16774 ac_status=$?
16775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16776 (exit $ac_status); }; }; then
16777 ac_hi=$ac_mid; break
16778 else
16779 echo "$as_me: failed program was:" >&5
16780 sed 's/^/| /' conftest.$ac_ext >&5
16781
16782 ac_lo=`expr $ac_mid + 1`
16783 if test $ac_lo -le $ac_mid; then
16784 ac_lo= ac_hi=
16785 break
16786 fi
16787 ac_mid=`expr 2 '*' $ac_mid + 1`
16788 fi
16789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16790 done
16791 else
16792 echo "$as_me: failed program was:" >&5
16793 sed 's/^/| /' conftest.$ac_ext >&5
16794
16795 cat >conftest.$ac_ext <<_ACEOF
16796 /* confdefs.h. */
16797 _ACEOF
16798 cat confdefs.h >>conftest.$ac_ext
16799 cat >>conftest.$ac_ext <<_ACEOF
16800 /* end confdefs.h. */
16801 $ac_includes_default
16802 int
16803 main ()
16804 {
16805 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16806 test_array [0] = 0
16807
16808 ;
16809 return 0;
16810 }
16811 _ACEOF
16812 rm -f conftest.$ac_objext
16813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16814 (eval $ac_compile) 2>conftest.er1
16815 ac_status=$?
16816 grep -v '^ *+' conftest.er1 >conftest.err
16817 rm -f conftest.er1
16818 cat conftest.err >&5
16819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16820 (exit $ac_status); } &&
16821 { ac_try='test -z "$ac_c_werror_flag"
16822 || test ! -s conftest.err'
16823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16824 (eval $ac_try) 2>&5
16825 ac_status=$?
16826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16827 (exit $ac_status); }; } &&
16828 { ac_try='test -s conftest.$ac_objext'
16829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16830 (eval $ac_try) 2>&5
16831 ac_status=$?
16832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16833 (exit $ac_status); }; }; then
16834 ac_hi=-1 ac_mid=-1
16835 while :; do
16836 cat >conftest.$ac_ext <<_ACEOF
16837 /* confdefs.h. */
16838 _ACEOF
16839 cat confdefs.h >>conftest.$ac_ext
16840 cat >>conftest.$ac_ext <<_ACEOF
16841 /* end confdefs.h. */
16842 $ac_includes_default
16843 int
16844 main ()
16845 {
16846 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16847 test_array [0] = 0
16848
16849 ;
16850 return 0;
16851 }
16852 _ACEOF
16853 rm -f conftest.$ac_objext
16854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16855 (eval $ac_compile) 2>conftest.er1
16856 ac_status=$?
16857 grep -v '^ *+' conftest.er1 >conftest.err
16858 rm -f conftest.er1
16859 cat conftest.err >&5
16860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16861 (exit $ac_status); } &&
16862 { ac_try='test -z "$ac_c_werror_flag"
16863 || test ! -s conftest.err'
16864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16865 (eval $ac_try) 2>&5
16866 ac_status=$?
16867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16868 (exit $ac_status); }; } &&
16869 { ac_try='test -s conftest.$ac_objext'
16870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16871 (eval $ac_try) 2>&5
16872 ac_status=$?
16873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16874 (exit $ac_status); }; }; then
16875 ac_lo=$ac_mid; break
16876 else
16877 echo "$as_me: failed program was:" >&5
16878 sed 's/^/| /' conftest.$ac_ext >&5
16879
16880 ac_hi=`expr '(' $ac_mid ')' - 1`
16881 if test $ac_mid -le $ac_hi; then
16882 ac_lo= ac_hi=
16883 break
16884 fi
16885 ac_mid=`expr 2 '*' $ac_mid`
16886 fi
16887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16888 done
16889 else
16890 echo "$as_me: failed program was:" >&5
16891 sed 's/^/| /' conftest.$ac_ext >&5
16892
16893 ac_lo= ac_hi=
16894 fi
16895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16896 fi
16897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16898 # Binary search between lo and hi bounds.
16899 while test "x$ac_lo" != "x$ac_hi"; do
16900 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16901 cat >conftest.$ac_ext <<_ACEOF
16902 /* confdefs.h. */
16903 _ACEOF
16904 cat confdefs.h >>conftest.$ac_ext
16905 cat >>conftest.$ac_ext <<_ACEOF
16906 /* end confdefs.h. */
16907 $ac_includes_default
16908 int
16909 main ()
16910 {
16911 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16912 test_array [0] = 0
16913
16914 ;
16915 return 0;
16916 }
16917 _ACEOF
16918 rm -f conftest.$ac_objext
16919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16920 (eval $ac_compile) 2>conftest.er1
16921 ac_status=$?
16922 grep -v '^ *+' conftest.er1 >conftest.err
16923 rm -f conftest.er1
16924 cat conftest.err >&5
16925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926 (exit $ac_status); } &&
16927 { ac_try='test -z "$ac_c_werror_flag"
16928 || test ! -s conftest.err'
16929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16930 (eval $ac_try) 2>&5
16931 ac_status=$?
16932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16933 (exit $ac_status); }; } &&
16934 { ac_try='test -s conftest.$ac_objext'
16935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16936 (eval $ac_try) 2>&5
16937 ac_status=$?
16938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16939 (exit $ac_status); }; }; then
16940 ac_hi=$ac_mid
16941 else
16942 echo "$as_me: failed program was:" >&5
16943 sed 's/^/| /' conftest.$ac_ext >&5
16944
16945 ac_lo=`expr '(' $ac_mid ')' + 1`
16946 fi
16947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16948 done
16949 case $ac_lo in
16950 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16951 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16952 See \`config.log' for more details." >&5
16953 echo "$as_me: error: cannot compute sizeof (long long), 77
16954 See \`config.log' for more details." >&2;}
16955 { (exit 1); exit 1; }; } ;;
16956 esac
16957 else
16958 if test "$cross_compiling" = yes; then
16959 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16960 See \`config.log' for more details." >&5
16961 echo "$as_me: error: cannot run test program while cross compiling
16962 See \`config.log' for more details." >&2;}
16963 { (exit 1); exit 1; }; }
16964 else
16965 cat >conftest.$ac_ext <<_ACEOF
16966 /* confdefs.h. */
16967 _ACEOF
16968 cat confdefs.h >>conftest.$ac_ext
16969 cat >>conftest.$ac_ext <<_ACEOF
16970 /* end confdefs.h. */
16971 $ac_includes_default
16972 long longval () { return (long) (sizeof (long long)); }
16973 unsigned long ulongval () { return (long) (sizeof (long long)); }
16974 #include <stdio.h>
16975 #include <stdlib.h>
16976 int
16977 main ()
16978 {
16979
16980 FILE *f = fopen ("conftest.val", "w");
16981 if (! f)
16982 exit (1);
16983 if (((long) (sizeof (long long))) < 0)
16984 {
16985 long i = longval ();
16986 if (i != ((long) (sizeof (long long))))
16987 exit (1);
16988 fprintf (f, "%ld\n", i);
16989 }
16990 else
16991 {
16992 unsigned long i = ulongval ();
16993 if (i != ((long) (sizeof (long long))))
16994 exit (1);
16995 fprintf (f, "%lu\n", i);
16996 }
16997 exit (ferror (f) || fclose (f) != 0);
16998
16999 ;
17000 return 0;
17001 }
17002 _ACEOF
17003 rm -f conftest$ac_exeext
17004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17005 (eval $ac_link) 2>&5
17006 ac_status=$?
17007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17008 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17010 (eval $ac_try) 2>&5
17011 ac_status=$?
17012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013 (exit $ac_status); }; }; then
17014 ac_cv_sizeof_long_long=`cat conftest.val`
17015 else
17016 echo "$as_me: program exited with status $ac_status" >&5
17017 echo "$as_me: failed program was:" >&5
17018 sed 's/^/| /' conftest.$ac_ext >&5
17019
17020 ( exit $ac_status )
17021 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17022 See \`config.log' for more details." >&5
17023 echo "$as_me: error: cannot compute sizeof (long long), 77
17024 See \`config.log' for more details." >&2;}
17025 { (exit 1); exit 1; }; }
17026 fi
17027 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17028 fi
17029 fi
17030 rm -f conftest.val
17031 else
17032 ac_cv_sizeof_long_long=0
17033 fi
17034 fi
17035 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17036 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17037 cat >>confdefs.h <<_ACEOF
17038 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17039 _ACEOF
17040
17041
17042 if test "$ac_cv_sizeof_long_long" != "0"; then
17043 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
17044 fi
17045 ;;
17046 * )
17047 echo "$as_me:$LINENO: checking for long long" >&5
17048 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17049 if test "${ac_cv_type_long_long+set}" = set; then
17050 echo $ECHO_N "(cached) $ECHO_C" >&6
17051 else
17052 cat >conftest.$ac_ext <<_ACEOF
17053 /* confdefs.h. */
17054 _ACEOF
17055 cat confdefs.h >>conftest.$ac_ext
17056 cat >>conftest.$ac_ext <<_ACEOF
17057 /* end confdefs.h. */
17058 $ac_includes_default
17059 int
17060 main ()
17061 {
17062 if ((long long *) 0)
17063 return 0;
17064 if (sizeof (long long))
17065 return 0;
17066 ;
17067 return 0;
17068 }
17069 _ACEOF
17070 rm -f conftest.$ac_objext
17071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17072 (eval $ac_compile) 2>conftest.er1
17073 ac_status=$?
17074 grep -v '^ *+' conftest.er1 >conftest.err
17075 rm -f conftest.er1
17076 cat conftest.err >&5
17077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17078 (exit $ac_status); } &&
17079 { ac_try='test -z "$ac_c_werror_flag"
17080 || test ! -s conftest.err'
17081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17082 (eval $ac_try) 2>&5
17083 ac_status=$?
17084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17085 (exit $ac_status); }; } &&
17086 { ac_try='test -s conftest.$ac_objext'
17087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17088 (eval $ac_try) 2>&5
17089 ac_status=$?
17090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17091 (exit $ac_status); }; }; then
17092 ac_cv_type_long_long=yes
17093 else
17094 echo "$as_me: failed program was:" >&5
17095 sed 's/^/| /' conftest.$ac_ext >&5
17096
17097 ac_cv_type_long_long=no
17098 fi
17099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17100 fi
17101 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17102 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17103
17104 echo "$as_me:$LINENO: checking size of long long" >&5
17105 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17106 if test "${ac_cv_sizeof_long_long+set}" = set; then
17107 echo $ECHO_N "(cached) $ECHO_C" >&6
17108 else
17109 if test "$ac_cv_type_long_long" = yes; then
17110 # The cast to unsigned long works around a bug in the HP C Compiler
17111 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17112 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17113 # This bug is HP SR number 8606223364.
17114 if test "$cross_compiling" = yes; then
17115 # Depending upon the size, compute the lo and hi bounds.
17116 cat >conftest.$ac_ext <<_ACEOF
17117 /* confdefs.h. */
17118 _ACEOF
17119 cat confdefs.h >>conftest.$ac_ext
17120 cat >>conftest.$ac_ext <<_ACEOF
17121 /* end confdefs.h. */
17122 $ac_includes_default
17123 int
17124 main ()
17125 {
17126 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17127 test_array [0] = 0
17128
17129 ;
17130 return 0;
17131 }
17132 _ACEOF
17133 rm -f conftest.$ac_objext
17134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17135 (eval $ac_compile) 2>conftest.er1
17136 ac_status=$?
17137 grep -v '^ *+' conftest.er1 >conftest.err
17138 rm -f conftest.er1
17139 cat conftest.err >&5
17140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17141 (exit $ac_status); } &&
17142 { ac_try='test -z "$ac_c_werror_flag"
17143 || test ! -s conftest.err'
17144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17145 (eval $ac_try) 2>&5
17146 ac_status=$?
17147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17148 (exit $ac_status); }; } &&
17149 { ac_try='test -s conftest.$ac_objext'
17150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17151 (eval $ac_try) 2>&5
17152 ac_status=$?
17153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17154 (exit $ac_status); }; }; then
17155 ac_lo=0 ac_mid=0
17156 while :; do
17157 cat >conftest.$ac_ext <<_ACEOF
17158 /* confdefs.h. */
17159 _ACEOF
17160 cat confdefs.h >>conftest.$ac_ext
17161 cat >>conftest.$ac_ext <<_ACEOF
17162 /* end confdefs.h. */
17163 $ac_includes_default
17164 int
17165 main ()
17166 {
17167 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17168 test_array [0] = 0
17169
17170 ;
17171 return 0;
17172 }
17173 _ACEOF
17174 rm -f conftest.$ac_objext
17175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17176 (eval $ac_compile) 2>conftest.er1
17177 ac_status=$?
17178 grep -v '^ *+' conftest.er1 >conftest.err
17179 rm -f conftest.er1
17180 cat conftest.err >&5
17181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17182 (exit $ac_status); } &&
17183 { ac_try='test -z "$ac_c_werror_flag"
17184 || test ! -s conftest.err'
17185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17186 (eval $ac_try) 2>&5
17187 ac_status=$?
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); }; } &&
17190 { ac_try='test -s conftest.$ac_objext'
17191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17192 (eval $ac_try) 2>&5
17193 ac_status=$?
17194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17195 (exit $ac_status); }; }; then
17196 ac_hi=$ac_mid; break
17197 else
17198 echo "$as_me: failed program was:" >&5
17199 sed 's/^/| /' conftest.$ac_ext >&5
17200
17201 ac_lo=`expr $ac_mid + 1`
17202 if test $ac_lo -le $ac_mid; then
17203 ac_lo= ac_hi=
17204 break
17205 fi
17206 ac_mid=`expr 2 '*' $ac_mid + 1`
17207 fi
17208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17209 done
17210 else
17211 echo "$as_me: failed program was:" >&5
17212 sed 's/^/| /' conftest.$ac_ext >&5
17213
17214 cat >conftest.$ac_ext <<_ACEOF
17215 /* confdefs.h. */
17216 _ACEOF
17217 cat confdefs.h >>conftest.$ac_ext
17218 cat >>conftest.$ac_ext <<_ACEOF
17219 /* end confdefs.h. */
17220 $ac_includes_default
17221 int
17222 main ()
17223 {
17224 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17225 test_array [0] = 0
17226
17227 ;
17228 return 0;
17229 }
17230 _ACEOF
17231 rm -f conftest.$ac_objext
17232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17233 (eval $ac_compile) 2>conftest.er1
17234 ac_status=$?
17235 grep -v '^ *+' conftest.er1 >conftest.err
17236 rm -f conftest.er1
17237 cat conftest.err >&5
17238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239 (exit $ac_status); } &&
17240 { ac_try='test -z "$ac_c_werror_flag"
17241 || test ! -s conftest.err'
17242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17243 (eval $ac_try) 2>&5
17244 ac_status=$?
17245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246 (exit $ac_status); }; } &&
17247 { ac_try='test -s conftest.$ac_objext'
17248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17249 (eval $ac_try) 2>&5
17250 ac_status=$?
17251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17252 (exit $ac_status); }; }; then
17253 ac_hi=-1 ac_mid=-1
17254 while :; do
17255 cat >conftest.$ac_ext <<_ACEOF
17256 /* confdefs.h. */
17257 _ACEOF
17258 cat confdefs.h >>conftest.$ac_ext
17259 cat >>conftest.$ac_ext <<_ACEOF
17260 /* end confdefs.h. */
17261 $ac_includes_default
17262 int
17263 main ()
17264 {
17265 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17266 test_array [0] = 0
17267
17268 ;
17269 return 0;
17270 }
17271 _ACEOF
17272 rm -f conftest.$ac_objext
17273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17274 (eval $ac_compile) 2>conftest.er1
17275 ac_status=$?
17276 grep -v '^ *+' conftest.er1 >conftest.err
17277 rm -f conftest.er1
17278 cat conftest.err >&5
17279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17280 (exit $ac_status); } &&
17281 { ac_try='test -z "$ac_c_werror_flag"
17282 || test ! -s conftest.err'
17283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17284 (eval $ac_try) 2>&5
17285 ac_status=$?
17286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17287 (exit $ac_status); }; } &&
17288 { ac_try='test -s conftest.$ac_objext'
17289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17290 (eval $ac_try) 2>&5
17291 ac_status=$?
17292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17293 (exit $ac_status); }; }; then
17294 ac_lo=$ac_mid; break
17295 else
17296 echo "$as_me: failed program was:" >&5
17297 sed 's/^/| /' conftest.$ac_ext >&5
17298
17299 ac_hi=`expr '(' $ac_mid ')' - 1`
17300 if test $ac_mid -le $ac_hi; then
17301 ac_lo= ac_hi=
17302 break
17303 fi
17304 ac_mid=`expr 2 '*' $ac_mid`
17305 fi
17306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17307 done
17308 else
17309 echo "$as_me: failed program was:" >&5
17310 sed 's/^/| /' conftest.$ac_ext >&5
17311
17312 ac_lo= ac_hi=
17313 fi
17314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17315 fi
17316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17317 # Binary search between lo and hi bounds.
17318 while test "x$ac_lo" != "x$ac_hi"; do
17319 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17320 cat >conftest.$ac_ext <<_ACEOF
17321 /* confdefs.h. */
17322 _ACEOF
17323 cat confdefs.h >>conftest.$ac_ext
17324 cat >>conftest.$ac_ext <<_ACEOF
17325 /* end confdefs.h. */
17326 $ac_includes_default
17327 int
17328 main ()
17329 {
17330 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17331 test_array [0] = 0
17332
17333 ;
17334 return 0;
17335 }
17336 _ACEOF
17337 rm -f conftest.$ac_objext
17338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17339 (eval $ac_compile) 2>conftest.er1
17340 ac_status=$?
17341 grep -v '^ *+' conftest.er1 >conftest.err
17342 rm -f conftest.er1
17343 cat conftest.err >&5
17344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17345 (exit $ac_status); } &&
17346 { ac_try='test -z "$ac_c_werror_flag"
17347 || test ! -s conftest.err'
17348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17349 (eval $ac_try) 2>&5
17350 ac_status=$?
17351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17352 (exit $ac_status); }; } &&
17353 { ac_try='test -s conftest.$ac_objext'
17354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17355 (eval $ac_try) 2>&5
17356 ac_status=$?
17357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17358 (exit $ac_status); }; }; then
17359 ac_hi=$ac_mid
17360 else
17361 echo "$as_me: failed program was:" >&5
17362 sed 's/^/| /' conftest.$ac_ext >&5
17363
17364 ac_lo=`expr '(' $ac_mid ')' + 1`
17365 fi
17366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17367 done
17368 case $ac_lo in
17369 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17370 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17371 See \`config.log' for more details." >&5
17372 echo "$as_me: error: cannot compute sizeof (long long), 77
17373 See \`config.log' for more details." >&2;}
17374 { (exit 1); exit 1; }; } ;;
17375 esac
17376 else
17377 if test "$cross_compiling" = yes; then
17378 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17379 See \`config.log' for more details." >&5
17380 echo "$as_me: error: cannot run test program while cross compiling
17381 See \`config.log' for more details." >&2;}
17382 { (exit 1); exit 1; }; }
17383 else
17384 cat >conftest.$ac_ext <<_ACEOF
17385 /* confdefs.h. */
17386 _ACEOF
17387 cat confdefs.h >>conftest.$ac_ext
17388 cat >>conftest.$ac_ext <<_ACEOF
17389 /* end confdefs.h. */
17390 $ac_includes_default
17391 long longval () { return (long) (sizeof (long long)); }
17392 unsigned long ulongval () { return (long) (sizeof (long long)); }
17393 #include <stdio.h>
17394 #include <stdlib.h>
17395 int
17396 main ()
17397 {
17398
17399 FILE *f = fopen ("conftest.val", "w");
17400 if (! f)
17401 exit (1);
17402 if (((long) (sizeof (long long))) < 0)
17403 {
17404 long i = longval ();
17405 if (i != ((long) (sizeof (long long))))
17406 exit (1);
17407 fprintf (f, "%ld\n", i);
17408 }
17409 else
17410 {
17411 unsigned long i = ulongval ();
17412 if (i != ((long) (sizeof (long long))))
17413 exit (1);
17414 fprintf (f, "%lu\n", i);
17415 }
17416 exit (ferror (f) || fclose (f) != 0);
17417
17418 ;
17419 return 0;
17420 }
17421 _ACEOF
17422 rm -f conftest$ac_exeext
17423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17424 (eval $ac_link) 2>&5
17425 ac_status=$?
17426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17427 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17429 (eval $ac_try) 2>&5
17430 ac_status=$?
17431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17432 (exit $ac_status); }; }; then
17433 ac_cv_sizeof_long_long=`cat conftest.val`
17434 else
17435 echo "$as_me: program exited with status $ac_status" >&5
17436 echo "$as_me: failed program was:" >&5
17437 sed 's/^/| /' conftest.$ac_ext >&5
17438
17439 ( exit $ac_status )
17440 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17441 See \`config.log' for more details." >&5
17442 echo "$as_me: error: cannot compute sizeof (long long), 77
17443 See \`config.log' for more details." >&2;}
17444 { (exit 1); exit 1; }; }
17445 fi
17446 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17447 fi
17448 fi
17449 rm -f conftest.val
17450 else
17451 ac_cv_sizeof_long_long=0
17452 fi
17453 fi
17454 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17455 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17456 cat >>confdefs.h <<_ACEOF
17457 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17458 _ACEOF
17459
17460
17461 esac
17462
17463 echo "$as_me:$LINENO: checking size of wchar_t" >&5
17464 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
17465 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
17466 echo $ECHO_N "(cached) $ECHO_C" >&6
17467 else
17468
17469 if test "$cross_compiling" = yes; then
17470
17471 case "${host}" in
17472 *-pc-msdosdjgpp )
17473 wx_cv_sizeof_wchar_t=0
17474 ;;
17475 * )
17476 wx_cv_sizeof_wchar_t=4
17477 ;;
17478 esac
17479
17480
17481 else
17482 cat >conftest.$ac_ext <<_ACEOF
17483 /* confdefs.h. */
17484 _ACEOF
17485 cat confdefs.h >>conftest.$ac_ext
17486 cat >>conftest.$ac_ext <<_ACEOF
17487 /* end confdefs.h. */
17488
17489 /* DJGPP only has fake wchar_t: */
17490 #ifdef __DJGPP__
17491 # error "fake wchar_t"
17492 #endif
17493 #ifdef HAVE_WCHAR_H
17494 # ifdef __CYGWIN__
17495 # include <stddef.h>
17496 # endif
17497 # include <wchar.h>
17498 #endif
17499 #ifdef HAVE_STDLIB_H
17500 # include <stdlib.h>
17501 #endif
17502 #include <stdio.h>
17503 int main()
17504 {
17505 FILE *f=fopen("conftestval", "w");
17506 if (!f) exit(1);
17507 fprintf(f, "%i", sizeof(wchar_t));
17508 exit(0);
17509 }
17510
17511 _ACEOF
17512 rm -f conftest$ac_exeext
17513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17514 (eval $ac_link) 2>&5
17515 ac_status=$?
17516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17517 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17519 (eval $ac_try) 2>&5
17520 ac_status=$?
17521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17522 (exit $ac_status); }; }; then
17523 wx_cv_sizeof_wchar_t=`cat conftestval`
17524 else
17525 echo "$as_me: program exited with status $ac_status" >&5
17526 echo "$as_me: failed program was:" >&5
17527 sed 's/^/| /' conftest.$ac_ext >&5
17528
17529 ( exit $ac_status )
17530 wx_cv_sizeof_wchar_t=0
17531 fi
17532 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17533 fi
17534
17535 fi
17536 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
17537 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
17538
17539 cat >>confdefs.h <<_ACEOF
17540 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
17541 _ACEOF
17542
17543
17544 # Check whether --enable-largefile or --disable-largefile was given.
17545 if test "${enable_largefile+set}" = set; then
17546 enableval="$enable_largefile"
17547
17548 fi;
17549 if test "$enable_largefile" != no; then
17550 wx_largefile=no
17551
17552 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
17553 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
17554 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
17555 echo $ECHO_N "(cached) $ECHO_C" >&6
17556 else
17557
17558 cat >conftest.$ac_ext <<_ACEOF
17559 /* confdefs.h. */
17560 _ACEOF
17561 cat confdefs.h >>conftest.$ac_ext
17562 cat >>conftest.$ac_ext <<_ACEOF
17563 /* end confdefs.h. */
17564 #define _FILE_OFFSET_BITS 64
17565 #include <sys/types.h>
17566 int
17567 main ()
17568 {
17569 typedef struct {
17570 unsigned int field: sizeof(off_t) == 8;
17571 } wxlf;
17572
17573 ;
17574 return 0;
17575 }
17576 _ACEOF
17577 rm -f conftest.$ac_objext
17578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17579 (eval $ac_compile) 2>conftest.er1
17580 ac_status=$?
17581 grep -v '^ *+' conftest.er1 >conftest.err
17582 rm -f conftest.er1
17583 cat conftest.err >&5
17584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17585 (exit $ac_status); } &&
17586 { ac_try='test -z "$ac_c_werror_flag"
17587 || test ! -s conftest.err'
17588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17589 (eval $ac_try) 2>&5
17590 ac_status=$?
17591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17592 (exit $ac_status); }; } &&
17593 { ac_try='test -s conftest.$ac_objext'
17594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17595 (eval $ac_try) 2>&5
17596 ac_status=$?
17597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17598 (exit $ac_status); }; }; then
17599 ac_cv_sys_file_offset_bits=64
17600 else
17601 echo "$as_me: failed program was:" >&5
17602 sed 's/^/| /' conftest.$ac_ext >&5
17603
17604 ac_cv_sys_file_offset_bits=no
17605 fi
17606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17607
17608
17609 fi
17610 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
17611 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
17612
17613 if test "$ac_cv_sys_file_offset_bits" != no; then
17614 wx_largefile=yes
17615 cat >>confdefs.h <<_ACEOF
17616 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
17617 _ACEOF
17618
17619 fi
17620
17621 if test "x$wx_largefile" != "xyes"; then
17622
17623 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
17624 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
17625 if test "${ac_cv_sys_large_files+set}" = set; then
17626 echo $ECHO_N "(cached) $ECHO_C" >&6
17627 else
17628
17629 cat >conftest.$ac_ext <<_ACEOF
17630 /* confdefs.h. */
17631 _ACEOF
17632 cat confdefs.h >>conftest.$ac_ext
17633 cat >>conftest.$ac_ext <<_ACEOF
17634 /* end confdefs.h. */
17635 #define _LARGE_FILES 1
17636 #include <sys/types.h>
17637 int
17638 main ()
17639 {
17640 typedef struct {
17641 unsigned int field: sizeof(off_t) == 8;
17642 } wxlf;
17643
17644 ;
17645 return 0;
17646 }
17647 _ACEOF
17648 rm -f conftest.$ac_objext
17649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17650 (eval $ac_compile) 2>conftest.er1
17651 ac_status=$?
17652 grep -v '^ *+' conftest.er1 >conftest.err
17653 rm -f conftest.er1
17654 cat conftest.err >&5
17655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17656 (exit $ac_status); } &&
17657 { ac_try='test -z "$ac_c_werror_flag"
17658 || test ! -s conftest.err'
17659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17660 (eval $ac_try) 2>&5
17661 ac_status=$?
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); }; } &&
17664 { ac_try='test -s conftest.$ac_objext'
17665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17666 (eval $ac_try) 2>&5
17667 ac_status=$?
17668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17669 (exit $ac_status); }; }; then
17670 ac_cv_sys_large_files=1
17671 else
17672 echo "$as_me: failed program was:" >&5
17673 sed 's/^/| /' conftest.$ac_ext >&5
17674
17675 ac_cv_sys_large_files=no
17676 fi
17677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17678
17679
17680 fi
17681 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
17682 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
17683
17684 if test "$ac_cv_sys_large_files" != no; then
17685 wx_largefile=yes
17686 cat >>confdefs.h <<_ACEOF
17687 #define _LARGE_FILES $ac_cv_sys_large_files
17688 _ACEOF
17689
17690 fi
17691
17692 fi
17693
17694 echo "$as_me:$LINENO: checking if large file support is available" >&5
17695 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
17696 if test "x$wx_largefile" = "xyes"; then
17697 cat >>confdefs.h <<\_ACEOF
17698 #define HAVE_LARGEFILE_SUPPORT 1
17699 _ACEOF
17700
17701 fi
17702 echo "$as_me:$LINENO: result: $wx_largefile" >&5
17703 echo "${ECHO_T}$wx_largefile" >&6
17704 fi
17705
17706
17707 if test "x$wx_largefile" = "xyes"; then
17708 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
17709 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
17710 else
17711 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
17712 fi
17713 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
17714 fi
17715
17716 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
17717 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
17718 if test "${ac_cv_c_bigendian+set}" = set; then
17719 echo $ECHO_N "(cached) $ECHO_C" >&6
17720 else
17721 ac_cv_c_bigendian=unknown
17722 # See if sys/param.h defines the BYTE_ORDER macro.
17723 cat >conftest.$ac_ext <<_ACEOF
17724 /* confdefs.h. */
17725 _ACEOF
17726 cat confdefs.h >>conftest.$ac_ext
17727 cat >>conftest.$ac_ext <<_ACEOF
17728 /* end confdefs.h. */
17729 #include <sys/types.h>
17730 #include <sys/param.h>
17731 int
17732 main ()
17733 {
17734
17735 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
17736 bogus endian macros
17737 #endif
17738 ;
17739 return 0;
17740 }
17741 _ACEOF
17742 rm -f conftest.$ac_objext
17743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17744 (eval $ac_compile) 2>conftest.er1
17745 ac_status=$?
17746 grep -v '^ *+' conftest.er1 >conftest.err
17747 rm -f conftest.er1
17748 cat conftest.err >&5
17749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750 (exit $ac_status); } &&
17751 { ac_try='test -z "$ac_c_werror_flag"
17752 || test ! -s conftest.err'
17753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17754 (eval $ac_try) 2>&5
17755 ac_status=$?
17756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17757 (exit $ac_status); }; } &&
17758 { ac_try='test -s conftest.$ac_objext'
17759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17760 (eval $ac_try) 2>&5
17761 ac_status=$?
17762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17763 (exit $ac_status); }; }; then
17764 # It does; now see whether it defined to BIG_ENDIAN or not.
17765 cat >conftest.$ac_ext <<_ACEOF
17766 /* confdefs.h. */
17767 _ACEOF
17768 cat confdefs.h >>conftest.$ac_ext
17769 cat >>conftest.$ac_ext <<_ACEOF
17770 /* end confdefs.h. */
17771 #include <sys/types.h>
17772 #include <sys/param.h>
17773 int
17774 main ()
17775 {
17776
17777 #if BYTE_ORDER != BIG_ENDIAN
17778 not big endian
17779 #endif
17780 ;
17781 return 0;
17782 }
17783 _ACEOF
17784 rm -f conftest.$ac_objext
17785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17786 (eval $ac_compile) 2>conftest.er1
17787 ac_status=$?
17788 grep -v '^ *+' conftest.er1 >conftest.err
17789 rm -f conftest.er1
17790 cat conftest.err >&5
17791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17792 (exit $ac_status); } &&
17793 { ac_try='test -z "$ac_c_werror_flag"
17794 || test ! -s conftest.err'
17795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17796 (eval $ac_try) 2>&5
17797 ac_status=$?
17798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17799 (exit $ac_status); }; } &&
17800 { ac_try='test -s conftest.$ac_objext'
17801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17802 (eval $ac_try) 2>&5
17803 ac_status=$?
17804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17805 (exit $ac_status); }; }; then
17806 ac_cv_c_bigendian=yes
17807 else
17808 echo "$as_me: failed program was:" >&5
17809 sed 's/^/| /' conftest.$ac_ext >&5
17810
17811 ac_cv_c_bigendian=no
17812 fi
17813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17814 else
17815 echo "$as_me: failed program was:" >&5
17816 sed 's/^/| /' conftest.$ac_ext >&5
17817
17818 fi
17819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17820 if test $ac_cv_c_bigendian = unknown; then
17821 if test "$cross_compiling" = yes; then
17822 ac_cv_c_bigendian=unknown
17823 else
17824 cat >conftest.$ac_ext <<_ACEOF
17825 /* confdefs.h. */
17826 _ACEOF
17827 cat confdefs.h >>conftest.$ac_ext
17828 cat >>conftest.$ac_ext <<_ACEOF
17829 /* end confdefs.h. */
17830 main () {
17831 /* Are we little or big endian? From Harbison&Steele. */
17832 union
17833 {
17834 long l;
17835 char c[sizeof (long)];
17836 } u;
17837 u.l = 1;
17838 exit (u.c[sizeof (long) - 1] == 1);
17839 }
17840 _ACEOF
17841 rm -f conftest$ac_exeext
17842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17843 (eval $ac_link) 2>&5
17844 ac_status=$?
17845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17846 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17848 (eval $ac_try) 2>&5
17849 ac_status=$?
17850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851 (exit $ac_status); }; }; then
17852 ac_cv_c_bigendian=no
17853 else
17854 echo "$as_me: program exited with status $ac_status" >&5
17855 echo "$as_me: failed program was:" >&5
17856 sed 's/^/| /' conftest.$ac_ext >&5
17857
17858 ( exit $ac_status )
17859 ac_cv_c_bigendian=yes
17860 fi
17861 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17862 fi
17863 fi
17864 fi
17865 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17866 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17867 if test $ac_cv_c_bigendian = unknown; then
17868 { 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
17869 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;}
17870 fi
17871 if test $ac_cv_c_bigendian = yes; then
17872 cat >>confdefs.h <<\_ACEOF
17873 #define WORDS_BIGENDIAN 1
17874 _ACEOF
17875
17876 fi
17877
17878
17879
17880 ac_ext=cc
17881 ac_cpp='$CXXCPP $CPPFLAGS'
17882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17885 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17886 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
17887 if test -z "$CXXCPP"; then
17888 if test "${ac_cv_prog_CXXCPP+set}" = set; then
17889 echo $ECHO_N "(cached) $ECHO_C" >&6
17890 else
17891 # Double quotes because CXXCPP needs to be expanded
17892 for CXXCPP in "$CXX -E" "/lib/cpp"
17893 do
17894 ac_preproc_ok=false
17895 for ac_cxx_preproc_warn_flag in '' yes
17896 do
17897 # Use a header file that comes with gcc, so configuring glibc
17898 # with a fresh cross-compiler works.
17899 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17900 # <limits.h> exists even on freestanding compilers.
17901 # On the NeXT, cc -E runs the code through the compiler's parser,
17902 # not just through cpp. "Syntax error" is here to catch this case.
17903 cat >conftest.$ac_ext <<_ACEOF
17904 /* confdefs.h. */
17905 _ACEOF
17906 cat confdefs.h >>conftest.$ac_ext
17907 cat >>conftest.$ac_ext <<_ACEOF
17908 /* end confdefs.h. */
17909 #ifdef __STDC__
17910 # include <limits.h>
17911 #else
17912 # include <assert.h>
17913 #endif
17914 Syntax error
17915 _ACEOF
17916 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17917 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17918 ac_status=$?
17919 grep -v '^ *+' conftest.er1 >conftest.err
17920 rm -f conftest.er1
17921 cat conftest.err >&5
17922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17923 (exit $ac_status); } >/dev/null; then
17924 if test -s conftest.err; then
17925 ac_cpp_err=$ac_cxx_preproc_warn_flag
17926 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17927 else
17928 ac_cpp_err=
17929 fi
17930 else
17931 ac_cpp_err=yes
17932 fi
17933 if test -z "$ac_cpp_err"; then
17934 :
17935 else
17936 echo "$as_me: failed program was:" >&5
17937 sed 's/^/| /' conftest.$ac_ext >&5
17938
17939 # Broken: fails on valid input.
17940 continue
17941 fi
17942 rm -f conftest.err conftest.$ac_ext
17943
17944 # OK, works on sane cases. Now check whether non-existent headers
17945 # can be detected and how.
17946 cat >conftest.$ac_ext <<_ACEOF
17947 /* confdefs.h. */
17948 _ACEOF
17949 cat confdefs.h >>conftest.$ac_ext
17950 cat >>conftest.$ac_ext <<_ACEOF
17951 /* end confdefs.h. */
17952 #include <ac_nonexistent.h>
17953 _ACEOF
17954 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17955 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17956 ac_status=$?
17957 grep -v '^ *+' conftest.er1 >conftest.err
17958 rm -f conftest.er1
17959 cat conftest.err >&5
17960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17961 (exit $ac_status); } >/dev/null; then
17962 if test -s conftest.err; then
17963 ac_cpp_err=$ac_cxx_preproc_warn_flag
17964 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17965 else
17966 ac_cpp_err=
17967 fi
17968 else
17969 ac_cpp_err=yes
17970 fi
17971 if test -z "$ac_cpp_err"; then
17972 # Broken: success on invalid input.
17973 continue
17974 else
17975 echo "$as_me: failed program was:" >&5
17976 sed 's/^/| /' conftest.$ac_ext >&5
17977
17978 # Passes both tests.
17979 ac_preproc_ok=:
17980 break
17981 fi
17982 rm -f conftest.err conftest.$ac_ext
17983
17984 done
17985 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17986 rm -f conftest.err conftest.$ac_ext
17987 if $ac_preproc_ok; then
17988 break
17989 fi
17990
17991 done
17992 ac_cv_prog_CXXCPP=$CXXCPP
17993
17994 fi
17995 CXXCPP=$ac_cv_prog_CXXCPP
17996 else
17997 ac_cv_prog_CXXCPP=$CXXCPP
17998 fi
17999 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18000 echo "${ECHO_T}$CXXCPP" >&6
18001 ac_preproc_ok=false
18002 for ac_cxx_preproc_warn_flag in '' yes
18003 do
18004 # Use a header file that comes with gcc, so configuring glibc
18005 # with a fresh cross-compiler works.
18006 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18007 # <limits.h> exists even on freestanding compilers.
18008 # On the NeXT, cc -E runs the code through the compiler's parser,
18009 # not just through cpp. "Syntax error" is here to catch this case.
18010 cat >conftest.$ac_ext <<_ACEOF
18011 /* confdefs.h. */
18012 _ACEOF
18013 cat confdefs.h >>conftest.$ac_ext
18014 cat >>conftest.$ac_ext <<_ACEOF
18015 /* end confdefs.h. */
18016 #ifdef __STDC__
18017 # include <limits.h>
18018 #else
18019 # include <assert.h>
18020 #endif
18021 Syntax error
18022 _ACEOF
18023 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18024 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18025 ac_status=$?
18026 grep -v '^ *+' conftest.er1 >conftest.err
18027 rm -f conftest.er1
18028 cat conftest.err >&5
18029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18030 (exit $ac_status); } >/dev/null; then
18031 if test -s conftest.err; then
18032 ac_cpp_err=$ac_cxx_preproc_warn_flag
18033 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18034 else
18035 ac_cpp_err=
18036 fi
18037 else
18038 ac_cpp_err=yes
18039 fi
18040 if test -z "$ac_cpp_err"; then
18041 :
18042 else
18043 echo "$as_me: failed program was:" >&5
18044 sed 's/^/| /' conftest.$ac_ext >&5
18045
18046 # Broken: fails on valid input.
18047 continue
18048 fi
18049 rm -f conftest.err conftest.$ac_ext
18050
18051 # OK, works on sane cases. Now check whether non-existent headers
18052 # can be detected and how.
18053 cat >conftest.$ac_ext <<_ACEOF
18054 /* confdefs.h. */
18055 _ACEOF
18056 cat confdefs.h >>conftest.$ac_ext
18057 cat >>conftest.$ac_ext <<_ACEOF
18058 /* end confdefs.h. */
18059 #include <ac_nonexistent.h>
18060 _ACEOF
18061 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18062 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18063 ac_status=$?
18064 grep -v '^ *+' conftest.er1 >conftest.err
18065 rm -f conftest.er1
18066 cat conftest.err >&5
18067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18068 (exit $ac_status); } >/dev/null; then
18069 if test -s conftest.err; then
18070 ac_cpp_err=$ac_cxx_preproc_warn_flag
18071 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18072 else
18073 ac_cpp_err=
18074 fi
18075 else
18076 ac_cpp_err=yes
18077 fi
18078 if test -z "$ac_cpp_err"; then
18079 # Broken: success on invalid input.
18080 continue
18081 else
18082 echo "$as_me: failed program was:" >&5
18083 sed 's/^/| /' conftest.$ac_ext >&5
18084
18085 # Passes both tests.
18086 ac_preproc_ok=:
18087 break
18088 fi
18089 rm -f conftest.err conftest.$ac_ext
18090
18091 done
18092 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18093 rm -f conftest.err conftest.$ac_ext
18094 if $ac_preproc_ok; then
18095 :
18096 else
18097 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18098 See \`config.log' for more details." >&5
18099 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18100 See \`config.log' for more details." >&2;}
18101 { (exit 1); exit 1; }; }
18102 fi
18103
18104 ac_ext=cc
18105 ac_cpp='$CXXCPP $CPPFLAGS'
18106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18109
18110
18111
18112 if test "$cross_compiling" = "yes"; then
18113 cat >>confdefs.h <<\_ACEOF
18114 #define wxUSE_IOSTREAMH 1
18115 _ACEOF
18116
18117 else
18118
18119
18120 ac_ext=cc
18121 ac_cpp='$CXXCPP $CPPFLAGS'
18122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18125
18126
18127
18128 for ac_header in iostream
18129 do
18130 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18132 echo "$as_me:$LINENO: checking for $ac_header" >&5
18133 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18134 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18135 echo $ECHO_N "(cached) $ECHO_C" >&6
18136 fi
18137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18138 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18139 else
18140 # Is the header compilable?
18141 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18142 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18143 cat >conftest.$ac_ext <<_ACEOF
18144 /* confdefs.h. */
18145 _ACEOF
18146 cat confdefs.h >>conftest.$ac_ext
18147 cat >>conftest.$ac_ext <<_ACEOF
18148 /* end confdefs.h. */
18149 $ac_includes_default
18150 #include <$ac_header>
18151 _ACEOF
18152 rm -f conftest.$ac_objext
18153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18154 (eval $ac_compile) 2>conftest.er1
18155 ac_status=$?
18156 grep -v '^ *+' conftest.er1 >conftest.err
18157 rm -f conftest.er1
18158 cat conftest.err >&5
18159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18160 (exit $ac_status); } &&
18161 { ac_try='test -z "$ac_cxx_werror_flag"
18162 || test ! -s conftest.err'
18163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18164 (eval $ac_try) 2>&5
18165 ac_status=$?
18166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18167 (exit $ac_status); }; } &&
18168 { ac_try='test -s conftest.$ac_objext'
18169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18170 (eval $ac_try) 2>&5
18171 ac_status=$?
18172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18173 (exit $ac_status); }; }; then
18174 ac_header_compiler=yes
18175 else
18176 echo "$as_me: failed program was:" >&5
18177 sed 's/^/| /' conftest.$ac_ext >&5
18178
18179 ac_header_compiler=no
18180 fi
18181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18182 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18183 echo "${ECHO_T}$ac_header_compiler" >&6
18184
18185 # Is the header present?
18186 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18187 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18188 cat >conftest.$ac_ext <<_ACEOF
18189 /* confdefs.h. */
18190 _ACEOF
18191 cat confdefs.h >>conftest.$ac_ext
18192 cat >>conftest.$ac_ext <<_ACEOF
18193 /* end confdefs.h. */
18194 #include <$ac_header>
18195 _ACEOF
18196 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18197 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18198 ac_status=$?
18199 grep -v '^ *+' conftest.er1 >conftest.err
18200 rm -f conftest.er1
18201 cat conftest.err >&5
18202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203 (exit $ac_status); } >/dev/null; then
18204 if test -s conftest.err; then
18205 ac_cpp_err=$ac_cxx_preproc_warn_flag
18206 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18207 else
18208 ac_cpp_err=
18209 fi
18210 else
18211 ac_cpp_err=yes
18212 fi
18213 if test -z "$ac_cpp_err"; then
18214 ac_header_preproc=yes
18215 else
18216 echo "$as_me: failed program was:" >&5
18217 sed 's/^/| /' conftest.$ac_ext >&5
18218
18219 ac_header_preproc=no
18220 fi
18221 rm -f conftest.err conftest.$ac_ext
18222 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18223 echo "${ECHO_T}$ac_header_preproc" >&6
18224
18225 # So? What about this header?
18226 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18227 yes:no: )
18228 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18229 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18230 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18231 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18232 ac_header_preproc=yes
18233 ;;
18234 no:yes:* )
18235 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18236 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18237 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18238 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18239 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18240 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18241 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18242 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18243 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18244 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18245 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18246 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18247 (
18248 cat <<\_ASBOX
18249 ## ----------------------------------------- ##
18250 ## Report this to wx-dev@lists.wxwindows.org ##
18251 ## ----------------------------------------- ##
18252 _ASBOX
18253 ) |
18254 sed "s/^/$as_me: WARNING: /" >&2
18255 ;;
18256 esac
18257 echo "$as_me:$LINENO: checking for $ac_header" >&5
18258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18260 echo $ECHO_N "(cached) $ECHO_C" >&6
18261 else
18262 eval "$as_ac_Header=\$ac_header_preproc"
18263 fi
18264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18265 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18266
18267 fi
18268 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18269 cat >>confdefs.h <<_ACEOF
18270 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18271 _ACEOF
18272
18273 fi
18274
18275 done
18276
18277
18278 if test "$ac_cv_header_iostream" = "yes" ; then
18279 :
18280 else
18281 cat >>confdefs.h <<\_ACEOF
18282 #define wxUSE_IOSTREAMH 1
18283 _ACEOF
18284
18285 fi
18286
18287 ac_ext=c
18288 ac_cpp='$CPP $CPPFLAGS'
18289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18292
18293 fi
18294
18295
18296
18297 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18298 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18299 if test "${wx_cv_cpp_bool+set}" = set; then
18300 echo $ECHO_N "(cached) $ECHO_C" >&6
18301 else
18302
18303
18304
18305 ac_ext=cc
18306 ac_cpp='$CXXCPP $CPPFLAGS'
18307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18310
18311
18312 cat >conftest.$ac_ext <<_ACEOF
18313 /* confdefs.h. */
18314 _ACEOF
18315 cat confdefs.h >>conftest.$ac_ext
18316 cat >>conftest.$ac_ext <<_ACEOF
18317 /* end confdefs.h. */
18318
18319
18320 int
18321 main ()
18322 {
18323
18324 bool b = true;
18325
18326 return 0;
18327
18328 ;
18329 return 0;
18330 }
18331 _ACEOF
18332 rm -f conftest.$ac_objext
18333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18334 (eval $ac_compile) 2>conftest.er1
18335 ac_status=$?
18336 grep -v '^ *+' conftest.er1 >conftest.err
18337 rm -f conftest.er1
18338 cat conftest.err >&5
18339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18340 (exit $ac_status); } &&
18341 { ac_try='test -z "$ac_cxx_werror_flag"
18342 || test ! -s conftest.err'
18343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18344 (eval $ac_try) 2>&5
18345 ac_status=$?
18346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18347 (exit $ac_status); }; } &&
18348 { ac_try='test -s conftest.$ac_objext'
18349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18350 (eval $ac_try) 2>&5
18351 ac_status=$?
18352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18353 (exit $ac_status); }; }; then
18354
18355 wx_cv_cpp_bool=yes
18356
18357 else
18358 echo "$as_me: failed program was:" >&5
18359 sed 's/^/| /' conftest.$ac_ext >&5
18360
18361
18362 wx_cv_cpp_bool=no
18363
18364
18365 fi
18366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18367
18368 ac_ext=c
18369 ac_cpp='$CPP $CPPFLAGS'
18370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18373
18374
18375 fi
18376 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18377 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18378
18379 if test "$wx_cv_cpp_bool" = "yes"; then
18380 cat >>confdefs.h <<\_ACEOF
18381 #define HAVE_BOOL 1
18382 _ACEOF
18383
18384 fi
18385
18386
18387
18388 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18389 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18390 if test "${wx_cv_explicit+set}" = set; then
18391 echo $ECHO_N "(cached) $ECHO_C" >&6
18392 else
18393
18394
18395
18396 ac_ext=cc
18397 ac_cpp='$CXXCPP $CPPFLAGS'
18398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18401
18402
18403 cat >conftest.$ac_ext <<_ACEOF
18404 /* confdefs.h. */
18405 _ACEOF
18406 cat confdefs.h >>conftest.$ac_ext
18407 cat >>conftest.$ac_ext <<_ACEOF
18408 /* end confdefs.h. */
18409
18410 class Foo { public: explicit Foo(int) {} };
18411
18412 int
18413 main ()
18414 {
18415
18416 return 0;
18417
18418 ;
18419 return 0;
18420 }
18421 _ACEOF
18422 rm -f conftest.$ac_objext
18423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18424 (eval $ac_compile) 2>conftest.er1
18425 ac_status=$?
18426 grep -v '^ *+' conftest.er1 >conftest.err
18427 rm -f conftest.er1
18428 cat conftest.err >&5
18429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 (exit $ac_status); } &&
18431 { ac_try='test -z "$ac_cxx_werror_flag"
18432 || test ! -s conftest.err'
18433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18434 (eval $ac_try) 2>&5
18435 ac_status=$?
18436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18437 (exit $ac_status); }; } &&
18438 { ac_try='test -s conftest.$ac_objext'
18439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18440 (eval $ac_try) 2>&5
18441 ac_status=$?
18442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18443 (exit $ac_status); }; }; then
18444
18445 cat >conftest.$ac_ext <<_ACEOF
18446 /* confdefs.h. */
18447 _ACEOF
18448 cat confdefs.h >>conftest.$ac_ext
18449 cat >>conftest.$ac_ext <<_ACEOF
18450 /* end confdefs.h. */
18451
18452 class Foo { public: explicit Foo(int) {} };
18453 static void TakeFoo(const Foo& foo) { }
18454
18455 int
18456 main ()
18457 {
18458
18459 TakeFoo(17);
18460 return 0;
18461
18462 ;
18463 return 0;
18464 }
18465 _ACEOF
18466 rm -f conftest.$ac_objext
18467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18468 (eval $ac_compile) 2>conftest.er1
18469 ac_status=$?
18470 grep -v '^ *+' conftest.er1 >conftest.err
18471 rm -f conftest.er1
18472 cat conftest.err >&5
18473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18474 (exit $ac_status); } &&
18475 { ac_try='test -z "$ac_cxx_werror_flag"
18476 || test ! -s conftest.err'
18477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18478 (eval $ac_try) 2>&5
18479 ac_status=$?
18480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481 (exit $ac_status); }; } &&
18482 { ac_try='test -s conftest.$ac_objext'
18483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18484 (eval $ac_try) 2>&5
18485 ac_status=$?
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); }; }; then
18488 wx_cv_explicit=no
18489 else
18490 echo "$as_me: failed program was:" >&5
18491 sed 's/^/| /' conftest.$ac_ext >&5
18492
18493 wx_cv_explicit=yes
18494
18495 fi
18496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18497
18498 else
18499 echo "$as_me: failed program was:" >&5
18500 sed 's/^/| /' conftest.$ac_ext >&5
18501
18502 wx_cv_explicit=no
18503
18504 fi
18505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18506
18507 ac_ext=c
18508 ac_cpp='$CPP $CPPFLAGS'
18509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18512
18513
18514 fi
18515 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
18516 echo "${ECHO_T}$wx_cv_explicit" >&6
18517
18518 if test "$wx_cv_explicit" = "yes"; then
18519 cat >>confdefs.h <<\_ACEOF
18520 #define HAVE_EXPLICIT 1
18521 _ACEOF
18522
18523 fi
18524
18525
18526 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
18527 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
18528 if test "${ac_cv_cxx_const_cast+set}" = set; then
18529 echo $ECHO_N "(cached) $ECHO_C" >&6
18530 else
18531
18532
18533 ac_ext=cc
18534 ac_cpp='$CXXCPP $CPPFLAGS'
18535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18538
18539 cat >conftest.$ac_ext <<_ACEOF
18540 /* confdefs.h. */
18541 _ACEOF
18542 cat confdefs.h >>conftest.$ac_ext
18543 cat >>conftest.$ac_ext <<_ACEOF
18544 /* end confdefs.h. */
18545
18546 int
18547 main ()
18548 {
18549 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
18550 ;
18551 return 0;
18552 }
18553 _ACEOF
18554 rm -f conftest.$ac_objext
18555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18556 (eval $ac_compile) 2>conftest.er1
18557 ac_status=$?
18558 grep -v '^ *+' conftest.er1 >conftest.err
18559 rm -f conftest.er1
18560 cat conftest.err >&5
18561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18562 (exit $ac_status); } &&
18563 { ac_try='test -z "$ac_cxx_werror_flag"
18564 || test ! -s conftest.err'
18565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18566 (eval $ac_try) 2>&5
18567 ac_status=$?
18568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18569 (exit $ac_status); }; } &&
18570 { ac_try='test -s conftest.$ac_objext'
18571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18572 (eval $ac_try) 2>&5
18573 ac_status=$?
18574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18575 (exit $ac_status); }; }; then
18576 ac_cv_cxx_const_cast=yes
18577 else
18578 echo "$as_me: failed program was:" >&5
18579 sed 's/^/| /' conftest.$ac_ext >&5
18580
18581 ac_cv_cxx_const_cast=no
18582 fi
18583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18584 ac_ext=c
18585 ac_cpp='$CPP $CPPFLAGS'
18586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18589
18590
18591 fi
18592 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
18593 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
18594 if test "$ac_cv_cxx_const_cast" = yes; then
18595
18596 cat >>confdefs.h <<\_ACEOF
18597 #define HAVE_CONST_CAST
18598 _ACEOF
18599
18600 fi
18601
18602
18603 if test "$wxUSE_STL" = "yes"; then
18604 ac_ext=cc
18605 ac_cpp='$CXXCPP $CPPFLAGS'
18606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18609
18610
18611 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
18612 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
18613 cat >conftest.$ac_ext <<_ACEOF
18614 /* confdefs.h. */
18615 _ACEOF
18616 cat confdefs.h >>conftest.$ac_ext
18617 cat >>conftest.$ac_ext <<_ACEOF
18618 /* end confdefs.h. */
18619 #include <string>
18620 #include <functional>
18621 #include <algorithm>
18622 #include <vector>
18623 #include <list>
18624 int
18625 main ()
18626 {
18627 std::vector<int> moo;
18628 std::list<int> foo;
18629 std::vector<int>::iterator it =
18630 std::find_if(moo.begin(), moo.end(),
18631 std::bind2nd(std::less<int>(), 3));
18632 ;
18633 return 0;
18634 }
18635 _ACEOF
18636 rm -f conftest.$ac_objext
18637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18638 (eval $ac_compile) 2>conftest.er1
18639 ac_status=$?
18640 grep -v '^ *+' conftest.er1 >conftest.err
18641 rm -f conftest.er1
18642 cat conftest.err >&5
18643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18644 (exit $ac_status); } &&
18645 { ac_try='test -z "$ac_cxx_werror_flag"
18646 || test ! -s conftest.err'
18647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18648 (eval $ac_try) 2>&5
18649 ac_status=$?
18650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18651 (exit $ac_status); }; } &&
18652 { ac_try='test -s conftest.$ac_objext'
18653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18654 (eval $ac_try) 2>&5
18655 ac_status=$?
18656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18657 (exit $ac_status); }; }; then
18658 echo "$as_me:$LINENO: result: yes" >&5
18659 echo "${ECHO_T}yes" >&6
18660 else
18661 echo "$as_me: failed program was:" >&5
18662 sed 's/^/| /' conftest.$ac_ext >&5
18663
18664 echo "$as_me:$LINENO: result: no" >&5
18665 echo "${ECHO_T}no" >&6
18666 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
18667 echo "$as_me: error: Basic STL functionality missing" >&2;}
18668 { (exit 1); exit 1; }; }
18669 fi
18670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18671
18672 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
18673 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
18674 cat >conftest.$ac_ext <<_ACEOF
18675 /* confdefs.h. */
18676 _ACEOF
18677 cat confdefs.h >>conftest.$ac_ext
18678 cat >>conftest.$ac_ext <<_ACEOF
18679 /* end confdefs.h. */
18680 #include <string>
18681 int
18682 main ()
18683 {
18684 std::wstring foo;
18685 ;
18686 return 0;
18687 }
18688 _ACEOF
18689 rm -f conftest.$ac_objext
18690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18691 (eval $ac_compile) 2>conftest.er1
18692 ac_status=$?
18693 grep -v '^ *+' conftest.er1 >conftest.err
18694 rm -f conftest.er1
18695 cat conftest.err >&5
18696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18697 (exit $ac_status); } &&
18698 { ac_try='test -z "$ac_cxx_werror_flag"
18699 || test ! -s conftest.err'
18700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18701 (eval $ac_try) 2>&5
18702 ac_status=$?
18703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18704 (exit $ac_status); }; } &&
18705 { ac_try='test -s conftest.$ac_objext'
18706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18707 (eval $ac_try) 2>&5
18708 ac_status=$?
18709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18710 (exit $ac_status); }; }; then
18711 echo "$as_me:$LINENO: result: yes" >&5
18712 echo "${ECHO_T}yes" >&6
18713 cat >>confdefs.h <<\_ACEOF
18714 #define HAVE_STD_WSTRING 1
18715 _ACEOF
18716
18717 else
18718 echo "$as_me: failed program was:" >&5
18719 sed 's/^/| /' conftest.$ac_ext >&5
18720
18721 echo "$as_me:$LINENO: result: no" >&5
18722 echo "${ECHO_T}no" >&6
18723 fi
18724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18725
18726 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
18727 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
18728 cat >conftest.$ac_ext <<_ACEOF
18729 /* confdefs.h. */
18730 _ACEOF
18731 cat confdefs.h >>conftest.$ac_ext
18732 cat >>conftest.$ac_ext <<_ACEOF
18733 /* end confdefs.h. */
18734 #include <string>
18735 int
18736 main ()
18737 {
18738 std::string foo, bar;
18739 foo.compare(bar);
18740 foo.compare(1, 1, bar);
18741 foo.compare(1, 1, bar, 1, 1);
18742 foo.compare("");
18743 foo.compare(1, 1, "");
18744 foo.compare(1, 1, "", 2);
18745 ;
18746 return 0;
18747 }
18748 _ACEOF
18749 rm -f conftest.$ac_objext
18750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18751 (eval $ac_compile) 2>conftest.er1
18752 ac_status=$?
18753 grep -v '^ *+' conftest.er1 >conftest.err
18754 rm -f conftest.er1
18755 cat conftest.err >&5
18756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18757 (exit $ac_status); } &&
18758 { ac_try='test -z "$ac_cxx_werror_flag"
18759 || test ! -s conftest.err'
18760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18761 (eval $ac_try) 2>&5
18762 ac_status=$?
18763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18764 (exit $ac_status); }; } &&
18765 { ac_try='test -s conftest.$ac_objext'
18766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18767 (eval $ac_try) 2>&5
18768 ac_status=$?
18769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18770 (exit $ac_status); }; }; then
18771 echo "$as_me:$LINENO: result: yes" >&5
18772 echo "${ECHO_T}yes" >&6
18773 cat >>confdefs.h <<\_ACEOF
18774 #define HAVE_STD_STRING_COMPARE 1
18775 _ACEOF
18776
18777 else
18778 echo "$as_me: failed program was:" >&5
18779 sed 's/^/| /' conftest.$ac_ext >&5
18780
18781 echo "$as_me:$LINENO: result: no" >&5
18782 echo "${ECHO_T}no" >&6
18783 fi
18784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18785
18786 ac_ext=c
18787 ac_cpp='$CPP $CPPFLAGS'
18788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18791
18792 fi
18793
18794
18795 SEARCH_INCLUDE="\
18796 /usr/local/include \
18797 \
18798 /usr/Motif-1.2/include \
18799 /usr/Motif-2.1/include \
18800 \
18801 /usr/include/Motif1.2 \
18802 /opt/xpm/include/X11 \
18803 /opt/GBxpm/include/ \
18804 /opt/GBxpm/X11/include/ \
18805 \
18806 /usr/Motif1.2/include \
18807 /usr/dt/include \
18808 /usr/openwin/include \
18809 \
18810 /usr/include/Xm \
18811 \
18812 /usr/X11R6/include \
18813 /usr/X11R6.4/include \
18814 /usr/X11R5/include \
18815 /usr/X11R4/include \
18816 \
18817 /usr/include/X11R6 \
18818 /usr/include/X11R5 \
18819 /usr/include/X11R4 \
18820 \
18821 /usr/local/X11R6/include \
18822 /usr/local/X11R5/include \
18823 /usr/local/X11R4/include \
18824 \
18825 /usr/local/include/X11R6 \
18826 /usr/local/include/X11R5 \
18827 /usr/local/include/X11R4 \
18828 \
18829 /usr/X11/include \
18830 /usr/include/X11 \
18831 /usr/local/X11/include \
18832 /usr/local/include/X11 \
18833 \
18834 /usr/X386/include \
18835 /usr/x386/include \
18836 /usr/XFree86/include/X11 \
18837 \
18838 X:/XFree86/include \
18839 X:/XFree86/include/X11 \
18840 \
18841 /usr/include/gtk \
18842 /usr/local/include/gtk \
18843 /usr/include/glib \
18844 /usr/local/include/glib \
18845 \
18846 /usr/include/qt \
18847 /usr/local/include/qt \
18848 \
18849 /usr/include/windows \
18850 /usr/include/wine \
18851 /usr/local/include/wine \
18852 \
18853 /usr/unsupported/include \
18854 /usr/athena/include \
18855 /usr/local/x11r5/include \
18856 /usr/lpp/Xamples/include \
18857 \
18858 /usr/openwin/share/include"
18859
18860 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` " \
18861 /usr/lib64 /usr/X11R6/lib64
18862
18863
18864 cat >confcache <<\_ACEOF
18865 # This file is a shell script that caches the results of configure
18866 # tests run on this system so they can be shared between configure
18867 # scripts and configure runs, see configure's option --config-cache.
18868 # It is not useful on other systems. If it contains results you don't
18869 # want to keep, you may remove or edit it.
18870 #
18871 # config.status only pays attention to the cache file if you give it
18872 # the --recheck option to rerun configure.
18873 #
18874 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18875 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18876 # following values.
18877
18878 _ACEOF
18879
18880 # The following way of writing the cache mishandles newlines in values,
18881 # but we know of no workaround that is simple, portable, and efficient.
18882 # So, don't put newlines in cache variables' values.
18883 # Ultrix sh set writes to stderr and can't be redirected directly,
18884 # and sets the high bit in the cache file unless we assign to the vars.
18885 {
18886 (set) 2>&1 |
18887 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18888 *ac_space=\ *)
18889 # `set' does not quote correctly, so add quotes (double-quote
18890 # substitution turns \\\\ into \\, and sed turns \\ into \).
18891 sed -n \
18892 "s/'/'\\\\''/g;
18893 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18894 ;;
18895 *)
18896 # `set' quotes correctly as required by POSIX, so do not add quotes.
18897 sed -n \
18898 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
18899 ;;
18900 esac;
18901 } |
18902 sed '
18903 t clear
18904 : clear
18905 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18906 t end
18907 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18908 : end' >>confcache
18909 if diff $cache_file confcache >/dev/null 2>&1; then :; else
18910 if test -w $cache_file; then
18911 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18912 cat confcache >$cache_file
18913 else
18914 echo "not updating unwritable cache $cache_file"
18915 fi
18916 fi
18917 rm -f confcache
18918
18919 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
18920 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
18921 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
18922 if test "${wx_cv_lib_glibc21+set}" = set; then
18923 echo $ECHO_N "(cached) $ECHO_C" >&6
18924 else
18925
18926 cat >conftest.$ac_ext <<_ACEOF
18927 /* confdefs.h. */
18928 _ACEOF
18929 cat confdefs.h >>conftest.$ac_ext
18930 cat >>conftest.$ac_ext <<_ACEOF
18931 /* end confdefs.h. */
18932 #include <features.h>
18933 int
18934 main ()
18935 {
18936
18937 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
18938 #error not glibc2.1
18939 #endif
18940
18941 ;
18942 return 0;
18943 }
18944 _ACEOF
18945 rm -f conftest.$ac_objext
18946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18947 (eval $ac_compile) 2>conftest.er1
18948 ac_status=$?
18949 grep -v '^ *+' conftest.er1 >conftest.err
18950 rm -f conftest.er1
18951 cat conftest.err >&5
18952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18953 (exit $ac_status); } &&
18954 { ac_try='test -z "$ac_c_werror_flag"
18955 || test ! -s conftest.err'
18956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18957 (eval $ac_try) 2>&5
18958 ac_status=$?
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); }; } &&
18961 { ac_try='test -s conftest.$ac_objext'
18962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18963 (eval $ac_try) 2>&5
18964 ac_status=$?
18965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18966 (exit $ac_status); }; }; then
18967
18968 wx_cv_lib_glibc21=yes
18969
18970 else
18971 echo "$as_me: failed program was:" >&5
18972 sed 's/^/| /' conftest.$ac_ext >&5
18973
18974
18975 wx_cv_lib_glibc21=no
18976
18977
18978 fi
18979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18980
18981 fi
18982 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
18983 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
18984 if test "$wx_cv_lib_glibc21" = "yes"; then
18985 cat >>confdefs.h <<\_ACEOF
18986 #define wxHAVE_GLIBC2 1
18987 _ACEOF
18988
18989 fi
18990 fi
18991
18992 if test "x$wx_cv_lib_glibc21" = "xyes"; then
18993 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
18994 cat >>confdefs.h <<\_ACEOF
18995 #define _GNU_SOURCE 1
18996 _ACEOF
18997
18998 fi
18999 fi
19000
19001
19002
19003 if test "$wxUSE_REGEX" != "no"; then
19004 cat >>confdefs.h <<\_ACEOF
19005 #define wxUSE_REGEX 1
19006 _ACEOF
19007
19008
19009 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
19010 { echo "$as_me:$LINENO: WARNING: Unicode build requires built-in regex library, will use it instead" >&5
19011 echo "$as_me: WARNING: Unicode build requires built-in regex library, will use it instead" >&2;}
19012 wxUSE_REGEX=builtin
19013 fi
19014
19015 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
19016 if test "${ac_cv_header_regex_h+set}" = set; then
19017 echo "$as_me:$LINENO: checking for regex.h" >&5
19018 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19019 if test "${ac_cv_header_regex_h+set}" = set; then
19020 echo $ECHO_N "(cached) $ECHO_C" >&6
19021 fi
19022 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19023 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19024 else
19025 # Is the header compilable?
19026 echo "$as_me:$LINENO: checking regex.h usability" >&5
19027 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
19028 cat >conftest.$ac_ext <<_ACEOF
19029 /* confdefs.h. */
19030 _ACEOF
19031 cat confdefs.h >>conftest.$ac_ext
19032 cat >>conftest.$ac_ext <<_ACEOF
19033 /* end confdefs.h. */
19034 $ac_includes_default
19035 #include <regex.h>
19036 _ACEOF
19037 rm -f conftest.$ac_objext
19038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19039 (eval $ac_compile) 2>conftest.er1
19040 ac_status=$?
19041 grep -v '^ *+' conftest.er1 >conftest.err
19042 rm -f conftest.er1
19043 cat conftest.err >&5
19044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19045 (exit $ac_status); } &&
19046 { ac_try='test -z "$ac_c_werror_flag"
19047 || test ! -s conftest.err'
19048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19049 (eval $ac_try) 2>&5
19050 ac_status=$?
19051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19052 (exit $ac_status); }; } &&
19053 { ac_try='test -s conftest.$ac_objext'
19054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19055 (eval $ac_try) 2>&5
19056 ac_status=$?
19057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19058 (exit $ac_status); }; }; then
19059 ac_header_compiler=yes
19060 else
19061 echo "$as_me: failed program was:" >&5
19062 sed 's/^/| /' conftest.$ac_ext >&5
19063
19064 ac_header_compiler=no
19065 fi
19066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19067 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19068 echo "${ECHO_T}$ac_header_compiler" >&6
19069
19070 # Is the header present?
19071 echo "$as_me:$LINENO: checking regex.h presence" >&5
19072 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
19073 cat >conftest.$ac_ext <<_ACEOF
19074 /* confdefs.h. */
19075 _ACEOF
19076 cat confdefs.h >>conftest.$ac_ext
19077 cat >>conftest.$ac_ext <<_ACEOF
19078 /* end confdefs.h. */
19079 #include <regex.h>
19080 _ACEOF
19081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19082 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19083 ac_status=$?
19084 grep -v '^ *+' conftest.er1 >conftest.err
19085 rm -f conftest.er1
19086 cat conftest.err >&5
19087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19088 (exit $ac_status); } >/dev/null; then
19089 if test -s conftest.err; then
19090 ac_cpp_err=$ac_c_preproc_warn_flag
19091 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19092 else
19093 ac_cpp_err=
19094 fi
19095 else
19096 ac_cpp_err=yes
19097 fi
19098 if test -z "$ac_cpp_err"; then
19099 ac_header_preproc=yes
19100 else
19101 echo "$as_me: failed program was:" >&5
19102 sed 's/^/| /' conftest.$ac_ext >&5
19103
19104 ac_header_preproc=no
19105 fi
19106 rm -f conftest.err conftest.$ac_ext
19107 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19108 echo "${ECHO_T}$ac_header_preproc" >&6
19109
19110 # So? What about this header?
19111 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19112 yes:no: )
19113 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
19114 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19115 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
19116 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
19117 ac_header_preproc=yes
19118 ;;
19119 no:yes:* )
19120 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
19121 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
19122 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
19123 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
19124 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
19125 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
19126 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
19127 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
19128 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
19129 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
19130 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
19131 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
19132 (
19133 cat <<\_ASBOX
19134 ## ----------------------------------------- ##
19135 ## Report this to wx-dev@lists.wxwindows.org ##
19136 ## ----------------------------------------- ##
19137 _ASBOX
19138 ) |
19139 sed "s/^/$as_me: WARNING: /" >&2
19140 ;;
19141 esac
19142 echo "$as_me:$LINENO: checking for regex.h" >&5
19143 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19144 if test "${ac_cv_header_regex_h+set}" = set; then
19145 echo $ECHO_N "(cached) $ECHO_C" >&6
19146 else
19147 ac_cv_header_regex_h=$ac_header_preproc
19148 fi
19149 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19150 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19151
19152 fi
19153 if test $ac_cv_header_regex_h = yes; then
19154
19155 for ac_func in regcomp
19156 do
19157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19158 echo "$as_me:$LINENO: checking for $ac_func" >&5
19159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19160 if eval "test \"\${$as_ac_var+set}\" = set"; then
19161 echo $ECHO_N "(cached) $ECHO_C" >&6
19162 else
19163 cat >conftest.$ac_ext <<_ACEOF
19164 /* confdefs.h. */
19165 _ACEOF
19166 cat confdefs.h >>conftest.$ac_ext
19167 cat >>conftest.$ac_ext <<_ACEOF
19168 /* end confdefs.h. */
19169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19171 #define $ac_func innocuous_$ac_func
19172
19173 /* System header to define __stub macros and hopefully few prototypes,
19174 which can conflict with char $ac_func (); below.
19175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19176 <limits.h> exists even on freestanding compilers. */
19177
19178 #ifdef __STDC__
19179 # include <limits.h>
19180 #else
19181 # include <assert.h>
19182 #endif
19183
19184 #undef $ac_func
19185
19186 /* Override any gcc2 internal prototype to avoid an error. */
19187 #ifdef __cplusplus
19188 extern "C"
19189 {
19190 #endif
19191 /* We use char because int might match the return type of a gcc2
19192 builtin and then its argument prototype would still apply. */
19193 char $ac_func ();
19194 /* The GNU C library defines this for functions which it implements
19195 to always fail with ENOSYS. Some functions are actually named
19196 something starting with __ and the normal name is an alias. */
19197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19198 choke me
19199 #else
19200 char (*f) () = $ac_func;
19201 #endif
19202 #ifdef __cplusplus
19203 }
19204 #endif
19205
19206 int
19207 main ()
19208 {
19209 return f != $ac_func;
19210 ;
19211 return 0;
19212 }
19213 _ACEOF
19214 rm -f conftest.$ac_objext conftest$ac_exeext
19215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19216 (eval $ac_link) 2>conftest.er1
19217 ac_status=$?
19218 grep -v '^ *+' conftest.er1 >conftest.err
19219 rm -f conftest.er1
19220 cat conftest.err >&5
19221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19222 (exit $ac_status); } &&
19223 { ac_try='test -z "$ac_c_werror_flag"
19224 || test ! -s conftest.err'
19225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19226 (eval $ac_try) 2>&5
19227 ac_status=$?
19228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19229 (exit $ac_status); }; } &&
19230 { ac_try='test -s conftest$ac_exeext'
19231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19232 (eval $ac_try) 2>&5
19233 ac_status=$?
19234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235 (exit $ac_status); }; }; then
19236 eval "$as_ac_var=yes"
19237 else
19238 echo "$as_me: failed program was:" >&5
19239 sed 's/^/| /' conftest.$ac_ext >&5
19240
19241 eval "$as_ac_var=no"
19242 fi
19243 rm -f conftest.err conftest.$ac_objext \
19244 conftest$ac_exeext conftest.$ac_ext
19245 fi
19246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19248 if test `eval echo '${'$as_ac_var'}'` = yes; then
19249 cat >>confdefs.h <<_ACEOF
19250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19251 _ACEOF
19252
19253 fi
19254 done
19255
19256 fi
19257
19258
19259
19260 if test "x$ac_cv_func_regcomp" != "xyes"; then
19261 if test "$wxUSE_REGEX" = "sys" ; then
19262 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
19263 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
19264 { (exit 1); exit 1; }; }
19265 else
19266 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
19267 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
19268 wxUSE_REGEX=builtin
19269 fi
19270 else
19271 wxUSE_REGEX=sys
19272 fi
19273 fi
19274 fi
19275
19276
19277 ZLIB_LINK=
19278 if test "$wxUSE_ZLIB" != "no" ; then
19279 cat >>confdefs.h <<\_ACEOF
19280 #define wxUSE_ZLIB 1
19281 _ACEOF
19282
19283
19284 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
19285 if test "$USE_DARWIN" = 1; then
19286 system_zlib_h_ok="yes"
19287 else
19288 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
19289 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
19290 if test "${ac_cv_header_zlib_h+set}" = set; then
19291 echo $ECHO_N "(cached) $ECHO_C" >&6
19292 else
19293 if test "$cross_compiling" = yes; then
19294 unset ac_cv_header_zlib_h
19295
19296 else
19297 cat >conftest.$ac_ext <<_ACEOF
19298 /* confdefs.h. */
19299 _ACEOF
19300 cat confdefs.h >>conftest.$ac_ext
19301 cat >>conftest.$ac_ext <<_ACEOF
19302 /* end confdefs.h. */
19303
19304 #include <zlib.h>
19305 #include <stdio.h>
19306
19307 int main()
19308 {
19309 FILE *f=fopen("conftestval", "w");
19310 if (!f) exit(1);
19311 fprintf(f, "%s",
19312 ZLIB_VERSION[0] == '1' &&
19313 (ZLIB_VERSION[2] > '1' ||
19314 (ZLIB_VERSION[2] == '1' &&
19315 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
19316 exit(0);
19317 }
19318
19319 _ACEOF
19320 rm -f conftest$ac_exeext
19321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19322 (eval $ac_link) 2>&5
19323 ac_status=$?
19324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19325 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19327 (eval $ac_try) 2>&5
19328 ac_status=$?
19329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19330 (exit $ac_status); }; }; then
19331 ac_cv_header_zlib_h=`cat conftestval`
19332 else
19333 echo "$as_me: program exited with status $ac_status" >&5
19334 echo "$as_me: failed program was:" >&5
19335 sed 's/^/| /' conftest.$ac_ext >&5
19336
19337 ( exit $ac_status )
19338 ac_cv_header_zlib_h=no
19339 fi
19340 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19341 fi
19342
19343 fi
19344 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19345 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19346 if test "${ac_cv_header_zlib_h+set}" = set; then
19347 echo "$as_me:$LINENO: checking for zlib.h" >&5
19348 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19349 if test "${ac_cv_header_zlib_h+set}" = set; then
19350 echo $ECHO_N "(cached) $ECHO_C" >&6
19351 fi
19352 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19353 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19354 else
19355 # Is the header compilable?
19356 echo "$as_me:$LINENO: checking zlib.h usability" >&5
19357 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
19358 cat >conftest.$ac_ext <<_ACEOF
19359 /* confdefs.h. */
19360 _ACEOF
19361 cat confdefs.h >>conftest.$ac_ext
19362 cat >>conftest.$ac_ext <<_ACEOF
19363 /* end confdefs.h. */
19364 $ac_includes_default
19365 #include <zlib.h>
19366 _ACEOF
19367 rm -f conftest.$ac_objext
19368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19369 (eval $ac_compile) 2>conftest.er1
19370 ac_status=$?
19371 grep -v '^ *+' conftest.er1 >conftest.err
19372 rm -f conftest.er1
19373 cat conftest.err >&5
19374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19375 (exit $ac_status); } &&
19376 { ac_try='test -z "$ac_c_werror_flag"
19377 || test ! -s conftest.err'
19378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19379 (eval $ac_try) 2>&5
19380 ac_status=$?
19381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19382 (exit $ac_status); }; } &&
19383 { ac_try='test -s conftest.$ac_objext'
19384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19385 (eval $ac_try) 2>&5
19386 ac_status=$?
19387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19388 (exit $ac_status); }; }; then
19389 ac_header_compiler=yes
19390 else
19391 echo "$as_me: failed program was:" >&5
19392 sed 's/^/| /' conftest.$ac_ext >&5
19393
19394 ac_header_compiler=no
19395 fi
19396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19397 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19398 echo "${ECHO_T}$ac_header_compiler" >&6
19399
19400 # Is the header present?
19401 echo "$as_me:$LINENO: checking zlib.h presence" >&5
19402 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
19403 cat >conftest.$ac_ext <<_ACEOF
19404 /* confdefs.h. */
19405 _ACEOF
19406 cat confdefs.h >>conftest.$ac_ext
19407 cat >>conftest.$ac_ext <<_ACEOF
19408 /* end confdefs.h. */
19409 #include <zlib.h>
19410 _ACEOF
19411 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19412 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19413 ac_status=$?
19414 grep -v '^ *+' conftest.er1 >conftest.err
19415 rm -f conftest.er1
19416 cat conftest.err >&5
19417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19418 (exit $ac_status); } >/dev/null; then
19419 if test -s conftest.err; then
19420 ac_cpp_err=$ac_c_preproc_warn_flag
19421 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19422 else
19423 ac_cpp_err=
19424 fi
19425 else
19426 ac_cpp_err=yes
19427 fi
19428 if test -z "$ac_cpp_err"; then
19429 ac_header_preproc=yes
19430 else
19431 echo "$as_me: failed program was:" >&5
19432 sed 's/^/| /' conftest.$ac_ext >&5
19433
19434 ac_header_preproc=no
19435 fi
19436 rm -f conftest.err conftest.$ac_ext
19437 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19438 echo "${ECHO_T}$ac_header_preproc" >&6
19439
19440 # So? What about this header?
19441 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19442 yes:no: )
19443 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
19444 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19445 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
19446 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
19447 ac_header_preproc=yes
19448 ;;
19449 no:yes:* )
19450 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
19451 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
19452 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
19453 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
19454 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
19455 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
19456 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
19457 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
19458 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
19459 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
19460 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
19461 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
19462 (
19463 cat <<\_ASBOX
19464 ## ----------------------------------------- ##
19465 ## Report this to wx-dev@lists.wxwindows.org ##
19466 ## ----------------------------------------- ##
19467 _ASBOX
19468 ) |
19469 sed "s/^/$as_me: WARNING: /" >&2
19470 ;;
19471 esac
19472 echo "$as_me:$LINENO: checking for zlib.h" >&5
19473 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19474 if test "${ac_cv_header_zlib_h+set}" = set; then
19475 echo $ECHO_N "(cached) $ECHO_C" >&6
19476 else
19477 ac_cv_header_zlib_h=$ac_header_preproc
19478 fi
19479 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19480 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19481
19482 fi
19483
19484
19485
19486 system_zlib_h_ok=$ac_cv_header_zlib_h
19487 fi
19488
19489 if test "$system_zlib_h_ok" = "yes"; then
19490 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
19491 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
19492 if test "${ac_cv_lib_z_deflate+set}" = set; then
19493 echo $ECHO_N "(cached) $ECHO_C" >&6
19494 else
19495 ac_check_lib_save_LIBS=$LIBS
19496 LIBS="-lz $LIBS"
19497 cat >conftest.$ac_ext <<_ACEOF
19498 /* confdefs.h. */
19499 _ACEOF
19500 cat confdefs.h >>conftest.$ac_ext
19501 cat >>conftest.$ac_ext <<_ACEOF
19502 /* end confdefs.h. */
19503
19504 /* Override any gcc2 internal prototype to avoid an error. */
19505 #ifdef __cplusplus
19506 extern "C"
19507 #endif
19508 /* We use char because int might match the return type of a gcc2
19509 builtin and then its argument prototype would still apply. */
19510 char deflate ();
19511 int
19512 main ()
19513 {
19514 deflate ();
19515 ;
19516 return 0;
19517 }
19518 _ACEOF
19519 rm -f conftest.$ac_objext conftest$ac_exeext
19520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19521 (eval $ac_link) 2>conftest.er1
19522 ac_status=$?
19523 grep -v '^ *+' conftest.er1 >conftest.err
19524 rm -f conftest.er1
19525 cat conftest.err >&5
19526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527 (exit $ac_status); } &&
19528 { ac_try='test -z "$ac_c_werror_flag"
19529 || test ! -s conftest.err'
19530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19531 (eval $ac_try) 2>&5
19532 ac_status=$?
19533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534 (exit $ac_status); }; } &&
19535 { ac_try='test -s conftest$ac_exeext'
19536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19537 (eval $ac_try) 2>&5
19538 ac_status=$?
19539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19540 (exit $ac_status); }; }; then
19541 ac_cv_lib_z_deflate=yes
19542 else
19543 echo "$as_me: failed program was:" >&5
19544 sed 's/^/| /' conftest.$ac_ext >&5
19545
19546 ac_cv_lib_z_deflate=no
19547 fi
19548 rm -f conftest.err conftest.$ac_objext \
19549 conftest$ac_exeext conftest.$ac_ext
19550 LIBS=$ac_check_lib_save_LIBS
19551 fi
19552 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
19553 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
19554 if test $ac_cv_lib_z_deflate = yes; then
19555 ZLIB_LINK=" -lz"
19556 fi
19557
19558 fi
19559
19560 if test "x$ZLIB_LINK" = "x" ; then
19561 if test "$wxUSE_ZLIB" = "sys" ; then
19562 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
19563 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
19564 { (exit 1); exit 1; }; }
19565 else
19566 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
19567 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
19568 wxUSE_ZLIB=builtin
19569 fi
19570 else
19571 wxUSE_ZLIB=sys
19572 fi
19573 fi
19574 fi
19575
19576
19577 PNG_LINK=
19578 if test "$wxUSE_LIBPNG" != "no" ; then
19579 cat >>confdefs.h <<\_ACEOF
19580 #define wxUSE_LIBPNG 1
19581 _ACEOF
19582
19583
19584 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
19585 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
19586 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
19587 wxUSE_LIBPNG=sys
19588 fi
19589
19590 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
19591 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
19592 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
19593 wxUSE_LIBPNG=builtin
19594 fi
19595
19596 if test "$wxUSE_MGL" != 1 ; then
19597 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
19598 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
19599 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
19600 if test "${ac_cv_header_png_h+set}" = set; then
19601 echo $ECHO_N "(cached) $ECHO_C" >&6
19602 else
19603 if test "$cross_compiling" = yes; then
19604 unset ac_cv_header_png_h
19605
19606 else
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
19614 #include <png.h>
19615 #include <stdio.h>
19616
19617 int main()
19618 {
19619 FILE *f=fopen("conftestval", "w");
19620 if (!f) exit(1);
19621 fprintf(f, "%s",
19622 PNG_LIBPNG_VER > 90 ? "yes" : "no");
19623 exit(0);
19624 }
19625
19626 _ACEOF
19627 rm -f conftest$ac_exeext
19628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19629 (eval $ac_link) 2>&5
19630 ac_status=$?
19631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19632 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19634 (eval $ac_try) 2>&5
19635 ac_status=$?
19636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19637 (exit $ac_status); }; }; then
19638 ac_cv_header_png_h=`cat conftestval`
19639 else
19640 echo "$as_me: program exited with status $ac_status" >&5
19641 echo "$as_me: failed program was:" >&5
19642 sed 's/^/| /' conftest.$ac_ext >&5
19643
19644 ( exit $ac_status )
19645 ac_cv_header_png_h=no
19646 fi
19647 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19648 fi
19649
19650 fi
19651 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
19652 echo "${ECHO_T}$ac_cv_header_png_h" >&6
19653 if test "${ac_cv_header_png_h+set}" = set; then
19654 echo "$as_me:$LINENO: checking for png.h" >&5
19655 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
19656 if test "${ac_cv_header_png_h+set}" = set; then
19657 echo $ECHO_N "(cached) $ECHO_C" >&6
19658 fi
19659 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
19660 echo "${ECHO_T}$ac_cv_header_png_h" >&6
19661 else
19662 # Is the header compilable?
19663 echo "$as_me:$LINENO: checking png.h usability" >&5
19664 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
19665 cat >conftest.$ac_ext <<_ACEOF
19666 /* confdefs.h. */
19667 _ACEOF
19668 cat confdefs.h >>conftest.$ac_ext
19669 cat >>conftest.$ac_ext <<_ACEOF
19670 /* end confdefs.h. */
19671 $ac_includes_default
19672 #include <png.h>
19673 _ACEOF
19674 rm -f conftest.$ac_objext
19675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19676 (eval $ac_compile) 2>conftest.er1
19677 ac_status=$?
19678 grep -v '^ *+' conftest.er1 >conftest.err
19679 rm -f conftest.er1
19680 cat conftest.err >&5
19681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19682 (exit $ac_status); } &&
19683 { ac_try='test -z "$ac_c_werror_flag"
19684 || test ! -s conftest.err'
19685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19686 (eval $ac_try) 2>&5
19687 ac_status=$?
19688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19689 (exit $ac_status); }; } &&
19690 { ac_try='test -s conftest.$ac_objext'
19691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19692 (eval $ac_try) 2>&5
19693 ac_status=$?
19694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19695 (exit $ac_status); }; }; then
19696 ac_header_compiler=yes
19697 else
19698 echo "$as_me: failed program was:" >&5
19699 sed 's/^/| /' conftest.$ac_ext >&5
19700
19701 ac_header_compiler=no
19702 fi
19703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19704 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19705 echo "${ECHO_T}$ac_header_compiler" >&6
19706
19707 # Is the header present?
19708 echo "$as_me:$LINENO: checking png.h presence" >&5
19709 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
19710 cat >conftest.$ac_ext <<_ACEOF
19711 /* confdefs.h. */
19712 _ACEOF
19713 cat confdefs.h >>conftest.$ac_ext
19714 cat >>conftest.$ac_ext <<_ACEOF
19715 /* end confdefs.h. */
19716 #include <png.h>
19717 _ACEOF
19718 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19719 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19720 ac_status=$?
19721 grep -v '^ *+' conftest.er1 >conftest.err
19722 rm -f conftest.er1
19723 cat conftest.err >&5
19724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19725 (exit $ac_status); } >/dev/null; then
19726 if test -s conftest.err; then
19727 ac_cpp_err=$ac_c_preproc_warn_flag
19728 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19729 else
19730 ac_cpp_err=
19731 fi
19732 else
19733 ac_cpp_err=yes
19734 fi
19735 if test -z "$ac_cpp_err"; then
19736 ac_header_preproc=yes
19737 else
19738 echo "$as_me: failed program was:" >&5
19739 sed 's/^/| /' conftest.$ac_ext >&5
19740
19741 ac_header_preproc=no
19742 fi
19743 rm -f conftest.err conftest.$ac_ext
19744 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19745 echo "${ECHO_T}$ac_header_preproc" >&6
19746
19747 # So? What about this header?
19748 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19749 yes:no: )
19750 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
19751 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19752 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
19753 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
19754 ac_header_preproc=yes
19755 ;;
19756 no:yes:* )
19757 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
19758 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
19759 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
19760 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
19761 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
19762 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
19763 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
19764 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
19765 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
19766 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
19767 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
19768 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
19769 (
19770 cat <<\_ASBOX
19771 ## ----------------------------------------- ##
19772 ## Report this to wx-dev@lists.wxwindows.org ##
19773 ## ----------------------------------------- ##
19774 _ASBOX
19775 ) |
19776 sed "s/^/$as_me: WARNING: /" >&2
19777 ;;
19778 esac
19779 echo "$as_me:$LINENO: checking for png.h" >&5
19780 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
19781 if test "${ac_cv_header_png_h+set}" = set; then
19782 echo $ECHO_N "(cached) $ECHO_C" >&6
19783 else
19784 ac_cv_header_png_h=$ac_header_preproc
19785 fi
19786 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
19787 echo "${ECHO_T}$ac_cv_header_png_h" >&6
19788
19789 fi
19790
19791
19792
19793 if test "$ac_cv_header_png_h" = "yes"; then
19794 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
19795 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
19796 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
19797 echo $ECHO_N "(cached) $ECHO_C" >&6
19798 else
19799 ac_check_lib_save_LIBS=$LIBS
19800 LIBS="-lpng -lz -lm $LIBS"
19801 cat >conftest.$ac_ext <<_ACEOF
19802 /* confdefs.h. */
19803 _ACEOF
19804 cat confdefs.h >>conftest.$ac_ext
19805 cat >>conftest.$ac_ext <<_ACEOF
19806 /* end confdefs.h. */
19807
19808 /* Override any gcc2 internal prototype to avoid an error. */
19809 #ifdef __cplusplus
19810 extern "C"
19811 #endif
19812 /* We use char because int might match the return type of a gcc2
19813 builtin and then its argument prototype would still apply. */
19814 char png_check_sig ();
19815 int
19816 main ()
19817 {
19818 png_check_sig ();
19819 ;
19820 return 0;
19821 }
19822 _ACEOF
19823 rm -f conftest.$ac_objext conftest$ac_exeext
19824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19825 (eval $ac_link) 2>conftest.er1
19826 ac_status=$?
19827 grep -v '^ *+' conftest.er1 >conftest.err
19828 rm -f conftest.er1
19829 cat conftest.err >&5
19830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19831 (exit $ac_status); } &&
19832 { ac_try='test -z "$ac_c_werror_flag"
19833 || test ! -s conftest.err'
19834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19835 (eval $ac_try) 2>&5
19836 ac_status=$?
19837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19838 (exit $ac_status); }; } &&
19839 { ac_try='test -s conftest$ac_exeext'
19840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19841 (eval $ac_try) 2>&5
19842 ac_status=$?
19843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844 (exit $ac_status); }; }; then
19845 ac_cv_lib_png_png_check_sig=yes
19846 else
19847 echo "$as_me: failed program was:" >&5
19848 sed 's/^/| /' conftest.$ac_ext >&5
19849
19850 ac_cv_lib_png_png_check_sig=no
19851 fi
19852 rm -f conftest.err conftest.$ac_objext \
19853 conftest$ac_exeext conftest.$ac_ext
19854 LIBS=$ac_check_lib_save_LIBS
19855 fi
19856 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
19857 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
19858 if test $ac_cv_lib_png_png_check_sig = yes; then
19859 PNG_LINK=" -lpng"
19860 fi
19861
19862 fi
19863
19864 if test "x$PNG_LINK" = "x" ; then
19865 if test "$wxUSE_LIBPNG" = "sys" ; then
19866 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
19867 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
19868 { (exit 1); exit 1; }; }
19869 else
19870 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
19871 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
19872 wxUSE_LIBPNG=builtin
19873 fi
19874 else
19875 wxUSE_LIBPNG=sys
19876 fi
19877 fi
19878 fi
19879
19880 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
19881 fi
19882
19883
19884 JPEG_LINK=
19885 if test "$wxUSE_LIBJPEG" != "no" ; then
19886 cat >>confdefs.h <<\_ACEOF
19887 #define wxUSE_LIBJPEG 1
19888 _ACEOF
19889
19890
19891 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
19892 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
19893 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
19894 wxUSE_LIBJPEG=sys
19895 fi
19896
19897 if test "$wxUSE_MGL" != 1 ; then
19898 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
19899 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
19900 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
19901 if test "${ac_cv_header_jpeglib_h+set}" = set; then
19902 echo $ECHO_N "(cached) $ECHO_C" >&6
19903 else
19904 cat >conftest.$ac_ext <<_ACEOF
19905 /* confdefs.h. */
19906 _ACEOF
19907 cat confdefs.h >>conftest.$ac_ext
19908 cat >>conftest.$ac_ext <<_ACEOF
19909 /* end confdefs.h. */
19910
19911 #undef HAVE_STDLIB_H
19912 #include <stdio.h>
19913 #include <jpeglib.h>
19914
19915 int
19916 main ()
19917 {
19918
19919
19920 ;
19921 return 0;
19922 }
19923 _ACEOF
19924 rm -f conftest.$ac_objext
19925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19926 (eval $ac_compile) 2>conftest.er1
19927 ac_status=$?
19928 grep -v '^ *+' conftest.er1 >conftest.err
19929 rm -f conftest.er1
19930 cat conftest.err >&5
19931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19932 (exit $ac_status); } &&
19933 { ac_try='test -z "$ac_c_werror_flag"
19934 || test ! -s conftest.err'
19935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19936 (eval $ac_try) 2>&5
19937 ac_status=$?
19938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19939 (exit $ac_status); }; } &&
19940 { ac_try='test -s conftest.$ac_objext'
19941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19942 (eval $ac_try) 2>&5
19943 ac_status=$?
19944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19945 (exit $ac_status); }; }; then
19946 ac_cv_header_jpeglib_h=yes
19947 else
19948 echo "$as_me: failed program was:" >&5
19949 sed 's/^/| /' conftest.$ac_ext >&5
19950
19951 ac_cv_header_jpeglib_h=no
19952
19953 fi
19954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19955
19956 fi
19957
19958 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
19959 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
19960
19961 if test "$ac_cv_header_jpeglib_h" = "yes"; then
19962 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
19963 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
19964 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
19965 echo $ECHO_N "(cached) $ECHO_C" >&6
19966 else
19967 ac_check_lib_save_LIBS=$LIBS
19968 LIBS="-ljpeg $LIBS"
19969 cat >conftest.$ac_ext <<_ACEOF
19970 /* confdefs.h. */
19971 _ACEOF
19972 cat confdefs.h >>conftest.$ac_ext
19973 cat >>conftest.$ac_ext <<_ACEOF
19974 /* end confdefs.h. */
19975
19976 /* Override any gcc2 internal prototype to avoid an error. */
19977 #ifdef __cplusplus
19978 extern "C"
19979 #endif
19980 /* We use char because int might match the return type of a gcc2
19981 builtin and then its argument prototype would still apply. */
19982 char jpeg_read_header ();
19983 int
19984 main ()
19985 {
19986 jpeg_read_header ();
19987 ;
19988 return 0;
19989 }
19990 _ACEOF
19991 rm -f conftest.$ac_objext conftest$ac_exeext
19992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19993 (eval $ac_link) 2>conftest.er1
19994 ac_status=$?
19995 grep -v '^ *+' conftest.er1 >conftest.err
19996 rm -f conftest.er1
19997 cat conftest.err >&5
19998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19999 (exit $ac_status); } &&
20000 { ac_try='test -z "$ac_c_werror_flag"
20001 || test ! -s conftest.err'
20002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20003 (eval $ac_try) 2>&5
20004 ac_status=$?
20005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006 (exit $ac_status); }; } &&
20007 { ac_try='test -s conftest$ac_exeext'
20008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20009 (eval $ac_try) 2>&5
20010 ac_status=$?
20011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20012 (exit $ac_status); }; }; then
20013 ac_cv_lib_jpeg_jpeg_read_header=yes
20014 else
20015 echo "$as_me: failed program was:" >&5
20016 sed 's/^/| /' conftest.$ac_ext >&5
20017
20018 ac_cv_lib_jpeg_jpeg_read_header=no
20019 fi
20020 rm -f conftest.err conftest.$ac_objext \
20021 conftest$ac_exeext conftest.$ac_ext
20022 LIBS=$ac_check_lib_save_LIBS
20023 fi
20024 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
20025 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
20026 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
20027 JPEG_LINK=" -ljpeg"
20028 fi
20029
20030 fi
20031
20032 if test "x$JPEG_LINK" = "x" ; then
20033 if test "$wxUSE_LIBJPEG" = "sys" ; then
20034 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
20035 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
20036 { (exit 1); exit 1; }; }
20037 else
20038 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
20039 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
20040 wxUSE_LIBJPEG=builtin
20041 fi
20042 else
20043 wxUSE_LIBJPEG=sys
20044 fi
20045 fi
20046 fi
20047 fi
20048
20049
20050 TIFF_LINK=
20051 TIFF_PREREQ_LINKS=-lm
20052 if test "$wxUSE_LIBTIFF" != "no" ; then
20053 cat >>confdefs.h <<\_ACEOF
20054 #define wxUSE_LIBTIFF 1
20055 _ACEOF
20056
20057
20058 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
20059 if test "$wxUSE_LIBJPEG" = "sys"; then
20060 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
20061 fi
20062 if test "$wxUSE_ZLIB" = "sys"; then
20063 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
20064 fi
20065 if test "${ac_cv_header_tiffio_h+set}" = set; then
20066 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20067 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20068 if test "${ac_cv_header_tiffio_h+set}" = set; then
20069 echo $ECHO_N "(cached) $ECHO_C" >&6
20070 fi
20071 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20072 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20073 else
20074 # Is the header compilable?
20075 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
20076 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
20077 cat >conftest.$ac_ext <<_ACEOF
20078 /* confdefs.h. */
20079 _ACEOF
20080 cat confdefs.h >>conftest.$ac_ext
20081 cat >>conftest.$ac_ext <<_ACEOF
20082 /* end confdefs.h. */
20083 $ac_includes_default
20084 #include <tiffio.h>
20085 _ACEOF
20086 rm -f conftest.$ac_objext
20087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20088 (eval $ac_compile) 2>conftest.er1
20089 ac_status=$?
20090 grep -v '^ *+' conftest.er1 >conftest.err
20091 rm -f conftest.er1
20092 cat conftest.err >&5
20093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20094 (exit $ac_status); } &&
20095 { ac_try='test -z "$ac_c_werror_flag"
20096 || test ! -s conftest.err'
20097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20098 (eval $ac_try) 2>&5
20099 ac_status=$?
20100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20101 (exit $ac_status); }; } &&
20102 { ac_try='test -s conftest.$ac_objext'
20103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20104 (eval $ac_try) 2>&5
20105 ac_status=$?
20106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20107 (exit $ac_status); }; }; then
20108 ac_header_compiler=yes
20109 else
20110 echo "$as_me: failed program was:" >&5
20111 sed 's/^/| /' conftest.$ac_ext >&5
20112
20113 ac_header_compiler=no
20114 fi
20115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20116 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20117 echo "${ECHO_T}$ac_header_compiler" >&6
20118
20119 # Is the header present?
20120 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
20121 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
20122 cat >conftest.$ac_ext <<_ACEOF
20123 /* confdefs.h. */
20124 _ACEOF
20125 cat confdefs.h >>conftest.$ac_ext
20126 cat >>conftest.$ac_ext <<_ACEOF
20127 /* end confdefs.h. */
20128 #include <tiffio.h>
20129 _ACEOF
20130 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20131 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20132 ac_status=$?
20133 grep -v '^ *+' conftest.er1 >conftest.err
20134 rm -f conftest.er1
20135 cat conftest.err >&5
20136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20137 (exit $ac_status); } >/dev/null; then
20138 if test -s conftest.err; then
20139 ac_cpp_err=$ac_c_preproc_warn_flag
20140 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20141 else
20142 ac_cpp_err=
20143 fi
20144 else
20145 ac_cpp_err=yes
20146 fi
20147 if test -z "$ac_cpp_err"; then
20148 ac_header_preproc=yes
20149 else
20150 echo "$as_me: failed program was:" >&5
20151 sed 's/^/| /' conftest.$ac_ext >&5
20152
20153 ac_header_preproc=no
20154 fi
20155 rm -f conftest.err conftest.$ac_ext
20156 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20157 echo "${ECHO_T}$ac_header_preproc" >&6
20158
20159 # So? What about this header?
20160 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20161 yes:no: )
20162 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
20163 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20164 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
20165 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
20166 ac_header_preproc=yes
20167 ;;
20168 no:yes:* )
20169 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
20170 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
20171 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
20172 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
20173 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
20174 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
20175 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
20176 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
20177 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
20178 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
20179 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
20180 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
20181 (
20182 cat <<\_ASBOX
20183 ## ----------------------------------------- ##
20184 ## Report this to wx-dev@lists.wxwindows.org ##
20185 ## ----------------------------------------- ##
20186 _ASBOX
20187 ) |
20188 sed "s/^/$as_me: WARNING: /" >&2
20189 ;;
20190 esac
20191 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20192 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20193 if test "${ac_cv_header_tiffio_h+set}" = set; then
20194 echo $ECHO_N "(cached) $ECHO_C" >&6
20195 else
20196 ac_cv_header_tiffio_h=$ac_header_preproc
20197 fi
20198 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20199 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20200
20201 fi
20202 if test $ac_cv_header_tiffio_h = yes; then
20203
20204 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
20205 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
20206 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
20207 echo $ECHO_N "(cached) $ECHO_C" >&6
20208 else
20209 ac_check_lib_save_LIBS=$LIBS
20210 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
20211 cat >conftest.$ac_ext <<_ACEOF
20212 /* confdefs.h. */
20213 _ACEOF
20214 cat confdefs.h >>conftest.$ac_ext
20215 cat >>conftest.$ac_ext <<_ACEOF
20216 /* end confdefs.h. */
20217
20218 /* Override any gcc2 internal prototype to avoid an error. */
20219 #ifdef __cplusplus
20220 extern "C"
20221 #endif
20222 /* We use char because int might match the return type of a gcc2
20223 builtin and then its argument prototype would still apply. */
20224 char TIFFError ();
20225 int
20226 main ()
20227 {
20228 TIFFError ();
20229 ;
20230 return 0;
20231 }
20232 _ACEOF
20233 rm -f conftest.$ac_objext conftest$ac_exeext
20234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20235 (eval $ac_link) 2>conftest.er1
20236 ac_status=$?
20237 grep -v '^ *+' conftest.er1 >conftest.err
20238 rm -f conftest.er1
20239 cat conftest.err >&5
20240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20241 (exit $ac_status); } &&
20242 { ac_try='test -z "$ac_c_werror_flag"
20243 || test ! -s conftest.err'
20244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20245 (eval $ac_try) 2>&5
20246 ac_status=$?
20247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); }; } &&
20249 { ac_try='test -s conftest$ac_exeext'
20250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20251 (eval $ac_try) 2>&5
20252 ac_status=$?
20253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20254 (exit $ac_status); }; }; then
20255 ac_cv_lib_tiff_TIFFError=yes
20256 else
20257 echo "$as_me: failed program was:" >&5
20258 sed 's/^/| /' conftest.$ac_ext >&5
20259
20260 ac_cv_lib_tiff_TIFFError=no
20261 fi
20262 rm -f conftest.err conftest.$ac_objext \
20263 conftest$ac_exeext conftest.$ac_ext
20264 LIBS=$ac_check_lib_save_LIBS
20265 fi
20266 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
20267 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
20268 if test $ac_cv_lib_tiff_TIFFError = yes; then
20269 TIFF_LINK=" -ltiff"
20270 fi
20271
20272
20273
20274 fi
20275
20276
20277
20278 if test "x$TIFF_LINK" = "x" ; then
20279 if test "$wxUSE_LIBTIFF" = "sys" ; then
20280 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
20281 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
20282 { (exit 1); exit 1; }; }
20283 else
20284 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
20285 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
20286 wxUSE_LIBTIFF=builtin
20287 fi
20288 else
20289 wxUSE_LIBTIFF=sys
20290 fi
20291 fi
20292 fi
20293
20294
20295 if test "$wxUSE_EXPAT" != "no"; then
20296 wxUSE_XML=yes
20297 cat >>confdefs.h <<\_ACEOF
20298 #define wxUSE_EXPAT 1
20299 _ACEOF
20300
20301 cat >>confdefs.h <<\_ACEOF
20302 #define wxUSE_XML 1
20303 _ACEOF
20304
20305
20306 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
20307 if test "${ac_cv_header_expat_h+set}" = set; then
20308 echo "$as_me:$LINENO: checking for expat.h" >&5
20309 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20310 if test "${ac_cv_header_expat_h+set}" = set; then
20311 echo $ECHO_N "(cached) $ECHO_C" >&6
20312 fi
20313 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20314 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20315 else
20316 # Is the header compilable?
20317 echo "$as_me:$LINENO: checking expat.h usability" >&5
20318 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
20319 cat >conftest.$ac_ext <<_ACEOF
20320 /* confdefs.h. */
20321 _ACEOF
20322 cat confdefs.h >>conftest.$ac_ext
20323 cat >>conftest.$ac_ext <<_ACEOF
20324 /* end confdefs.h. */
20325 $ac_includes_default
20326 #include <expat.h>
20327 _ACEOF
20328 rm -f conftest.$ac_objext
20329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20330 (eval $ac_compile) 2>conftest.er1
20331 ac_status=$?
20332 grep -v '^ *+' conftest.er1 >conftest.err
20333 rm -f conftest.er1
20334 cat conftest.err >&5
20335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20336 (exit $ac_status); } &&
20337 { ac_try='test -z "$ac_c_werror_flag"
20338 || test ! -s conftest.err'
20339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20340 (eval $ac_try) 2>&5
20341 ac_status=$?
20342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20343 (exit $ac_status); }; } &&
20344 { ac_try='test -s conftest.$ac_objext'
20345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20346 (eval $ac_try) 2>&5
20347 ac_status=$?
20348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20349 (exit $ac_status); }; }; then
20350 ac_header_compiler=yes
20351 else
20352 echo "$as_me: failed program was:" >&5
20353 sed 's/^/| /' conftest.$ac_ext >&5
20354
20355 ac_header_compiler=no
20356 fi
20357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20358 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20359 echo "${ECHO_T}$ac_header_compiler" >&6
20360
20361 # Is the header present?
20362 echo "$as_me:$LINENO: checking expat.h presence" >&5
20363 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
20364 cat >conftest.$ac_ext <<_ACEOF
20365 /* confdefs.h. */
20366 _ACEOF
20367 cat confdefs.h >>conftest.$ac_ext
20368 cat >>conftest.$ac_ext <<_ACEOF
20369 /* end confdefs.h. */
20370 #include <expat.h>
20371 _ACEOF
20372 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20373 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20374 ac_status=$?
20375 grep -v '^ *+' conftest.er1 >conftest.err
20376 rm -f conftest.er1
20377 cat conftest.err >&5
20378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20379 (exit $ac_status); } >/dev/null; then
20380 if test -s conftest.err; then
20381 ac_cpp_err=$ac_c_preproc_warn_flag
20382 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20383 else
20384 ac_cpp_err=
20385 fi
20386 else
20387 ac_cpp_err=yes
20388 fi
20389 if test -z "$ac_cpp_err"; then
20390 ac_header_preproc=yes
20391 else
20392 echo "$as_me: failed program was:" >&5
20393 sed 's/^/| /' conftest.$ac_ext >&5
20394
20395 ac_header_preproc=no
20396 fi
20397 rm -f conftest.err conftest.$ac_ext
20398 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20399 echo "${ECHO_T}$ac_header_preproc" >&6
20400
20401 # So? What about this header?
20402 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20403 yes:no: )
20404 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
20405 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20406 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
20407 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
20408 ac_header_preproc=yes
20409 ;;
20410 no:yes:* )
20411 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
20412 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
20413 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
20414 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
20415 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
20416 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
20417 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
20418 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
20419 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
20420 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
20421 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
20422 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
20423 (
20424 cat <<\_ASBOX
20425 ## ----------------------------------------- ##
20426 ## Report this to wx-dev@lists.wxwindows.org ##
20427 ## ----------------------------------------- ##
20428 _ASBOX
20429 ) |
20430 sed "s/^/$as_me: WARNING: /" >&2
20431 ;;
20432 esac
20433 echo "$as_me:$LINENO: checking for expat.h" >&5
20434 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20435 if test "${ac_cv_header_expat_h+set}" = set; then
20436 echo $ECHO_N "(cached) $ECHO_C" >&6
20437 else
20438 ac_cv_header_expat_h=$ac_header_preproc
20439 fi
20440 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20441 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20442
20443 fi
20444 if test $ac_cv_header_expat_h = yes; then
20445 found_expat_h=1
20446 fi
20447
20448
20449 if test "x$found_expat_h" = "x1"; then
20450 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
20451 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
20452 if test "${wx_cv_expat_is_not_broken+set}" = set; then
20453 echo $ECHO_N "(cached) $ECHO_C" >&6
20454 else
20455
20456
20457
20458 ac_ext=cc
20459 ac_cpp='$CXXCPP $CPPFLAGS'
20460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20463
20464 cat >conftest.$ac_ext <<_ACEOF
20465 /* confdefs.h. */
20466 _ACEOF
20467 cat confdefs.h >>conftest.$ac_ext
20468 cat >>conftest.$ac_ext <<_ACEOF
20469 /* end confdefs.h. */
20470 #include <expat.h>
20471 int
20472 main ()
20473 {
20474
20475 ;
20476 return 0;
20477 }
20478 _ACEOF
20479 rm -f conftest.$ac_objext
20480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20481 (eval $ac_compile) 2>conftest.er1
20482 ac_status=$?
20483 grep -v '^ *+' conftest.er1 >conftest.err
20484 rm -f conftest.er1
20485 cat conftest.err >&5
20486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20487 (exit $ac_status); } &&
20488 { ac_try='test -z "$ac_cxx_werror_flag"
20489 || test ! -s conftest.err'
20490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20491 (eval $ac_try) 2>&5
20492 ac_status=$?
20493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20494 (exit $ac_status); }; } &&
20495 { ac_try='test -s conftest.$ac_objext'
20496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20497 (eval $ac_try) 2>&5
20498 ac_status=$?
20499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20500 (exit $ac_status); }; }; then
20501 wx_cv_expat_is_not_broken=yes
20502 else
20503 echo "$as_me: failed program was:" >&5
20504 sed 's/^/| /' conftest.$ac_ext >&5
20505
20506 wx_cv_expat_is_not_broken=no
20507
20508 fi
20509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20510 ac_ext=c
20511 ac_cpp='$CPP $CPPFLAGS'
20512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20515
20516
20517
20518 fi
20519 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
20520 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
20521 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
20522 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
20523 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
20524 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
20525 echo $ECHO_N "(cached) $ECHO_C" >&6
20526 else
20527 ac_check_lib_save_LIBS=$LIBS
20528 LIBS="-lexpat $LIBS"
20529 cat >conftest.$ac_ext <<_ACEOF
20530 /* confdefs.h. */
20531 _ACEOF
20532 cat confdefs.h >>conftest.$ac_ext
20533 cat >>conftest.$ac_ext <<_ACEOF
20534 /* end confdefs.h. */
20535
20536 /* Override any gcc2 internal prototype to avoid an error. */
20537 #ifdef __cplusplus
20538 extern "C"
20539 #endif
20540 /* We use char because int might match the return type of a gcc2
20541 builtin and then its argument prototype would still apply. */
20542 char XML_ParserCreate ();
20543 int
20544 main ()
20545 {
20546 XML_ParserCreate ();
20547 ;
20548 return 0;
20549 }
20550 _ACEOF
20551 rm -f conftest.$ac_objext conftest$ac_exeext
20552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20553 (eval $ac_link) 2>conftest.er1
20554 ac_status=$?
20555 grep -v '^ *+' conftest.er1 >conftest.err
20556 rm -f conftest.er1
20557 cat conftest.err >&5
20558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20559 (exit $ac_status); } &&
20560 { ac_try='test -z "$ac_c_werror_flag"
20561 || test ! -s conftest.err'
20562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20563 (eval $ac_try) 2>&5
20564 ac_status=$?
20565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20566 (exit $ac_status); }; } &&
20567 { ac_try='test -s conftest$ac_exeext'
20568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20569 (eval $ac_try) 2>&5
20570 ac_status=$?
20571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20572 (exit $ac_status); }; }; then
20573 ac_cv_lib_expat_XML_ParserCreate=yes
20574 else
20575 echo "$as_me: failed program was:" >&5
20576 sed 's/^/| /' conftest.$ac_ext >&5
20577
20578 ac_cv_lib_expat_XML_ParserCreate=no
20579 fi
20580 rm -f conftest.err conftest.$ac_objext \
20581 conftest$ac_exeext conftest.$ac_ext
20582 LIBS=$ac_check_lib_save_LIBS
20583 fi
20584 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
20585 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
20586 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
20587 EXPAT_LINK=" -lexpat"
20588 fi
20589
20590 fi
20591 fi
20592 if test "x$EXPAT_LINK" = "x" ; then
20593 if test "$wxUSE_EXPAT" = "sys" ; then
20594 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
20595 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
20596 { (exit 1); exit 1; }; }
20597 else
20598 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
20599 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
20600 wxUSE_EXPAT=builtin
20601 fi
20602 else
20603 wxUSE_EXPAT=sys
20604 fi
20605 fi
20606 if test "$wxUSE_EXPAT" = "builtin" ; then
20607
20608
20609 subdirs="$subdirs src/expat"
20610
20611 fi
20612 fi
20613
20614
20615
20616 if test "$wxUSE_LIBMSPACK" != "no"; then
20617
20618 if test "${ac_cv_header_mspack_h+set}" = set; then
20619 echo "$as_me:$LINENO: checking for mspack.h" >&5
20620 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
20621 if test "${ac_cv_header_mspack_h+set}" = set; then
20622 echo $ECHO_N "(cached) $ECHO_C" >&6
20623 fi
20624 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
20625 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
20626 else
20627 # Is the header compilable?
20628 echo "$as_me:$LINENO: checking mspack.h usability" >&5
20629 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
20630 cat >conftest.$ac_ext <<_ACEOF
20631 /* confdefs.h. */
20632 _ACEOF
20633 cat confdefs.h >>conftest.$ac_ext
20634 cat >>conftest.$ac_ext <<_ACEOF
20635 /* end confdefs.h. */
20636 $ac_includes_default
20637 #include <mspack.h>
20638 _ACEOF
20639 rm -f conftest.$ac_objext
20640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20641 (eval $ac_compile) 2>conftest.er1
20642 ac_status=$?
20643 grep -v '^ *+' conftest.er1 >conftest.err
20644 rm -f conftest.er1
20645 cat conftest.err >&5
20646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20647 (exit $ac_status); } &&
20648 { ac_try='test -z "$ac_c_werror_flag"
20649 || test ! -s conftest.err'
20650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20651 (eval $ac_try) 2>&5
20652 ac_status=$?
20653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20654 (exit $ac_status); }; } &&
20655 { ac_try='test -s conftest.$ac_objext'
20656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20657 (eval $ac_try) 2>&5
20658 ac_status=$?
20659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20660 (exit $ac_status); }; }; then
20661 ac_header_compiler=yes
20662 else
20663 echo "$as_me: failed program was:" >&5
20664 sed 's/^/| /' conftest.$ac_ext >&5
20665
20666 ac_header_compiler=no
20667 fi
20668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20669 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20670 echo "${ECHO_T}$ac_header_compiler" >&6
20671
20672 # Is the header present?
20673 echo "$as_me:$LINENO: checking mspack.h presence" >&5
20674 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
20675 cat >conftest.$ac_ext <<_ACEOF
20676 /* confdefs.h. */
20677 _ACEOF
20678 cat confdefs.h >>conftest.$ac_ext
20679 cat >>conftest.$ac_ext <<_ACEOF
20680 /* end confdefs.h. */
20681 #include <mspack.h>
20682 _ACEOF
20683 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20684 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20685 ac_status=$?
20686 grep -v '^ *+' conftest.er1 >conftest.err
20687 rm -f conftest.er1
20688 cat conftest.err >&5
20689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20690 (exit $ac_status); } >/dev/null; then
20691 if test -s conftest.err; then
20692 ac_cpp_err=$ac_c_preproc_warn_flag
20693 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20694 else
20695 ac_cpp_err=
20696 fi
20697 else
20698 ac_cpp_err=yes
20699 fi
20700 if test -z "$ac_cpp_err"; then
20701 ac_header_preproc=yes
20702 else
20703 echo "$as_me: failed program was:" >&5
20704 sed 's/^/| /' conftest.$ac_ext >&5
20705
20706 ac_header_preproc=no
20707 fi
20708 rm -f conftest.err conftest.$ac_ext
20709 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20710 echo "${ECHO_T}$ac_header_preproc" >&6
20711
20712 # So? What about this header?
20713 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20714 yes:no: )
20715 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
20716 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20717 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
20718 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
20719 ac_header_preproc=yes
20720 ;;
20721 no:yes:* )
20722 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
20723 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
20724 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
20725 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
20726 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
20727 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
20728 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
20729 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
20730 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
20731 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
20732 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
20733 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
20734 (
20735 cat <<\_ASBOX
20736 ## ----------------------------------------- ##
20737 ## Report this to wx-dev@lists.wxwindows.org ##
20738 ## ----------------------------------------- ##
20739 _ASBOX
20740 ) |
20741 sed "s/^/$as_me: WARNING: /" >&2
20742 ;;
20743 esac
20744 echo "$as_me:$LINENO: checking for mspack.h" >&5
20745 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
20746 if test "${ac_cv_header_mspack_h+set}" = set; then
20747 echo $ECHO_N "(cached) $ECHO_C" >&6
20748 else
20749 ac_cv_header_mspack_h=$ac_header_preproc
20750 fi
20751 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
20752 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
20753
20754 fi
20755 if test $ac_cv_header_mspack_h = yes; then
20756 found_mspack_h=1
20757 fi
20758
20759
20760 if test "x$found_mspack_h" = "x1"; then
20761 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
20762 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
20763 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
20764 echo $ECHO_N "(cached) $ECHO_C" >&6
20765 else
20766 ac_check_lib_save_LIBS=$LIBS
20767 LIBS="-lmspack $LIBS"
20768 cat >conftest.$ac_ext <<_ACEOF
20769 /* confdefs.h. */
20770 _ACEOF
20771 cat confdefs.h >>conftest.$ac_ext
20772 cat >>conftest.$ac_ext <<_ACEOF
20773 /* end confdefs.h. */
20774
20775 /* Override any gcc2 internal prototype to avoid an error. */
20776 #ifdef __cplusplus
20777 extern "C"
20778 #endif
20779 /* We use char because int might match the return type of a gcc2
20780 builtin and then its argument prototype would still apply. */
20781 char mspack_create_chm_decompressor ();
20782 int
20783 main ()
20784 {
20785 mspack_create_chm_decompressor ();
20786 ;
20787 return 0;
20788 }
20789 _ACEOF
20790 rm -f conftest.$ac_objext conftest$ac_exeext
20791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20792 (eval $ac_link) 2>conftest.er1
20793 ac_status=$?
20794 grep -v '^ *+' conftest.er1 >conftest.err
20795 rm -f conftest.er1
20796 cat conftest.err >&5
20797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20798 (exit $ac_status); } &&
20799 { ac_try='test -z "$ac_c_werror_flag"
20800 || test ! -s conftest.err'
20801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20802 (eval $ac_try) 2>&5
20803 ac_status=$?
20804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20805 (exit $ac_status); }; } &&
20806 { ac_try='test -s conftest$ac_exeext'
20807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20808 (eval $ac_try) 2>&5
20809 ac_status=$?
20810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); }; }; then
20812 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
20813 else
20814 echo "$as_me: failed program was:" >&5
20815 sed 's/^/| /' conftest.$ac_ext >&5
20816
20817 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
20818 fi
20819 rm -f conftest.err conftest.$ac_objext \
20820 conftest$ac_exeext conftest.$ac_ext
20821 LIBS=$ac_check_lib_save_LIBS
20822 fi
20823 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
20824 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
20825 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
20826 MSPACK_LINK=" -lmspack"
20827 fi
20828
20829 fi
20830 if test "x$MSPACK_LINK" = "x" ; then
20831 wxUSE_LIBMSPACK=no
20832 else
20833 cat >>confdefs.h <<\_ACEOF
20834 #define wxUSE_LIBMSPACK 1
20835 _ACEOF
20836
20837 fi
20838 fi
20839
20840
20841
20842 AFMINSTALL=
20843 WIN32INSTALL=
20844
20845 TOOLKIT=
20846 TOOLKIT_INCLUDE=
20847 WIDGET_SET=
20848
20849 if test "$USE_WIN32" = 1 ; then
20850
20851 for ac_header in w32api.h
20852 do
20853 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20855 echo "$as_me:$LINENO: checking for $ac_header" >&5
20856 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20857 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20858 echo $ECHO_N "(cached) $ECHO_C" >&6
20859 fi
20860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20861 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20862 else
20863 # Is the header compilable?
20864 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20865 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20866 cat >conftest.$ac_ext <<_ACEOF
20867 /* confdefs.h. */
20868 _ACEOF
20869 cat confdefs.h >>conftest.$ac_ext
20870 cat >>conftest.$ac_ext <<_ACEOF
20871 /* end confdefs.h. */
20872 $ac_includes_default
20873 #include <$ac_header>
20874 _ACEOF
20875 rm -f conftest.$ac_objext
20876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20877 (eval $ac_compile) 2>conftest.er1
20878 ac_status=$?
20879 grep -v '^ *+' conftest.er1 >conftest.err
20880 rm -f conftest.er1
20881 cat conftest.err >&5
20882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20883 (exit $ac_status); } &&
20884 { ac_try='test -z "$ac_c_werror_flag"
20885 || test ! -s conftest.err'
20886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20887 (eval $ac_try) 2>&5
20888 ac_status=$?
20889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20890 (exit $ac_status); }; } &&
20891 { ac_try='test -s conftest.$ac_objext'
20892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20893 (eval $ac_try) 2>&5
20894 ac_status=$?
20895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20896 (exit $ac_status); }; }; then
20897 ac_header_compiler=yes
20898 else
20899 echo "$as_me: failed program was:" >&5
20900 sed 's/^/| /' conftest.$ac_ext >&5
20901
20902 ac_header_compiler=no
20903 fi
20904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20905 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20906 echo "${ECHO_T}$ac_header_compiler" >&6
20907
20908 # Is the header present?
20909 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20910 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20911 cat >conftest.$ac_ext <<_ACEOF
20912 /* confdefs.h. */
20913 _ACEOF
20914 cat confdefs.h >>conftest.$ac_ext
20915 cat >>conftest.$ac_ext <<_ACEOF
20916 /* end confdefs.h. */
20917 #include <$ac_header>
20918 _ACEOF
20919 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20920 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20921 ac_status=$?
20922 grep -v '^ *+' conftest.er1 >conftest.err
20923 rm -f conftest.er1
20924 cat conftest.err >&5
20925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20926 (exit $ac_status); } >/dev/null; then
20927 if test -s conftest.err; then
20928 ac_cpp_err=$ac_c_preproc_warn_flag
20929 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20930 else
20931 ac_cpp_err=
20932 fi
20933 else
20934 ac_cpp_err=yes
20935 fi
20936 if test -z "$ac_cpp_err"; then
20937 ac_header_preproc=yes
20938 else
20939 echo "$as_me: failed program was:" >&5
20940 sed 's/^/| /' conftest.$ac_ext >&5
20941
20942 ac_header_preproc=no
20943 fi
20944 rm -f conftest.err conftest.$ac_ext
20945 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20946 echo "${ECHO_T}$ac_header_preproc" >&6
20947
20948 # So? What about this header?
20949 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20950 yes:no: )
20951 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20952 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20953 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20954 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20955 ac_header_preproc=yes
20956 ;;
20957 no:yes:* )
20958 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20959 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20960 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20961 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20962 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20963 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20964 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20965 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20966 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20967 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20968 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20969 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20970 (
20971 cat <<\_ASBOX
20972 ## ----------------------------------------- ##
20973 ## Report this to wx-dev@lists.wxwindows.org ##
20974 ## ----------------------------------------- ##
20975 _ASBOX
20976 ) |
20977 sed "s/^/$as_me: WARNING: /" >&2
20978 ;;
20979 esac
20980 echo "$as_me:$LINENO: checking for $ac_header" >&5
20981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20982 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20983 echo $ECHO_N "(cached) $ECHO_C" >&6
20984 else
20985 eval "$as_ac_Header=\$ac_header_preproc"
20986 fi
20987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20988 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20989
20990 fi
20991 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20992 cat >>confdefs.h <<_ACEOF
20993 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20994 _ACEOF
20995
20996 fi
20997
20998 done
20999
21000 if test "${ac_cv_header_windows_h+set}" = set; then
21001 echo "$as_me:$LINENO: checking for windows.h" >&5
21002 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21003 if test "${ac_cv_header_windows_h+set}" = set; then
21004 echo $ECHO_N "(cached) $ECHO_C" >&6
21005 fi
21006 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21007 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21008 else
21009 # Is the header compilable?
21010 echo "$as_me:$LINENO: checking windows.h usability" >&5
21011 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
21012 cat >conftest.$ac_ext <<_ACEOF
21013 /* confdefs.h. */
21014 _ACEOF
21015 cat confdefs.h >>conftest.$ac_ext
21016 cat >>conftest.$ac_ext <<_ACEOF
21017 /* end confdefs.h. */
21018 $ac_includes_default
21019 #include <windows.h>
21020 _ACEOF
21021 rm -f conftest.$ac_objext
21022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21023 (eval $ac_compile) 2>conftest.er1
21024 ac_status=$?
21025 grep -v '^ *+' conftest.er1 >conftest.err
21026 rm -f conftest.er1
21027 cat conftest.err >&5
21028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21029 (exit $ac_status); } &&
21030 { ac_try='test -z "$ac_c_werror_flag"
21031 || test ! -s conftest.err'
21032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21033 (eval $ac_try) 2>&5
21034 ac_status=$?
21035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21036 (exit $ac_status); }; } &&
21037 { ac_try='test -s conftest.$ac_objext'
21038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21039 (eval $ac_try) 2>&5
21040 ac_status=$?
21041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21042 (exit $ac_status); }; }; then
21043 ac_header_compiler=yes
21044 else
21045 echo "$as_me: failed program was:" >&5
21046 sed 's/^/| /' conftest.$ac_ext >&5
21047
21048 ac_header_compiler=no
21049 fi
21050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21051 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21052 echo "${ECHO_T}$ac_header_compiler" >&6
21053
21054 # Is the header present?
21055 echo "$as_me:$LINENO: checking windows.h presence" >&5
21056 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
21057 cat >conftest.$ac_ext <<_ACEOF
21058 /* confdefs.h. */
21059 _ACEOF
21060 cat confdefs.h >>conftest.$ac_ext
21061 cat >>conftest.$ac_ext <<_ACEOF
21062 /* end confdefs.h. */
21063 #include <windows.h>
21064 _ACEOF
21065 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21066 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21067 ac_status=$?
21068 grep -v '^ *+' conftest.er1 >conftest.err
21069 rm -f conftest.er1
21070 cat conftest.err >&5
21071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21072 (exit $ac_status); } >/dev/null; then
21073 if test -s conftest.err; then
21074 ac_cpp_err=$ac_c_preproc_warn_flag
21075 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21076 else
21077 ac_cpp_err=
21078 fi
21079 else
21080 ac_cpp_err=yes
21081 fi
21082 if test -z "$ac_cpp_err"; then
21083 ac_header_preproc=yes
21084 else
21085 echo "$as_me: failed program was:" >&5
21086 sed 's/^/| /' conftest.$ac_ext >&5
21087
21088 ac_header_preproc=no
21089 fi
21090 rm -f conftest.err conftest.$ac_ext
21091 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21092 echo "${ECHO_T}$ac_header_preproc" >&6
21093
21094 # So? What about this header?
21095 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21096 yes:no: )
21097 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
21098 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21099 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
21100 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
21101 ac_header_preproc=yes
21102 ;;
21103 no:yes:* )
21104 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
21105 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
21106 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
21107 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
21108 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
21109 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
21110 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
21111 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
21112 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
21113 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
21114 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
21115 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
21116 (
21117 cat <<\_ASBOX
21118 ## ----------------------------------------- ##
21119 ## Report this to wx-dev@lists.wxwindows.org ##
21120 ## ----------------------------------------- ##
21121 _ASBOX
21122 ) |
21123 sed "s/^/$as_me: WARNING: /" >&2
21124 ;;
21125 esac
21126 echo "$as_me:$LINENO: checking for windows.h" >&5
21127 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21128 if test "${ac_cv_header_windows_h+set}" = set; then
21129 echo $ECHO_N "(cached) $ECHO_C" >&6
21130 else
21131 ac_cv_header_windows_h=$ac_header_preproc
21132 fi
21133 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21134 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21135
21136 fi
21137 if test $ac_cv_header_windows_h = yes; then
21138 :
21139 else
21140
21141 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
21142 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
21143 { (exit 1); exit 1; }; }
21144
21145 fi
21146
21147
21148
21149 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
21150
21151 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
21152 LIBS="$LIBS -loleacc"
21153 fi
21154
21155 case "${host}" in
21156 *-*-cygwin* )
21157 LIBS="$LIBS -lkernel32 -luser32"
21158 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
21159 esac
21160
21161 if test "$wxUSE_ODBC" = "sys" ; then
21162 wxUSE_ODBC = "yes"
21163 fi
21164 if test "$wxUSE_ODBC" = "yes" ; then
21165 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
21166 cat >>confdefs.h <<\_ACEOF
21167 #define wxUSE_ODBC 1
21168 _ACEOF
21169
21170 fi
21171
21172 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
21173 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
21174
21175 WIN32INSTALL=win32install
21176 fi
21177
21178 if test "$wxUSE_GUI" = "yes"; then
21179 USE_GUI=1
21180
21181 GUI_TK_LIBRARY=
21182
21183 WXGTK12=
21184 WXGTK127=
21185 WXGTK20=
21186
21187 if test "$wxUSE_MSW" = 1 ; then
21188 TOOLKIT=MSW
21189 GUIDIST=MSW_DIST
21190
21191 case "${host}" in
21192 *-*-mingw32* )
21193 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
21194 esac
21195 fi
21196
21197 if test "$wxUSE_GTK" = 1; then
21198 echo "$as_me:$LINENO: checking for GTK+ version" >&5
21199 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
21200
21201 gtk_version_cached=1
21202 if test "${wx_cv_lib_gtk+set}" = set; then
21203 echo $ECHO_N "(cached) $ECHO_C" >&6
21204 else
21205
21206 gtk_version_cached=0
21207 echo "$as_me:$LINENO: result: " >&5
21208 echo "${ECHO_T}" >&6
21209
21210 GTK_MODULES=
21211 if test "$wxUSE_THREADS" = "yes"; then
21212 GTK_MODULES=gthread
21213 fi
21214
21215 wx_cv_lib_gtk=
21216 if test "x$wxUSE_GTK2" = "xyes"; then
21217 # Check whether --enable-gtktest or --disable-gtktest was given.
21218 if test "${enable_gtktest+set}" = set; then
21219 enableval="$enable_gtktest"
21220
21221 else
21222 enable_gtktest=yes
21223 fi;
21224
21225 pkg_config_args=gtk+-2.0
21226 for module in . $GTK_MODULES
21227 do
21228 case "$module" in
21229 gthread)
21230 pkg_config_args="$pkg_config_args gthread-2.0"
21231 ;;
21232 esac
21233 done
21234
21235 no_gtk=""
21236
21237 # Extract the first word of "pkg-config", so it can be a program name with args.
21238 set dummy pkg-config; ac_word=$2
21239 echo "$as_me:$LINENO: checking for $ac_word" >&5
21240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21241 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21242 echo $ECHO_N "(cached) $ECHO_C" >&6
21243 else
21244 case $PKG_CONFIG in
21245 [\\/]* | ?:[\\/]*)
21246 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21247 ;;
21248 *)
21249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21250 for as_dir in $PATH
21251 do
21252 IFS=$as_save_IFS
21253 test -z "$as_dir" && as_dir=.
21254 for ac_exec_ext in '' $ac_executable_extensions; do
21255 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21256 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21258 break 2
21259 fi
21260 done
21261 done
21262
21263 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21264 ;;
21265 esac
21266 fi
21267 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21268
21269 if test -n "$PKG_CONFIG"; then
21270 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21271 echo "${ECHO_T}$PKG_CONFIG" >&6
21272 else
21273 echo "$as_me:$LINENO: result: no" >&5
21274 echo "${ECHO_T}no" >&6
21275 fi
21276
21277
21278 if test x$PKG_CONFIG != xno ; then
21279 if pkg-config --atleast-pkgconfig-version 0.7 ; then
21280 :
21281 else
21282 echo *** pkg-config too old; version 0.7 or better required.
21283 no_gtk=yes
21284 PKG_CONFIG=no
21285 fi
21286 else
21287 no_gtk=yes
21288 fi
21289
21290 min_gtk_version=2.0.0
21291 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
21292 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
21293
21294 if test x$PKG_CONFIG != xno ; then
21295 ## don't try to run the test against uninstalled libtool libs
21296 if $PKG_CONFIG --uninstalled $pkg_config_args; then
21297 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
21298 enable_gtktest=no
21299 fi
21300
21301 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
21302 :
21303 else
21304 no_gtk=yes
21305 fi
21306 fi
21307
21308 if test x"$no_gtk" = x ; then
21309 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
21310 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
21311 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
21312 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21313 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
21314 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21315 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
21316 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21317 if test "x$enable_gtktest" = "xyes" ; then
21318 ac_save_CFLAGS="$CFLAGS"
21319 ac_save_LIBS="$LIBS"
21320 CFLAGS="$CFLAGS $GTK_CFLAGS"
21321 LIBS="$GTK_LIBS $LIBS"
21322 rm -f conf.gtktest
21323 if test "$cross_compiling" = yes; then
21324 echo $ac_n "cross compiling; assumed OK... $ac_c"
21325 else
21326 cat >conftest.$ac_ext <<_ACEOF
21327 /* confdefs.h. */
21328 _ACEOF
21329 cat confdefs.h >>conftest.$ac_ext
21330 cat >>conftest.$ac_ext <<_ACEOF
21331 /* end confdefs.h. */
21332
21333 #include <gtk/gtk.h>
21334 #include <stdio.h>
21335 #include <stdlib.h>
21336
21337 int
21338 main ()
21339 {
21340 int major, minor, micro;
21341 char *tmp_version;
21342
21343 system ("touch conf.gtktest");
21344
21345 /* HP/UX 9 (%@#!) writes to sscanf strings */
21346 tmp_version = g_strdup("$min_gtk_version");
21347 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
21348 printf("%s, bad version string\n", "$min_gtk_version");
21349 exit(1);
21350 }
21351
21352 if ((gtk_major_version != $gtk_config_major_version) ||
21353 (gtk_minor_version != $gtk_config_minor_version) ||
21354 (gtk_micro_version != $gtk_config_micro_version))
21355 {
21356 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21357 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21358 gtk_major_version, gtk_minor_version, gtk_micro_version);
21359 printf ("*** was found! If pkg-config was correct, then it is best\n");
21360 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21361 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21362 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21363 printf("*** required on your system.\n");
21364 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
21365 printf("*** to point to the correct configuration files\n");
21366 }
21367 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21368 (gtk_minor_version != GTK_MINOR_VERSION) ||
21369 (gtk_micro_version != GTK_MICRO_VERSION))
21370 {
21371 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21372 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21373 printf("*** library (version %d.%d.%d)\n",
21374 gtk_major_version, gtk_minor_version, gtk_micro_version);
21375 }
21376 else
21377 {
21378 if ((gtk_major_version > major) ||
21379 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21380 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21381 {
21382 return 0;
21383 }
21384 else
21385 {
21386 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21387 gtk_major_version, gtk_minor_version, gtk_micro_version);
21388 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21389 major, minor, micro);
21390 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21391 printf("***\n");
21392 printf("*** If you have already installed a sufficiently new version, this error\n");
21393 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
21394 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21395 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
21396 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
21397 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21398 printf("*** so that the correct libraries are found at run-time))\n");
21399 }
21400 }
21401 return 1;
21402 }
21403
21404 _ACEOF
21405 rm -f conftest$ac_exeext
21406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21407 (eval $ac_link) 2>&5
21408 ac_status=$?
21409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21410 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21412 (eval $ac_try) 2>&5
21413 ac_status=$?
21414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21415 (exit $ac_status); }; }; then
21416 :
21417 else
21418 echo "$as_me: program exited with status $ac_status" >&5
21419 echo "$as_me: failed program was:" >&5
21420 sed 's/^/| /' conftest.$ac_ext >&5
21421
21422 ( exit $ac_status )
21423 no_gtk=yes
21424 fi
21425 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21426 fi
21427 CFLAGS="$ac_save_CFLAGS"
21428 LIBS="$ac_save_LIBS"
21429 fi
21430 fi
21431 if test "x$no_gtk" = x ; then
21432 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
21433 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
21434 wx_cv_lib_gtk=2.0
21435 else
21436 echo "$as_me:$LINENO: result: no" >&5
21437 echo "${ECHO_T}no" >&6
21438 if test "$PKG_CONFIG" = "no" ; then
21439 echo "*** A new enough version of pkg-config was not found."
21440 echo "*** See http://pkgconfig.sourceforge.net"
21441 else
21442 if test -f conf.gtktest ; then
21443 :
21444 else
21445 echo "*** Could not run GTK+ test program, checking why..."
21446 ac_save_CFLAGS="$CFLAGS"
21447 ac_save_LIBS="$LIBS"
21448 CFLAGS="$CFLAGS $GTK_CFLAGS"
21449 LIBS="$LIBS $GTK_LIBS"
21450 cat >conftest.$ac_ext <<_ACEOF
21451 /* confdefs.h. */
21452 _ACEOF
21453 cat confdefs.h >>conftest.$ac_ext
21454 cat >>conftest.$ac_ext <<_ACEOF
21455 /* end confdefs.h. */
21456
21457 #include <gtk/gtk.h>
21458 #include <stdio.h>
21459
21460 int
21461 main ()
21462 {
21463 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21464 ;
21465 return 0;
21466 }
21467 _ACEOF
21468 rm -f conftest.$ac_objext conftest$ac_exeext
21469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21470 (eval $ac_link) 2>conftest.er1
21471 ac_status=$?
21472 grep -v '^ *+' conftest.er1 >conftest.err
21473 rm -f conftest.er1
21474 cat conftest.err >&5
21475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21476 (exit $ac_status); } &&
21477 { ac_try='test -z "$ac_c_werror_flag"
21478 || test ! -s conftest.err'
21479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21480 (eval $ac_try) 2>&5
21481 ac_status=$?
21482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21483 (exit $ac_status); }; } &&
21484 { ac_try='test -s conftest$ac_exeext'
21485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21486 (eval $ac_try) 2>&5
21487 ac_status=$?
21488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21489 (exit $ac_status); }; }; then
21490 echo "*** The test program compiled, but did not run. This usually means"
21491 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
21492 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
21493 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21494 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21495 echo "*** is required on your system"
21496 echo "***"
21497 echo "*** If you have an old version installed, it is best to remove it, although"
21498 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21499 else
21500 echo "$as_me: failed program was:" >&5
21501 sed 's/^/| /' conftest.$ac_ext >&5
21502
21503 echo "*** The test program failed to compile or link. See the file config.log for the"
21504 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
21505 fi
21506 rm -f conftest.err conftest.$ac_objext \
21507 conftest$ac_exeext conftest.$ac_ext
21508 CFLAGS="$ac_save_CFLAGS"
21509 LIBS="$ac_save_LIBS"
21510 fi
21511 fi
21512 GTK_CFLAGS=""
21513 GTK_LIBS=""
21514 :
21515 fi
21516
21517
21518 rm -f conf.gtktest
21519
21520 else
21521
21522 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
21523 if test "${with_gtk_prefix+set}" = set; then
21524 withval="$with_gtk_prefix"
21525 gtk_config_prefix="$withval"
21526 else
21527 gtk_config_prefix=""
21528 fi;
21529
21530 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
21531 if test "${with_gtk_exec_prefix+set}" = set; then
21532 withval="$with_gtk_exec_prefix"
21533 gtk_config_exec_prefix="$withval"
21534 else
21535 gtk_config_exec_prefix=""
21536 fi;
21537 # Check whether --enable-gtktest or --disable-gtktest was given.
21538 if test "${enable_gtktest+set}" = set; then
21539 enableval="$enable_gtktest"
21540
21541 else
21542 enable_gtktest=yes
21543 fi;
21544
21545 for module in . $GTK_MODULES
21546 do
21547 case "$module" in
21548 gthread)
21549 gtk_config_args="$gtk_config_args gthread"
21550 ;;
21551 esac
21552 done
21553
21554 if test x$gtk_config_exec_prefix != x ; then
21555 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
21556 if test x${GTK_CONFIG+set} != xset ; then
21557 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
21558 fi
21559 fi
21560 if test x$gtk_config_prefix != x ; then
21561 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
21562 if test x${GTK_CONFIG+set} != xset ; then
21563 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
21564 fi
21565 fi
21566
21567 # Extract the first word of "gtk-config", so it can be a program name with args.
21568 set dummy gtk-config; ac_word=$2
21569 echo "$as_me:$LINENO: checking for $ac_word" >&5
21570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21571 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
21572 echo $ECHO_N "(cached) $ECHO_C" >&6
21573 else
21574 case $GTK_CONFIG in
21575 [\\/]* | ?:[\\/]*)
21576 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
21577 ;;
21578 *)
21579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21580 for as_dir in $PATH
21581 do
21582 IFS=$as_save_IFS
21583 test -z "$as_dir" && as_dir=.
21584 for ac_exec_ext in '' $ac_executable_extensions; do
21585 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21586 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21588 break 2
21589 fi
21590 done
21591 done
21592
21593 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
21594 ;;
21595 esac
21596 fi
21597 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
21598
21599 if test -n "$GTK_CONFIG"; then
21600 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
21601 echo "${ECHO_T}$GTK_CONFIG" >&6
21602 else
21603 echo "$as_me:$LINENO: result: no" >&5
21604 echo "${ECHO_T}no" >&6
21605 fi
21606
21607 min_gtk_version=1.2.7
21608 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
21609 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
21610 no_gtk=""
21611 if test "$GTK_CONFIG" = "no" ; then
21612 no_gtk=yes
21613 else
21614 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
21615 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
21616 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
21617 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21618 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
21619 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21620 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
21621 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21622 if test "x$enable_gtktest" = "xyes" ; then
21623 ac_save_CFLAGS="$CFLAGS"
21624 ac_save_LIBS="$LIBS"
21625 CFLAGS="$CFLAGS $GTK_CFLAGS"
21626 LIBS="$GTK_LIBS $LIBS"
21627 rm -f conf.gtktest
21628 if test "$cross_compiling" = yes; then
21629 echo $ac_n "cross compiling; assumed OK... $ac_c"
21630 else
21631 cat >conftest.$ac_ext <<_ACEOF
21632 /* confdefs.h. */
21633 _ACEOF
21634 cat confdefs.h >>conftest.$ac_ext
21635 cat >>conftest.$ac_ext <<_ACEOF
21636 /* end confdefs.h. */
21637
21638 #include <gtk/gtk.h>
21639 #include <stdio.h>
21640 #include <stdlib.h>
21641
21642 int
21643 main ()
21644 {
21645 int major, minor, micro;
21646 char *tmp_version;
21647
21648 system ("touch conf.gtktest");
21649
21650 /* HP/UX 9 (%@#!) writes to sscanf strings */
21651 tmp_version = g_strdup("$min_gtk_version");
21652 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
21653 printf("%s, bad version string\n", "$min_gtk_version");
21654 exit(1);
21655 }
21656
21657 if ((gtk_major_version != $gtk_config_major_version) ||
21658 (gtk_minor_version != $gtk_config_minor_version) ||
21659 (gtk_micro_version != $gtk_config_micro_version))
21660 {
21661 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21662 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21663 gtk_major_version, gtk_minor_version, gtk_micro_version);
21664 printf ("*** was found! If gtk-config was correct, then it is best\n");
21665 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21666 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21667 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21668 printf("*** required on your system.\n");
21669 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
21670 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
21671 printf("*** before re-running configure\n");
21672 }
21673 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
21674 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21675 (gtk_minor_version != GTK_MINOR_VERSION) ||
21676 (gtk_micro_version != GTK_MICRO_VERSION))
21677 {
21678 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21679 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21680 printf("*** library (version %d.%d.%d)\n",
21681 gtk_major_version, gtk_minor_version, gtk_micro_version);
21682 }
21683 #endif /* defined (GTK_MAJOR_VERSION) ... */
21684 else
21685 {
21686 if ((gtk_major_version > major) ||
21687 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21688 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21689 {
21690 return 0;
21691 }
21692 else
21693 {
21694 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21695 gtk_major_version, gtk_minor_version, gtk_micro_version);
21696 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21697 major, minor, micro);
21698 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21699 printf("***\n");
21700 printf("*** If you have already installed a sufficiently new version, this error\n");
21701 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
21702 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21703 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
21704 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
21705 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21706 printf("*** so that the correct libraries are found at run-time))\n");
21707 }
21708 }
21709 return 1;
21710 }
21711
21712 _ACEOF
21713 rm -f conftest$ac_exeext
21714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21715 (eval $ac_link) 2>&5
21716 ac_status=$?
21717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21718 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21720 (eval $ac_try) 2>&5
21721 ac_status=$?
21722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21723 (exit $ac_status); }; }; then
21724 :
21725 else
21726 echo "$as_me: program exited with status $ac_status" >&5
21727 echo "$as_me: failed program was:" >&5
21728 sed 's/^/| /' conftest.$ac_ext >&5
21729
21730 ( exit $ac_status )
21731 no_gtk=yes
21732 fi
21733 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21734 fi
21735 CFLAGS="$ac_save_CFLAGS"
21736 LIBS="$ac_save_LIBS"
21737 fi
21738 fi
21739 if test "x$no_gtk" = x ; then
21740 echo "$as_me:$LINENO: result: yes" >&5
21741 echo "${ECHO_T}yes" >&6
21742 wx_cv_lib_gtk=1.2.7
21743 else
21744 echo "$as_me:$LINENO: result: no" >&5
21745 echo "${ECHO_T}no" >&6
21746 if test "$GTK_CONFIG" = "no" ; then
21747 echo "*** The gtk-config script installed by GTK could not be found"
21748 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
21749 echo "*** your path, or set the GTK_CONFIG environment variable to the"
21750 echo "*** full path to gtk-config."
21751 else
21752 if test -f conf.gtktest ; then
21753 :
21754 else
21755 echo "*** Could not run GTK test program, checking why..."
21756 CFLAGS="$CFLAGS $GTK_CFLAGS"
21757 LIBS="$LIBS $GTK_LIBS"
21758 cat >conftest.$ac_ext <<_ACEOF
21759 /* confdefs.h. */
21760 _ACEOF
21761 cat confdefs.h >>conftest.$ac_ext
21762 cat >>conftest.$ac_ext <<_ACEOF
21763 /* end confdefs.h. */
21764
21765 #include <gtk/gtk.h>
21766 #include <stdio.h>
21767
21768 int
21769 main ()
21770 {
21771 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21772 ;
21773 return 0;
21774 }
21775 _ACEOF
21776 rm -f conftest.$ac_objext conftest$ac_exeext
21777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21778 (eval $ac_link) 2>conftest.er1
21779 ac_status=$?
21780 grep -v '^ *+' conftest.er1 >conftest.err
21781 rm -f conftest.er1
21782 cat conftest.err >&5
21783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21784 (exit $ac_status); } &&
21785 { ac_try='test -z "$ac_c_werror_flag"
21786 || test ! -s conftest.err'
21787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21788 (eval $ac_try) 2>&5
21789 ac_status=$?
21790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21791 (exit $ac_status); }; } &&
21792 { ac_try='test -s conftest$ac_exeext'
21793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21794 (eval $ac_try) 2>&5
21795 ac_status=$?
21796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21797 (exit $ac_status); }; }; then
21798 echo "*** The test program compiled, but did not run. This usually means"
21799 echo "*** that the run-time linker is not finding GTK or finding the wrong"
21800 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
21801 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21802 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21803 echo "*** is required on your system"
21804 echo "***"
21805 echo "*** If you have an old version installed, it is best to remove it, although"
21806 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21807 echo "***"
21808 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
21809 echo "*** came with the system with the command"
21810 echo "***"
21811 echo "*** rpm --erase --nodeps gtk gtk-devel"
21812 else
21813 echo "$as_me: failed program was:" >&5
21814 sed 's/^/| /' conftest.$ac_ext >&5
21815
21816 echo "*** The test program failed to compile or link. See the file config.log for the"
21817 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
21818 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
21819 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
21820 fi
21821 rm -f conftest.err conftest.$ac_objext \
21822 conftest$ac_exeext conftest.$ac_ext
21823 CFLAGS="$ac_save_CFLAGS"
21824 LIBS="$ac_save_LIBS"
21825 fi
21826 fi
21827 GTK_CFLAGS=""
21828 GTK_LIBS=""
21829 :
21830 fi
21831
21832
21833 rm -f conf.gtktest
21834
21835
21836 if test -z "$wx_cv_lib_gtk"; then
21837
21838 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
21839 if test "${with_gtk_prefix+set}" = set; then
21840 withval="$with_gtk_prefix"
21841 gtk_config_prefix="$withval"
21842 else
21843 gtk_config_prefix=""
21844 fi;
21845
21846 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
21847 if test "${with_gtk_exec_prefix+set}" = set; then
21848 withval="$with_gtk_exec_prefix"
21849 gtk_config_exec_prefix="$withval"
21850 else
21851 gtk_config_exec_prefix=""
21852 fi;
21853 # Check whether --enable-gtktest or --disable-gtktest was given.
21854 if test "${enable_gtktest+set}" = set; then
21855 enableval="$enable_gtktest"
21856
21857 else
21858 enable_gtktest=yes
21859 fi;
21860
21861 for module in . $GTK_MODULES
21862 do
21863 case "$module" in
21864 gthread)
21865 gtk_config_args="$gtk_config_args gthread"
21866 ;;
21867 esac
21868 done
21869
21870 if test x$gtk_config_exec_prefix != x ; then
21871 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
21872 if test x${GTK_CONFIG+set} != xset ; then
21873 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
21874 fi
21875 fi
21876 if test x$gtk_config_prefix != x ; then
21877 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
21878 if test x${GTK_CONFIG+set} != xset ; then
21879 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
21880 fi
21881 fi
21882
21883 # Extract the first word of "gtk-config", so it can be a program name with args.
21884 set dummy gtk-config; ac_word=$2
21885 echo "$as_me:$LINENO: checking for $ac_word" >&5
21886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21887 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
21888 echo $ECHO_N "(cached) $ECHO_C" >&6
21889 else
21890 case $GTK_CONFIG in
21891 [\\/]* | ?:[\\/]*)
21892 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
21893 ;;
21894 *)
21895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21896 for as_dir in $PATH
21897 do
21898 IFS=$as_save_IFS
21899 test -z "$as_dir" && as_dir=.
21900 for ac_exec_ext in '' $ac_executable_extensions; do
21901 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21902 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21904 break 2
21905 fi
21906 done
21907 done
21908
21909 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
21910 ;;
21911 esac
21912 fi
21913 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
21914
21915 if test -n "$GTK_CONFIG"; then
21916 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
21917 echo "${ECHO_T}$GTK_CONFIG" >&6
21918 else
21919 echo "$as_me:$LINENO: result: no" >&5
21920 echo "${ECHO_T}no" >&6
21921 fi
21922
21923 min_gtk_version=1.2.3
21924 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
21925 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
21926 no_gtk=""
21927 if test "$GTK_CONFIG" = "no" ; then
21928 no_gtk=yes
21929 else
21930 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
21931 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
21932 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
21933 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21934 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
21935 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21936 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
21937 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21938 if test "x$enable_gtktest" = "xyes" ; then
21939 ac_save_CFLAGS="$CFLAGS"
21940 ac_save_LIBS="$LIBS"
21941 CFLAGS="$CFLAGS $GTK_CFLAGS"
21942 LIBS="$GTK_LIBS $LIBS"
21943 rm -f conf.gtktest
21944 if test "$cross_compiling" = yes; then
21945 echo $ac_n "cross compiling; assumed OK... $ac_c"
21946 else
21947 cat >conftest.$ac_ext <<_ACEOF
21948 /* confdefs.h. */
21949 _ACEOF
21950 cat confdefs.h >>conftest.$ac_ext
21951 cat >>conftest.$ac_ext <<_ACEOF
21952 /* end confdefs.h. */
21953
21954 #include <gtk/gtk.h>
21955 #include <stdio.h>
21956 #include <stdlib.h>
21957
21958 int
21959 main ()
21960 {
21961 int major, minor, micro;
21962 char *tmp_version;
21963
21964 system ("touch conf.gtktest");
21965
21966 /* HP/UX 9 (%@#!) writes to sscanf strings */
21967 tmp_version = g_strdup("$min_gtk_version");
21968 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
21969 printf("%s, bad version string\n", "$min_gtk_version");
21970 exit(1);
21971 }
21972
21973 if ((gtk_major_version != $gtk_config_major_version) ||
21974 (gtk_minor_version != $gtk_config_minor_version) ||
21975 (gtk_micro_version != $gtk_config_micro_version))
21976 {
21977 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21978 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21979 gtk_major_version, gtk_minor_version, gtk_micro_version);
21980 printf ("*** was found! If gtk-config was correct, then it is best\n");
21981 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21982 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21983 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21984 printf("*** required on your system.\n");
21985 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
21986 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
21987 printf("*** before re-running configure\n");
21988 }
21989 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
21990 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21991 (gtk_minor_version != GTK_MINOR_VERSION) ||
21992 (gtk_micro_version != GTK_MICRO_VERSION))
21993 {
21994 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21995 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21996 printf("*** library (version %d.%d.%d)\n",
21997 gtk_major_version, gtk_minor_version, gtk_micro_version);
21998 }
21999 #endif /* defined (GTK_MAJOR_VERSION) ... */
22000 else
22001 {
22002 if ((gtk_major_version > major) ||
22003 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22004 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22005 {
22006 return 0;
22007 }
22008 else
22009 {
22010 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22011 gtk_major_version, gtk_minor_version, gtk_micro_version);
22012 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22013 major, minor, micro);
22014 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22015 printf("***\n");
22016 printf("*** If you have already installed a sufficiently new version, this error\n");
22017 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22018 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22019 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22020 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22021 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22022 printf("*** so that the correct libraries are found at run-time))\n");
22023 }
22024 }
22025 return 1;
22026 }
22027
22028 _ACEOF
22029 rm -f conftest$ac_exeext
22030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22031 (eval $ac_link) 2>&5
22032 ac_status=$?
22033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22034 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22036 (eval $ac_try) 2>&5
22037 ac_status=$?
22038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22039 (exit $ac_status); }; }; then
22040 :
22041 else
22042 echo "$as_me: program exited with status $ac_status" >&5
22043 echo "$as_me: failed program was:" >&5
22044 sed 's/^/| /' conftest.$ac_ext >&5
22045
22046 ( exit $ac_status )
22047 no_gtk=yes
22048 fi
22049 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22050 fi
22051 CFLAGS="$ac_save_CFLAGS"
22052 LIBS="$ac_save_LIBS"
22053 fi
22054 fi
22055 if test "x$no_gtk" = x ; then
22056 echo "$as_me:$LINENO: result: yes" >&5
22057 echo "${ECHO_T}yes" >&6
22058 wx_cv_lib_gtk=1.2.3
22059 else
22060 echo "$as_me:$LINENO: result: no" >&5
22061 echo "${ECHO_T}no" >&6
22062 if test "$GTK_CONFIG" = "no" ; then
22063 echo "*** The gtk-config script installed by GTK could not be found"
22064 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22065 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22066 echo "*** full path to gtk-config."
22067 else
22068 if test -f conf.gtktest ; then
22069 :
22070 else
22071 echo "*** Could not run GTK test program, checking why..."
22072 CFLAGS="$CFLAGS $GTK_CFLAGS"
22073 LIBS="$LIBS $GTK_LIBS"
22074 cat >conftest.$ac_ext <<_ACEOF
22075 /* confdefs.h. */
22076 _ACEOF
22077 cat confdefs.h >>conftest.$ac_ext
22078 cat >>conftest.$ac_ext <<_ACEOF
22079 /* end confdefs.h. */
22080
22081 #include <gtk/gtk.h>
22082 #include <stdio.h>
22083
22084 int
22085 main ()
22086 {
22087 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22088 ;
22089 return 0;
22090 }
22091 _ACEOF
22092 rm -f conftest.$ac_objext conftest$ac_exeext
22093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22094 (eval $ac_link) 2>conftest.er1
22095 ac_status=$?
22096 grep -v '^ *+' conftest.er1 >conftest.err
22097 rm -f conftest.er1
22098 cat conftest.err >&5
22099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22100 (exit $ac_status); } &&
22101 { ac_try='test -z "$ac_c_werror_flag"
22102 || test ! -s conftest.err'
22103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22104 (eval $ac_try) 2>&5
22105 ac_status=$?
22106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22107 (exit $ac_status); }; } &&
22108 { ac_try='test -s conftest$ac_exeext'
22109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22110 (eval $ac_try) 2>&5
22111 ac_status=$?
22112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22113 (exit $ac_status); }; }; then
22114 echo "*** The test program compiled, but did not run. This usually means"
22115 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22116 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22117 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22118 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22119 echo "*** is required on your system"
22120 echo "***"
22121 echo "*** If you have an old version installed, it is best to remove it, although"
22122 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22123 echo "***"
22124 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22125 echo "*** came with the system with the command"
22126 echo "***"
22127 echo "*** rpm --erase --nodeps gtk gtk-devel"
22128 else
22129 echo "$as_me: failed program was:" >&5
22130 sed 's/^/| /' conftest.$ac_ext >&5
22131
22132 echo "*** The test program failed to compile or link. See the file config.log for the"
22133 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22134 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22135 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22136 fi
22137 rm -f conftest.err conftest.$ac_objext \
22138 conftest$ac_exeext conftest.$ac_ext
22139 CFLAGS="$ac_save_CFLAGS"
22140 LIBS="$ac_save_LIBS"
22141 fi
22142 fi
22143 GTK_CFLAGS=""
22144 GTK_LIBS=""
22145 :
22146 fi
22147
22148
22149 rm -f conf.gtktest
22150
22151 fi
22152 fi
22153
22154 if test -z "$wx_cv_lib_gtk"; then
22155 wx_cv_lib_gtk=none
22156 else
22157 wx_cv_cflags_gtk=$GTK_CFLAGS
22158 wx_cv_libs_gtk=$GTK_LIBS
22159 fi
22160
22161
22162 fi
22163
22164
22165 if test "$gtk_version_cached" = 1; then
22166 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
22167 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
22168 fi
22169
22170 case "$wx_cv_lib_gtk" in
22171 2.0) WXGTK20=1
22172 TOOLKIT_VERSION=2
22173 ;;
22174 1.2.7) WXGTK127=1
22175 WXGTK12=1
22176 ;;
22177 1.2.3) WXGTK12=1
22178 ;;
22179 *) { { echo "$as_me:$LINENO: error:
22180 Please check that gtk-config is in path, the directory
22181 where GTK+ libraries are installed (returned by
22182 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22183 equivalent variable and GTK+ is version 1.2.3 or above.
22184 " >&5
22185 echo "$as_me: error:
22186 Please check that gtk-config is in path, the directory
22187 where GTK+ libraries are installed (returned by
22188 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22189 equivalent variable and GTK+ is version 1.2.3 or above.
22190 " >&2;}
22191 { (exit 1); exit 1; }; }
22192 ;;
22193 esac
22194
22195 if test "$WXGTK20" = 1; then
22196 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
22197
22198 succeeded=no
22199
22200 if test -z "$PKG_CONFIG"; then
22201 # Extract the first word of "pkg-config", so it can be a program name with args.
22202 set dummy pkg-config; ac_word=$2
22203 echo "$as_me:$LINENO: checking for $ac_word" >&5
22204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22205 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22206 echo $ECHO_N "(cached) $ECHO_C" >&6
22207 else
22208 case $PKG_CONFIG in
22209 [\\/]* | ?:[\\/]*)
22210 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22211 ;;
22212 *)
22213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22214 for as_dir in $PATH
22215 do
22216 IFS=$as_save_IFS
22217 test -z "$as_dir" && as_dir=.
22218 for ac_exec_ext in '' $ac_executable_extensions; do
22219 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22220 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22222 break 2
22223 fi
22224 done
22225 done
22226
22227 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22228 ;;
22229 esac
22230 fi
22231 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22232
22233 if test -n "$PKG_CONFIG"; then
22234 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22235 echo "${ECHO_T}$PKG_CONFIG" >&6
22236 else
22237 echo "$as_me:$LINENO: result: no" >&5
22238 echo "${ECHO_T}no" >&6
22239 fi
22240
22241 fi
22242
22243 if test "$PKG_CONFIG" = "no" ; then
22244 echo "*** The pkg-config script could not be found. Make sure it is"
22245 echo "*** in your path, or set the PKG_CONFIG environment variable"
22246 echo "*** to the full path to pkg-config."
22247 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22248 else
22249 PKG_CONFIG_MIN_VERSION=0.9.0
22250 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22251 echo "$as_me:$LINENO: checking for pangoft2" >&5
22252 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22253
22254 if $PKG_CONFIG --exists "pangoft2" ; then
22255 echo "$as_me:$LINENO: result: yes" >&5
22256 echo "${ECHO_T}yes" >&6
22257 succeeded=yes
22258
22259 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22260 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22261 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22262 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22263 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22264
22265 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22266 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22267 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22268 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22269 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22270 else
22271 PANGOFT2_CFLAGS=""
22272 PANGOFT2_LIBS=""
22273 ## If we have a custom action on failure, don't print errors, but
22274 ## do set a variable so people can do so.
22275 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22276
22277 fi
22278
22279
22280
22281 else
22282 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22283 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22284 fi
22285 fi
22286
22287 if test $succeeded = yes; then
22288
22289 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22290 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22291
22292 else
22293
22294 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22295 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22296 wxUSE_PRINTING_ARCHITECTURE="no"
22297
22298
22299 fi
22300
22301 fi
22302 else
22303 if test "$wxUSE_UNICODE" = "yes"; then
22304 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
22305 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
22306 wxUSE_UNICODE=no
22307 fi
22308 fi
22309
22310 if test "$USE_DARWIN" != 1; then
22311
22312 for ac_func in poll
22313 do
22314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22315 echo "$as_me:$LINENO: checking for $ac_func" >&5
22316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22317 if eval "test \"\${$as_ac_var+set}\" = set"; then
22318 echo $ECHO_N "(cached) $ECHO_C" >&6
22319 else
22320 cat >conftest.$ac_ext <<_ACEOF
22321 /* confdefs.h. */
22322 _ACEOF
22323 cat confdefs.h >>conftest.$ac_ext
22324 cat >>conftest.$ac_ext <<_ACEOF
22325 /* end confdefs.h. */
22326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22327 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22328 #define $ac_func innocuous_$ac_func
22329
22330 /* System header to define __stub macros and hopefully few prototypes,
22331 which can conflict with char $ac_func (); below.
22332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22333 <limits.h> exists even on freestanding compilers. */
22334
22335 #ifdef __STDC__
22336 # include <limits.h>
22337 #else
22338 # include <assert.h>
22339 #endif
22340
22341 #undef $ac_func
22342
22343 /* Override any gcc2 internal prototype to avoid an error. */
22344 #ifdef __cplusplus
22345 extern "C"
22346 {
22347 #endif
22348 /* We use char because int might match the return type of a gcc2
22349 builtin and then its argument prototype would still apply. */
22350 char $ac_func ();
22351 /* The GNU C library defines this for functions which it implements
22352 to always fail with ENOSYS. Some functions are actually named
22353 something starting with __ and the normal name is an alias. */
22354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22355 choke me
22356 #else
22357 char (*f) () = $ac_func;
22358 #endif
22359 #ifdef __cplusplus
22360 }
22361 #endif
22362
22363 int
22364 main ()
22365 {
22366 return f != $ac_func;
22367 ;
22368 return 0;
22369 }
22370 _ACEOF
22371 rm -f conftest.$ac_objext conftest$ac_exeext
22372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22373 (eval $ac_link) 2>conftest.er1
22374 ac_status=$?
22375 grep -v '^ *+' conftest.er1 >conftest.err
22376 rm -f conftest.er1
22377 cat conftest.err >&5
22378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22379 (exit $ac_status); } &&
22380 { ac_try='test -z "$ac_c_werror_flag"
22381 || test ! -s conftest.err'
22382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22383 (eval $ac_try) 2>&5
22384 ac_status=$?
22385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22386 (exit $ac_status); }; } &&
22387 { ac_try='test -s conftest$ac_exeext'
22388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22389 (eval $ac_try) 2>&5
22390 ac_status=$?
22391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22392 (exit $ac_status); }; }; then
22393 eval "$as_ac_var=yes"
22394 else
22395 echo "$as_me: failed program was:" >&5
22396 sed 's/^/| /' conftest.$ac_ext >&5
22397
22398 eval "$as_ac_var=no"
22399 fi
22400 rm -f conftest.err conftest.$ac_objext \
22401 conftest$ac_exeext conftest.$ac_ext
22402 fi
22403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22404 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22405 if test `eval echo '${'$as_ac_var'}'` = yes; then
22406 cat >>confdefs.h <<_ACEOF
22407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22408 _ACEOF
22409
22410 fi
22411 done
22412
22413 fi
22414
22415 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
22416 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
22417
22418 AFMINSTALL=afminstall
22419 TOOLKIT=GTK
22420 GUIDIST=GTK_DIST
22421
22422 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
22423 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
22424 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
22425 echo $ECHO_N "(cached) $ECHO_C" >&6
22426 else
22427 ac_check_lib_save_LIBS=$LIBS
22428 LIBS="-lgdk $LIBS"
22429 cat >conftest.$ac_ext <<_ACEOF
22430 /* confdefs.h. */
22431 _ACEOF
22432 cat confdefs.h >>conftest.$ac_ext
22433 cat >>conftest.$ac_ext <<_ACEOF
22434 /* end confdefs.h. */
22435
22436 /* Override any gcc2 internal prototype to avoid an error. */
22437 #ifdef __cplusplus
22438 extern "C"
22439 #endif
22440 /* We use char because int might match the return type of a gcc2
22441 builtin and then its argument prototype would still apply. */
22442 char gdk_im_open ();
22443 int
22444 main ()
22445 {
22446 gdk_im_open ();
22447 ;
22448 return 0;
22449 }
22450 _ACEOF
22451 rm -f conftest.$ac_objext conftest$ac_exeext
22452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22453 (eval $ac_link) 2>conftest.er1
22454 ac_status=$?
22455 grep -v '^ *+' conftest.er1 >conftest.err
22456 rm -f conftest.er1
22457 cat conftest.err >&5
22458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22459 (exit $ac_status); } &&
22460 { ac_try='test -z "$ac_c_werror_flag"
22461 || test ! -s conftest.err'
22462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22463 (eval $ac_try) 2>&5
22464 ac_status=$?
22465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22466 (exit $ac_status); }; } &&
22467 { ac_try='test -s conftest$ac_exeext'
22468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22469 (eval $ac_try) 2>&5
22470 ac_status=$?
22471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22472 (exit $ac_status); }; }; then
22473 ac_cv_lib_gdk_gdk_im_open=yes
22474 else
22475 echo "$as_me: failed program was:" >&5
22476 sed 's/^/| /' conftest.$ac_ext >&5
22477
22478 ac_cv_lib_gdk_gdk_im_open=no
22479 fi
22480 rm -f conftest.err conftest.$ac_objext \
22481 conftest$ac_exeext conftest.$ac_ext
22482 LIBS=$ac_check_lib_save_LIBS
22483 fi
22484 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
22485 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
22486 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
22487 cat >>confdefs.h <<\_ACEOF
22488 #define HAVE_XIM 1
22489 _ACEOF
22490
22491 fi
22492
22493 fi
22494
22495 if test "$wxUSE_MGL" = 1; then
22496 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
22497 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
22498 if test "x$MGL_ROOT" = x ; then
22499 echo "$as_me:$LINENO: result: not found" >&5
22500 echo "${ECHO_T}not found" >&6
22501 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
22502 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
22503 { (exit 1); exit 1; }; }
22504 else
22505 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
22506 echo "${ECHO_T}$MGL_ROOT" >&6
22507 fi
22508
22509 echo "$as_me:$LINENO: checking for libmgl location" >&5
22510 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
22511 case "${host}" in
22512 *-*-linux* )
22513 if test "x$wxUSE_SHARED" = xyes ; then
22514 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
22515 else
22516 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
22517 fi
22518 ;;
22519 *-pc-msdosdjgpp )
22520 mgl_os_candidates="dos32/dj2"
22521 ;;
22522 *)
22523 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
22524 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
22525 { (exit 1); exit 1; }; }
22526 esac
22527
22528 mgl_lib_type=""
22529 mgl_os=""
22530
22531 for mgl_os_i in $mgl_os_candidates ; do
22532 if test "x$mgl_os" = x ; then
22533 if test "$wxUSE_DEBUG_FLAG" = yes ; then
22534 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
22535 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
22536 mgl_lib_type=debug
22537 mgl_os=$mgl_os_i
22538 fi
22539 fi
22540 if test "x$mgl_lib_type" = x ; then
22541 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
22542 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
22543 mgl_lib_type=release
22544 mgl_os=$mgl_os_i
22545 fi
22546 fi
22547 fi
22548 done
22549
22550 if test "x$mgl_os" = x ; then
22551 echo "$as_me:$LINENO: result: not found" >&5
22552 echo "${ECHO_T}not found" >&6
22553 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
22554 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
22555 { (exit 1); exit 1; }; }
22556 fi
22557 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
22558 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
22559
22560 wxUSE_UNIVERSAL="yes"
22561
22562 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
22563 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
22564
22565 AFMINSTALL=afminstall
22566 TOOLKIT=MGL
22567 GUIDIST=MGL_DIST
22568 fi
22569
22570 if test "$wxUSE_MICROWIN" = 1; then
22571 echo "$as_me:$LINENO: checking for MicroWindows" >&5
22572 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
22573 if test "x$MICROWINDOWS" = x ; then
22574 echo "$as_me:$LINENO: result: not found" >&5
22575 echo "${ECHO_T}not found" >&6
22576 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
22577 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
22578 { (exit 1); exit 1; }; }
22579 else
22580 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
22581 echo "${ECHO_T}$MICROWINDOWS" >&6
22582 fi
22583
22584 if test -f $MICROWINDOWS/lib/libmwin.a; then
22585 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
22586 echo "${ECHO_T}MicroWindows' libraries found." >&6
22587 else
22588 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
22589 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
22590 { (exit 1); exit 1; }; }
22591 fi
22592
22593 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
22594 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
22595
22596 wxUSE_UNIVERSAL="yes"
22597
22598 AFMINSTALL=afminstall
22599 TOOLKIT=MICROWIN
22600 GUIDIST=MICROWIN_DIST
22601
22602 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
22603 fi
22604
22605 if test "$wxUSE_X11" = 1; then
22606 echo "$as_me:$LINENO: checking for X" >&5
22607 echo $ECHO_N "checking for X... $ECHO_C" >&6
22608
22609
22610 # Check whether --with-x or --without-x was given.
22611 if test "${with_x+set}" = set; then
22612 withval="$with_x"
22613
22614 fi;
22615 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
22616 if test "x$with_x" = xno; then
22617 # The user explicitly disabled X.
22618 have_x=disabled
22619 else
22620 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
22621 # Both variables are already set.
22622 have_x=yes
22623 else
22624 if test "${ac_cv_have_x+set}" = set; then
22625 echo $ECHO_N "(cached) $ECHO_C" >&6
22626 else
22627 # One or both of the vars are not set, and there is no cached value.
22628 ac_x_includes=no ac_x_libraries=no
22629 rm -fr conftest.dir
22630 if mkdir conftest.dir; then
22631 cd conftest.dir
22632 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
22633 cat >Imakefile <<'_ACEOF'
22634 acfindx:
22635 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
22636 _ACEOF
22637 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
22638 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
22639 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
22640 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
22641 for ac_extension in a so sl; do
22642 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
22643 test -f $ac_im_libdir/libX11.$ac_extension; then
22644 ac_im_usrlibdir=$ac_im_libdir; break
22645 fi
22646 done
22647 # Screen out bogus values from the imake configuration. They are
22648 # bogus both because they are the default anyway, and because
22649 # using them would break gcc on systems where it needs fixed includes.
22650 case $ac_im_incroot in
22651 /usr/include) ;;
22652 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
22653 esac
22654 case $ac_im_usrlibdir in
22655 /usr/lib | /lib) ;;
22656 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
22657 esac
22658 fi
22659 cd ..
22660 rm -fr conftest.dir
22661 fi
22662
22663 # Standard set of common directories for X headers.
22664 # Check X11 before X11Rn because it is often a symlink to the current release.
22665 ac_x_header_dirs='
22666 /usr/X11/include
22667 /usr/X11R6/include
22668 /usr/X11R5/include
22669 /usr/X11R4/include
22670
22671 /usr/include/X11
22672 /usr/include/X11R6
22673 /usr/include/X11R5
22674 /usr/include/X11R4
22675
22676 /usr/local/X11/include
22677 /usr/local/X11R6/include
22678 /usr/local/X11R5/include
22679 /usr/local/X11R4/include
22680
22681 /usr/local/include/X11
22682 /usr/local/include/X11R6
22683 /usr/local/include/X11R5
22684 /usr/local/include/X11R4
22685
22686 /usr/X386/include
22687 /usr/x386/include
22688 /usr/XFree86/include/X11
22689
22690 /usr/include
22691 /usr/local/include
22692 /usr/unsupported/include
22693 /usr/athena/include
22694 /usr/local/x11r5/include
22695 /usr/lpp/Xamples/include
22696
22697 /usr/openwin/include
22698 /usr/openwin/share/include'
22699
22700 if test "$ac_x_includes" = no; then
22701 # Guess where to find include files, by looking for Intrinsic.h.
22702 # First, try using that file with no special directory specified.
22703 cat >conftest.$ac_ext <<_ACEOF
22704 /* confdefs.h. */
22705 _ACEOF
22706 cat confdefs.h >>conftest.$ac_ext
22707 cat >>conftest.$ac_ext <<_ACEOF
22708 /* end confdefs.h. */
22709 #include <X11/Intrinsic.h>
22710 _ACEOF
22711 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22712 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22713 ac_status=$?
22714 grep -v '^ *+' conftest.er1 >conftest.err
22715 rm -f conftest.er1
22716 cat conftest.err >&5
22717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22718 (exit $ac_status); } >/dev/null; then
22719 if test -s conftest.err; then
22720 ac_cpp_err=$ac_c_preproc_warn_flag
22721 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22722 else
22723 ac_cpp_err=
22724 fi
22725 else
22726 ac_cpp_err=yes
22727 fi
22728 if test -z "$ac_cpp_err"; then
22729 # We can compile using X headers with no special include directory.
22730 ac_x_includes=
22731 else
22732 echo "$as_me: failed program was:" >&5
22733 sed 's/^/| /' conftest.$ac_ext >&5
22734
22735 for ac_dir in $ac_x_header_dirs; do
22736 if test -r "$ac_dir/X11/Intrinsic.h"; then
22737 ac_x_includes=$ac_dir
22738 break
22739 fi
22740 done
22741 fi
22742 rm -f conftest.err conftest.$ac_ext
22743 fi # $ac_x_includes = no
22744
22745 if test "$ac_x_libraries" = no; then
22746 # Check for the libraries.
22747 # See if we find them without any special options.
22748 # Don't add to $LIBS permanently.
22749 ac_save_LIBS=$LIBS
22750 LIBS="-lXt $LIBS"
22751 cat >conftest.$ac_ext <<_ACEOF
22752 /* confdefs.h. */
22753 _ACEOF
22754 cat confdefs.h >>conftest.$ac_ext
22755 cat >>conftest.$ac_ext <<_ACEOF
22756 /* end confdefs.h. */
22757 #include <X11/Intrinsic.h>
22758 int
22759 main ()
22760 {
22761 XtMalloc (0)
22762 ;
22763 return 0;
22764 }
22765 _ACEOF
22766 rm -f conftest.$ac_objext conftest$ac_exeext
22767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22768 (eval $ac_link) 2>conftest.er1
22769 ac_status=$?
22770 grep -v '^ *+' conftest.er1 >conftest.err
22771 rm -f conftest.er1
22772 cat conftest.err >&5
22773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22774 (exit $ac_status); } &&
22775 { ac_try='test -z "$ac_c_werror_flag"
22776 || test ! -s conftest.err'
22777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22778 (eval $ac_try) 2>&5
22779 ac_status=$?
22780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22781 (exit $ac_status); }; } &&
22782 { ac_try='test -s conftest$ac_exeext'
22783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22784 (eval $ac_try) 2>&5
22785 ac_status=$?
22786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22787 (exit $ac_status); }; }; then
22788 LIBS=$ac_save_LIBS
22789 # We can link X programs with no special library path.
22790 ac_x_libraries=
22791 else
22792 echo "$as_me: failed program was:" >&5
22793 sed 's/^/| /' conftest.$ac_ext >&5
22794
22795 LIBS=$ac_save_LIBS
22796 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
22797 do
22798 # Don't even attempt the hair of trying to link an X program!
22799 for ac_extension in a so sl; do
22800 if test -r $ac_dir/libXt.$ac_extension; then
22801 ac_x_libraries=$ac_dir
22802 break 2
22803 fi
22804 done
22805 done
22806 fi
22807 rm -f conftest.err conftest.$ac_objext \
22808 conftest$ac_exeext conftest.$ac_ext
22809 fi # $ac_x_libraries = no
22810
22811 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
22812 # Didn't find X anywhere. Cache the known absence of X.
22813 ac_cv_have_x="have_x=no"
22814 else
22815 # Record where we found X for the cache.
22816 ac_cv_have_x="have_x=yes \
22817 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
22818 fi
22819 fi
22820
22821 fi
22822 eval "$ac_cv_have_x"
22823 fi # $with_x != no
22824
22825 if test "$have_x" != yes; then
22826 echo "$as_me:$LINENO: result: $have_x" >&5
22827 echo "${ECHO_T}$have_x" >&6
22828 no_x=yes
22829 else
22830 # If each of the values was on the command line, it overrides each guess.
22831 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
22832 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
22833 # Update the cache value to reflect the command line values.
22834 ac_cv_have_x="have_x=yes \
22835 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
22836 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
22837 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
22838 fi
22839
22840 if test "$no_x" = yes; then
22841 # Not all programs may use this symbol, but it does not hurt to define it.
22842
22843 cat >>confdefs.h <<\_ACEOF
22844 #define X_DISPLAY_MISSING 1
22845 _ACEOF
22846
22847 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22848 else
22849 if test -n "$x_includes"; then
22850 X_CFLAGS="$X_CFLAGS -I$x_includes"
22851 fi
22852
22853 # It would also be nice to do this for all -L options, not just this one.
22854 if test -n "$x_libraries"; then
22855 X_LIBS="$X_LIBS -L$x_libraries"
22856 # For Solaris; some versions of Sun CC require a space after -R and
22857 # others require no space. Words are not sufficient . . . .
22858 case `(uname -sr) 2>/dev/null` in
22859 "SunOS 5"*)
22860 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22861 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22862 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22863 cat >conftest.$ac_ext <<_ACEOF
22864 /* confdefs.h. */
22865 _ACEOF
22866 cat confdefs.h >>conftest.$ac_ext
22867 cat >>conftest.$ac_ext <<_ACEOF
22868 /* end confdefs.h. */
22869
22870 int
22871 main ()
22872 {
22873
22874 ;
22875 return 0;
22876 }
22877 _ACEOF
22878 rm -f conftest.$ac_objext conftest$ac_exeext
22879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22880 (eval $ac_link) 2>conftest.er1
22881 ac_status=$?
22882 grep -v '^ *+' conftest.er1 >conftest.err
22883 rm -f conftest.er1
22884 cat conftest.err >&5
22885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22886 (exit $ac_status); } &&
22887 { ac_try='test -z "$ac_c_werror_flag"
22888 || test ! -s conftest.err'
22889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22890 (eval $ac_try) 2>&5
22891 ac_status=$?
22892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22893 (exit $ac_status); }; } &&
22894 { ac_try='test -s conftest$ac_exeext'
22895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22896 (eval $ac_try) 2>&5
22897 ac_status=$?
22898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22899 (exit $ac_status); }; }; then
22900 ac_R_nospace=yes
22901 else
22902 echo "$as_me: failed program was:" >&5
22903 sed 's/^/| /' conftest.$ac_ext >&5
22904
22905 ac_R_nospace=no
22906 fi
22907 rm -f conftest.err conftest.$ac_objext \
22908 conftest$ac_exeext conftest.$ac_ext
22909 if test $ac_R_nospace = yes; then
22910 echo "$as_me:$LINENO: result: no" >&5
22911 echo "${ECHO_T}no" >&6
22912 X_LIBS="$X_LIBS -R$x_libraries"
22913 else
22914 LIBS="$ac_xsave_LIBS -R $x_libraries"
22915 cat >conftest.$ac_ext <<_ACEOF
22916 /* confdefs.h. */
22917 _ACEOF
22918 cat confdefs.h >>conftest.$ac_ext
22919 cat >>conftest.$ac_ext <<_ACEOF
22920 /* end confdefs.h. */
22921
22922 int
22923 main ()
22924 {
22925
22926 ;
22927 return 0;
22928 }
22929 _ACEOF
22930 rm -f conftest.$ac_objext conftest$ac_exeext
22931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22932 (eval $ac_link) 2>conftest.er1
22933 ac_status=$?
22934 grep -v '^ *+' conftest.er1 >conftest.err
22935 rm -f conftest.er1
22936 cat conftest.err >&5
22937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22938 (exit $ac_status); } &&
22939 { ac_try='test -z "$ac_c_werror_flag"
22940 || test ! -s conftest.err'
22941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22942 (eval $ac_try) 2>&5
22943 ac_status=$?
22944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22945 (exit $ac_status); }; } &&
22946 { ac_try='test -s conftest$ac_exeext'
22947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22948 (eval $ac_try) 2>&5
22949 ac_status=$?
22950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22951 (exit $ac_status); }; }; then
22952 ac_R_space=yes
22953 else
22954 echo "$as_me: failed program was:" >&5
22955 sed 's/^/| /' conftest.$ac_ext >&5
22956
22957 ac_R_space=no
22958 fi
22959 rm -f conftest.err conftest.$ac_objext \
22960 conftest$ac_exeext conftest.$ac_ext
22961 if test $ac_R_space = yes; then
22962 echo "$as_me:$LINENO: result: yes" >&5
22963 echo "${ECHO_T}yes" >&6
22964 X_LIBS="$X_LIBS -R $x_libraries"
22965 else
22966 echo "$as_me:$LINENO: result: neither works" >&5
22967 echo "${ECHO_T}neither works" >&6
22968 fi
22969 fi
22970 LIBS=$ac_xsave_LIBS
22971 esac
22972 fi
22973
22974 # Check for system-dependent libraries X programs must link with.
22975 # Do this before checking for the system-independent R6 libraries
22976 # (-lICE), since we may need -lsocket or whatever for X linking.
22977
22978 if test "$ISC" = yes; then
22979 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
22980 else
22981 # Martyn Johnson says this is needed for Ultrix, if the X
22982 # libraries were built with DECnet support. And Karl Berry says
22983 # the Alpha needs dnet_stub (dnet does not exist).
22984 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
22985 cat >conftest.$ac_ext <<_ACEOF
22986 /* confdefs.h. */
22987 _ACEOF
22988 cat confdefs.h >>conftest.$ac_ext
22989 cat >>conftest.$ac_ext <<_ACEOF
22990 /* end confdefs.h. */
22991
22992 /* Override any gcc2 internal prototype to avoid an error. */
22993 #ifdef __cplusplus
22994 extern "C"
22995 #endif
22996 /* We use char because int might match the return type of a gcc2
22997 builtin and then its argument prototype would still apply. */
22998 char XOpenDisplay ();
22999 int
23000 main ()
23001 {
23002 XOpenDisplay ();
23003 ;
23004 return 0;
23005 }
23006 _ACEOF
23007 rm -f conftest.$ac_objext conftest$ac_exeext
23008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23009 (eval $ac_link) 2>conftest.er1
23010 ac_status=$?
23011 grep -v '^ *+' conftest.er1 >conftest.err
23012 rm -f conftest.er1
23013 cat conftest.err >&5
23014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23015 (exit $ac_status); } &&
23016 { ac_try='test -z "$ac_c_werror_flag"
23017 || test ! -s conftest.err'
23018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23019 (eval $ac_try) 2>&5
23020 ac_status=$?
23021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23022 (exit $ac_status); }; } &&
23023 { ac_try='test -s conftest$ac_exeext'
23024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23025 (eval $ac_try) 2>&5
23026 ac_status=$?
23027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23028 (exit $ac_status); }; }; then
23029 :
23030 else
23031 echo "$as_me: failed program was:" >&5
23032 sed 's/^/| /' conftest.$ac_ext >&5
23033
23034 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23035 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23036 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23037 echo $ECHO_N "(cached) $ECHO_C" >&6
23038 else
23039 ac_check_lib_save_LIBS=$LIBS
23040 LIBS="-ldnet $LIBS"
23041 cat >conftest.$ac_ext <<_ACEOF
23042 /* confdefs.h. */
23043 _ACEOF
23044 cat confdefs.h >>conftest.$ac_ext
23045 cat >>conftest.$ac_ext <<_ACEOF
23046 /* end confdefs.h. */
23047
23048 /* Override any gcc2 internal prototype to avoid an error. */
23049 #ifdef __cplusplus
23050 extern "C"
23051 #endif
23052 /* We use char because int might match the return type of a gcc2
23053 builtin and then its argument prototype would still apply. */
23054 char dnet_ntoa ();
23055 int
23056 main ()
23057 {
23058 dnet_ntoa ();
23059 ;
23060 return 0;
23061 }
23062 _ACEOF
23063 rm -f conftest.$ac_objext conftest$ac_exeext
23064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23065 (eval $ac_link) 2>conftest.er1
23066 ac_status=$?
23067 grep -v '^ *+' conftest.er1 >conftest.err
23068 rm -f conftest.er1
23069 cat conftest.err >&5
23070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23071 (exit $ac_status); } &&
23072 { ac_try='test -z "$ac_c_werror_flag"
23073 || test ! -s conftest.err'
23074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23075 (eval $ac_try) 2>&5
23076 ac_status=$?
23077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23078 (exit $ac_status); }; } &&
23079 { ac_try='test -s conftest$ac_exeext'
23080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23081 (eval $ac_try) 2>&5
23082 ac_status=$?
23083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23084 (exit $ac_status); }; }; then
23085 ac_cv_lib_dnet_dnet_ntoa=yes
23086 else
23087 echo "$as_me: failed program was:" >&5
23088 sed 's/^/| /' conftest.$ac_ext >&5
23089
23090 ac_cv_lib_dnet_dnet_ntoa=no
23091 fi
23092 rm -f conftest.err conftest.$ac_objext \
23093 conftest$ac_exeext conftest.$ac_ext
23094 LIBS=$ac_check_lib_save_LIBS
23095 fi
23096 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23097 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23098 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23099 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23100 fi
23101
23102 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23103 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23104 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23105 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23106 echo $ECHO_N "(cached) $ECHO_C" >&6
23107 else
23108 ac_check_lib_save_LIBS=$LIBS
23109 LIBS="-ldnet_stub $LIBS"
23110 cat >conftest.$ac_ext <<_ACEOF
23111 /* confdefs.h. */
23112 _ACEOF
23113 cat confdefs.h >>conftest.$ac_ext
23114 cat >>conftest.$ac_ext <<_ACEOF
23115 /* end confdefs.h. */
23116
23117 /* Override any gcc2 internal prototype to avoid an error. */
23118 #ifdef __cplusplus
23119 extern "C"
23120 #endif
23121 /* We use char because int might match the return type of a gcc2
23122 builtin and then its argument prototype would still apply. */
23123 char dnet_ntoa ();
23124 int
23125 main ()
23126 {
23127 dnet_ntoa ();
23128 ;
23129 return 0;
23130 }
23131 _ACEOF
23132 rm -f conftest.$ac_objext conftest$ac_exeext
23133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23134 (eval $ac_link) 2>conftest.er1
23135 ac_status=$?
23136 grep -v '^ *+' conftest.er1 >conftest.err
23137 rm -f conftest.er1
23138 cat conftest.err >&5
23139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23140 (exit $ac_status); } &&
23141 { ac_try='test -z "$ac_c_werror_flag"
23142 || test ! -s conftest.err'
23143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23144 (eval $ac_try) 2>&5
23145 ac_status=$?
23146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23147 (exit $ac_status); }; } &&
23148 { ac_try='test -s conftest$ac_exeext'
23149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23150 (eval $ac_try) 2>&5
23151 ac_status=$?
23152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23153 (exit $ac_status); }; }; then
23154 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23155 else
23156 echo "$as_me: failed program was:" >&5
23157 sed 's/^/| /' conftest.$ac_ext >&5
23158
23159 ac_cv_lib_dnet_stub_dnet_ntoa=no
23160 fi
23161 rm -f conftest.err conftest.$ac_objext \
23162 conftest$ac_exeext conftest.$ac_ext
23163 LIBS=$ac_check_lib_save_LIBS
23164 fi
23165 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23166 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23167 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23168 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23169 fi
23170
23171 fi
23172 fi
23173 rm -f conftest.err conftest.$ac_objext \
23174 conftest$ac_exeext conftest.$ac_ext
23175 LIBS="$ac_xsave_LIBS"
23176
23177 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23178 # to get the SysV transport functions.
23179 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23180 # needs -lnsl.
23181 # The nsl library prevents programs from opening the X display
23182 # on Irix 5.2, according to T.E. Dickey.
23183 # The functions gethostbyname, getservbyname, and inet_addr are
23184 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23185 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23186 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23187 if test "${ac_cv_func_gethostbyname+set}" = set; then
23188 echo $ECHO_N "(cached) $ECHO_C" >&6
23189 else
23190 cat >conftest.$ac_ext <<_ACEOF
23191 /* confdefs.h. */
23192 _ACEOF
23193 cat confdefs.h >>conftest.$ac_ext
23194 cat >>conftest.$ac_ext <<_ACEOF
23195 /* end confdefs.h. */
23196 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
23197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23198 #define gethostbyname innocuous_gethostbyname
23199
23200 /* System header to define __stub macros and hopefully few prototypes,
23201 which can conflict with char gethostbyname (); below.
23202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23203 <limits.h> exists even on freestanding compilers. */
23204
23205 #ifdef __STDC__
23206 # include <limits.h>
23207 #else
23208 # include <assert.h>
23209 #endif
23210
23211 #undef gethostbyname
23212
23213 /* Override any gcc2 internal prototype to avoid an error. */
23214 #ifdef __cplusplus
23215 extern "C"
23216 {
23217 #endif
23218 /* We use char because int might match the return type of a gcc2
23219 builtin and then its argument prototype would still apply. */
23220 char gethostbyname ();
23221 /* The GNU C library defines this for functions which it implements
23222 to always fail with ENOSYS. Some functions are actually named
23223 something starting with __ and the normal name is an alias. */
23224 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23225 choke me
23226 #else
23227 char (*f) () = gethostbyname;
23228 #endif
23229 #ifdef __cplusplus
23230 }
23231 #endif
23232
23233 int
23234 main ()
23235 {
23236 return f != gethostbyname;
23237 ;
23238 return 0;
23239 }
23240 _ACEOF
23241 rm -f conftest.$ac_objext conftest$ac_exeext
23242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23243 (eval $ac_link) 2>conftest.er1
23244 ac_status=$?
23245 grep -v '^ *+' conftest.er1 >conftest.err
23246 rm -f conftest.er1
23247 cat conftest.err >&5
23248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23249 (exit $ac_status); } &&
23250 { ac_try='test -z "$ac_c_werror_flag"
23251 || test ! -s conftest.err'
23252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23253 (eval $ac_try) 2>&5
23254 ac_status=$?
23255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23256 (exit $ac_status); }; } &&
23257 { ac_try='test -s conftest$ac_exeext'
23258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23259 (eval $ac_try) 2>&5
23260 ac_status=$?
23261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23262 (exit $ac_status); }; }; then
23263 ac_cv_func_gethostbyname=yes
23264 else
23265 echo "$as_me: failed program was:" >&5
23266 sed 's/^/| /' conftest.$ac_ext >&5
23267
23268 ac_cv_func_gethostbyname=no
23269 fi
23270 rm -f conftest.err conftest.$ac_objext \
23271 conftest$ac_exeext conftest.$ac_ext
23272 fi
23273 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23274 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23275
23276 if test $ac_cv_func_gethostbyname = no; then
23277 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23278 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23279 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23280 echo $ECHO_N "(cached) $ECHO_C" >&6
23281 else
23282 ac_check_lib_save_LIBS=$LIBS
23283 LIBS="-lnsl $LIBS"
23284 cat >conftest.$ac_ext <<_ACEOF
23285 /* confdefs.h. */
23286 _ACEOF
23287 cat confdefs.h >>conftest.$ac_ext
23288 cat >>conftest.$ac_ext <<_ACEOF
23289 /* end confdefs.h. */
23290
23291 /* Override any gcc2 internal prototype to avoid an error. */
23292 #ifdef __cplusplus
23293 extern "C"
23294 #endif
23295 /* We use char because int might match the return type of a gcc2
23296 builtin and then its argument prototype would still apply. */
23297 char gethostbyname ();
23298 int
23299 main ()
23300 {
23301 gethostbyname ();
23302 ;
23303 return 0;
23304 }
23305 _ACEOF
23306 rm -f conftest.$ac_objext conftest$ac_exeext
23307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23308 (eval $ac_link) 2>conftest.er1
23309 ac_status=$?
23310 grep -v '^ *+' conftest.er1 >conftest.err
23311 rm -f conftest.er1
23312 cat conftest.err >&5
23313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23314 (exit $ac_status); } &&
23315 { ac_try='test -z "$ac_c_werror_flag"
23316 || test ! -s conftest.err'
23317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23318 (eval $ac_try) 2>&5
23319 ac_status=$?
23320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23321 (exit $ac_status); }; } &&
23322 { ac_try='test -s conftest$ac_exeext'
23323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23324 (eval $ac_try) 2>&5
23325 ac_status=$?
23326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23327 (exit $ac_status); }; }; then
23328 ac_cv_lib_nsl_gethostbyname=yes
23329 else
23330 echo "$as_me: failed program was:" >&5
23331 sed 's/^/| /' conftest.$ac_ext >&5
23332
23333 ac_cv_lib_nsl_gethostbyname=no
23334 fi
23335 rm -f conftest.err conftest.$ac_objext \
23336 conftest$ac_exeext conftest.$ac_ext
23337 LIBS=$ac_check_lib_save_LIBS
23338 fi
23339 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23340 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23341 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23342 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23343 fi
23344
23345 if test $ac_cv_lib_nsl_gethostbyname = no; then
23346 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23347 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23348 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23349 echo $ECHO_N "(cached) $ECHO_C" >&6
23350 else
23351 ac_check_lib_save_LIBS=$LIBS
23352 LIBS="-lbsd $LIBS"
23353 cat >conftest.$ac_ext <<_ACEOF
23354 /* confdefs.h. */
23355 _ACEOF
23356 cat confdefs.h >>conftest.$ac_ext
23357 cat >>conftest.$ac_ext <<_ACEOF
23358 /* end confdefs.h. */
23359
23360 /* Override any gcc2 internal prototype to avoid an error. */
23361 #ifdef __cplusplus
23362 extern "C"
23363 #endif
23364 /* We use char because int might match the return type of a gcc2
23365 builtin and then its argument prototype would still apply. */
23366 char gethostbyname ();
23367 int
23368 main ()
23369 {
23370 gethostbyname ();
23371 ;
23372 return 0;
23373 }
23374 _ACEOF
23375 rm -f conftest.$ac_objext conftest$ac_exeext
23376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23377 (eval $ac_link) 2>conftest.er1
23378 ac_status=$?
23379 grep -v '^ *+' conftest.er1 >conftest.err
23380 rm -f conftest.er1
23381 cat conftest.err >&5
23382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23383 (exit $ac_status); } &&
23384 { ac_try='test -z "$ac_c_werror_flag"
23385 || test ! -s conftest.err'
23386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23387 (eval $ac_try) 2>&5
23388 ac_status=$?
23389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23390 (exit $ac_status); }; } &&
23391 { ac_try='test -s conftest$ac_exeext'
23392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23393 (eval $ac_try) 2>&5
23394 ac_status=$?
23395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23396 (exit $ac_status); }; }; then
23397 ac_cv_lib_bsd_gethostbyname=yes
23398 else
23399 echo "$as_me: failed program was:" >&5
23400 sed 's/^/| /' conftest.$ac_ext >&5
23401
23402 ac_cv_lib_bsd_gethostbyname=no
23403 fi
23404 rm -f conftest.err conftest.$ac_objext \
23405 conftest$ac_exeext conftest.$ac_ext
23406 LIBS=$ac_check_lib_save_LIBS
23407 fi
23408 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23409 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23410 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23411 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23412 fi
23413
23414 fi
23415 fi
23416
23417 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23418 # socket/setsockopt and other routines are undefined under SCO ODT
23419 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23420 # on later versions), says Simon Leinen: it contains gethostby*
23421 # variants that don't use the name server (or something). -lsocket
23422 # must be given before -lnsl if both are needed. We assume that
23423 # if connect needs -lnsl, so does gethostbyname.
23424 echo "$as_me:$LINENO: checking for connect" >&5
23425 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23426 if test "${ac_cv_func_connect+set}" = set; then
23427 echo $ECHO_N "(cached) $ECHO_C" >&6
23428 else
23429 cat >conftest.$ac_ext <<_ACEOF
23430 /* confdefs.h. */
23431 _ACEOF
23432 cat confdefs.h >>conftest.$ac_ext
23433 cat >>conftest.$ac_ext <<_ACEOF
23434 /* end confdefs.h. */
23435 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
23436 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23437 #define connect innocuous_connect
23438
23439 /* System header to define __stub macros and hopefully few prototypes,
23440 which can conflict with char connect (); below.
23441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23442 <limits.h> exists even on freestanding compilers. */
23443
23444 #ifdef __STDC__
23445 # include <limits.h>
23446 #else
23447 # include <assert.h>
23448 #endif
23449
23450 #undef connect
23451
23452 /* Override any gcc2 internal prototype to avoid an error. */
23453 #ifdef __cplusplus
23454 extern "C"
23455 {
23456 #endif
23457 /* We use char because int might match the return type of a gcc2
23458 builtin and then its argument prototype would still apply. */
23459 char connect ();
23460 /* The GNU C library defines this for functions which it implements
23461 to always fail with ENOSYS. Some functions are actually named
23462 something starting with __ and the normal name is an alias. */
23463 #if defined (__stub_connect) || defined (__stub___connect)
23464 choke me
23465 #else
23466 char (*f) () = connect;
23467 #endif
23468 #ifdef __cplusplus
23469 }
23470 #endif
23471
23472 int
23473 main ()
23474 {
23475 return f != connect;
23476 ;
23477 return 0;
23478 }
23479 _ACEOF
23480 rm -f conftest.$ac_objext conftest$ac_exeext
23481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23482 (eval $ac_link) 2>conftest.er1
23483 ac_status=$?
23484 grep -v '^ *+' conftest.er1 >conftest.err
23485 rm -f conftest.er1
23486 cat conftest.err >&5
23487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23488 (exit $ac_status); } &&
23489 { ac_try='test -z "$ac_c_werror_flag"
23490 || test ! -s conftest.err'
23491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23492 (eval $ac_try) 2>&5
23493 ac_status=$?
23494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23495 (exit $ac_status); }; } &&
23496 { ac_try='test -s conftest$ac_exeext'
23497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23498 (eval $ac_try) 2>&5
23499 ac_status=$?
23500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23501 (exit $ac_status); }; }; then
23502 ac_cv_func_connect=yes
23503 else
23504 echo "$as_me: failed program was:" >&5
23505 sed 's/^/| /' conftest.$ac_ext >&5
23506
23507 ac_cv_func_connect=no
23508 fi
23509 rm -f conftest.err conftest.$ac_objext \
23510 conftest$ac_exeext conftest.$ac_ext
23511 fi
23512 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23513 echo "${ECHO_T}$ac_cv_func_connect" >&6
23514
23515 if test $ac_cv_func_connect = no; then
23516 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23517 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23518 if test "${ac_cv_lib_socket_connect+set}" = set; then
23519 echo $ECHO_N "(cached) $ECHO_C" >&6
23520 else
23521 ac_check_lib_save_LIBS=$LIBS
23522 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23523 cat >conftest.$ac_ext <<_ACEOF
23524 /* confdefs.h. */
23525 _ACEOF
23526 cat confdefs.h >>conftest.$ac_ext
23527 cat >>conftest.$ac_ext <<_ACEOF
23528 /* end confdefs.h. */
23529
23530 /* Override any gcc2 internal prototype to avoid an error. */
23531 #ifdef __cplusplus
23532 extern "C"
23533 #endif
23534 /* We use char because int might match the return type of a gcc2
23535 builtin and then its argument prototype would still apply. */
23536 char connect ();
23537 int
23538 main ()
23539 {
23540 connect ();
23541 ;
23542 return 0;
23543 }
23544 _ACEOF
23545 rm -f conftest.$ac_objext conftest$ac_exeext
23546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23547 (eval $ac_link) 2>conftest.er1
23548 ac_status=$?
23549 grep -v '^ *+' conftest.er1 >conftest.err
23550 rm -f conftest.er1
23551 cat conftest.err >&5
23552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23553 (exit $ac_status); } &&
23554 { ac_try='test -z "$ac_c_werror_flag"
23555 || test ! -s conftest.err'
23556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23557 (eval $ac_try) 2>&5
23558 ac_status=$?
23559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23560 (exit $ac_status); }; } &&
23561 { ac_try='test -s conftest$ac_exeext'
23562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23563 (eval $ac_try) 2>&5
23564 ac_status=$?
23565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23566 (exit $ac_status); }; }; then
23567 ac_cv_lib_socket_connect=yes
23568 else
23569 echo "$as_me: failed program was:" >&5
23570 sed 's/^/| /' conftest.$ac_ext >&5
23571
23572 ac_cv_lib_socket_connect=no
23573 fi
23574 rm -f conftest.err conftest.$ac_objext \
23575 conftest$ac_exeext conftest.$ac_ext
23576 LIBS=$ac_check_lib_save_LIBS
23577 fi
23578 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23579 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23580 if test $ac_cv_lib_socket_connect = yes; then
23581 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23582 fi
23583
23584 fi
23585
23586 # Guillermo Gomez says -lposix is necessary on A/UX.
23587 echo "$as_me:$LINENO: checking for remove" >&5
23588 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23589 if test "${ac_cv_func_remove+set}" = set; then
23590 echo $ECHO_N "(cached) $ECHO_C" >&6
23591 else
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 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
23599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23600 #define remove innocuous_remove
23601
23602 /* System header to define __stub macros and hopefully few prototypes,
23603 which can conflict with char remove (); below.
23604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23605 <limits.h> exists even on freestanding compilers. */
23606
23607 #ifdef __STDC__
23608 # include <limits.h>
23609 #else
23610 # include <assert.h>
23611 #endif
23612
23613 #undef remove
23614
23615 /* Override any gcc2 internal prototype to avoid an error. */
23616 #ifdef __cplusplus
23617 extern "C"
23618 {
23619 #endif
23620 /* We use char because int might match the return type of a gcc2
23621 builtin and then its argument prototype would still apply. */
23622 char remove ();
23623 /* The GNU C library defines this for functions which it implements
23624 to always fail with ENOSYS. Some functions are actually named
23625 something starting with __ and the normal name is an alias. */
23626 #if defined (__stub_remove) || defined (__stub___remove)
23627 choke me
23628 #else
23629 char (*f) () = remove;
23630 #endif
23631 #ifdef __cplusplus
23632 }
23633 #endif
23634
23635 int
23636 main ()
23637 {
23638 return f != remove;
23639 ;
23640 return 0;
23641 }
23642 _ACEOF
23643 rm -f conftest.$ac_objext conftest$ac_exeext
23644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23645 (eval $ac_link) 2>conftest.er1
23646 ac_status=$?
23647 grep -v '^ *+' conftest.er1 >conftest.err
23648 rm -f conftest.er1
23649 cat conftest.err >&5
23650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23651 (exit $ac_status); } &&
23652 { ac_try='test -z "$ac_c_werror_flag"
23653 || test ! -s conftest.err'
23654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23655 (eval $ac_try) 2>&5
23656 ac_status=$?
23657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23658 (exit $ac_status); }; } &&
23659 { ac_try='test -s conftest$ac_exeext'
23660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23661 (eval $ac_try) 2>&5
23662 ac_status=$?
23663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23664 (exit $ac_status); }; }; then
23665 ac_cv_func_remove=yes
23666 else
23667 echo "$as_me: failed program was:" >&5
23668 sed 's/^/| /' conftest.$ac_ext >&5
23669
23670 ac_cv_func_remove=no
23671 fi
23672 rm -f conftest.err conftest.$ac_objext \
23673 conftest$ac_exeext conftest.$ac_ext
23674 fi
23675 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23676 echo "${ECHO_T}$ac_cv_func_remove" >&6
23677
23678 if test $ac_cv_func_remove = no; then
23679 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23680 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23681 if test "${ac_cv_lib_posix_remove+set}" = set; then
23682 echo $ECHO_N "(cached) $ECHO_C" >&6
23683 else
23684 ac_check_lib_save_LIBS=$LIBS
23685 LIBS="-lposix $LIBS"
23686 cat >conftest.$ac_ext <<_ACEOF
23687 /* confdefs.h. */
23688 _ACEOF
23689 cat confdefs.h >>conftest.$ac_ext
23690 cat >>conftest.$ac_ext <<_ACEOF
23691 /* end confdefs.h. */
23692
23693 /* Override any gcc2 internal prototype to avoid an error. */
23694 #ifdef __cplusplus
23695 extern "C"
23696 #endif
23697 /* We use char because int might match the return type of a gcc2
23698 builtin and then its argument prototype would still apply. */
23699 char remove ();
23700 int
23701 main ()
23702 {
23703 remove ();
23704 ;
23705 return 0;
23706 }
23707 _ACEOF
23708 rm -f conftest.$ac_objext conftest$ac_exeext
23709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23710 (eval $ac_link) 2>conftest.er1
23711 ac_status=$?
23712 grep -v '^ *+' conftest.er1 >conftest.err
23713 rm -f conftest.er1
23714 cat conftest.err >&5
23715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23716 (exit $ac_status); } &&
23717 { ac_try='test -z "$ac_c_werror_flag"
23718 || test ! -s conftest.err'
23719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23720 (eval $ac_try) 2>&5
23721 ac_status=$?
23722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23723 (exit $ac_status); }; } &&
23724 { ac_try='test -s conftest$ac_exeext'
23725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23726 (eval $ac_try) 2>&5
23727 ac_status=$?
23728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23729 (exit $ac_status); }; }; then
23730 ac_cv_lib_posix_remove=yes
23731 else
23732 echo "$as_me: failed program was:" >&5
23733 sed 's/^/| /' conftest.$ac_ext >&5
23734
23735 ac_cv_lib_posix_remove=no
23736 fi
23737 rm -f conftest.err conftest.$ac_objext \
23738 conftest$ac_exeext conftest.$ac_ext
23739 LIBS=$ac_check_lib_save_LIBS
23740 fi
23741 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23742 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23743 if test $ac_cv_lib_posix_remove = yes; then
23744 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23745 fi
23746
23747 fi
23748
23749 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23750 echo "$as_me:$LINENO: checking for shmat" >&5
23751 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23752 if test "${ac_cv_func_shmat+set}" = set; then
23753 echo $ECHO_N "(cached) $ECHO_C" >&6
23754 else
23755 cat >conftest.$ac_ext <<_ACEOF
23756 /* confdefs.h. */
23757 _ACEOF
23758 cat confdefs.h >>conftest.$ac_ext
23759 cat >>conftest.$ac_ext <<_ACEOF
23760 /* end confdefs.h. */
23761 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
23762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23763 #define shmat innocuous_shmat
23764
23765 /* System header to define __stub macros and hopefully few prototypes,
23766 which can conflict with char shmat (); below.
23767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23768 <limits.h> exists even on freestanding compilers. */
23769
23770 #ifdef __STDC__
23771 # include <limits.h>
23772 #else
23773 # include <assert.h>
23774 #endif
23775
23776 #undef shmat
23777
23778 /* Override any gcc2 internal prototype to avoid an error. */
23779 #ifdef __cplusplus
23780 extern "C"
23781 {
23782 #endif
23783 /* We use char because int might match the return type of a gcc2
23784 builtin and then its argument prototype would still apply. */
23785 char shmat ();
23786 /* The GNU C library defines this for functions which it implements
23787 to always fail with ENOSYS. Some functions are actually named
23788 something starting with __ and the normal name is an alias. */
23789 #if defined (__stub_shmat) || defined (__stub___shmat)
23790 choke me
23791 #else
23792 char (*f) () = shmat;
23793 #endif
23794 #ifdef __cplusplus
23795 }
23796 #endif
23797
23798 int
23799 main ()
23800 {
23801 return f != shmat;
23802 ;
23803 return 0;
23804 }
23805 _ACEOF
23806 rm -f conftest.$ac_objext conftest$ac_exeext
23807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23808 (eval $ac_link) 2>conftest.er1
23809 ac_status=$?
23810 grep -v '^ *+' conftest.er1 >conftest.err
23811 rm -f conftest.er1
23812 cat conftest.err >&5
23813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23814 (exit $ac_status); } &&
23815 { ac_try='test -z "$ac_c_werror_flag"
23816 || test ! -s conftest.err'
23817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23818 (eval $ac_try) 2>&5
23819 ac_status=$?
23820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23821 (exit $ac_status); }; } &&
23822 { ac_try='test -s conftest$ac_exeext'
23823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23824 (eval $ac_try) 2>&5
23825 ac_status=$?
23826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23827 (exit $ac_status); }; }; then
23828 ac_cv_func_shmat=yes
23829 else
23830 echo "$as_me: failed program was:" >&5
23831 sed 's/^/| /' conftest.$ac_ext >&5
23832
23833 ac_cv_func_shmat=no
23834 fi
23835 rm -f conftest.err conftest.$ac_objext \
23836 conftest$ac_exeext conftest.$ac_ext
23837 fi
23838 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23839 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23840
23841 if test $ac_cv_func_shmat = no; then
23842 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23843 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23844 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23845 echo $ECHO_N "(cached) $ECHO_C" >&6
23846 else
23847 ac_check_lib_save_LIBS=$LIBS
23848 LIBS="-lipc $LIBS"
23849 cat >conftest.$ac_ext <<_ACEOF
23850 /* confdefs.h. */
23851 _ACEOF
23852 cat confdefs.h >>conftest.$ac_ext
23853 cat >>conftest.$ac_ext <<_ACEOF
23854 /* end confdefs.h. */
23855
23856 /* Override any gcc2 internal prototype to avoid an error. */
23857 #ifdef __cplusplus
23858 extern "C"
23859 #endif
23860 /* We use char because int might match the return type of a gcc2
23861 builtin and then its argument prototype would still apply. */
23862 char shmat ();
23863 int
23864 main ()
23865 {
23866 shmat ();
23867 ;
23868 return 0;
23869 }
23870 _ACEOF
23871 rm -f conftest.$ac_objext conftest$ac_exeext
23872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23873 (eval $ac_link) 2>conftest.er1
23874 ac_status=$?
23875 grep -v '^ *+' conftest.er1 >conftest.err
23876 rm -f conftest.er1
23877 cat conftest.err >&5
23878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23879 (exit $ac_status); } &&
23880 { ac_try='test -z "$ac_c_werror_flag"
23881 || test ! -s conftest.err'
23882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23883 (eval $ac_try) 2>&5
23884 ac_status=$?
23885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23886 (exit $ac_status); }; } &&
23887 { ac_try='test -s conftest$ac_exeext'
23888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23889 (eval $ac_try) 2>&5
23890 ac_status=$?
23891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23892 (exit $ac_status); }; }; then
23893 ac_cv_lib_ipc_shmat=yes
23894 else
23895 echo "$as_me: failed program was:" >&5
23896 sed 's/^/| /' conftest.$ac_ext >&5
23897
23898 ac_cv_lib_ipc_shmat=no
23899 fi
23900 rm -f conftest.err conftest.$ac_objext \
23901 conftest$ac_exeext conftest.$ac_ext
23902 LIBS=$ac_check_lib_save_LIBS
23903 fi
23904 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23905 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23906 if test $ac_cv_lib_ipc_shmat = yes; then
23907 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23908 fi
23909
23910 fi
23911 fi
23912
23913 # Check for libraries that X11R6 Xt/Xaw programs need.
23914 ac_save_LDFLAGS=$LDFLAGS
23915 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23916 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23917 # check for ICE first), but we must link in the order -lSM -lICE or
23918 # we get undefined symbols. So assume we have SM if we have ICE.
23919 # These have to be linked with before -lX11, unlike the other
23920 # libraries we check for below, so use a different variable.
23921 # John Interrante, Karl Berry
23922 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23923 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23924 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23925 echo $ECHO_N "(cached) $ECHO_C" >&6
23926 else
23927 ac_check_lib_save_LIBS=$LIBS
23928 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23929 cat >conftest.$ac_ext <<_ACEOF
23930 /* confdefs.h. */
23931 _ACEOF
23932 cat confdefs.h >>conftest.$ac_ext
23933 cat >>conftest.$ac_ext <<_ACEOF
23934 /* end confdefs.h. */
23935
23936 /* Override any gcc2 internal prototype to avoid an error. */
23937 #ifdef __cplusplus
23938 extern "C"
23939 #endif
23940 /* We use char because int might match the return type of a gcc2
23941 builtin and then its argument prototype would still apply. */
23942 char IceConnectionNumber ();
23943 int
23944 main ()
23945 {
23946 IceConnectionNumber ();
23947 ;
23948 return 0;
23949 }
23950 _ACEOF
23951 rm -f conftest.$ac_objext conftest$ac_exeext
23952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23953 (eval $ac_link) 2>conftest.er1
23954 ac_status=$?
23955 grep -v '^ *+' conftest.er1 >conftest.err
23956 rm -f conftest.er1
23957 cat conftest.err >&5
23958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23959 (exit $ac_status); } &&
23960 { ac_try='test -z "$ac_c_werror_flag"
23961 || test ! -s conftest.err'
23962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23963 (eval $ac_try) 2>&5
23964 ac_status=$?
23965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23966 (exit $ac_status); }; } &&
23967 { ac_try='test -s conftest$ac_exeext'
23968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23969 (eval $ac_try) 2>&5
23970 ac_status=$?
23971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23972 (exit $ac_status); }; }; then
23973 ac_cv_lib_ICE_IceConnectionNumber=yes
23974 else
23975 echo "$as_me: failed program was:" >&5
23976 sed 's/^/| /' conftest.$ac_ext >&5
23977
23978 ac_cv_lib_ICE_IceConnectionNumber=no
23979 fi
23980 rm -f conftest.err conftest.$ac_objext \
23981 conftest$ac_exeext conftest.$ac_ext
23982 LIBS=$ac_check_lib_save_LIBS
23983 fi
23984 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23985 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23986 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23987 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23988 fi
23989
23990 LDFLAGS=$ac_save_LDFLAGS
23991
23992 fi
23993
23994
23995 if test "$no_x" = "yes"; then
23996 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23997 echo "$as_me: error: X11 not found" >&2;}
23998 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
23999 fi
24000
24001 GUI_TK_LIBRARY="$X_LIBS"
24002 TOOLKIT_INCLUDE="$X_CFLAGS"
24003 AFMINSTALL=afminstall
24004 COMPILED_X_PROGRAM=0
24005
24006 if test "$wxUSE_NANOX" = "yes"; then
24007 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
24008 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
24009 if test "x$MICROWIN" = x ; then
24010 echo "$as_me:$LINENO: result: not found" >&5
24011 echo "${ECHO_T}not found" >&6
24012 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
24013 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
24014 { (exit 1); exit 1; }; }
24015 else
24016 echo "$as_me:$LINENO: result: $MICROWIN" >&5
24017 echo "${ECHO_T}$MICROWIN" >&6
24018 cat >>confdefs.h <<\_ACEOF
24019 #define wxUSE_NANOX 1
24020 _ACEOF
24021
24022 fi
24023 fi
24024
24025 if test "$wxUSE_UNICODE" = "yes"; then
24026
24027 succeeded=no
24028
24029 if test -z "$PKG_CONFIG"; then
24030 # Extract the first word of "pkg-config", so it can be a program name with args.
24031 set dummy pkg-config; ac_word=$2
24032 echo "$as_me:$LINENO: checking for $ac_word" >&5
24033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24034 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24035 echo $ECHO_N "(cached) $ECHO_C" >&6
24036 else
24037 case $PKG_CONFIG in
24038 [\\/]* | ?:[\\/]*)
24039 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24040 ;;
24041 *)
24042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24043 for as_dir in $PATH
24044 do
24045 IFS=$as_save_IFS
24046 test -z "$as_dir" && as_dir=.
24047 for ac_exec_ext in '' $ac_executable_extensions; do
24048 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24049 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24051 break 2
24052 fi
24053 done
24054 done
24055
24056 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24057 ;;
24058 esac
24059 fi
24060 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24061
24062 if test -n "$PKG_CONFIG"; then
24063 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24064 echo "${ECHO_T}$PKG_CONFIG" >&6
24065 else
24066 echo "$as_me:$LINENO: result: no" >&5
24067 echo "${ECHO_T}no" >&6
24068 fi
24069
24070 fi
24071
24072 if test "$PKG_CONFIG" = "no" ; then
24073 echo "*** The pkg-config script could not be found. Make sure it is"
24074 echo "*** in your path, or set the PKG_CONFIG environment variable"
24075 echo "*** to the full path to pkg-config."
24076 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24077 else
24078 PKG_CONFIG_MIN_VERSION=0.9.0
24079 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24080 echo "$as_me:$LINENO: checking for pangox" >&5
24081 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
24082
24083 if $PKG_CONFIG --exists "pangox" ; then
24084 echo "$as_me:$LINENO: result: yes" >&5
24085 echo "${ECHO_T}yes" >&6
24086 succeeded=yes
24087
24088 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
24089 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
24090 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
24091 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
24092 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
24093
24094 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
24095 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
24096 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
24097 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
24098 echo "${ECHO_T}$PANGOX_LIBS" >&6
24099 else
24100 PANGOX_CFLAGS=""
24101 PANGOX_LIBS=""
24102 ## If we have a custom action on failure, don't print errors, but
24103 ## do set a variable so people can do so.
24104 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
24105
24106 fi
24107
24108
24109
24110 else
24111 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24112 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24113 fi
24114 fi
24115
24116 if test $succeeded = yes; then
24117
24118 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
24119 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
24120
24121 else
24122
24123 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
24124 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
24125 { (exit 1); exit 1; }; }
24126
24127
24128 fi
24129
24130
24131 succeeded=no
24132
24133 if test -z "$PKG_CONFIG"; then
24134 # Extract the first word of "pkg-config", so it can be a program name with args.
24135 set dummy pkg-config; ac_word=$2
24136 echo "$as_me:$LINENO: checking for $ac_word" >&5
24137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24138 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24139 echo $ECHO_N "(cached) $ECHO_C" >&6
24140 else
24141 case $PKG_CONFIG in
24142 [\\/]* | ?:[\\/]*)
24143 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24144 ;;
24145 *)
24146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24147 for as_dir in $PATH
24148 do
24149 IFS=$as_save_IFS
24150 test -z "$as_dir" && as_dir=.
24151 for ac_exec_ext in '' $ac_executable_extensions; do
24152 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24153 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24155 break 2
24156 fi
24157 done
24158 done
24159
24160 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24161 ;;
24162 esac
24163 fi
24164 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24165
24166 if test -n "$PKG_CONFIG"; then
24167 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24168 echo "${ECHO_T}$PKG_CONFIG" >&6
24169 else
24170 echo "$as_me:$LINENO: result: no" >&5
24171 echo "${ECHO_T}no" >&6
24172 fi
24173
24174 fi
24175
24176 if test "$PKG_CONFIG" = "no" ; then
24177 echo "*** The pkg-config script could not be found. Make sure it is"
24178 echo "*** in your path, or set the PKG_CONFIG environment variable"
24179 echo "*** to the full path to pkg-config."
24180 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24181 else
24182 PKG_CONFIG_MIN_VERSION=0.9.0
24183 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24184 echo "$as_me:$LINENO: checking for pangoft2" >&5
24185 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
24186
24187 if $PKG_CONFIG --exists "pangoft2" ; then
24188 echo "$as_me:$LINENO: result: yes" >&5
24189 echo "${ECHO_T}yes" >&6
24190 succeeded=yes
24191
24192 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
24193 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
24194 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
24195 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
24196 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
24197
24198 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
24199 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
24200 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
24201 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
24202 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
24203 else
24204 PANGOFT2_CFLAGS=""
24205 PANGOFT2_LIBS=""
24206 ## If we have a custom action on failure, don't print errors, but
24207 ## do set a variable so people can do so.
24208 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
24209
24210 fi
24211
24212
24213
24214 else
24215 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24216 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24217 fi
24218 fi
24219
24220 if test $succeeded = yes; then
24221
24222 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
24223 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
24224
24225 else
24226
24227 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
24228 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
24229 wxUSE_PRINTING_ARCHITECTURE="no"
24230
24231
24232 fi
24233
24234
24235 succeeded=no
24236
24237 if test -z "$PKG_CONFIG"; then
24238 # Extract the first word of "pkg-config", so it can be a program name with args.
24239 set dummy pkg-config; ac_word=$2
24240 echo "$as_me:$LINENO: checking for $ac_word" >&5
24241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24242 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24243 echo $ECHO_N "(cached) $ECHO_C" >&6
24244 else
24245 case $PKG_CONFIG in
24246 [\\/]* | ?:[\\/]*)
24247 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24248 ;;
24249 *)
24250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24251 for as_dir in $PATH
24252 do
24253 IFS=$as_save_IFS
24254 test -z "$as_dir" && as_dir=.
24255 for ac_exec_ext in '' $ac_executable_extensions; do
24256 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24257 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24259 break 2
24260 fi
24261 done
24262 done
24263
24264 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24265 ;;
24266 esac
24267 fi
24268 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24269
24270 if test -n "$PKG_CONFIG"; then
24271 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24272 echo "${ECHO_T}$PKG_CONFIG" >&6
24273 else
24274 echo "$as_me:$LINENO: result: no" >&5
24275 echo "${ECHO_T}no" >&6
24276 fi
24277
24278 fi
24279
24280 if test "$PKG_CONFIG" = "no" ; then
24281 echo "*** The pkg-config script could not be found. Make sure it is"
24282 echo "*** in your path, or set the PKG_CONFIG environment variable"
24283 echo "*** to the full path to pkg-config."
24284 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24285 else
24286 PKG_CONFIG_MIN_VERSION=0.9.0
24287 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24288 echo "$as_me:$LINENO: checking for pangoxft" >&5
24289 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
24290
24291 if $PKG_CONFIG --exists "pangoxft" ; then
24292 echo "$as_me:$LINENO: result: yes" >&5
24293 echo "${ECHO_T}yes" >&6
24294 succeeded=yes
24295
24296 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
24297 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
24298 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
24299 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
24300 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
24301
24302 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
24303 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
24304 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
24305 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
24306 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
24307 else
24308 PANGOXFT_CFLAGS=""
24309 PANGOXFT_LIBS=""
24310 ## If we have a custom action on failure, don't print errors, but
24311 ## do set a variable so people can do so.
24312 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
24313
24314 fi
24315
24316
24317
24318 else
24319 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24320 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24321 fi
24322 fi
24323
24324 if test $succeeded = yes; then
24325
24326 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
24327 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
24328
24329 else
24330
24331 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
24332 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
24333
24334
24335 fi
24336
24337 fi
24338
24339 wxUSE_UNIVERSAL="yes"
24340
24341 if test "$wxUSE_NANOX" = "yes"; then
24342 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
24343 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"
24344 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
24345 else
24346 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
24347 fi
24348
24349 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
24350 TOOLKIT=X11
24351 GUIDIST=X11_DIST
24352 fi
24353
24354 if test "$wxUSE_MOTIF" = 1; then
24355 if test "$no_x" = yes; then
24356 # Not all programs may use this symbol, but it does not hurt to define it.
24357
24358 cat >>confdefs.h <<\_ACEOF
24359 #define X_DISPLAY_MISSING 1
24360 _ACEOF
24361
24362 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24363 else
24364 if test -n "$x_includes"; then
24365 X_CFLAGS="$X_CFLAGS -I$x_includes"
24366 fi
24367
24368 # It would also be nice to do this for all -L options, not just this one.
24369 if test -n "$x_libraries"; then
24370 X_LIBS="$X_LIBS -L$x_libraries"
24371 # For Solaris; some versions of Sun CC require a space after -R and
24372 # others require no space. Words are not sufficient . . . .
24373 case `(uname -sr) 2>/dev/null` in
24374 "SunOS 5"*)
24375 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24376 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24377 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24378 cat >conftest.$ac_ext <<_ACEOF
24379 /* confdefs.h. */
24380 _ACEOF
24381 cat confdefs.h >>conftest.$ac_ext
24382 cat >>conftest.$ac_ext <<_ACEOF
24383 /* end confdefs.h. */
24384
24385 int
24386 main ()
24387 {
24388
24389 ;
24390 return 0;
24391 }
24392 _ACEOF
24393 rm -f conftest.$ac_objext conftest$ac_exeext
24394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24395 (eval $ac_link) 2>conftest.er1
24396 ac_status=$?
24397 grep -v '^ *+' conftest.er1 >conftest.err
24398 rm -f conftest.er1
24399 cat conftest.err >&5
24400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24401 (exit $ac_status); } &&
24402 { ac_try='test -z "$ac_c_werror_flag"
24403 || test ! -s conftest.err'
24404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24405 (eval $ac_try) 2>&5
24406 ac_status=$?
24407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24408 (exit $ac_status); }; } &&
24409 { ac_try='test -s conftest$ac_exeext'
24410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24411 (eval $ac_try) 2>&5
24412 ac_status=$?
24413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24414 (exit $ac_status); }; }; then
24415 ac_R_nospace=yes
24416 else
24417 echo "$as_me: failed program was:" >&5
24418 sed 's/^/| /' conftest.$ac_ext >&5
24419
24420 ac_R_nospace=no
24421 fi
24422 rm -f conftest.err conftest.$ac_objext \
24423 conftest$ac_exeext conftest.$ac_ext
24424 if test $ac_R_nospace = yes; then
24425 echo "$as_me:$LINENO: result: no" >&5
24426 echo "${ECHO_T}no" >&6
24427 X_LIBS="$X_LIBS -R$x_libraries"
24428 else
24429 LIBS="$ac_xsave_LIBS -R $x_libraries"
24430 cat >conftest.$ac_ext <<_ACEOF
24431 /* confdefs.h. */
24432 _ACEOF
24433 cat confdefs.h >>conftest.$ac_ext
24434 cat >>conftest.$ac_ext <<_ACEOF
24435 /* end confdefs.h. */
24436
24437 int
24438 main ()
24439 {
24440
24441 ;
24442 return 0;
24443 }
24444 _ACEOF
24445 rm -f conftest.$ac_objext conftest$ac_exeext
24446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24447 (eval $ac_link) 2>conftest.er1
24448 ac_status=$?
24449 grep -v '^ *+' conftest.er1 >conftest.err
24450 rm -f conftest.er1
24451 cat conftest.err >&5
24452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24453 (exit $ac_status); } &&
24454 { ac_try='test -z "$ac_c_werror_flag"
24455 || test ! -s conftest.err'
24456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24457 (eval $ac_try) 2>&5
24458 ac_status=$?
24459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24460 (exit $ac_status); }; } &&
24461 { ac_try='test -s conftest$ac_exeext'
24462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24463 (eval $ac_try) 2>&5
24464 ac_status=$?
24465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24466 (exit $ac_status); }; }; then
24467 ac_R_space=yes
24468 else
24469 echo "$as_me: failed program was:" >&5
24470 sed 's/^/| /' conftest.$ac_ext >&5
24471
24472 ac_R_space=no
24473 fi
24474 rm -f conftest.err conftest.$ac_objext \
24475 conftest$ac_exeext conftest.$ac_ext
24476 if test $ac_R_space = yes; then
24477 echo "$as_me:$LINENO: result: yes" >&5
24478 echo "${ECHO_T}yes" >&6
24479 X_LIBS="$X_LIBS -R $x_libraries"
24480 else
24481 echo "$as_me:$LINENO: result: neither works" >&5
24482 echo "${ECHO_T}neither works" >&6
24483 fi
24484 fi
24485 LIBS=$ac_xsave_LIBS
24486 esac
24487 fi
24488
24489 # Check for system-dependent libraries X programs must link with.
24490 # Do this before checking for the system-independent R6 libraries
24491 # (-lICE), since we may need -lsocket or whatever for X linking.
24492
24493 if test "$ISC" = yes; then
24494 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24495 else
24496 # Martyn Johnson says this is needed for Ultrix, if the X
24497 # libraries were built with DECnet support. And Karl Berry says
24498 # the Alpha needs dnet_stub (dnet does not exist).
24499 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24500 cat >conftest.$ac_ext <<_ACEOF
24501 /* confdefs.h. */
24502 _ACEOF
24503 cat confdefs.h >>conftest.$ac_ext
24504 cat >>conftest.$ac_ext <<_ACEOF
24505 /* end confdefs.h. */
24506
24507 /* Override any gcc2 internal prototype to avoid an error. */
24508 #ifdef __cplusplus
24509 extern "C"
24510 #endif
24511 /* We use char because int might match the return type of a gcc2
24512 builtin and then its argument prototype would still apply. */
24513 char XOpenDisplay ();
24514 int
24515 main ()
24516 {
24517 XOpenDisplay ();
24518 ;
24519 return 0;
24520 }
24521 _ACEOF
24522 rm -f conftest.$ac_objext conftest$ac_exeext
24523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24524 (eval $ac_link) 2>conftest.er1
24525 ac_status=$?
24526 grep -v '^ *+' conftest.er1 >conftest.err
24527 rm -f conftest.er1
24528 cat conftest.err >&5
24529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24530 (exit $ac_status); } &&
24531 { ac_try='test -z "$ac_c_werror_flag"
24532 || test ! -s conftest.err'
24533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24534 (eval $ac_try) 2>&5
24535 ac_status=$?
24536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24537 (exit $ac_status); }; } &&
24538 { ac_try='test -s conftest$ac_exeext'
24539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24540 (eval $ac_try) 2>&5
24541 ac_status=$?
24542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24543 (exit $ac_status); }; }; then
24544 :
24545 else
24546 echo "$as_me: failed program was:" >&5
24547 sed 's/^/| /' conftest.$ac_ext >&5
24548
24549 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24550 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24551 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24552 echo $ECHO_N "(cached) $ECHO_C" >&6
24553 else
24554 ac_check_lib_save_LIBS=$LIBS
24555 LIBS="-ldnet $LIBS"
24556 cat >conftest.$ac_ext <<_ACEOF
24557 /* confdefs.h. */
24558 _ACEOF
24559 cat confdefs.h >>conftest.$ac_ext
24560 cat >>conftest.$ac_ext <<_ACEOF
24561 /* end confdefs.h. */
24562
24563 /* Override any gcc2 internal prototype to avoid an error. */
24564 #ifdef __cplusplus
24565 extern "C"
24566 #endif
24567 /* We use char because int might match the return type of a gcc2
24568 builtin and then its argument prototype would still apply. */
24569 char dnet_ntoa ();
24570 int
24571 main ()
24572 {
24573 dnet_ntoa ();
24574 ;
24575 return 0;
24576 }
24577 _ACEOF
24578 rm -f conftest.$ac_objext conftest$ac_exeext
24579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24580 (eval $ac_link) 2>conftest.er1
24581 ac_status=$?
24582 grep -v '^ *+' conftest.er1 >conftest.err
24583 rm -f conftest.er1
24584 cat conftest.err >&5
24585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24586 (exit $ac_status); } &&
24587 { ac_try='test -z "$ac_c_werror_flag"
24588 || test ! -s conftest.err'
24589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24590 (eval $ac_try) 2>&5
24591 ac_status=$?
24592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24593 (exit $ac_status); }; } &&
24594 { ac_try='test -s conftest$ac_exeext'
24595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24596 (eval $ac_try) 2>&5
24597 ac_status=$?
24598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24599 (exit $ac_status); }; }; then
24600 ac_cv_lib_dnet_dnet_ntoa=yes
24601 else
24602 echo "$as_me: failed program was:" >&5
24603 sed 's/^/| /' conftest.$ac_ext >&5
24604
24605 ac_cv_lib_dnet_dnet_ntoa=no
24606 fi
24607 rm -f conftest.err conftest.$ac_objext \
24608 conftest$ac_exeext conftest.$ac_ext
24609 LIBS=$ac_check_lib_save_LIBS
24610 fi
24611 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24612 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24613 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24614 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
24615 fi
24616
24617 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
24618 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24619 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24620 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24621 echo $ECHO_N "(cached) $ECHO_C" >&6
24622 else
24623 ac_check_lib_save_LIBS=$LIBS
24624 LIBS="-ldnet_stub $LIBS"
24625 cat >conftest.$ac_ext <<_ACEOF
24626 /* confdefs.h. */
24627 _ACEOF
24628 cat confdefs.h >>conftest.$ac_ext
24629 cat >>conftest.$ac_ext <<_ACEOF
24630 /* end confdefs.h. */
24631
24632 /* Override any gcc2 internal prototype to avoid an error. */
24633 #ifdef __cplusplus
24634 extern "C"
24635 #endif
24636 /* We use char because int might match the return type of a gcc2
24637 builtin and then its argument prototype would still apply. */
24638 char dnet_ntoa ();
24639 int
24640 main ()
24641 {
24642 dnet_ntoa ();
24643 ;
24644 return 0;
24645 }
24646 _ACEOF
24647 rm -f conftest.$ac_objext conftest$ac_exeext
24648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24649 (eval $ac_link) 2>conftest.er1
24650 ac_status=$?
24651 grep -v '^ *+' conftest.er1 >conftest.err
24652 rm -f conftest.er1
24653 cat conftest.err >&5
24654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24655 (exit $ac_status); } &&
24656 { ac_try='test -z "$ac_c_werror_flag"
24657 || test ! -s conftest.err'
24658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24659 (eval $ac_try) 2>&5
24660 ac_status=$?
24661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24662 (exit $ac_status); }; } &&
24663 { ac_try='test -s conftest$ac_exeext'
24664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24665 (eval $ac_try) 2>&5
24666 ac_status=$?
24667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24668 (exit $ac_status); }; }; then
24669 ac_cv_lib_dnet_stub_dnet_ntoa=yes
24670 else
24671 echo "$as_me: failed program was:" >&5
24672 sed 's/^/| /' conftest.$ac_ext >&5
24673
24674 ac_cv_lib_dnet_stub_dnet_ntoa=no
24675 fi
24676 rm -f conftest.err conftest.$ac_objext \
24677 conftest$ac_exeext conftest.$ac_ext
24678 LIBS=$ac_check_lib_save_LIBS
24679 fi
24680 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24681 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24682 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24683 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
24684 fi
24685
24686 fi
24687 fi
24688 rm -f conftest.err conftest.$ac_objext \
24689 conftest$ac_exeext conftest.$ac_ext
24690 LIBS="$ac_xsave_LIBS"
24691
24692 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24693 # to get the SysV transport functions.
24694 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24695 # needs -lnsl.
24696 # The nsl library prevents programs from opening the X display
24697 # on Irix 5.2, according to T.E. Dickey.
24698 # The functions gethostbyname, getservbyname, and inet_addr are
24699 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24700 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24701 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24702 if test "${ac_cv_func_gethostbyname+set}" = set; then
24703 echo $ECHO_N "(cached) $ECHO_C" >&6
24704 else
24705 cat >conftest.$ac_ext <<_ACEOF
24706 /* confdefs.h. */
24707 _ACEOF
24708 cat confdefs.h >>conftest.$ac_ext
24709 cat >>conftest.$ac_ext <<_ACEOF
24710 /* end confdefs.h. */
24711 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24713 #define gethostbyname innocuous_gethostbyname
24714
24715 /* System header to define __stub macros and hopefully few prototypes,
24716 which can conflict with char gethostbyname (); below.
24717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24718 <limits.h> exists even on freestanding compilers. */
24719
24720 #ifdef __STDC__
24721 # include <limits.h>
24722 #else
24723 # include <assert.h>
24724 #endif
24725
24726 #undef gethostbyname
24727
24728 /* Override any gcc2 internal prototype to avoid an error. */
24729 #ifdef __cplusplus
24730 extern "C"
24731 {
24732 #endif
24733 /* We use char because int might match the return type of a gcc2
24734 builtin and then its argument prototype would still apply. */
24735 char gethostbyname ();
24736 /* The GNU C library defines this for functions which it implements
24737 to always fail with ENOSYS. Some functions are actually named
24738 something starting with __ and the normal name is an alias. */
24739 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24740 choke me
24741 #else
24742 char (*f) () = gethostbyname;
24743 #endif
24744 #ifdef __cplusplus
24745 }
24746 #endif
24747
24748 int
24749 main ()
24750 {
24751 return f != gethostbyname;
24752 ;
24753 return 0;
24754 }
24755 _ACEOF
24756 rm -f conftest.$ac_objext conftest$ac_exeext
24757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24758 (eval $ac_link) 2>conftest.er1
24759 ac_status=$?
24760 grep -v '^ *+' conftest.er1 >conftest.err
24761 rm -f conftest.er1
24762 cat conftest.err >&5
24763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24764 (exit $ac_status); } &&
24765 { ac_try='test -z "$ac_c_werror_flag"
24766 || test ! -s conftest.err'
24767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24768 (eval $ac_try) 2>&5
24769 ac_status=$?
24770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24771 (exit $ac_status); }; } &&
24772 { ac_try='test -s conftest$ac_exeext'
24773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24774 (eval $ac_try) 2>&5
24775 ac_status=$?
24776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24777 (exit $ac_status); }; }; then
24778 ac_cv_func_gethostbyname=yes
24779 else
24780 echo "$as_me: failed program was:" >&5
24781 sed 's/^/| /' conftest.$ac_ext >&5
24782
24783 ac_cv_func_gethostbyname=no
24784 fi
24785 rm -f conftest.err conftest.$ac_objext \
24786 conftest$ac_exeext conftest.$ac_ext
24787 fi
24788 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24789 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24790
24791 if test $ac_cv_func_gethostbyname = no; then
24792 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24793 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24794 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24795 echo $ECHO_N "(cached) $ECHO_C" >&6
24796 else
24797 ac_check_lib_save_LIBS=$LIBS
24798 LIBS="-lnsl $LIBS"
24799 cat >conftest.$ac_ext <<_ACEOF
24800 /* confdefs.h. */
24801 _ACEOF
24802 cat confdefs.h >>conftest.$ac_ext
24803 cat >>conftest.$ac_ext <<_ACEOF
24804 /* end confdefs.h. */
24805
24806 /* Override any gcc2 internal prototype to avoid an error. */
24807 #ifdef __cplusplus
24808 extern "C"
24809 #endif
24810 /* We use char because int might match the return type of a gcc2
24811 builtin and then its argument prototype would still apply. */
24812 char gethostbyname ();
24813 int
24814 main ()
24815 {
24816 gethostbyname ();
24817 ;
24818 return 0;
24819 }
24820 _ACEOF
24821 rm -f conftest.$ac_objext conftest$ac_exeext
24822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24823 (eval $ac_link) 2>conftest.er1
24824 ac_status=$?
24825 grep -v '^ *+' conftest.er1 >conftest.err
24826 rm -f conftest.er1
24827 cat conftest.err >&5
24828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24829 (exit $ac_status); } &&
24830 { ac_try='test -z "$ac_c_werror_flag"
24831 || test ! -s conftest.err'
24832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24833 (eval $ac_try) 2>&5
24834 ac_status=$?
24835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24836 (exit $ac_status); }; } &&
24837 { ac_try='test -s conftest$ac_exeext'
24838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24839 (eval $ac_try) 2>&5
24840 ac_status=$?
24841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24842 (exit $ac_status); }; }; then
24843 ac_cv_lib_nsl_gethostbyname=yes
24844 else
24845 echo "$as_me: failed program was:" >&5
24846 sed 's/^/| /' conftest.$ac_ext >&5
24847
24848 ac_cv_lib_nsl_gethostbyname=no
24849 fi
24850 rm -f conftest.err conftest.$ac_objext \
24851 conftest$ac_exeext conftest.$ac_ext
24852 LIBS=$ac_check_lib_save_LIBS
24853 fi
24854 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24855 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24856 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24857 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
24858 fi
24859
24860 if test $ac_cv_lib_nsl_gethostbyname = no; then
24861 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24862 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24863 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24864 echo $ECHO_N "(cached) $ECHO_C" >&6
24865 else
24866 ac_check_lib_save_LIBS=$LIBS
24867 LIBS="-lbsd $LIBS"
24868 cat >conftest.$ac_ext <<_ACEOF
24869 /* confdefs.h. */
24870 _ACEOF
24871 cat confdefs.h >>conftest.$ac_ext
24872 cat >>conftest.$ac_ext <<_ACEOF
24873 /* end confdefs.h. */
24874
24875 /* Override any gcc2 internal prototype to avoid an error. */
24876 #ifdef __cplusplus
24877 extern "C"
24878 #endif
24879 /* We use char because int might match the return type of a gcc2
24880 builtin and then its argument prototype would still apply. */
24881 char gethostbyname ();
24882 int
24883 main ()
24884 {
24885 gethostbyname ();
24886 ;
24887 return 0;
24888 }
24889 _ACEOF
24890 rm -f conftest.$ac_objext conftest$ac_exeext
24891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24892 (eval $ac_link) 2>conftest.er1
24893 ac_status=$?
24894 grep -v '^ *+' conftest.er1 >conftest.err
24895 rm -f conftest.er1
24896 cat conftest.err >&5
24897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24898 (exit $ac_status); } &&
24899 { ac_try='test -z "$ac_c_werror_flag"
24900 || test ! -s conftest.err'
24901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24902 (eval $ac_try) 2>&5
24903 ac_status=$?
24904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24905 (exit $ac_status); }; } &&
24906 { ac_try='test -s conftest$ac_exeext'
24907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24908 (eval $ac_try) 2>&5
24909 ac_status=$?
24910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24911 (exit $ac_status); }; }; then
24912 ac_cv_lib_bsd_gethostbyname=yes
24913 else
24914 echo "$as_me: failed program was:" >&5
24915 sed 's/^/| /' conftest.$ac_ext >&5
24916
24917 ac_cv_lib_bsd_gethostbyname=no
24918 fi
24919 rm -f conftest.err conftest.$ac_objext \
24920 conftest$ac_exeext conftest.$ac_ext
24921 LIBS=$ac_check_lib_save_LIBS
24922 fi
24923 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24924 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24925 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24926 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
24927 fi
24928
24929 fi
24930 fi
24931
24932 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24933 # socket/setsockopt and other routines are undefined under SCO ODT
24934 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24935 # on later versions), says Simon Leinen: it contains gethostby*
24936 # variants that don't use the name server (or something). -lsocket
24937 # must be given before -lnsl if both are needed. We assume that
24938 # if connect needs -lnsl, so does gethostbyname.
24939 echo "$as_me:$LINENO: checking for connect" >&5
24940 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24941 if test "${ac_cv_func_connect+set}" = set; then
24942 echo $ECHO_N "(cached) $ECHO_C" >&6
24943 else
24944 cat >conftest.$ac_ext <<_ACEOF
24945 /* confdefs.h. */
24946 _ACEOF
24947 cat confdefs.h >>conftest.$ac_ext
24948 cat >>conftest.$ac_ext <<_ACEOF
24949 /* end confdefs.h. */
24950 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24952 #define connect innocuous_connect
24953
24954 /* System header to define __stub macros and hopefully few prototypes,
24955 which can conflict with char connect (); below.
24956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24957 <limits.h> exists even on freestanding compilers. */
24958
24959 #ifdef __STDC__
24960 # include <limits.h>
24961 #else
24962 # include <assert.h>
24963 #endif
24964
24965 #undef connect
24966
24967 /* Override any gcc2 internal prototype to avoid an error. */
24968 #ifdef __cplusplus
24969 extern "C"
24970 {
24971 #endif
24972 /* We use char because int might match the return type of a gcc2
24973 builtin and then its argument prototype would still apply. */
24974 char connect ();
24975 /* The GNU C library defines this for functions which it implements
24976 to always fail with ENOSYS. Some functions are actually named
24977 something starting with __ and the normal name is an alias. */
24978 #if defined (__stub_connect) || defined (__stub___connect)
24979 choke me
24980 #else
24981 char (*f) () = connect;
24982 #endif
24983 #ifdef __cplusplus
24984 }
24985 #endif
24986
24987 int
24988 main ()
24989 {
24990 return f != connect;
24991 ;
24992 return 0;
24993 }
24994 _ACEOF
24995 rm -f conftest.$ac_objext conftest$ac_exeext
24996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24997 (eval $ac_link) 2>conftest.er1
24998 ac_status=$?
24999 grep -v '^ *+' conftest.er1 >conftest.err
25000 rm -f conftest.er1
25001 cat conftest.err >&5
25002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25003 (exit $ac_status); } &&
25004 { ac_try='test -z "$ac_c_werror_flag"
25005 || test ! -s conftest.err'
25006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25007 (eval $ac_try) 2>&5
25008 ac_status=$?
25009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25010 (exit $ac_status); }; } &&
25011 { ac_try='test -s conftest$ac_exeext'
25012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25013 (eval $ac_try) 2>&5
25014 ac_status=$?
25015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25016 (exit $ac_status); }; }; then
25017 ac_cv_func_connect=yes
25018 else
25019 echo "$as_me: failed program was:" >&5
25020 sed 's/^/| /' conftest.$ac_ext >&5
25021
25022 ac_cv_func_connect=no
25023 fi
25024 rm -f conftest.err conftest.$ac_objext \
25025 conftest$ac_exeext conftest.$ac_ext
25026 fi
25027 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25028 echo "${ECHO_T}$ac_cv_func_connect" >&6
25029
25030 if test $ac_cv_func_connect = no; then
25031 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25032 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25033 if test "${ac_cv_lib_socket_connect+set}" = set; then
25034 echo $ECHO_N "(cached) $ECHO_C" >&6
25035 else
25036 ac_check_lib_save_LIBS=$LIBS
25037 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25038 cat >conftest.$ac_ext <<_ACEOF
25039 /* confdefs.h. */
25040 _ACEOF
25041 cat confdefs.h >>conftest.$ac_ext
25042 cat >>conftest.$ac_ext <<_ACEOF
25043 /* end confdefs.h. */
25044
25045 /* Override any gcc2 internal prototype to avoid an error. */
25046 #ifdef __cplusplus
25047 extern "C"
25048 #endif
25049 /* We use char because int might match the return type of a gcc2
25050 builtin and then its argument prototype would still apply. */
25051 char connect ();
25052 int
25053 main ()
25054 {
25055 connect ();
25056 ;
25057 return 0;
25058 }
25059 _ACEOF
25060 rm -f conftest.$ac_objext conftest$ac_exeext
25061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25062 (eval $ac_link) 2>conftest.er1
25063 ac_status=$?
25064 grep -v '^ *+' conftest.er1 >conftest.err
25065 rm -f conftest.er1
25066 cat conftest.err >&5
25067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25068 (exit $ac_status); } &&
25069 { ac_try='test -z "$ac_c_werror_flag"
25070 || test ! -s conftest.err'
25071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25072 (eval $ac_try) 2>&5
25073 ac_status=$?
25074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25075 (exit $ac_status); }; } &&
25076 { ac_try='test -s conftest$ac_exeext'
25077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25078 (eval $ac_try) 2>&5
25079 ac_status=$?
25080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25081 (exit $ac_status); }; }; then
25082 ac_cv_lib_socket_connect=yes
25083 else
25084 echo "$as_me: failed program was:" >&5
25085 sed 's/^/| /' conftest.$ac_ext >&5
25086
25087 ac_cv_lib_socket_connect=no
25088 fi
25089 rm -f conftest.err conftest.$ac_objext \
25090 conftest$ac_exeext conftest.$ac_ext
25091 LIBS=$ac_check_lib_save_LIBS
25092 fi
25093 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25094 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25095 if test $ac_cv_lib_socket_connect = yes; then
25096 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25097 fi
25098
25099 fi
25100
25101 # Guillermo Gomez says -lposix is necessary on A/UX.
25102 echo "$as_me:$LINENO: checking for remove" >&5
25103 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25104 if test "${ac_cv_func_remove+set}" = set; then
25105 echo $ECHO_N "(cached) $ECHO_C" >&6
25106 else
25107 cat >conftest.$ac_ext <<_ACEOF
25108 /* confdefs.h. */
25109 _ACEOF
25110 cat confdefs.h >>conftest.$ac_ext
25111 cat >>conftest.$ac_ext <<_ACEOF
25112 /* end confdefs.h. */
25113 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25115 #define remove innocuous_remove
25116
25117 /* System header to define __stub macros and hopefully few prototypes,
25118 which can conflict with char remove (); below.
25119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25120 <limits.h> exists even on freestanding compilers. */
25121
25122 #ifdef __STDC__
25123 # include <limits.h>
25124 #else
25125 # include <assert.h>
25126 #endif
25127
25128 #undef remove
25129
25130 /* Override any gcc2 internal prototype to avoid an error. */
25131 #ifdef __cplusplus
25132 extern "C"
25133 {
25134 #endif
25135 /* We use char because int might match the return type of a gcc2
25136 builtin and then its argument prototype would still apply. */
25137 char remove ();
25138 /* The GNU C library defines this for functions which it implements
25139 to always fail with ENOSYS. Some functions are actually named
25140 something starting with __ and the normal name is an alias. */
25141 #if defined (__stub_remove) || defined (__stub___remove)
25142 choke me
25143 #else
25144 char (*f) () = remove;
25145 #endif
25146 #ifdef __cplusplus
25147 }
25148 #endif
25149
25150 int
25151 main ()
25152 {
25153 return f != remove;
25154 ;
25155 return 0;
25156 }
25157 _ACEOF
25158 rm -f conftest.$ac_objext conftest$ac_exeext
25159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25160 (eval $ac_link) 2>conftest.er1
25161 ac_status=$?
25162 grep -v '^ *+' conftest.er1 >conftest.err
25163 rm -f conftest.er1
25164 cat conftest.err >&5
25165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25166 (exit $ac_status); } &&
25167 { ac_try='test -z "$ac_c_werror_flag"
25168 || test ! -s conftest.err'
25169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25170 (eval $ac_try) 2>&5
25171 ac_status=$?
25172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25173 (exit $ac_status); }; } &&
25174 { ac_try='test -s conftest$ac_exeext'
25175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25176 (eval $ac_try) 2>&5
25177 ac_status=$?
25178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25179 (exit $ac_status); }; }; then
25180 ac_cv_func_remove=yes
25181 else
25182 echo "$as_me: failed program was:" >&5
25183 sed 's/^/| /' conftest.$ac_ext >&5
25184
25185 ac_cv_func_remove=no
25186 fi
25187 rm -f conftest.err conftest.$ac_objext \
25188 conftest$ac_exeext conftest.$ac_ext
25189 fi
25190 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25191 echo "${ECHO_T}$ac_cv_func_remove" >&6
25192
25193 if test $ac_cv_func_remove = no; then
25194 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25195 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25196 if test "${ac_cv_lib_posix_remove+set}" = set; then
25197 echo $ECHO_N "(cached) $ECHO_C" >&6
25198 else
25199 ac_check_lib_save_LIBS=$LIBS
25200 LIBS="-lposix $LIBS"
25201 cat >conftest.$ac_ext <<_ACEOF
25202 /* confdefs.h. */
25203 _ACEOF
25204 cat confdefs.h >>conftest.$ac_ext
25205 cat >>conftest.$ac_ext <<_ACEOF
25206 /* end confdefs.h. */
25207
25208 /* Override any gcc2 internal prototype to avoid an error. */
25209 #ifdef __cplusplus
25210 extern "C"
25211 #endif
25212 /* We use char because int might match the return type of a gcc2
25213 builtin and then its argument prototype would still apply. */
25214 char remove ();
25215 int
25216 main ()
25217 {
25218 remove ();
25219 ;
25220 return 0;
25221 }
25222 _ACEOF
25223 rm -f conftest.$ac_objext conftest$ac_exeext
25224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25225 (eval $ac_link) 2>conftest.er1
25226 ac_status=$?
25227 grep -v '^ *+' conftest.er1 >conftest.err
25228 rm -f conftest.er1
25229 cat conftest.err >&5
25230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25231 (exit $ac_status); } &&
25232 { ac_try='test -z "$ac_c_werror_flag"
25233 || test ! -s conftest.err'
25234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25235 (eval $ac_try) 2>&5
25236 ac_status=$?
25237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25238 (exit $ac_status); }; } &&
25239 { ac_try='test -s conftest$ac_exeext'
25240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25241 (eval $ac_try) 2>&5
25242 ac_status=$?
25243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25244 (exit $ac_status); }; }; then
25245 ac_cv_lib_posix_remove=yes
25246 else
25247 echo "$as_me: failed program was:" >&5
25248 sed 's/^/| /' conftest.$ac_ext >&5
25249
25250 ac_cv_lib_posix_remove=no
25251 fi
25252 rm -f conftest.err conftest.$ac_objext \
25253 conftest$ac_exeext conftest.$ac_ext
25254 LIBS=$ac_check_lib_save_LIBS
25255 fi
25256 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25257 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25258 if test $ac_cv_lib_posix_remove = yes; then
25259 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25260 fi
25261
25262 fi
25263
25264 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25265 echo "$as_me:$LINENO: checking for shmat" >&5
25266 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25267 if test "${ac_cv_func_shmat+set}" = set; then
25268 echo $ECHO_N "(cached) $ECHO_C" >&6
25269 else
25270 cat >conftest.$ac_ext <<_ACEOF
25271 /* confdefs.h. */
25272 _ACEOF
25273 cat confdefs.h >>conftest.$ac_ext
25274 cat >>conftest.$ac_ext <<_ACEOF
25275 /* end confdefs.h. */
25276 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25278 #define shmat innocuous_shmat
25279
25280 /* System header to define __stub macros and hopefully few prototypes,
25281 which can conflict with char shmat (); below.
25282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25283 <limits.h> exists even on freestanding compilers. */
25284
25285 #ifdef __STDC__
25286 # include <limits.h>
25287 #else
25288 # include <assert.h>
25289 #endif
25290
25291 #undef shmat
25292
25293 /* Override any gcc2 internal prototype to avoid an error. */
25294 #ifdef __cplusplus
25295 extern "C"
25296 {
25297 #endif
25298 /* We use char because int might match the return type of a gcc2
25299 builtin and then its argument prototype would still apply. */
25300 char shmat ();
25301 /* The GNU C library defines this for functions which it implements
25302 to always fail with ENOSYS. Some functions are actually named
25303 something starting with __ and the normal name is an alias. */
25304 #if defined (__stub_shmat) || defined (__stub___shmat)
25305 choke me
25306 #else
25307 char (*f) () = shmat;
25308 #endif
25309 #ifdef __cplusplus
25310 }
25311 #endif
25312
25313 int
25314 main ()
25315 {
25316 return f != shmat;
25317 ;
25318 return 0;
25319 }
25320 _ACEOF
25321 rm -f conftest.$ac_objext conftest$ac_exeext
25322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25323 (eval $ac_link) 2>conftest.er1
25324 ac_status=$?
25325 grep -v '^ *+' conftest.er1 >conftest.err
25326 rm -f conftest.er1
25327 cat conftest.err >&5
25328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25329 (exit $ac_status); } &&
25330 { ac_try='test -z "$ac_c_werror_flag"
25331 || test ! -s conftest.err'
25332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25333 (eval $ac_try) 2>&5
25334 ac_status=$?
25335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25336 (exit $ac_status); }; } &&
25337 { ac_try='test -s conftest$ac_exeext'
25338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25339 (eval $ac_try) 2>&5
25340 ac_status=$?
25341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25342 (exit $ac_status); }; }; then
25343 ac_cv_func_shmat=yes
25344 else
25345 echo "$as_me: failed program was:" >&5
25346 sed 's/^/| /' conftest.$ac_ext >&5
25347
25348 ac_cv_func_shmat=no
25349 fi
25350 rm -f conftest.err conftest.$ac_objext \
25351 conftest$ac_exeext conftest.$ac_ext
25352 fi
25353 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25354 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25355
25356 if test $ac_cv_func_shmat = no; then
25357 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25358 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25359 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25360 echo $ECHO_N "(cached) $ECHO_C" >&6
25361 else
25362 ac_check_lib_save_LIBS=$LIBS
25363 LIBS="-lipc $LIBS"
25364 cat >conftest.$ac_ext <<_ACEOF
25365 /* confdefs.h. */
25366 _ACEOF
25367 cat confdefs.h >>conftest.$ac_ext
25368 cat >>conftest.$ac_ext <<_ACEOF
25369 /* end confdefs.h. */
25370
25371 /* Override any gcc2 internal prototype to avoid an error. */
25372 #ifdef __cplusplus
25373 extern "C"
25374 #endif
25375 /* We use char because int might match the return type of a gcc2
25376 builtin and then its argument prototype would still apply. */
25377 char shmat ();
25378 int
25379 main ()
25380 {
25381 shmat ();
25382 ;
25383 return 0;
25384 }
25385 _ACEOF
25386 rm -f conftest.$ac_objext conftest$ac_exeext
25387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25388 (eval $ac_link) 2>conftest.er1
25389 ac_status=$?
25390 grep -v '^ *+' conftest.er1 >conftest.err
25391 rm -f conftest.er1
25392 cat conftest.err >&5
25393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25394 (exit $ac_status); } &&
25395 { ac_try='test -z "$ac_c_werror_flag"
25396 || test ! -s conftest.err'
25397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25398 (eval $ac_try) 2>&5
25399 ac_status=$?
25400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25401 (exit $ac_status); }; } &&
25402 { ac_try='test -s conftest$ac_exeext'
25403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25404 (eval $ac_try) 2>&5
25405 ac_status=$?
25406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25407 (exit $ac_status); }; }; then
25408 ac_cv_lib_ipc_shmat=yes
25409 else
25410 echo "$as_me: failed program was:" >&5
25411 sed 's/^/| /' conftest.$ac_ext >&5
25412
25413 ac_cv_lib_ipc_shmat=no
25414 fi
25415 rm -f conftest.err conftest.$ac_objext \
25416 conftest$ac_exeext conftest.$ac_ext
25417 LIBS=$ac_check_lib_save_LIBS
25418 fi
25419 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25420 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25421 if test $ac_cv_lib_ipc_shmat = yes; then
25422 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25423 fi
25424
25425 fi
25426 fi
25427
25428 # Check for libraries that X11R6 Xt/Xaw programs need.
25429 ac_save_LDFLAGS=$LDFLAGS
25430 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25431 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25432 # check for ICE first), but we must link in the order -lSM -lICE or
25433 # we get undefined symbols. So assume we have SM if we have ICE.
25434 # These have to be linked with before -lX11, unlike the other
25435 # libraries we check for below, so use a different variable.
25436 # John Interrante, Karl Berry
25437 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25438 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25439 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25440 echo $ECHO_N "(cached) $ECHO_C" >&6
25441 else
25442 ac_check_lib_save_LIBS=$LIBS
25443 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25444 cat >conftest.$ac_ext <<_ACEOF
25445 /* confdefs.h. */
25446 _ACEOF
25447 cat confdefs.h >>conftest.$ac_ext
25448 cat >>conftest.$ac_ext <<_ACEOF
25449 /* end confdefs.h. */
25450
25451 /* Override any gcc2 internal prototype to avoid an error. */
25452 #ifdef __cplusplus
25453 extern "C"
25454 #endif
25455 /* We use char because int might match the return type of a gcc2
25456 builtin and then its argument prototype would still apply. */
25457 char IceConnectionNumber ();
25458 int
25459 main ()
25460 {
25461 IceConnectionNumber ();
25462 ;
25463 return 0;
25464 }
25465 _ACEOF
25466 rm -f conftest.$ac_objext conftest$ac_exeext
25467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25468 (eval $ac_link) 2>conftest.er1
25469 ac_status=$?
25470 grep -v '^ *+' conftest.er1 >conftest.err
25471 rm -f conftest.er1
25472 cat conftest.err >&5
25473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25474 (exit $ac_status); } &&
25475 { ac_try='test -z "$ac_c_werror_flag"
25476 || test ! -s conftest.err'
25477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25478 (eval $ac_try) 2>&5
25479 ac_status=$?
25480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25481 (exit $ac_status); }; } &&
25482 { ac_try='test -s conftest$ac_exeext'
25483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25484 (eval $ac_try) 2>&5
25485 ac_status=$?
25486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25487 (exit $ac_status); }; }; then
25488 ac_cv_lib_ICE_IceConnectionNumber=yes
25489 else
25490 echo "$as_me: failed program was:" >&5
25491 sed 's/^/| /' conftest.$ac_ext >&5
25492
25493 ac_cv_lib_ICE_IceConnectionNumber=no
25494 fi
25495 rm -f conftest.err conftest.$ac_objext \
25496 conftest$ac_exeext conftest.$ac_ext
25497 LIBS=$ac_check_lib_save_LIBS
25498 fi
25499 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25500 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25501 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25502 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25503 fi
25504
25505 LDFLAGS=$ac_save_LDFLAGS
25506
25507 fi
25508
25509
25510 if test "$no_x" = "yes"; then
25511 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25512 echo "$as_me: error: X11 not found" >&2;}
25513 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
25514 fi
25515
25516 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
25517 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25518 AFMINSTALL=afminstall
25519 COMPILED_X_PROGRAM=0
25520
25521 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
25522 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
25523
25524 ac_find_includes=
25525 for ac_dir in $SEARCH_INCLUDE /usr/include;
25526 do
25527 if test -f "$ac_dir/Xm/Xm.h"; then
25528 ac_find_includes=$ac_dir
25529 break
25530 fi
25531 done
25532
25533 if test "$ac_find_includes" != "" ; then
25534 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25535 echo "${ECHO_T}found in $ac_find_includes" >&6
25536
25537 if test "x$ac_find_includes" = "x/usr/include"; then
25538 ac_path_to_include=""
25539 else
25540 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
25541 result=$?
25542 if test $result = 0; then
25543 ac_path_to_include=""
25544 else
25545 ac_path_to_include=" -I$ac_find_includes"
25546 fi
25547 fi
25548
25549 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
25550 else
25551 cat >conftest.$ac_ext <<_ACEOF
25552 /* confdefs.h. */
25553 _ACEOF
25554 cat confdefs.h >>conftest.$ac_ext
25555 cat >>conftest.$ac_ext <<_ACEOF
25556 /* end confdefs.h. */
25557
25558 #include <Xm/Xm.h>
25559
25560 int
25561 main ()
25562 {
25563
25564 int version;
25565 version = xmUseVersion;
25566
25567 ;
25568 return 0;
25569 }
25570 _ACEOF
25571 rm -f conftest.$ac_objext
25572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25573 (eval $ac_compile) 2>conftest.er1
25574 ac_status=$?
25575 grep -v '^ *+' conftest.er1 >conftest.err
25576 rm -f conftest.er1
25577 cat conftest.err >&5
25578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25579 (exit $ac_status); } &&
25580 { ac_try='test -z "$ac_c_werror_flag"
25581 || test ! -s conftest.err'
25582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25583 (eval $ac_try) 2>&5
25584 ac_status=$?
25585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25586 (exit $ac_status); }; } &&
25587 { ac_try='test -s conftest.$ac_objext'
25588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25589 (eval $ac_try) 2>&5
25590 ac_status=$?
25591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25592 (exit $ac_status); }; }; then
25593
25594 echo "$as_me:$LINENO: result: found in default search path" >&5
25595 echo "${ECHO_T}found in default search path" >&6
25596 COMPILED_X_PROGRAM=1
25597
25598 else
25599 echo "$as_me: failed program was:" >&5
25600 sed 's/^/| /' conftest.$ac_ext >&5
25601
25602
25603 echo "$as_me:$LINENO: result: no" >&5
25604 echo "${ECHO_T}no" >&6
25605 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
25606 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
25607 { (exit 1); exit 1; }; }
25608
25609
25610 fi
25611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25612 fi
25613
25614 if test "$COMPILED_X_PROGRAM" = 0; then
25615 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
25616 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
25617
25618 ac_find_libraries=
25619 for ac_dir in $SEARCH_LIB /usr/lib;
25620 do
25621 for ac_extension in a so sl dylib; do
25622 if test -f "$ac_dir/libXm.$ac_extension"; then
25623 ac_find_libraries=$ac_dir
25624 break 2
25625 fi
25626 done
25627 done
25628
25629 if test "$ac_find_libraries" != "" ; then
25630 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25631 echo "${ECHO_T}found at $ac_find_libraries" >&6
25632
25633
25634 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25635 result=$?
25636 if test $result = 0; then
25637 ac_path_to_link=""
25638 else
25639 ac_path_to_link=" -L$ac_find_libraries"
25640 fi
25641
25642 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
25643 else
25644 save_CFLAGS=$CFLAGS
25645 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25646
25647 cat >conftest.$ac_ext <<_ACEOF
25648 /* confdefs.h. */
25649 _ACEOF
25650 cat confdefs.h >>conftest.$ac_ext
25651 cat >>conftest.$ac_ext <<_ACEOF
25652 /* end confdefs.h. */
25653
25654 #include <Xm/Xm.h>
25655
25656 int
25657 main ()
25658 {
25659
25660 int version;
25661 version = xmUseVersion;
25662
25663 ;
25664 return 0;
25665 }
25666 _ACEOF
25667 rm -f conftest.$ac_objext
25668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25669 (eval $ac_compile) 2>conftest.er1
25670 ac_status=$?
25671 grep -v '^ *+' conftest.er1 >conftest.err
25672 rm -f conftest.er1
25673 cat conftest.err >&5
25674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25675 (exit $ac_status); } &&
25676 { ac_try='test -z "$ac_c_werror_flag"
25677 || test ! -s conftest.err'
25678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25679 (eval $ac_try) 2>&5
25680 ac_status=$?
25681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25682 (exit $ac_status); }; } &&
25683 { ac_try='test -s conftest.$ac_objext'
25684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25685 (eval $ac_try) 2>&5
25686 ac_status=$?
25687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25688 (exit $ac_status); }; }; then
25689
25690 echo "$as_me:$LINENO: result: found in default search path" >&5
25691 echo "${ECHO_T}found in default search path" >&6
25692 COMPILED_X_PROGRAM=1
25693
25694 else
25695 echo "$as_me: failed program was:" >&5
25696 sed 's/^/| /' conftest.$ac_ext >&5
25697
25698
25699 echo "$as_me:$LINENO: result: no" >&5
25700 echo "${ECHO_T}no" >&6
25701 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
25702 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
25703 { (exit 1); exit 1; }; }
25704
25705
25706 fi
25707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25708
25709 CFLAGS=$save_CFLAGS
25710 fi
25711 fi
25712
25713 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
25714 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
25715 libp_link=""
25716 libsm_ice_link=""
25717 libs_found=0
25718 for libp in "" " -lXp"; do
25719 if test "$libs_found" = "0"; then
25720 for libsm_ice in "" " -lSM -lICE"; do
25721 if test "$libs_found" = "0"; then
25722 save_LIBS="$LIBS"
25723 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
25724 save_CFLAGS=$CFLAGS
25725 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25726
25727 cat >conftest.$ac_ext <<_ACEOF
25728 /* confdefs.h. */
25729 _ACEOF
25730 cat confdefs.h >>conftest.$ac_ext
25731 cat >>conftest.$ac_ext <<_ACEOF
25732 /* end confdefs.h. */
25733
25734 #include <Xm/Xm.h>
25735 #include <Xm/List.h>
25736
25737 int
25738 main ()
25739 {
25740
25741 XmString string = NULL;
25742 Widget w = NULL;
25743 int position = 0;
25744 XmListAddItem(w, string, position);
25745
25746 ;
25747 return 0;
25748 }
25749 _ACEOF
25750 rm -f conftest.$ac_objext conftest$ac_exeext
25751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25752 (eval $ac_link) 2>conftest.er1
25753 ac_status=$?
25754 grep -v '^ *+' conftest.er1 >conftest.err
25755 rm -f conftest.er1
25756 cat conftest.err >&5
25757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25758 (exit $ac_status); } &&
25759 { ac_try='test -z "$ac_c_werror_flag"
25760 || 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
25773 libp_link="$libp"
25774 libsm_ice_link="$libsm_ice"
25775 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
25776 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
25777 libs_found=1
25778
25779 else
25780 echo "$as_me: failed program was:" >&5
25781 sed 's/^/| /' conftest.$ac_ext >&5
25782
25783
25784
25785 fi
25786 rm -f conftest.err conftest.$ac_objext \
25787 conftest$ac_exeext conftest.$ac_ext
25788
25789 LIBS="$save_LIBS"
25790 CFLAGS=$save_CFLAGS
25791 fi
25792 done
25793 fi
25794 done
25795
25796 if test "$libs_found" = "0"; then
25797 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
25798 echo "${ECHO_T}can't find the right libraries" >&6
25799 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
25800 echo "$as_me: error: can't link a simple motif program" >&2;}
25801 { (exit 1); exit 1; }; }
25802 fi
25803
25804 save_CFLAGS=$CFLAGS
25805 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25806 echo "$as_me:$LINENO: checking for Motif 2" >&5
25807 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
25808 cat >conftest.$ac_ext <<_ACEOF
25809 /* confdefs.h. */
25810 _ACEOF
25811 cat confdefs.h >>conftest.$ac_ext
25812 cat >>conftest.$ac_ext <<_ACEOF
25813 /* end confdefs.h. */
25814
25815 #include <Xm/Xm.h>
25816
25817 int
25818 main ()
25819 {
25820
25821 #if XmVersion < 2000
25822 #error "Not Motif 2"
25823 #endif
25824
25825 ;
25826 return 0;
25827 }
25828 _ACEOF
25829 rm -f conftest.$ac_objext
25830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25831 (eval $ac_compile) 2>conftest.er1
25832 ac_status=$?
25833 grep -v '^ *+' conftest.er1 >conftest.err
25834 rm -f conftest.er1
25835 cat conftest.err >&5
25836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25837 (exit $ac_status); } &&
25838 { ac_try='test -z "$ac_c_werror_flag"
25839 || test ! -s conftest.err'
25840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25841 (eval $ac_try) 2>&5
25842 ac_status=$?
25843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25844 (exit $ac_status); }; } &&
25845 { ac_try='test -s conftest.$ac_objext'
25846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25847 (eval $ac_try) 2>&5
25848 ac_status=$?
25849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25850 (exit $ac_status); }; }; then
25851
25852 cat >>confdefs.h <<\_ACEOF
25853 #define __WXMOTIF20__ 1
25854 _ACEOF
25855
25856 echo "$as_me:$LINENO: result: found" >&5
25857 echo "${ECHO_T}found" >&6
25858
25859 else
25860 echo "$as_me: failed program was:" >&5
25861 sed 's/^/| /' conftest.$ac_ext >&5
25862
25863
25864 cat >>confdefs.h <<\_ACEOF
25865 #define __WXMOTIF20__ 0
25866 _ACEOF
25867
25868 echo "$as_me:$LINENO: result: not found" >&5
25869 echo "${ECHO_T}not found" >&6
25870
25871 fi
25872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25873 CFLAGS=$save_CFLAGS
25874
25875 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
25876 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
25877 TOOLKIT=MOTIF
25878 GUIDIST=MOTIF_DIST
25879 fi
25880
25881 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
25882 if test "$wxUSE_LIBXPM" = "sys"; then
25883 echo "$as_me:$LINENO: checking for Xpm library" >&5
25884 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
25885
25886 ac_find_libraries=
25887 for ac_dir in $SEARCH_LIB /usr/lib;
25888 do
25889 for ac_extension in a so sl dylib; do
25890 if test -f "$ac_dir/libXpm.$ac_extension"; then
25891 ac_find_libraries=$ac_dir
25892 break 2
25893 fi
25894 done
25895 done
25896
25897 if test "$ac_find_libraries" != "" ; then
25898
25899 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25900 result=$?
25901 if test $result = 0; then
25902 ac_path_to_link=""
25903 else
25904 ac_path_to_link=" -L$ac_find_libraries"
25905 fi
25906
25907 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
25908 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25909 echo "${ECHO_T}found at $ac_find_libraries" >&6
25910
25911 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
25912 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
25913 if test "${wx_cv_x11_xpm_h+set}" = set; then
25914 echo $ECHO_N "(cached) $ECHO_C" >&6
25915 else
25916
25917 save_CFLAGS=$CFLAGS
25918 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25919
25920 cat >conftest.$ac_ext <<_ACEOF
25921 /* confdefs.h. */
25922 _ACEOF
25923 cat confdefs.h >>conftest.$ac_ext
25924 cat >>conftest.$ac_ext <<_ACEOF
25925 /* end confdefs.h. */
25926
25927 #include <X11/xpm.h>
25928
25929 int
25930 main ()
25931 {
25932
25933 int version;
25934 version = XpmLibraryVersion();
25935
25936 ;
25937 return 0;
25938 }
25939 _ACEOF
25940 rm -f conftest.$ac_objext
25941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25942 (eval $ac_compile) 2>conftest.er1
25943 ac_status=$?
25944 grep -v '^ *+' conftest.er1 >conftest.err
25945 rm -f conftest.er1
25946 cat conftest.err >&5
25947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25948 (exit $ac_status); } &&
25949 { ac_try='test -z "$ac_c_werror_flag"
25950 || test ! -s conftest.err'
25951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25952 (eval $ac_try) 2>&5
25953 ac_status=$?
25954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25955 (exit $ac_status); }; } &&
25956 { ac_try='test -s conftest.$ac_objext'
25957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25958 (eval $ac_try) 2>&5
25959 ac_status=$?
25960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25961 (exit $ac_status); }; }; then
25962 wx_cv_x11_xpm_h=yes
25963 else
25964 echo "$as_me: failed program was:" >&5
25965 sed 's/^/| /' conftest.$ac_ext >&5
25966
25967 wx_cv_x11_xpm_h=no
25968
25969 fi
25970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25971
25972 CFLAGS=$save_CFLAGS
25973
25974
25975 fi
25976 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
25977 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
25978
25979 if test $wx_cv_x11_xpm_h = "yes"; then
25980 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
25981 cat >>confdefs.h <<\_ACEOF
25982 #define wxHAVE_LIB_XPM 1
25983 _ACEOF
25984
25985 else
25986 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
25987 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
25988 fi
25989 fi
25990
25991 fi
25992
25993 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
25994 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
25995 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
25996 echo $ECHO_N "(cached) $ECHO_C" >&6
25997 else
25998 ac_check_lib_save_LIBS=$LIBS
25999 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26000 cat >conftest.$ac_ext <<_ACEOF
26001 /* confdefs.h. */
26002 _ACEOF
26003 cat confdefs.h >>conftest.$ac_ext
26004 cat >>conftest.$ac_ext <<_ACEOF
26005 /* end confdefs.h. */
26006
26007 /* Override any gcc2 internal prototype to avoid an error. */
26008 #ifdef __cplusplus
26009 extern "C"
26010 #endif
26011 /* We use char because int might match the return type of a gcc2
26012 builtin and then its argument prototype would still apply. */
26013 char XShapeQueryExtension ();
26014 int
26015 main ()
26016 {
26017 XShapeQueryExtension ();
26018 ;
26019 return 0;
26020 }
26021 _ACEOF
26022 rm -f conftest.$ac_objext conftest$ac_exeext
26023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26024 (eval $ac_link) 2>conftest.er1
26025 ac_status=$?
26026 grep -v '^ *+' conftest.er1 >conftest.err
26027 rm -f conftest.er1
26028 cat conftest.err >&5
26029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26030 (exit $ac_status); } &&
26031 { ac_try='test -z "$ac_c_werror_flag"
26032 || test ! -s conftest.err'
26033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26034 (eval $ac_try) 2>&5
26035 ac_status=$?
26036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26037 (exit $ac_status); }; } &&
26038 { ac_try='test -s conftest$ac_exeext'
26039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26040 (eval $ac_try) 2>&5
26041 ac_status=$?
26042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26043 (exit $ac_status); }; }; then
26044 ac_cv_lib_Xext_XShapeQueryExtension=yes
26045 else
26046 echo "$as_me: failed program was:" >&5
26047 sed 's/^/| /' conftest.$ac_ext >&5
26048
26049 ac_cv_lib_Xext_XShapeQueryExtension=no
26050 fi
26051 rm -f conftest.err conftest.$ac_objext \
26052 conftest$ac_exeext conftest.$ac_ext
26053 LIBS=$ac_check_lib_save_LIBS
26054 fi
26055 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26056 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26057 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26058
26059 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26060 wxHAVE_XEXT_LIB=1
26061
26062 fi
26063
26064
26065 if test "$wxHAVE_XEXT_LIB" = 1; then
26066 save_CFLAGS="$CFLAGS"
26067 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26068
26069 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26070 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26071 cat >conftest.$ac_ext <<_ACEOF
26072 /* confdefs.h. */
26073 _ACEOF
26074 cat confdefs.h >>conftest.$ac_ext
26075 cat >>conftest.$ac_ext <<_ACEOF
26076 /* end confdefs.h. */
26077
26078 #include <X11/Xlib.h>
26079 #include <X11/extensions/shape.h>
26080
26081 int
26082 main ()
26083 {
26084
26085 int dummy1, dummy2;
26086 XShapeQueryExtension((Display*)NULL,
26087 (int*)NULL, (int*)NULL);
26088
26089 ;
26090 return 0;
26091 }
26092 _ACEOF
26093 rm -f conftest.$ac_objext
26094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26095 (eval $ac_compile) 2>conftest.er1
26096 ac_status=$?
26097 grep -v '^ *+' conftest.er1 >conftest.err
26098 rm -f conftest.er1
26099 cat conftest.err >&5
26100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26101 (exit $ac_status); } &&
26102 { ac_try='test -z "$ac_c_werror_flag"
26103 || test ! -s conftest.err'
26104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26105 (eval $ac_try) 2>&5
26106 ac_status=$?
26107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26108 (exit $ac_status); }; } &&
26109 { ac_try='test -s conftest.$ac_objext'
26110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26111 (eval $ac_try) 2>&5
26112 ac_status=$?
26113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26114 (exit $ac_status); }; }; then
26115
26116 cat >>confdefs.h <<\_ACEOF
26117 #define HAVE_XSHAPE 1
26118 _ACEOF
26119
26120 echo "$as_me:$LINENO: result: found" >&5
26121 echo "${ECHO_T}found" >&6
26122
26123 else
26124 echo "$as_me: failed program was:" >&5
26125 sed 's/^/| /' conftest.$ac_ext >&5
26126
26127
26128 echo "$as_me:$LINENO: result: not found" >&5
26129 echo "${ECHO_T}not found" >&6
26130
26131 fi
26132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26133 CFLAGS="$save_CFLAGS"
26134
26135 fi
26136 fi
26137
26138 if test "$wxUSE_MAC" = 1; then
26139 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26140 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26141 if test "$GCC" = yes; then
26142 echo "$as_me:$LINENO: result: gcc" >&5
26143 echo "${ECHO_T}gcc" >&6
26144 CPPFLAGS_PASCAL="-fpascal-strings"
26145 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26146 echo "$as_me:$LINENO: result: xlc" >&5
26147 echo "${ECHO_T}xlc" >&6
26148 CPPFLAGS_PASCAL="-qmacpstr"
26149 else
26150 echo "$as_me:$LINENO: result: none" >&5
26151 echo "${ECHO_T}none" >&6
26152 fi
26153
26154 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
26155
26156 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
26157 TOOLKIT=MAC
26158 GUIDIST=MACX_DIST
26159 WXBASEPORT="_carbon"
26160 fi
26161
26162 if test "$wxUSE_COCOA" = 1; then
26163 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
26164 TOOLKIT=COCOA
26165 GUIDIST=COCOA_DIST
26166 fi
26167
26168 if test "$wxUSE_PM" = 1; then
26169 TOOLKIT=PM
26170 GUIDIST=GTK_DIST
26171 fi
26172
26173 if test "$TOOLKIT" = "PM" ; then
26174 TOOLKIT_DIR="os2"
26175 else
26176 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26177 fi
26178
26179 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
26180
26181 if test "$wxUSE_UNIVERSAL" = "yes"; then
26182 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
26183
26184 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
26185 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
26186
26187 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
26188 if test "$wxUSE_X11" = 1; then
26189 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
26190 else
26191 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
26192 fi
26193 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26194 WIDGET_SET=univ
26195 else
26196 ALL_OBJECTS="\$(GUIOBJS)"
26197 ALL_SOURCES="\$(ALL_SOURCES)"
26198 ALL_HEADERS="\$(ALL_HEADERS)"
26199 fi
26200
26201 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
26202
26203 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
26204 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
26205 fi
26206
26207 if test "$wxUSE_HTML" = "yes"; then
26208 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
26209 fi
26210
26211 if test "$wxUSE_LIBJPEG" = "builtin" ; then
26212 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
26213 fi
26214 if test "$wxUSE_LIBTIFF" = "builtin" ; then
26215 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
26216 fi
26217 if test "$wxUSE_LIBPNG" = "builtin" ; then
26218 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
26219 fi
26220
26221 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26222 DISTDIR="wx\$(TOOLKIT)"
26223 else
26224 USE_GUI=0
26225
26226 TOOLKIT_DIR="base"
26227
26228 if test "$USE_WIN32" = 1 ; then
26229 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
26230 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
26231
26232 TOOLKIT="MSW"
26233 else
26234 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
26235 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
26236 fi
26237
26238 ALL_SOURCES="\$(ALL_SOURCES)"
26239 ALL_HEADERS="\$(ALL_HEADERS)"
26240
26241 PORT_FILES="\${top_srcdir}/src/files.lst"
26242
26243 GUIDIST="BASE_DIST"
26244 DISTDIR="wxBase"
26245 fi
26246
26247
26248
26249
26250 IODBC_C_SRC=""
26251
26252
26253 if test "$TOOLKIT" != "MSW" ; then
26254
26255 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26256
26257 if test "${ac_cv_header_sql_h+set}" = set; then
26258 echo "$as_me:$LINENO: checking for sql.h" >&5
26259 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26260 if test "${ac_cv_header_sql_h+set}" = set; then
26261 echo $ECHO_N "(cached) $ECHO_C" >&6
26262 fi
26263 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26264 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26265 else
26266 # Is the header compilable?
26267 echo "$as_me:$LINENO: checking sql.h usability" >&5
26268 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26269 cat >conftest.$ac_ext <<_ACEOF
26270 /* confdefs.h. */
26271 _ACEOF
26272 cat confdefs.h >>conftest.$ac_ext
26273 cat >>conftest.$ac_ext <<_ACEOF
26274 /* end confdefs.h. */
26275 $ac_includes_default
26276 #include <sql.h>
26277 _ACEOF
26278 rm -f conftest.$ac_objext
26279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26280 (eval $ac_compile) 2>conftest.er1
26281 ac_status=$?
26282 grep -v '^ *+' conftest.er1 >conftest.err
26283 rm -f conftest.er1
26284 cat conftest.err >&5
26285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26286 (exit $ac_status); } &&
26287 { ac_try='test -z "$ac_c_werror_flag"
26288 || test ! -s conftest.err'
26289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26290 (eval $ac_try) 2>&5
26291 ac_status=$?
26292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26293 (exit $ac_status); }; } &&
26294 { ac_try='test -s conftest.$ac_objext'
26295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26296 (eval $ac_try) 2>&5
26297 ac_status=$?
26298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26299 (exit $ac_status); }; }; then
26300 ac_header_compiler=yes
26301 else
26302 echo "$as_me: failed program was:" >&5
26303 sed 's/^/| /' conftest.$ac_ext >&5
26304
26305 ac_header_compiler=no
26306 fi
26307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26308 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26309 echo "${ECHO_T}$ac_header_compiler" >&6
26310
26311 # Is the header present?
26312 echo "$as_me:$LINENO: checking sql.h presence" >&5
26313 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26314 cat >conftest.$ac_ext <<_ACEOF
26315 /* confdefs.h. */
26316 _ACEOF
26317 cat confdefs.h >>conftest.$ac_ext
26318 cat >>conftest.$ac_ext <<_ACEOF
26319 /* end confdefs.h. */
26320 #include <sql.h>
26321 _ACEOF
26322 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26323 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26324 ac_status=$?
26325 grep -v '^ *+' conftest.er1 >conftest.err
26326 rm -f conftest.er1
26327 cat conftest.err >&5
26328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26329 (exit $ac_status); } >/dev/null; then
26330 if test -s conftest.err; then
26331 ac_cpp_err=$ac_c_preproc_warn_flag
26332 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26333 else
26334 ac_cpp_err=
26335 fi
26336 else
26337 ac_cpp_err=yes
26338 fi
26339 if test -z "$ac_cpp_err"; then
26340 ac_header_preproc=yes
26341 else
26342 echo "$as_me: failed program was:" >&5
26343 sed 's/^/| /' conftest.$ac_ext >&5
26344
26345 ac_header_preproc=no
26346 fi
26347 rm -f conftest.err conftest.$ac_ext
26348 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26349 echo "${ECHO_T}$ac_header_preproc" >&6
26350
26351 # So? What about this header?
26352 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26353 yes:no: )
26354 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26355 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26356 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26357 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26358 ac_header_preproc=yes
26359 ;;
26360 no:yes:* )
26361 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26362 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26363 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26364 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26365 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26366 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26367 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26368 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26369 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26370 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26371 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26372 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26373 (
26374 cat <<\_ASBOX
26375 ## ----------------------------------------- ##
26376 ## Report this to wx-dev@lists.wxwindows.org ##
26377 ## ----------------------------------------- ##
26378 _ASBOX
26379 ) |
26380 sed "s/^/$as_me: WARNING: /" >&2
26381 ;;
26382 esac
26383 echo "$as_me:$LINENO: checking for sql.h" >&5
26384 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26385 if test "${ac_cv_header_sql_h+set}" = set; then
26386 echo $ECHO_N "(cached) $ECHO_C" >&6
26387 else
26388 ac_cv_header_sql_h=$ac_header_preproc
26389 fi
26390 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26391 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26392
26393 fi
26394 if test $ac_cv_header_sql_h = yes; then
26395 found_sql_h=1
26396 fi
26397
26398
26399 if test "x$found_sql_h" = "x1" ; then
26400 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26401 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26402 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26403 echo $ECHO_N "(cached) $ECHO_C" >&6
26404 else
26405 ac_check_lib_save_LIBS=$LIBS
26406 LIBS="-liodbc $LIBS"
26407 cat >conftest.$ac_ext <<_ACEOF
26408 /* confdefs.h. */
26409 _ACEOF
26410 cat confdefs.h >>conftest.$ac_ext
26411 cat >>conftest.$ac_ext <<_ACEOF
26412 /* end confdefs.h. */
26413
26414 /* Override any gcc2 internal prototype to avoid an error. */
26415 #ifdef __cplusplus
26416 extern "C"
26417 #endif
26418 /* We use char because int might match the return type of a gcc2
26419 builtin and then its argument prototype would still apply. */
26420 char SQLAllocEnv ();
26421 int
26422 main ()
26423 {
26424 SQLAllocEnv ();
26425 ;
26426 return 0;
26427 }
26428 _ACEOF
26429 rm -f conftest.$ac_objext conftest$ac_exeext
26430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26431 (eval $ac_link) 2>conftest.er1
26432 ac_status=$?
26433 grep -v '^ *+' conftest.er1 >conftest.err
26434 rm -f conftest.er1
26435 cat conftest.err >&5
26436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26437 (exit $ac_status); } &&
26438 { ac_try='test -z "$ac_c_werror_flag"
26439 || test ! -s conftest.err'
26440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26441 (eval $ac_try) 2>&5
26442 ac_status=$?
26443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26444 (exit $ac_status); }; } &&
26445 { ac_try='test -s conftest$ac_exeext'
26446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26447 (eval $ac_try) 2>&5
26448 ac_status=$?
26449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26450 (exit $ac_status); }; }; then
26451 ac_cv_lib_iodbc_SQLAllocEnv=yes
26452 else
26453 echo "$as_me: failed program was:" >&5
26454 sed 's/^/| /' conftest.$ac_ext >&5
26455
26456 ac_cv_lib_iodbc_SQLAllocEnv=no
26457 fi
26458 rm -f conftest.err conftest.$ac_objext \
26459 conftest$ac_exeext conftest.$ac_ext
26460 LIBS=$ac_check_lib_save_LIBS
26461 fi
26462 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26463 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26464 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
26465 ODBC_LINK=" -liodbc"
26466 else
26467
26468 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26469 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26470 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26471 echo $ECHO_N "(cached) $ECHO_C" >&6
26472 else
26473 ac_check_lib_save_LIBS=$LIBS
26474 LIBS="-lunixodbc $LIBS"
26475 cat >conftest.$ac_ext <<_ACEOF
26476 /* confdefs.h. */
26477 _ACEOF
26478 cat confdefs.h >>conftest.$ac_ext
26479 cat >>conftest.$ac_ext <<_ACEOF
26480 /* end confdefs.h. */
26481
26482 /* Override any gcc2 internal prototype to avoid an error. */
26483 #ifdef __cplusplus
26484 extern "C"
26485 #endif
26486 /* We use char because int might match the return type of a gcc2
26487 builtin and then its argument prototype would still apply. */
26488 char SQLAllocEnv ();
26489 int
26490 main ()
26491 {
26492 SQLAllocEnv ();
26493 ;
26494 return 0;
26495 }
26496 _ACEOF
26497 rm -f conftest.$ac_objext conftest$ac_exeext
26498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26499 (eval $ac_link) 2>conftest.er1
26500 ac_status=$?
26501 grep -v '^ *+' conftest.er1 >conftest.err
26502 rm -f conftest.er1
26503 cat conftest.err >&5
26504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26505 (exit $ac_status); } &&
26506 { ac_try='test -z "$ac_c_werror_flag"
26507 || test ! -s conftest.err'
26508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26509 (eval $ac_try) 2>&5
26510 ac_status=$?
26511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26512 (exit $ac_status); }; } &&
26513 { ac_try='test -s conftest$ac_exeext'
26514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26515 (eval $ac_try) 2>&5
26516 ac_status=$?
26517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26518 (exit $ac_status); }; }; then
26519 ac_cv_lib_unixodbc_SQLAllocEnv=yes
26520 else
26521 echo "$as_me: failed program was:" >&5
26522 sed 's/^/| /' conftest.$ac_ext >&5
26523
26524 ac_cv_lib_unixodbc_SQLAllocEnv=no
26525 fi
26526 rm -f conftest.err conftest.$ac_objext \
26527 conftest$ac_exeext conftest.$ac_ext
26528 LIBS=$ac_check_lib_save_LIBS
26529 fi
26530 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
26531 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
26532 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
26533 ODBC_LINK=" -lunixodbc"
26534 else
26535
26536 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
26537 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
26538 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
26539 echo $ECHO_N "(cached) $ECHO_C" >&6
26540 else
26541 ac_check_lib_save_LIBS=$LIBS
26542 LIBS="-lodbc $LIBS"
26543 cat >conftest.$ac_ext <<_ACEOF
26544 /* confdefs.h. */
26545 _ACEOF
26546 cat confdefs.h >>conftest.$ac_ext
26547 cat >>conftest.$ac_ext <<_ACEOF
26548 /* end confdefs.h. */
26549
26550 /* Override any gcc2 internal prototype to avoid an error. */
26551 #ifdef __cplusplus
26552 extern "C"
26553 #endif
26554 /* We use char because int might match the return type of a gcc2
26555 builtin and then its argument prototype would still apply. */
26556 char SQLAllocEnv ();
26557 int
26558 main ()
26559 {
26560 SQLAllocEnv ();
26561 ;
26562 return 0;
26563 }
26564 _ACEOF
26565 rm -f conftest.$ac_objext conftest$ac_exeext
26566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26567 (eval $ac_link) 2>conftest.er1
26568 ac_status=$?
26569 grep -v '^ *+' conftest.er1 >conftest.err
26570 rm -f conftest.er1
26571 cat conftest.err >&5
26572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26573 (exit $ac_status); } &&
26574 { ac_try='test -z "$ac_c_werror_flag"
26575 || test ! -s conftest.err'
26576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26577 (eval $ac_try) 2>&5
26578 ac_status=$?
26579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26580 (exit $ac_status); }; } &&
26581 { ac_try='test -s conftest$ac_exeext'
26582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26583 (eval $ac_try) 2>&5
26584 ac_status=$?
26585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26586 (exit $ac_status); }; }; then
26587 ac_cv_lib_odbc_SQLAllocEnv=yes
26588 else
26589 echo "$as_me: failed program was:" >&5
26590 sed 's/^/| /' conftest.$ac_ext >&5
26591
26592 ac_cv_lib_odbc_SQLAllocEnv=no
26593 fi
26594 rm -f conftest.err conftest.$ac_objext \
26595 conftest$ac_exeext conftest.$ac_ext
26596 LIBS=$ac_check_lib_save_LIBS
26597 fi
26598 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
26599 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
26600 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
26601 ODBC_LINK=" -lodbc"
26602 fi
26603
26604
26605 fi
26606
26607
26608 fi
26609
26610 fi
26611 if test "x$ODBC_LINK" = "x" ; then
26612 if test "$wxUSE_ODBC" = "sys" ; then
26613 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
26614 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
26615 { (exit 1); exit 1; }; }
26616 else
26617 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
26618 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
26619 wxUSE_ODBC=builtin
26620 fi
26621 else
26622 wxUSE_ODBC=sys
26623 fi
26624 fi
26625 if test "$wxUSE_ODBC" != "no" ; then
26626 cat >>confdefs.h <<\_ACEOF
26627 #define wxUSE_ODBC 1
26628 _ACEOF
26629
26630 if test "$wxUSE_ODBC" = "builtin" ; then
26631 cat >>confdefs.h <<\_ACEOF
26632 #define wxUSE_BUILTIN_IODBC 1
26633 _ACEOF
26634
26635 fi
26636 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
26637
26638 WXODBCFLAG="-D_IODBC_"
26639 fi
26640 fi
26641
26642 if test "$wxUSE_REGEX" = "builtin" ; then
26643 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
26644 fi
26645 if test "$wxUSE_ZLIB" = "builtin" ; then
26646 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
26647 fi
26648
26649 if test "$wxUSE_DISPLAY" = "yes"; then
26650 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1; then
26651 echo "$as_me:$LINENO: checking for Xinerama" >&5
26652 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
26653
26654 ac_find_libraries=
26655 for ac_dir in $SEARCH_LIB /usr/lib;
26656 do
26657 for ac_extension in a so sl dylib; do
26658 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26659 ac_find_libraries=$ac_dir
26660 break 2
26661 fi
26662 done
26663 done
26664
26665 if test "$ac_find_libraries" != "" ; then
26666
26667 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26668 result=$?
26669 if test $result = 0; then
26670 ac_path_to_link=""
26671 else
26672 ac_path_to_link=" -L$ac_find_libraries"
26673 fi
26674
26675 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26676 LDFLAGS="$LDFLAGS $ac_path_to_link"
26677 fi
26678 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
26679 echo "$as_me:$LINENO: result: yes" >&5
26680 echo "${ECHO_T}yes" >&6
26681
26682 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
26683 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
26684
26685 ac_find_libraries=
26686 for ac_dir in $SEARCH_LIB /usr/lib;
26687 do
26688 for ac_extension in a so sl dylib; do
26689 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
26690 ac_find_libraries=$ac_dir
26691 break 2
26692 fi
26693 done
26694 done
26695
26696 if test "$ac_find_libraries" != "" ; then
26697 echo "$as_me:$LINENO: result: yes" >&5
26698 echo "${ECHO_T}yes" >&6
26699
26700 for ac_header in X11/extensions/xf86vmode.h
26701 do
26702 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26703 echo "$as_me:$LINENO: checking for $ac_header" >&5
26704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26705 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26706 echo $ECHO_N "(cached) $ECHO_C" >&6
26707 else
26708 cat >conftest.$ac_ext <<_ACEOF
26709 /* confdefs.h. */
26710 _ACEOF
26711 cat confdefs.h >>conftest.$ac_ext
26712 cat >>conftest.$ac_ext <<_ACEOF
26713 /* end confdefs.h. */
26714
26715 #if HAVE_X11_XLIB_H
26716 #include <X11/Xlib.h>
26717 #endif
26718
26719
26720 #include <$ac_header>
26721 _ACEOF
26722 rm -f conftest.$ac_objext
26723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26724 (eval $ac_compile) 2>conftest.er1
26725 ac_status=$?
26726 grep -v '^ *+' conftest.er1 >conftest.err
26727 rm -f conftest.er1
26728 cat conftest.err >&5
26729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26730 (exit $ac_status); } &&
26731 { ac_try='test -z "$ac_c_werror_flag"
26732 || test ! -s conftest.err'
26733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26734 (eval $ac_try) 2>&5
26735 ac_status=$?
26736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26737 (exit $ac_status); }; } &&
26738 { ac_try='test -s conftest.$ac_objext'
26739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26740 (eval $ac_try) 2>&5
26741 ac_status=$?
26742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26743 (exit $ac_status); }; }; then
26744 eval "$as_ac_Header=yes"
26745 else
26746 echo "$as_me: failed program was:" >&5
26747 sed 's/^/| /' conftest.$ac_ext >&5
26748
26749 eval "$as_ac_Header=no"
26750 fi
26751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26752 fi
26753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26755 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26756 cat >>confdefs.h <<_ACEOF
26757 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26758 _ACEOF
26759
26760 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
26761
26762 fi
26763
26764 done
26765
26766 else
26767 echo "$as_me:$LINENO: result: no" >&5
26768 echo "${ECHO_T}no" >&6
26769 fi
26770
26771 else
26772 echo "$as_me:$LINENO: result: no" >&5
26773 echo "${ECHO_T}no" >&6
26774 { echo "$as_me:$LINENO: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&5
26775 echo "$as_me: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&2;}
26776 wxUSE_DISPLAY="no"
26777 fi
26778 fi
26779 fi
26780
26781
26782 USE_OPENGL=0
26783 if test "$wxUSE_OPENGL" = "yes"; then
26784 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
26785 OPENGL_LIBS="-framework OpenGL -framework AGL"
26786 elif test "$wxUSE_MSW" = 1; then
26787 OPENGL_LIBS="-lopengl32 -lglu32"
26788 else
26789
26790
26791 ac_find_includes=
26792 for ac_dir in $SEARCH_INCLUDE /usr/include;
26793 do
26794 if test -f "$ac_dir/GL/gl.h"; then
26795 ac_find_includes=$ac_dir
26796 break
26797 fi
26798 done
26799
26800 if test "$ac_find_includes" != "" ; then
26801 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26802 echo "${ECHO_T}found in $ac_find_includes" >&6
26803
26804 if test "x$ac_find_includes" = "x/usr/include"; then
26805 ac_path_to_include=""
26806 else
26807 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
26808 result=$?
26809 if test $result = 0; then
26810 ac_path_to_include=""
26811 else
26812 ac_path_to_include=" -I$ac_find_includes"
26813 fi
26814 fi
26815
26816 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
26817 fi
26818
26819 if test "${ac_cv_header_GL_gl_h+set}" = set; then
26820 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
26821 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
26822 if test "${ac_cv_header_GL_gl_h+set}" = set; then
26823 echo $ECHO_N "(cached) $ECHO_C" >&6
26824 fi
26825 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
26826 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
26827 else
26828 # Is the header compilable?
26829 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
26830 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
26831 cat >conftest.$ac_ext <<_ACEOF
26832 /* confdefs.h. */
26833 _ACEOF
26834 cat confdefs.h >>conftest.$ac_ext
26835 cat >>conftest.$ac_ext <<_ACEOF
26836 /* end confdefs.h. */
26837 $ac_includes_default
26838 #include <GL/gl.h>
26839 _ACEOF
26840 rm -f conftest.$ac_objext
26841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26842 (eval $ac_compile) 2>conftest.er1
26843 ac_status=$?
26844 grep -v '^ *+' conftest.er1 >conftest.err
26845 rm -f conftest.er1
26846 cat conftest.err >&5
26847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26848 (exit $ac_status); } &&
26849 { ac_try='test -z "$ac_c_werror_flag"
26850 || test ! -s conftest.err'
26851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26852 (eval $ac_try) 2>&5
26853 ac_status=$?
26854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26855 (exit $ac_status); }; } &&
26856 { ac_try='test -s conftest.$ac_objext'
26857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26858 (eval $ac_try) 2>&5
26859 ac_status=$?
26860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26861 (exit $ac_status); }; }; then
26862 ac_header_compiler=yes
26863 else
26864 echo "$as_me: failed program was:" >&5
26865 sed 's/^/| /' conftest.$ac_ext >&5
26866
26867 ac_header_compiler=no
26868 fi
26869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26870 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26871 echo "${ECHO_T}$ac_header_compiler" >&6
26872
26873 # Is the header present?
26874 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
26875 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
26876 cat >conftest.$ac_ext <<_ACEOF
26877 /* confdefs.h. */
26878 _ACEOF
26879 cat confdefs.h >>conftest.$ac_ext
26880 cat >>conftest.$ac_ext <<_ACEOF
26881 /* end confdefs.h. */
26882 #include <GL/gl.h>
26883 _ACEOF
26884 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26885 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26886 ac_status=$?
26887 grep -v '^ *+' conftest.er1 >conftest.err
26888 rm -f conftest.er1
26889 cat conftest.err >&5
26890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26891 (exit $ac_status); } >/dev/null; then
26892 if test -s conftest.err; then
26893 ac_cpp_err=$ac_c_preproc_warn_flag
26894 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26895 else
26896 ac_cpp_err=
26897 fi
26898 else
26899 ac_cpp_err=yes
26900 fi
26901 if test -z "$ac_cpp_err"; then
26902 ac_header_preproc=yes
26903 else
26904 echo "$as_me: failed program was:" >&5
26905 sed 's/^/| /' conftest.$ac_ext >&5
26906
26907 ac_header_preproc=no
26908 fi
26909 rm -f conftest.err conftest.$ac_ext
26910 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26911 echo "${ECHO_T}$ac_header_preproc" >&6
26912
26913 # So? What about this header?
26914 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26915 yes:no: )
26916 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
26917 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26918 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
26919 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
26920 ac_header_preproc=yes
26921 ;;
26922 no:yes:* )
26923 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
26924 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
26925 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
26926 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
26927 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
26928 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
26929 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
26930 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
26931 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
26932 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
26933 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
26934 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
26935 (
26936 cat <<\_ASBOX
26937 ## ----------------------------------------- ##
26938 ## Report this to wx-dev@lists.wxwindows.org ##
26939 ## ----------------------------------------- ##
26940 _ASBOX
26941 ) |
26942 sed "s/^/$as_me: WARNING: /" >&2
26943 ;;
26944 esac
26945 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
26946 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
26947 if test "${ac_cv_header_GL_gl_h+set}" = set; then
26948 echo $ECHO_N "(cached) $ECHO_C" >&6
26949 else
26950 ac_cv_header_GL_gl_h=$ac_header_preproc
26951 fi
26952 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
26953 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
26954
26955 fi
26956 if test $ac_cv_header_GL_gl_h = yes; then
26957
26958 found_gl=0
26959
26960 echo "$as_me:$LINENO: checking for -lGL" >&5
26961 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
26962
26963 ac_find_libraries=
26964 for ac_dir in $SEARCH_LIB /usr/lib;
26965 do
26966 for ac_extension in a so sl dylib; do
26967 if test -f "$ac_dir/libGL.$ac_extension"; then
26968 ac_find_libraries=$ac_dir
26969 break 2
26970 fi
26971 done
26972 done
26973
26974 if test "$ac_find_libraries" != "" ; then
26975
26976 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26977 result=$?
26978 if test $result = 0; then
26979 ac_path_to_link=""
26980 else
26981 ac_path_to_link=" -L$ac_find_libraries"
26982 fi
26983
26984 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26985 LDFLAGS_GL="$ac_path_to_link"
26986 fi
26987
26988
26989 ac_find_libraries=
26990 for ac_dir in $SEARCH_LIB /usr/lib;
26991 do
26992 for ac_extension in a so sl dylib; do
26993 if test -f "$ac_dir/libGLU.$ac_extension"; then
26994 ac_find_libraries=$ac_dir
26995 break 2
26996 fi
26997 done
26998 done
26999
27000 if test "$ac_find_libraries" != "" ; then
27001
27002 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27003 result=$?
27004 if test $result = 0; then
27005 ac_path_to_link=""
27006 else
27007 ac_path_to_link=" -L$ac_find_libraries"
27008 fi
27009
27010 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27011 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27012 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
27013 fi
27014
27015 found_gl=1
27016 OPENGL_LIBS="-lGL -lGLU"
27017 echo "$as_me:$LINENO: result: yes" >&5
27018 echo "${ECHO_T}yes" >&6
27019 fi
27020 fi
27021
27022 if test "$found_gl" != 1; then
27023 echo "$as_me:$LINENO: result: no" >&5
27024 echo "${ECHO_T}no" >&6
27025 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27026 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27027
27028 ac_find_libraries=
27029 for ac_dir in $SEARCH_LIB /usr/lib;
27030 do
27031 for ac_extension in a so sl dylib; do
27032 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27033 ac_find_libraries=$ac_dir
27034 break 2
27035 fi
27036 done
27037 done
27038
27039 if test "$ac_find_libraries" != "" ; then
27040
27041 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27042 result=$?
27043 if test $result = 0; then
27044 ac_path_to_link=""
27045 else
27046 ac_path_to_link=" -L$ac_find_libraries"
27047 fi
27048
27049 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
27050 OPENGL_LIBS="-lMesaGL -lMesaGLU"
27051 echo "$as_me:$LINENO: result: yes" >&5
27052 echo "${ECHO_T}yes" >&6
27053 else
27054 echo "$as_me:$LINENO: result: no" >&5
27055 echo "${ECHO_T}no" >&6
27056 fi
27057 fi
27058
27059 fi
27060
27061
27062
27063 if test "x$OPENGL_LIBS" = "x"; then
27064 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27065 echo "$as_me: error: OpenGL libraries not available" >&2;}
27066 { (exit 1); exit 1; }; }
27067 fi
27068 fi
27069
27070 if test "$wxUSE_OPENGL" = "yes"; then
27071 USE_OPENGL=1
27072 cat >>confdefs.h <<\_ACEOF
27073 #define wxUSE_OPENGL 1
27074 _ACEOF
27075
27076 cat >>confdefs.h <<\_ACEOF
27077 #define wxUSE_GLCANVAS 1
27078 _ACEOF
27079
27080 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27081 fi
27082 fi
27083
27084 if test -z "$TOOLKIT_VPATH" ; then
27085 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
27086 fi
27087
27088 if test -n "$TOOLKIT" ; then
27089 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27090 fi
27091
27092 UNICODE=0
27093 lib_unicode_suffix=
27094 if test "$wxUSE_UNICODE" = "yes"; then
27095 lib_unicode_suffix=u
27096 UNICODE=1
27097 fi
27098
27099 lib_debug_suffix=
27100 DEBUG_FLAG=0
27101 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27102 lib_debug_suffix=d
27103 DEBUG_FLAG=1
27104 fi
27105
27106 DEBUG_INFO=0
27107 if test "$wxUSE_DEBUG_INFO" = "yes"; then
27108 DEBUG_INFO=1
27109 fi
27110
27111 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27112
27113 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
27114 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
27115
27116 if test "$cross_compiling" = "yes"; then
27117 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
27118 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
27119 HOST_SUFFIX="-${host_alias}"
27120 fi
27121
27122 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
27123 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
27124 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
27125 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
27126
27127 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27128 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27129
27130 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
27131 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
27132 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
27133 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27134
27135 case "${host}" in
27136 *-*-cygwin* | *-*-mingw32* )
27137 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
27138 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27139 ;;
27140
27141 *-*-darwin* )
27142
27143 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27144 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27145
27146 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
27147 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
27148 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
27149 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27150
27151 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27152 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
27153 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
27154 fi
27155 ;;
27156 esac
27157
27158 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
27159 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
27160
27161 WXCONFIG_LIBS="-l${WX_LIBRARY}"
27162 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
27163
27164 if test "$wxUSE_OPENGL" = "yes"; then
27165 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
27166 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
27167 fi
27168
27169
27170
27171 if test "$wxUSE_SHARED" = "yes"; then
27172 case "${host}" in
27173 *-pc-os2_emx | *-pc-os2-emx | \
27174 *-pc-msdosdjgpp )
27175 wxUSE_SHARED=no
27176 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27177 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27178 ;;
27179 esac
27180 fi
27181
27182 SHARED=0
27183 if test "$wxUSE_SHARED" = "yes"; then
27184 SHARED=1
27185
27186
27187 found_versioning=no
27188
27189
27190 if test $found_versioning = no ; then
27191 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27192 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27193 if test "${wx_cv_version_script+set}" = set; then
27194 echo $ECHO_N "(cached) $ECHO_C" >&6
27195 else
27196
27197 echo "VER_1 { *; };" >conftest.sym
27198 echo "int main() { return 0; }" >conftest.cpp
27199
27200 if { ac_try='
27201 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27202 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27204 (eval $ac_try) 2>&5
27205 ac_status=$?
27206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27207 (exit $ac_status); }; } ; then
27208 if test -s conftest.stderr ; then
27209 wx_cv_version_script=no
27210 else
27211 wx_cv_version_script=yes
27212 fi
27213 else
27214 wx_cv_version_script=no
27215 fi
27216 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27217
27218 fi
27219 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27220 echo "${ECHO_T}$wx_cv_version_script" >&6
27221 if test $wx_cv_version_script = yes ; then
27222 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
27223 fi
27224 fi
27225
27226
27227 case "${host}" in
27228 *-*-linux* | *-*-gnu* )
27229 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
27230 ;;
27231
27232 *-*-solaris2* )
27233 if test "$GCC" = yes ; then
27234 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
27235
27236 saveLdflags="$LDFLAGS"
27237 LDFLAGS="$saveLdflags -Wl,-rpath,/"
27238 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27239 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27240 cat >conftest.$ac_ext <<_ACEOF
27241 /* confdefs.h. */
27242 _ACEOF
27243 cat confdefs.h >>conftest.$ac_ext
27244 cat >>conftest.$ac_ext <<_ACEOF
27245 /* end confdefs.h. */
27246
27247 int
27248 main ()
27249 {
27250
27251 ;
27252 return 0;
27253 }
27254 _ACEOF
27255 rm -f conftest.$ac_objext conftest$ac_exeext
27256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27257 (eval $ac_link) 2>conftest.er1
27258 ac_status=$?
27259 grep -v '^ *+' conftest.er1 >conftest.err
27260 rm -f conftest.er1
27261 cat conftest.err >&5
27262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27263 (exit $ac_status); } &&
27264 { ac_try='test -z "$ac_c_werror_flag"
27265 || test ! -s conftest.err'
27266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27267 (eval $ac_try) 2>&5
27268 ac_status=$?
27269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27270 (exit $ac_status); }; } &&
27271 { ac_try='test -s conftest$ac_exeext'
27272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27273 (eval $ac_try) 2>&5
27274 ac_status=$?
27275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27276 (exit $ac_status); }; }; then
27277
27278 echo "$as_me:$LINENO: result: yes" >&5
27279 echo "${ECHO_T}yes" >&6
27280 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
27281
27282 else
27283 echo "$as_me: failed program was:" >&5
27284 sed 's/^/| /' conftest.$ac_ext >&5
27285
27286
27287 echo "$as_me:$LINENO: result: no" >&5
27288 echo "${ECHO_T}no" >&6
27289 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27290 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27291 LDFLAGS="$saveLdflags -Wl,-R,/"
27292 cat >conftest.$ac_ext <<_ACEOF
27293 /* confdefs.h. */
27294 _ACEOF
27295 cat confdefs.h >>conftest.$ac_ext
27296 cat >>conftest.$ac_ext <<_ACEOF
27297 /* end confdefs.h. */
27298
27299 int
27300 main ()
27301 {
27302
27303 ;
27304 return 0;
27305 }
27306 _ACEOF
27307 rm -f conftest.$ac_objext conftest$ac_exeext
27308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27309 (eval $ac_link) 2>conftest.er1
27310 ac_status=$?
27311 grep -v '^ *+' conftest.er1 >conftest.err
27312 rm -f conftest.er1
27313 cat conftest.err >&5
27314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27315 (exit $ac_status); } &&
27316 { ac_try='test -z "$ac_c_werror_flag"
27317 || test ! -s conftest.err'
27318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27319 (eval $ac_try) 2>&5
27320 ac_status=$?
27321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27322 (exit $ac_status); }; } &&
27323 { ac_try='test -s conftest$ac_exeext'
27324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27325 (eval $ac_try) 2>&5
27326 ac_status=$?
27327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27328 (exit $ac_status); }; }; then
27329
27330 echo "$as_me:$LINENO: result: yes" >&5
27331 echo "${ECHO_T}yes" >&6
27332 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
27333 else
27334 echo "$as_me: failed program was:" >&5
27335 sed 's/^/| /' conftest.$ac_ext >&5
27336
27337
27338 echo "$as_me:$LINENO: result: no" >&5
27339 echo "${ECHO_T}no" >&6
27340
27341 fi
27342 rm -f conftest.err conftest.$ac_objext \
27343 conftest$ac_exeext conftest.$ac_ext
27344
27345 fi
27346 rm -f conftest.err conftest.$ac_objext \
27347 conftest$ac_exeext conftest.$ac_ext
27348 LDFLAGS="$saveLdflags"
27349 else
27350 SHARED_LD="${CXX} -G -o"
27351 PIC_FLAG="-KPIC"
27352 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
27353 fi
27354 ;;
27355
27356 powerpc-*-darwin* )
27357 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
27358 cat <<EOF >change-install-names
27359 #!/bin/sh
27360 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
27361 inst_cmd="install_name_tool "
27362 for i in \${libnames} ; do
27363 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
27364 done
27365 \${inst_cmd} \${3}
27366 EOF
27367 chmod +x change-install-names
27368 ;;
27369
27370 esac
27371
27372 if test "x$WX_TARGET_LIBRARY" = "x"; then
27373 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
27374 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
27375 fi
27376
27377 WX_TARGET_LIBRARY_TYPE="so"
27378 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
27379 fi
27380
27381 if test "$wxUSE_SHARED" = "no"; then
27382
27383 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
27384 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
27385 fi
27386
27387 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
27388 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
27389 fi
27390
27391 if test "$wxUSE_OPENGL" = "yes"; then
27392 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
27393 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
27394 else
27395 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
27396 fi
27397
27398 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
27399 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
27400
27401 WX_TARGET_LIBRARY_TYPE="a"
27402 INSTALL_LIBRARY='$(INSTALL_DATA)'
27403
27404 STATIC_FLAG="yes"
27405 else
27406 STATIC_FLAG="no"
27407 fi
27408
27409 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
27410 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
27411 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
27412 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
27413
27414 # Extract the first word of "Rez", so it can be a program name with args.
27415 set dummy Rez; ac_word=$2
27416 echo "$as_me:$LINENO: checking for $ac_word" >&5
27417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27418 if test "${ac_cv_prog_RESCOMP+set}" = set; then
27419 echo $ECHO_N "(cached) $ECHO_C" >&6
27420 else
27421 if test -n "$RESCOMP"; then
27422 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
27423 else
27424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27425 for as_dir in $PATH
27426 do
27427 IFS=$as_save_IFS
27428 test -z "$as_dir" && as_dir=.
27429 for ac_exec_ext in '' $ac_executable_extensions; do
27430 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27431 ac_cv_prog_RESCOMP="Rez"
27432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27433 break 2
27434 fi
27435 done
27436 done
27437
27438 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
27439 fi
27440 fi
27441 RESCOMP=$ac_cv_prog_RESCOMP
27442 if test -n "$RESCOMP"; then
27443 echo "$as_me:$LINENO: result: $RESCOMP" >&5
27444 echo "${ECHO_T}$RESCOMP" >&6
27445 else
27446 echo "$as_me:$LINENO: result: no" >&5
27447 echo "${ECHO_T}no" >&6
27448 fi
27449
27450 # Extract the first word of "DeRez", so it can be a program name with args.
27451 set dummy DeRez; ac_word=$2
27452 echo "$as_me:$LINENO: checking for $ac_word" >&5
27453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27454 if test "${ac_cv_prog_DEREZ+set}" = set; then
27455 echo $ECHO_N "(cached) $ECHO_C" >&6
27456 else
27457 if test -n "$DEREZ"; then
27458 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
27459 else
27460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27461 for as_dir in $PATH
27462 do
27463 IFS=$as_save_IFS
27464 test -z "$as_dir" && as_dir=.
27465 for ac_exec_ext in '' $ac_executable_extensions; do
27466 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27467 ac_cv_prog_DEREZ="DeRez"
27468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27469 break 2
27470 fi
27471 done
27472 done
27473
27474 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
27475 fi
27476 fi
27477 DEREZ=$ac_cv_prog_DEREZ
27478 if test -n "$DEREZ"; then
27479 echo "$as_me:$LINENO: result: $DEREZ" >&5
27480 echo "${ECHO_T}$DEREZ" >&6
27481 else
27482 echo "$as_me:$LINENO: result: no" >&5
27483 echo "${ECHO_T}no" >&6
27484 fi
27485
27486 # Extract the first word of "SetFile", so it can be a program name with args.
27487 set dummy SetFile; ac_word=$2
27488 echo "$as_me:$LINENO: checking for $ac_word" >&5
27489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27490 if test "${ac_cv_prog_SETFILE+set}" = set; then
27491 echo $ECHO_N "(cached) $ECHO_C" >&6
27492 else
27493 if test -n "$SETFILE"; then
27494 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
27495 else
27496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27497 for as_dir in $PATH
27498 do
27499 IFS=$as_save_IFS
27500 test -z "$as_dir" && as_dir=.
27501 for ac_exec_ext in '' $ac_executable_extensions; do
27502 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27503 ac_cv_prog_SETFILE="SetFile"
27504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27505 break 2
27506 fi
27507 done
27508 done
27509
27510 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
27511 fi
27512 fi
27513 SETFILE=$ac_cv_prog_SETFILE
27514 if test -n "$SETFILE"; then
27515 echo "$as_me:$LINENO: result: $SETFILE" >&5
27516 echo "${ECHO_T}$SETFILE" >&6
27517 else
27518 echo "$as_me:$LINENO: result: no" >&5
27519 echo "${ECHO_T}no" >&6
27520 fi
27521
27522
27523 MACSETFILE="\$(SETFILE)"
27524
27525 if test "$wxUSE_MAC" = 1; then
27526 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
27527
27528 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27529 else
27530 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
27531 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27532 fi
27533 else
27534 MACSETFILE="@#"
27535 MACRESWXCONFIG="#"
27536
27537 if test "$wxUSE_PM" = 1; then
27538 MACRESCOMP="emxbind -ep"
27539 else
27540 MACRESCOMP="@#"
27541 fi
27542 fi
27543
27544
27545
27546 echo "$as_me:$LINENO: checking for mode_t" >&5
27547 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
27548 if test "${ac_cv_type_mode_t+set}" = set; then
27549 echo $ECHO_N "(cached) $ECHO_C" >&6
27550 else
27551 cat >conftest.$ac_ext <<_ACEOF
27552 /* confdefs.h. */
27553 _ACEOF
27554 cat confdefs.h >>conftest.$ac_ext
27555 cat >>conftest.$ac_ext <<_ACEOF
27556 /* end confdefs.h. */
27557 $ac_includes_default
27558 int
27559 main ()
27560 {
27561 if ((mode_t *) 0)
27562 return 0;
27563 if (sizeof (mode_t))
27564 return 0;
27565 ;
27566 return 0;
27567 }
27568 _ACEOF
27569 rm -f conftest.$ac_objext
27570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27571 (eval $ac_compile) 2>conftest.er1
27572 ac_status=$?
27573 grep -v '^ *+' conftest.er1 >conftest.err
27574 rm -f conftest.er1
27575 cat conftest.err >&5
27576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27577 (exit $ac_status); } &&
27578 { ac_try='test -z "$ac_c_werror_flag"
27579 || test ! -s conftest.err'
27580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27581 (eval $ac_try) 2>&5
27582 ac_status=$?
27583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27584 (exit $ac_status); }; } &&
27585 { ac_try='test -s conftest.$ac_objext'
27586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27587 (eval $ac_try) 2>&5
27588 ac_status=$?
27589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27590 (exit $ac_status); }; }; then
27591 ac_cv_type_mode_t=yes
27592 else
27593 echo "$as_me: failed program was:" >&5
27594 sed 's/^/| /' conftest.$ac_ext >&5
27595
27596 ac_cv_type_mode_t=no
27597 fi
27598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27599 fi
27600 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
27601 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
27602 if test $ac_cv_type_mode_t = yes; then
27603 :
27604 else
27605
27606 cat >>confdefs.h <<_ACEOF
27607 #define mode_t int
27608 _ACEOF
27609
27610 fi
27611
27612 echo "$as_me:$LINENO: checking for off_t" >&5
27613 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
27614 if test "${ac_cv_type_off_t+set}" = set; then
27615 echo $ECHO_N "(cached) $ECHO_C" >&6
27616 else
27617 cat >conftest.$ac_ext <<_ACEOF
27618 /* confdefs.h. */
27619 _ACEOF
27620 cat confdefs.h >>conftest.$ac_ext
27621 cat >>conftest.$ac_ext <<_ACEOF
27622 /* end confdefs.h. */
27623 $ac_includes_default
27624 int
27625 main ()
27626 {
27627 if ((off_t *) 0)
27628 return 0;
27629 if (sizeof (off_t))
27630 return 0;
27631 ;
27632 return 0;
27633 }
27634 _ACEOF
27635 rm -f conftest.$ac_objext
27636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27637 (eval $ac_compile) 2>conftest.er1
27638 ac_status=$?
27639 grep -v '^ *+' conftest.er1 >conftest.err
27640 rm -f conftest.er1
27641 cat conftest.err >&5
27642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27643 (exit $ac_status); } &&
27644 { ac_try='test -z "$ac_c_werror_flag"
27645 || test ! -s conftest.err'
27646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27647 (eval $ac_try) 2>&5
27648 ac_status=$?
27649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27650 (exit $ac_status); }; } &&
27651 { ac_try='test -s conftest.$ac_objext'
27652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27653 (eval $ac_try) 2>&5
27654 ac_status=$?
27655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27656 (exit $ac_status); }; }; then
27657 ac_cv_type_off_t=yes
27658 else
27659 echo "$as_me: failed program was:" >&5
27660 sed 's/^/| /' conftest.$ac_ext >&5
27661
27662 ac_cv_type_off_t=no
27663 fi
27664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27665 fi
27666 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
27667 echo "${ECHO_T}$ac_cv_type_off_t" >&6
27668 if test $ac_cv_type_off_t = yes; then
27669 :
27670 else
27671
27672 cat >>confdefs.h <<_ACEOF
27673 #define off_t long
27674 _ACEOF
27675
27676 fi
27677
27678 echo "$as_me:$LINENO: checking for pid_t" >&5
27679 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
27680 if test "${ac_cv_type_pid_t+set}" = set; then
27681 echo $ECHO_N "(cached) $ECHO_C" >&6
27682 else
27683 cat >conftest.$ac_ext <<_ACEOF
27684 /* confdefs.h. */
27685 _ACEOF
27686 cat confdefs.h >>conftest.$ac_ext
27687 cat >>conftest.$ac_ext <<_ACEOF
27688 /* end confdefs.h. */
27689 $ac_includes_default
27690 int
27691 main ()
27692 {
27693 if ((pid_t *) 0)
27694 return 0;
27695 if (sizeof (pid_t))
27696 return 0;
27697 ;
27698 return 0;
27699 }
27700 _ACEOF
27701 rm -f conftest.$ac_objext
27702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27703 (eval $ac_compile) 2>conftest.er1
27704 ac_status=$?
27705 grep -v '^ *+' conftest.er1 >conftest.err
27706 rm -f conftest.er1
27707 cat conftest.err >&5
27708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27709 (exit $ac_status); } &&
27710 { ac_try='test -z "$ac_c_werror_flag"
27711 || test ! -s conftest.err'
27712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27713 (eval $ac_try) 2>&5
27714 ac_status=$?
27715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27716 (exit $ac_status); }; } &&
27717 { ac_try='test -s conftest.$ac_objext'
27718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27719 (eval $ac_try) 2>&5
27720 ac_status=$?
27721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27722 (exit $ac_status); }; }; then
27723 ac_cv_type_pid_t=yes
27724 else
27725 echo "$as_me: failed program was:" >&5
27726 sed 's/^/| /' conftest.$ac_ext >&5
27727
27728 ac_cv_type_pid_t=no
27729 fi
27730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27731 fi
27732 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
27733 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
27734 if test $ac_cv_type_pid_t = yes; then
27735 :
27736 else
27737
27738 cat >>confdefs.h <<_ACEOF
27739 #define pid_t int
27740 _ACEOF
27741
27742 fi
27743
27744 echo "$as_me:$LINENO: checking for size_t" >&5
27745 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
27746 if test "${ac_cv_type_size_t+set}" = set; then
27747 echo $ECHO_N "(cached) $ECHO_C" >&6
27748 else
27749 cat >conftest.$ac_ext <<_ACEOF
27750 /* confdefs.h. */
27751 _ACEOF
27752 cat confdefs.h >>conftest.$ac_ext
27753 cat >>conftest.$ac_ext <<_ACEOF
27754 /* end confdefs.h. */
27755 $ac_includes_default
27756 int
27757 main ()
27758 {
27759 if ((size_t *) 0)
27760 return 0;
27761 if (sizeof (size_t))
27762 return 0;
27763 ;
27764 return 0;
27765 }
27766 _ACEOF
27767 rm -f conftest.$ac_objext
27768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27769 (eval $ac_compile) 2>conftest.er1
27770 ac_status=$?
27771 grep -v '^ *+' conftest.er1 >conftest.err
27772 rm -f conftest.er1
27773 cat conftest.err >&5
27774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27775 (exit $ac_status); } &&
27776 { ac_try='test -z "$ac_c_werror_flag"
27777 || test ! -s conftest.err'
27778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27779 (eval $ac_try) 2>&5
27780 ac_status=$?
27781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27782 (exit $ac_status); }; } &&
27783 { ac_try='test -s conftest.$ac_objext'
27784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27785 (eval $ac_try) 2>&5
27786 ac_status=$?
27787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27788 (exit $ac_status); }; }; then
27789 ac_cv_type_size_t=yes
27790 else
27791 echo "$as_me: failed program was:" >&5
27792 sed 's/^/| /' conftest.$ac_ext >&5
27793
27794 ac_cv_type_size_t=no
27795 fi
27796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27797 fi
27798 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
27799 echo "${ECHO_T}$ac_cv_type_size_t" >&6
27800 if test $ac_cv_type_size_t = yes; then
27801 :
27802 else
27803
27804 cat >>confdefs.h <<_ACEOF
27805 #define size_t unsigned
27806 _ACEOF
27807
27808 fi
27809
27810 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
27811 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
27812 if test "${ac_cv_type_uid_t+set}" = set; then
27813 echo $ECHO_N "(cached) $ECHO_C" >&6
27814 else
27815 cat >conftest.$ac_ext <<_ACEOF
27816 /* confdefs.h. */
27817 _ACEOF
27818 cat confdefs.h >>conftest.$ac_ext
27819 cat >>conftest.$ac_ext <<_ACEOF
27820 /* end confdefs.h. */
27821 #include <sys/types.h>
27822
27823 _ACEOF
27824 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
27825 $EGREP "uid_t" >/dev/null 2>&1; then
27826 ac_cv_type_uid_t=yes
27827 else
27828 ac_cv_type_uid_t=no
27829 fi
27830 rm -f conftest*
27831
27832 fi
27833 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
27834 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
27835 if test $ac_cv_type_uid_t = no; then
27836
27837 cat >>confdefs.h <<\_ACEOF
27838 #define uid_t int
27839 _ACEOF
27840
27841
27842 cat >>confdefs.h <<\_ACEOF
27843 #define gid_t int
27844 _ACEOF
27845
27846 fi
27847
27848
27849
27850
27851 ac_ext=cc
27852 ac_cpp='$CXXCPP $CPPFLAGS'
27853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27856
27857 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
27858 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
27859 if test "${wx_cv_size_t_is_uint+set}" = set; then
27860 echo $ECHO_N "(cached) $ECHO_C" >&6
27861 else
27862
27863 cat >conftest.$ac_ext <<_ACEOF
27864 /* confdefs.h. */
27865 _ACEOF
27866 cat confdefs.h >>conftest.$ac_ext
27867 cat >>conftest.$ac_ext <<_ACEOF
27868 /* end confdefs.h. */
27869 #include <stddef.h>
27870 int
27871 main ()
27872 {
27873
27874 return 0; }
27875
27876 struct Foo { void foo(size_t); void foo(unsigned int); };
27877
27878 int bar() {
27879
27880 ;
27881 return 0;
27882 }
27883 _ACEOF
27884 rm -f conftest.$ac_objext
27885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27886 (eval $ac_compile) 2>conftest.er1
27887 ac_status=$?
27888 grep -v '^ *+' conftest.er1 >conftest.err
27889 rm -f conftest.er1
27890 cat conftest.err >&5
27891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27892 (exit $ac_status); } &&
27893 { ac_try='test -z "$ac_cxx_werror_flag"
27894 || test ! -s conftest.err'
27895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27896 (eval $ac_try) 2>&5
27897 ac_status=$?
27898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27899 (exit $ac_status); }; } &&
27900 { ac_try='test -s conftest.$ac_objext'
27901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27902 (eval $ac_try) 2>&5
27903 ac_status=$?
27904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27905 (exit $ac_status); }; }; then
27906 wx_cv_size_t_is_uint=no
27907 else
27908 echo "$as_me: failed program was:" >&5
27909 sed 's/^/| /' conftest.$ac_ext >&5
27910
27911 wx_cv_size_t_is_uint=yes
27912
27913 fi
27914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27915
27916
27917 fi
27918 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
27919 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
27920
27921 if test "$wx_cv_size_t_is_uint" = "yes"; then
27922 cat >>confdefs.h <<\_ACEOF
27923 #define wxSIZE_T_IS_UINT 1
27924 _ACEOF
27925
27926 else
27927 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
27928 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
27929 if test "${wx_cv_size_t_is_ulong+set}" = set; then
27930 echo $ECHO_N "(cached) $ECHO_C" >&6
27931 else
27932 cat >conftest.$ac_ext <<_ACEOF
27933 /* confdefs.h. */
27934 _ACEOF
27935 cat confdefs.h >>conftest.$ac_ext
27936 cat >>conftest.$ac_ext <<_ACEOF
27937 /* end confdefs.h. */
27938 #include <stddef.h>
27939 int
27940 main ()
27941 {
27942
27943 return 0; }
27944
27945 struct Foo { void foo(size_t); void foo(unsigned long); };
27946
27947 int bar() {
27948
27949 ;
27950 return 0;
27951 }
27952 _ACEOF
27953 rm -f conftest.$ac_objext
27954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27955 (eval $ac_compile) 2>conftest.er1
27956 ac_status=$?
27957 grep -v '^ *+' conftest.er1 >conftest.err
27958 rm -f conftest.er1
27959 cat conftest.err >&5
27960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27961 (exit $ac_status); } &&
27962 { ac_try='test -z "$ac_cxx_werror_flag"
27963 || test ! -s conftest.err'
27964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27965 (eval $ac_try) 2>&5
27966 ac_status=$?
27967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27968 (exit $ac_status); }; } &&
27969 { ac_try='test -s conftest.$ac_objext'
27970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27971 (eval $ac_try) 2>&5
27972 ac_status=$?
27973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27974 (exit $ac_status); }; }; then
27975 wx_cv_size_t_is_ulong=no
27976 else
27977 echo "$as_me: failed program was:" >&5
27978 sed 's/^/| /' conftest.$ac_ext >&5
27979
27980 wx_cv_size_t_is_ulong=yes
27981
27982 fi
27983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27984
27985 fi
27986 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
27987 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
27988
27989 if test "$wx_cv_size_t_is_ulong" = "yes"; then
27990 cat >>confdefs.h <<\_ACEOF
27991 #define wxSIZE_T_IS_ULONG 1
27992 _ACEOF
27993
27994 fi
27995 fi
27996
27997 ac_ext=c
27998 ac_cpp='$CPP $CPPFLAGS'
27999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28002
28003
28004
28005 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28006 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28007 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28008 echo $ECHO_N "(cached) $ECHO_C" >&6
28009 else
28010
28011 cat >conftest.$ac_ext <<_ACEOF
28012 /* confdefs.h. */
28013 _ACEOF
28014 cat confdefs.h >>conftest.$ac_ext
28015 cat >>conftest.$ac_ext <<_ACEOF
28016 /* end confdefs.h. */
28017 #include <pwd.h>
28018 int
28019 main ()
28020 {
28021
28022 char *p;
28023 struct passwd *pw;
28024 p = pw->pw_gecos;
28025
28026 ;
28027 return 0;
28028 }
28029 _ACEOF
28030 rm -f conftest.$ac_objext
28031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28032 (eval $ac_compile) 2>conftest.er1
28033 ac_status=$?
28034 grep -v '^ *+' conftest.er1 >conftest.err
28035 rm -f conftest.er1
28036 cat conftest.err >&5
28037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28038 (exit $ac_status); } &&
28039 { ac_try='test -z "$ac_c_werror_flag"
28040 || test ! -s conftest.err'
28041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28042 (eval $ac_try) 2>&5
28043 ac_status=$?
28044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28045 (exit $ac_status); }; } &&
28046 { ac_try='test -s conftest.$ac_objext'
28047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28048 (eval $ac_try) 2>&5
28049 ac_status=$?
28050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28051 (exit $ac_status); }; }; then
28052
28053 wx_cv_struct_pw_gecos=yes
28054
28055 else
28056 echo "$as_me: failed program was:" >&5
28057 sed 's/^/| /' conftest.$ac_ext >&5
28058
28059
28060 wx_cv_struct_pw_gecos=no
28061
28062
28063 fi
28064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28065
28066
28067 fi
28068 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28069 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28070
28071 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28072 cat >>confdefs.h <<\_ACEOF
28073 #define HAVE_PW_GECOS 1
28074 _ACEOF
28075
28076 fi
28077
28078
28079 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28080 cat >>confdefs.h <<\_ACEOF
28081 #define wxUSE_WCHAR_T 1
28082 _ACEOF
28083
28084
28085 WCSLEN_FOUND=0
28086 WCHAR_LINK=
28087
28088 for ac_func in wcslen
28089 do
28090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28091 echo "$as_me:$LINENO: checking for $ac_func" >&5
28092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28093 if eval "test \"\${$as_ac_var+set}\" = set"; then
28094 echo $ECHO_N "(cached) $ECHO_C" >&6
28095 else
28096 cat >conftest.$ac_ext <<_ACEOF
28097 /* confdefs.h. */
28098 _ACEOF
28099 cat confdefs.h >>conftest.$ac_ext
28100 cat >>conftest.$ac_ext <<_ACEOF
28101 /* end confdefs.h. */
28102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28104 #define $ac_func innocuous_$ac_func
28105
28106 /* System header to define __stub macros and hopefully few prototypes,
28107 which can conflict with char $ac_func (); below.
28108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28109 <limits.h> exists even on freestanding compilers. */
28110
28111 #ifdef __STDC__
28112 # include <limits.h>
28113 #else
28114 # include <assert.h>
28115 #endif
28116
28117 #undef $ac_func
28118
28119 /* Override any gcc2 internal prototype to avoid an error. */
28120 #ifdef __cplusplus
28121 extern "C"
28122 {
28123 #endif
28124 /* We use char because int might match the return type of a gcc2
28125 builtin and then its argument prototype would still apply. */
28126 char $ac_func ();
28127 /* The GNU C library defines this for functions which it implements
28128 to always fail with ENOSYS. Some functions are actually named
28129 something starting with __ and the normal name is an alias. */
28130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28131 choke me
28132 #else
28133 char (*f) () = $ac_func;
28134 #endif
28135 #ifdef __cplusplus
28136 }
28137 #endif
28138
28139 int
28140 main ()
28141 {
28142 return f != $ac_func;
28143 ;
28144 return 0;
28145 }
28146 _ACEOF
28147 rm -f conftest.$ac_objext conftest$ac_exeext
28148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28149 (eval $ac_link) 2>conftest.er1
28150 ac_status=$?
28151 grep -v '^ *+' conftest.er1 >conftest.err
28152 rm -f conftest.er1
28153 cat conftest.err >&5
28154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28155 (exit $ac_status); } &&
28156 { ac_try='test -z "$ac_c_werror_flag"
28157 || test ! -s conftest.err'
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); }; } &&
28163 { ac_try='test -s conftest$ac_exeext'
28164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28165 (eval $ac_try) 2>&5
28166 ac_status=$?
28167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28168 (exit $ac_status); }; }; then
28169 eval "$as_ac_var=yes"
28170 else
28171 echo "$as_me: failed program was:" >&5
28172 sed 's/^/| /' conftest.$ac_ext >&5
28173
28174 eval "$as_ac_var=no"
28175 fi
28176 rm -f conftest.err conftest.$ac_objext \
28177 conftest$ac_exeext conftest.$ac_ext
28178 fi
28179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28181 if test `eval echo '${'$as_ac_var'}'` = yes; then
28182 cat >>confdefs.h <<_ACEOF
28183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28184 _ACEOF
28185 WCSLEN_FOUND=1
28186 fi
28187 done
28188
28189
28190 if test "$WCSLEN_FOUND" = 0; then
28191 if test "$TOOLKIT" = "MSW"; then
28192 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28193 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28194 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28195 echo $ECHO_N "(cached) $ECHO_C" >&6
28196 else
28197 ac_check_lib_save_LIBS=$LIBS
28198 LIBS="-lmsvcrt $LIBS"
28199 cat >conftest.$ac_ext <<_ACEOF
28200 /* confdefs.h. */
28201 _ACEOF
28202 cat confdefs.h >>conftest.$ac_ext
28203 cat >>conftest.$ac_ext <<_ACEOF
28204 /* end confdefs.h. */
28205
28206 /* Override any gcc2 internal prototype to avoid an error. */
28207 #ifdef __cplusplus
28208 extern "C"
28209 #endif
28210 /* We use char because int might match the return type of a gcc2
28211 builtin and then its argument prototype would still apply. */
28212 char wcslen ();
28213 int
28214 main ()
28215 {
28216 wcslen ();
28217 ;
28218 return 0;
28219 }
28220 _ACEOF
28221 rm -f conftest.$ac_objext conftest$ac_exeext
28222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28223 (eval $ac_link) 2>conftest.er1
28224 ac_status=$?
28225 grep -v '^ *+' conftest.er1 >conftest.err
28226 rm -f conftest.er1
28227 cat conftest.err >&5
28228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28229 (exit $ac_status); } &&
28230 { ac_try='test -z "$ac_c_werror_flag"
28231 || test ! -s conftest.err'
28232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28233 (eval $ac_try) 2>&5
28234 ac_status=$?
28235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28236 (exit $ac_status); }; } &&
28237 { ac_try='test -s conftest$ac_exeext'
28238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28239 (eval $ac_try) 2>&5
28240 ac_status=$?
28241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28242 (exit $ac_status); }; }; then
28243 ac_cv_lib_msvcrt_wcslen=yes
28244 else
28245 echo "$as_me: failed program was:" >&5
28246 sed 's/^/| /' conftest.$ac_ext >&5
28247
28248 ac_cv_lib_msvcrt_wcslen=no
28249 fi
28250 rm -f conftest.err conftest.$ac_objext \
28251 conftest$ac_exeext conftest.$ac_ext
28252 LIBS=$ac_check_lib_save_LIBS
28253 fi
28254 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28255 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28256 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28257 WCHAR_OK=1
28258 fi
28259
28260 else
28261 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28262 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28263 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28264 echo $ECHO_N "(cached) $ECHO_C" >&6
28265 else
28266 ac_check_lib_save_LIBS=$LIBS
28267 LIBS="-lw $LIBS"
28268 cat >conftest.$ac_ext <<_ACEOF
28269 /* confdefs.h. */
28270 _ACEOF
28271 cat confdefs.h >>conftest.$ac_ext
28272 cat >>conftest.$ac_ext <<_ACEOF
28273 /* end confdefs.h. */
28274
28275 /* Override any gcc2 internal prototype to avoid an error. */
28276 #ifdef __cplusplus
28277 extern "C"
28278 #endif
28279 /* We use char because int might match the return type of a gcc2
28280 builtin and then its argument prototype would still apply. */
28281 char wcslen ();
28282 int
28283 main ()
28284 {
28285 wcslen ();
28286 ;
28287 return 0;
28288 }
28289 _ACEOF
28290 rm -f conftest.$ac_objext conftest$ac_exeext
28291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28292 (eval $ac_link) 2>conftest.er1
28293 ac_status=$?
28294 grep -v '^ *+' conftest.er1 >conftest.err
28295 rm -f conftest.er1
28296 cat conftest.err >&5
28297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28298 (exit $ac_status); } &&
28299 { ac_try='test -z "$ac_c_werror_flag"
28300 || test ! -s conftest.err'
28301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28302 (eval $ac_try) 2>&5
28303 ac_status=$?
28304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28305 (exit $ac_status); }; } &&
28306 { ac_try='test -s conftest$ac_exeext'
28307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28308 (eval $ac_try) 2>&5
28309 ac_status=$?
28310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28311 (exit $ac_status); }; }; then
28312 ac_cv_lib_w_wcslen=yes
28313 else
28314 echo "$as_me: failed program was:" >&5
28315 sed 's/^/| /' conftest.$ac_ext >&5
28316
28317 ac_cv_lib_w_wcslen=no
28318 fi
28319 rm -f conftest.err conftest.$ac_objext \
28320 conftest$ac_exeext conftest.$ac_ext
28321 LIBS=$ac_check_lib_save_LIBS
28322 fi
28323 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
28324 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
28325 if test $ac_cv_lib_w_wcslen = yes; then
28326
28327 WCHAR_LINK=" -lw"
28328 WCSLEN_FOUND=1
28329
28330 fi
28331
28332 fi
28333 fi
28334
28335 if test "$WCSLEN_FOUND" = 1; then
28336 cat >>confdefs.h <<\_ACEOF
28337 #define HAVE_WCSLEN 1
28338 _ACEOF
28339
28340 fi
28341
28342
28343 for ac_func in wcsrtombs
28344 do
28345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28346 echo "$as_me:$LINENO: checking for $ac_func" >&5
28347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28348 if eval "test \"\${$as_ac_var+set}\" = set"; then
28349 echo $ECHO_N "(cached) $ECHO_C" >&6
28350 else
28351 cat >conftest.$ac_ext <<_ACEOF
28352 /* confdefs.h. */
28353 _ACEOF
28354 cat confdefs.h >>conftest.$ac_ext
28355 cat >>conftest.$ac_ext <<_ACEOF
28356 /* end confdefs.h. */
28357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28359 #define $ac_func innocuous_$ac_func
28360
28361 /* System header to define __stub macros and hopefully few prototypes,
28362 which can conflict with char $ac_func (); below.
28363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28364 <limits.h> exists even on freestanding compilers. */
28365
28366 #ifdef __STDC__
28367 # include <limits.h>
28368 #else
28369 # include <assert.h>
28370 #endif
28371
28372 #undef $ac_func
28373
28374 /* Override any gcc2 internal prototype to avoid an error. */
28375 #ifdef __cplusplus
28376 extern "C"
28377 {
28378 #endif
28379 /* We use char because int might match the return type of a gcc2
28380 builtin and then its argument prototype would still apply. */
28381 char $ac_func ();
28382 /* The GNU C library defines this for functions which it implements
28383 to always fail with ENOSYS. Some functions are actually named
28384 something starting with __ and the normal name is an alias. */
28385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28386 choke me
28387 #else
28388 char (*f) () = $ac_func;
28389 #endif
28390 #ifdef __cplusplus
28391 }
28392 #endif
28393
28394 int
28395 main ()
28396 {
28397 return f != $ac_func;
28398 ;
28399 return 0;
28400 }
28401 _ACEOF
28402 rm -f conftest.$ac_objext conftest$ac_exeext
28403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28404 (eval $ac_link) 2>conftest.er1
28405 ac_status=$?
28406 grep -v '^ *+' conftest.er1 >conftest.err
28407 rm -f conftest.er1
28408 cat conftest.err >&5
28409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28410 (exit $ac_status); } &&
28411 { ac_try='test -z "$ac_c_werror_flag"
28412 || test ! -s conftest.err'
28413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28414 (eval $ac_try) 2>&5
28415 ac_status=$?
28416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28417 (exit $ac_status); }; } &&
28418 { ac_try='test -s conftest$ac_exeext'
28419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28420 (eval $ac_try) 2>&5
28421 ac_status=$?
28422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28423 (exit $ac_status); }; }; then
28424 eval "$as_ac_var=yes"
28425 else
28426 echo "$as_me: failed program was:" >&5
28427 sed 's/^/| /' conftest.$ac_ext >&5
28428
28429 eval "$as_ac_var=no"
28430 fi
28431 rm -f conftest.err conftest.$ac_objext \
28432 conftest$ac_exeext conftest.$ac_ext
28433 fi
28434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28436 if test `eval echo '${'$as_ac_var'}'` = yes; then
28437 cat >>confdefs.h <<_ACEOF
28438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28439 _ACEOF
28440
28441 fi
28442 done
28443
28444 else
28445 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
28446 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
28447 fi
28448
28449
28450
28451 ac_ext=cc
28452 ac_cpp='$CXXCPP $CPPFLAGS'
28453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28456
28457
28458
28459 for ac_func in vsnprintf
28460 do
28461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28462 echo "$as_me:$LINENO: checking for $ac_func" >&5
28463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28464 if eval "test \"\${$as_ac_var+set}\" = set"; then
28465 echo $ECHO_N "(cached) $ECHO_C" >&6
28466 else
28467 cat >conftest.$ac_ext <<_ACEOF
28468 /* confdefs.h. */
28469 _ACEOF
28470 cat confdefs.h >>conftest.$ac_ext
28471 cat >>conftest.$ac_ext <<_ACEOF
28472 /* end confdefs.h. */
28473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28475 #define $ac_func innocuous_$ac_func
28476
28477 /* System header to define __stub macros and hopefully few prototypes,
28478 which can conflict with char $ac_func (); below.
28479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28480 <limits.h> exists even on freestanding compilers. */
28481
28482 #ifdef __STDC__
28483 # include <limits.h>
28484 #else
28485 # include <assert.h>
28486 #endif
28487
28488 #undef $ac_func
28489
28490 /* Override any gcc2 internal prototype to avoid an error. */
28491 #ifdef __cplusplus
28492 extern "C"
28493 {
28494 #endif
28495 /* We use char because int might match the return type of a gcc2
28496 builtin and then its argument prototype would still apply. */
28497 char $ac_func ();
28498 /* The GNU C library defines this for functions which it implements
28499 to always fail with ENOSYS. Some functions are actually named
28500 something starting with __ and the normal name is an alias. */
28501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28502 choke me
28503 #else
28504 char (*f) () = $ac_func;
28505 #endif
28506 #ifdef __cplusplus
28507 }
28508 #endif
28509
28510 int
28511 main ()
28512 {
28513 return f != $ac_func;
28514 ;
28515 return 0;
28516 }
28517 _ACEOF
28518 rm -f conftest.$ac_objext conftest$ac_exeext
28519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28520 (eval $ac_link) 2>conftest.er1
28521 ac_status=$?
28522 grep -v '^ *+' conftest.er1 >conftest.err
28523 rm -f conftest.er1
28524 cat conftest.err >&5
28525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28526 (exit $ac_status); } &&
28527 { ac_try='test -z "$ac_cxx_werror_flag"
28528 || test ! -s conftest.err'
28529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28530 (eval $ac_try) 2>&5
28531 ac_status=$?
28532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28533 (exit $ac_status); }; } &&
28534 { ac_try='test -s conftest$ac_exeext'
28535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28536 (eval $ac_try) 2>&5
28537 ac_status=$?
28538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28539 (exit $ac_status); }; }; then
28540 eval "$as_ac_var=yes"
28541 else
28542 echo "$as_me: failed program was:" >&5
28543 sed 's/^/| /' conftest.$ac_ext >&5
28544
28545 eval "$as_ac_var=no"
28546 fi
28547 rm -f conftest.err conftest.$ac_objext \
28548 conftest$ac_exeext conftest.$ac_ext
28549 fi
28550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28552 if test `eval echo '${'$as_ac_var'}'` = yes; then
28553 cat >>confdefs.h <<_ACEOF
28554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28555 _ACEOF
28556
28557 fi
28558 done
28559
28560
28561 if test "$ac_cv_func_vsnprintf" = "yes"; then
28562 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
28563 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
28564 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
28565 echo $ECHO_N "(cached) $ECHO_C" >&6
28566 else
28567
28568 cat >conftest.$ac_ext <<_ACEOF
28569 /* confdefs.h. */
28570 _ACEOF
28571 cat confdefs.h >>conftest.$ac_ext
28572 cat >>conftest.$ac_ext <<_ACEOF
28573 /* end confdefs.h. */
28574
28575 #include <stdio.h>
28576 #include <stdarg.h>
28577
28578 int
28579 main ()
28580 {
28581
28582 char *buf;
28583 va_list ap;
28584 vsnprintf(buf, 10u, "%s", ap);
28585
28586 ;
28587 return 0;
28588 }
28589 _ACEOF
28590 rm -f conftest.$ac_objext
28591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28592 (eval $ac_compile) 2>conftest.er1
28593 ac_status=$?
28594 grep -v '^ *+' conftest.er1 >conftest.err
28595 rm -f conftest.er1
28596 cat conftest.err >&5
28597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28598 (exit $ac_status); } &&
28599 { ac_try='test -z "$ac_cxx_werror_flag"
28600 || test ! -s conftest.err'
28601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28602 (eval $ac_try) 2>&5
28603 ac_status=$?
28604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28605 (exit $ac_status); }; } &&
28606 { ac_try='test -s conftest.$ac_objext'
28607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28608 (eval $ac_try) 2>&5
28609 ac_status=$?
28610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28611 (exit $ac_status); }; }; then
28612 wx_cv_func_vsnprintf_decl=yes
28613 else
28614 echo "$as_me: failed program was:" >&5
28615 sed 's/^/| /' conftest.$ac_ext >&5
28616
28617 wx_cv_func_vsnprintf_decl=no
28618
28619 fi
28620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28621
28622
28623 fi
28624 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
28625 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
28626
28627 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
28628 cat >>confdefs.h <<\_ACEOF
28629 #define HAVE_VSNPRINTF_DECL 1
28630 _ACEOF
28631
28632 fi
28633 fi
28634
28635 if test "$wxUSE_UNICODE" = yes; then
28636
28637
28638
28639 for ac_func in fputwc wprintf vswprintf
28640 do
28641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28642 echo "$as_me:$LINENO: checking for $ac_func" >&5
28643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28644 if eval "test \"\${$as_ac_var+set}\" = set"; then
28645 echo $ECHO_N "(cached) $ECHO_C" >&6
28646 else
28647 cat >conftest.$ac_ext <<_ACEOF
28648 /* confdefs.h. */
28649 _ACEOF
28650 cat confdefs.h >>conftest.$ac_ext
28651 cat >>conftest.$ac_ext <<_ACEOF
28652 /* end confdefs.h. */
28653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28655 #define $ac_func innocuous_$ac_func
28656
28657 /* System header to define __stub macros and hopefully few prototypes,
28658 which can conflict with char $ac_func (); below.
28659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28660 <limits.h> exists even on freestanding compilers. */
28661
28662 #ifdef __STDC__
28663 # include <limits.h>
28664 #else
28665 # include <assert.h>
28666 #endif
28667
28668 #undef $ac_func
28669
28670 /* Override any gcc2 internal prototype to avoid an error. */
28671 #ifdef __cplusplus
28672 extern "C"
28673 {
28674 #endif
28675 /* We use char because int might match the return type of a gcc2
28676 builtin and then its argument prototype would still apply. */
28677 char $ac_func ();
28678 /* The GNU C library defines this for functions which it implements
28679 to always fail with ENOSYS. Some functions are actually named
28680 something starting with __ and the normal name is an alias. */
28681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28682 choke me
28683 #else
28684 char (*f) () = $ac_func;
28685 #endif
28686 #ifdef __cplusplus
28687 }
28688 #endif
28689
28690 int
28691 main ()
28692 {
28693 return f != $ac_func;
28694 ;
28695 return 0;
28696 }
28697 _ACEOF
28698 rm -f conftest.$ac_objext conftest$ac_exeext
28699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28700 (eval $ac_link) 2>conftest.er1
28701 ac_status=$?
28702 grep -v '^ *+' conftest.er1 >conftest.err
28703 rm -f conftest.er1
28704 cat conftest.err >&5
28705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28706 (exit $ac_status); } &&
28707 { ac_try='test -z "$ac_cxx_werror_flag"
28708 || test ! -s conftest.err'
28709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28710 (eval $ac_try) 2>&5
28711 ac_status=$?
28712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28713 (exit $ac_status); }; } &&
28714 { ac_try='test -s conftest$ac_exeext'
28715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28716 (eval $ac_try) 2>&5
28717 ac_status=$?
28718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28719 (exit $ac_status); }; }; then
28720 eval "$as_ac_var=yes"
28721 else
28722 echo "$as_me: failed program was:" >&5
28723 sed 's/^/| /' conftest.$ac_ext >&5
28724
28725 eval "$as_ac_var=no"
28726 fi
28727 rm -f conftest.err conftest.$ac_objext \
28728 conftest$ac_exeext conftest.$ac_ext
28729 fi
28730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28732 if test `eval echo '${'$as_ac_var'}'` = yes; then
28733 cat >>confdefs.h <<_ACEOF
28734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28735 _ACEOF
28736
28737 fi
28738 done
28739
28740
28741 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
28742 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
28743 cat >conftest.$ac_ext <<_ACEOF
28744 /* confdefs.h. */
28745 _ACEOF
28746 cat confdefs.h >>conftest.$ac_ext
28747 cat >>conftest.$ac_ext <<_ACEOF
28748 /* end confdefs.h. */
28749 #include <wchar.h>
28750 int
28751 main ()
28752 {
28753 &_vsnwprintf;
28754 ;
28755 return 0;
28756 }
28757 _ACEOF
28758 rm -f conftest.$ac_objext
28759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28760 (eval $ac_compile) 2>conftest.er1
28761 ac_status=$?
28762 grep -v '^ *+' conftest.er1 >conftest.err
28763 rm -f conftest.er1
28764 cat conftest.err >&5
28765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28766 (exit $ac_status); } &&
28767 { ac_try='test -z "$ac_cxx_werror_flag"
28768 || test ! -s conftest.err'
28769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28770 (eval $ac_try) 2>&5
28771 ac_status=$?
28772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28773 (exit $ac_status); }; } &&
28774 { ac_try='test -s conftest.$ac_objext'
28775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28776 (eval $ac_try) 2>&5
28777 ac_status=$?
28778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28779 (exit $ac_status); }; }; then
28780 echo "$as_me:$LINENO: result: yes" >&5
28781 echo "${ECHO_T}yes" >&6
28782 cat >>confdefs.h <<\_ACEOF
28783 #define HAVE__VSNWPRINTF 1
28784 _ACEOF
28785
28786 else
28787 echo "$as_me: failed program was:" >&5
28788 sed 's/^/| /' conftest.$ac_ext >&5
28789
28790 echo "$as_me:$LINENO: result: no" >&5
28791 echo "${ECHO_T}no" >&6
28792 fi
28793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
28794 fi
28795
28796 ac_ext=c
28797 ac_cpp='$CPP $CPPFLAGS'
28798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28801
28802
28803
28804
28805 if test "$TOOLKIT" != "MSW"; then
28806
28807
28808
28809
28810 ac_ext=cc
28811 ac_cpp='$CXXCPP $CPPFLAGS'
28812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28815
28816
28817
28818
28819 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
28820 if test "${with_libiconv_prefix+set}" = set; then
28821 withval="$with_libiconv_prefix"
28822
28823 for dir in `echo "$withval" | tr : ' '`; do
28824 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
28825 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
28826 done
28827
28828 fi;
28829
28830 echo "$as_me:$LINENO: checking for iconv" >&5
28831 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
28832 if test "${am_cv_func_iconv+set}" = set; then
28833 echo $ECHO_N "(cached) $ECHO_C" >&6
28834 else
28835
28836 am_cv_func_iconv="no, consider installing GNU libiconv"
28837 am_cv_lib_iconv=no
28838 cat >conftest.$ac_ext <<_ACEOF
28839 /* confdefs.h. */
28840 _ACEOF
28841 cat confdefs.h >>conftest.$ac_ext
28842 cat >>conftest.$ac_ext <<_ACEOF
28843 /* end confdefs.h. */
28844 #include <stdlib.h>
28845 #include <iconv.h>
28846 int
28847 main ()
28848 {
28849 iconv_t cd = iconv_open("","");
28850 iconv(cd,NULL,NULL,NULL,NULL);
28851 iconv_close(cd);
28852 ;
28853 return 0;
28854 }
28855 _ACEOF
28856 rm -f conftest.$ac_objext conftest$ac_exeext
28857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28858 (eval $ac_link) 2>conftest.er1
28859 ac_status=$?
28860 grep -v '^ *+' conftest.er1 >conftest.err
28861 rm -f conftest.er1
28862 cat conftest.err >&5
28863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28864 (exit $ac_status); } &&
28865 { ac_try='test -z "$ac_cxx_werror_flag"
28866 || test ! -s conftest.err'
28867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28868 (eval $ac_try) 2>&5
28869 ac_status=$?
28870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28871 (exit $ac_status); }; } &&
28872 { ac_try='test -s conftest$ac_exeext'
28873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28874 (eval $ac_try) 2>&5
28875 ac_status=$?
28876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28877 (exit $ac_status); }; }; then
28878 am_cv_func_iconv=yes
28879 else
28880 echo "$as_me: failed program was:" >&5
28881 sed 's/^/| /' conftest.$ac_ext >&5
28882
28883 fi
28884 rm -f conftest.err conftest.$ac_objext \
28885 conftest$ac_exeext conftest.$ac_ext
28886 if test "$am_cv_func_iconv" != yes; then
28887 am_save_LIBS="$LIBS"
28888 LIBS="$LIBS -liconv"
28889 cat >conftest.$ac_ext <<_ACEOF
28890 /* confdefs.h. */
28891 _ACEOF
28892 cat confdefs.h >>conftest.$ac_ext
28893 cat >>conftest.$ac_ext <<_ACEOF
28894 /* end confdefs.h. */
28895 #include <stdlib.h>
28896 #include <iconv.h>
28897 int
28898 main ()
28899 {
28900 iconv_t cd = iconv_open("","");
28901 iconv(cd,NULL,NULL,NULL,NULL);
28902 iconv_close(cd);
28903 ;
28904 return 0;
28905 }
28906 _ACEOF
28907 rm -f conftest.$ac_objext conftest$ac_exeext
28908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28909 (eval $ac_link) 2>conftest.er1
28910 ac_status=$?
28911 grep -v '^ *+' conftest.er1 >conftest.err
28912 rm -f conftest.er1
28913 cat conftest.err >&5
28914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28915 (exit $ac_status); } &&
28916 { ac_try='test -z "$ac_cxx_werror_flag"
28917 || test ! -s conftest.err'
28918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28919 (eval $ac_try) 2>&5
28920 ac_status=$?
28921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28922 (exit $ac_status); }; } &&
28923 { ac_try='test -s conftest$ac_exeext'
28924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28925 (eval $ac_try) 2>&5
28926 ac_status=$?
28927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28928 (exit $ac_status); }; }; then
28929 am_cv_lib_iconv=yes
28930 am_cv_func_iconv=yes
28931 else
28932 echo "$as_me: failed program was:" >&5
28933 sed 's/^/| /' conftest.$ac_ext >&5
28934
28935 fi
28936 rm -f conftest.err conftest.$ac_objext \
28937 conftest$ac_exeext conftest.$ac_ext
28938 LIBS="$am_save_LIBS"
28939 fi
28940
28941 fi
28942 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
28943 echo "${ECHO_T}$am_cv_func_iconv" >&6
28944 if test "$am_cv_func_iconv" = yes; then
28945
28946 cat >>confdefs.h <<\_ACEOF
28947 #define HAVE_ICONV 1
28948 _ACEOF
28949
28950 echo "$as_me:$LINENO: checking if iconv needs const" >&5
28951 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
28952 if test "${wx_cv_func_iconv_const+set}" = set; then
28953 echo $ECHO_N "(cached) $ECHO_C" >&6
28954 else
28955 cat >conftest.$ac_ext <<_ACEOF
28956 /* confdefs.h. */
28957 _ACEOF
28958 cat confdefs.h >>conftest.$ac_ext
28959 cat >>conftest.$ac_ext <<_ACEOF
28960 /* end confdefs.h. */
28961
28962 #include <stdlib.h>
28963 #include <iconv.h>
28964 extern
28965 #ifdef __cplusplus
28966 "C"
28967 #endif
28968 #if defined(__STDC__) || defined(__cplusplus)
28969 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28970 #else
28971 size_t iconv();
28972 #endif
28973
28974 int
28975 main ()
28976 {
28977
28978 ;
28979 return 0;
28980 }
28981 _ACEOF
28982 rm -f conftest.$ac_objext
28983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28984 (eval $ac_compile) 2>conftest.er1
28985 ac_status=$?
28986 grep -v '^ *+' conftest.er1 >conftest.err
28987 rm -f conftest.er1
28988 cat conftest.err >&5
28989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28990 (exit $ac_status); } &&
28991 { ac_try='test -z "$ac_cxx_werror_flag"
28992 || test ! -s conftest.err'
28993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28994 (eval $ac_try) 2>&5
28995 ac_status=$?
28996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28997 (exit $ac_status); }; } &&
28998 { ac_try='test -s conftest.$ac_objext'
28999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29000 (eval $ac_try) 2>&5
29001 ac_status=$?
29002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29003 (exit $ac_status); }; }; then
29004 wx_cv_func_iconv_const="no"
29005 else
29006 echo "$as_me: failed program was:" >&5
29007 sed 's/^/| /' conftest.$ac_ext >&5
29008
29009 wx_cv_func_iconv_const="yes"
29010
29011 fi
29012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29013
29014 fi
29015 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29016 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29017
29018 iconv_const=
29019 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29020 iconv_const="const"
29021 fi
29022
29023
29024 cat >>confdefs.h <<_ACEOF
29025 #define ICONV_CONST $iconv_const
29026 _ACEOF
29027
29028 fi
29029 LIBICONV=
29030 if test "$am_cv_lib_iconv" = yes; then
29031 LIBICONV="-liconv"
29032 fi
29033
29034
29035 LIBS="$LIBICONV $LIBS"
29036 ac_ext=c
29037 ac_cpp='$CPP $CPPFLAGS'
29038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29041
29042
29043 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29044
29045 for ac_func in sigaction
29046 do
29047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29048 echo "$as_me:$LINENO: checking for $ac_func" >&5
29049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29050 if eval "test \"\${$as_ac_var+set}\" = set"; then
29051 echo $ECHO_N "(cached) $ECHO_C" >&6
29052 else
29053 cat >conftest.$ac_ext <<_ACEOF
29054 /* confdefs.h. */
29055 _ACEOF
29056 cat confdefs.h >>conftest.$ac_ext
29057 cat >>conftest.$ac_ext <<_ACEOF
29058 /* end confdefs.h. */
29059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29061 #define $ac_func innocuous_$ac_func
29062
29063 /* System header to define __stub macros and hopefully few prototypes,
29064 which can conflict with char $ac_func (); below.
29065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29066 <limits.h> exists even on freestanding compilers. */
29067
29068 #ifdef __STDC__
29069 # include <limits.h>
29070 #else
29071 # include <assert.h>
29072 #endif
29073
29074 #undef $ac_func
29075
29076 /* Override any gcc2 internal prototype to avoid an error. */
29077 #ifdef __cplusplus
29078 extern "C"
29079 {
29080 #endif
29081 /* We use char because int might match the return type of a gcc2
29082 builtin and then its argument prototype would still apply. */
29083 char $ac_func ();
29084 /* The GNU C library defines this for functions which it implements
29085 to always fail with ENOSYS. Some functions are actually named
29086 something starting with __ and the normal name is an alias. */
29087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29088 choke me
29089 #else
29090 char (*f) () = $ac_func;
29091 #endif
29092 #ifdef __cplusplus
29093 }
29094 #endif
29095
29096 int
29097 main ()
29098 {
29099 return f != $ac_func;
29100 ;
29101 return 0;
29102 }
29103 _ACEOF
29104 rm -f conftest.$ac_objext conftest$ac_exeext
29105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29106 (eval $ac_link) 2>conftest.er1
29107 ac_status=$?
29108 grep -v '^ *+' conftest.er1 >conftest.err
29109 rm -f conftest.er1
29110 cat conftest.err >&5
29111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29112 (exit $ac_status); } &&
29113 { ac_try='test -z "$ac_c_werror_flag"
29114 || test ! -s conftest.err'
29115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29116 (eval $ac_try) 2>&5
29117 ac_status=$?
29118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29119 (exit $ac_status); }; } &&
29120 { ac_try='test -s conftest$ac_exeext'
29121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29122 (eval $ac_try) 2>&5
29123 ac_status=$?
29124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29125 (exit $ac_status); }; }; then
29126 eval "$as_ac_var=yes"
29127 else
29128 echo "$as_me: failed program was:" >&5
29129 sed 's/^/| /' conftest.$ac_ext >&5
29130
29131 eval "$as_ac_var=no"
29132 fi
29133 rm -f conftest.err conftest.$ac_objext \
29134 conftest$ac_exeext conftest.$ac_ext
29135 fi
29136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29138 if test `eval echo '${'$as_ac_var'}'` = yes; then
29139 cat >>confdefs.h <<_ACEOF
29140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29141 _ACEOF
29142
29143 fi
29144 done
29145
29146
29147 if test "$ac_cv_func_sigaction" = "no"; then
29148 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29149 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29150 wxUSE_ON_FATAL_EXCEPTION=no
29151 fi
29152
29153 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29154
29155
29156 ac_ext=cc
29157 ac_cpp='$CXXCPP $CPPFLAGS'
29158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29161
29162
29163 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29164 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29165 if test "${wx_cv_type_sa_handler+set}" = set; then
29166 echo $ECHO_N "(cached) $ECHO_C" >&6
29167 else
29168
29169 cat >conftest.$ac_ext <<_ACEOF
29170 /* confdefs.h. */
29171 _ACEOF
29172 cat confdefs.h >>conftest.$ac_ext
29173 cat >>conftest.$ac_ext <<_ACEOF
29174 /* end confdefs.h. */
29175 #include <signal.h>
29176 int
29177 main ()
29178 {
29179
29180 extern void testSigHandler(int);
29181
29182 struct sigaction sa;
29183 sa.sa_handler = testSigHandler;
29184
29185 ;
29186 return 0;
29187 }
29188 _ACEOF
29189 rm -f conftest.$ac_objext
29190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29191 (eval $ac_compile) 2>conftest.er1
29192 ac_status=$?
29193 grep -v '^ *+' conftest.er1 >conftest.err
29194 rm -f conftest.er1
29195 cat conftest.err >&5
29196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29197 (exit $ac_status); } &&
29198 { ac_try='test -z "$ac_cxx_werror_flag"
29199 || test ! -s conftest.err'
29200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29201 (eval $ac_try) 2>&5
29202 ac_status=$?
29203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29204 (exit $ac_status); }; } &&
29205 { ac_try='test -s conftest.$ac_objext'
29206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29207 (eval $ac_try) 2>&5
29208 ac_status=$?
29209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29210 (exit $ac_status); }; }; then
29211
29212 wx_cv_type_sa_handler=int
29213
29214 else
29215 echo "$as_me: failed program was:" >&5
29216 sed 's/^/| /' conftest.$ac_ext >&5
29217
29218
29219 wx_cv_type_sa_handler=void
29220
29221 fi
29222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29223
29224 fi
29225 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29226 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29227
29228 ac_ext=c
29229 ac_cpp='$CPP $CPPFLAGS'
29230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29233
29234
29235 cat >>confdefs.h <<_ACEOF
29236 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29237 _ACEOF
29238
29239 fi
29240 fi
29241
29242
29243
29244 for ac_func in mkstemp mktemp
29245 do
29246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29247 echo "$as_me:$LINENO: checking for $ac_func" >&5
29248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29249 if eval "test \"\${$as_ac_var+set}\" = set"; then
29250 echo $ECHO_N "(cached) $ECHO_C" >&6
29251 else
29252 cat >conftest.$ac_ext <<_ACEOF
29253 /* confdefs.h. */
29254 _ACEOF
29255 cat confdefs.h >>conftest.$ac_ext
29256 cat >>conftest.$ac_ext <<_ACEOF
29257 /* end confdefs.h. */
29258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29260 #define $ac_func innocuous_$ac_func
29261
29262 /* System header to define __stub macros and hopefully few prototypes,
29263 which can conflict with char $ac_func (); below.
29264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29265 <limits.h> exists even on freestanding compilers. */
29266
29267 #ifdef __STDC__
29268 # include <limits.h>
29269 #else
29270 # include <assert.h>
29271 #endif
29272
29273 #undef $ac_func
29274
29275 /* Override any gcc2 internal prototype to avoid an error. */
29276 #ifdef __cplusplus
29277 extern "C"
29278 {
29279 #endif
29280 /* We use char because int might match the return type of a gcc2
29281 builtin and then its argument prototype would still apply. */
29282 char $ac_func ();
29283 /* The GNU C library defines this for functions which it implements
29284 to always fail with ENOSYS. Some functions are actually named
29285 something starting with __ and the normal name is an alias. */
29286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29287 choke me
29288 #else
29289 char (*f) () = $ac_func;
29290 #endif
29291 #ifdef __cplusplus
29292 }
29293 #endif
29294
29295 int
29296 main ()
29297 {
29298 return f != $ac_func;
29299 ;
29300 return 0;
29301 }
29302 _ACEOF
29303 rm -f conftest.$ac_objext conftest$ac_exeext
29304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29305 (eval $ac_link) 2>conftest.er1
29306 ac_status=$?
29307 grep -v '^ *+' conftest.er1 >conftest.err
29308 rm -f conftest.er1
29309 cat conftest.err >&5
29310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29311 (exit $ac_status); } &&
29312 { ac_try='test -z "$ac_c_werror_flag"
29313 || test ! -s conftest.err'
29314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29315 (eval $ac_try) 2>&5
29316 ac_status=$?
29317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29318 (exit $ac_status); }; } &&
29319 { ac_try='test -s conftest$ac_exeext'
29320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29321 (eval $ac_try) 2>&5
29322 ac_status=$?
29323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29324 (exit $ac_status); }; }; then
29325 eval "$as_ac_var=yes"
29326 else
29327 echo "$as_me: failed program was:" >&5
29328 sed 's/^/| /' conftest.$ac_ext >&5
29329
29330 eval "$as_ac_var=no"
29331 fi
29332 rm -f conftest.err conftest.$ac_objext \
29333 conftest$ac_exeext conftest.$ac_ext
29334 fi
29335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29337 if test `eval echo '${'$as_ac_var'}'` = yes; then
29338 cat >>confdefs.h <<_ACEOF
29339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29340 _ACEOF
29341 break
29342 fi
29343 done
29344
29345
29346 echo "$as_me:$LINENO: checking for statfs" >&5
29347 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
29348 if test "${wx_cv_func_statfs+set}" = set; then
29349 echo $ECHO_N "(cached) $ECHO_C" >&6
29350 else
29351 cat >conftest.$ac_ext <<_ACEOF
29352 /* confdefs.h. */
29353 _ACEOF
29354 cat confdefs.h >>conftest.$ac_ext
29355 cat >>conftest.$ac_ext <<_ACEOF
29356 /* end confdefs.h. */
29357
29358 #if defined(__BSD__)
29359 #include <sys/param.h>
29360 #include <sys/mount.h>
29361 #else
29362 #include <sys/vfs.h>
29363 #endif
29364
29365 int
29366 main ()
29367 {
29368
29369 long l;
29370 struct statfs fs;
29371 statfs("/", &fs);
29372 l = fs.f_bsize;
29373 l += fs.f_blocks;
29374 l += fs.f_bavail;
29375
29376 ;
29377 return 0;
29378 }
29379 _ACEOF
29380 rm -f conftest.$ac_objext
29381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29382 (eval $ac_compile) 2>conftest.er1
29383 ac_status=$?
29384 grep -v '^ *+' conftest.er1 >conftest.err
29385 rm -f conftest.er1
29386 cat conftest.err >&5
29387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29388 (exit $ac_status); } &&
29389 { ac_try='test -z "$ac_c_werror_flag"
29390 || test ! -s conftest.err'
29391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29392 (eval $ac_try) 2>&5
29393 ac_status=$?
29394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29395 (exit $ac_status); }; } &&
29396 { ac_try='test -s conftest.$ac_objext'
29397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29398 (eval $ac_try) 2>&5
29399 ac_status=$?
29400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29401 (exit $ac_status); }; }; then
29402
29403 wx_cv_func_statfs=yes
29404
29405 else
29406 echo "$as_me: failed program was:" >&5
29407 sed 's/^/| /' conftest.$ac_ext >&5
29408
29409
29410 wx_cv_func_statfs=no
29411
29412
29413 fi
29414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29415
29416 fi
29417 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
29418 echo "${ECHO_T}$wx_cv_func_statfs" >&6
29419
29420 if test "$wx_cv_func_statfs" = "yes"; then
29421 wx_cv_type_statvfs_t="struct statfs"
29422 cat >>confdefs.h <<\_ACEOF
29423 #define HAVE_STATFS 1
29424 _ACEOF
29425
29426 else
29427 echo "$as_me:$LINENO: checking for statvfs" >&5
29428 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
29429 if test "${wx_cv_func_statvfs+set}" = set; then
29430 echo $ECHO_N "(cached) $ECHO_C" >&6
29431 else
29432 cat >conftest.$ac_ext <<_ACEOF
29433 /* confdefs.h. */
29434 _ACEOF
29435 cat confdefs.h >>conftest.$ac_ext
29436 cat >>conftest.$ac_ext <<_ACEOF
29437 /* end confdefs.h. */
29438
29439 #include <stddef.h>
29440 #include <sys/statvfs.h>
29441
29442 int
29443 main ()
29444 {
29445
29446 statvfs("/", NULL);
29447
29448 ;
29449 return 0;
29450 }
29451 _ACEOF
29452 rm -f conftest.$ac_objext
29453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29454 (eval $ac_compile) 2>conftest.er1
29455 ac_status=$?
29456 grep -v '^ *+' conftest.er1 >conftest.err
29457 rm -f conftest.er1
29458 cat conftest.err >&5
29459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29460 (exit $ac_status); } &&
29461 { ac_try='test -z "$ac_c_werror_flag"
29462 || test ! -s conftest.err'
29463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29464 (eval $ac_try) 2>&5
29465 ac_status=$?
29466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29467 (exit $ac_status); }; } &&
29468 { ac_try='test -s conftest.$ac_objext'
29469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29470 (eval $ac_try) 2>&5
29471 ac_status=$?
29472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29473 (exit $ac_status); }; }; then
29474 wx_cv_func_statvfs=yes
29475 else
29476 echo "$as_me: failed program was:" >&5
29477 sed 's/^/| /' conftest.$ac_ext >&5
29478
29479 wx_cv_func_statvfs=no
29480
29481 fi
29482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29483
29484 fi
29485 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
29486 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
29487
29488 if test "$wx_cv_func_statvfs" = "yes"; then
29489
29490
29491 ac_ext=cc
29492 ac_cpp='$CXXCPP $CPPFLAGS'
29493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29496
29497
29498 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
29499 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
29500 if test "${wx_cv_type_statvfs_t+set}" = set; then
29501 echo $ECHO_N "(cached) $ECHO_C" >&6
29502 else
29503 cat >conftest.$ac_ext <<_ACEOF
29504 /* confdefs.h. */
29505 _ACEOF
29506 cat confdefs.h >>conftest.$ac_ext
29507 cat >>conftest.$ac_ext <<_ACEOF
29508 /* end confdefs.h. */
29509
29510 #include <sys/statvfs.h>
29511
29512 int
29513 main ()
29514 {
29515
29516 long l;
29517 statvfs_t fs;
29518 statvfs("/", &fs);
29519 l = fs.f_bsize;
29520 l += fs.f_blocks;
29521 l += fs.f_bavail;
29522
29523 ;
29524 return 0;
29525 }
29526 _ACEOF
29527 rm -f conftest.$ac_objext
29528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29529 (eval $ac_compile) 2>conftest.er1
29530 ac_status=$?
29531 grep -v '^ *+' conftest.er1 >conftest.err
29532 rm -f conftest.er1
29533 cat conftest.err >&5
29534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29535 (exit $ac_status); } &&
29536 { ac_try='test -z "$ac_cxx_werror_flag"
29537 || test ! -s conftest.err'
29538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29539 (eval $ac_try) 2>&5
29540 ac_status=$?
29541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29542 (exit $ac_status); }; } &&
29543 { ac_try='test -s conftest.$ac_objext'
29544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29545 (eval $ac_try) 2>&5
29546 ac_status=$?
29547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29548 (exit $ac_status); }; }; then
29549 wx_cv_type_statvfs_t=statvfs_t
29550 else
29551 echo "$as_me: failed program was:" >&5
29552 sed 's/^/| /' conftest.$ac_ext >&5
29553
29554
29555 cat >conftest.$ac_ext <<_ACEOF
29556 /* confdefs.h. */
29557 _ACEOF
29558 cat confdefs.h >>conftest.$ac_ext
29559 cat >>conftest.$ac_ext <<_ACEOF
29560 /* end confdefs.h. */
29561
29562 #include <sys/statvfs.h>
29563
29564 int
29565 main ()
29566 {
29567
29568 long l;
29569 struct statvfs fs;
29570 statvfs("/", &fs);
29571 l = fs.f_bsize;
29572 l += fs.f_blocks;
29573 l += fs.f_bavail;
29574
29575 ;
29576 return 0;
29577 }
29578 _ACEOF
29579 rm -f conftest.$ac_objext
29580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29581 (eval $ac_compile) 2>conftest.er1
29582 ac_status=$?
29583 grep -v '^ *+' conftest.er1 >conftest.err
29584 rm -f conftest.er1
29585 cat conftest.err >&5
29586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29587 (exit $ac_status); } &&
29588 { ac_try='test -z "$ac_cxx_werror_flag"
29589 || test ! -s conftest.err'
29590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29591 (eval $ac_try) 2>&5
29592 ac_status=$?
29593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29594 (exit $ac_status); }; } &&
29595 { ac_try='test -s conftest.$ac_objext'
29596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29597 (eval $ac_try) 2>&5
29598 ac_status=$?
29599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29600 (exit $ac_status); }; }; then
29601 wx_cv_type_statvfs_t="struct statvfs"
29602 else
29603 echo "$as_me: failed program was:" >&5
29604 sed 's/^/| /' conftest.$ac_ext >&5
29605
29606 wx_cv_type_statvfs_t="unknown"
29607
29608 fi
29609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29610
29611
29612 fi
29613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29614
29615 fi
29616 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
29617 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
29618
29619 ac_ext=c
29620 ac_cpp='$CPP $CPPFLAGS'
29621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29624
29625
29626 if test "$wx_cv_type_statvfs_t" != "unknown"; then
29627 cat >>confdefs.h <<\_ACEOF
29628 #define HAVE_STATVFS 1
29629 _ACEOF
29630
29631 fi
29632 else
29633 wx_cv_type_statvfs_t="unknown"
29634 fi
29635 fi
29636
29637 if test "$wx_cv_type_statvfs_t" != "unknown"; then
29638 cat >>confdefs.h <<_ACEOF
29639 #define WX_STATFS_T $wx_cv_type_statvfs_t
29640 _ACEOF
29641
29642 else
29643 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
29644 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
29645 fi
29646
29647 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
29648
29649
29650 for ac_func in fcntl flock
29651 do
29652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29653 echo "$as_me:$LINENO: checking for $ac_func" >&5
29654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29655 if eval "test \"\${$as_ac_var+set}\" = set"; then
29656 echo $ECHO_N "(cached) $ECHO_C" >&6
29657 else
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29666 #define $ac_func innocuous_$ac_func
29667
29668 /* System header to define __stub macros and hopefully few prototypes,
29669 which can conflict with char $ac_func (); below.
29670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29671 <limits.h> exists even on freestanding compilers. */
29672
29673 #ifdef __STDC__
29674 # include <limits.h>
29675 #else
29676 # include <assert.h>
29677 #endif
29678
29679 #undef $ac_func
29680
29681 /* Override any gcc2 internal prototype to avoid an error. */
29682 #ifdef __cplusplus
29683 extern "C"
29684 {
29685 #endif
29686 /* We use char because int might match the return type of a gcc2
29687 builtin and then its argument prototype would still apply. */
29688 char $ac_func ();
29689 /* The GNU C library defines this for functions which it implements
29690 to always fail with ENOSYS. Some functions are actually named
29691 something starting with __ and the normal name is an alias. */
29692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29693 choke me
29694 #else
29695 char (*f) () = $ac_func;
29696 #endif
29697 #ifdef __cplusplus
29698 }
29699 #endif
29700
29701 int
29702 main ()
29703 {
29704 return f != $ac_func;
29705 ;
29706 return 0;
29707 }
29708 _ACEOF
29709 rm -f conftest.$ac_objext conftest$ac_exeext
29710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29711 (eval $ac_link) 2>conftest.er1
29712 ac_status=$?
29713 grep -v '^ *+' conftest.er1 >conftest.err
29714 rm -f conftest.er1
29715 cat conftest.err >&5
29716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29717 (exit $ac_status); } &&
29718 { ac_try='test -z "$ac_c_werror_flag"
29719 || test ! -s conftest.err'
29720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29721 (eval $ac_try) 2>&5
29722 ac_status=$?
29723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29724 (exit $ac_status); }; } &&
29725 { ac_try='test -s conftest$ac_exeext'
29726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29727 (eval $ac_try) 2>&5
29728 ac_status=$?
29729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29730 (exit $ac_status); }; }; then
29731 eval "$as_ac_var=yes"
29732 else
29733 echo "$as_me: failed program was:" >&5
29734 sed 's/^/| /' conftest.$ac_ext >&5
29735
29736 eval "$as_ac_var=no"
29737 fi
29738 rm -f conftest.err conftest.$ac_objext \
29739 conftest$ac_exeext conftest.$ac_ext
29740 fi
29741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29743 if test `eval echo '${'$as_ac_var'}'` = yes; then
29744 cat >>confdefs.h <<_ACEOF
29745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29746 _ACEOF
29747 break
29748 fi
29749 done
29750
29751
29752 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
29753 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
29754 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
29755 wxUSE_SNGLINST_CHECKER=no
29756 fi
29757 fi
29758
29759
29760 for ac_func in timegm
29761 do
29762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29763 echo "$as_me:$LINENO: checking for $ac_func" >&5
29764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29765 if eval "test \"\${$as_ac_var+set}\" = set"; then
29766 echo $ECHO_N "(cached) $ECHO_C" >&6
29767 else
29768 cat >conftest.$ac_ext <<_ACEOF
29769 /* confdefs.h. */
29770 _ACEOF
29771 cat confdefs.h >>conftest.$ac_ext
29772 cat >>conftest.$ac_ext <<_ACEOF
29773 /* end confdefs.h. */
29774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29776 #define $ac_func innocuous_$ac_func
29777
29778 /* System header to define __stub macros and hopefully few prototypes,
29779 which can conflict with char $ac_func (); below.
29780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29781 <limits.h> exists even on freestanding compilers. */
29782
29783 #ifdef __STDC__
29784 # include <limits.h>
29785 #else
29786 # include <assert.h>
29787 #endif
29788
29789 #undef $ac_func
29790
29791 /* Override any gcc2 internal prototype to avoid an error. */
29792 #ifdef __cplusplus
29793 extern "C"
29794 {
29795 #endif
29796 /* We use char because int might match the return type of a gcc2
29797 builtin and then its argument prototype would still apply. */
29798 char $ac_func ();
29799 /* The GNU C library defines this for functions which it implements
29800 to always fail with ENOSYS. Some functions are actually named
29801 something starting with __ and the normal name is an alias. */
29802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29803 choke me
29804 #else
29805 char (*f) () = $ac_func;
29806 #endif
29807 #ifdef __cplusplus
29808 }
29809 #endif
29810
29811 int
29812 main ()
29813 {
29814 return f != $ac_func;
29815 ;
29816 return 0;
29817 }
29818 _ACEOF
29819 rm -f conftest.$ac_objext conftest$ac_exeext
29820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29821 (eval $ac_link) 2>conftest.er1
29822 ac_status=$?
29823 grep -v '^ *+' conftest.er1 >conftest.err
29824 rm -f conftest.er1
29825 cat conftest.err >&5
29826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29827 (exit $ac_status); } &&
29828 { ac_try='test -z "$ac_c_werror_flag"
29829 || test ! -s conftest.err'
29830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29831 (eval $ac_try) 2>&5
29832 ac_status=$?
29833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29834 (exit $ac_status); }; } &&
29835 { ac_try='test -s conftest$ac_exeext'
29836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29837 (eval $ac_try) 2>&5
29838 ac_status=$?
29839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29840 (exit $ac_status); }; }; then
29841 eval "$as_ac_var=yes"
29842 else
29843 echo "$as_me: failed program was:" >&5
29844 sed 's/^/| /' conftest.$ac_ext >&5
29845
29846 eval "$as_ac_var=no"
29847 fi
29848 rm -f conftest.err conftest.$ac_objext \
29849 conftest$ac_exeext conftest.$ac_ext
29850 fi
29851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29853 if test `eval echo '${'$as_ac_var'}'` = yes; then
29854 cat >>confdefs.h <<_ACEOF
29855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29856 _ACEOF
29857
29858 fi
29859 done
29860
29861
29862
29863
29864 for ac_func in putenv setenv
29865 do
29866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29867 echo "$as_me:$LINENO: checking for $ac_func" >&5
29868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29869 if eval "test \"\${$as_ac_var+set}\" = set"; then
29870 echo $ECHO_N "(cached) $ECHO_C" >&6
29871 else
29872 cat >conftest.$ac_ext <<_ACEOF
29873 /* confdefs.h. */
29874 _ACEOF
29875 cat confdefs.h >>conftest.$ac_ext
29876 cat >>conftest.$ac_ext <<_ACEOF
29877 /* end confdefs.h. */
29878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29880 #define $ac_func innocuous_$ac_func
29881
29882 /* System header to define __stub macros and hopefully few prototypes,
29883 which can conflict with char $ac_func (); below.
29884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29885 <limits.h> exists even on freestanding compilers. */
29886
29887 #ifdef __STDC__
29888 # include <limits.h>
29889 #else
29890 # include <assert.h>
29891 #endif
29892
29893 #undef $ac_func
29894
29895 /* Override any gcc2 internal prototype to avoid an error. */
29896 #ifdef __cplusplus
29897 extern "C"
29898 {
29899 #endif
29900 /* We use char because int might match the return type of a gcc2
29901 builtin and then its argument prototype would still apply. */
29902 char $ac_func ();
29903 /* The GNU C library defines this for functions which it implements
29904 to always fail with ENOSYS. Some functions are actually named
29905 something starting with __ and the normal name is an alias. */
29906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29907 choke me
29908 #else
29909 char (*f) () = $ac_func;
29910 #endif
29911 #ifdef __cplusplus
29912 }
29913 #endif
29914
29915 int
29916 main ()
29917 {
29918 return f != $ac_func;
29919 ;
29920 return 0;
29921 }
29922 _ACEOF
29923 rm -f conftest.$ac_objext conftest$ac_exeext
29924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29925 (eval $ac_link) 2>conftest.er1
29926 ac_status=$?
29927 grep -v '^ *+' conftest.er1 >conftest.err
29928 rm -f conftest.er1
29929 cat conftest.err >&5
29930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29931 (exit $ac_status); } &&
29932 { ac_try='test -z "$ac_c_werror_flag"
29933 || test ! -s conftest.err'
29934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29935 (eval $ac_try) 2>&5
29936 ac_status=$?
29937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29938 (exit $ac_status); }; } &&
29939 { ac_try='test -s conftest$ac_exeext'
29940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29941 (eval $ac_try) 2>&5
29942 ac_status=$?
29943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29944 (exit $ac_status); }; }; then
29945 eval "$as_ac_var=yes"
29946 else
29947 echo "$as_me: failed program was:" >&5
29948 sed 's/^/| /' conftest.$ac_ext >&5
29949
29950 eval "$as_ac_var=no"
29951 fi
29952 rm -f conftest.err conftest.$ac_objext \
29953 conftest$ac_exeext conftest.$ac_ext
29954 fi
29955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29957 if test `eval echo '${'$as_ac_var'}'` = yes; then
29958 cat >>confdefs.h <<_ACEOF
29959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29960 _ACEOF
29961 break
29962 fi
29963 done
29964
29965
29966 HAVE_SOME_SLEEP_FUNC=0
29967 if test "$USE_BEOS" = 1; then
29968 cat >>confdefs.h <<\_ACEOF
29969 #define HAVE_SLEEP 1
29970 _ACEOF
29971
29972 HAVE_SOME_SLEEP_FUNC=1
29973 fi
29974
29975 if test "$USE_DARWIN" = 1; then
29976 cat >>confdefs.h <<\_ACEOF
29977 #define HAVE_USLEEP 1
29978 _ACEOF
29979
29980 HAVE_SOME_SLEEP_FUNC=1
29981 fi
29982
29983 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
29984 POSIX4_LINK=
29985
29986 for ac_func in nanosleep
29987 do
29988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29989 echo "$as_me:$LINENO: checking for $ac_func" >&5
29990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29991 if eval "test \"\${$as_ac_var+set}\" = set"; then
29992 echo $ECHO_N "(cached) $ECHO_C" >&6
29993 else
29994 cat >conftest.$ac_ext <<_ACEOF
29995 /* confdefs.h. */
29996 _ACEOF
29997 cat confdefs.h >>conftest.$ac_ext
29998 cat >>conftest.$ac_ext <<_ACEOF
29999 /* end confdefs.h. */
30000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30002 #define $ac_func innocuous_$ac_func
30003
30004 /* System header to define __stub macros and hopefully few prototypes,
30005 which can conflict with char $ac_func (); below.
30006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30007 <limits.h> exists even on freestanding compilers. */
30008
30009 #ifdef __STDC__
30010 # include <limits.h>
30011 #else
30012 # include <assert.h>
30013 #endif
30014
30015 #undef $ac_func
30016
30017 /* Override any gcc2 internal prototype to avoid an error. */
30018 #ifdef __cplusplus
30019 extern "C"
30020 {
30021 #endif
30022 /* We use char because int might match the return type of a gcc2
30023 builtin and then its argument prototype would still apply. */
30024 char $ac_func ();
30025 /* The GNU C library defines this for functions which it implements
30026 to always fail with ENOSYS. Some functions are actually named
30027 something starting with __ and the normal name is an alias. */
30028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30029 choke me
30030 #else
30031 char (*f) () = $ac_func;
30032 #endif
30033 #ifdef __cplusplus
30034 }
30035 #endif
30036
30037 int
30038 main ()
30039 {
30040 return f != $ac_func;
30041 ;
30042 return 0;
30043 }
30044 _ACEOF
30045 rm -f conftest.$ac_objext conftest$ac_exeext
30046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30047 (eval $ac_link) 2>conftest.er1
30048 ac_status=$?
30049 grep -v '^ *+' conftest.er1 >conftest.err
30050 rm -f conftest.er1
30051 cat conftest.err >&5
30052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30053 (exit $ac_status); } &&
30054 { ac_try='test -z "$ac_c_werror_flag"
30055 || test ! -s conftest.err'
30056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30057 (eval $ac_try) 2>&5
30058 ac_status=$?
30059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30060 (exit $ac_status); }; } &&
30061 { ac_try='test -s conftest$ac_exeext'
30062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30063 (eval $ac_try) 2>&5
30064 ac_status=$?
30065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30066 (exit $ac_status); }; }; then
30067 eval "$as_ac_var=yes"
30068 else
30069 echo "$as_me: failed program was:" >&5
30070 sed 's/^/| /' conftest.$ac_ext >&5
30071
30072 eval "$as_ac_var=no"
30073 fi
30074 rm -f conftest.err conftest.$ac_objext \
30075 conftest$ac_exeext conftest.$ac_ext
30076 fi
30077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30079 if test `eval echo '${'$as_ac_var'}'` = yes; then
30080 cat >>confdefs.h <<_ACEOF
30081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30082 _ACEOF
30083 cat >>confdefs.h <<\_ACEOF
30084 #define HAVE_NANOSLEEP 1
30085 _ACEOF
30086
30087 else
30088
30089 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30090 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30091 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30092 echo $ECHO_N "(cached) $ECHO_C" >&6
30093 else
30094 ac_check_lib_save_LIBS=$LIBS
30095 LIBS="-lposix4 $LIBS"
30096 cat >conftest.$ac_ext <<_ACEOF
30097 /* confdefs.h. */
30098 _ACEOF
30099 cat confdefs.h >>conftest.$ac_ext
30100 cat >>conftest.$ac_ext <<_ACEOF
30101 /* end confdefs.h. */
30102
30103 /* Override any gcc2 internal prototype to avoid an error. */
30104 #ifdef __cplusplus
30105 extern "C"
30106 #endif
30107 /* We use char because int might match the return type of a gcc2
30108 builtin and then its argument prototype would still apply. */
30109 char nanosleep ();
30110 int
30111 main ()
30112 {
30113 nanosleep ();
30114 ;
30115 return 0;
30116 }
30117 _ACEOF
30118 rm -f conftest.$ac_objext conftest$ac_exeext
30119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30120 (eval $ac_link) 2>conftest.er1
30121 ac_status=$?
30122 grep -v '^ *+' conftest.er1 >conftest.err
30123 rm -f conftest.er1
30124 cat conftest.err >&5
30125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30126 (exit $ac_status); } &&
30127 { ac_try='test -z "$ac_c_werror_flag"
30128 || test ! -s conftest.err'
30129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30130 (eval $ac_try) 2>&5
30131 ac_status=$?
30132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30133 (exit $ac_status); }; } &&
30134 { ac_try='test -s conftest$ac_exeext'
30135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30136 (eval $ac_try) 2>&5
30137 ac_status=$?
30138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30139 (exit $ac_status); }; }; then
30140 ac_cv_lib_posix4_nanosleep=yes
30141 else
30142 echo "$as_me: failed program was:" >&5
30143 sed 's/^/| /' conftest.$ac_ext >&5
30144
30145 ac_cv_lib_posix4_nanosleep=no
30146 fi
30147 rm -f conftest.err conftest.$ac_objext \
30148 conftest$ac_exeext conftest.$ac_ext
30149 LIBS=$ac_check_lib_save_LIBS
30150 fi
30151 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30152 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30153 if test $ac_cv_lib_posix4_nanosleep = yes; then
30154
30155 cat >>confdefs.h <<\_ACEOF
30156 #define HAVE_NANOSLEEP 1
30157 _ACEOF
30158
30159 POSIX4_LINK=" -lposix4"
30160
30161 else
30162
30163
30164 for ac_func in usleep
30165 do
30166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30167 echo "$as_me:$LINENO: checking for $ac_func" >&5
30168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30169 if eval "test \"\${$as_ac_var+set}\" = set"; then
30170 echo $ECHO_N "(cached) $ECHO_C" >&6
30171 else
30172 cat >conftest.$ac_ext <<_ACEOF
30173 /* confdefs.h. */
30174 _ACEOF
30175 cat confdefs.h >>conftest.$ac_ext
30176 cat >>conftest.$ac_ext <<_ACEOF
30177 /* end confdefs.h. */
30178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30180 #define $ac_func innocuous_$ac_func
30181
30182 /* System header to define __stub macros and hopefully few prototypes,
30183 which can conflict with char $ac_func (); below.
30184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30185 <limits.h> exists even on freestanding compilers. */
30186
30187 #ifdef __STDC__
30188 # include <limits.h>
30189 #else
30190 # include <assert.h>
30191 #endif
30192
30193 #undef $ac_func
30194
30195 /* Override any gcc2 internal prototype to avoid an error. */
30196 #ifdef __cplusplus
30197 extern "C"
30198 {
30199 #endif
30200 /* We use char because int might match the return type of a gcc2
30201 builtin and then its argument prototype would still apply. */
30202 char $ac_func ();
30203 /* The GNU C library defines this for functions which it implements
30204 to always fail with ENOSYS. Some functions are actually named
30205 something starting with __ and the normal name is an alias. */
30206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30207 choke me
30208 #else
30209 char (*f) () = $ac_func;
30210 #endif
30211 #ifdef __cplusplus
30212 }
30213 #endif
30214
30215 int
30216 main ()
30217 {
30218 return f != $ac_func;
30219 ;
30220 return 0;
30221 }
30222 _ACEOF
30223 rm -f conftest.$ac_objext conftest$ac_exeext
30224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30225 (eval $ac_link) 2>conftest.er1
30226 ac_status=$?
30227 grep -v '^ *+' conftest.er1 >conftest.err
30228 rm -f conftest.er1
30229 cat conftest.err >&5
30230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30231 (exit $ac_status); } &&
30232 { ac_try='test -z "$ac_c_werror_flag"
30233 || test ! -s conftest.err'
30234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30235 (eval $ac_try) 2>&5
30236 ac_status=$?
30237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30238 (exit $ac_status); }; } &&
30239 { ac_try='test -s conftest$ac_exeext'
30240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30241 (eval $ac_try) 2>&5
30242 ac_status=$?
30243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30244 (exit $ac_status); }; }; then
30245 eval "$as_ac_var=yes"
30246 else
30247 echo "$as_me: failed program was:" >&5
30248 sed 's/^/| /' conftest.$ac_ext >&5
30249
30250 eval "$as_ac_var=no"
30251 fi
30252 rm -f conftest.err conftest.$ac_objext \
30253 conftest$ac_exeext conftest.$ac_ext
30254 fi
30255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30257 if test `eval echo '${'$as_ac_var'}'` = yes; then
30258 cat >>confdefs.h <<_ACEOF
30259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30260 _ACEOF
30261 cat >>confdefs.h <<\_ACEOF
30262 #define HAVE_USLEEP 1
30263 _ACEOF
30264
30265 else
30266 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30267 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30268
30269 fi
30270 done
30271
30272
30273
30274 fi
30275
30276
30277
30278 fi
30279 done
30280
30281 fi
30282
30283
30284
30285 for ac_func in uname gethostname
30286 do
30287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30288 echo "$as_me:$LINENO: checking for $ac_func" >&5
30289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30290 if eval "test \"\${$as_ac_var+set}\" = set"; then
30291 echo $ECHO_N "(cached) $ECHO_C" >&6
30292 else
30293 cat >conftest.$ac_ext <<_ACEOF
30294 /* confdefs.h. */
30295 _ACEOF
30296 cat confdefs.h >>conftest.$ac_ext
30297 cat >>conftest.$ac_ext <<_ACEOF
30298 /* end confdefs.h. */
30299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30301 #define $ac_func innocuous_$ac_func
30302
30303 /* System header to define __stub macros and hopefully few prototypes,
30304 which can conflict with char $ac_func (); below.
30305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30306 <limits.h> exists even on freestanding compilers. */
30307
30308 #ifdef __STDC__
30309 # include <limits.h>
30310 #else
30311 # include <assert.h>
30312 #endif
30313
30314 #undef $ac_func
30315
30316 /* Override any gcc2 internal prototype to avoid an error. */
30317 #ifdef __cplusplus
30318 extern "C"
30319 {
30320 #endif
30321 /* We use char because int might match the return type of a gcc2
30322 builtin and then its argument prototype would still apply. */
30323 char $ac_func ();
30324 /* The GNU C library defines this for functions which it implements
30325 to always fail with ENOSYS. Some functions are actually named
30326 something starting with __ and the normal name is an alias. */
30327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30328 choke me
30329 #else
30330 char (*f) () = $ac_func;
30331 #endif
30332 #ifdef __cplusplus
30333 }
30334 #endif
30335
30336 int
30337 main ()
30338 {
30339 return f != $ac_func;
30340 ;
30341 return 0;
30342 }
30343 _ACEOF
30344 rm -f conftest.$ac_objext conftest$ac_exeext
30345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30346 (eval $ac_link) 2>conftest.er1
30347 ac_status=$?
30348 grep -v '^ *+' conftest.er1 >conftest.err
30349 rm -f conftest.er1
30350 cat conftest.err >&5
30351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30352 (exit $ac_status); } &&
30353 { ac_try='test -z "$ac_c_werror_flag"
30354 || test ! -s conftest.err'
30355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30356 (eval $ac_try) 2>&5
30357 ac_status=$?
30358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30359 (exit $ac_status); }; } &&
30360 { ac_try='test -s conftest$ac_exeext'
30361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30362 (eval $ac_try) 2>&5
30363 ac_status=$?
30364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30365 (exit $ac_status); }; }; then
30366 eval "$as_ac_var=yes"
30367 else
30368 echo "$as_me: failed program was:" >&5
30369 sed 's/^/| /' conftest.$ac_ext >&5
30370
30371 eval "$as_ac_var=no"
30372 fi
30373 rm -f conftest.err conftest.$ac_objext \
30374 conftest$ac_exeext conftest.$ac_ext
30375 fi
30376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30378 if test `eval echo '${'$as_ac_var'}'` = yes; then
30379 cat >>confdefs.h <<_ACEOF
30380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30381 _ACEOF
30382 break
30383 fi
30384 done
30385
30386
30387
30388
30389 ac_ext=cc
30390 ac_cpp='$CXXCPP $CPPFLAGS'
30391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30394
30395
30396
30397 for ac_func in strtok_r
30398 do
30399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30400 echo "$as_me:$LINENO: checking for $ac_func" >&5
30401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30402 if eval "test \"\${$as_ac_var+set}\" = set"; then
30403 echo $ECHO_N "(cached) $ECHO_C" >&6
30404 else
30405 cat >conftest.$ac_ext <<_ACEOF
30406 /* confdefs.h. */
30407 _ACEOF
30408 cat confdefs.h >>conftest.$ac_ext
30409 cat >>conftest.$ac_ext <<_ACEOF
30410 /* end confdefs.h. */
30411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30413 #define $ac_func innocuous_$ac_func
30414
30415 /* System header to define __stub macros and hopefully few prototypes,
30416 which can conflict with char $ac_func (); below.
30417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30418 <limits.h> exists even on freestanding compilers. */
30419
30420 #ifdef __STDC__
30421 # include <limits.h>
30422 #else
30423 # include <assert.h>
30424 #endif
30425
30426 #undef $ac_func
30427
30428 /* Override any gcc2 internal prototype to avoid an error. */
30429 #ifdef __cplusplus
30430 extern "C"
30431 {
30432 #endif
30433 /* We use char because int might match the return type of a gcc2
30434 builtin and then its argument prototype would still apply. */
30435 char $ac_func ();
30436 /* The GNU C library defines this for functions which it implements
30437 to always fail with ENOSYS. Some functions are actually named
30438 something starting with __ and the normal name is an alias. */
30439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30440 choke me
30441 #else
30442 char (*f) () = $ac_func;
30443 #endif
30444 #ifdef __cplusplus
30445 }
30446 #endif
30447
30448 int
30449 main ()
30450 {
30451 return f != $ac_func;
30452 ;
30453 return 0;
30454 }
30455 _ACEOF
30456 rm -f conftest.$ac_objext conftest$ac_exeext
30457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30458 (eval $ac_link) 2>conftest.er1
30459 ac_status=$?
30460 grep -v '^ *+' conftest.er1 >conftest.err
30461 rm -f conftest.er1
30462 cat conftest.err >&5
30463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30464 (exit $ac_status); } &&
30465 { ac_try='test -z "$ac_cxx_werror_flag"
30466 || test ! -s conftest.err'
30467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30468 (eval $ac_try) 2>&5
30469 ac_status=$?
30470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30471 (exit $ac_status); }; } &&
30472 { ac_try='test -s conftest$ac_exeext'
30473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30474 (eval $ac_try) 2>&5
30475 ac_status=$?
30476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30477 (exit $ac_status); }; }; then
30478 eval "$as_ac_var=yes"
30479 else
30480 echo "$as_me: failed program was:" >&5
30481 sed 's/^/| /' conftest.$ac_ext >&5
30482
30483 eval "$as_ac_var=no"
30484 fi
30485 rm -f conftest.err conftest.$ac_objext \
30486 conftest$ac_exeext conftest.$ac_ext
30487 fi
30488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30490 if test `eval echo '${'$as_ac_var'}'` = yes; then
30491 cat >>confdefs.h <<_ACEOF
30492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30493 _ACEOF
30494
30495 fi
30496 done
30497
30498
30499 ac_ext=c
30500 ac_cpp='$CPP $CPPFLAGS'
30501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30504
30505
30506 INET_LINK=
30507
30508 for ac_func in inet_addr
30509 do
30510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30511 echo "$as_me:$LINENO: checking for $ac_func" >&5
30512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30513 if eval "test \"\${$as_ac_var+set}\" = set"; then
30514 echo $ECHO_N "(cached) $ECHO_C" >&6
30515 else
30516 cat >conftest.$ac_ext <<_ACEOF
30517 /* confdefs.h. */
30518 _ACEOF
30519 cat confdefs.h >>conftest.$ac_ext
30520 cat >>conftest.$ac_ext <<_ACEOF
30521 /* end confdefs.h. */
30522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30524 #define $ac_func innocuous_$ac_func
30525
30526 /* System header to define __stub macros and hopefully few prototypes,
30527 which can conflict with char $ac_func (); below.
30528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30529 <limits.h> exists even on freestanding compilers. */
30530
30531 #ifdef __STDC__
30532 # include <limits.h>
30533 #else
30534 # include <assert.h>
30535 #endif
30536
30537 #undef $ac_func
30538
30539 /* Override any gcc2 internal prototype to avoid an error. */
30540 #ifdef __cplusplus
30541 extern "C"
30542 {
30543 #endif
30544 /* We use char because int might match the return type of a gcc2
30545 builtin and then its argument prototype would still apply. */
30546 char $ac_func ();
30547 /* The GNU C library defines this for functions which it implements
30548 to always fail with ENOSYS. Some functions are actually named
30549 something starting with __ and the normal name is an alias. */
30550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30551 choke me
30552 #else
30553 char (*f) () = $ac_func;
30554 #endif
30555 #ifdef __cplusplus
30556 }
30557 #endif
30558
30559 int
30560 main ()
30561 {
30562 return f != $ac_func;
30563 ;
30564 return 0;
30565 }
30566 _ACEOF
30567 rm -f conftest.$ac_objext conftest$ac_exeext
30568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30569 (eval $ac_link) 2>conftest.er1
30570 ac_status=$?
30571 grep -v '^ *+' conftest.er1 >conftest.err
30572 rm -f conftest.er1
30573 cat conftest.err >&5
30574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30575 (exit $ac_status); } &&
30576 { ac_try='test -z "$ac_c_werror_flag"
30577 || test ! -s conftest.err'
30578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30579 (eval $ac_try) 2>&5
30580 ac_status=$?
30581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30582 (exit $ac_status); }; } &&
30583 { ac_try='test -s conftest$ac_exeext'
30584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30585 (eval $ac_try) 2>&5
30586 ac_status=$?
30587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30588 (exit $ac_status); }; }; then
30589 eval "$as_ac_var=yes"
30590 else
30591 echo "$as_me: failed program was:" >&5
30592 sed 's/^/| /' conftest.$ac_ext >&5
30593
30594 eval "$as_ac_var=no"
30595 fi
30596 rm -f conftest.err conftest.$ac_objext \
30597 conftest$ac_exeext conftest.$ac_ext
30598 fi
30599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30601 if test `eval echo '${'$as_ac_var'}'` = yes; then
30602 cat >>confdefs.h <<_ACEOF
30603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30604 _ACEOF
30605 cat >>confdefs.h <<\_ACEOF
30606 #define HAVE_INET_ADDR 1
30607 _ACEOF
30608
30609 else
30610
30611 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
30612 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
30613 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
30614 echo $ECHO_N "(cached) $ECHO_C" >&6
30615 else
30616 ac_check_lib_save_LIBS=$LIBS
30617 LIBS="-lnsl $LIBS"
30618 cat >conftest.$ac_ext <<_ACEOF
30619 /* confdefs.h. */
30620 _ACEOF
30621 cat confdefs.h >>conftest.$ac_ext
30622 cat >>conftest.$ac_ext <<_ACEOF
30623 /* end confdefs.h. */
30624
30625 /* Override any gcc2 internal prototype to avoid an error. */
30626 #ifdef __cplusplus
30627 extern "C"
30628 #endif
30629 /* We use char because int might match the return type of a gcc2
30630 builtin and then its argument prototype would still apply. */
30631 char inet_addr ();
30632 int
30633 main ()
30634 {
30635 inet_addr ();
30636 ;
30637 return 0;
30638 }
30639 _ACEOF
30640 rm -f conftest.$ac_objext conftest$ac_exeext
30641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30642 (eval $ac_link) 2>conftest.er1
30643 ac_status=$?
30644 grep -v '^ *+' conftest.er1 >conftest.err
30645 rm -f conftest.er1
30646 cat conftest.err >&5
30647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30648 (exit $ac_status); } &&
30649 { ac_try='test -z "$ac_c_werror_flag"
30650 || test ! -s conftest.err'
30651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30652 (eval $ac_try) 2>&5
30653 ac_status=$?
30654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30655 (exit $ac_status); }; } &&
30656 { ac_try='test -s conftest$ac_exeext'
30657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30658 (eval $ac_try) 2>&5
30659 ac_status=$?
30660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30661 (exit $ac_status); }; }; then
30662 ac_cv_lib_nsl_inet_addr=yes
30663 else
30664 echo "$as_me: failed program was:" >&5
30665 sed 's/^/| /' conftest.$ac_ext >&5
30666
30667 ac_cv_lib_nsl_inet_addr=no
30668 fi
30669 rm -f conftest.err conftest.$ac_objext \
30670 conftest$ac_exeext conftest.$ac_ext
30671 LIBS=$ac_check_lib_save_LIBS
30672 fi
30673 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
30674 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
30675 if test $ac_cv_lib_nsl_inet_addr = yes; then
30676 INET_LINK="nsl"
30677 else
30678
30679 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
30680 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
30681 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
30682 echo $ECHO_N "(cached) $ECHO_C" >&6
30683 else
30684 ac_check_lib_save_LIBS=$LIBS
30685 LIBS="-lresolv $LIBS"
30686 cat >conftest.$ac_ext <<_ACEOF
30687 /* confdefs.h. */
30688 _ACEOF
30689 cat confdefs.h >>conftest.$ac_ext
30690 cat >>conftest.$ac_ext <<_ACEOF
30691 /* end confdefs.h. */
30692
30693 /* Override any gcc2 internal prototype to avoid an error. */
30694 #ifdef __cplusplus
30695 extern "C"
30696 #endif
30697 /* We use char because int might match the return type of a gcc2
30698 builtin and then its argument prototype would still apply. */
30699 char inet_addr ();
30700 int
30701 main ()
30702 {
30703 inet_addr ();
30704 ;
30705 return 0;
30706 }
30707 _ACEOF
30708 rm -f conftest.$ac_objext conftest$ac_exeext
30709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30710 (eval $ac_link) 2>conftest.er1
30711 ac_status=$?
30712 grep -v '^ *+' conftest.er1 >conftest.err
30713 rm -f conftest.er1
30714 cat conftest.err >&5
30715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30716 (exit $ac_status); } &&
30717 { ac_try='test -z "$ac_c_werror_flag"
30718 || test ! -s conftest.err'
30719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30720 (eval $ac_try) 2>&5
30721 ac_status=$?
30722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30723 (exit $ac_status); }; } &&
30724 { ac_try='test -s conftest$ac_exeext'
30725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30726 (eval $ac_try) 2>&5
30727 ac_status=$?
30728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30729 (exit $ac_status); }; }; then
30730 ac_cv_lib_resolv_inet_addr=yes
30731 else
30732 echo "$as_me: failed program was:" >&5
30733 sed 's/^/| /' conftest.$ac_ext >&5
30734
30735 ac_cv_lib_resolv_inet_addr=no
30736 fi
30737 rm -f conftest.err conftest.$ac_objext \
30738 conftest$ac_exeext conftest.$ac_ext
30739 LIBS=$ac_check_lib_save_LIBS
30740 fi
30741 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
30742 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
30743 if test $ac_cv_lib_resolv_inet_addr = yes; then
30744 INET_LINK="resolv"
30745 else
30746
30747 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
30748 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
30749 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
30750 echo $ECHO_N "(cached) $ECHO_C" >&6
30751 else
30752 ac_check_lib_save_LIBS=$LIBS
30753 LIBS="-lsocket $LIBS"
30754 cat >conftest.$ac_ext <<_ACEOF
30755 /* confdefs.h. */
30756 _ACEOF
30757 cat confdefs.h >>conftest.$ac_ext
30758 cat >>conftest.$ac_ext <<_ACEOF
30759 /* end confdefs.h. */
30760
30761 /* Override any gcc2 internal prototype to avoid an error. */
30762 #ifdef __cplusplus
30763 extern "C"
30764 #endif
30765 /* We use char because int might match the return type of a gcc2
30766 builtin and then its argument prototype would still apply. */
30767 char inet_addr ();
30768 int
30769 main ()
30770 {
30771 inet_addr ();
30772 ;
30773 return 0;
30774 }
30775 _ACEOF
30776 rm -f conftest.$ac_objext conftest$ac_exeext
30777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30778 (eval $ac_link) 2>conftest.er1
30779 ac_status=$?
30780 grep -v '^ *+' conftest.er1 >conftest.err
30781 rm -f conftest.er1
30782 cat conftest.err >&5
30783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30784 (exit $ac_status); } &&
30785 { ac_try='test -z "$ac_c_werror_flag"
30786 || test ! -s conftest.err'
30787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30788 (eval $ac_try) 2>&5
30789 ac_status=$?
30790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30791 (exit $ac_status); }; } &&
30792 { ac_try='test -s conftest$ac_exeext'
30793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30794 (eval $ac_try) 2>&5
30795 ac_status=$?
30796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30797 (exit $ac_status); }; }; then
30798 ac_cv_lib_socket_inet_addr=yes
30799 else
30800 echo "$as_me: failed program was:" >&5
30801 sed 's/^/| /' conftest.$ac_ext >&5
30802
30803 ac_cv_lib_socket_inet_addr=no
30804 fi
30805 rm -f conftest.err conftest.$ac_objext \
30806 conftest$ac_exeext conftest.$ac_ext
30807 LIBS=$ac_check_lib_save_LIBS
30808 fi
30809 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
30810 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
30811 if test $ac_cv_lib_socket_inet_addr = yes; then
30812 INET_LINK="socket"
30813
30814 fi
30815
30816
30817
30818 fi
30819
30820
30821
30822 fi
30823
30824
30825
30826 fi
30827 done
30828
30829
30830
30831 for ac_func in inet_aton
30832 do
30833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30834 echo "$as_me:$LINENO: checking for $ac_func" >&5
30835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30836 if eval "test \"\${$as_ac_var+set}\" = set"; then
30837 echo $ECHO_N "(cached) $ECHO_C" >&6
30838 else
30839 cat >conftest.$ac_ext <<_ACEOF
30840 /* confdefs.h. */
30841 _ACEOF
30842 cat confdefs.h >>conftest.$ac_ext
30843 cat >>conftest.$ac_ext <<_ACEOF
30844 /* end confdefs.h. */
30845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30847 #define $ac_func innocuous_$ac_func
30848
30849 /* System header to define __stub macros and hopefully few prototypes,
30850 which can conflict with char $ac_func (); below.
30851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30852 <limits.h> exists even on freestanding compilers. */
30853
30854 #ifdef __STDC__
30855 # include <limits.h>
30856 #else
30857 # include <assert.h>
30858 #endif
30859
30860 #undef $ac_func
30861
30862 /* Override any gcc2 internal prototype to avoid an error. */
30863 #ifdef __cplusplus
30864 extern "C"
30865 {
30866 #endif
30867 /* We use char because int might match the return type of a gcc2
30868 builtin and then its argument prototype would still apply. */
30869 char $ac_func ();
30870 /* The GNU C library defines this for functions which it implements
30871 to always fail with ENOSYS. Some functions are actually named
30872 something starting with __ and the normal name is an alias. */
30873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30874 choke me
30875 #else
30876 char (*f) () = $ac_func;
30877 #endif
30878 #ifdef __cplusplus
30879 }
30880 #endif
30881
30882 int
30883 main ()
30884 {
30885 return f != $ac_func;
30886 ;
30887 return 0;
30888 }
30889 _ACEOF
30890 rm -f conftest.$ac_objext conftest$ac_exeext
30891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30892 (eval $ac_link) 2>conftest.er1
30893 ac_status=$?
30894 grep -v '^ *+' conftest.er1 >conftest.err
30895 rm -f conftest.er1
30896 cat conftest.err >&5
30897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30898 (exit $ac_status); } &&
30899 { ac_try='test -z "$ac_c_werror_flag"
30900 || test ! -s conftest.err'
30901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30902 (eval $ac_try) 2>&5
30903 ac_status=$?
30904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30905 (exit $ac_status); }; } &&
30906 { ac_try='test -s conftest$ac_exeext'
30907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30908 (eval $ac_try) 2>&5
30909 ac_status=$?
30910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30911 (exit $ac_status); }; }; then
30912 eval "$as_ac_var=yes"
30913 else
30914 echo "$as_me: failed program was:" >&5
30915 sed 's/^/| /' conftest.$ac_ext >&5
30916
30917 eval "$as_ac_var=no"
30918 fi
30919 rm -f conftest.err conftest.$ac_objext \
30920 conftest$ac_exeext conftest.$ac_ext
30921 fi
30922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30924 if test `eval echo '${'$as_ac_var'}'` = yes; then
30925 cat >>confdefs.h <<_ACEOF
30926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30927 _ACEOF
30928 cat >>confdefs.h <<\_ACEOF
30929 #define HAVE_INET_ATON 1
30930 _ACEOF
30931
30932 else
30933
30934 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
30935 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
30936 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
30937 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
30938 echo $ECHO_N "(cached) $ECHO_C" >&6
30939 else
30940 ac_check_lib_save_LIBS=$LIBS
30941 LIBS="-l$INET_LINK $LIBS"
30942 cat >conftest.$ac_ext <<_ACEOF
30943 /* confdefs.h. */
30944 _ACEOF
30945 cat confdefs.h >>conftest.$ac_ext
30946 cat >>conftest.$ac_ext <<_ACEOF
30947 /* end confdefs.h. */
30948
30949 /* Override any gcc2 internal prototype to avoid an error. */
30950 #ifdef __cplusplus
30951 extern "C"
30952 #endif
30953 /* We use char because int might match the return type of a gcc2
30954 builtin and then its argument prototype would still apply. */
30955 char inet_aton ();
30956 int
30957 main ()
30958 {
30959 inet_aton ();
30960 ;
30961 return 0;
30962 }
30963 _ACEOF
30964 rm -f conftest.$ac_objext conftest$ac_exeext
30965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30966 (eval $ac_link) 2>conftest.er1
30967 ac_status=$?
30968 grep -v '^ *+' conftest.er1 >conftest.err
30969 rm -f conftest.er1
30970 cat conftest.err >&5
30971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30972 (exit $ac_status); } &&
30973 { ac_try='test -z "$ac_c_werror_flag"
30974 || test ! -s conftest.err'
30975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30976 (eval $ac_try) 2>&5
30977 ac_status=$?
30978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30979 (exit $ac_status); }; } &&
30980 { ac_try='test -s conftest$ac_exeext'
30981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30982 (eval $ac_try) 2>&5
30983 ac_status=$?
30984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30985 (exit $ac_status); }; }; then
30986 eval "$as_ac_Lib=yes"
30987 else
30988 echo "$as_me: failed program was:" >&5
30989 sed 's/^/| /' conftest.$ac_ext >&5
30990
30991 eval "$as_ac_Lib=no"
30992 fi
30993 rm -f conftest.err conftest.$ac_objext \
30994 conftest$ac_exeext conftest.$ac_ext
30995 LIBS=$ac_check_lib_save_LIBS
30996 fi
30997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
30998 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
30999 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31000 cat >>confdefs.h <<\_ACEOF
31001 #define HAVE_INET_ATON 1
31002 _ACEOF
31003
31004 fi
31005
31006
31007 fi
31008 done
31009
31010
31011 if test "x$INET_LINK" != "x"; then
31012 cat >>confdefs.h <<\_ACEOF
31013 #define HAVE_INET_ADDR 1
31014 _ACEOF
31015
31016 INET_LINK=" -l$INET_LINK"
31017 fi
31018
31019 fi
31020
31021
31022
31023 EXTRALIBS_ESD=
31024 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31025 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31026 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31027 echo $ECHO_N "(cached) $ECHO_C" >&6
31028 else
31029 ac_check_lib_save_LIBS=$LIBS
31030 LIBS="-lesd $LIBS"
31031 cat >conftest.$ac_ext <<_ACEOF
31032 /* confdefs.h. */
31033 _ACEOF
31034 cat confdefs.h >>conftest.$ac_ext
31035 cat >>conftest.$ac_ext <<_ACEOF
31036 /* end confdefs.h. */
31037
31038 /* Override any gcc2 internal prototype to avoid an error. */
31039 #ifdef __cplusplus
31040 extern "C"
31041 #endif
31042 /* We use char because int might match the return type of a gcc2
31043 builtin and then its argument prototype would still apply. */
31044 char esd_close ();
31045 int
31046 main ()
31047 {
31048 esd_close ();
31049 ;
31050 return 0;
31051 }
31052 _ACEOF
31053 rm -f conftest.$ac_objext conftest$ac_exeext
31054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31055 (eval $ac_link) 2>conftest.er1
31056 ac_status=$?
31057 grep -v '^ *+' conftest.er1 >conftest.err
31058 rm -f conftest.er1
31059 cat conftest.err >&5
31060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31061 (exit $ac_status); } &&
31062 { ac_try='test -z "$ac_c_werror_flag"
31063 || test ! -s conftest.err'
31064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31065 (eval $ac_try) 2>&5
31066 ac_status=$?
31067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31068 (exit $ac_status); }; } &&
31069 { ac_try='test -s conftest$ac_exeext'
31070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31071 (eval $ac_try) 2>&5
31072 ac_status=$?
31073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31074 (exit $ac_status); }; }; then
31075 ac_cv_lib_esd_esd_close=yes
31076 else
31077 echo "$as_me: failed program was:" >&5
31078 sed 's/^/| /' conftest.$ac_ext >&5
31079
31080 ac_cv_lib_esd_esd_close=no
31081 fi
31082 rm -f conftest.err conftest.$ac_objext \
31083 conftest$ac_exeext conftest.$ac_ext
31084 LIBS=$ac_check_lib_save_LIBS
31085 fi
31086 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31087 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31088 if test $ac_cv_lib_esd_esd_close = yes; then
31089
31090
31091 for ac_header in esd.h
31092 do
31093 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31095 echo "$as_me:$LINENO: checking for $ac_header" >&5
31096 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31098 echo $ECHO_N "(cached) $ECHO_C" >&6
31099 fi
31100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31101 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31102 else
31103 # Is the header compilable?
31104 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31105 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31106 cat >conftest.$ac_ext <<_ACEOF
31107 /* confdefs.h. */
31108 _ACEOF
31109 cat confdefs.h >>conftest.$ac_ext
31110 cat >>conftest.$ac_ext <<_ACEOF
31111 /* end confdefs.h. */
31112 $ac_includes_default
31113 #include <$ac_header>
31114 _ACEOF
31115 rm -f conftest.$ac_objext
31116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31117 (eval $ac_compile) 2>conftest.er1
31118 ac_status=$?
31119 grep -v '^ *+' conftest.er1 >conftest.err
31120 rm -f conftest.er1
31121 cat conftest.err >&5
31122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31123 (exit $ac_status); } &&
31124 { ac_try='test -z "$ac_c_werror_flag"
31125 || test ! -s conftest.err'
31126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31127 (eval $ac_try) 2>&5
31128 ac_status=$?
31129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31130 (exit $ac_status); }; } &&
31131 { ac_try='test -s conftest.$ac_objext'
31132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31133 (eval $ac_try) 2>&5
31134 ac_status=$?
31135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31136 (exit $ac_status); }; }; then
31137 ac_header_compiler=yes
31138 else
31139 echo "$as_me: failed program was:" >&5
31140 sed 's/^/| /' conftest.$ac_ext >&5
31141
31142 ac_header_compiler=no
31143 fi
31144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31145 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31146 echo "${ECHO_T}$ac_header_compiler" >&6
31147
31148 # Is the header present?
31149 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31150 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31151 cat >conftest.$ac_ext <<_ACEOF
31152 /* confdefs.h. */
31153 _ACEOF
31154 cat confdefs.h >>conftest.$ac_ext
31155 cat >>conftest.$ac_ext <<_ACEOF
31156 /* end confdefs.h. */
31157 #include <$ac_header>
31158 _ACEOF
31159 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31160 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31161 ac_status=$?
31162 grep -v '^ *+' conftest.er1 >conftest.err
31163 rm -f conftest.er1
31164 cat conftest.err >&5
31165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31166 (exit $ac_status); } >/dev/null; then
31167 if test -s conftest.err; then
31168 ac_cpp_err=$ac_c_preproc_warn_flag
31169 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31170 else
31171 ac_cpp_err=
31172 fi
31173 else
31174 ac_cpp_err=yes
31175 fi
31176 if test -z "$ac_cpp_err"; then
31177 ac_header_preproc=yes
31178 else
31179 echo "$as_me: failed program was:" >&5
31180 sed 's/^/| /' conftest.$ac_ext >&5
31181
31182 ac_header_preproc=no
31183 fi
31184 rm -f conftest.err conftest.$ac_ext
31185 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31186 echo "${ECHO_T}$ac_header_preproc" >&6
31187
31188 # So? What about this header?
31189 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31190 yes:no: )
31191 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31192 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31193 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31194 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31195 ac_header_preproc=yes
31196 ;;
31197 no:yes:* )
31198 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31199 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31200 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31201 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31202 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31203 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31204 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31205 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31206 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31207 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31208 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31209 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31210 (
31211 cat <<\_ASBOX
31212 ## ----------------------------------------- ##
31213 ## Report this to wx-dev@lists.wxwindows.org ##
31214 ## ----------------------------------------- ##
31215 _ASBOX
31216 ) |
31217 sed "s/^/$as_me: WARNING: /" >&2
31218 ;;
31219 esac
31220 echo "$as_me:$LINENO: checking for $ac_header" >&5
31221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31222 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31223 echo $ECHO_N "(cached) $ECHO_C" >&6
31224 else
31225 eval "$as_ac_Header=\$ac_header_preproc"
31226 fi
31227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31228 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31229
31230 fi
31231 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31232 cat >>confdefs.h <<_ACEOF
31233 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31234 _ACEOF
31235
31236 EXTRALIBS_ESD="-lesd"
31237
31238 fi
31239
31240 done
31241
31242
31243 fi
31244
31245
31246
31247 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31248 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31249 cat >conftest.$ac_ext <<_ACEOF
31250 /* confdefs.h. */
31251 _ACEOF
31252 cat confdefs.h >>conftest.$ac_ext
31253 cat >>conftest.$ac_ext <<_ACEOF
31254 /* end confdefs.h. */
31255 #ifdef __linux__
31256 #include <linux/cdrom.h>
31257 #else
31258 /* For Solaris */
31259 #include <sys/cdio.h>
31260 #endif
31261
31262 int
31263 main ()
31264 {
31265 struct cdrom_tocentry entry, old_entry;
31266 ;
31267 return 0;
31268 }
31269 _ACEOF
31270 rm -f conftest.$ac_objext
31271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31272 (eval $ac_compile) 2>conftest.er1
31273 ac_status=$?
31274 grep -v '^ *+' conftest.er1 >conftest.err
31275 rm -f conftest.er1
31276 cat conftest.err >&5
31277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31278 (exit $ac_status); } &&
31279 { ac_try='test -z "$ac_c_werror_flag"
31280 || test ! -s conftest.err'
31281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31282 (eval $ac_try) 2>&5
31283 ac_status=$?
31284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31285 (exit $ac_status); }; } &&
31286 { ac_try='test -s conftest.$ac_objext'
31287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31288 (eval $ac_try) 2>&5
31289 ac_status=$?
31290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31291 (exit $ac_status); }; }; then
31292 echo "$as_me:$LINENO: result: yes" >&5
31293 echo "${ECHO_T}yes" >&6
31294 cat >>confdefs.h <<\_ACEOF
31295 #define HAVE_KNOWN_CDROM_INTERFACE 1
31296 _ACEOF
31297
31298 else
31299 echo "$as_me: failed program was:" >&5
31300 sed 's/^/| /' conftest.$ac_ext >&5
31301
31302 echo "$as_me:$LINENO: result: no" >&5
31303 echo "${ECHO_T}no" >&6
31304 fi
31305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31306
31307
31308 cat >confcache <<\_ACEOF
31309 # This file is a shell script that caches the results of configure
31310 # tests run on this system so they can be shared between configure
31311 # scripts and configure runs, see configure's option --config-cache.
31312 # It is not useful on other systems. If it contains results you don't
31313 # want to keep, you may remove or edit it.
31314 #
31315 # config.status only pays attention to the cache file if you give it
31316 # the --recheck option to rerun configure.
31317 #
31318 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31319 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31320 # following values.
31321
31322 _ACEOF
31323
31324 # The following way of writing the cache mishandles newlines in values,
31325 # but we know of no workaround that is simple, portable, and efficient.
31326 # So, don't put newlines in cache variables' values.
31327 # Ultrix sh set writes to stderr and can't be redirected directly,
31328 # and sets the high bit in the cache file unless we assign to the vars.
31329 {
31330 (set) 2>&1 |
31331 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31332 *ac_space=\ *)
31333 # `set' does not quote correctly, so add quotes (double-quote
31334 # substitution turns \\\\ into \\, and sed turns \\ into \).
31335 sed -n \
31336 "s/'/'\\\\''/g;
31337 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31338 ;;
31339 *)
31340 # `set' quotes correctly as required by POSIX, so do not add quotes.
31341 sed -n \
31342 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
31343 ;;
31344 esac;
31345 } |
31346 sed '
31347 t clear
31348 : clear
31349 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31350 t end
31351 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31352 : end' >>confcache
31353 if diff $cache_file confcache >/dev/null 2>&1; then :; else
31354 if test -w $cache_file; then
31355 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
31356 cat confcache >$cache_file
31357 else
31358 echo "not updating unwritable cache $cache_file"
31359 fi
31360 fi
31361 rm -f confcache
31362
31363
31364 CPP_MT_FLAG=
31365 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31366
31367
31368 THREADS_LINK=
31369 THREADS_CFLAGS=
31370
31371 if test "$wxUSE_THREADS" = "yes" ; then
31372 if test "$USE_BEOS" = 1; then
31373 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
31374 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31375 wxUSE_THREADS="no"
31376 fi
31377 fi
31378
31379 if test "$wxUSE_THREADS" = "yes" ; then
31380
31381
31382 THREAD_OPTS="-pthread"
31383 case "${host}" in
31384 *-*-solaris2* | *-*-sunos4* )
31385 if test "x$GCC" = "xyes"; then
31386 THREAD_OPTS="-pthreads $THREAD_OPTS"
31387 else
31388 THREAD_OPTS="-mt $THREAD_OPTS"
31389 fi
31390 ;;
31391 *-*-freebsd*)
31392 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
31393 ;;
31394 *-*-darwin* | *-*-cygwin* )
31395 THREAD_OPTS=""
31396 ;;
31397 *-*-aix*)
31398 THREAD_OPTS="pthreads"
31399 ;;
31400 *-hp-hpux* )
31401 if test "x$GCC" != "xyes"; then
31402 THREAD_OPTS=""
31403 fi
31404 ;;
31405
31406 *-*-irix* )
31407 if test "x$GCC" = "xyes"; then
31408 THREAD_OPTS=""
31409 fi
31410 ;;
31411
31412 *-*-*UnixWare*)
31413 if test "x$GCC" != "xyes"; then
31414 THREAD_OPTS="-Ethread"
31415 fi
31416 ;;
31417 esac
31418
31419 THREAD_OPTS="$THREAD_OPTS pthread none"
31420
31421 THREADS_OK=no
31422 for flag in $THREAD_OPTS; do
31423 case $flag in
31424 none)
31425 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
31426 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
31427 ;;
31428
31429 -*)
31430 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
31431 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
31432 THREADS_CFLAGS="$flag"
31433 ;;
31434
31435 *)
31436 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
31437 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
31438 THREADS_LINK="-l$flag"
31439 ;;
31440 esac
31441
31442 save_LIBS="$LIBS"
31443 save_CFLAGS="$CFLAGS"
31444 LIBS="$THREADS_LINK $LIBS"
31445 CFLAGS="$THREADS_CFLAGS $CFLAGS"
31446
31447 cat >conftest.$ac_ext <<_ACEOF
31448 /* confdefs.h. */
31449 _ACEOF
31450 cat confdefs.h >>conftest.$ac_ext
31451 cat >>conftest.$ac_ext <<_ACEOF
31452 /* end confdefs.h. */
31453 #include <pthread.h>
31454 int
31455 main ()
31456 {
31457 pthread_create(0,0,0,0);
31458 ;
31459 return 0;
31460 }
31461 _ACEOF
31462 rm -f conftest.$ac_objext conftest$ac_exeext
31463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31464 (eval $ac_link) 2>conftest.er1
31465 ac_status=$?
31466 grep -v '^ *+' conftest.er1 >conftest.err
31467 rm -f conftest.er1
31468 cat conftest.err >&5
31469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31470 (exit $ac_status); } &&
31471 { ac_try='test -z "$ac_c_werror_flag"
31472 || test ! -s conftest.err'
31473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31474 (eval $ac_try) 2>&5
31475 ac_status=$?
31476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31477 (exit $ac_status); }; } &&
31478 { ac_try='test -s conftest$ac_exeext'
31479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31480 (eval $ac_try) 2>&5
31481 ac_status=$?
31482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31483 (exit $ac_status); }; }; then
31484 THREADS_OK=yes
31485 else
31486 echo "$as_me: failed program was:" >&5
31487 sed 's/^/| /' conftest.$ac_ext >&5
31488
31489 fi
31490 rm -f conftest.err conftest.$ac_objext \
31491 conftest$ac_exeext conftest.$ac_ext
31492
31493 LIBS="$save_LIBS"
31494 CFLAGS="$save_CFLAGS"
31495
31496 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
31497 echo "${ECHO_T}$THREADS_OK" >&6
31498 if test "x$THREADS_OK" = "xyes"; then
31499 break;
31500 fi
31501
31502 THREADS_LINK=""
31503 THREADS_CFLAGS=""
31504 done
31505
31506 if test "x$THREADS_OK" != "xyes"; then
31507 wxUSE_THREADS=no
31508 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
31509 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31510 else
31511 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
31512 LIBS="$THREADS_LINK $LIBS"
31513
31514 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
31515 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
31516 flag=no
31517 case "${host}" in
31518 *-aix*)
31519 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
31520 flag="-D_THREAD_SAFE"
31521 ;;
31522 *-freebsd*)
31523 flag="-D_THREAD_SAFE"
31524 ;;
31525 *-hp-hpux* )
31526 flag="-D_REENTRANT"
31527 if test "x$GCC" != "xyes"; then
31528 flag="$flag -D_RWSTD_MULTI_THREAD"
31529 fi
31530 ;;
31531 *solaris* | alpha*-osf*)
31532 flag="-D_REENTRANT"
31533 ;;
31534 esac
31535 echo "$as_me:$LINENO: result: ${flag}" >&5
31536 echo "${ECHO_T}${flag}" >&6
31537 if test "x$flag" != xno; then
31538 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
31539 fi
31540
31541 if test "x$THREADS_CFLAGS" != "x"; then
31542 CFLAGS="$CFLAGS $THREADS_CFLAGS"
31543 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
31544 fi
31545 fi
31546 fi
31547
31548 if test "$wxUSE_THREADS" = "yes" ; then
31549
31550 for ac_func in thr_setconcurrency
31551 do
31552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31553 echo "$as_me:$LINENO: checking for $ac_func" >&5
31554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31555 if eval "test \"\${$as_ac_var+set}\" = set"; then
31556 echo $ECHO_N "(cached) $ECHO_C" >&6
31557 else
31558 cat >conftest.$ac_ext <<_ACEOF
31559 /* confdefs.h. */
31560 _ACEOF
31561 cat confdefs.h >>conftest.$ac_ext
31562 cat >>conftest.$ac_ext <<_ACEOF
31563 /* end confdefs.h. */
31564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31566 #define $ac_func innocuous_$ac_func
31567
31568 /* System header to define __stub macros and hopefully few prototypes,
31569 which can conflict with char $ac_func (); below.
31570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31571 <limits.h> exists even on freestanding compilers. */
31572
31573 #ifdef __STDC__
31574 # include <limits.h>
31575 #else
31576 # include <assert.h>
31577 #endif
31578
31579 #undef $ac_func
31580
31581 /* Override any gcc2 internal prototype to avoid an error. */
31582 #ifdef __cplusplus
31583 extern "C"
31584 {
31585 #endif
31586 /* We use char because int might match the return type of a gcc2
31587 builtin and then its argument prototype would still apply. */
31588 char $ac_func ();
31589 /* The GNU C library defines this for functions which it implements
31590 to always fail with ENOSYS. Some functions are actually named
31591 something starting with __ and the normal name is an alias. */
31592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31593 choke me
31594 #else
31595 char (*f) () = $ac_func;
31596 #endif
31597 #ifdef __cplusplus
31598 }
31599 #endif
31600
31601 int
31602 main ()
31603 {
31604 return f != $ac_func;
31605 ;
31606 return 0;
31607 }
31608 _ACEOF
31609 rm -f conftest.$ac_objext conftest$ac_exeext
31610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31611 (eval $ac_link) 2>conftest.er1
31612 ac_status=$?
31613 grep -v '^ *+' conftest.er1 >conftest.err
31614 rm -f conftest.er1
31615 cat conftest.err >&5
31616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31617 (exit $ac_status); } &&
31618 { ac_try='test -z "$ac_c_werror_flag"
31619 || test ! -s conftest.err'
31620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31621 (eval $ac_try) 2>&5
31622 ac_status=$?
31623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31624 (exit $ac_status); }; } &&
31625 { ac_try='test -s conftest$ac_exeext'
31626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31627 (eval $ac_try) 2>&5
31628 ac_status=$?
31629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31630 (exit $ac_status); }; }; then
31631 eval "$as_ac_var=yes"
31632 else
31633 echo "$as_me: failed program was:" >&5
31634 sed 's/^/| /' conftest.$ac_ext >&5
31635
31636 eval "$as_ac_var=no"
31637 fi
31638 rm -f conftest.err conftest.$ac_objext \
31639 conftest$ac_exeext conftest.$ac_ext
31640 fi
31641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31643 if test `eval echo '${'$as_ac_var'}'` = yes; then
31644 cat >>confdefs.h <<_ACEOF
31645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31646 _ACEOF
31647
31648 fi
31649 done
31650
31651
31652
31653 for ac_header in sched.h
31654 do
31655 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31656 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31657 echo "$as_me:$LINENO: checking for $ac_header" >&5
31658 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31659 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31660 echo $ECHO_N "(cached) $ECHO_C" >&6
31661 fi
31662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31663 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31664 else
31665 # Is the header compilable?
31666 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31667 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31668 cat >conftest.$ac_ext <<_ACEOF
31669 /* confdefs.h. */
31670 _ACEOF
31671 cat confdefs.h >>conftest.$ac_ext
31672 cat >>conftest.$ac_ext <<_ACEOF
31673 /* end confdefs.h. */
31674 $ac_includes_default
31675 #include <$ac_header>
31676 _ACEOF
31677 rm -f conftest.$ac_objext
31678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31679 (eval $ac_compile) 2>conftest.er1
31680 ac_status=$?
31681 grep -v '^ *+' conftest.er1 >conftest.err
31682 rm -f conftest.er1
31683 cat conftest.err >&5
31684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31685 (exit $ac_status); } &&
31686 { ac_try='test -z "$ac_c_werror_flag"
31687 || test ! -s conftest.err'
31688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31689 (eval $ac_try) 2>&5
31690 ac_status=$?
31691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31692 (exit $ac_status); }; } &&
31693 { ac_try='test -s conftest.$ac_objext'
31694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31695 (eval $ac_try) 2>&5
31696 ac_status=$?
31697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31698 (exit $ac_status); }; }; then
31699 ac_header_compiler=yes
31700 else
31701 echo "$as_me: failed program was:" >&5
31702 sed 's/^/| /' conftest.$ac_ext >&5
31703
31704 ac_header_compiler=no
31705 fi
31706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31707 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31708 echo "${ECHO_T}$ac_header_compiler" >&6
31709
31710 # Is the header present?
31711 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31712 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31713 cat >conftest.$ac_ext <<_ACEOF
31714 /* confdefs.h. */
31715 _ACEOF
31716 cat confdefs.h >>conftest.$ac_ext
31717 cat >>conftest.$ac_ext <<_ACEOF
31718 /* end confdefs.h. */
31719 #include <$ac_header>
31720 _ACEOF
31721 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31722 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31723 ac_status=$?
31724 grep -v '^ *+' conftest.er1 >conftest.err
31725 rm -f conftest.er1
31726 cat conftest.err >&5
31727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31728 (exit $ac_status); } >/dev/null; then
31729 if test -s conftest.err; then
31730 ac_cpp_err=$ac_c_preproc_warn_flag
31731 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31732 else
31733 ac_cpp_err=
31734 fi
31735 else
31736 ac_cpp_err=yes
31737 fi
31738 if test -z "$ac_cpp_err"; then
31739 ac_header_preproc=yes
31740 else
31741 echo "$as_me: failed program was:" >&5
31742 sed 's/^/| /' conftest.$ac_ext >&5
31743
31744 ac_header_preproc=no
31745 fi
31746 rm -f conftest.err conftest.$ac_ext
31747 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31748 echo "${ECHO_T}$ac_header_preproc" >&6
31749
31750 # So? What about this header?
31751 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31752 yes:no: )
31753 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31754 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31755 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31756 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31757 ac_header_preproc=yes
31758 ;;
31759 no:yes:* )
31760 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31761 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31762 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31763 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31764 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31765 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31766 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31767 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31768 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31769 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31770 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31771 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31772 (
31773 cat <<\_ASBOX
31774 ## ----------------------------------------- ##
31775 ## Report this to wx-dev@lists.wxwindows.org ##
31776 ## ----------------------------------------- ##
31777 _ASBOX
31778 ) |
31779 sed "s/^/$as_me: WARNING: /" >&2
31780 ;;
31781 esac
31782 echo "$as_me:$LINENO: checking for $ac_header" >&5
31783 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31785 echo $ECHO_N "(cached) $ECHO_C" >&6
31786 else
31787 eval "$as_ac_Header=\$ac_header_preproc"
31788 fi
31789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31790 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31791
31792 fi
31793 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31794 cat >>confdefs.h <<_ACEOF
31795 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31796 _ACEOF
31797
31798 fi
31799
31800 done
31801
31802 if test "$ac_cv_header_sched_h" = "yes"; then
31803 echo "$as_me:$LINENO: checking for sched_yield" >&5
31804 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
31805 if test "${ac_cv_func_sched_yield+set}" = set; then
31806 echo $ECHO_N "(cached) $ECHO_C" >&6
31807 else
31808 cat >conftest.$ac_ext <<_ACEOF
31809 /* confdefs.h. */
31810 _ACEOF
31811 cat confdefs.h >>conftest.$ac_ext
31812 cat >>conftest.$ac_ext <<_ACEOF
31813 /* end confdefs.h. */
31814 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
31815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31816 #define sched_yield innocuous_sched_yield
31817
31818 /* System header to define __stub macros and hopefully few prototypes,
31819 which can conflict with char sched_yield (); below.
31820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31821 <limits.h> exists even on freestanding compilers. */
31822
31823 #ifdef __STDC__
31824 # include <limits.h>
31825 #else
31826 # include <assert.h>
31827 #endif
31828
31829 #undef sched_yield
31830
31831 /* Override any gcc2 internal prototype to avoid an error. */
31832 #ifdef __cplusplus
31833 extern "C"
31834 {
31835 #endif
31836 /* We use char because int might match the return type of a gcc2
31837 builtin and then its argument prototype would still apply. */
31838 char sched_yield ();
31839 /* The GNU C library defines this for functions which it implements
31840 to always fail with ENOSYS. Some functions are actually named
31841 something starting with __ and the normal name is an alias. */
31842 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
31843 choke me
31844 #else
31845 char (*f) () = sched_yield;
31846 #endif
31847 #ifdef __cplusplus
31848 }
31849 #endif
31850
31851 int
31852 main ()
31853 {
31854 return f != sched_yield;
31855 ;
31856 return 0;
31857 }
31858 _ACEOF
31859 rm -f conftest.$ac_objext conftest$ac_exeext
31860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31861 (eval $ac_link) 2>conftest.er1
31862 ac_status=$?
31863 grep -v '^ *+' conftest.er1 >conftest.err
31864 rm -f conftest.er1
31865 cat conftest.err >&5
31866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31867 (exit $ac_status); } &&
31868 { ac_try='test -z "$ac_c_werror_flag"
31869 || test ! -s conftest.err'
31870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31871 (eval $ac_try) 2>&5
31872 ac_status=$?
31873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31874 (exit $ac_status); }; } &&
31875 { ac_try='test -s conftest$ac_exeext'
31876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31877 (eval $ac_try) 2>&5
31878 ac_status=$?
31879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31880 (exit $ac_status); }; }; then
31881 ac_cv_func_sched_yield=yes
31882 else
31883 echo "$as_me: failed program was:" >&5
31884 sed 's/^/| /' conftest.$ac_ext >&5
31885
31886 ac_cv_func_sched_yield=no
31887 fi
31888 rm -f conftest.err conftest.$ac_objext \
31889 conftest$ac_exeext conftest.$ac_ext
31890 fi
31891 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
31892 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
31893 if test $ac_cv_func_sched_yield = yes; then
31894 cat >>confdefs.h <<\_ACEOF
31895 #define HAVE_SCHED_YIELD 1
31896 _ACEOF
31897
31898 else
31899
31900 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
31901 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
31902 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
31903 echo $ECHO_N "(cached) $ECHO_C" >&6
31904 else
31905 ac_check_lib_save_LIBS=$LIBS
31906 LIBS="-lposix4 $LIBS"
31907 cat >conftest.$ac_ext <<_ACEOF
31908 /* confdefs.h. */
31909 _ACEOF
31910 cat confdefs.h >>conftest.$ac_ext
31911 cat >>conftest.$ac_ext <<_ACEOF
31912 /* end confdefs.h. */
31913
31914 /* Override any gcc2 internal prototype to avoid an error. */
31915 #ifdef __cplusplus
31916 extern "C"
31917 #endif
31918 /* We use char because int might match the return type of a gcc2
31919 builtin and then its argument prototype would still apply. */
31920 char sched_yield ();
31921 int
31922 main ()
31923 {
31924 sched_yield ();
31925 ;
31926 return 0;
31927 }
31928 _ACEOF
31929 rm -f conftest.$ac_objext conftest$ac_exeext
31930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31931 (eval $ac_link) 2>conftest.er1
31932 ac_status=$?
31933 grep -v '^ *+' conftest.er1 >conftest.err
31934 rm -f conftest.er1
31935 cat conftest.err >&5
31936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31937 (exit $ac_status); } &&
31938 { ac_try='test -z "$ac_c_werror_flag"
31939 || test ! -s conftest.err'
31940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31941 (eval $ac_try) 2>&5
31942 ac_status=$?
31943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31944 (exit $ac_status); }; } &&
31945 { ac_try='test -s conftest$ac_exeext'
31946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31947 (eval $ac_try) 2>&5
31948 ac_status=$?
31949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31950 (exit $ac_status); }; }; then
31951 ac_cv_lib_posix4_sched_yield=yes
31952 else
31953 echo "$as_me: failed program was:" >&5
31954 sed 's/^/| /' conftest.$ac_ext >&5
31955
31956 ac_cv_lib_posix4_sched_yield=no
31957 fi
31958 rm -f conftest.err conftest.$ac_objext \
31959 conftest$ac_exeext conftest.$ac_ext
31960 LIBS=$ac_check_lib_save_LIBS
31961 fi
31962 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
31963 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
31964 if test $ac_cv_lib_posix4_sched_yield = yes; then
31965 cat >>confdefs.h <<\_ACEOF
31966 #define HAVE_SCHED_YIELD 1
31967 _ACEOF
31968 POSIX4_LINK=" -lposix4"
31969 else
31970 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
31971 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
31972
31973 fi
31974
31975
31976
31977 fi
31978
31979 fi
31980
31981 HAVE_PRIOR_FUNCS=0
31982 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
31983 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
31984 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
31985 echo $ECHO_N "(cached) $ECHO_C" >&6
31986 else
31987 cat >conftest.$ac_ext <<_ACEOF
31988 /* confdefs.h. */
31989 _ACEOF
31990 cat confdefs.h >>conftest.$ac_ext
31991 cat >>conftest.$ac_ext <<_ACEOF
31992 /* end confdefs.h. */
31993 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
31994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31995 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
31996
31997 /* System header to define __stub macros and hopefully few prototypes,
31998 which can conflict with char pthread_attr_getschedpolicy (); below.
31999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32000 <limits.h> exists even on freestanding compilers. */
32001
32002 #ifdef __STDC__
32003 # include <limits.h>
32004 #else
32005 # include <assert.h>
32006 #endif
32007
32008 #undef pthread_attr_getschedpolicy
32009
32010 /* Override any gcc2 internal prototype to avoid an error. */
32011 #ifdef __cplusplus
32012 extern "C"
32013 {
32014 #endif
32015 /* We use char because int might match the return type of a gcc2
32016 builtin and then its argument prototype would still apply. */
32017 char pthread_attr_getschedpolicy ();
32018 /* The GNU C library defines this for functions which it implements
32019 to always fail with ENOSYS. Some functions are actually named
32020 something starting with __ and the normal name is an alias. */
32021 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32022 choke me
32023 #else
32024 char (*f) () = pthread_attr_getschedpolicy;
32025 #endif
32026 #ifdef __cplusplus
32027 }
32028 #endif
32029
32030 int
32031 main ()
32032 {
32033 return f != pthread_attr_getschedpolicy;
32034 ;
32035 return 0;
32036 }
32037 _ACEOF
32038 rm -f conftest.$ac_objext conftest$ac_exeext
32039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32040 (eval $ac_link) 2>conftest.er1
32041 ac_status=$?
32042 grep -v '^ *+' conftest.er1 >conftest.err
32043 rm -f conftest.er1
32044 cat conftest.err >&5
32045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32046 (exit $ac_status); } &&
32047 { ac_try='test -z "$ac_c_werror_flag"
32048 || test ! -s conftest.err'
32049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32050 (eval $ac_try) 2>&5
32051 ac_status=$?
32052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32053 (exit $ac_status); }; } &&
32054 { ac_try='test -s conftest$ac_exeext'
32055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32056 (eval $ac_try) 2>&5
32057 ac_status=$?
32058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32059 (exit $ac_status); }; }; then
32060 ac_cv_func_pthread_attr_getschedpolicy=yes
32061 else
32062 echo "$as_me: failed program was:" >&5
32063 sed 's/^/| /' conftest.$ac_ext >&5
32064
32065 ac_cv_func_pthread_attr_getschedpolicy=no
32066 fi
32067 rm -f conftest.err conftest.$ac_objext \
32068 conftest$ac_exeext conftest.$ac_ext
32069 fi
32070 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32071 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32072 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32073 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32074 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32075 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32076 echo $ECHO_N "(cached) $ECHO_C" >&6
32077 else
32078 cat >conftest.$ac_ext <<_ACEOF
32079 /* confdefs.h. */
32080 _ACEOF
32081 cat confdefs.h >>conftest.$ac_ext
32082 cat >>conftest.$ac_ext <<_ACEOF
32083 /* end confdefs.h. */
32084 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32086 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32087
32088 /* System header to define __stub macros and hopefully few prototypes,
32089 which can conflict with char pthread_attr_setschedparam (); below.
32090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32091 <limits.h> exists even on freestanding compilers. */
32092
32093 #ifdef __STDC__
32094 # include <limits.h>
32095 #else
32096 # include <assert.h>
32097 #endif
32098
32099 #undef pthread_attr_setschedparam
32100
32101 /* Override any gcc2 internal prototype to avoid an error. */
32102 #ifdef __cplusplus
32103 extern "C"
32104 {
32105 #endif
32106 /* We use char because int might match the return type of a gcc2
32107 builtin and then its argument prototype would still apply. */
32108 char pthread_attr_setschedparam ();
32109 /* The GNU C library defines this for functions which it implements
32110 to always fail with ENOSYS. Some functions are actually named
32111 something starting with __ and the normal name is an alias. */
32112 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32113 choke me
32114 #else
32115 char (*f) () = pthread_attr_setschedparam;
32116 #endif
32117 #ifdef __cplusplus
32118 }
32119 #endif
32120
32121 int
32122 main ()
32123 {
32124 return f != pthread_attr_setschedparam;
32125 ;
32126 return 0;
32127 }
32128 _ACEOF
32129 rm -f conftest.$ac_objext conftest$ac_exeext
32130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32131 (eval $ac_link) 2>conftest.er1
32132 ac_status=$?
32133 grep -v '^ *+' conftest.er1 >conftest.err
32134 rm -f conftest.er1
32135 cat conftest.err >&5
32136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32137 (exit $ac_status); } &&
32138 { ac_try='test -z "$ac_c_werror_flag"
32139 || test ! -s conftest.err'
32140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32141 (eval $ac_try) 2>&5
32142 ac_status=$?
32143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32144 (exit $ac_status); }; } &&
32145 { ac_try='test -s conftest$ac_exeext'
32146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32147 (eval $ac_try) 2>&5
32148 ac_status=$?
32149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32150 (exit $ac_status); }; }; then
32151 ac_cv_func_pthread_attr_setschedparam=yes
32152 else
32153 echo "$as_me: failed program was:" >&5
32154 sed 's/^/| /' conftest.$ac_ext >&5
32155
32156 ac_cv_func_pthread_attr_setschedparam=no
32157 fi
32158 rm -f conftest.err conftest.$ac_objext \
32159 conftest$ac_exeext conftest.$ac_ext
32160 fi
32161 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32162 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32163 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32164 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32165 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32166 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32167 echo $ECHO_N "(cached) $ECHO_C" >&6
32168 else
32169 cat >conftest.$ac_ext <<_ACEOF
32170 /* confdefs.h. */
32171 _ACEOF
32172 cat confdefs.h >>conftest.$ac_ext
32173 cat >>conftest.$ac_ext <<_ACEOF
32174 /* end confdefs.h. */
32175 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32176 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32177 #define sched_get_priority_max innocuous_sched_get_priority_max
32178
32179 /* System header to define __stub macros and hopefully few prototypes,
32180 which can conflict with char sched_get_priority_max (); below.
32181 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32182 <limits.h> exists even on freestanding compilers. */
32183
32184 #ifdef __STDC__
32185 # include <limits.h>
32186 #else
32187 # include <assert.h>
32188 #endif
32189
32190 #undef sched_get_priority_max
32191
32192 /* Override any gcc2 internal prototype to avoid an error. */
32193 #ifdef __cplusplus
32194 extern "C"
32195 {
32196 #endif
32197 /* We use char because int might match the return type of a gcc2
32198 builtin and then its argument prototype would still apply. */
32199 char sched_get_priority_max ();
32200 /* The GNU C library defines this for functions which it implements
32201 to always fail with ENOSYS. Some functions are actually named
32202 something starting with __ and the normal name is an alias. */
32203 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32204 choke me
32205 #else
32206 char (*f) () = sched_get_priority_max;
32207 #endif
32208 #ifdef __cplusplus
32209 }
32210 #endif
32211
32212 int
32213 main ()
32214 {
32215 return f != sched_get_priority_max;
32216 ;
32217 return 0;
32218 }
32219 _ACEOF
32220 rm -f conftest.$ac_objext conftest$ac_exeext
32221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32222 (eval $ac_link) 2>conftest.er1
32223 ac_status=$?
32224 grep -v '^ *+' conftest.er1 >conftest.err
32225 rm -f conftest.er1
32226 cat conftest.err >&5
32227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32228 (exit $ac_status); } &&
32229 { ac_try='test -z "$ac_c_werror_flag"
32230 || test ! -s conftest.err'
32231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32232 (eval $ac_try) 2>&5
32233 ac_status=$?
32234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32235 (exit $ac_status); }; } &&
32236 { ac_try='test -s conftest$ac_exeext'
32237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32238 (eval $ac_try) 2>&5
32239 ac_status=$?
32240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32241 (exit $ac_status); }; }; then
32242 ac_cv_func_sched_get_priority_max=yes
32243 else
32244 echo "$as_me: failed program was:" >&5
32245 sed 's/^/| /' conftest.$ac_ext >&5
32246
32247 ac_cv_func_sched_get_priority_max=no
32248 fi
32249 rm -f conftest.err conftest.$ac_objext \
32250 conftest$ac_exeext conftest.$ac_ext
32251 fi
32252 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32253 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32254 if test $ac_cv_func_sched_get_priority_max = yes; then
32255 HAVE_PRIOR_FUNCS=1
32256 else
32257 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32258 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32259 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32260 echo $ECHO_N "(cached) $ECHO_C" >&6
32261 else
32262 ac_check_lib_save_LIBS=$LIBS
32263 LIBS="-lposix4 $LIBS"
32264 cat >conftest.$ac_ext <<_ACEOF
32265 /* confdefs.h. */
32266 _ACEOF
32267 cat confdefs.h >>conftest.$ac_ext
32268 cat >>conftest.$ac_ext <<_ACEOF
32269 /* end confdefs.h. */
32270
32271 /* Override any gcc2 internal prototype to avoid an error. */
32272 #ifdef __cplusplus
32273 extern "C"
32274 #endif
32275 /* We use char because int might match the return type of a gcc2
32276 builtin and then its argument prototype would still apply. */
32277 char sched_get_priority_max ();
32278 int
32279 main ()
32280 {
32281 sched_get_priority_max ();
32282 ;
32283 return 0;
32284 }
32285 _ACEOF
32286 rm -f conftest.$ac_objext conftest$ac_exeext
32287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32288 (eval $ac_link) 2>conftest.er1
32289 ac_status=$?
32290 grep -v '^ *+' conftest.er1 >conftest.err
32291 rm -f conftest.er1
32292 cat conftest.err >&5
32293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32294 (exit $ac_status); } &&
32295 { ac_try='test -z "$ac_c_werror_flag"
32296 || test ! -s conftest.err'
32297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32298 (eval $ac_try) 2>&5
32299 ac_status=$?
32300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32301 (exit $ac_status); }; } &&
32302 { ac_try='test -s conftest$ac_exeext'
32303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32304 (eval $ac_try) 2>&5
32305 ac_status=$?
32306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32307 (exit $ac_status); }; }; then
32308 ac_cv_lib_posix4_sched_get_priority_max=yes
32309 else
32310 echo "$as_me: failed program was:" >&5
32311 sed 's/^/| /' conftest.$ac_ext >&5
32312
32313 ac_cv_lib_posix4_sched_get_priority_max=no
32314 fi
32315 rm -f conftest.err conftest.$ac_objext \
32316 conftest$ac_exeext conftest.$ac_ext
32317 LIBS=$ac_check_lib_save_LIBS
32318 fi
32319 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32320 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32321 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32322
32323 HAVE_PRIOR_FUNCS=1
32324 POSIX4_LINK=" -lposix4"
32325
32326 fi
32327
32328
32329 fi
32330
32331
32332 fi
32333
32334
32335 fi
32336
32337
32338 if test "$HAVE_PRIOR_FUNCS" = 1; then
32339 cat >>confdefs.h <<\_ACEOF
32340 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32341 _ACEOF
32342
32343 else
32344 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32345 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32346 fi
32347
32348 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32349 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32350 if test "${ac_cv_func_pthread_cancel+set}" = set; then
32351 echo $ECHO_N "(cached) $ECHO_C" >&6
32352 else
32353 cat >conftest.$ac_ext <<_ACEOF
32354 /* confdefs.h. */
32355 _ACEOF
32356 cat confdefs.h >>conftest.$ac_ext
32357 cat >>conftest.$ac_ext <<_ACEOF
32358 /* end confdefs.h. */
32359 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
32360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32361 #define pthread_cancel innocuous_pthread_cancel
32362
32363 /* System header to define __stub macros and hopefully few prototypes,
32364 which can conflict with char pthread_cancel (); below.
32365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32366 <limits.h> exists even on freestanding compilers. */
32367
32368 #ifdef __STDC__
32369 # include <limits.h>
32370 #else
32371 # include <assert.h>
32372 #endif
32373
32374 #undef pthread_cancel
32375
32376 /* Override any gcc2 internal prototype to avoid an error. */
32377 #ifdef __cplusplus
32378 extern "C"
32379 {
32380 #endif
32381 /* We use char because int might match the return type of a gcc2
32382 builtin and then its argument prototype would still apply. */
32383 char pthread_cancel ();
32384 /* The GNU C library defines this for functions which it implements
32385 to always fail with ENOSYS. Some functions are actually named
32386 something starting with __ and the normal name is an alias. */
32387 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
32388 choke me
32389 #else
32390 char (*f) () = pthread_cancel;
32391 #endif
32392 #ifdef __cplusplus
32393 }
32394 #endif
32395
32396 int
32397 main ()
32398 {
32399 return f != pthread_cancel;
32400 ;
32401 return 0;
32402 }
32403 _ACEOF
32404 rm -f conftest.$ac_objext conftest$ac_exeext
32405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32406 (eval $ac_link) 2>conftest.er1
32407 ac_status=$?
32408 grep -v '^ *+' conftest.er1 >conftest.err
32409 rm -f conftest.er1
32410 cat conftest.err >&5
32411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32412 (exit $ac_status); } &&
32413 { ac_try='test -z "$ac_c_werror_flag"
32414 || test ! -s conftest.err'
32415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32416 (eval $ac_try) 2>&5
32417 ac_status=$?
32418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32419 (exit $ac_status); }; } &&
32420 { ac_try='test -s conftest$ac_exeext'
32421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32422 (eval $ac_try) 2>&5
32423 ac_status=$?
32424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32425 (exit $ac_status); }; }; then
32426 ac_cv_func_pthread_cancel=yes
32427 else
32428 echo "$as_me: failed program was:" >&5
32429 sed 's/^/| /' conftest.$ac_ext >&5
32430
32431 ac_cv_func_pthread_cancel=no
32432 fi
32433 rm -f conftest.err conftest.$ac_objext \
32434 conftest$ac_exeext conftest.$ac_ext
32435 fi
32436 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
32437 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
32438 if test $ac_cv_func_pthread_cancel = yes; then
32439 cat >>confdefs.h <<\_ACEOF
32440 #define HAVE_PTHREAD_CANCEL 1
32441 _ACEOF
32442
32443 else
32444 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
32445 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32446 fi
32447
32448
32449
32450
32451 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
32452 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
32453 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
32454 echo $ECHO_N "(cached) $ECHO_C" >&6
32455 else
32456
32457 cat >conftest.$ac_ext <<_ACEOF
32458 /* confdefs.h. */
32459 _ACEOF
32460 cat confdefs.h >>conftest.$ac_ext
32461 cat >>conftest.$ac_ext <<_ACEOF
32462 /* end confdefs.h. */
32463 #include <pthread.h>
32464 int
32465 main ()
32466 {
32467
32468 pthread_mutexattr_t attr;
32469 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32470
32471 ;
32472 return 0;
32473 }
32474 _ACEOF
32475 rm -f conftest.$ac_objext
32476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32477 (eval $ac_compile) 2>conftest.er1
32478 ac_status=$?
32479 grep -v '^ *+' conftest.er1 >conftest.err
32480 rm -f conftest.er1
32481 cat conftest.err >&5
32482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32483 (exit $ac_status); } &&
32484 { ac_try='test -z "$ac_c_werror_flag"
32485 || test ! -s conftest.err'
32486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32487 (eval $ac_try) 2>&5
32488 ac_status=$?
32489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32490 (exit $ac_status); }; } &&
32491 { ac_try='test -s conftest.$ac_objext'
32492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32493 (eval $ac_try) 2>&5
32494 ac_status=$?
32495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32496 (exit $ac_status); }; }; then
32497
32498 wx_cv_type_pthread_mutexattr_t=yes
32499
32500 else
32501 echo "$as_me: failed program was:" >&5
32502 sed 's/^/| /' conftest.$ac_ext >&5
32503
32504
32505 wx_cv_type_pthread_mutexattr_t=no
32506
32507
32508 fi
32509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32510
32511 fi
32512 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
32513 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
32514
32515 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32516 cat >>confdefs.h <<\_ACEOF
32517 #define HAVE_PTHREAD_MUTEXATTR_T 1
32518 _ACEOF
32519
32520 else
32521 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32522 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
32523 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
32524 echo $ECHO_N "(cached) $ECHO_C" >&6
32525 else
32526
32527 cat >conftest.$ac_ext <<_ACEOF
32528 /* confdefs.h. */
32529 _ACEOF
32530 cat confdefs.h >>conftest.$ac_ext
32531 cat >>conftest.$ac_ext <<_ACEOF
32532 /* end confdefs.h. */
32533 #include <pthread.h>
32534 int
32535 main ()
32536 {
32537
32538 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32539
32540 ;
32541 return 0;
32542 }
32543 _ACEOF
32544 rm -f conftest.$ac_objext
32545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32546 (eval $ac_compile) 2>conftest.er1
32547 ac_status=$?
32548 grep -v '^ *+' conftest.er1 >conftest.err
32549 rm -f conftest.er1
32550 cat conftest.err >&5
32551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32552 (exit $ac_status); } &&
32553 { ac_try='test -z "$ac_c_werror_flag"
32554 || test ! -s conftest.err'
32555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32556 (eval $ac_try) 2>&5
32557 ac_status=$?
32558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32559 (exit $ac_status); }; } &&
32560 { ac_try='test -s conftest.$ac_objext'
32561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32562 (eval $ac_try) 2>&5
32563 ac_status=$?
32564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32565 (exit $ac_status); }; }; then
32566
32567 wx_cv_type_pthread_rec_mutex_init=yes
32568
32569 else
32570 echo "$as_me: failed program was:" >&5
32571 sed 's/^/| /' conftest.$ac_ext >&5
32572
32573
32574 wx_cv_type_pthread_rec_mutex_init=no
32575
32576
32577 fi
32578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32579
32580 fi
32581 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32582 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
32583 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32584 cat >>confdefs.h <<\_ACEOF
32585 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
32586 _ACEOF
32587
32588 else
32589 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
32590 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32591 fi
32592 fi
32593 fi
32594
32595 else
32596 if test "$wxUSE_THREADS" = "yes" ; then
32597 case "${host}" in
32598 *-*-mingw32* )
32599 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
32600 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
32601 if test "${wx_cv_cflags_mthread+set}" = set; then
32602 echo $ECHO_N "(cached) $ECHO_C" >&6
32603 else
32604
32605 CFLAGS_OLD="$CFLAGS"
32606 CFLAGS="$CFLAGS -mthreads"
32607 cat >conftest.$ac_ext <<_ACEOF
32608 /* confdefs.h. */
32609 _ACEOF
32610 cat confdefs.h >>conftest.$ac_ext
32611 cat >>conftest.$ac_ext <<_ACEOF
32612 /* end confdefs.h. */
32613
32614 int
32615 main ()
32616 {
32617
32618 ;
32619 return 0;
32620 }
32621 _ACEOF
32622 rm -f conftest.$ac_objext
32623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32624 (eval $ac_compile) 2>conftest.er1
32625 ac_status=$?
32626 grep -v '^ *+' conftest.er1 >conftest.err
32627 rm -f conftest.er1
32628 cat conftest.err >&5
32629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32630 (exit $ac_status); } &&
32631 { ac_try='test -z "$ac_c_werror_flag"
32632 || test ! -s conftest.err'
32633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32634 (eval $ac_try) 2>&5
32635 ac_status=$?
32636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32637 (exit $ac_status); }; } &&
32638 { ac_try='test -s conftest.$ac_objext'
32639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32640 (eval $ac_try) 2>&5
32641 ac_status=$?
32642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32643 (exit $ac_status); }; }; then
32644 wx_cv_cflags_mthread=yes
32645 else
32646 echo "$as_me: failed program was:" >&5
32647 sed 's/^/| /' conftest.$ac_ext >&5
32648
32649 wx_cv_cflags_mthread=no
32650
32651 fi
32652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32653
32654
32655 fi
32656 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
32657 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
32658
32659 if test "$wx_cv_cflags_mthread" = "yes"; then
32660 CXXFLAGS="$CXXFLAGS -mthreads"
32661 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
32662 LDFLAGS="$LDFLAGS -mthreads"
32663 else
32664 CFLAGS="$CFLAGS_OLD"
32665 fi
32666 ;;
32667 *-pc-os2*emx )
32668 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
32669 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
32670 LDFLAGS="$LDFLAGS -Zmt"
32671 ;;
32672 esac
32673 fi
32674 fi
32675
32676 if test "$wxUSE_THREADS" = "yes"; then
32677 cat >>confdefs.h <<\_ACEOF
32678 #define wxUSE_THREADS 1
32679 _ACEOF
32680
32681
32682 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
32683 else
32684 if test "$ac_cv_func_strtok_r" = "yes"; then
32685 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
32686 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
32687 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
32688 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
32689 echo "$as_me:$LINENO: result: yes" >&5
32690 echo "${ECHO_T}yes" >&6
32691 else
32692 echo "$as_me:$LINENO: result: no" >&5
32693 echo "${ECHO_T}no" >&6
32694 fi
32695 fi
32696 fi
32697
32698 if test "$WXGTK20" = 1 ; then
32699 cat >>confdefs.h <<_ACEOF
32700 #define __WXGTK20__ $WXGTK20
32701 _ACEOF
32702
32703 WXGTK12=1
32704 fi
32705
32706 if test "$WXGTK12" = 1 ; then
32707 cat >>confdefs.h <<_ACEOF
32708 #define __WXGTK12__ $WXGTK12
32709 _ACEOF
32710
32711 fi
32712
32713 if test "$WXGTK127" = 1 ; then
32714 cat >>confdefs.h <<_ACEOF
32715 #define __WXGTK127__ $WXGTK127
32716 _ACEOF
32717
32718 fi
32719
32720 WXDEBUG=
32721
32722 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
32723 WXDEBUG="-g"
32724 wxUSE_OPTIMISE=no
32725 fi
32726
32727 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
32728 wxUSE_DEBUG_INFO=yes
32729 WXDEBUG="-ggdb"
32730 fi
32731
32732 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
32733 cat >>confdefs.h <<\_ACEOF
32734 #define WXDEBUG 1
32735 _ACEOF
32736
32737 WXDEBUG_DEFINE="-D__WXDEBUG__"
32738 else
32739 if test "$wxUSE_GTK" = 1 ; then
32740 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
32741 fi
32742 fi
32743
32744 if test "$wxUSE_MEM_TRACING" = "yes" ; then
32745 cat >>confdefs.h <<\_ACEOF
32746 #define wxUSE_MEMORY_TRACING 1
32747 _ACEOF
32748
32749 cat >>confdefs.h <<\_ACEOF
32750 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
32751 _ACEOF
32752
32753 cat >>confdefs.h <<\_ACEOF
32754 #define wxUSE_DEBUG_NEW_ALWAYS 1
32755 _ACEOF
32756
32757 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
32758 fi
32759
32760 if test "$wxUSE_DMALLOC" = "yes" ; then
32761 DMALLOC_LIBS="-ldmalloc"
32762 fi
32763
32764 PROFILE=
32765 if test "$wxUSE_PROFILE" = "yes" ; then
32766 PROFILE=" -pg"
32767 fi
32768
32769 CODE_GEN_FLAGS=
32770 CODE_GEN_FLAGS_CXX=
32771 if test "$GCC" = "yes" ; then
32772 if test "$wxUSE_NO_RTTI" = "yes" ; then
32773 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
32774 fi
32775 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
32776 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
32777 fi
32778 if test "$wxUSE_PERMISSIVE" = "yes" ; then
32779 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
32780 fi
32781
32782 case "${host}" in
32783 powerpc*-*-aix* )
32784 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
32785 ;;
32786 *-hppa* )
32787 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
32788 ;;
32789 esac
32790 fi
32791
32792 OPTIMISE=
32793 if test "$wxUSE_OPTIMISE" = "no" ; then
32794 if test "$GCC" = yes ; then
32795 OPTIMISE="-O0"
32796 fi
32797 else
32798 if test "$GCC" = yes ; then
32799 OPTIMISE="-O2"
32800
32801 case "${host}" in
32802 i586-*-*|i686-*-* )
32803 OPTIMISE="${OPTIMISE} "
32804 ;;
32805 esac
32806 else
32807 OPTIMISE="-O"
32808 fi
32809 fi
32810
32811
32812 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
32813 cat >>confdefs.h <<\_ACEOF
32814 #define WXWIN_COMPATIBILITY_2_2 1
32815 _ACEOF
32816
32817
32818 WXWIN_COMPATIBILITY_2_4="yes"
32819 fi
32820
32821 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
32822 cat >>confdefs.h <<\_ACEOF
32823 #define WXWIN_COMPATIBILITY_2_4 1
32824 _ACEOF
32825
32826 fi
32827
32828
32829 if test "$wxUSE_GUI" = "yes"; then
32830 cat >>confdefs.h <<\_ACEOF
32831 #define wxUSE_GUI 1
32832 _ACEOF
32833
32834
32835 else
32836 cat >>confdefs.h <<\_ACEOF
32837 #define wxUSE_NOGUI 1
32838 _ACEOF
32839
32840 fi
32841
32842
32843 if test "$wxUSE_UNIX" = "yes"; then
32844 cat >>confdefs.h <<\_ACEOF
32845 #define wxUSE_UNIX 1
32846 _ACEOF
32847
32848 fi
32849
32850
32851 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32852
32853 HAVE_DL_FUNCS=0
32854 HAVE_SHL_FUNCS=0
32855 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32856 if test "$USE_DARWIN" = 1; then
32857 HAVE_DL_FUNCS=1
32858 else
32859
32860 for ac_func in dlopen
32861 do
32862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32863 echo "$as_me:$LINENO: checking for $ac_func" >&5
32864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32865 if eval "test \"\${$as_ac_var+set}\" = set"; then
32866 echo $ECHO_N "(cached) $ECHO_C" >&6
32867 else
32868 cat >conftest.$ac_ext <<_ACEOF
32869 /* confdefs.h. */
32870 _ACEOF
32871 cat confdefs.h >>conftest.$ac_ext
32872 cat >>conftest.$ac_ext <<_ACEOF
32873 /* end confdefs.h. */
32874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32876 #define $ac_func innocuous_$ac_func
32877
32878 /* System header to define __stub macros and hopefully few prototypes,
32879 which can conflict with char $ac_func (); below.
32880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32881 <limits.h> exists even on freestanding compilers. */
32882
32883 #ifdef __STDC__
32884 # include <limits.h>
32885 #else
32886 # include <assert.h>
32887 #endif
32888
32889 #undef $ac_func
32890
32891 /* Override any gcc2 internal prototype to avoid an error. */
32892 #ifdef __cplusplus
32893 extern "C"
32894 {
32895 #endif
32896 /* We use char because int might match the return type of a gcc2
32897 builtin and then its argument prototype would still apply. */
32898 char $ac_func ();
32899 /* The GNU C library defines this for functions which it implements
32900 to always fail with ENOSYS. Some functions are actually named
32901 something starting with __ and the normal name is an alias. */
32902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32903 choke me
32904 #else
32905 char (*f) () = $ac_func;
32906 #endif
32907 #ifdef __cplusplus
32908 }
32909 #endif
32910
32911 int
32912 main ()
32913 {
32914 return f != $ac_func;
32915 ;
32916 return 0;
32917 }
32918 _ACEOF
32919 rm -f conftest.$ac_objext conftest$ac_exeext
32920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32921 (eval $ac_link) 2>conftest.er1
32922 ac_status=$?
32923 grep -v '^ *+' conftest.er1 >conftest.err
32924 rm -f conftest.er1
32925 cat conftest.err >&5
32926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32927 (exit $ac_status); } &&
32928 { ac_try='test -z "$ac_c_werror_flag"
32929 || test ! -s conftest.err'
32930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32931 (eval $ac_try) 2>&5
32932 ac_status=$?
32933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32934 (exit $ac_status); }; } &&
32935 { ac_try='test -s conftest$ac_exeext'
32936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32937 (eval $ac_try) 2>&5
32938 ac_status=$?
32939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32940 (exit $ac_status); }; }; then
32941 eval "$as_ac_var=yes"
32942 else
32943 echo "$as_me: failed program was:" >&5
32944 sed 's/^/| /' conftest.$ac_ext >&5
32945
32946 eval "$as_ac_var=no"
32947 fi
32948 rm -f conftest.err conftest.$ac_objext \
32949 conftest$ac_exeext conftest.$ac_ext
32950 fi
32951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32953 if test `eval echo '${'$as_ac_var'}'` = yes; then
32954 cat >>confdefs.h <<_ACEOF
32955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32956 _ACEOF
32957
32958 cat >>confdefs.h <<\_ACEOF
32959 #define HAVE_DLOPEN 1
32960 _ACEOF
32961
32962 HAVE_DL_FUNCS=1
32963
32964 else
32965
32966 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
32967 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
32968 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
32969 echo $ECHO_N "(cached) $ECHO_C" >&6
32970 else
32971 ac_check_lib_save_LIBS=$LIBS
32972 LIBS="-ldl $LIBS"
32973 cat >conftest.$ac_ext <<_ACEOF
32974 /* confdefs.h. */
32975 _ACEOF
32976 cat confdefs.h >>conftest.$ac_ext
32977 cat >>conftest.$ac_ext <<_ACEOF
32978 /* end confdefs.h. */
32979
32980 /* Override any gcc2 internal prototype to avoid an error. */
32981 #ifdef __cplusplus
32982 extern "C"
32983 #endif
32984 /* We use char because int might match the return type of a gcc2
32985 builtin and then its argument prototype would still apply. */
32986 char dlopen ();
32987 int
32988 main ()
32989 {
32990 dlopen ();
32991 ;
32992 return 0;
32993 }
32994 _ACEOF
32995 rm -f conftest.$ac_objext conftest$ac_exeext
32996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32997 (eval $ac_link) 2>conftest.er1
32998 ac_status=$?
32999 grep -v '^ *+' conftest.er1 >conftest.err
33000 rm -f conftest.er1
33001 cat conftest.err >&5
33002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33003 (exit $ac_status); } &&
33004 { ac_try='test -z "$ac_c_werror_flag"
33005 || test ! -s conftest.err'
33006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33007 (eval $ac_try) 2>&5
33008 ac_status=$?
33009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33010 (exit $ac_status); }; } &&
33011 { ac_try='test -s conftest$ac_exeext'
33012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33013 (eval $ac_try) 2>&5
33014 ac_status=$?
33015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33016 (exit $ac_status); }; }; then
33017 ac_cv_lib_dl_dlopen=yes
33018 else
33019 echo "$as_me: failed program was:" >&5
33020 sed 's/^/| /' conftest.$ac_ext >&5
33021
33022 ac_cv_lib_dl_dlopen=no
33023 fi
33024 rm -f conftest.err conftest.$ac_objext \
33025 conftest$ac_exeext conftest.$ac_ext
33026 LIBS=$ac_check_lib_save_LIBS
33027 fi
33028 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33029 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33030 if test $ac_cv_lib_dl_dlopen = yes; then
33031
33032 cat >>confdefs.h <<\_ACEOF
33033 #define HAVE_DLOPEN 1
33034 _ACEOF
33035
33036 HAVE_DL_FUNCS=1
33037 DL_LINK=" -ldl$DL_LINK"
33038
33039 else
33040
33041
33042 for ac_func in shl_load
33043 do
33044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33045 echo "$as_me:$LINENO: checking for $ac_func" >&5
33046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33047 if eval "test \"\${$as_ac_var+set}\" = set"; then
33048 echo $ECHO_N "(cached) $ECHO_C" >&6
33049 else
33050 cat >conftest.$ac_ext <<_ACEOF
33051 /* confdefs.h. */
33052 _ACEOF
33053 cat confdefs.h >>conftest.$ac_ext
33054 cat >>conftest.$ac_ext <<_ACEOF
33055 /* end confdefs.h. */
33056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33058 #define $ac_func innocuous_$ac_func
33059
33060 /* System header to define __stub macros and hopefully few prototypes,
33061 which can conflict with char $ac_func (); below.
33062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33063 <limits.h> exists even on freestanding compilers. */
33064
33065 #ifdef __STDC__
33066 # include <limits.h>
33067 #else
33068 # include <assert.h>
33069 #endif
33070
33071 #undef $ac_func
33072
33073 /* Override any gcc2 internal prototype to avoid an error. */
33074 #ifdef __cplusplus
33075 extern "C"
33076 {
33077 #endif
33078 /* We use char because int might match the return type of a gcc2
33079 builtin and then its argument prototype would still apply. */
33080 char $ac_func ();
33081 /* The GNU C library defines this for functions which it implements
33082 to always fail with ENOSYS. Some functions are actually named
33083 something starting with __ and the normal name is an alias. */
33084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33085 choke me
33086 #else
33087 char (*f) () = $ac_func;
33088 #endif
33089 #ifdef __cplusplus
33090 }
33091 #endif
33092
33093 int
33094 main ()
33095 {
33096 return f != $ac_func;
33097 ;
33098 return 0;
33099 }
33100 _ACEOF
33101 rm -f conftest.$ac_objext conftest$ac_exeext
33102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33103 (eval $ac_link) 2>conftest.er1
33104 ac_status=$?
33105 grep -v '^ *+' conftest.er1 >conftest.err
33106 rm -f conftest.er1
33107 cat conftest.err >&5
33108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33109 (exit $ac_status); } &&
33110 { ac_try='test -z "$ac_c_werror_flag"
33111 || test ! -s conftest.err'
33112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33113 (eval $ac_try) 2>&5
33114 ac_status=$?
33115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33116 (exit $ac_status); }; } &&
33117 { ac_try='test -s conftest$ac_exeext'
33118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33119 (eval $ac_try) 2>&5
33120 ac_status=$?
33121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33122 (exit $ac_status); }; }; then
33123 eval "$as_ac_var=yes"
33124 else
33125 echo "$as_me: failed program was:" >&5
33126 sed 's/^/| /' conftest.$ac_ext >&5
33127
33128 eval "$as_ac_var=no"
33129 fi
33130 rm -f conftest.err conftest.$ac_objext \
33131 conftest$ac_exeext conftest.$ac_ext
33132 fi
33133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33135 if test `eval echo '${'$as_ac_var'}'` = yes; then
33136 cat >>confdefs.h <<_ACEOF
33137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33138 _ACEOF
33139
33140 cat >>confdefs.h <<\_ACEOF
33141 #define HAVE_SHL_LOAD 1
33142 _ACEOF
33143
33144 HAVE_SHL_FUNCS=1
33145
33146 else
33147
33148 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33149 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33150 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33151 echo $ECHO_N "(cached) $ECHO_C" >&6
33152 else
33153 ac_check_lib_save_LIBS=$LIBS
33154 LIBS="-lshl_load $LIBS"
33155 cat >conftest.$ac_ext <<_ACEOF
33156 /* confdefs.h. */
33157 _ACEOF
33158 cat confdefs.h >>conftest.$ac_ext
33159 cat >>conftest.$ac_ext <<_ACEOF
33160 /* end confdefs.h. */
33161
33162 /* Override any gcc2 internal prototype to avoid an error. */
33163 #ifdef __cplusplus
33164 extern "C"
33165 #endif
33166 /* We use char because int might match the return type of a gcc2
33167 builtin and then its argument prototype would still apply. */
33168 char dld ();
33169 int
33170 main ()
33171 {
33172 dld ();
33173 ;
33174 return 0;
33175 }
33176 _ACEOF
33177 rm -f conftest.$ac_objext conftest$ac_exeext
33178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33179 (eval $ac_link) 2>conftest.er1
33180 ac_status=$?
33181 grep -v '^ *+' conftest.er1 >conftest.err
33182 rm -f conftest.er1
33183 cat conftest.err >&5
33184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33185 (exit $ac_status); } &&
33186 { ac_try='test -z "$ac_c_werror_flag"
33187 || test ! -s conftest.err'
33188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33189 (eval $ac_try) 2>&5
33190 ac_status=$?
33191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33192 (exit $ac_status); }; } &&
33193 { ac_try='test -s conftest$ac_exeext'
33194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33195 (eval $ac_try) 2>&5
33196 ac_status=$?
33197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33198 (exit $ac_status); }; }; then
33199 ac_cv_lib_shl_load_dld=yes
33200 else
33201 echo "$as_me: failed program was:" >&5
33202 sed 's/^/| /' conftest.$ac_ext >&5
33203
33204 ac_cv_lib_shl_load_dld=no
33205 fi
33206 rm -f conftest.err conftest.$ac_objext \
33207 conftest$ac_exeext conftest.$ac_ext
33208 LIBS=$ac_check_lib_save_LIBS
33209 fi
33210 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33211 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33212 if test $ac_cv_lib_shl_load_dld = yes; then
33213
33214 HAVE_SHL_FUNCS=1
33215 DL_LINK=" -ldld$DL_LINK"
33216
33217 fi
33218
33219
33220 fi
33221 done
33222
33223
33224 fi
33225
33226
33227 fi
33228 done
33229
33230
33231 if test "$HAVE_DL_FUNCS" = 1; then
33232
33233 for ac_func in dlerror
33234 do
33235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33236 echo "$as_me:$LINENO: checking for $ac_func" >&5
33237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33238 if eval "test \"\${$as_ac_var+set}\" = set"; then
33239 echo $ECHO_N "(cached) $ECHO_C" >&6
33240 else
33241 cat >conftest.$ac_ext <<_ACEOF
33242 /* confdefs.h. */
33243 _ACEOF
33244 cat confdefs.h >>conftest.$ac_ext
33245 cat >>conftest.$ac_ext <<_ACEOF
33246 /* end confdefs.h. */
33247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33249 #define $ac_func innocuous_$ac_func
33250
33251 /* System header to define __stub macros and hopefully few prototypes,
33252 which can conflict with char $ac_func (); below.
33253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33254 <limits.h> exists even on freestanding compilers. */
33255
33256 #ifdef __STDC__
33257 # include <limits.h>
33258 #else
33259 # include <assert.h>
33260 #endif
33261
33262 #undef $ac_func
33263
33264 /* Override any gcc2 internal prototype to avoid an error. */
33265 #ifdef __cplusplus
33266 extern "C"
33267 {
33268 #endif
33269 /* We use char because int might match the return type of a gcc2
33270 builtin and then its argument prototype would still apply. */
33271 char $ac_func ();
33272 /* The GNU C library defines this for functions which it implements
33273 to always fail with ENOSYS. Some functions are actually named
33274 something starting with __ and the normal name is an alias. */
33275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33276 choke me
33277 #else
33278 char (*f) () = $ac_func;
33279 #endif
33280 #ifdef __cplusplus
33281 }
33282 #endif
33283
33284 int
33285 main ()
33286 {
33287 return f != $ac_func;
33288 ;
33289 return 0;
33290 }
33291 _ACEOF
33292 rm -f conftest.$ac_objext conftest$ac_exeext
33293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33294 (eval $ac_link) 2>conftest.er1
33295 ac_status=$?
33296 grep -v '^ *+' conftest.er1 >conftest.err
33297 rm -f conftest.er1
33298 cat conftest.err >&5
33299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33300 (exit $ac_status); } &&
33301 { ac_try='test -z "$ac_c_werror_flag"
33302 || test ! -s conftest.err'
33303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33304 (eval $ac_try) 2>&5
33305 ac_status=$?
33306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33307 (exit $ac_status); }; } &&
33308 { ac_try='test -s conftest$ac_exeext'
33309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33310 (eval $ac_try) 2>&5
33311 ac_status=$?
33312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33313 (exit $ac_status); }; }; then
33314 eval "$as_ac_var=yes"
33315 else
33316 echo "$as_me: failed program was:" >&5
33317 sed 's/^/| /' conftest.$ac_ext >&5
33318
33319 eval "$as_ac_var=no"
33320 fi
33321 rm -f conftest.err conftest.$ac_objext \
33322 conftest$ac_exeext conftest.$ac_ext
33323 fi
33324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33326 if test `eval echo '${'$as_ac_var'}'` = yes; then
33327 cat >>confdefs.h <<_ACEOF
33328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33329 _ACEOF
33330 cat >>confdefs.h <<\_ACEOF
33331 #define HAVE_DLERROR 1
33332 _ACEOF
33333
33334 else
33335
33336 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
33337 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
33338 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
33339 echo $ECHO_N "(cached) $ECHO_C" >&6
33340 else
33341 ac_check_lib_save_LIBS=$LIBS
33342 LIBS="-ldl $LIBS"
33343 cat >conftest.$ac_ext <<_ACEOF
33344 /* confdefs.h. */
33345 _ACEOF
33346 cat confdefs.h >>conftest.$ac_ext
33347 cat >>conftest.$ac_ext <<_ACEOF
33348 /* end confdefs.h. */
33349
33350 /* Override any gcc2 internal prototype to avoid an error. */
33351 #ifdef __cplusplus
33352 extern "C"
33353 #endif
33354 /* We use char because int might match the return type of a gcc2
33355 builtin and then its argument prototype would still apply. */
33356 char dlerror ();
33357 int
33358 main ()
33359 {
33360 dlerror ();
33361 ;
33362 return 0;
33363 }
33364 _ACEOF
33365 rm -f conftest.$ac_objext conftest$ac_exeext
33366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33367 (eval $ac_link) 2>conftest.er1
33368 ac_status=$?
33369 grep -v '^ *+' conftest.er1 >conftest.err
33370 rm -f conftest.er1
33371 cat conftest.err >&5
33372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33373 (exit $ac_status); } &&
33374 { ac_try='test -z "$ac_c_werror_flag"
33375 || test ! -s conftest.err'
33376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33377 (eval $ac_try) 2>&5
33378 ac_status=$?
33379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33380 (exit $ac_status); }; } &&
33381 { ac_try='test -s conftest$ac_exeext'
33382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33383 (eval $ac_try) 2>&5
33384 ac_status=$?
33385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33386 (exit $ac_status); }; }; then
33387 ac_cv_lib_dl_dlerror=yes
33388 else
33389 echo "$as_me: failed program was:" >&5
33390 sed 's/^/| /' conftest.$ac_ext >&5
33391
33392 ac_cv_lib_dl_dlerror=no
33393 fi
33394 rm -f conftest.err conftest.$ac_objext \
33395 conftest$ac_exeext conftest.$ac_ext
33396 LIBS=$ac_check_lib_save_LIBS
33397 fi
33398 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
33399 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
33400 if test $ac_cv_lib_dl_dlerror = yes; then
33401 cat >>confdefs.h <<\_ACEOF
33402 #define HAVE_DLERROR 1
33403 _ACEOF
33404
33405 fi
33406
33407
33408
33409 fi
33410 done
33411
33412 fi
33413 fi
33414
33415 if test "$HAVE_DL_FUNCS" = 0; then
33416 if test "$HAVE_SHL_FUNCS" = 0; then
33417 if test "$USE_UNIX" = 1; then
33418 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33419 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33420 wxUSE_DYNAMIC_LOADER=no
33421 wxUSE_DYNLIB_CLASS=no
33422 else
33423 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
33424 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33425 fi
33426 fi
33427 fi
33428 fi
33429 fi
33430
33431 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33432 cat >>confdefs.h <<\_ACEOF
33433 #define wxUSE_DYNAMIC_LOADER 1
33434 _ACEOF
33435
33436 fi
33437 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33438 cat >>confdefs.h <<\_ACEOF
33439 #define wxUSE_DYNLIB_CLASS 1
33440 _ACEOF
33441
33442 fi
33443
33444
33445
33446 if test "$wxUSE_PLUGINS" = "yes" ; then
33447 if test "$wxUSE_SHARED" = "no" ; then
33448 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
33449 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33450 wxUSE_PLUGINS=no
33451 fi
33452 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33453 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
33454 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33455 wxUSE_PLUGINS=no
33456 fi
33457 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33458 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33459 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33460 wxUSE_PLUGINS=no
33461 fi
33462 if test "$wxUSE_PLUGINS" = "yes" ; then
33463 cat >>confdefs.h <<\_ACEOF
33464 #define wxUSE_PLUGINS 1
33465 _ACEOF
33466
33467 fi
33468 fi
33469
33470
33471 if test "$wxUSE_STL" = "yes"; then
33472 cat >>confdefs.h <<\_ACEOF
33473 #define wxUSE_STL 1
33474 _ACEOF
33475
33476 fi
33477
33478 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33479 cat >>confdefs.h <<\_ACEOF
33480 #define wxUSE_APPLE_IEEE 1
33481 _ACEOF
33482
33483 fi
33484
33485 if test "$wxUSE_TIMER" = "yes"; then
33486 cat >>confdefs.h <<\_ACEOF
33487 #define wxUSE_TIMER 1
33488 _ACEOF
33489
33490 fi
33491
33492 WITH_PLUGIN_SDL=0
33493 if test "$wxUSE_SOUND" = "yes"; then
33494 if test "$USE_UNIX" = "1" ; then
33495
33496 for ac_header in sys/soundcard.h
33497 do
33498 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33500 echo "$as_me:$LINENO: checking for $ac_header" >&5
33501 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33502 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33503 echo $ECHO_N "(cached) $ECHO_C" >&6
33504 fi
33505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33506 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33507 else
33508 # Is the header compilable?
33509 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33510 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33511 cat >conftest.$ac_ext <<_ACEOF
33512 /* confdefs.h. */
33513 _ACEOF
33514 cat confdefs.h >>conftest.$ac_ext
33515 cat >>conftest.$ac_ext <<_ACEOF
33516 /* end confdefs.h. */
33517 $ac_includes_default
33518 #include <$ac_header>
33519 _ACEOF
33520 rm -f conftest.$ac_objext
33521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33522 (eval $ac_compile) 2>conftest.er1
33523 ac_status=$?
33524 grep -v '^ *+' conftest.er1 >conftest.err
33525 rm -f conftest.er1
33526 cat conftest.err >&5
33527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33528 (exit $ac_status); } &&
33529 { ac_try='test -z "$ac_c_werror_flag"
33530 || test ! -s conftest.err'
33531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33532 (eval $ac_try) 2>&5
33533 ac_status=$?
33534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33535 (exit $ac_status); }; } &&
33536 { ac_try='test -s conftest.$ac_objext'
33537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33538 (eval $ac_try) 2>&5
33539 ac_status=$?
33540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33541 (exit $ac_status); }; }; then
33542 ac_header_compiler=yes
33543 else
33544 echo "$as_me: failed program was:" >&5
33545 sed 's/^/| /' conftest.$ac_ext >&5
33546
33547 ac_header_compiler=no
33548 fi
33549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33550 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33551 echo "${ECHO_T}$ac_header_compiler" >&6
33552
33553 # Is the header present?
33554 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33555 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33556 cat >conftest.$ac_ext <<_ACEOF
33557 /* confdefs.h. */
33558 _ACEOF
33559 cat confdefs.h >>conftest.$ac_ext
33560 cat >>conftest.$ac_ext <<_ACEOF
33561 /* end confdefs.h. */
33562 #include <$ac_header>
33563 _ACEOF
33564 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33565 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33566 ac_status=$?
33567 grep -v '^ *+' conftest.er1 >conftest.err
33568 rm -f conftest.er1
33569 cat conftest.err >&5
33570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33571 (exit $ac_status); } >/dev/null; then
33572 if test -s conftest.err; then
33573 ac_cpp_err=$ac_c_preproc_warn_flag
33574 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33575 else
33576 ac_cpp_err=
33577 fi
33578 else
33579 ac_cpp_err=yes
33580 fi
33581 if test -z "$ac_cpp_err"; then
33582 ac_header_preproc=yes
33583 else
33584 echo "$as_me: failed program was:" >&5
33585 sed 's/^/| /' conftest.$ac_ext >&5
33586
33587 ac_header_preproc=no
33588 fi
33589 rm -f conftest.err conftest.$ac_ext
33590 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33591 echo "${ECHO_T}$ac_header_preproc" >&6
33592
33593 # So? What about this header?
33594 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33595 yes:no: )
33596 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33597 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33598 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33599 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33600 ac_header_preproc=yes
33601 ;;
33602 no:yes:* )
33603 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33604 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33605 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33606 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33607 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33608 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33609 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33610 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33611 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33612 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33613 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33614 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33615 (
33616 cat <<\_ASBOX
33617 ## ----------------------------------------- ##
33618 ## Report this to wx-dev@lists.wxwindows.org ##
33619 ## ----------------------------------------- ##
33620 _ASBOX
33621 ) |
33622 sed "s/^/$as_me: WARNING: /" >&2
33623 ;;
33624 esac
33625 echo "$as_me:$LINENO: checking for $ac_header" >&5
33626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33627 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33628 echo $ECHO_N "(cached) $ECHO_C" >&6
33629 else
33630 eval "$as_ac_Header=\$ac_header_preproc"
33631 fi
33632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33633 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33634
33635 fi
33636 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33637 cat >>confdefs.h <<_ACEOF
33638 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33639 _ACEOF
33640
33641 fi
33642
33643 done
33644
33645
33646 if test "$wxUSE_LIBSDL" != "no"; then
33647
33648 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
33649 if test "${with_sdl_prefix+set}" = set; then
33650 withval="$with_sdl_prefix"
33651 sdl_prefix="$withval"
33652 else
33653 sdl_prefix=""
33654 fi;
33655
33656 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
33657 if test "${with_sdl_exec_prefix+set}" = set; then
33658 withval="$with_sdl_exec_prefix"
33659 sdl_exec_prefix="$withval"
33660 else
33661 sdl_exec_prefix=""
33662 fi;
33663 # Check whether --enable-sdltest or --disable-sdltest was given.
33664 if test "${enable_sdltest+set}" = set; then
33665 enableval="$enable_sdltest"
33666
33667 else
33668 enable_sdltest=yes
33669 fi;
33670
33671 if test x$sdl_exec_prefix != x ; then
33672 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
33673 if test x${SDL_CONFIG+set} != xset ; then
33674 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
33675 fi
33676 fi
33677 if test x$sdl_prefix != x ; then
33678 sdl_args="$sdl_args --prefix=$sdl_prefix"
33679 if test x${SDL_CONFIG+set} != xset ; then
33680 SDL_CONFIG=$sdl_prefix/bin/sdl-config
33681 fi
33682 fi
33683
33684
33685 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
33686 # Extract the first word of "sdl-config", so it can be a program name with args.
33687 set dummy sdl-config; ac_word=$2
33688 echo "$as_me:$LINENO: checking for $ac_word" >&5
33689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33690 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
33691 echo $ECHO_N "(cached) $ECHO_C" >&6
33692 else
33693 case $SDL_CONFIG in
33694 [\\/]* | ?:[\\/]*)
33695 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
33696 ;;
33697 *)
33698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33699 for as_dir in $PATH
33700 do
33701 IFS=$as_save_IFS
33702 test -z "$as_dir" && as_dir=.
33703 for ac_exec_ext in '' $ac_executable_extensions; do
33704 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33705 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33707 break 2
33708 fi
33709 done
33710 done
33711
33712 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
33713 ;;
33714 esac
33715 fi
33716 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
33717
33718 if test -n "$SDL_CONFIG"; then
33719 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
33720 echo "${ECHO_T}$SDL_CONFIG" >&6
33721 else
33722 echo "$as_me:$LINENO: result: no" >&5
33723 echo "${ECHO_T}no" >&6
33724 fi
33725
33726 min_sdl_version=1.2.0
33727 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
33728 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
33729 no_sdl=""
33730 if test "$SDL_CONFIG" = "no" ; then
33731 no_sdl=yes
33732 else
33733 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
33734 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
33735
33736 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
33737 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33738 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
33739 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33740 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
33741 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33742 if test "x$enable_sdltest" = "xyes" ; then
33743 ac_save_CFLAGS="$CFLAGS"
33744 ac_save_LIBS="$LIBS"
33745 CFLAGS="$CFLAGS $SDL_CFLAGS"
33746 LIBS="$LIBS $SDL_LIBS"
33747 rm -f conf.sdltest
33748 if test "$cross_compiling" = yes; then
33749 echo $ac_n "cross compiling; assumed OK... $ac_c"
33750 else
33751 cat >conftest.$ac_ext <<_ACEOF
33752 /* confdefs.h. */
33753 _ACEOF
33754 cat confdefs.h >>conftest.$ac_ext
33755 cat >>conftest.$ac_ext <<_ACEOF
33756 /* end confdefs.h. */
33757
33758 #include <stdio.h>
33759 #include <stdlib.h>
33760 #include <string.h>
33761 #include "SDL.h"
33762
33763 char*
33764 my_strdup (char *str)
33765 {
33766 char *new_str;
33767
33768 if (str)
33769 {
33770 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33771 strcpy (new_str, str);
33772 }
33773 else
33774 new_str = NULL;
33775
33776 return new_str;
33777 }
33778
33779 int main (int argc, char *argv[])
33780 {
33781 int major, minor, micro;
33782 char *tmp_version;
33783
33784 /* This hangs on some systems (?)
33785 system ("touch conf.sdltest");
33786 */
33787 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33788
33789 /* HP/UX 9 (%@#!) writes to sscanf strings */
33790 tmp_version = my_strdup("$min_sdl_version");
33791 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
33792 printf("%s, bad version string\n", "$min_sdl_version");
33793 exit(1);
33794 }
33795
33796 if (($sdl_major_version > major) ||
33797 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33798 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33799 {
33800 return 0;
33801 }
33802 else
33803 {
33804 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33805 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33806 printf("*** best to upgrade to the required version.\n");
33807 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33808 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33809 printf("*** config.cache before re-running configure\n");
33810 return 1;
33811 }
33812 }
33813
33814
33815 _ACEOF
33816 rm -f conftest$ac_exeext
33817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33818 (eval $ac_link) 2>&5
33819 ac_status=$?
33820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33821 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33823 (eval $ac_try) 2>&5
33824 ac_status=$?
33825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33826 (exit $ac_status); }; }; then
33827 :
33828 else
33829 echo "$as_me: program exited with status $ac_status" >&5
33830 echo "$as_me: failed program was:" >&5
33831 sed 's/^/| /' conftest.$ac_ext >&5
33832
33833 ( exit $ac_status )
33834 no_sdl=yes
33835 fi
33836 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33837 fi
33838 CFLAGS="$ac_save_CFLAGS"
33839 LIBS="$ac_save_LIBS"
33840 fi
33841 fi
33842 if test "x$no_sdl" = x ; then
33843 echo "$as_me:$LINENO: result: yes" >&5
33844 echo "${ECHO_T}yes" >&6
33845
33846 EXTRALIBS_SDL="$SDL_LIBS"
33847 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33848 cat >>confdefs.h <<\_ACEOF
33849 #define wxUSE_LIBSDL 1
33850 _ACEOF
33851
33852
33853 else
33854 echo "$as_me:$LINENO: result: no" >&5
33855 echo "${ECHO_T}no" >&6
33856 if test "$SDL_CONFIG" = "no" ; then
33857 echo "*** The sdl-config script installed by SDL could not be found"
33858 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33859 echo "*** your path, or set the SDL_CONFIG environment variable to the"
33860 echo "*** full path to sdl-config."
33861 else
33862 if test -f conf.sdltest ; then
33863 :
33864 else
33865 echo "*** Could not run SDL test program, checking why..."
33866 CFLAGS="$CFLAGS $SDL_CFLAGS"
33867 LIBS="$LIBS $SDL_LIBS"
33868 cat >conftest.$ac_ext <<_ACEOF
33869 /* confdefs.h. */
33870 _ACEOF
33871 cat confdefs.h >>conftest.$ac_ext
33872 cat >>conftest.$ac_ext <<_ACEOF
33873 /* end confdefs.h. */
33874
33875 #include <stdio.h>
33876 #include "SDL.h"
33877
33878 int main(int argc, char *argv[])
33879 { return 0; }
33880 #undef main
33881 #define main K_and_R_C_main
33882
33883 int
33884 main ()
33885 {
33886 return 0;
33887 ;
33888 return 0;
33889 }
33890 _ACEOF
33891 rm -f conftest.$ac_objext conftest$ac_exeext
33892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33893 (eval $ac_link) 2>conftest.er1
33894 ac_status=$?
33895 grep -v '^ *+' conftest.er1 >conftest.err
33896 rm -f conftest.er1
33897 cat conftest.err >&5
33898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33899 (exit $ac_status); } &&
33900 { ac_try='test -z "$ac_c_werror_flag"
33901 || test ! -s conftest.err'
33902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33903 (eval $ac_try) 2>&5
33904 ac_status=$?
33905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33906 (exit $ac_status); }; } &&
33907 { ac_try='test -s conftest$ac_exeext'
33908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33909 (eval $ac_try) 2>&5
33910 ac_status=$?
33911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33912 (exit $ac_status); }; }; then
33913 echo "*** The test program compiled, but did not run. This usually means"
33914 echo "*** that the run-time linker is not finding SDL or finding the wrong"
33915 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33916 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33917 echo "*** to the installed location Also, make sure you have run ldconfig if that"
33918 echo "*** is required on your system"
33919 echo "***"
33920 echo "*** If you have an old version installed, it is best to remove it, although"
33921 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33922 else
33923 echo "$as_me: failed program was:" >&5
33924 sed 's/^/| /' conftest.$ac_ext >&5
33925
33926 echo "*** The test program failed to compile or link. See the file config.log for the"
33927 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
33928 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33929 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33930 fi
33931 rm -f conftest.err conftest.$ac_objext \
33932 conftest$ac_exeext conftest.$ac_ext
33933 CFLAGS="$ac_save_CFLAGS"
33934 LIBS="$ac_save_LIBS"
33935 fi
33936 fi
33937 SDL_CFLAGS=""
33938 SDL_LIBS=""
33939 wxUSE_LIBSDL="no"
33940 fi
33941
33942
33943 rm -f conf.sdltest
33944
33945 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33946 WITH_PLUGIN_SDL=1
33947 fi
33948 fi
33949 fi
33950
33951 cat >>confdefs.h <<\_ACEOF
33952 #define wxUSE_SOUND 1
33953 _ACEOF
33954
33955 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
33956 fi
33957
33958 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
33959 cat >>confdefs.h <<\_ACEOF
33960 #define wxUSE_CMDLINE_PARSER 1
33961 _ACEOF
33962
33963 fi
33964
33965 if test "$wxUSE_STOPWATCH" = "yes"; then
33966 cat >>confdefs.h <<\_ACEOF
33967 #define wxUSE_STOPWATCH 1
33968 _ACEOF
33969
33970 fi
33971
33972 if test "$wxUSE_DATETIME" = "yes"; then
33973 cat >>confdefs.h <<\_ACEOF
33974 #define wxUSE_DATETIME 1
33975 _ACEOF
33976
33977 fi
33978
33979 if test "$wxUSE_FILE" = "yes"; then
33980 cat >>confdefs.h <<\_ACEOF
33981 #define wxUSE_FILE 1
33982 _ACEOF
33983
33984 fi
33985
33986 if test "$wxUSE_FFILE" = "yes"; then
33987 cat >>confdefs.h <<\_ACEOF
33988 #define wxUSE_FFILE 1
33989 _ACEOF
33990
33991 fi
33992
33993 if test "$wxUSE_FILESYSTEM" = "yes"; then
33994 cat >>confdefs.h <<\_ACEOF
33995 #define wxUSE_FILESYSTEM 1
33996 _ACEOF
33997
33998 fi
33999
34000 if test "$wxUSE_FS_ZIP" = "yes"; then
34001 cat >>confdefs.h <<\_ACEOF
34002 #define wxUSE_FS_ZIP 1
34003 _ACEOF
34004
34005 fi
34006
34007 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34008 cat >>confdefs.h <<\_ACEOF
34009 #define wxUSE_ZIPSTREAM 1
34010 _ACEOF
34011
34012 fi
34013
34014 if test "$wxUSE_GZSTREAM" = "yes"; then
34015 cat >>confdefs.h <<\_ACEOF
34016 #define wxUSE_GZSTREAM 1
34017 _ACEOF
34018
34019 fi
34020
34021 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34022 cat >>confdefs.h <<\_ACEOF
34023 #define wxUSE_ON_FATAL_EXCEPTION 1
34024 _ACEOF
34025
34026 fi
34027
34028 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34029 cat >>confdefs.h <<\_ACEOF
34030 #define wxUSE_SNGLINST_CHECKER 1
34031 _ACEOF
34032
34033 fi
34034
34035 if test "$wxUSE_BUSYINFO" = "yes"; then
34036 cat >>confdefs.h <<\_ACEOF
34037 #define wxUSE_BUSYINFO 1
34038 _ACEOF
34039
34040 fi
34041
34042 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34043 cat >>confdefs.h <<\_ACEOF
34044 #define wxUSE_STD_IOSTREAM 1
34045 _ACEOF
34046
34047 fi
34048
34049 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34050 cat >>confdefs.h <<\_ACEOF
34051 #define wxUSE_TEXTBUFFER 1
34052 _ACEOF
34053
34054 fi
34055
34056 if test "$wxUSE_TEXTFILE" = "yes"; then
34057 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34058 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34059 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34060 else
34061 cat >>confdefs.h <<\_ACEOF
34062 #define wxUSE_TEXTFILE 1
34063 _ACEOF
34064
34065 fi
34066 fi
34067
34068 if test "$wxUSE_CONFIG" = "yes" ; then
34069 if test "$wxUSE_TEXTFILE" != "yes"; then
34070 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34071 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34072 else
34073 cat >>confdefs.h <<\_ACEOF
34074 #define wxUSE_CONFIG 1
34075 _ACEOF
34076
34077 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34078 fi
34079 fi
34080
34081 if test "$wxUSE_INTL" = "yes" ; then
34082 if test "$wxUSE_FILE" != "yes"; then
34083 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34084 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34085 else
34086 cat >>confdefs.h <<\_ACEOF
34087 #define wxUSE_INTL 1
34088 _ACEOF
34089
34090 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
34091 GUIDIST="$GUIDIST INTL_DIST"
34092 fi
34093 fi
34094
34095 if test "$wxUSE_LOG" = "yes"; then
34096 cat >>confdefs.h <<\_ACEOF
34097 #define wxUSE_LOG 1
34098 _ACEOF
34099
34100
34101 if test "$wxUSE_LOGGUI" = "yes"; then
34102 cat >>confdefs.h <<\_ACEOF
34103 #define wxUSE_LOGGUI 1
34104 _ACEOF
34105
34106 fi
34107
34108 if test "$wxUSE_LOGWINDOW" = "yes"; then
34109 cat >>confdefs.h <<\_ACEOF
34110 #define wxUSE_LOGWINDOW 1
34111 _ACEOF
34112
34113 fi
34114
34115 if test "$wxUSE_LOGDIALOG" = "yes"; then
34116 cat >>confdefs.h <<\_ACEOF
34117 #define wxUSE_LOG_DIALOG 1
34118 _ACEOF
34119
34120 fi
34121 fi
34122
34123 if test "$wxUSE_LONGLONG" = "yes"; then
34124 cat >>confdefs.h <<\_ACEOF
34125 #define wxUSE_LONGLONG 1
34126 _ACEOF
34127
34128 fi
34129
34130 if test "$wxUSE_GEOMETRY" = "yes"; then
34131 cat >>confdefs.h <<\_ACEOF
34132 #define wxUSE_GEOMETRY 1
34133 _ACEOF
34134
34135 fi
34136
34137 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34138 cat >>confdefs.h <<\_ACEOF
34139 #define wxUSE_DIALUP_MANAGER 1
34140 _ACEOF
34141
34142 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
34143 fi
34144
34145 if test "$wxUSE_STREAMS" = "yes" ; then
34146 cat >>confdefs.h <<\_ACEOF
34147 #define wxUSE_STREAMS 1
34148 _ACEOF
34149
34150 fi
34151
34152
34153 if test "$wxUSE_DATETIME" = "yes"; then
34154
34155 for ac_func in strptime
34156 do
34157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34158 echo "$as_me:$LINENO: checking for $ac_func" >&5
34159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34160 if eval "test \"\${$as_ac_var+set}\" = set"; then
34161 echo $ECHO_N "(cached) $ECHO_C" >&6
34162 else
34163 cat >conftest.$ac_ext <<_ACEOF
34164 /* confdefs.h. */
34165 _ACEOF
34166 cat confdefs.h >>conftest.$ac_ext
34167 cat >>conftest.$ac_ext <<_ACEOF
34168 /* end confdefs.h. */
34169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34171 #define $ac_func innocuous_$ac_func
34172
34173 /* System header to define __stub macros and hopefully few prototypes,
34174 which can conflict with char $ac_func (); below.
34175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34176 <limits.h> exists even on freestanding compilers. */
34177
34178 #ifdef __STDC__
34179 # include <limits.h>
34180 #else
34181 # include <assert.h>
34182 #endif
34183
34184 #undef $ac_func
34185
34186 /* Override any gcc2 internal prototype to avoid an error. */
34187 #ifdef __cplusplus
34188 extern "C"
34189 {
34190 #endif
34191 /* We use char because int might match the return type of a gcc2
34192 builtin and then its argument prototype would still apply. */
34193 char $ac_func ();
34194 /* The GNU C library defines this for functions which it implements
34195 to always fail with ENOSYS. Some functions are actually named
34196 something starting with __ and the normal name is an alias. */
34197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34198 choke me
34199 #else
34200 char (*f) () = $ac_func;
34201 #endif
34202 #ifdef __cplusplus
34203 }
34204 #endif
34205
34206 int
34207 main ()
34208 {
34209 return f != $ac_func;
34210 ;
34211 return 0;
34212 }
34213 _ACEOF
34214 rm -f conftest.$ac_objext conftest$ac_exeext
34215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34216 (eval $ac_link) 2>conftest.er1
34217 ac_status=$?
34218 grep -v '^ *+' conftest.er1 >conftest.err
34219 rm -f conftest.er1
34220 cat conftest.err >&5
34221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34222 (exit $ac_status); } &&
34223 { ac_try='test -z "$ac_c_werror_flag"
34224 || test ! -s conftest.err'
34225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34226 (eval $ac_try) 2>&5
34227 ac_status=$?
34228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34229 (exit $ac_status); }; } &&
34230 { ac_try='test -s conftest$ac_exeext'
34231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34232 (eval $ac_try) 2>&5
34233 ac_status=$?
34234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34235 (exit $ac_status); }; }; then
34236 eval "$as_ac_var=yes"
34237 else
34238 echo "$as_me: failed program was:" >&5
34239 sed 's/^/| /' conftest.$ac_ext >&5
34240
34241 eval "$as_ac_var=no"
34242 fi
34243 rm -f conftest.err conftest.$ac_objext \
34244 conftest$ac_exeext conftest.$ac_ext
34245 fi
34246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34248 if test `eval echo '${'$as_ac_var'}'` = yes; then
34249 cat >>confdefs.h <<_ACEOF
34250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34251 _ACEOF
34252
34253 fi
34254 done
34255
34256
34257 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34258 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34259 if test "${wx_cv_var_timezone+set}" = set; then
34260 echo $ECHO_N "(cached) $ECHO_C" >&6
34261 else
34262
34263 cat >conftest.$ac_ext <<_ACEOF
34264 /* confdefs.h. */
34265 _ACEOF
34266 cat confdefs.h >>conftest.$ac_ext
34267 cat >>conftest.$ac_ext <<_ACEOF
34268 /* end confdefs.h. */
34269
34270 #include <time.h>
34271
34272 int
34273 main ()
34274 {
34275
34276 int tz;
34277 tz = timezone;
34278
34279 ;
34280 return 0;
34281 }
34282 _ACEOF
34283 rm -f conftest.$ac_objext
34284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34285 (eval $ac_compile) 2>conftest.er1
34286 ac_status=$?
34287 grep -v '^ *+' conftest.er1 >conftest.err
34288 rm -f conftest.er1
34289 cat conftest.err >&5
34290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34291 (exit $ac_status); } &&
34292 { ac_try='test -z "$ac_c_werror_flag"
34293 || test ! -s conftest.err'
34294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34295 (eval $ac_try) 2>&5
34296 ac_status=$?
34297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34298 (exit $ac_status); }; } &&
34299 { ac_try='test -s conftest.$ac_objext'
34300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34301 (eval $ac_try) 2>&5
34302 ac_status=$?
34303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34304 (exit $ac_status); }; }; then
34305
34306 wx_cv_var_timezone=timezone
34307
34308 else
34309 echo "$as_me: failed program was:" >&5
34310 sed 's/^/| /' conftest.$ac_ext >&5
34311
34312
34313 cat >conftest.$ac_ext <<_ACEOF
34314 /* confdefs.h. */
34315 _ACEOF
34316 cat confdefs.h >>conftest.$ac_ext
34317 cat >>conftest.$ac_ext <<_ACEOF
34318 /* end confdefs.h. */
34319
34320 #include <time.h>
34321
34322 int
34323 main ()
34324 {
34325
34326 int tz;
34327 tz = _timezone;
34328
34329 ;
34330 return 0;
34331 }
34332 _ACEOF
34333 rm -f conftest.$ac_objext
34334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34335 (eval $ac_compile) 2>conftest.er1
34336 ac_status=$?
34337 grep -v '^ *+' conftest.er1 >conftest.err
34338 rm -f conftest.er1
34339 cat conftest.err >&5
34340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34341 (exit $ac_status); } &&
34342 { ac_try='test -z "$ac_c_werror_flag"
34343 || test ! -s conftest.err'
34344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34345 (eval $ac_try) 2>&5
34346 ac_status=$?
34347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34348 (exit $ac_status); }; } &&
34349 { ac_try='test -s conftest.$ac_objext'
34350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34351 (eval $ac_try) 2>&5
34352 ac_status=$?
34353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34354 (exit $ac_status); }; }; then
34355
34356 wx_cv_var_timezone=_timezone
34357
34358 else
34359 echo "$as_me: failed program was:" >&5
34360 sed 's/^/| /' conftest.$ac_ext >&5
34361
34362
34363 cat >conftest.$ac_ext <<_ACEOF
34364 /* confdefs.h. */
34365 _ACEOF
34366 cat confdefs.h >>conftest.$ac_ext
34367 cat >>conftest.$ac_ext <<_ACEOF
34368 /* end confdefs.h. */
34369
34370 #include <time.h>
34371
34372 int
34373 main ()
34374 {
34375
34376 int tz;
34377 tz = __timezone;
34378
34379 ;
34380 return 0;
34381 }
34382 _ACEOF
34383 rm -f conftest.$ac_objext
34384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34385 (eval $ac_compile) 2>conftest.er1
34386 ac_status=$?
34387 grep -v '^ *+' conftest.er1 >conftest.err
34388 rm -f conftest.er1
34389 cat conftest.err >&5
34390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34391 (exit $ac_status); } &&
34392 { ac_try='test -z "$ac_c_werror_flag"
34393 || test ! -s conftest.err'
34394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34395 (eval $ac_try) 2>&5
34396 ac_status=$?
34397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34398 (exit $ac_status); }; } &&
34399 { ac_try='test -s conftest.$ac_objext'
34400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34401 (eval $ac_try) 2>&5
34402 ac_status=$?
34403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34404 (exit $ac_status); }; }; then
34405
34406 wx_cv_var_timezone=__timezone
34407
34408 else
34409 echo "$as_me: failed program was:" >&5
34410 sed 's/^/| /' conftest.$ac_ext >&5
34411
34412
34413 if test "$USE_DOS" = 0 ; then
34414 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
34415 echo "$as_me: WARNING: no timezone variable" >&2;}
34416 fi
34417
34418
34419 fi
34420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34421
34422
34423 fi
34424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34425
34426
34427 fi
34428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34429
34430
34431 fi
34432 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
34433 echo "${ECHO_T}$wx_cv_var_timezone" >&6
34434
34435 if test "x$wx_cv_var_timezone" != x ; then
34436 cat >>confdefs.h <<_ACEOF
34437 #define WX_TIMEZONE $wx_cv_var_timezone
34438 _ACEOF
34439
34440 fi
34441
34442
34443 for ac_func in localtime
34444 do
34445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34446 echo "$as_me:$LINENO: checking for $ac_func" >&5
34447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34448 if eval "test \"\${$as_ac_var+set}\" = set"; then
34449 echo $ECHO_N "(cached) $ECHO_C" >&6
34450 else
34451 cat >conftest.$ac_ext <<_ACEOF
34452 /* confdefs.h. */
34453 _ACEOF
34454 cat confdefs.h >>conftest.$ac_ext
34455 cat >>conftest.$ac_ext <<_ACEOF
34456 /* end confdefs.h. */
34457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34459 #define $ac_func innocuous_$ac_func
34460
34461 /* System header to define __stub macros and hopefully few prototypes,
34462 which can conflict with char $ac_func (); below.
34463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34464 <limits.h> exists even on freestanding compilers. */
34465
34466 #ifdef __STDC__
34467 # include <limits.h>
34468 #else
34469 # include <assert.h>
34470 #endif
34471
34472 #undef $ac_func
34473
34474 /* Override any gcc2 internal prototype to avoid an error. */
34475 #ifdef __cplusplus
34476 extern "C"
34477 {
34478 #endif
34479 /* We use char because int might match the return type of a gcc2
34480 builtin and then its argument prototype would still apply. */
34481 char $ac_func ();
34482 /* The GNU C library defines this for functions which it implements
34483 to always fail with ENOSYS. Some functions are actually named
34484 something starting with __ and the normal name is an alias. */
34485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34486 choke me
34487 #else
34488 char (*f) () = $ac_func;
34489 #endif
34490 #ifdef __cplusplus
34491 }
34492 #endif
34493
34494 int
34495 main ()
34496 {
34497 return f != $ac_func;
34498 ;
34499 return 0;
34500 }
34501 _ACEOF
34502 rm -f conftest.$ac_objext conftest$ac_exeext
34503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34504 (eval $ac_link) 2>conftest.er1
34505 ac_status=$?
34506 grep -v '^ *+' conftest.er1 >conftest.err
34507 rm -f conftest.er1
34508 cat conftest.err >&5
34509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34510 (exit $ac_status); } &&
34511 { ac_try='test -z "$ac_c_werror_flag"
34512 || test ! -s conftest.err'
34513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34514 (eval $ac_try) 2>&5
34515 ac_status=$?
34516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34517 (exit $ac_status); }; } &&
34518 { ac_try='test -s conftest$ac_exeext'
34519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34520 (eval $ac_try) 2>&5
34521 ac_status=$?
34522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34523 (exit $ac_status); }; }; then
34524 eval "$as_ac_var=yes"
34525 else
34526 echo "$as_me: failed program was:" >&5
34527 sed 's/^/| /' conftest.$ac_ext >&5
34528
34529 eval "$as_ac_var=no"
34530 fi
34531 rm -f conftest.err conftest.$ac_objext \
34532 conftest$ac_exeext conftest.$ac_ext
34533 fi
34534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34536 if test `eval echo '${'$as_ac_var'}'` = yes; then
34537 cat >>confdefs.h <<_ACEOF
34538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34539 _ACEOF
34540
34541 fi
34542 done
34543
34544
34545 if test "$ac_cv_func_localtime" = "yes"; then
34546 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
34547 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
34548 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
34549 echo $ECHO_N "(cached) $ECHO_C" >&6
34550 else
34551
34552 cat >conftest.$ac_ext <<_ACEOF
34553 /* confdefs.h. */
34554 _ACEOF
34555 cat confdefs.h >>conftest.$ac_ext
34556 cat >>conftest.$ac_ext <<_ACEOF
34557 /* end confdefs.h. */
34558
34559 #include <time.h>
34560
34561 int
34562 main ()
34563 {
34564
34565 struct tm tm;
34566 tm.tm_gmtoff++;
34567
34568 ;
34569 return 0;
34570 }
34571 _ACEOF
34572 rm -f conftest.$ac_objext
34573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34574 (eval $ac_compile) 2>conftest.er1
34575 ac_status=$?
34576 grep -v '^ *+' conftest.er1 >conftest.err
34577 rm -f conftest.er1
34578 cat conftest.err >&5
34579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34580 (exit $ac_status); } &&
34581 { ac_try='test -z "$ac_c_werror_flag"
34582 || test ! -s conftest.err'
34583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34584 (eval $ac_try) 2>&5
34585 ac_status=$?
34586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34587 (exit $ac_status); }; } &&
34588 { ac_try='test -s conftest.$ac_objext'
34589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34590 (eval $ac_try) 2>&5
34591 ac_status=$?
34592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34593 (exit $ac_status); }; }; then
34594
34595 wx_cv_struct_tm_has_gmtoff=yes
34596
34597 else
34598 echo "$as_me: failed program was:" >&5
34599 sed 's/^/| /' conftest.$ac_ext >&5
34600
34601 wx_cv_struct_tm_has_gmtoff=no
34602
34603 fi
34604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34605
34606 fi
34607 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
34608 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
34609 fi
34610
34611 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
34612 cat >>confdefs.h <<\_ACEOF
34613 #define WX_GMTOFF_IN_TM 1
34614 _ACEOF
34615
34616 fi
34617
34618
34619
34620 for ac_func in gettimeofday ftime
34621 do
34622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34623 echo "$as_me:$LINENO: checking for $ac_func" >&5
34624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34625 if eval "test \"\${$as_ac_var+set}\" = set"; then
34626 echo $ECHO_N "(cached) $ECHO_C" >&6
34627 else
34628 cat >conftest.$ac_ext <<_ACEOF
34629 /* confdefs.h. */
34630 _ACEOF
34631 cat confdefs.h >>conftest.$ac_ext
34632 cat >>conftest.$ac_ext <<_ACEOF
34633 /* end confdefs.h. */
34634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34636 #define $ac_func innocuous_$ac_func
34637
34638 /* System header to define __stub macros and hopefully few prototypes,
34639 which can conflict with char $ac_func (); below.
34640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34641 <limits.h> exists even on freestanding compilers. */
34642
34643 #ifdef __STDC__
34644 # include <limits.h>
34645 #else
34646 # include <assert.h>
34647 #endif
34648
34649 #undef $ac_func
34650
34651 /* Override any gcc2 internal prototype to avoid an error. */
34652 #ifdef __cplusplus
34653 extern "C"
34654 {
34655 #endif
34656 /* We use char because int might match the return type of a gcc2
34657 builtin and then its argument prototype would still apply. */
34658 char $ac_func ();
34659 /* The GNU C library defines this for functions which it implements
34660 to always fail with ENOSYS. Some functions are actually named
34661 something starting with __ and the normal name is an alias. */
34662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34663 choke me
34664 #else
34665 char (*f) () = $ac_func;
34666 #endif
34667 #ifdef __cplusplus
34668 }
34669 #endif
34670
34671 int
34672 main ()
34673 {
34674 return f != $ac_func;
34675 ;
34676 return 0;
34677 }
34678 _ACEOF
34679 rm -f conftest.$ac_objext conftest$ac_exeext
34680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34681 (eval $ac_link) 2>conftest.er1
34682 ac_status=$?
34683 grep -v '^ *+' conftest.er1 >conftest.err
34684 rm -f conftest.er1
34685 cat conftest.err >&5
34686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34687 (exit $ac_status); } &&
34688 { ac_try='test -z "$ac_c_werror_flag"
34689 || test ! -s conftest.err'
34690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34691 (eval $ac_try) 2>&5
34692 ac_status=$?
34693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34694 (exit $ac_status); }; } &&
34695 { ac_try='test -s conftest$ac_exeext'
34696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34697 (eval $ac_try) 2>&5
34698 ac_status=$?
34699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34700 (exit $ac_status); }; }; then
34701 eval "$as_ac_var=yes"
34702 else
34703 echo "$as_me: failed program was:" >&5
34704 sed 's/^/| /' conftest.$ac_ext >&5
34705
34706 eval "$as_ac_var=no"
34707 fi
34708 rm -f conftest.err conftest.$ac_objext \
34709 conftest$ac_exeext conftest.$ac_ext
34710 fi
34711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34712 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34713 if test `eval echo '${'$as_ac_var'}'` = yes; then
34714 cat >>confdefs.h <<_ACEOF
34715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34716 _ACEOF
34717 break
34718 fi
34719 done
34720
34721
34722 if test "$ac_cv_func_gettimeofday" = "yes"; then
34723 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
34724 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
34725 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
34726 echo $ECHO_N "(cached) $ECHO_C" >&6
34727 else
34728
34729
34730
34731 ac_ext=cc
34732 ac_cpp='$CXXCPP $CPPFLAGS'
34733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34736
34737
34738 cat >conftest.$ac_ext <<_ACEOF
34739 /* confdefs.h. */
34740 _ACEOF
34741 cat confdefs.h >>conftest.$ac_ext
34742 cat >>conftest.$ac_ext <<_ACEOF
34743 /* end confdefs.h. */
34744
34745 #include <sys/time.h>
34746 #include <unistd.h>
34747
34748 int
34749 main ()
34750 {
34751
34752 struct timeval tv;
34753 gettimeofday(&tv, NULL);
34754
34755 ;
34756 return 0;
34757 }
34758 _ACEOF
34759 rm -f conftest.$ac_objext
34760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34761 (eval $ac_compile) 2>conftest.er1
34762 ac_status=$?
34763 grep -v '^ *+' conftest.er1 >conftest.err
34764 rm -f conftest.er1
34765 cat conftest.err >&5
34766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34767 (exit $ac_status); } &&
34768 { ac_try='test -z "$ac_cxx_werror_flag"
34769 || test ! -s conftest.err'
34770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34771 (eval $ac_try) 2>&5
34772 ac_status=$?
34773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34774 (exit $ac_status); }; } &&
34775 { ac_try='test -s conftest.$ac_objext'
34776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34777 (eval $ac_try) 2>&5
34778 ac_status=$?
34779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34780 (exit $ac_status); }; }; then
34781 wx_cv_func_gettimeofday_has_2_args=yes
34782 else
34783 echo "$as_me: failed program was:" >&5
34784 sed 's/^/| /' conftest.$ac_ext >&5
34785
34786 cat >conftest.$ac_ext <<_ACEOF
34787 /* confdefs.h. */
34788 _ACEOF
34789 cat confdefs.h >>conftest.$ac_ext
34790 cat >>conftest.$ac_ext <<_ACEOF
34791 /* end confdefs.h. */
34792
34793 #include <sys/time.h>
34794 #include <unistd.h>
34795
34796 int
34797 main ()
34798 {
34799
34800 struct timeval tv;
34801 gettimeofday(&tv);
34802
34803 ;
34804 return 0;
34805 }
34806 _ACEOF
34807 rm -f conftest.$ac_objext
34808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34809 (eval $ac_compile) 2>conftest.er1
34810 ac_status=$?
34811 grep -v '^ *+' conftest.er1 >conftest.err
34812 rm -f conftest.er1
34813 cat conftest.err >&5
34814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34815 (exit $ac_status); } &&
34816 { ac_try='test -z "$ac_cxx_werror_flag"
34817 || test ! -s conftest.err'
34818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34819 (eval $ac_try) 2>&5
34820 ac_status=$?
34821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34822 (exit $ac_status); }; } &&
34823 { ac_try='test -s conftest.$ac_objext'
34824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34825 (eval $ac_try) 2>&5
34826 ac_status=$?
34827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34828 (exit $ac_status); }; }; then
34829 wx_cv_func_gettimeofday_has_2_args=no
34830 else
34831 echo "$as_me: failed program was:" >&5
34832 sed 's/^/| /' conftest.$ac_ext >&5
34833
34834
34835 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
34836 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
34837 wx_cv_func_gettimeofday_has_2_args=unknown
34838
34839
34840 fi
34841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34842
34843 fi
34844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34845 ac_ext=c
34846 ac_cpp='$CPP $CPPFLAGS'
34847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34850
34851
34852 fi
34853 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
34854 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
34855
34856 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
34857 cat >>confdefs.h <<\_ACEOF
34858 #define WX_GETTIMEOFDAY_NO_TZ 1
34859 _ACEOF
34860
34861 fi
34862 fi
34863
34864 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
34865 fi
34866
34867
34868 if test "$wxUSE_SOCKETS" = "yes"; then
34869 if test "$wxUSE_MGL" = "1"; then
34870 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
34871 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
34872 wxUSE_SOCKETS="no"
34873 fi
34874 fi
34875
34876 if test "$wxUSE_SOCKETS" = "yes"; then
34877 if test "$TOOLKIT" != "MSW"; then
34878 echo "$as_me:$LINENO: checking for socket" >&5
34879 echo $ECHO_N "checking for socket... $ECHO_C" >&6
34880 if test "${ac_cv_func_socket+set}" = set; then
34881 echo $ECHO_N "(cached) $ECHO_C" >&6
34882 else
34883 cat >conftest.$ac_ext <<_ACEOF
34884 /* confdefs.h. */
34885 _ACEOF
34886 cat confdefs.h >>conftest.$ac_ext
34887 cat >>conftest.$ac_ext <<_ACEOF
34888 /* end confdefs.h. */
34889 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
34890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34891 #define socket innocuous_socket
34892
34893 /* System header to define __stub macros and hopefully few prototypes,
34894 which can conflict with char socket (); below.
34895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34896 <limits.h> exists even on freestanding compilers. */
34897
34898 #ifdef __STDC__
34899 # include <limits.h>
34900 #else
34901 # include <assert.h>
34902 #endif
34903
34904 #undef socket
34905
34906 /* Override any gcc2 internal prototype to avoid an error. */
34907 #ifdef __cplusplus
34908 extern "C"
34909 {
34910 #endif
34911 /* We use char because int might match the return type of a gcc2
34912 builtin and then its argument prototype would still apply. */
34913 char socket ();
34914 /* The GNU C library defines this for functions which it implements
34915 to always fail with ENOSYS. Some functions are actually named
34916 something starting with __ and the normal name is an alias. */
34917 #if defined (__stub_socket) || defined (__stub___socket)
34918 choke me
34919 #else
34920 char (*f) () = socket;
34921 #endif
34922 #ifdef __cplusplus
34923 }
34924 #endif
34925
34926 int
34927 main ()
34928 {
34929 return f != socket;
34930 ;
34931 return 0;
34932 }
34933 _ACEOF
34934 rm -f conftest.$ac_objext conftest$ac_exeext
34935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34936 (eval $ac_link) 2>conftest.er1
34937 ac_status=$?
34938 grep -v '^ *+' conftest.er1 >conftest.err
34939 rm -f conftest.er1
34940 cat conftest.err >&5
34941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34942 (exit $ac_status); } &&
34943 { ac_try='test -z "$ac_c_werror_flag"
34944 || test ! -s conftest.err'
34945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34946 (eval $ac_try) 2>&5
34947 ac_status=$?
34948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34949 (exit $ac_status); }; } &&
34950 { ac_try='test -s conftest$ac_exeext'
34951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34952 (eval $ac_try) 2>&5
34953 ac_status=$?
34954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34955 (exit $ac_status); }; }; then
34956 ac_cv_func_socket=yes
34957 else
34958 echo "$as_me: failed program was:" >&5
34959 sed 's/^/| /' conftest.$ac_ext >&5
34960
34961 ac_cv_func_socket=no
34962 fi
34963 rm -f conftest.err conftest.$ac_objext \
34964 conftest$ac_exeext conftest.$ac_ext
34965 fi
34966 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
34967 echo "${ECHO_T}$ac_cv_func_socket" >&6
34968 if test $ac_cv_func_socket = yes; then
34969 :
34970 else
34971
34972 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
34973 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
34974 if test "${ac_cv_lib_socket_socket+set}" = set; then
34975 echo $ECHO_N "(cached) $ECHO_C" >&6
34976 else
34977 ac_check_lib_save_LIBS=$LIBS
34978 LIBS="-lsocket $LIBS"
34979 cat >conftest.$ac_ext <<_ACEOF
34980 /* confdefs.h. */
34981 _ACEOF
34982 cat confdefs.h >>conftest.$ac_ext
34983 cat >>conftest.$ac_ext <<_ACEOF
34984 /* end confdefs.h. */
34985
34986 /* Override any gcc2 internal prototype to avoid an error. */
34987 #ifdef __cplusplus
34988 extern "C"
34989 #endif
34990 /* We use char because int might match the return type of a gcc2
34991 builtin and then its argument prototype would still apply. */
34992 char socket ();
34993 int
34994 main ()
34995 {
34996 socket ();
34997 ;
34998 return 0;
34999 }
35000 _ACEOF
35001 rm -f conftest.$ac_objext conftest$ac_exeext
35002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35003 (eval $ac_link) 2>conftest.er1
35004 ac_status=$?
35005 grep -v '^ *+' conftest.er1 >conftest.err
35006 rm -f conftest.er1
35007 cat conftest.err >&5
35008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35009 (exit $ac_status); } &&
35010 { ac_try='test -z "$ac_c_werror_flag"
35011 || test ! -s conftest.err'
35012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35013 (eval $ac_try) 2>&5
35014 ac_status=$?
35015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35016 (exit $ac_status); }; } &&
35017 { ac_try='test -s conftest$ac_exeext'
35018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35019 (eval $ac_try) 2>&5
35020 ac_status=$?
35021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35022 (exit $ac_status); }; }; then
35023 ac_cv_lib_socket_socket=yes
35024 else
35025 echo "$as_me: failed program was:" >&5
35026 sed 's/^/| /' conftest.$ac_ext >&5
35027
35028 ac_cv_lib_socket_socket=no
35029 fi
35030 rm -f conftest.err conftest.$ac_objext \
35031 conftest$ac_exeext conftest.$ac_ext
35032 LIBS=$ac_check_lib_save_LIBS
35033 fi
35034 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35035 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35036 if test $ac_cv_lib_socket_socket = yes; then
35037 if test "$INET_LINK" != " -lsocket"; then
35038 INET_LINK="$INET_LINK -lsocket"
35039 fi
35040 else
35041
35042 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35043 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35044 wxUSE_SOCKETS=no
35045
35046
35047 fi
35048
35049
35050
35051 fi
35052
35053 fi
35054 fi
35055
35056 if test "$wxUSE_SOCKETS" = "yes" ; then
35057 if test "$TOOLKIT" != "MSW"; then
35058 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35059 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35060 if test "${wx_cv_type_getsockname3+set}" = set; then
35061 echo $ECHO_N "(cached) $ECHO_C" >&6
35062 else
35063
35064 cat >conftest.$ac_ext <<_ACEOF
35065 /* confdefs.h. */
35066 _ACEOF
35067 cat confdefs.h >>conftest.$ac_ext
35068 cat >>conftest.$ac_ext <<_ACEOF
35069 /* end confdefs.h. */
35070
35071 #include <sys/types.h>
35072 #include <sys/socket.h>
35073
35074 int
35075 main ()
35076 {
35077
35078 socklen_t len;
35079 getsockname(0, 0, &len);
35080
35081 ;
35082 return 0;
35083 }
35084 _ACEOF
35085 rm -f conftest.$ac_objext
35086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35087 (eval $ac_compile) 2>conftest.er1
35088 ac_status=$?
35089 grep -v '^ *+' conftest.er1 >conftest.err
35090 rm -f conftest.er1
35091 cat conftest.err >&5
35092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35093 (exit $ac_status); } &&
35094 { ac_try='test -z "$ac_c_werror_flag"
35095 || test ! -s conftest.err'
35096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35097 (eval $ac_try) 2>&5
35098 ac_status=$?
35099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35100 (exit $ac_status); }; } &&
35101 { ac_try='test -s conftest.$ac_objext'
35102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35103 (eval $ac_try) 2>&5
35104 ac_status=$?
35105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35106 (exit $ac_status); }; }; then
35107 wx_cv_type_getsockname3=socklen_t
35108 else
35109 echo "$as_me: failed program was:" >&5
35110 sed 's/^/| /' conftest.$ac_ext >&5
35111
35112
35113 CFLAGS_OLD="$CFLAGS"
35114 if test "$GCC" = yes ; then
35115 CFLAGS="$CFLAGS -Werror"
35116 fi
35117
35118 cat >conftest.$ac_ext <<_ACEOF
35119 /* confdefs.h. */
35120 _ACEOF
35121 cat confdefs.h >>conftest.$ac_ext
35122 cat >>conftest.$ac_ext <<_ACEOF
35123 /* end confdefs.h. */
35124
35125 #include <sys/types.h>
35126 #include <sys/socket.h>
35127
35128 int
35129 main ()
35130 {
35131
35132 size_t len;
35133 getsockname(0, 0, &len);
35134
35135 ;
35136 return 0;
35137 }
35138 _ACEOF
35139 rm -f conftest.$ac_objext
35140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35141 (eval $ac_compile) 2>conftest.er1
35142 ac_status=$?
35143 grep -v '^ *+' conftest.er1 >conftest.err
35144 rm -f conftest.er1
35145 cat conftest.err >&5
35146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35147 (exit $ac_status); } &&
35148 { ac_try='test -z "$ac_c_werror_flag"
35149 || test ! -s conftest.err'
35150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35151 (eval $ac_try) 2>&5
35152 ac_status=$?
35153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35154 (exit $ac_status); }; } &&
35155 { ac_try='test -s conftest.$ac_objext'
35156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35157 (eval $ac_try) 2>&5
35158 ac_status=$?
35159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35160 (exit $ac_status); }; }; then
35161 wx_cv_type_getsockname3=size_t
35162 else
35163 echo "$as_me: failed program was:" >&5
35164 sed 's/^/| /' conftest.$ac_ext >&5
35165
35166 cat >conftest.$ac_ext <<_ACEOF
35167 /* confdefs.h. */
35168 _ACEOF
35169 cat confdefs.h >>conftest.$ac_ext
35170 cat >>conftest.$ac_ext <<_ACEOF
35171 /* end confdefs.h. */
35172
35173 #include <sys/types.h>
35174 #include <sys/socket.h>
35175
35176 int
35177 main ()
35178 {
35179
35180 int len;
35181 getsockname(0, 0, &len);
35182
35183 ;
35184 return 0;
35185 }
35186 _ACEOF
35187 rm -f conftest.$ac_objext
35188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35189 (eval $ac_compile) 2>conftest.er1
35190 ac_status=$?
35191 grep -v '^ *+' conftest.er1 >conftest.err
35192 rm -f conftest.er1
35193 cat conftest.err >&5
35194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35195 (exit $ac_status); } &&
35196 { ac_try='test -z "$ac_c_werror_flag"
35197 || test ! -s conftest.err'
35198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35199 (eval $ac_try) 2>&5
35200 ac_status=$?
35201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35202 (exit $ac_status); }; } &&
35203 { ac_try='test -s conftest.$ac_objext'
35204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35205 (eval $ac_try) 2>&5
35206 ac_status=$?
35207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35208 (exit $ac_status); }; }; then
35209 wx_cv_type_getsockname3=int
35210 else
35211 echo "$as_me: failed program was:" >&5
35212 sed 's/^/| /' conftest.$ac_ext >&5
35213
35214 wx_cv_type_getsockname3=unknown
35215
35216 fi
35217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35218
35219 fi
35220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35221
35222 CFLAGS="$CFLAGS_OLD"
35223
35224
35225 fi
35226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35227
35228 fi
35229 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35230 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35231
35232 if test "$wx_cv_type_getsockname3" = "unknown"; then
35233 wxUSE_SOCKETS=no
35234 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35235 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35236 else
35237 cat >>confdefs.h <<_ACEOF
35238 #define SOCKLEN_T $wx_cv_type_getsockname3
35239 _ACEOF
35240
35241 fi
35242 fi
35243 fi
35244
35245 if test "$wxUSE_SOCKETS" = "yes" ; then
35246 cat >>confdefs.h <<\_ACEOF
35247 #define wxUSE_SOCKETS 1
35248 _ACEOF
35249
35250 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35251 fi
35252
35253 if test "$wxUSE_PROTOCOL" = "yes"; then
35254 if test "$wxUSE_SOCKETS" != "yes"; then
35255 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35256 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35257 wxUSE_PROTOCOL=no
35258 fi
35259 fi
35260
35261 if test "$wxUSE_PROTOCOL" = "yes"; then
35262 cat >>confdefs.h <<\_ACEOF
35263 #define wxUSE_PROTOCOL 1
35264 _ACEOF
35265
35266
35267 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35268 cat >>confdefs.h <<\_ACEOF
35269 #define wxUSE_PROTOCOL_HTTP 1
35270 _ACEOF
35271
35272 fi
35273 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35274 cat >>confdefs.h <<\_ACEOF
35275 #define wxUSE_PROTOCOL_FTP 1
35276 _ACEOF
35277
35278 fi
35279 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35280 cat >>confdefs.h <<\_ACEOF
35281 #define wxUSE_PROTOCOL_FILE 1
35282 _ACEOF
35283
35284 fi
35285 else
35286 if test "$wxUSE_FS_INET" = "yes"; then
35287 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35288 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35289 wxUSE_FS_INET="no"
35290 fi
35291 fi
35292
35293 if test "$wxUSE_URL" = "yes"; then
35294 if test "$wxUSE_PROTOCOL" != "yes"; then
35295 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35296 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35297 wxUSE_URL=no
35298 fi
35299 if test "$wxUSE_URL" = "yes"; then
35300 cat >>confdefs.h <<\_ACEOF
35301 #define wxUSE_URL 1
35302 _ACEOF
35303
35304 fi
35305 fi
35306
35307 if test "$wxUSE_FS_INET" = "yes"; then
35308 cat >>confdefs.h <<\_ACEOF
35309 #define wxUSE_FS_INET 1
35310 _ACEOF
35311
35312 fi
35313
35314
35315 if test "$wxUSE_GUI" = "yes"; then
35316
35317 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
35318 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
35319 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
35320 wxUSE_JOYSTICK=no
35321 fi
35322
35323 if test "$TOOLKIT" != "MSW"; then
35324 if test "$wxUSE_JOYSTICK" = "yes"; then
35325
35326 for ac_header in linux/joystick.h
35327 do
35328 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35329 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35330 echo "$as_me:$LINENO: checking for $ac_header" >&5
35331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35333 echo $ECHO_N "(cached) $ECHO_C" >&6
35334 fi
35335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35336 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35337 else
35338 # Is the header compilable?
35339 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35340 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35341 cat >conftest.$ac_ext <<_ACEOF
35342 /* confdefs.h. */
35343 _ACEOF
35344 cat confdefs.h >>conftest.$ac_ext
35345 cat >>conftest.$ac_ext <<_ACEOF
35346 /* end confdefs.h. */
35347 $ac_includes_default
35348 #include <$ac_header>
35349 _ACEOF
35350 rm -f conftest.$ac_objext
35351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35352 (eval $ac_compile) 2>conftest.er1
35353 ac_status=$?
35354 grep -v '^ *+' conftest.er1 >conftest.err
35355 rm -f conftest.er1
35356 cat conftest.err >&5
35357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35358 (exit $ac_status); } &&
35359 { ac_try='test -z "$ac_c_werror_flag"
35360 || test ! -s conftest.err'
35361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35362 (eval $ac_try) 2>&5
35363 ac_status=$?
35364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35365 (exit $ac_status); }; } &&
35366 { ac_try='test -s conftest.$ac_objext'
35367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35368 (eval $ac_try) 2>&5
35369 ac_status=$?
35370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35371 (exit $ac_status); }; }; then
35372 ac_header_compiler=yes
35373 else
35374 echo "$as_me: failed program was:" >&5
35375 sed 's/^/| /' conftest.$ac_ext >&5
35376
35377 ac_header_compiler=no
35378 fi
35379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35380 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35381 echo "${ECHO_T}$ac_header_compiler" >&6
35382
35383 # Is the header present?
35384 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35385 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35386 cat >conftest.$ac_ext <<_ACEOF
35387 /* confdefs.h. */
35388 _ACEOF
35389 cat confdefs.h >>conftest.$ac_ext
35390 cat >>conftest.$ac_ext <<_ACEOF
35391 /* end confdefs.h. */
35392 #include <$ac_header>
35393 _ACEOF
35394 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35395 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35396 ac_status=$?
35397 grep -v '^ *+' conftest.er1 >conftest.err
35398 rm -f conftest.er1
35399 cat conftest.err >&5
35400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35401 (exit $ac_status); } >/dev/null; then
35402 if test -s conftest.err; then
35403 ac_cpp_err=$ac_c_preproc_warn_flag
35404 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35405 else
35406 ac_cpp_err=
35407 fi
35408 else
35409 ac_cpp_err=yes
35410 fi
35411 if test -z "$ac_cpp_err"; then
35412 ac_header_preproc=yes
35413 else
35414 echo "$as_me: failed program was:" >&5
35415 sed 's/^/| /' conftest.$ac_ext >&5
35416
35417 ac_header_preproc=no
35418 fi
35419 rm -f conftest.err conftest.$ac_ext
35420 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35421 echo "${ECHO_T}$ac_header_preproc" >&6
35422
35423 # So? What about this header?
35424 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35425 yes:no: )
35426 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35427 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35428 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35429 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35430 ac_header_preproc=yes
35431 ;;
35432 no:yes:* )
35433 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35434 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35435 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35436 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35437 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35438 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35439 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35440 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35441 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35442 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35443 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35444 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35445 (
35446 cat <<\_ASBOX
35447 ## ----------------------------------------- ##
35448 ## Report this to wx-dev@lists.wxwindows.org ##
35449 ## ----------------------------------------- ##
35450 _ASBOX
35451 ) |
35452 sed "s/^/$as_me: WARNING: /" >&2
35453 ;;
35454 esac
35455 echo "$as_me:$LINENO: checking for $ac_header" >&5
35456 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35457 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35458 echo $ECHO_N "(cached) $ECHO_C" >&6
35459 else
35460 eval "$as_ac_Header=\$ac_header_preproc"
35461 fi
35462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35463 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35464
35465 fi
35466 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35467 cat >>confdefs.h <<_ACEOF
35468 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35469 _ACEOF
35470
35471 fi
35472
35473 done
35474
35475 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
35476 wxUSE_JOYSTICK=no
35477 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
35478 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35479 fi
35480 fi
35481 fi
35482
35483 if test "$wxUSE_JOYSTICK" = "yes"; then
35484 cat >>confdefs.h <<\_ACEOF
35485 #define wxUSE_JOYSTICK 1
35486 _ACEOF
35487
35488 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
35489 fi
35490 fi
35491
35492
35493
35494
35495 if test "$wxUSE_FONTMAP" = "yes" ; then
35496 cat >>confdefs.h <<\_ACEOF
35497 #define wxUSE_FONTMAP 1
35498 _ACEOF
35499
35500 fi
35501
35502 if test "$wxUSE_UNICODE" = "yes" ; then
35503 cat >>confdefs.h <<\_ACEOF
35504 #define wxUSE_UNICODE 1
35505 _ACEOF
35506
35507
35508 if test "$USE_WIN32" != 1; then
35509 wxUSE_UNICODE_MSLU=no
35510 fi
35511
35512 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35513 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
35514 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
35515 if test "${ac_cv_lib_unicows_main+set}" = set; then
35516 echo $ECHO_N "(cached) $ECHO_C" >&6
35517 else
35518 ac_check_lib_save_LIBS=$LIBS
35519 LIBS="-lunicows $LIBS"
35520 cat >conftest.$ac_ext <<_ACEOF
35521 /* confdefs.h. */
35522 _ACEOF
35523 cat confdefs.h >>conftest.$ac_ext
35524 cat >>conftest.$ac_ext <<_ACEOF
35525 /* end confdefs.h. */
35526
35527
35528 int
35529 main ()
35530 {
35531 main ();
35532 ;
35533 return 0;
35534 }
35535 _ACEOF
35536 rm -f conftest.$ac_objext conftest$ac_exeext
35537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35538 (eval $ac_link) 2>conftest.er1
35539 ac_status=$?
35540 grep -v '^ *+' conftest.er1 >conftest.err
35541 rm -f conftest.er1
35542 cat conftest.err >&5
35543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35544 (exit $ac_status); } &&
35545 { ac_try='test -z "$ac_c_werror_flag"
35546 || test ! -s conftest.err'
35547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35548 (eval $ac_try) 2>&5
35549 ac_status=$?
35550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35551 (exit $ac_status); }; } &&
35552 { ac_try='test -s conftest$ac_exeext'
35553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35554 (eval $ac_try) 2>&5
35555 ac_status=$?
35556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35557 (exit $ac_status); }; }; then
35558 ac_cv_lib_unicows_main=yes
35559 else
35560 echo "$as_me: failed program was:" >&5
35561 sed 's/^/| /' conftest.$ac_ext >&5
35562
35563 ac_cv_lib_unicows_main=no
35564 fi
35565 rm -f conftest.err conftest.$ac_objext \
35566 conftest$ac_exeext conftest.$ac_ext
35567 LIBS=$ac_check_lib_save_LIBS
35568 fi
35569 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
35570 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
35571 if test $ac_cv_lib_unicows_main = yes; then
35572
35573 cat >>confdefs.h <<\_ACEOF
35574 #define wxUSE_UNICODE_MSLU 1
35575 _ACEOF
35576
35577
35578 else
35579
35580 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35581 Applications will only run on Windows NT/2000/XP!" >&5
35582 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35583 Applications will only run on Windows NT/2000/XP!" >&2;}
35584 wxUSE_UNICODE_MSLU=no
35585
35586 fi
35587
35588 fi
35589 fi
35590
35591 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
35592 cat >>confdefs.h <<\_ACEOF
35593 #define wxUSE_EXPERIMENTAL_PRINTF 1
35594 _ACEOF
35595
35596 fi
35597
35598
35599 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35600 cat >>confdefs.h <<\_ACEOF
35601 #define wxUSE_POSTSCRIPT 1
35602 _ACEOF
35603
35604 fi
35605
35606 cat >>confdefs.h <<\_ACEOF
35607 #define wxUSE_AFM_FOR_POSTSCRIPT 1
35608 _ACEOF
35609
35610
35611 cat >>confdefs.h <<\_ACEOF
35612 #define wxUSE_NORMALIZED_PS_FONTS 1
35613 _ACEOF
35614
35615
35616
35617 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35618 cat >>confdefs.h <<\_ACEOF
35619 #define wxUSE_CONSTRAINTS 1
35620 _ACEOF
35621
35622 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
35623 fi
35624
35625 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35626 cat >>confdefs.h <<\_ACEOF
35627 #define wxUSE_MDI_ARCHITECTURE 1
35628 _ACEOF
35629
35630 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
35631 fi
35632
35633 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35634 cat >>confdefs.h <<\_ACEOF
35635 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
35636 _ACEOF
35637
35638 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
35639 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35640 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
35641 fi
35642 fi
35643
35644 if test "$wxUSE_HELP" = "yes"; then
35645 cat >>confdefs.h <<\_ACEOF
35646 #define wxUSE_HELP 1
35647 _ACEOF
35648
35649 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
35650
35651 if test "$wxUSE_MSW" = 1; then
35652 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35653 cat >>confdefs.h <<\_ACEOF
35654 #define wxUSE_MS_HTML_HELP 1
35655 _ACEOF
35656
35657 fi
35658 fi
35659
35660 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35661 if test "$wxUSE_HTML" = "yes"; then
35662 cat >>confdefs.h <<\_ACEOF
35663 #define wxUSE_WXHTML_HELP 1
35664 _ACEOF
35665
35666 else
35667 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35668 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35669 wxUSE_WXHTML_HELP=no
35670 fi
35671 fi
35672 fi
35673
35674 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35675 if test "$wxUSE_CONSTRAINTS" != "yes"; then
35676 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
35677 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
35678 else
35679 cat >>confdefs.h <<\_ACEOF
35680 #define wxUSE_PRINTING_ARCHITECTURE 1
35681 _ACEOF
35682
35683 fi
35684 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
35685 fi
35686
35687 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
35688 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
35689 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
35690 { (exit 1); exit 1; }; }
35691 fi
35692
35693
35694 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
35695 -o "$wxUSE_CLIPBOARD" = "yes" \
35696 -o "$wxUSE_OLE" = "yes" \
35697 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
35698
35699 for ac_header in ole2.h
35700 do
35701 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35702 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35703 echo "$as_me:$LINENO: checking for $ac_header" >&5
35704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35705 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35706 echo $ECHO_N "(cached) $ECHO_C" >&6
35707 fi
35708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35709 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35710 else
35711 # Is the header compilable?
35712 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35713 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35714 cat >conftest.$ac_ext <<_ACEOF
35715 /* confdefs.h. */
35716 _ACEOF
35717 cat confdefs.h >>conftest.$ac_ext
35718 cat >>conftest.$ac_ext <<_ACEOF
35719 /* end confdefs.h. */
35720 $ac_includes_default
35721 #include <$ac_header>
35722 _ACEOF
35723 rm -f conftest.$ac_objext
35724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35725 (eval $ac_compile) 2>conftest.er1
35726 ac_status=$?
35727 grep -v '^ *+' conftest.er1 >conftest.err
35728 rm -f conftest.er1
35729 cat conftest.err >&5
35730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35731 (exit $ac_status); } &&
35732 { ac_try='test -z "$ac_c_werror_flag"
35733 || test ! -s conftest.err'
35734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35735 (eval $ac_try) 2>&5
35736 ac_status=$?
35737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35738 (exit $ac_status); }; } &&
35739 { ac_try='test -s conftest.$ac_objext'
35740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35741 (eval $ac_try) 2>&5
35742 ac_status=$?
35743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35744 (exit $ac_status); }; }; then
35745 ac_header_compiler=yes
35746 else
35747 echo "$as_me: failed program was:" >&5
35748 sed 's/^/| /' conftest.$ac_ext >&5
35749
35750 ac_header_compiler=no
35751 fi
35752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35753 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35754 echo "${ECHO_T}$ac_header_compiler" >&6
35755
35756 # Is the header present?
35757 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35758 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35759 cat >conftest.$ac_ext <<_ACEOF
35760 /* confdefs.h. */
35761 _ACEOF
35762 cat confdefs.h >>conftest.$ac_ext
35763 cat >>conftest.$ac_ext <<_ACEOF
35764 /* end confdefs.h. */
35765 #include <$ac_header>
35766 _ACEOF
35767 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35768 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35769 ac_status=$?
35770 grep -v '^ *+' conftest.er1 >conftest.err
35771 rm -f conftest.er1
35772 cat conftest.err >&5
35773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35774 (exit $ac_status); } >/dev/null; then
35775 if test -s conftest.err; then
35776 ac_cpp_err=$ac_c_preproc_warn_flag
35777 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35778 else
35779 ac_cpp_err=
35780 fi
35781 else
35782 ac_cpp_err=yes
35783 fi
35784 if test -z "$ac_cpp_err"; then
35785 ac_header_preproc=yes
35786 else
35787 echo "$as_me: failed program was:" >&5
35788 sed 's/^/| /' conftest.$ac_ext >&5
35789
35790 ac_header_preproc=no
35791 fi
35792 rm -f conftest.err conftest.$ac_ext
35793 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35794 echo "${ECHO_T}$ac_header_preproc" >&6
35795
35796 # So? What about this header?
35797 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35798 yes:no: )
35799 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35800 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35801 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35802 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35803 ac_header_preproc=yes
35804 ;;
35805 no:yes:* )
35806 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35807 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35808 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35809 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35810 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35811 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35812 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35813 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35814 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35815 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35816 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35817 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35818 (
35819 cat <<\_ASBOX
35820 ## ----------------------------------------- ##
35821 ## Report this to wx-dev@lists.wxwindows.org ##
35822 ## ----------------------------------------- ##
35823 _ASBOX
35824 ) |
35825 sed "s/^/$as_me: WARNING: /" >&2
35826 ;;
35827 esac
35828 echo "$as_me:$LINENO: checking for $ac_header" >&5
35829 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35830 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35831 echo $ECHO_N "(cached) $ECHO_C" >&6
35832 else
35833 eval "$as_ac_Header=\$ac_header_preproc"
35834 fi
35835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35836 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35837
35838 fi
35839 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35840 cat >>confdefs.h <<_ACEOF
35841 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35842 _ACEOF
35843
35844 fi
35845
35846 done
35847
35848
35849 if test "$ac_cv_header_ole2_h" = "yes" ; then
35850 if test "$GCC" = yes ; then
35851
35852
35853 ac_ext=cc
35854 ac_cpp='$CXXCPP $CPPFLAGS'
35855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35858
35859
35860 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
35861 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
35862 cat >conftest.$ac_ext <<_ACEOF
35863 /* confdefs.h. */
35864 _ACEOF
35865 cat confdefs.h >>conftest.$ac_ext
35866 cat >>conftest.$ac_ext <<_ACEOF
35867 /* end confdefs.h. */
35868 #include <windows.h>
35869 #include <ole2.h>
35870 int
35871 main ()
35872 {
35873
35874 ;
35875 return 0;
35876 }
35877 _ACEOF
35878 rm -f conftest.$ac_objext
35879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35880 (eval $ac_compile) 2>conftest.er1
35881 ac_status=$?
35882 grep -v '^ *+' conftest.er1 >conftest.err
35883 rm -f conftest.er1
35884 cat conftest.err >&5
35885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35886 (exit $ac_status); } &&
35887 { ac_try='test -z "$ac_cxx_werror_flag"
35888 || test ! -s conftest.err'
35889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35890 (eval $ac_try) 2>&5
35891 ac_status=$?
35892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35893 (exit $ac_status); }; } &&
35894 { ac_try='test -s conftest.$ac_objext'
35895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35896 (eval $ac_try) 2>&5
35897 ac_status=$?
35898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35899 (exit $ac_status); }; }; then
35900 echo "$as_me:$LINENO: result: no" >&5
35901 echo "${ECHO_T}no" >&6
35902 else
35903 echo "$as_me: failed program was:" >&5
35904 sed 's/^/| /' conftest.$ac_ext >&5
35905
35906 echo "$as_me:$LINENO: result: yes" >&5
35907 echo "${ECHO_T}yes" >&6
35908 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
35909 fi
35910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35911 ac_ext=c
35912 ac_cpp='$CPP $CPPFLAGS'
35913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35916
35917 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
35918 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
35919 if test "$wxUSE_OLE" = "yes" ; then
35920 cat >>confdefs.h <<\_ACEOF
35921 #define wxUSE_OLE 1
35922 _ACEOF
35923
35924 fi
35925 fi
35926
35927 if test "$wxUSE_DATAOBJ" = "yes" ; then
35928 cat >>confdefs.h <<\_ACEOF
35929 #define wxUSE_DATAOBJ 1
35930 _ACEOF
35931
35932 fi
35933 else
35934 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
35935 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
35936
35937 wxUSE_CLIPBOARD=no
35938 wxUSE_DRAG_AND_DROP=no
35939 wxUSE_DATAOBJ=no
35940 wxUSE_OLE=no
35941 fi
35942
35943 if test "$wxUSE_METAFILE" = "yes"; then
35944 cat >>confdefs.h <<\_ACEOF
35945 #define wxUSE_METAFILE 1
35946 _ACEOF
35947
35948
35949 cat >>confdefs.h <<\_ACEOF
35950 #define wxUSE_ENH_METAFILE 1
35951 _ACEOF
35952
35953 fi
35954 fi
35955
35956 if test "$wxUSE_IPC" = "yes"; then
35957 if test "$wxUSE_SOCKETS" != "yes"; then
35958 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
35959 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
35960 fi
35961
35962 cat >>confdefs.h <<\_ACEOF
35963 #define wxUSE_IPC 1
35964 _ACEOF
35965
35966 fi
35967
35968 if test "$wxUSE_CLIPBOARD" = "yes"; then
35969 if test "$wxUSE_MGL" = 1; then
35970 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
35971 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
35972 wxUSE_CLIPBOARD=no
35973 fi
35974
35975 if test "$wxUSE_CLIPBOARD" = "yes"; then
35976 cat >>confdefs.h <<\_ACEOF
35977 #define wxUSE_CLIPBOARD 1
35978 _ACEOF
35979
35980
35981 cat >>confdefs.h <<\_ACEOF
35982 #define wxUSE_DATAOBJ 1
35983 _ACEOF
35984
35985 fi
35986 fi
35987
35988 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
35989 if test "$wxUSE_GTK" = 1; then
35990 if test "$WXGTK12" != 1; then
35991 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
35992 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
35993 wxUSE_DRAG_AND_DROP=no
35994 fi
35995 fi
35996
35997 if test "$wxUSE_MOTIF" = 1; then
35998 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
35999 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36000 wxUSE_DRAG_AND_DROP=no
36001 fi
36002
36003 if test "$wxUSE_X11" = 1; then
36004 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36005 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36006 wxUSE_DRAG_AND_DROP=no
36007 fi
36008
36009 if test "$wxUSE_MGL" = 1; then
36010 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36011 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36012 wxUSE_DRAG_AND_DROP=no
36013 fi
36014
36015 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36016 cat >>confdefs.h <<\_ACEOF
36017 #define wxUSE_DRAG_AND_DROP 1
36018 _ACEOF
36019
36020 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
36021 fi
36022
36023 fi
36024
36025 if test "$wxUSE_SPLINES" = "yes" ; then
36026 cat >>confdefs.h <<\_ACEOF
36027 #define wxUSE_SPLINES 1
36028 _ACEOF
36029
36030 fi
36031
36032
36033 USES_CONTROLS=0
36034 if test "$wxUSE_CONTROLS" = "yes"; then
36035 USES_CONTROLS=1
36036 fi
36037
36038 if test "$wxUSE_ACCEL" = "yes"; then
36039 cat >>confdefs.h <<\_ACEOF
36040 #define wxUSE_ACCEL 1
36041 _ACEOF
36042
36043 USES_CONTROLS=1
36044 fi
36045
36046 if test "$wxUSE_BUTTON" = "yes"; then
36047 cat >>confdefs.h <<\_ACEOF
36048 #define wxUSE_BUTTON 1
36049 _ACEOF
36050
36051 USES_CONTROLS=1
36052 fi
36053
36054 if test "$wxUSE_BMPBUTTON" = "yes"; then
36055 cat >>confdefs.h <<\_ACEOF
36056 #define wxUSE_BMPBUTTON 1
36057 _ACEOF
36058
36059 USES_CONTROLS=1
36060 fi
36061
36062 if test "$wxUSE_CALCTRL" = "yes"; then
36063 cat >>confdefs.h <<\_ACEOF
36064 #define wxUSE_CALENDARCTRL 1
36065 _ACEOF
36066
36067 USES_CONTROLS=1
36068 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
36069 fi
36070
36071 if test "$wxUSE_CARET" = "yes"; then
36072 cat >>confdefs.h <<\_ACEOF
36073 #define wxUSE_CARET 1
36074 _ACEOF
36075
36076 USES_CONTROLS=1
36077 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
36078 fi
36079
36080 if test "$wxUSE_COMBOBOX" = "yes"; then
36081 cat >>confdefs.h <<\_ACEOF
36082 #define wxUSE_COMBOBOX 1
36083 _ACEOF
36084
36085 USES_CONTROLS=1
36086 fi
36087
36088 if test "$wxUSE_CHOICE" = "yes"; then
36089 cat >>confdefs.h <<\_ACEOF
36090 #define wxUSE_CHOICE 1
36091 _ACEOF
36092
36093 USES_CONTROLS=1
36094 fi
36095
36096 if test "$wxUSE_CHECKBOX" = "yes"; then
36097 cat >>confdefs.h <<\_ACEOF
36098 #define wxUSE_CHECKBOX 1
36099 _ACEOF
36100
36101 USES_CONTROLS=1
36102 fi
36103
36104 if test "$wxUSE_CHECKLST" = "yes"; then
36105 cat >>confdefs.h <<\_ACEOF
36106 #define wxUSE_CHECKLISTBOX 1
36107 _ACEOF
36108
36109 USES_CONTROLS=1
36110 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
36111 fi
36112
36113 if test "$wxUSE_DISPLAY" = "yes"; then
36114 cat >>confdefs.h <<\_ACEOF
36115 #define wxUSE_DISPLAY 1
36116 _ACEOF
36117
36118 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
36119 fi
36120
36121 if test "$wxUSE_GAUGE" = "yes"; then
36122 cat >>confdefs.h <<\_ACEOF
36123 #define wxUSE_GAUGE 1
36124 _ACEOF
36125
36126 USES_CONTROLS=1
36127 fi
36128
36129 if test "$wxUSE_GRID" = "yes"; then
36130 cat >>confdefs.h <<\_ACEOF
36131 #define wxUSE_GRID 1
36132 _ACEOF
36133
36134 USES_CONTROLS=1
36135 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
36136 fi
36137
36138 if test "$wxUSE_IMAGLIST" = "yes"; then
36139 cat >>confdefs.h <<\_ACEOF
36140 #define wxUSE_IMAGLIST 1
36141 _ACEOF
36142
36143 fi
36144
36145 if test "$wxUSE_LISTBOOK" = "yes"; then
36146 cat >>confdefs.h <<\_ACEOF
36147 #define wxUSE_LISTBOOK 1
36148 _ACEOF
36149
36150 USES_CONTROLS=1
36151 fi
36152
36153 if test "$wxUSE_LISTBOX" = "yes"; then
36154 cat >>confdefs.h <<\_ACEOF
36155 #define wxUSE_LISTBOX 1
36156 _ACEOF
36157
36158 USES_CONTROLS=1
36159 fi
36160
36161 if test "$wxUSE_LISTCTRL" = "yes"; then
36162 if test "$wxUSE_IMAGLIST" = "yes"; then
36163 cat >>confdefs.h <<\_ACEOF
36164 #define wxUSE_LISTCTRL 1
36165 _ACEOF
36166
36167 USES_CONTROLS=1
36168 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
36169 else
36170 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36171 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36172 fi
36173 fi
36174
36175 if test "$wxUSE_NOTEBOOK" = "yes"; then
36176 cat >>confdefs.h <<\_ACEOF
36177 #define wxUSE_NOTEBOOK 1
36178 _ACEOF
36179
36180 USES_CONTROLS=1
36181 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
36182 fi
36183
36184
36185 if test "$wxUSE_RADIOBOX" = "yes"; then
36186 cat >>confdefs.h <<\_ACEOF
36187 #define wxUSE_RADIOBOX 1
36188 _ACEOF
36189
36190 USES_CONTROLS=1
36191 fi
36192
36193 if test "$wxUSE_RADIOBTN" = "yes"; then
36194 cat >>confdefs.h <<\_ACEOF
36195 #define wxUSE_RADIOBTN 1
36196 _ACEOF
36197
36198 USES_CONTROLS=1
36199 fi
36200
36201 if test "$wxUSE_SASH" = "yes"; then
36202 cat >>confdefs.h <<\_ACEOF
36203 #define wxUSE_SASH 1
36204 _ACEOF
36205
36206 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
36207 fi
36208
36209 if test "$wxUSE_SCROLLBAR" = "yes"; then
36210 cat >>confdefs.h <<\_ACEOF
36211 #define wxUSE_SCROLLBAR 1
36212 _ACEOF
36213
36214 USES_CONTROLS=1
36215 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
36216 fi
36217
36218 if test "$wxUSE_SLIDER" = "yes"; then
36219 cat >>confdefs.h <<\_ACEOF
36220 #define wxUSE_SLIDER 1
36221 _ACEOF
36222
36223 USES_CONTROLS=1
36224 fi
36225
36226 if test "$wxUSE_SPINBTN" = "yes"; then
36227 cat >>confdefs.h <<\_ACEOF
36228 #define wxUSE_SPINBTN 1
36229 _ACEOF
36230
36231 USES_CONTROLS=1
36232 fi
36233
36234 if test "$wxUSE_SPINCTRL" = "yes"; then
36235 cat >>confdefs.h <<\_ACEOF
36236 #define wxUSE_SPINCTRL 1
36237 _ACEOF
36238
36239 USES_CONTROLS=1
36240 fi
36241
36242 if test "$wxUSE_SPLITTER" = "yes"; then
36243 cat >>confdefs.h <<\_ACEOF
36244 #define wxUSE_SPLITTER 1
36245 _ACEOF
36246
36247 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
36248 fi
36249
36250 if test "$wxUSE_STATBMP" = "yes"; then
36251 cat >>confdefs.h <<\_ACEOF
36252 #define wxUSE_STATBMP 1
36253 _ACEOF
36254
36255 USES_CONTROLS=1
36256 fi
36257
36258 if test "$wxUSE_STATBOX" = "yes"; then
36259 cat >>confdefs.h <<\_ACEOF
36260 #define wxUSE_STATBOX 1
36261 _ACEOF
36262
36263 USES_CONTROLS=1
36264 fi
36265
36266 if test "$wxUSE_STATTEXT" = "yes"; then
36267 cat >>confdefs.h <<\_ACEOF
36268 #define wxUSE_STATTEXT 1
36269 _ACEOF
36270
36271 USES_CONTROLS=1
36272 fi
36273
36274 if test "$wxUSE_STATLINE" = "yes"; then
36275 cat >>confdefs.h <<\_ACEOF
36276 #define wxUSE_STATLINE 1
36277 _ACEOF
36278
36279 USES_CONTROLS=1
36280 fi
36281
36282 if test "$wxUSE_STATUSBAR" = "yes"; then
36283 cat >>confdefs.h <<\_ACEOF
36284 #define wxUSE_STATUSBAR 1
36285 _ACEOF
36286
36287 USES_CONTROLS=1
36288
36289 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
36290 fi
36291
36292 if test "$wxUSE_TABDIALOG" = "yes"; then
36293 cat >>confdefs.h <<\_ACEOF
36294 #define wxUSE_TAB_DIALOG 1
36295 _ACEOF
36296
36297 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
36298 fi
36299
36300 if test "$wxUSE_TEXTCTRL" = "yes"; then
36301 cat >>confdefs.h <<\_ACEOF
36302 #define wxUSE_TEXTCTRL 1
36303 _ACEOF
36304
36305 USES_CONTROLS=1
36306 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
36307 fi
36308
36309 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36310 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
36311 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36312 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36313 wxUSE_TOGGLEBTN=no
36314 fi
36315 if test "$wxUSE_UNIVERSAL" = "yes"; then
36316 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
36317 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
36318 wxUSE_TOGGLEBTN=no
36319 fi
36320
36321 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36322 cat >>confdefs.h <<\_ACEOF
36323 #define wxUSE_TOGGLEBTN 1
36324 _ACEOF
36325
36326 USES_CONTROLS=1
36327 fi
36328 fi
36329
36330 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
36331 cat >>confdefs.h <<\_ACEOF
36332 #define wxUSE_TOOLBAR_SIMPLE 1
36333 _ACEOF
36334
36335 wxUSE_TOOLBAR="yes"
36336 USES_CONTROLS=1
36337 fi
36338
36339 if test "$wxUSE_TOOLBAR" = "yes"; then
36340 cat >>confdefs.h <<\_ACEOF
36341 #define wxUSE_TOOLBAR 1
36342 _ACEOF
36343
36344 USES_CONTROLS=1
36345
36346 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
36347 wxUSE_TOOLBAR_NATIVE="yes"
36348 fi
36349
36350 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
36351 cat >>confdefs.h <<\_ACEOF
36352 #define wxUSE_TOOLBAR_NATIVE 1
36353 _ACEOF
36354
36355 USES_CONTROLS=1
36356 fi
36357
36358 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
36359 fi
36360
36361 if test "$wxUSE_TOOLTIPS" = "yes"; then
36362 if test "$wxUSE_MOTIF" = 1; then
36363 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36364 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36365 else
36366 if test "$wxUSE_UNIVERSAL" = "yes"; then
36367 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36368 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36369 else
36370 cat >>confdefs.h <<\_ACEOF
36371 #define wxUSE_TOOLTIPS 1
36372 _ACEOF
36373
36374 fi
36375 fi
36376 fi
36377
36378 if test "$wxUSE_TREECTRL" = "yes"; then
36379 if test "$wxUSE_IMAGLIST" = "yes"; then
36380 cat >>confdefs.h <<\_ACEOF
36381 #define wxUSE_TREECTRL 1
36382 _ACEOF
36383
36384 USES_CONTROLS=1
36385 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
36386 else
36387 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36388 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36389 fi
36390 fi
36391
36392 if test "$wxUSE_POPUPWIN" = "yes"; then
36393 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
36394 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36395 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36396 else
36397 if test "$wxUSE_PM" = 1; then
36398 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36399 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36400 else
36401 cat >>confdefs.h <<\_ACEOF
36402 #define wxUSE_POPUPWIN 1
36403 _ACEOF
36404
36405
36406 USES_CONTROLS=1
36407 fi
36408 fi
36409 fi
36410
36411 if test "$wxUSE_TIPWINDOW" = "yes"; then
36412 if test "$wxUSE_PM" = 1; then
36413 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36414 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36415 else
36416 cat >>confdefs.h <<\_ACEOF
36417 #define wxUSE_TIPWINDOW 1
36418 _ACEOF
36419
36420 fi
36421 fi
36422
36423 if test "$USES_CONTROLS" = 1; then
36424 cat >>confdefs.h <<\_ACEOF
36425 #define wxUSE_CONTROLS 1
36426 _ACEOF
36427
36428 fi
36429
36430
36431 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36432 cat >>confdefs.h <<\_ACEOF
36433 #define wxUSE_ACCESSIBILITY 1
36434 _ACEOF
36435
36436 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
36437 fi
36438
36439 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36440 cat >>confdefs.h <<\_ACEOF
36441 #define wxUSE_DRAGIMAGE 1
36442 _ACEOF
36443
36444 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
36445 fi
36446
36447 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36448 cat >>confdefs.h <<\_ACEOF
36449 #define wxUSE_EXCEPTIONS 1
36450 _ACEOF
36451
36452 fi
36453
36454 USE_HTML=0
36455 if test "$wxUSE_HTML" = "yes"; then
36456 cat >>confdefs.h <<\_ACEOF
36457 #define wxUSE_HTML 1
36458 _ACEOF
36459
36460 USE_HTML=1
36461 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36462 fi
36463
36464 if test "$wxUSE_MENUS" = "yes"; then
36465 cat >>confdefs.h <<\_ACEOF
36466 #define wxUSE_MENUS 1
36467 _ACEOF
36468
36469 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
36470 fi
36471
36472 if test "$wxUSE_METAFILE" = "yes"; then
36473 cat >>confdefs.h <<\_ACEOF
36474 #define wxUSE_METAFILE 1
36475 _ACEOF
36476
36477 fi
36478
36479 if test "$wxUSE_MIMETYPE" = "yes"; then
36480 cat >>confdefs.h <<\_ACEOF
36481 #define wxUSE_MIMETYPE 1
36482 _ACEOF
36483
36484 fi
36485
36486 if test "$wxUSE_MINIFRAME" = "yes"; then
36487 cat >>confdefs.h <<\_ACEOF
36488 #define wxUSE_MINIFRAME 1
36489 _ACEOF
36490
36491 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
36492 fi
36493
36494 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36495 cat >>confdefs.h <<\_ACEOF
36496 #define wxUSE_SYSTEM_OPTIONS 1
36497 _ACEOF
36498
36499 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
36500 "$TOOLKIT" = "MOTIF"; then
36501 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
36502 fi
36503 fi
36504
36505
36506 if test "$wxUSE_VALIDATORS" = "yes"; then
36507 cat >>confdefs.h <<\_ACEOF
36508 #define wxUSE_VALIDATORS 1
36509 _ACEOF
36510
36511 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
36512 fi
36513
36514 if test "$wxUSE_PALETTE" = "yes" ; then
36515 cat >>confdefs.h <<\_ACEOF
36516 #define wxUSE_PALETTE 1
36517 _ACEOF
36518
36519 fi
36520
36521 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36522 LIBS=" -lunicows $LIBS"
36523 fi
36524
36525
36526 if test "$wxUSE_IMAGE" = "yes" ; then
36527 cat >>confdefs.h <<\_ACEOF
36528 #define wxUSE_IMAGE 1
36529 _ACEOF
36530
36531
36532 if test "$wxUSE_GIF" = "yes" ; then
36533 cat >>confdefs.h <<\_ACEOF
36534 #define wxUSE_GIF 1
36535 _ACEOF
36536
36537 fi
36538
36539 if test "$wxUSE_PCX" = "yes" ; then
36540 cat >>confdefs.h <<\_ACEOF
36541 #define wxUSE_PCX 1
36542 _ACEOF
36543
36544 fi
36545
36546 if test "$wxUSE_IFF" = "yes" ; then
36547 cat >>confdefs.h <<\_ACEOF
36548 #define wxUSE_IFF 1
36549 _ACEOF
36550
36551 fi
36552
36553 if test "$wxUSE_PNM" = "yes" ; then
36554 cat >>confdefs.h <<\_ACEOF
36555 #define wxUSE_PNM 1
36556 _ACEOF
36557
36558 fi
36559
36560 if test "$wxUSE_XPM" = "yes" ; then
36561 cat >>confdefs.h <<\_ACEOF
36562 #define wxUSE_XPM 1
36563 _ACEOF
36564
36565 fi
36566
36567 if test "$wxUSE_ICO_CUR" = "yes" ; then
36568 cat >>confdefs.h <<\_ACEOF
36569 #define wxUSE_ICO_CUR 1
36570 _ACEOF
36571
36572 fi
36573 fi
36574
36575
36576 if test "$wxUSE_CHOICEDLG" = "yes"; then
36577 cat >>confdefs.h <<\_ACEOF
36578 #define wxUSE_CHOICEDLG 1
36579 _ACEOF
36580
36581 fi
36582
36583 if test "$wxUSE_COLOURDLG" = "yes"; then
36584 cat >>confdefs.h <<\_ACEOF
36585 #define wxUSE_COLOURDLG 1
36586 _ACEOF
36587
36588 fi
36589
36590 if test "$wxUSE_FILEDLG" = "yes"; then
36591 cat >>confdefs.h <<\_ACEOF
36592 #define wxUSE_FILEDLG 1
36593 _ACEOF
36594
36595 fi
36596
36597 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36598 cat >>confdefs.h <<\_ACEOF
36599 #define wxUSE_FINDREPLDLG 1
36600 _ACEOF
36601
36602 fi
36603
36604 if test "$wxUSE_FONTDLG" = "yes"; then
36605 cat >>confdefs.h <<\_ACEOF
36606 #define wxUSE_FONTDLG 1
36607 _ACEOF
36608
36609 fi
36610
36611 if test "$wxUSE_DIRDLG" = "yes"; then
36612 if test "$wxUSE_TREECTRL" != "yes"; then
36613 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36614 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36615 else
36616 cat >>confdefs.h <<\_ACEOF
36617 #define wxUSE_DIRDLG 1
36618 _ACEOF
36619
36620 fi
36621 fi
36622
36623 if test "$wxUSE_MSGDLG" = "yes"; then
36624 cat >>confdefs.h <<\_ACEOF
36625 #define wxUSE_MSGDLG 1
36626 _ACEOF
36627
36628 fi
36629
36630 if test "$wxUSE_NUMBERDLG" = "yes"; then
36631 cat >>confdefs.h <<\_ACEOF
36632 #define wxUSE_NUMBERDLG 1
36633 _ACEOF
36634
36635 fi
36636
36637 if test "$wxUSE_PROGRESSDLG" = "yes"; then
36638 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36639 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
36640 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
36641 else
36642 cat >>confdefs.h <<\_ACEOF
36643 #define wxUSE_PROGRESSDLG 1
36644 _ACEOF
36645
36646 fi
36647 fi
36648
36649 if test "$wxUSE_SPLASH" = "yes"; then
36650 cat >>confdefs.h <<\_ACEOF
36651 #define wxUSE_SPLASH 1
36652 _ACEOF
36653
36654 fi
36655
36656 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
36657 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36658 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
36659 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
36660 else
36661 cat >>confdefs.h <<\_ACEOF
36662 #define wxUSE_STARTUP_TIPS 1
36663 _ACEOF
36664
36665 fi
36666 fi
36667
36668 if test "$wxUSE_TEXTDLG" = "yes"; then
36669 cat >>confdefs.h <<\_ACEOF
36670 #define wxUSE_TEXTDLG 1
36671 _ACEOF
36672
36673 fi
36674
36675 if test "$wxUSE_WIZARDDLG" = "yes"; then
36676 cat >>confdefs.h <<\_ACEOF
36677 #define wxUSE_WIZARDDLG 1
36678 _ACEOF
36679
36680 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
36681 fi
36682
36683
36684 if test "$cross_compiling" = "yes"; then
36685 OSINFO="\"$host\""
36686 else
36687 OSINFO=`uname -s -r -m`
36688 OSINFO="\"$OSINFO\""
36689 fi
36690
36691 cat >>confdefs.h <<_ACEOF
36692 #define WXWIN_OS_DESCRIPTION $OSINFO
36693 _ACEOF
36694
36695
36696
36697 if test "x$prefix" != "xNONE"; then
36698 wxPREFIX=$prefix
36699 else
36700 wxPREFIX=$ac_default_prefix
36701 fi
36702
36703 cat >>confdefs.h <<_ACEOF
36704 #define wxINSTALL_PREFIX "$wxPREFIX"
36705 _ACEOF
36706
36707
36708 top_builddir_wxconfig=`pwd`
36709
36710
36711
36712 CORE_BASE_LIBS="net base"
36713 CORE_GUI_LIBS="adv core"
36714
36715 if test "$wxUSE_XML" = "yes" ; then
36716 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
36717 fi
36718 if test "$wxUSE_ODBC" != "no" ; then
36719 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
36720 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
36721 fi
36722 if test "$wxUSE_HTML" = "yes" ; then
36723 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
36724 fi
36725
36726 if test "$wxUSE_GUI" != "yes"; then
36727 CORE_GUI_LIBS=""
36728 fi
36729
36730
36731
36732
36733
36734
36735
36736
36737 if test "$wxUSE_MAC" = 1 ; then
36738 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
36739 fi
36740 if test "$wxUSE_COCOA" = 1 ; then
36741 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
36742 fi
36743
36744
36745 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
36746
36747 have_cos=0
36748 have_floor=0
36749
36750 for ac_func in cos
36751 do
36752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36753 echo "$as_me:$LINENO: checking for $ac_func" >&5
36754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36755 if eval "test \"\${$as_ac_var+set}\" = set"; then
36756 echo $ECHO_N "(cached) $ECHO_C" >&6
36757 else
36758 cat >conftest.$ac_ext <<_ACEOF
36759 /* confdefs.h. */
36760 _ACEOF
36761 cat confdefs.h >>conftest.$ac_ext
36762 cat >>conftest.$ac_ext <<_ACEOF
36763 /* end confdefs.h. */
36764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36766 #define $ac_func innocuous_$ac_func
36767
36768 /* System header to define __stub macros and hopefully few prototypes,
36769 which can conflict with char $ac_func (); below.
36770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36771 <limits.h> exists even on freestanding compilers. */
36772
36773 #ifdef __STDC__
36774 # include <limits.h>
36775 #else
36776 # include <assert.h>
36777 #endif
36778
36779 #undef $ac_func
36780
36781 /* Override any gcc2 internal prototype to avoid an error. */
36782 #ifdef __cplusplus
36783 extern "C"
36784 {
36785 #endif
36786 /* We use char because int might match the return type of a gcc2
36787 builtin and then its argument prototype would still apply. */
36788 char $ac_func ();
36789 /* The GNU C library defines this for functions which it implements
36790 to always fail with ENOSYS. Some functions are actually named
36791 something starting with __ and the normal name is an alias. */
36792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36793 choke me
36794 #else
36795 char (*f) () = $ac_func;
36796 #endif
36797 #ifdef __cplusplus
36798 }
36799 #endif
36800
36801 int
36802 main ()
36803 {
36804 return f != $ac_func;
36805 ;
36806 return 0;
36807 }
36808 _ACEOF
36809 rm -f conftest.$ac_objext conftest$ac_exeext
36810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36811 (eval $ac_link) 2>conftest.er1
36812 ac_status=$?
36813 grep -v '^ *+' conftest.er1 >conftest.err
36814 rm -f conftest.er1
36815 cat conftest.err >&5
36816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36817 (exit $ac_status); } &&
36818 { ac_try='test -z "$ac_c_werror_flag"
36819 || test ! -s conftest.err'
36820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36821 (eval $ac_try) 2>&5
36822 ac_status=$?
36823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36824 (exit $ac_status); }; } &&
36825 { ac_try='test -s conftest$ac_exeext'
36826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36827 (eval $ac_try) 2>&5
36828 ac_status=$?
36829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36830 (exit $ac_status); }; }; then
36831 eval "$as_ac_var=yes"
36832 else
36833 echo "$as_me: failed program was:" >&5
36834 sed 's/^/| /' conftest.$ac_ext >&5
36835
36836 eval "$as_ac_var=no"
36837 fi
36838 rm -f conftest.err conftest.$ac_objext \
36839 conftest$ac_exeext conftest.$ac_ext
36840 fi
36841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36843 if test `eval echo '${'$as_ac_var'}'` = yes; then
36844 cat >>confdefs.h <<_ACEOF
36845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36846 _ACEOF
36847 have_cos=1
36848 fi
36849 done
36850
36851
36852 for ac_func in floor
36853 do
36854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36855 echo "$as_me:$LINENO: checking for $ac_func" >&5
36856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36857 if eval "test \"\${$as_ac_var+set}\" = set"; then
36858 echo $ECHO_N "(cached) $ECHO_C" >&6
36859 else
36860 cat >conftest.$ac_ext <<_ACEOF
36861 /* confdefs.h. */
36862 _ACEOF
36863 cat confdefs.h >>conftest.$ac_ext
36864 cat >>conftest.$ac_ext <<_ACEOF
36865 /* end confdefs.h. */
36866 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36868 #define $ac_func innocuous_$ac_func
36869
36870 /* System header to define __stub macros and hopefully few prototypes,
36871 which can conflict with char $ac_func (); below.
36872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36873 <limits.h> exists even on freestanding compilers. */
36874
36875 #ifdef __STDC__
36876 # include <limits.h>
36877 #else
36878 # include <assert.h>
36879 #endif
36880
36881 #undef $ac_func
36882
36883 /* Override any gcc2 internal prototype to avoid an error. */
36884 #ifdef __cplusplus
36885 extern "C"
36886 {
36887 #endif
36888 /* We use char because int might match the return type of a gcc2
36889 builtin and then its argument prototype would still apply. */
36890 char $ac_func ();
36891 /* The GNU C library defines this for functions which it implements
36892 to always fail with ENOSYS. Some functions are actually named
36893 something starting with __ and the normal name is an alias. */
36894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36895 choke me
36896 #else
36897 char (*f) () = $ac_func;
36898 #endif
36899 #ifdef __cplusplus
36900 }
36901 #endif
36902
36903 int
36904 main ()
36905 {
36906 return f != $ac_func;
36907 ;
36908 return 0;
36909 }
36910 _ACEOF
36911 rm -f conftest.$ac_objext conftest$ac_exeext
36912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36913 (eval $ac_link) 2>conftest.er1
36914 ac_status=$?
36915 grep -v '^ *+' conftest.er1 >conftest.err
36916 rm -f conftest.er1
36917 cat conftest.err >&5
36918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36919 (exit $ac_status); } &&
36920 { ac_try='test -z "$ac_c_werror_flag"
36921 || test ! -s conftest.err'
36922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36923 (eval $ac_try) 2>&5
36924 ac_status=$?
36925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36926 (exit $ac_status); }; } &&
36927 { ac_try='test -s conftest$ac_exeext'
36928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36929 (eval $ac_try) 2>&5
36930 ac_status=$?
36931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36932 (exit $ac_status); }; }; then
36933 eval "$as_ac_var=yes"
36934 else
36935 echo "$as_me: failed program was:" >&5
36936 sed 's/^/| /' conftest.$ac_ext >&5
36937
36938 eval "$as_ac_var=no"
36939 fi
36940 rm -f conftest.err conftest.$ac_objext \
36941 conftest$ac_exeext conftest.$ac_ext
36942 fi
36943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36945 if test `eval echo '${'$as_ac_var'}'` = yes; then
36946 cat >>confdefs.h <<_ACEOF
36947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36948 _ACEOF
36949 have_floor=1
36950 fi
36951 done
36952
36953 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
36954 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
36955 if test "$have_cos" = 1 -a "$have_floor" = 1; then
36956 echo "$as_me:$LINENO: result: yes" >&5
36957 echo "${ECHO_T}yes" >&6
36958 else
36959 echo "$as_me:$LINENO: result: no" >&5
36960 echo "${ECHO_T}no" >&6
36961 LIBS="$LIBS -lm"
36962 # use different functions to avoid configure caching
36963 have_sin=0
36964 have_ceil=0
36965
36966 for ac_func in sin
36967 do
36968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36969 echo "$as_me:$LINENO: checking for $ac_func" >&5
36970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36971 if eval "test \"\${$as_ac_var+set}\" = set"; then
36972 echo $ECHO_N "(cached) $ECHO_C" >&6
36973 else
36974 cat >conftest.$ac_ext <<_ACEOF
36975 /* confdefs.h. */
36976 _ACEOF
36977 cat confdefs.h >>conftest.$ac_ext
36978 cat >>conftest.$ac_ext <<_ACEOF
36979 /* end confdefs.h. */
36980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36982 #define $ac_func innocuous_$ac_func
36983
36984 /* System header to define __stub macros and hopefully few prototypes,
36985 which can conflict with char $ac_func (); below.
36986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36987 <limits.h> exists even on freestanding compilers. */
36988
36989 #ifdef __STDC__
36990 # include <limits.h>
36991 #else
36992 # include <assert.h>
36993 #endif
36994
36995 #undef $ac_func
36996
36997 /* Override any gcc2 internal prototype to avoid an error. */
36998 #ifdef __cplusplus
36999 extern "C"
37000 {
37001 #endif
37002 /* We use char because int might match the return type of a gcc2
37003 builtin and then its argument prototype would still apply. */
37004 char $ac_func ();
37005 /* The GNU C library defines this for functions which it implements
37006 to always fail with ENOSYS. Some functions are actually named
37007 something starting with __ and the normal name is an alias. */
37008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37009 choke me
37010 #else
37011 char (*f) () = $ac_func;
37012 #endif
37013 #ifdef __cplusplus
37014 }
37015 #endif
37016
37017 int
37018 main ()
37019 {
37020 return f != $ac_func;
37021 ;
37022 return 0;
37023 }
37024 _ACEOF
37025 rm -f conftest.$ac_objext conftest$ac_exeext
37026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37027 (eval $ac_link) 2>conftest.er1
37028 ac_status=$?
37029 grep -v '^ *+' conftest.er1 >conftest.err
37030 rm -f conftest.er1
37031 cat conftest.err >&5
37032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37033 (exit $ac_status); } &&
37034 { ac_try='test -z "$ac_c_werror_flag"
37035 || test ! -s conftest.err'
37036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37037 (eval $ac_try) 2>&5
37038 ac_status=$?
37039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37040 (exit $ac_status); }; } &&
37041 { ac_try='test -s conftest$ac_exeext'
37042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37043 (eval $ac_try) 2>&5
37044 ac_status=$?
37045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37046 (exit $ac_status); }; }; then
37047 eval "$as_ac_var=yes"
37048 else
37049 echo "$as_me: failed program was:" >&5
37050 sed 's/^/| /' conftest.$ac_ext >&5
37051
37052 eval "$as_ac_var=no"
37053 fi
37054 rm -f conftest.err conftest.$ac_objext \
37055 conftest$ac_exeext conftest.$ac_ext
37056 fi
37057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37059 if test `eval echo '${'$as_ac_var'}'` = yes; then
37060 cat >>confdefs.h <<_ACEOF
37061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37062 _ACEOF
37063 have_sin=1
37064 fi
37065 done
37066
37067
37068 for ac_func in ceil
37069 do
37070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37071 echo "$as_me:$LINENO: checking for $ac_func" >&5
37072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37073 if eval "test \"\${$as_ac_var+set}\" = set"; then
37074 echo $ECHO_N "(cached) $ECHO_C" >&6
37075 else
37076 cat >conftest.$ac_ext <<_ACEOF
37077 /* confdefs.h. */
37078 _ACEOF
37079 cat confdefs.h >>conftest.$ac_ext
37080 cat >>conftest.$ac_ext <<_ACEOF
37081 /* end confdefs.h. */
37082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37084 #define $ac_func innocuous_$ac_func
37085
37086 /* System header to define __stub macros and hopefully few prototypes,
37087 which can conflict with char $ac_func (); below.
37088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37089 <limits.h> exists even on freestanding compilers. */
37090
37091 #ifdef __STDC__
37092 # include <limits.h>
37093 #else
37094 # include <assert.h>
37095 #endif
37096
37097 #undef $ac_func
37098
37099 /* Override any gcc2 internal prototype to avoid an error. */
37100 #ifdef __cplusplus
37101 extern "C"
37102 {
37103 #endif
37104 /* We use char because int might match the return type of a gcc2
37105 builtin and then its argument prototype would still apply. */
37106 char $ac_func ();
37107 /* The GNU C library defines this for functions which it implements
37108 to always fail with ENOSYS. Some functions are actually named
37109 something starting with __ and the normal name is an alias. */
37110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37111 choke me
37112 #else
37113 char (*f) () = $ac_func;
37114 #endif
37115 #ifdef __cplusplus
37116 }
37117 #endif
37118
37119 int
37120 main ()
37121 {
37122 return f != $ac_func;
37123 ;
37124 return 0;
37125 }
37126 _ACEOF
37127 rm -f conftest.$ac_objext conftest$ac_exeext
37128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37129 (eval $ac_link) 2>conftest.er1
37130 ac_status=$?
37131 grep -v '^ *+' conftest.er1 >conftest.err
37132 rm -f conftest.er1
37133 cat conftest.err >&5
37134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37135 (exit $ac_status); } &&
37136 { ac_try='test -z "$ac_c_werror_flag"
37137 || test ! -s conftest.err'
37138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37139 (eval $ac_try) 2>&5
37140 ac_status=$?
37141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37142 (exit $ac_status); }; } &&
37143 { ac_try='test -s conftest$ac_exeext'
37144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37145 (eval $ac_try) 2>&5
37146 ac_status=$?
37147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37148 (exit $ac_status); }; }; then
37149 eval "$as_ac_var=yes"
37150 else
37151 echo "$as_me: failed program was:" >&5
37152 sed 's/^/| /' conftest.$ac_ext >&5
37153
37154 eval "$as_ac_var=no"
37155 fi
37156 rm -f conftest.err conftest.$ac_objext \
37157 conftest$ac_exeext conftest.$ac_ext
37158 fi
37159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37161 if test `eval echo '${'$as_ac_var'}'` = yes; then
37162 cat >>confdefs.h <<_ACEOF
37163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37164 _ACEOF
37165 have_ceil=1
37166 fi
37167 done
37168
37169 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37170 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37171 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37172 echo "$as_me:$LINENO: result: yes" >&5
37173 echo "${ECHO_T}yes" >&6
37174 else
37175 echo "$as_me:$LINENO: result: no" >&5
37176 echo "${ECHO_T}no" >&6
37177 # not sure we should warn the user, crash, etc.
37178 fi
37179 fi
37180
37181 if test "$wxUSE_GUI" = "yes"; then
37182
37183
37184 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
37185 drawing dynamic erase event exec font image \
37186 minimal propsize rotate shaped widgets render"
37187
37188 if test "$wxUSE_MONOLITHIC" != "yes"; then
37189 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37190 fi
37191 else
37192 SAMPLES_SUBDIRS="console"
37193 fi
37194
37195
37196 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
37197 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37198
37199 if test "$GXX" = yes ; then
37200 CXXWARNINGS="-Wall"
37201 fi
37202
37203 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37204
37205 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
37206 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
37207 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
37208
37209
37210 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
37211 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37212 EXTRALIBS_XML="$EXPAT_LINK"
37213 EXTRALIBS_HTML="$MSPACK_LINK"
37214 EXTRALIBS_ODBC="$ODBC_LINK"
37215 if test "$wxUSE_GUI" = "yes"; then
37216 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
37217 fi
37218 if test "$wxUSE_OPENGL" = "yes"; then
37219 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
37220 fi
37221
37222 LDFLAGS="$LDFLAGS $PROFILE"
37223
37224 if test "$wxUSE_GTK" = 1; then
37225 WXCONFIG_INCLUDE=
37226 else
37227 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
37228 fi
37229
37230 WXCONFIG_EXTRALIBS="$LIBS"
37231
37232 if test "$wxUSE_REGEX" = "builtin" ; then
37233 wxconfig_3rdparty="$wxconfig_3rdparty regex"
37234 fi
37235 if test "$wxUSE_EXPAT" = "builtin" ; then
37236 wxconfig_3rdparty="$wxconfig_3rdparty expat"
37237 fi
37238 if test "$wxUSE_ODBC" = "builtin" ; then
37239 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
37240 fi
37241 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37242 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
37243 fi
37244 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37245 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
37246 fi
37247 if test "$wxUSE_LIBPNG" = "builtin" ; then
37248 wxconfig_3rdparty="$wxconfig_3rdparty png"
37249 fi
37250 if test "$wxUSE_ZLIB" = "builtin" ; then
37251 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
37252 fi
37253 if test "$wxUSE_ODBC" = "builtin" ; then
37254 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
37255 fi
37256
37257 for i in $wxconfig_3rdparty ; do
37258 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
37259 done
37260
37261
37262 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37263 WXUNIV=1
37264 else
37265 WXUNIV=0
37266 fi
37267
37268
37269
37270
37271
37272
37273
37274
37275
37276 if test $wxUSE_MONOLITHIC = "yes" ; then
37277 MONOLITHIC=1
37278 else
37279 MONOLITHIC=0
37280 fi
37281
37282 if test $wxUSE_PLUGINS = "yes" ; then
37283 USE_PLUGINS=1
37284 else
37285 USE_PLUGINS=0
37286 fi
37287
37288 if test $wxUSE_ODBC != "no" ; then
37289 USE_ODBC=1
37290 else
37291 USE_ODBC=0
37292 fi
37293
37294 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37295 OFFICIAL_BUILD=1
37296 else
37297 OFFICIAL_BUILD=0
37298 fi
37299
37300
37301
37302
37303
37304
37305
37306
37307
37308
37309
37310
37311
37312
37313
37314
37315
37316
37317
37318
37319
37320 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
37321
37322
37323
37324
37325
37326
37327
37328 if test "x$BAKEFILE_HOST" = "x"; then
37329 BAKEFILE_HOST="${host}"
37330 fi
37331
37332 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37333
37334 if test -n "$ac_tool_prefix"; then
37335 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37336 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
37337 echo "$as_me:$LINENO: checking for $ac_word" >&5
37338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37339 if test "${ac_cv_prog_RANLIB+set}" = set; then
37340 echo $ECHO_N "(cached) $ECHO_C" >&6
37341 else
37342 if test -n "$RANLIB"; then
37343 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
37344 else
37345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37346 for as_dir in $PATH
37347 do
37348 IFS=$as_save_IFS
37349 test -z "$as_dir" && as_dir=.
37350 for ac_exec_ext in '' $ac_executable_extensions; do
37351 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37352 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
37353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37354 break 2
37355 fi
37356 done
37357 done
37358
37359 fi
37360 fi
37361 RANLIB=$ac_cv_prog_RANLIB
37362 if test -n "$RANLIB"; then
37363 echo "$as_me:$LINENO: result: $RANLIB" >&5
37364 echo "${ECHO_T}$RANLIB" >&6
37365 else
37366 echo "$as_me:$LINENO: result: no" >&5
37367 echo "${ECHO_T}no" >&6
37368 fi
37369
37370 fi
37371 if test -z "$ac_cv_prog_RANLIB"; then
37372 ac_ct_RANLIB=$RANLIB
37373 # Extract the first word of "ranlib", so it can be a program name with args.
37374 set dummy ranlib; ac_word=$2
37375 echo "$as_me:$LINENO: checking for $ac_word" >&5
37376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37377 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
37378 echo $ECHO_N "(cached) $ECHO_C" >&6
37379 else
37380 if test -n "$ac_ct_RANLIB"; then
37381 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
37382 else
37383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37384 for as_dir in $PATH
37385 do
37386 IFS=$as_save_IFS
37387 test -z "$as_dir" && as_dir=.
37388 for ac_exec_ext in '' $ac_executable_extensions; do
37389 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37390 ac_cv_prog_ac_ct_RANLIB="ranlib"
37391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37392 break 2
37393 fi
37394 done
37395 done
37396
37397 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
37398 fi
37399 fi
37400 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
37401 if test -n "$ac_ct_RANLIB"; then
37402 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
37403 echo "${ECHO_T}$ac_ct_RANLIB" >&6
37404 else
37405 echo "$as_me:$LINENO: result: no" >&5
37406 echo "${ECHO_T}no" >&6
37407 fi
37408
37409 RANLIB=$ac_ct_RANLIB
37410 else
37411 RANLIB="$ac_cv_prog_RANLIB"
37412 fi
37413
37414 # Find a good install program. We prefer a C program (faster),
37415 # so one script is as good as another. But avoid the broken or
37416 # incompatible versions:
37417 # SysV /etc/install, /usr/sbin/install
37418 # SunOS /usr/etc/install
37419 # IRIX /sbin/install
37420 # AIX /bin/install
37421 # AmigaOS /C/install, which installs bootblocks on floppy discs
37422 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37423 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37424 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37425 # OS/2's system install, which has a completely different semantic
37426 # ./install, which can be erroneously created by make from ./install.sh.
37427 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
37428 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
37429 if test -z "$INSTALL"; then
37430 if test "${ac_cv_path_install+set}" = set; then
37431 echo $ECHO_N "(cached) $ECHO_C" >&6
37432 else
37433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37434 for as_dir in $PATH
37435 do
37436 IFS=$as_save_IFS
37437 test -z "$as_dir" && as_dir=.
37438 # Account for people who put trailing slashes in PATH elements.
37439 case $as_dir/ in
37440 ./ | .// | /cC/* | \
37441 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
37442 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
37443 /usr/ucb/* ) ;;
37444 *)
37445 # OSF1 and SCO ODT 3.0 have their own names for install.
37446 # Don't use installbsd from OSF since it installs stuff as root
37447 # by default.
37448 for ac_prog in ginstall scoinst install; do
37449 for ac_exec_ext in '' $ac_executable_extensions; do
37450 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
37451 if test $ac_prog = install &&
37452 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37453 # AIX install. It has an incompatible calling convention.
37454 :
37455 elif test $ac_prog = install &&
37456 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37457 # program-specific install script used by HP pwplus--don't use.
37458 :
37459 else
37460 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
37461 break 3
37462 fi
37463 fi
37464 done
37465 done
37466 ;;
37467 esac
37468 done
37469
37470
37471 fi
37472 if test "${ac_cv_path_install+set}" = set; then
37473 INSTALL=$ac_cv_path_install
37474 else
37475 # As a last resort, use the slow shell script. We don't cache a
37476 # path for INSTALL within a source directory, because that will
37477 # break other packages using the cache if that directory is
37478 # removed, or if the path is relative.
37479 INSTALL=$ac_install_sh
37480 fi
37481 fi
37482 echo "$as_me:$LINENO: result: $INSTALL" >&5
37483 echo "${ECHO_T}$INSTALL" >&6
37484
37485 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37486 # It thinks the first close brace ends the variable substitution.
37487 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
37488
37489 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
37490
37491 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
37492
37493 echo "$as_me:$LINENO: checking whether ln -s works" >&5
37494 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
37495 LN_S=$as_ln_s
37496 if test "$LN_S" = "ln -s"; then
37497 echo "$as_me:$LINENO: result: yes" >&5
37498 echo "${ECHO_T}yes" >&6
37499 else
37500 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
37501 echo "${ECHO_T}no, using $LN_S" >&6
37502 fi
37503
37504
37505 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37506 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
37507 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
37508 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
37509 echo $ECHO_N "(cached) $ECHO_C" >&6
37510 else
37511 cat >conftest.make <<\_ACEOF
37512 all:
37513 @echo 'ac_maketemp="$(MAKE)"'
37514 _ACEOF
37515 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
37516 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
37517 if test -n "$ac_maketemp"; then
37518 eval ac_cv_prog_make_${ac_make}_set=yes
37519 else
37520 eval ac_cv_prog_make_${ac_make}_set=no
37521 fi
37522 rm -f conftest.make
37523 fi
37524 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
37525 echo "$as_me:$LINENO: result: yes" >&5
37526 echo "${ECHO_T}yes" >&6
37527 SET_MAKE=
37528 else
37529 echo "$as_me:$LINENO: result: no" >&5
37530 echo "${ECHO_T}no" >&6
37531 SET_MAKE="MAKE=${MAKE-make}"
37532 fi
37533
37534
37535
37536 if test -n "$ac_tool_prefix"; then
37537 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
37538 set dummy ${ac_tool_prefix}ar; ac_word=$2
37539 echo "$as_me:$LINENO: checking for $ac_word" >&5
37540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37541 if test "${ac_cv_prog_AR+set}" = set; then
37542 echo $ECHO_N "(cached) $ECHO_C" >&6
37543 else
37544 if test -n "$AR"; then
37545 ac_cv_prog_AR="$AR" # Let the user override the test.
37546 else
37547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37548 for as_dir in $PATH
37549 do
37550 IFS=$as_save_IFS
37551 test -z "$as_dir" && as_dir=.
37552 for ac_exec_ext in '' $ac_executable_extensions; do
37553 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37554 ac_cv_prog_AR="${ac_tool_prefix}ar"
37555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37556 break 2
37557 fi
37558 done
37559 done
37560
37561 fi
37562 fi
37563 AR=$ac_cv_prog_AR
37564 if test -n "$AR"; then
37565 echo "$as_me:$LINENO: result: $AR" >&5
37566 echo "${ECHO_T}$AR" >&6
37567 else
37568 echo "$as_me:$LINENO: result: no" >&5
37569 echo "${ECHO_T}no" >&6
37570 fi
37571
37572 fi
37573 if test -z "$ac_cv_prog_AR"; then
37574 ac_ct_AR=$AR
37575 # Extract the first word of "ar", so it can be a program name with args.
37576 set dummy ar; ac_word=$2
37577 echo "$as_me:$LINENO: checking for $ac_word" >&5
37578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37579 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
37580 echo $ECHO_N "(cached) $ECHO_C" >&6
37581 else
37582 if test -n "$ac_ct_AR"; then
37583 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
37584 else
37585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37586 for as_dir in $PATH
37587 do
37588 IFS=$as_save_IFS
37589 test -z "$as_dir" && as_dir=.
37590 for ac_exec_ext in '' $ac_executable_extensions; do
37591 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37592 ac_cv_prog_ac_ct_AR="ar"
37593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37594 break 2
37595 fi
37596 done
37597 done
37598
37599 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
37600 fi
37601 fi
37602 ac_ct_AR=$ac_cv_prog_ac_ct_AR
37603 if test -n "$ac_ct_AR"; then
37604 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
37605 echo "${ECHO_T}$ac_ct_AR" >&6
37606 else
37607 echo "$as_me:$LINENO: result: no" >&5
37608 echo "${ECHO_T}no" >&6
37609 fi
37610
37611 AR=$ac_ct_AR
37612 else
37613 AR="$ac_cv_prog_AR"
37614 fi
37615
37616 if test -n "$ac_tool_prefix"; then
37617 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
37618 set dummy ${ac_tool_prefix}strip; ac_word=$2
37619 echo "$as_me:$LINENO: checking for $ac_word" >&5
37620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37621 if test "${ac_cv_prog_STRIP+set}" = set; then
37622 echo $ECHO_N "(cached) $ECHO_C" >&6
37623 else
37624 if test -n "$STRIP"; then
37625 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
37626 else
37627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37628 for as_dir in $PATH
37629 do
37630 IFS=$as_save_IFS
37631 test -z "$as_dir" && as_dir=.
37632 for ac_exec_ext in '' $ac_executable_extensions; do
37633 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37634 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
37635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37636 break 2
37637 fi
37638 done
37639 done
37640
37641 fi
37642 fi
37643 STRIP=$ac_cv_prog_STRIP
37644 if test -n "$STRIP"; then
37645 echo "$as_me:$LINENO: result: $STRIP" >&5
37646 echo "${ECHO_T}$STRIP" >&6
37647 else
37648 echo "$as_me:$LINENO: result: no" >&5
37649 echo "${ECHO_T}no" >&6
37650 fi
37651
37652 fi
37653 if test -z "$ac_cv_prog_STRIP"; then
37654 ac_ct_STRIP=$STRIP
37655 # Extract the first word of "strip", so it can be a program name with args.
37656 set dummy strip; ac_word=$2
37657 echo "$as_me:$LINENO: checking for $ac_word" >&5
37658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37659 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
37660 echo $ECHO_N "(cached) $ECHO_C" >&6
37661 else
37662 if test -n "$ac_ct_STRIP"; then
37663 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
37664 else
37665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37666 for as_dir in $PATH
37667 do
37668 IFS=$as_save_IFS
37669 test -z "$as_dir" && as_dir=.
37670 for ac_exec_ext in '' $ac_executable_extensions; do
37671 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37672 ac_cv_prog_ac_ct_STRIP="strip"
37673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37674 break 2
37675 fi
37676 done
37677 done
37678
37679 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
37680 fi
37681 fi
37682 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
37683 if test -n "$ac_ct_STRIP"; then
37684 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
37685 echo "${ECHO_T}$ac_ct_STRIP" >&6
37686 else
37687 echo "$as_me:$LINENO: result: no" >&5
37688 echo "${ECHO_T}no" >&6
37689 fi
37690
37691 STRIP=$ac_ct_STRIP
37692 else
37693 STRIP="$ac_cv_prog_STRIP"
37694 fi
37695
37696 if test -n "$ac_tool_prefix"; then
37697 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
37698 set dummy ${ac_tool_prefix}nm; ac_word=$2
37699 echo "$as_me:$LINENO: checking for $ac_word" >&5
37700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37701 if test "${ac_cv_prog_NM+set}" = set; then
37702 echo $ECHO_N "(cached) $ECHO_C" >&6
37703 else
37704 if test -n "$NM"; then
37705 ac_cv_prog_NM="$NM" # Let the user override the test.
37706 else
37707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37708 for as_dir in $PATH
37709 do
37710 IFS=$as_save_IFS
37711 test -z "$as_dir" && as_dir=.
37712 for ac_exec_ext in '' $ac_executable_extensions; do
37713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37714 ac_cv_prog_NM="${ac_tool_prefix}nm"
37715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37716 break 2
37717 fi
37718 done
37719 done
37720
37721 fi
37722 fi
37723 NM=$ac_cv_prog_NM
37724 if test -n "$NM"; then
37725 echo "$as_me:$LINENO: result: $NM" >&5
37726 echo "${ECHO_T}$NM" >&6
37727 else
37728 echo "$as_me:$LINENO: result: no" >&5
37729 echo "${ECHO_T}no" >&6
37730 fi
37731
37732 fi
37733 if test -z "$ac_cv_prog_NM"; then
37734 ac_ct_NM=$NM
37735 # Extract the first word of "nm", so it can be a program name with args.
37736 set dummy nm; ac_word=$2
37737 echo "$as_me:$LINENO: checking for $ac_word" >&5
37738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37739 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
37740 echo $ECHO_N "(cached) $ECHO_C" >&6
37741 else
37742 if test -n "$ac_ct_NM"; then
37743 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
37744 else
37745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37746 for as_dir in $PATH
37747 do
37748 IFS=$as_save_IFS
37749 test -z "$as_dir" && as_dir=.
37750 for ac_exec_ext in '' $ac_executable_extensions; do
37751 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37752 ac_cv_prog_ac_ct_NM="nm"
37753 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37754 break 2
37755 fi
37756 done
37757 done
37758
37759 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
37760 fi
37761 fi
37762 ac_ct_NM=$ac_cv_prog_ac_ct_NM
37763 if test -n "$ac_ct_NM"; then
37764 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
37765 echo "${ECHO_T}$ac_ct_NM" >&6
37766 else
37767 echo "$as_me:$LINENO: result: no" >&5
37768 echo "${ECHO_T}no" >&6
37769 fi
37770
37771 NM=$ac_ct_NM
37772 else
37773 NM="$ac_cv_prog_NM"
37774 fi
37775
37776
37777 case ${BAKEFILE_HOST} in
37778 *-hp-hpux* )
37779 INSTALL_DIR="mkdir"
37780 ;;
37781 *) INSTALL_DIR="$INSTALL -d"
37782 ;;
37783 esac
37784
37785
37786 LDFLAGS_GUI=
37787 case ${BAKEFILE_HOST} in
37788 *-*-cygwin* | *-*-mingw32* )
37789 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
37790 esac
37791
37792
37793 fi
37794
37795 echo "$as_me:$LINENO: checking if make is GNU make" >&5
37796 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
37797 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
37798 echo $ECHO_N "(cached) $ECHO_C" >&6
37799 else
37800
37801 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
37802 egrep -s GNU > /dev/null); then
37803 bakefile_cv_prog_makeisgnu="yes"
37804 else
37805 bakefile_cv_prog_makeisgnu="no"
37806 fi
37807
37808 fi
37809 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
37810 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
37811
37812 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
37813 IF_GNU_MAKE=""
37814 else
37815 IF_GNU_MAKE="#"
37816 fi
37817
37818
37819
37820 PLATFORM_UNIX=0
37821 PLATFORM_WIN32=0
37822 PLATFORM_MSDOS=0
37823 PLATFORM_MAC=0
37824 PLATFORM_MACOSX=0
37825 PLATFORM_OS2=0
37826
37827 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
37828 case "${BAKEFILE_HOST}" in
37829 *-*-cygwin* | *-*-mingw32* )
37830 PLATFORM_WIN32=1
37831 ;;
37832 *-pc-msdosdjgpp )
37833 PLATFORM_MSDOS=1
37834 ;;
37835 *-pc-os2_emx | *-pc-os2-emx )
37836 PLATFORM_OS2=1
37837 ;;
37838 powerpc-*-darwin* )
37839 PLATFORM_MAC=1
37840 PLATFORM_MACOSX=1
37841 ;;
37842 * )
37843 PLATFORM_UNIX=1
37844 ;;
37845 esac
37846 else
37847 case "$BAKEFILE_FORCE_PLATFORM" in
37848 win32 )
37849 PLATFORM_WIN32=1
37850 ;;
37851 msdos )
37852 PLATFORM_MSDOS=1
37853 ;;
37854 os2 )
37855 PLATFORM_OS2=1
37856 ;;
37857 darwin )
37858 PLATFORM_MAC=1
37859 PLATFORM_MACOSX=1
37860 ;;
37861 unix )
37862 PLATFORM_UNIX=1
37863 ;;
37864 * )
37865 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
37866 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
37867 { (exit 1); exit 1; }; }
37868 ;;
37869 esac
37870 fi
37871
37872
37873
37874
37875
37876
37877
37878
37879
37880 SO_SUFFIX="so"
37881 SO_SUFFIX_MODULE="so"
37882 EXEEXT=""
37883 LIBPREFIX=lib
37884 DLLPREFIX=lib
37885 DLLPREFIX_MODULE=
37886
37887 case "${BAKEFILE_HOST}" in
37888 *-hp-hpux* )
37889 SO_SUFFIX="sl"
37890 SO_SUFFIX_MODULE="sl"
37891 ;;
37892 *-*-aix* )
37893 SO_SUFFIX="a"
37894 SO_SUFFIX_MODULE="a"
37895 ;;
37896 *-*-cygwin* | *-*-mingw32* )
37897 SO_SUFFIX="dll"
37898 SO_SUFFIX_MODULE="dll"
37899 EXEEXT=".exe"
37900 DLLPREFIX=""
37901 ;;
37902 *-pc-msdosdjgpp )
37903 EXEEXT=".exe"
37904 DLLPREFIX=""
37905 ;;
37906 *-pc-os2_emx | *-pc-os2-emx )
37907 EXEEXT=".exe"
37908 DLLPREFIX=""
37909 LIBPREFIX=""
37910 ;;
37911 powerpc-*-darwin* )
37912 SO_SUFFIX="dylib"
37913 SO_SUFFIX_MODULE="bundle"
37914 ;;
37915 esac
37916
37917
37918
37919
37920
37921
37922
37923
37924
37925 SHARED_LD_CC="\$(CC) -shared -o"
37926 SHARED_LD_CXX="\$(CXX) -shared -o"
37927
37928 if test "x$GCC" = "xyes"; then
37929 PIC_FLAG="-fPIC"
37930 fi
37931
37932 case "${BAKEFILE_HOST}" in
37933 *-hp-hpux* )
37934 if test "x$GCC" = "xyes"; then
37935 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
37936 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
37937 else
37938 LDFLAGS="$LDFLAGS -L/usr/lib"
37939
37940 SHARED_LD_CC="${CC} -b -o"
37941 SHARED_LD_CXX="${CXX} -b -o"
37942 PIC_FLAG="+Z"
37943 fi
37944 ;;
37945
37946 *-*-linux* )
37947 if test "x$GCC" != "xyes"; then
37948 echo "$as_me:$LINENO: checking for Intel compiler" >&5
37949 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
37950 if test "${bakefile_cv_prog_icc+set}" = set; then
37951 echo $ECHO_N "(cached) $ECHO_C" >&6
37952 else
37953
37954 cat >conftest.$ac_ext <<_ACEOF
37955 /* confdefs.h. */
37956 _ACEOF
37957 cat confdefs.h >>conftest.$ac_ext
37958 cat >>conftest.$ac_ext <<_ACEOF
37959 /* end confdefs.h. */
37960
37961 int
37962 main ()
37963 {
37964
37965 #ifndef __INTEL_COMPILER
37966 #error Not icc
37967 #endif
37968
37969 ;
37970 return 0;
37971 }
37972 _ACEOF
37973 rm -f conftest.$ac_objext
37974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37975 (eval $ac_compile) 2>conftest.er1
37976 ac_status=$?
37977 grep -v '^ *+' conftest.er1 >conftest.err
37978 rm -f conftest.er1
37979 cat conftest.err >&5
37980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37981 (exit $ac_status); } &&
37982 { ac_try='test -z "$ac_c_werror_flag"
37983 || test ! -s conftest.err'
37984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37985 (eval $ac_try) 2>&5
37986 ac_status=$?
37987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37988 (exit $ac_status); }; } &&
37989 { ac_try='test -s conftest.$ac_objext'
37990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37991 (eval $ac_try) 2>&5
37992 ac_status=$?
37993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37994 (exit $ac_status); }; }; then
37995 bakefile_cv_prog_icc=yes
37996 else
37997 echo "$as_me: failed program was:" >&5
37998 sed 's/^/| /' conftest.$ac_ext >&5
37999
38000 bakefile_cv_prog_icc=no
38001
38002 fi
38003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38004
38005 fi
38006 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38007 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38008 if test "$bakefile_cv_prog_icc" = "yes"; then
38009 PIC_FLAG="-KPIC"
38010 fi
38011 fi
38012 ;;
38013
38014 *-*-solaris2* )
38015 if test "x$GCC" != xyes ; then
38016 SHARED_LD_CC="${CC} -G -o"
38017 SHARED_LD_CXX="${CXX} -G -o"
38018 PIC_FLAG="-KPIC"
38019 fi
38020 ;;
38021
38022 *-*-darwin* )
38023 CFLAGS="$CFLAGS -fno-common"
38024 CXXFLAGS="$CXXFLAGS -fno-common"
38025
38026
38027 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38028 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38029 if test "${wx_cv_gcc31+set}" = set; then
38030 echo $ECHO_N "(cached) $ECHO_C" >&6
38031 else
38032
38033 cat >conftest.$ac_ext <<_ACEOF
38034 /* confdefs.h. */
38035 _ACEOF
38036 cat confdefs.h >>conftest.$ac_ext
38037 cat >>conftest.$ac_ext <<_ACEOF
38038 /* end confdefs.h. */
38039
38040 int
38041 main ()
38042 {
38043
38044 #if (__GNUC__ < 3) || \
38045 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38046 #error old gcc
38047 #endif
38048
38049 ;
38050 return 0;
38051 }
38052 _ACEOF
38053 rm -f conftest.$ac_objext
38054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38055 (eval $ac_compile) 2>conftest.er1
38056 ac_status=$?
38057 grep -v '^ *+' conftest.er1 >conftest.err
38058 rm -f conftest.er1
38059 cat conftest.err >&5
38060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38061 (exit $ac_status); } &&
38062 { ac_try='test -z "$ac_c_werror_flag"
38063 || test ! -s conftest.err'
38064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38065 (eval $ac_try) 2>&5
38066 ac_status=$?
38067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38068 (exit $ac_status); }; } &&
38069 { ac_try='test -s conftest.$ac_objext'
38070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38071 (eval $ac_try) 2>&5
38072 ac_status=$?
38073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38074 (exit $ac_status); }; }; then
38075
38076 wx_cv_gcc31=yes
38077
38078 else
38079 echo "$as_me: failed program was:" >&5
38080 sed 's/^/| /' conftest.$ac_ext >&5
38081
38082
38083 wx_cv_gcc31=no
38084
38085
38086 fi
38087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38088
38089 fi
38090 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38091 echo "${ECHO_T}$wx_cv_gcc31" >&6
38092 if test "$wx_cv_gcc31" = "no"; then
38093 cat <<EOF >shared-ld-sh
38094 #!/bin/sh
38095 #-----------------------------------------------------------------------------
38096 #-- Name: distrib/mac/shared-ld-sh
38097 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38098 #-- Author: Gilles Depeyrot
38099 #-- Copyright: (c) 2002 Gilles Depeyrot
38100 #-- Licence: any use permitted
38101 #-----------------------------------------------------------------------------
38102
38103 verbose=0
38104 args=""
38105 objects=""
38106 linking_flag="-dynamiclib"
38107
38108 while test \${#} -gt 0; do
38109 case \${1} in
38110
38111 -v)
38112 verbose=1
38113 ;;
38114
38115 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38116 # collect these options and values
38117 args="\${args} \${1} \${2}"
38118 shift
38119 ;;
38120
38121 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38122 # collect these options
38123 args="\${args} \${1}"
38124 ;;
38125
38126 -dynamiclib|-bundle)
38127 linking_flag="\${1}"
38128 ;;
38129
38130 -*)
38131 echo "shared-ld: unhandled option '\${1}'"
38132 exit 1
38133 ;;
38134
38135 *.o | *.a | *.dylib)
38136 # collect object files
38137 objects="\${objects} \${1}"
38138 ;;
38139
38140 *)
38141 echo "shared-ld: unhandled argument '\${1}'"
38142 exit 1
38143 ;;
38144
38145 esac
38146 shift
38147 done
38148
38149 #
38150 # Link one module containing all the others
38151 #
38152 if test \${verbose} = 1; then
38153 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
38154 fi
38155 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
38156 status=\$?
38157 if test \${status} != 0; then
38158 exit \${status}
38159 fi
38160
38161 #
38162 # Link the shared library from the single module created
38163 #
38164 if test \${verbose} = 1; then
38165 echo "cc \${linking_flag} master.\$\$.o \${args}"
38166 fi
38167 c++ \${linking_flag} master.\$\$.o \${args}
38168 status=\$?
38169 if test \${status} != 0; then
38170 exit \${status}
38171 fi
38172
38173 #
38174 # Remove intermediate module
38175 #
38176 rm -f master.\$\$.o
38177
38178 exit 0
38179 EOF
38180 chmod +x shared-ld-sh
38181
38182 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38183 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38184 SHARED_LD_CXX="$SHARED_LD_CC"
38185 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
38186 else
38187 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38188 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
38189 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38190 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
38191 fi
38192
38193 PIC_FLAG="-dynamic -fPIC"
38194 ;;
38195
38196 *-*-aix* )
38197 if test "x$GCC" != "xyes"; then
38198 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38199 set dummy makeC++SharedLib; ac_word=$2
38200 echo "$as_me:$LINENO: checking for $ac_word" >&5
38201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38202 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
38203 echo $ECHO_N "(cached) $ECHO_C" >&6
38204 else
38205 if test -n "$AIX_CXX_LD"; then
38206 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
38207 else
38208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38209 for as_dir in $PATH
38210 do
38211 IFS=$as_save_IFS
38212 test -z "$as_dir" && as_dir=.
38213 for ac_exec_ext in '' $ac_executable_extensions; do
38214 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38215 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
38216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38217 break 2
38218 fi
38219 done
38220 done
38221
38222 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
38223 fi
38224 fi
38225 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
38226 if test -n "$AIX_CXX_LD"; then
38227 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
38228 echo "${ECHO_T}$AIX_CXX_LD" >&6
38229 else
38230 echo "$as_me:$LINENO: result: no" >&5
38231 echo "${ECHO_T}no" >&6
38232 fi
38233
38234 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
38235 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
38236 fi
38237 ;;
38238
38239 *-*-beos* )
38240 SHARED_LD_CC="${LD} -shared -o"
38241 SHARED_LD_CXX="${LD} -shared -o"
38242 ;;
38243
38244 *-*-irix* )
38245 if test "x$GCC" != "xyes"; then
38246 PIC_FLAG="-KPIC"
38247 fi
38248 ;;
38249
38250 *-*-cygwin* | *-*-mingw32* )
38251 PIC_FLAG=""
38252 ;;
38253
38254 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
38255 *-*-sunos4* | \
38256 *-*-osf* | \
38257 *-*-dgux5* | \
38258 *-pc-os2_emx | *-pc-os2-emx | \
38259 *-*-sysv5* )
38260 ;;
38261
38262 *)
38263 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
38264 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
38265 { (exit 1); exit 1; }; }
38266 esac
38267
38268 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
38269 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
38270 fi
38271 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
38272 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
38273 fi
38274
38275
38276
38277
38278
38279
38280
38281
38282 USE_SOVERSION=0
38283 USE_SOVERLINUX=0
38284 USE_SOVERSOLARIS=0
38285 USE_SOSYMLINKS=0
38286 USE_MACVERSION=0
38287 SONAME_FLAG=
38288
38289 case "${BAKEFILE_HOST}" in
38290 *-*-linux* )
38291 SONAME_FLAG="-Wl,-soname,"
38292 USE_SOVERSION=1
38293 USE_SOVERLINUX=1
38294 USE_SOSYMLINKS=1
38295 ;;
38296
38297 *-*-solaris2* )
38298 SONAME_FLAG="-h "
38299 USE_SOVERSION=1
38300 USE_SOVERSOLARIS=1
38301 USE_SOSYMLINKS=1
38302 ;;
38303
38304 *-*-darwin* )
38305 USE_MACVERSION=1
38306 USE_SOVERSION=1
38307 USE_SOSYMLINKS=1
38308 ;;
38309 esac
38310
38311
38312
38313
38314
38315
38316
38317
38318
38319 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
38320 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
38321 DEPS_TRACKING=0
38322
38323 if test "x$GCC" = "xyes"; then
38324 DEPSMODE=gcc
38325 DEPS_TRACKING=1
38326 case "${BAKEFILE_HOST}" in
38327 powerpc-*-darwin* )
38328 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
38329 ;;
38330 * )
38331 DEPSFLAG_GCC="-MMD"
38332 ;;
38333 esac
38334 echo "$as_me:$LINENO: result: gcc" >&5
38335 echo "${ECHO_T}gcc" >&6
38336 else
38337 echo "$as_me:$LINENO: result: none" >&5
38338 echo "${ECHO_T}none" >&6
38339 fi
38340
38341 if test $DEPS_TRACKING = 1 ; then
38342 cat <<EOF >bk-deps
38343 #!/bin/sh
38344
38345 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
38346 # script. It is used to track C/C++ files dependencies in portable way.
38347 #
38348 # Permission is given to use this file in any way.
38349
38350 DEPSMODE=$DEPSMODE
38351 DEPSDIR=.deps
38352 DEPSFLAG_GCC="$DEPSFLAG_GCC"
38353
38354 mkdir -p \$DEPSDIR
38355
38356 if test \$DEPSMODE = gcc ; then
38357 \${*} \${DEPSFLAG_GCC}
38358 status=\${?}
38359 if test \${status} != 0 ; then
38360 exit \${status}
38361 fi
38362 # move created file to the location we want it in:
38363 while test \${#} -gt 0; do
38364 case "\${1}" in
38365 -o )
38366 shift
38367 objfile=\${1}
38368 ;;
38369 -* )
38370 ;;
38371 * )
38372 srcfile=\${1}
38373 ;;
38374 esac
38375 shift
38376 done
38377 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
38378 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
38379 if test -f \$depfile ; then
38380 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
38381 rm -f \$depfile
38382 else
38383 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
38384 if test -f \$depfile ; then
38385 sed -e "/^\$objfile/!s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
38386 rm -f \$depfile
38387 fi
38388 fi
38389 exit 0
38390 else
38391 \${*}
38392 exit \${?}
38393 fi
38394 EOF
38395 chmod +x bk-deps
38396 fi
38397
38398
38399
38400
38401 RESCOMP=
38402 SETFILE=
38403
38404 case ${BAKEFILE_HOST} in
38405 *-*-cygwin* | *-*-mingw32* )
38406 if test "$build" != "$host" ; then
38407 RESCOMP=$host_alias-windres
38408 else
38409 # Extract the first word of "windres", so it can be a program name with args.
38410 set dummy windres; ac_word=$2
38411 echo "$as_me:$LINENO: checking for $ac_word" >&5
38412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38413 if test "${ac_cv_prog_RESCOMP+set}" = set; then
38414 echo $ECHO_N "(cached) $ECHO_C" >&6
38415 else
38416 if test -n "$RESCOMP"; then
38417 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
38418 else
38419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38420 for as_dir in $PATH
38421 do
38422 IFS=$as_save_IFS
38423 test -z "$as_dir" && as_dir=.
38424 for ac_exec_ext in '' $ac_executable_extensions; do
38425 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38426 ac_cv_prog_RESCOMP="windres"
38427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38428 break 2
38429 fi
38430 done
38431 done
38432
38433 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
38434 fi
38435 fi
38436 RESCOMP=$ac_cv_prog_RESCOMP
38437 if test -n "$RESCOMP"; then
38438 echo "$as_me:$LINENO: result: $RESCOMP" >&5
38439 echo "${ECHO_T}$RESCOMP" >&6
38440 else
38441 echo "$as_me:$LINENO: result: no" >&5
38442 echo "${ECHO_T}no" >&6
38443 fi
38444
38445 fi
38446 ;;
38447
38448 *-*-darwin* )
38449 # Extract the first word of "Rez", so it can be a program name with args.
38450 set dummy Rez; ac_word=$2
38451 echo "$as_me:$LINENO: checking for $ac_word" >&5
38452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38453 if test "${ac_cv_prog_RESCOMP+set}" = set; then
38454 echo $ECHO_N "(cached) $ECHO_C" >&6
38455 else
38456 if test -n "$RESCOMP"; then
38457 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
38458 else
38459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38460 for as_dir in $PATH
38461 do
38462 IFS=$as_save_IFS
38463 test -z "$as_dir" && as_dir=.
38464 for ac_exec_ext in '' $ac_executable_extensions; do
38465 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38466 ac_cv_prog_RESCOMP="Rez"
38467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38468 break 2
38469 fi
38470 done
38471 done
38472
38473 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
38474 fi
38475 fi
38476 RESCOMP=$ac_cv_prog_RESCOMP
38477 if test -n "$RESCOMP"; then
38478 echo "$as_me:$LINENO: result: $RESCOMP" >&5
38479 echo "${ECHO_T}$RESCOMP" >&6
38480 else
38481 echo "$as_me:$LINENO: result: no" >&5
38482 echo "${ECHO_T}no" >&6
38483 fi
38484
38485 # Extract the first word of "SetFile", so it can be a program name with args.
38486 set dummy SetFile; ac_word=$2
38487 echo "$as_me:$LINENO: checking for $ac_word" >&5
38488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38489 if test "${ac_cv_prog_SETFILE+set}" = set; then
38490 echo $ECHO_N "(cached) $ECHO_C" >&6
38491 else
38492 if test -n "$SETFILE"; then
38493 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
38494 else
38495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38496 for as_dir in $PATH
38497 do
38498 IFS=$as_save_IFS
38499 test -z "$as_dir" && as_dir=.
38500 for ac_exec_ext in '' $ac_executable_extensions; do
38501 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38502 ac_cv_prog_SETFILE="SetFile"
38503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38504 break 2
38505 fi
38506 done
38507 done
38508
38509 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
38510 fi
38511 fi
38512 SETFILE=$ac_cv_prog_SETFILE
38513 if test -n "$SETFILE"; then
38514 echo "$as_me:$LINENO: result: $SETFILE" >&5
38515 echo "${ECHO_T}$SETFILE" >&6
38516 else
38517 echo "$as_me:$LINENO: result: no" >&5
38518 echo "${ECHO_T}no" >&6
38519 fi
38520
38521 ;;
38522 esac
38523
38524
38525
38526
38527
38528
38529
38530
38531
38532
38533 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
38534 if test "${enable_precomp_headers+set}" = set; then
38535 enableval="$enable_precomp_headers"
38536 bk_use_pch="$enableval"
38537 fi;
38538
38539 GCC_PCH=0
38540
38541 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
38542 if test "x$GCC" = "xyes"; then
38543 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
38544 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
38545 cat >conftest.$ac_ext <<_ACEOF
38546 /* confdefs.h. */
38547 _ACEOF
38548 cat confdefs.h >>conftest.$ac_ext
38549 cat >>conftest.$ac_ext <<_ACEOF
38550 /* end confdefs.h. */
38551
38552 int
38553 main ()
38554 {
38555
38556 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
38557 #error "no pch support"
38558 #endif
38559 #if (__GNUC__ < 3)
38560 #error "no pch support"
38561 #endif
38562 #if (__GNUC__ == 3) && \
38563 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
38564 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
38565 #error "no pch support"
38566 #endif
38567
38568 ;
38569 return 0;
38570 }
38571 _ACEOF
38572 rm -f conftest.$ac_objext
38573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38574 (eval $ac_compile) 2>conftest.er1
38575 ac_status=$?
38576 grep -v '^ *+' conftest.er1 >conftest.err
38577 rm -f conftest.er1
38578 cat conftest.err >&5
38579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38580 (exit $ac_status); } &&
38581 { ac_try='test -z "$ac_c_werror_flag"
38582 || test ! -s conftest.err'
38583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38584 (eval $ac_try) 2>&5
38585 ac_status=$?
38586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38587 (exit $ac_status); }; } &&
38588 { ac_try='test -s conftest.$ac_objext'
38589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38590 (eval $ac_try) 2>&5
38591 ac_status=$?
38592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38593 (exit $ac_status); }; }; then
38594
38595 echo "$as_me:$LINENO: result: yes" >&5
38596 echo "${ECHO_T}yes" >&6
38597 CPPFLAGS="-fpch-deps $CPPFLAGS"
38598 GCC_PCH=1
38599
38600 else
38601 echo "$as_me: failed program was:" >&5
38602 sed 's/^/| /' conftest.$ac_ext >&5
38603
38604
38605 echo "$as_me:$LINENO: result: no" >&5
38606 echo "${ECHO_T}no" >&6
38607
38608 fi
38609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38610 if test $GCC_PCH = 1 ; then
38611 cat <<EOF >bk-make-pch
38612 #!/bin/sh
38613
38614 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
38615 # script. It is used to generated precompiled headers.
38616 #
38617 # Permission is given to use this file in any way.
38618
38619 outfile="\${1}"
38620 header="\${2}"
38621 shift
38622 shift
38623
38624 compiler=
38625 headerfile=
38626 while test \${#} -gt 0; do
38627 case "\${1}" in
38628 -I* )
38629 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
38630 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
38631 headerfile="\${incdir}/\${header}"
38632 fi
38633 ;;
38634 esac
38635 compiler="\${compiler} \${1}"
38636 shift
38637 done
38638
38639 if test "x\${headerfile}" = "x" ; then
38640 echo "error: can't find header \${header} in include paths" >2
38641 else
38642 if test -f \${outfile} ; then
38643 rm -f \${outfile}
38644 else
38645 mkdir -p \`dirname \${outfile}\`
38646 fi
38647 depsfile=".deps/\`basename \${outfile}\`.d"
38648 mkdir -p .deps
38649 # can do this because gcc is >= 3.4:
38650 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
38651 exit \${?}
38652 fi
38653 EOF
38654 chmod +x bk-make-pch
38655 fi
38656 fi
38657 fi
38658
38659
38660
38661
38662
38663 COND_BUILD_DEBUG="#"
38664 if test "x$BUILD" = "xdebug" ; then
38665 COND_BUILD_DEBUG=""
38666 fi
38667
38668 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
38669 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
38670 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
38671 fi
38672
38673 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
38674 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
38675 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
38676 fi
38677
38678 COND_BUILD_DEBUG_UNICODE_0="#"
38679 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
38680 COND_BUILD_DEBUG_UNICODE_0=""
38681 fi
38682
38683 COND_BUILD_DEBUG_UNICODE_1="#"
38684 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
38685 COND_BUILD_DEBUG_UNICODE_1=""
38686 fi
38687
38688 COND_BUILD_RELEASE="#"
38689 if test "x$BUILD" = "xrelease" ; then
38690 COND_BUILD_RELEASE=""
38691 fi
38692
38693 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
38694 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
38695 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
38696 fi
38697
38698 COND_BUILD_RELEASE_UNICODE_0="#"
38699 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
38700 COND_BUILD_RELEASE_UNICODE_0=""
38701 fi
38702
38703 COND_BUILD_RELEASE_UNICODE_1="#"
38704 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
38705 COND_BUILD_RELEASE_UNICODE_1=""
38706 fi
38707
38708 COND_DEBUG_FLAG_1="#"
38709 if test "x$DEBUG_FLAG" = "x1" ; then
38710 COND_DEBUG_FLAG_1=""
38711 fi
38712
38713 COND_DEBUG_INFO_0="#"
38714 if test "x$DEBUG_INFO" = "x0" ; then
38715 COND_DEBUG_INFO_0=""
38716 fi
38717
38718 COND_DEBUG_INFO_1="#"
38719 if test "x$DEBUG_INFO" = "x1" ; then
38720 COND_DEBUG_INFO_1=""
38721 fi
38722
38723 COND_DEPS_TRACKING_0="#"
38724 if test "x$DEPS_TRACKING" = "x0" ; then
38725 COND_DEPS_TRACKING_0=""
38726 fi
38727
38728 COND_DEPS_TRACKING_1="#"
38729 if test "x$DEPS_TRACKING" = "x1" ; then
38730 COND_DEPS_TRACKING_1=""
38731 fi
38732
38733 COND_GCC_PCH_1="#"
38734 if test "x$GCC_PCH" = "x1" ; then
38735 COND_GCC_PCH_1=""
38736 fi
38737
38738 COND_MONOLITHIC_0="#"
38739 if test "x$MONOLITHIC" = "x0" ; then
38740 COND_MONOLITHIC_0=""
38741 fi
38742
38743 COND_MONOLITHIC_0_SHARED_0="#"
38744 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
38745 COND_MONOLITHIC_0_SHARED_0=""
38746 fi
38747
38748 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
38749 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
38750 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
38751 fi
38752
38753 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
38754 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
38755 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
38756 fi
38757
38758 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
38759 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
38760 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
38761 fi
38762
38763 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
38764 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
38765 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
38766 fi
38767
38768 COND_MONOLITHIC_0_SHARED_1="#"
38769 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
38770 COND_MONOLITHIC_0_SHARED_1=""
38771 fi
38772
38773 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
38774 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
38775 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
38776 fi
38777
38778 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
38779 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
38780 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
38781 fi
38782
38783 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
38784 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
38785 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
38786 fi
38787
38788 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
38789 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
38790 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
38791 fi
38792
38793 COND_MONOLITHIC_0_USE_ODBC_1="#"
38794 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
38795 COND_MONOLITHIC_0_USE_ODBC_1=""
38796 fi
38797
38798 COND_MONOLITHIC_1="#"
38799 if test "x$MONOLITHIC" = "x1" ; then
38800 COND_MONOLITHIC_1=""
38801 fi
38802
38803 COND_MONOLITHIC_1_SHARED_0="#"
38804 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
38805 COND_MONOLITHIC_1_SHARED_0=""
38806 fi
38807
38808 COND_MONOLITHIC_1_SHARED_1="#"
38809 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
38810 COND_MONOLITHIC_1_SHARED_1=""
38811 fi
38812
38813 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
38814 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
38815 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
38816 fi
38817
38818 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
38819 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
38820 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
38821 fi
38822
38823 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
38824 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
38825 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
38826 fi
38827
38828 COND_PLATFORM_MACOSX_1="#"
38829 if test "x$PLATFORM_MACOSX" = "x1" ; then
38830 COND_PLATFORM_MACOSX_1=""
38831 fi
38832
38833 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
38834 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
38835 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
38836 fi
38837
38838 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
38839 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
38840 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
38841 fi
38842
38843 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
38844 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
38845 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
38846 fi
38847
38848 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
38849 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
38850 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
38851 fi
38852
38853 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
38854 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
38855 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
38856 fi
38857
38858 COND_PLATFORM_MAC_1="#"
38859 if test "x$PLATFORM_MAC" = "x1" ; then
38860 COND_PLATFORM_MAC_1=""
38861 fi
38862
38863 COND_PLATFORM_OS2_1="#"
38864 if test "x$PLATFORM_OS2" = "x1" ; then
38865 COND_PLATFORM_OS2_1=""
38866 fi
38867
38868 COND_PLATFORM_UNIX_0="#"
38869 if test "x$PLATFORM_UNIX" = "x0" ; then
38870 COND_PLATFORM_UNIX_0=""
38871 fi
38872
38873 COND_PLATFORM_UNIX_1="#"
38874 if test "x$PLATFORM_UNIX" = "x1" ; then
38875 COND_PLATFORM_UNIX_1=""
38876 fi
38877
38878 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
38879 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
38880 COND_PLATFORM_UNIX_1_USE_GUI_1=""
38881 fi
38882
38883 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
38884 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
38885 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
38886 fi
38887
38888 COND_PLATFORM_WIN32_0="#"
38889 if test "x$PLATFORM_WIN32" = "x0" ; then
38890 COND_PLATFORM_WIN32_0=""
38891 fi
38892
38893 COND_PLATFORM_WIN32_1="#"
38894 if test "x$PLATFORM_WIN32" = "x1" ; then
38895 COND_PLATFORM_WIN32_1=""
38896 fi
38897
38898 COND_SHARED_0="#"
38899 if test "x$SHARED" = "x0" ; then
38900 COND_SHARED_0=""
38901 fi
38902
38903 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
38904 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
38905 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
38906 fi
38907
38908 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
38909 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
38910 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
38911 fi
38912
38913 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
38914 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
38915 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
38916 fi
38917
38918 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
38919 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
38920 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
38921 fi
38922
38923 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
38924 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
38925 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
38926 fi
38927
38928 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
38929 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
38930 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
38931 fi
38932
38933 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
38934 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
38935 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
38936 fi
38937
38938 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
38939 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
38940 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
38941 fi
38942
38943 COND_SHARED_1="#"
38944 if test "x$SHARED" = "x1" ; then
38945 COND_SHARED_1=""
38946 fi
38947
38948 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
38949 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
38950 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
38951 fi
38952
38953 COND_TOOLKIT_COCOA="#"
38954 if test "x$TOOLKIT" = "xCOCOA" ; then
38955 COND_TOOLKIT_COCOA=""
38956 fi
38957
38958 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
38959 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38960 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
38961 fi
38962
38963 COND_TOOLKIT_GTK="#"
38964 if test "x$TOOLKIT" = "xGTK" ; then
38965 COND_TOOLKIT_GTK=""
38966 fi
38967
38968 COND_TOOLKIT_GTK_USE_GUI_1="#"
38969 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
38970 COND_TOOLKIT_GTK_USE_GUI_1=""
38971 fi
38972
38973 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
38974 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38975 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
38976 fi
38977
38978 COND_TOOLKIT_MAC="#"
38979 if test "x$TOOLKIT" = "xMAC" ; then
38980 COND_TOOLKIT_MAC=""
38981 fi
38982
38983 COND_TOOLKIT_MAC_USE_GUI_1="#"
38984 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
38985 COND_TOOLKIT_MAC_USE_GUI_1=""
38986 fi
38987
38988 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
38989 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38990 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
38991 fi
38992
38993 COND_TOOLKIT_MGL="#"
38994 if test "x$TOOLKIT" = "xMGL" ; then
38995 COND_TOOLKIT_MGL=""
38996 fi
38997
38998 COND_TOOLKIT_MGL_USE_GUI_1="#"
38999 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
39000 COND_TOOLKIT_MGL_USE_GUI_1=""
39001 fi
39002
39003 COND_TOOLKIT_MOTIF="#"
39004 if test "x$TOOLKIT" = "xMOTIF" ; then
39005 COND_TOOLKIT_MOTIF=""
39006 fi
39007
39008 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
39009 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
39010 COND_TOOLKIT_MOTIF_USE_GUI_1=""
39011 fi
39012
39013 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
39014 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39015 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
39016 fi
39017
39018 COND_TOOLKIT_MSW="#"
39019 if test "x$TOOLKIT" = "xMSW" ; then
39020 COND_TOOLKIT_MSW=""
39021 fi
39022
39023 COND_TOOLKIT_MSW_USE_GUI_1="#"
39024 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
39025 COND_TOOLKIT_MSW_USE_GUI_1=""
39026 fi
39027
39028 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
39029 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39030 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
39031 fi
39032
39033 COND_TOOLKIT_PM="#"
39034 if test "x$TOOLKIT" = "xPM" ; then
39035 COND_TOOLKIT_PM=""
39036 fi
39037
39038 COND_TOOLKIT_PM_USE_GUI_1="#"
39039 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
39040 COND_TOOLKIT_PM_USE_GUI_1=""
39041 fi
39042
39043 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
39044 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39045 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
39046 fi
39047
39048 COND_TOOLKIT_X11="#"
39049 if test "x$TOOLKIT" = "xX11" ; then
39050 COND_TOOLKIT_X11=""
39051 fi
39052
39053 COND_TOOLKIT_X11_USE_GUI_1="#"
39054 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
39055 COND_TOOLKIT_X11_USE_GUI_1=""
39056 fi
39057
39058 COND_UNICODE_1="#"
39059 if test "x$UNICODE" = "x1" ; then
39060 COND_UNICODE_1=""
39061 fi
39062
39063 COND_USE_EXCEPTIONS_0="#"
39064 if test "x$USE_EXCEPTIONS" = "x0" ; then
39065 COND_USE_EXCEPTIONS_0=""
39066 fi
39067
39068 COND_USE_EXCEPTIONS_1="#"
39069 if test "x$USE_EXCEPTIONS" = "x1" ; then
39070 COND_USE_EXCEPTIONS_1=""
39071 fi
39072
39073 COND_USE_GUI_0="#"
39074 if test "x$USE_GUI" = "x0" ; then
39075 COND_USE_GUI_0=""
39076 fi
39077
39078 COND_USE_GUI_1="#"
39079 if test "x$USE_GUI" = "x1" ; then
39080 COND_USE_GUI_1=""
39081 fi
39082
39083 COND_USE_GUI_1_WXUNIV_0="#"
39084 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39085 COND_USE_GUI_1_WXUNIV_0=""
39086 fi
39087
39088 COND_USE_GUI_1_WXUNIV_1="#"
39089 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
39090 COND_USE_GUI_1_WXUNIV_1=""
39091 fi
39092
39093 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
39094 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39095 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
39096 fi
39097
39098 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
39099 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39100 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
39101 fi
39102
39103 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
39104 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39105 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
39106 fi
39107
39108 COND_USE_ODBC_1="#"
39109 if test "x$USE_ODBC" = "x1" ; then
39110 COND_USE_ODBC_1=""
39111 fi
39112
39113 COND_USE_PLUGINS_0="#"
39114 if test "x$USE_PLUGINS" = "x0" ; then
39115 COND_USE_PLUGINS_0=""
39116 fi
39117
39118 COND_USE_SOSYMLINKS_1="#"
39119 if test "x$USE_SOSYMLINKS" = "x1" ; then
39120 COND_USE_SOSYMLINKS_1=""
39121 fi
39122
39123 COND_USE_SOVERLINUX_1="#"
39124 if test "x$USE_SOVERLINUX" = "x1" ; then
39125 COND_USE_SOVERLINUX_1=""
39126 fi
39127
39128 COND_USE_SOVERSION_0="#"
39129 if test "x$USE_SOVERSION" = "x0" ; then
39130 COND_USE_SOVERSION_0=""
39131 fi
39132
39133 COND_USE_SOVERSOLARIS_1="#"
39134 if test "x$USE_SOVERSOLARIS" = "x1" ; then
39135 COND_USE_SOVERSOLARIS_1=""
39136 fi
39137
39138 COND_WITH_PLUGIN_SDL_1="#"
39139 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
39140 COND_WITH_PLUGIN_SDL_1=""
39141 fi
39142
39143 COND_WITH_SDL_1="#"
39144 if test "x$WITH_SDL" = "x1" ; then
39145 COND_WITH_SDL_1=""
39146 fi
39147
39148 COND_WXUNIV_1="#"
39149 if test "x$WXUNIV" = "x1" ; then
39150 COND_WXUNIV_1=""
39151 fi
39152
39153 COND_WXUSE_EXPAT_BUILTIN="#"
39154 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
39155 COND_WXUSE_EXPAT_BUILTIN=""
39156 fi
39157
39158 COND_WXUSE_LIBJPEG_BUILTIN="#"
39159 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39160 COND_WXUSE_LIBJPEG_BUILTIN=""
39161 fi
39162
39163 COND_WXUSE_LIBPNG_BUILTIN="#"
39164 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39165 COND_WXUSE_LIBPNG_BUILTIN=""
39166 fi
39167
39168 COND_WXUSE_LIBTIFF_BUILTIN="#"
39169 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39170 COND_WXUSE_LIBTIFF_BUILTIN=""
39171 fi
39172
39173 COND_WXUSE_ODBC_BUILTIN="#"
39174 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
39175 COND_WXUSE_ODBC_BUILTIN=""
39176 fi
39177
39178 COND_WXUSE_REGEX_BUILTIN="#"
39179 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
39180 COND_WXUSE_REGEX_BUILTIN=""
39181 fi
39182
39183 COND_WXUSE_ZLIB_BUILTIN="#"
39184 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
39185 COND_WXUSE_ZLIB_BUILTIN=""
39186 fi
39187
39188
39189
39190
39191
39192 if test $GCC_PCH = 1 ; then
39193 CODE_GEN_FLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
39194 CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
39195 else
39196 case "${host}" in
39197 powerpc-*-darwin* )
39198 CODE_GEN_FLAGS="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
39199 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
39200 ;;
39201 esac
39202 fi
39203
39204
39205 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
39206
39207
39208
39209
39210
39211
39212
39213
39214
39215
39216
39217
39218
39219
39220
39221
39222
39223
39224
39225
39226
39227
39228
39229
39230
39231
39232
39233
39234
39235
39236
39237
39238
39239
39240
39241
39242
39243
39244
39245
39246
39247
39248
39249
39250
39251
39252
39253
39254
39255
39256
39257
39258
39259
39260
39261
39262
39263
39264
39265
39266
39267
39268
39269
39270
39271
39272
39273
39274
39275
39276
39277
39278
39279
39280
39281
39282
39283
39284
39285
39286
39287
39288
39289
39290
39291
39292
39293
39294
39295
39296
39297
39298
39299
39300
39301
39302
39303
39304
39305 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
39306 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
39307 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
39308 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
39309 echo $ECHO_N "(cached) $ECHO_C" >&6
39310 else
39311 cat >conftest.make <<\_ACEOF
39312 all:
39313 @echo 'ac_maketemp="$(MAKE)"'
39314 _ACEOF
39315 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
39316 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
39317 if test -n "$ac_maketemp"; then
39318 eval ac_cv_prog_make_${ac_make}_set=yes
39319 else
39320 eval ac_cv_prog_make_${ac_make}_set=no
39321 fi
39322 rm -f conftest.make
39323 fi
39324 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
39325 echo "$as_me:$LINENO: result: yes" >&5
39326 echo "${ECHO_T}yes" >&6
39327 SET_MAKE=
39328 else
39329 echo "$as_me:$LINENO: result: no" >&5
39330 echo "${ECHO_T}no" >&6
39331 SET_MAKE="MAKE=${MAKE-make}"
39332 fi
39333
39334
39335 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
39336 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
39337 fi
39338
39339 ac_config_headers="$ac_config_headers setup.h"
39340
39341
39342 ac_config_files="$ac_config_files wx-config version-script Makefile"
39343
39344
39345 ac_config_commands="$ac_config_commands default"
39346
39347
39348
39349 if test "$wxUSE_GUI" = "yes"; then
39350 SUBDIRS="samples demos utils contrib"
39351 else SUBDIRS="samples utils"
39352 fi
39353
39354 for subdir in `echo $SUBDIRS`; do
39355 if test -d ${srcdir}/${subdir} ; then
39356 if test "$wxUSE_GUI" = "yes"; then
39357 if test ${subdir} = "samples"; then
39358 makefiles="samples/Makefile.in $makefiles"
39359 for sample in `echo $SAMPLES_SUBDIRS`; do
39360 if test -d $srcdir/samples/$sample; then
39361 makefiles="samples/$sample/Makefile.in $makefiles"
39362 fi
39363 done
39364 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
39365 fi
39366 else if test ${subdir} = "samples"; then
39367 makefiles="samples/Makefile.in samples/console/Makefile.in"
39368 else makefiles="utils/HelpGen/Makefile.in \
39369 utils/HelpGen/src/Makefile.in \
39370 utils/tex2rtf/Makefile.in \
39371 utils/tex2rtf/src/Makefile.in"
39372 fi
39373 fi
39374
39375 for mkin in $makefiles ; do
39376 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
39377 ac_config_files="$ac_config_files $mk"
39378
39379 done
39380 fi
39381 done
39382
39383
39384 cat >confcache <<\_ACEOF
39385 # This file is a shell script that caches the results of configure
39386 # tests run on this system so they can be shared between configure
39387 # scripts and configure runs, see configure's option --config-cache.
39388 # It is not useful on other systems. If it contains results you don't
39389 # want to keep, you may remove or edit it.
39390 #
39391 # config.status only pays attention to the cache file if you give it
39392 # the --recheck option to rerun configure.
39393 #
39394 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39395 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39396 # following values.
39397
39398 _ACEOF
39399
39400 # The following way of writing the cache mishandles newlines in values,
39401 # but we know of no workaround that is simple, portable, and efficient.
39402 # So, don't put newlines in cache variables' values.
39403 # Ultrix sh set writes to stderr and can't be redirected directly,
39404 # and sets the high bit in the cache file unless we assign to the vars.
39405 {
39406 (set) 2>&1 |
39407 case `(ac_space=' '; set | grep ac_space) 2>&1` in
39408 *ac_space=\ *)
39409 # `set' does not quote correctly, so add quotes (double-quote
39410 # substitution turns \\\\ into \\, and sed turns \\ into \).
39411 sed -n \
39412 "s/'/'\\\\''/g;
39413 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39414 ;;
39415 *)
39416 # `set' quotes correctly as required by POSIX, so do not add quotes.
39417 sed -n \
39418 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39419 ;;
39420 esac;
39421 } |
39422 sed '
39423 t clear
39424 : clear
39425 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39426 t end
39427 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39428 : end' >>confcache
39429 if diff $cache_file confcache >/dev/null 2>&1; then :; else
39430 if test -w $cache_file; then
39431 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39432 cat confcache >$cache_file
39433 else
39434 echo "not updating unwritable cache $cache_file"
39435 fi
39436 fi
39437 rm -f confcache
39438
39439 test "x$prefix" = xNONE && prefix=$ac_default_prefix
39440 # Let make expand exec_prefix.
39441 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
39442
39443 # VPATH may cause trouble with some makes, so we remove $(srcdir),
39444 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
39445 # trailing colons and then remove the whole line if VPATH becomes empty
39446 # (actually we leave an empty line to preserve line numbers).
39447 if test "x$srcdir" = x.; then
39448 ac_vpsub='/^[ ]*VPATH[ ]*=/{
39449 s/:*\$(srcdir):*/:/;
39450 s/:*\${srcdir}:*/:/;
39451 s/:*@srcdir@:*/:/;
39452 s/^\([^=]*=[ ]*\):*/\1/;
39453 s/:*$//;
39454 s/^[^=]*=[ ]*$//;
39455 }'
39456 fi
39457
39458 DEFS=-DHAVE_CONFIG_H
39459
39460 ac_libobjs=
39461 ac_ltlibobjs=
39462 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
39463 # 1. Remove the extension, and $U if already installed.
39464 ac_i=`echo "$ac_i" |
39465 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
39466 # 2. Add them.
39467 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
39468 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
39469 done
39470 LIBOBJS=$ac_libobjs
39471
39472 LTLIBOBJS=$ac_ltlibobjs
39473
39474
39475
39476 : ${CONFIG_STATUS=./config.status}
39477 ac_clean_files_save=$ac_clean_files
39478 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
39479 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
39480 echo "$as_me: creating $CONFIG_STATUS" >&6;}
39481 cat >$CONFIG_STATUS <<_ACEOF
39482 #! $SHELL
39483 # Generated by $as_me.
39484 # Run this file to recreate the current configuration.
39485 # Compiler output produced by configure, useful for debugging
39486 # configure, is in config.log if it exists.
39487
39488 debug=false
39489 ac_cs_recheck=false
39490 ac_cs_silent=false
39491 SHELL=\${CONFIG_SHELL-$SHELL}
39492 _ACEOF
39493
39494 cat >>$CONFIG_STATUS <<\_ACEOF
39495 ## --------------------- ##
39496 ## M4sh Initialization. ##
39497 ## --------------------- ##
39498
39499 # Be Bourne compatible
39500 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
39501 emulate sh
39502 NULLCMD=:
39503 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
39504 # is contrary to our usage. Disable this feature.
39505 alias -g '${1+"$@"}'='"$@"'
39506 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
39507 set -o posix
39508 fi
39509 DUALCASE=1; export DUALCASE # for MKS sh
39510
39511 # Support unset when possible.
39512 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
39513 as_unset=unset
39514 else
39515 as_unset=false
39516 fi
39517
39518
39519 # Work around bugs in pre-3.0 UWIN ksh.
39520 $as_unset ENV MAIL MAILPATH
39521 PS1='$ '
39522 PS2='> '
39523 PS4='+ '
39524
39525 # NLS nuisances.
39526 for as_var in \
39527 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
39528 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
39529 LC_TELEPHONE LC_TIME
39530 do
39531 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
39532 eval $as_var=C; export $as_var
39533 else
39534 $as_unset $as_var
39535 fi
39536 done
39537
39538 # Required to use basename.
39539 if expr a : '\(a\)' >/dev/null 2>&1; then
39540 as_expr=expr
39541 else
39542 as_expr=false
39543 fi
39544
39545 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
39546 as_basename=basename
39547 else
39548 as_basename=false
39549 fi
39550
39551
39552 # Name of the executable.
39553 as_me=`$as_basename "$0" ||
39554 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
39555 X"$0" : 'X\(//\)$' \| \
39556 X"$0" : 'X\(/\)$' \| \
39557 . : '\(.\)' 2>/dev/null ||
39558 echo X/"$0" |
39559 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
39560 /^X\/\(\/\/\)$/{ s//\1/; q; }
39561 /^X\/\(\/\).*/{ s//\1/; q; }
39562 s/.*/./; q'`
39563
39564
39565 # PATH needs CR, and LINENO needs CR and PATH.
39566 # Avoid depending upon Character Ranges.
39567 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
39568 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39569 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39570 as_cr_digits='0123456789'
39571 as_cr_alnum=$as_cr_Letters$as_cr_digits
39572
39573 # The user is always right.
39574 if test "${PATH_SEPARATOR+set}" != set; then
39575 echo "#! /bin/sh" >conf$$.sh
39576 echo "exit 0" >>conf$$.sh
39577 chmod +x conf$$.sh
39578 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
39579 PATH_SEPARATOR=';'
39580 else
39581 PATH_SEPARATOR=:
39582 fi
39583 rm -f conf$$.sh
39584 fi
39585
39586
39587 as_lineno_1=$LINENO
39588 as_lineno_2=$LINENO
39589 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
39590 test "x$as_lineno_1" != "x$as_lineno_2" &&
39591 test "x$as_lineno_3" = "x$as_lineno_2" || {
39592 # Find who we are. Look in the path if we contain no path at all
39593 # relative or not.
39594 case $0 in
39595 *[\\/]* ) as_myself=$0 ;;
39596 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39597 for as_dir in $PATH
39598 do
39599 IFS=$as_save_IFS
39600 test -z "$as_dir" && as_dir=.
39601 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
39602 done
39603
39604 ;;
39605 esac
39606 # We did not find ourselves, most probably we were run as `sh COMMAND'
39607 # in which case we are not to be found in the path.
39608 if test "x$as_myself" = x; then
39609 as_myself=$0
39610 fi
39611 if test ! -f "$as_myself"; then
39612 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
39613 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
39614 { (exit 1); exit 1; }; }
39615 fi
39616 case $CONFIG_SHELL in
39617 '')
39618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39619 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
39620 do
39621 IFS=$as_save_IFS
39622 test -z "$as_dir" && as_dir=.
39623 for as_base in sh bash ksh sh5; do
39624 case $as_dir in
39625 /*)
39626 if ("$as_dir/$as_base" -c '
39627 as_lineno_1=$LINENO
39628 as_lineno_2=$LINENO
39629 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
39630 test "x$as_lineno_1" != "x$as_lineno_2" &&
39631 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
39632 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
39633 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
39634 CONFIG_SHELL=$as_dir/$as_base
39635 export CONFIG_SHELL
39636 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
39637 fi;;
39638 esac
39639 done
39640 done
39641 ;;
39642 esac
39643
39644 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
39645 # uniformly replaced by the line number. The first 'sed' inserts a
39646 # line-number line before each line; the second 'sed' does the real
39647 # work. The second script uses 'N' to pair each line-number line
39648 # with the numbered line, and appends trailing '-' during
39649 # substitution so that $LINENO is not a special case at line end.
39650 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
39651 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
39652 sed '=' <$as_myself |
39653 sed '
39654 N
39655 s,$,-,
39656 : loop
39657 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
39658 t loop
39659 s,-$,,
39660 s,^['$as_cr_digits']*\n,,
39661 ' >$as_me.lineno &&
39662 chmod +x $as_me.lineno ||
39663 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
39664 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
39665 { (exit 1); exit 1; }; }
39666
39667 # Don't try to exec as it changes $[0], causing all sort of problems
39668 # (the dirname of $[0] is not the place where we might find the
39669 # original and so on. Autoconf is especially sensible to this).
39670 . ./$as_me.lineno
39671 # Exit status is that of the last command.
39672 exit
39673 }
39674
39675
39676 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
39677 *c*,-n*) ECHO_N= ECHO_C='
39678 ' ECHO_T=' ' ;;
39679 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
39680 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
39681 esac
39682
39683 if expr a : '\(a\)' >/dev/null 2>&1; then
39684 as_expr=expr
39685 else
39686 as_expr=false
39687 fi
39688
39689 rm -f conf$$ conf$$.exe conf$$.file
39690 echo >conf$$.file
39691 if ln -s conf$$.file conf$$ 2>/dev/null; then
39692 # We could just check for DJGPP; but this test a) works b) is more generic
39693 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
39694 if test -f conf$$.exe; then
39695 # Don't use ln at all; we don't have any links
39696 as_ln_s='cp -p'
39697 else
39698 as_ln_s='ln -s'
39699 fi
39700 elif ln conf$$.file conf$$ 2>/dev/null; then
39701 as_ln_s=ln
39702 else
39703 as_ln_s='cp -p'
39704 fi
39705 rm -f conf$$ conf$$.exe conf$$.file
39706
39707 if mkdir -p . 2>/dev/null; then
39708 as_mkdir_p=:
39709 else
39710 test -d ./-p && rmdir ./-p
39711 as_mkdir_p=false
39712 fi
39713
39714 as_executable_p="test -f"
39715
39716 # Sed expression to map a string onto a valid CPP name.
39717 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
39718
39719 # Sed expression to map a string onto a valid variable name.
39720 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
39721
39722
39723 # IFS
39724 # We need space, tab and new line, in precisely that order.
39725 as_nl='
39726 '
39727 IFS=" $as_nl"
39728
39729 # CDPATH.
39730 $as_unset CDPATH
39731
39732 exec 6>&1
39733
39734 # Open the log real soon, to keep \$[0] and so on meaningful, and to
39735 # report actual input values of CONFIG_FILES etc. instead of their
39736 # values after options handling. Logging --version etc. is OK.
39737 exec 5>>config.log
39738 {
39739 echo
39740 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
39741 ## Running $as_me. ##
39742 _ASBOX
39743 } >&5
39744 cat >&5 <<_CSEOF
39745
39746 This file was extended by wxWindows $as_me 2.5.1, which was
39747 generated by GNU Autoconf 2.59. Invocation command line was
39748
39749 CONFIG_FILES = $CONFIG_FILES
39750 CONFIG_HEADERS = $CONFIG_HEADERS
39751 CONFIG_LINKS = $CONFIG_LINKS
39752 CONFIG_COMMANDS = $CONFIG_COMMANDS
39753 $ $0 $@
39754
39755 _CSEOF
39756 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
39757 echo >&5
39758 _ACEOF
39759
39760 # Files that config.status was made for.
39761 if test -n "$ac_config_files"; then
39762 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
39763 fi
39764
39765 if test -n "$ac_config_headers"; then
39766 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
39767 fi
39768
39769 if test -n "$ac_config_links"; then
39770 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
39771 fi
39772
39773 if test -n "$ac_config_commands"; then
39774 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
39775 fi
39776
39777 cat >>$CONFIG_STATUS <<\_ACEOF
39778
39779 ac_cs_usage="\
39780 \`$as_me' instantiates files from templates according to the
39781 current configuration.
39782
39783 Usage: $0 [OPTIONS] [FILE]...
39784
39785 -h, --help print this help, then exit
39786 -V, --version print version number, then exit
39787 -q, --quiet do not print progress messages
39788 -d, --debug don't remove temporary files
39789 --recheck update $as_me by reconfiguring in the same conditions
39790 --file=FILE[:TEMPLATE]
39791 instantiate the configuration file FILE
39792 --header=FILE[:TEMPLATE]
39793 instantiate the configuration header FILE
39794
39795 Configuration files:
39796 $config_files
39797
39798 Configuration headers:
39799 $config_headers
39800
39801 Configuration commands:
39802 $config_commands
39803
39804 Report bugs to <bug-autoconf@gnu.org>."
39805 _ACEOF
39806
39807 cat >>$CONFIG_STATUS <<_ACEOF
39808 ac_cs_version="\\
39809 wxWindows config.status 2.5.1
39810 configured by $0, generated by GNU Autoconf 2.59,
39811 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
39812
39813 Copyright (C) 2003 Free Software Foundation, Inc.
39814 This config.status script is free software; the Free Software Foundation
39815 gives unlimited permission to copy, distribute and modify it."
39816 srcdir=$srcdir
39817 INSTALL="$INSTALL"
39818 _ACEOF
39819
39820 cat >>$CONFIG_STATUS <<\_ACEOF
39821 # If no file are specified by the user, then we need to provide default
39822 # value. By we need to know if files were specified by the user.
39823 ac_need_defaults=:
39824 while test $# != 0
39825 do
39826 case $1 in
39827 --*=*)
39828 ac_option=`expr "x$1" : 'x\([^=]*\)='`
39829 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
39830 ac_shift=:
39831 ;;
39832 -*)
39833 ac_option=$1
39834 ac_optarg=$2
39835 ac_shift=shift
39836 ;;
39837 *) # This is not an option, so the user has probably given explicit
39838 # arguments.
39839 ac_option=$1
39840 ac_need_defaults=false;;
39841 esac
39842
39843 case $ac_option in
39844 # Handling of the options.
39845 _ACEOF
39846 cat >>$CONFIG_STATUS <<\_ACEOF
39847 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
39848 ac_cs_recheck=: ;;
39849 --version | --vers* | -V )
39850 echo "$ac_cs_version"; exit 0 ;;
39851 --he | --h)
39852 # Conflict between --help and --header
39853 { { echo "$as_me:$LINENO: error: ambiguous option: $1
39854 Try \`$0 --help' for more information." >&5
39855 echo "$as_me: error: ambiguous option: $1
39856 Try \`$0 --help' for more information." >&2;}
39857 { (exit 1); exit 1; }; };;
39858 --help | --hel | -h )
39859 echo "$ac_cs_usage"; exit 0 ;;
39860 --debug | --d* | -d )
39861 debug=: ;;
39862 --file | --fil | --fi | --f )
39863 $ac_shift
39864 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
39865 ac_need_defaults=false;;
39866 --header | --heade | --head | --hea )
39867 $ac_shift
39868 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
39869 ac_need_defaults=false;;
39870 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
39871 | -silent | --silent | --silen | --sile | --sil | --si | --s)
39872 ac_cs_silent=: ;;
39873
39874 # This is an error.
39875 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
39876 Try \`$0 --help' for more information." >&5
39877 echo "$as_me: error: unrecognized option: $1
39878 Try \`$0 --help' for more information." >&2;}
39879 { (exit 1); exit 1; }; } ;;
39880
39881 *) ac_config_targets="$ac_config_targets $1" ;;
39882
39883 esac
39884 shift
39885 done
39886
39887 ac_configure_extra_args=
39888
39889 if $ac_cs_silent; then
39890 exec 6>/dev/null
39891 ac_configure_extra_args="$ac_configure_extra_args --silent"
39892 fi
39893
39894 _ACEOF
39895 cat >>$CONFIG_STATUS <<_ACEOF
39896 if \$ac_cs_recheck; then
39897 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
39898 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
39899 fi
39900
39901 _ACEOF
39902
39903 cat >>$CONFIG_STATUS <<_ACEOF
39904 #
39905 # INIT-COMMANDS section.
39906 #
39907
39908
39909 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
39910 LN_S="${LN_S}"
39911
39912
39913
39914 _ACEOF
39915
39916
39917
39918 cat >>$CONFIG_STATUS <<\_ACEOF
39919 for ac_config_target in $ac_config_targets
39920 do
39921 case "$ac_config_target" in
39922 # Handling of arguments.
39923 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
39924 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
39925 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
39926 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
39927 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
39928 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
39929 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
39930 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
39931 { (exit 1); exit 1; }; };;
39932 esac
39933 done
39934
39935 # If the user did not use the arguments to specify the items to instantiate,
39936 # then the envvar interface is used. Set only those that are not.
39937 # We use the long form for the default assignment because of an extremely
39938 # bizarre bug on SunOS 4.1.3.
39939 if $ac_need_defaults; then
39940 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
39941 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
39942 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
39943 fi
39944
39945 # Have a temporary directory for convenience. Make it in the build tree
39946 # simply because there is no reason to put it here, and in addition,
39947 # creating and moving files from /tmp can sometimes cause problems.
39948 # Create a temporary directory, and hook for its removal unless debugging.
39949 $debug ||
39950 {
39951 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
39952 trap '{ (exit 1); exit 1; }' 1 2 13 15
39953 }
39954
39955 # Create a (secure) tmp directory for tmp files.
39956
39957 {
39958 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
39959 test -n "$tmp" && test -d "$tmp"
39960 } ||
39961 {
39962 tmp=./confstat$$-$RANDOM
39963 (umask 077 && mkdir $tmp)
39964 } ||
39965 {
39966 echo "$me: cannot create a temporary directory in ." >&2
39967 { (exit 1); exit 1; }
39968 }
39969
39970 _ACEOF
39971
39972 cat >>$CONFIG_STATUS <<_ACEOF
39973
39974 #
39975 # CONFIG_FILES section.
39976 #
39977
39978 # No need to generate the scripts if there are no CONFIG_FILES.
39979 # This happens for instance when ./config.status config.h
39980 if test -n "\$CONFIG_FILES"; then
39981 # Protect against being on the right side of a sed subst in config.status.
39982 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
39983 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
39984 s,@SHELL@,$SHELL,;t t
39985 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
39986 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
39987 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
39988 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
39989 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
39990 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
39991 s,@exec_prefix@,$exec_prefix,;t t
39992 s,@prefix@,$prefix,;t t
39993 s,@program_transform_name@,$program_transform_name,;t t
39994 s,@bindir@,$bindir,;t t
39995 s,@sbindir@,$sbindir,;t t
39996 s,@libexecdir@,$libexecdir,;t t
39997 s,@datadir@,$datadir,;t t
39998 s,@sysconfdir@,$sysconfdir,;t t
39999 s,@sharedstatedir@,$sharedstatedir,;t t
40000 s,@localstatedir@,$localstatedir,;t t
40001 s,@libdir@,$libdir,;t t
40002 s,@includedir@,$includedir,;t t
40003 s,@oldincludedir@,$oldincludedir,;t t
40004 s,@infodir@,$infodir,;t t
40005 s,@mandir@,$mandir,;t t
40006 s,@build_alias@,$build_alias,;t t
40007 s,@host_alias@,$host_alias,;t t
40008 s,@target_alias@,$target_alias,;t t
40009 s,@DEFS@,$DEFS,;t t
40010 s,@ECHO_C@,$ECHO_C,;t t
40011 s,@ECHO_N@,$ECHO_N,;t t
40012 s,@ECHO_T@,$ECHO_T,;t t
40013 s,@LIBS@,$LIBS,;t t
40014 s,@build@,$build,;t t
40015 s,@build_cpu@,$build_cpu,;t t
40016 s,@build_vendor@,$build_vendor,;t t
40017 s,@build_os@,$build_os,;t t
40018 s,@host@,$host,;t t
40019 s,@host_cpu@,$host_cpu,;t t
40020 s,@host_vendor@,$host_vendor,;t t
40021 s,@host_os@,$host_os,;t t
40022 s,@target@,$target,;t t
40023 s,@target_cpu@,$target_cpu,;t t
40024 s,@target_vendor@,$target_vendor,;t t
40025 s,@target_os@,$target_os,;t t
40026 s,@CC@,$CC,;t t
40027 s,@CFLAGS@,$CFLAGS,;t t
40028 s,@LDFLAGS@,$LDFLAGS,;t t
40029 s,@CPPFLAGS@,$CPPFLAGS,;t t
40030 s,@ac_ct_CC@,$ac_ct_CC,;t t
40031 s,@EXEEXT@,$EXEEXT,;t t
40032 s,@OBJEXT@,$OBJEXT,;t t
40033 s,@CPP@,$CPP,;t t
40034 s,@EGREP@,$EGREP,;t t
40035 s,@CXX@,$CXX,;t t
40036 s,@CXXFLAGS@,$CXXFLAGS,;t t
40037 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
40038 s,@RANLIB@,$RANLIB,;t t
40039 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
40040 s,@AR@,$AR,;t t
40041 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
40042 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
40043 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
40044 s,@STRIP@,$STRIP,;t t
40045 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
40046 s,@LN_S@,$LN_S,;t t
40047 s,@CXXCPP@,$CXXCPP,;t t
40048 s,@subdirs@,$subdirs,;t t
40049 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
40050 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
40051 s,@GTK_LIBS@,$GTK_LIBS,;t t
40052 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
40053 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
40054 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
40055 s,@X_CFLAGS@,$X_CFLAGS,;t t
40056 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
40057 s,@X_LIBS@,$X_LIBS,;t t
40058 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
40059 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
40060 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
40061 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
40062 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
40063 s,@RESCOMP@,$RESCOMP,;t t
40064 s,@DEREZ@,$DEREZ,;t t
40065 s,@SETFILE@,$SETFILE,;t t
40066 s,@LIBICONV@,$LIBICONV,;t t
40067 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
40068 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
40069 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
40070 s,@SDL_LIBS@,$SDL_LIBS,;t t
40071 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
40072 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
40073 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
40074 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
40075 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
40076 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
40077 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
40078 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
40079 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
40080 s,@VENDOR@,$VENDOR,;t t
40081 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
40082 s,@WXUNIV@,$WXUNIV,;t t
40083 s,@MONOLITHIC@,$MONOLITHIC,;t t
40084 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
40085 s,@EXTRALIBS@,$EXTRALIBS,;t t
40086 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
40087 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
40088 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
40089 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
40090 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
40091 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
40092 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
40093 s,@UNICODE@,$UNICODE,;t t
40094 s,@BUILD@,$BUILD,;t t
40095 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
40096 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
40097 s,@SHARED@,$SHARED,;t t
40098 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
40099 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
40100 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
40101 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
40102 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
40103 s,@SET_MAKE@,$SET_MAKE,;t t
40104 s,@MAKE_SET@,$MAKE_SET,;t t
40105 s,@ac_ct_AR@,$ac_ct_AR,;t t
40106 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
40107 s,@NM@,$NM,;t t
40108 s,@ac_ct_NM@,$ac_ct_NM,;t t
40109 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
40110 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
40111 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
40112 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
40113 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
40114 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
40115 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
40116 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
40117 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
40118 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
40119 s,@LIBPREFIX@,$LIBPREFIX,;t t
40120 s,@DLLPREFIX@,$DLLPREFIX,;t t
40121 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
40122 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
40123 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
40124 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
40125 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
40126 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
40127 s,@PIC_FLAG@,$PIC_FLAG,;t t
40128 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
40129 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
40130 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
40131 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
40132 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
40133 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
40134 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
40135 s,@GCC_PCH@,$GCC_PCH,;t t
40136 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
40137 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
40138 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
40139 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
40140 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
40141 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
40142 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
40143 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
40144 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
40145 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
40146 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
40147 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
40148 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
40149 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
40150 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
40151 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
40152 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
40153 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
40154 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
40155 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
40156 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
40157 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
40158 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
40159 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
40160 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
40161 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
40162 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
40163 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
40164 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
40165 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
40166 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
40167 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
40168 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
40169 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
40170 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
40171 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
40172 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
40173 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
40174 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
40175 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
40176 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
40177 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
40178 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
40179 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
40180 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
40181 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
40182 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
40183 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
40184 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
40185 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
40186 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
40187 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
40188 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
40189 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
40190 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
40191 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
40192 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
40193 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
40194 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
40195 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
40196 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
40197 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
40198 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
40199 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
40200 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
40201 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
40202 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
40203 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
40204 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
40205 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
40206 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
40207 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
40208 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
40209 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
40210 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
40211 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
40212 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
40213 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
40214 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
40215 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
40216 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
40217 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
40218 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
40219 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
40220 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
40221 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
40222 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
40223 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
40224 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
40225 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
40226 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
40227 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
40228 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
40229 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
40230 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
40231 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
40232 s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
40233 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
40234 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
40235 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
40236 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
40237 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
40238 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
40239 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
40240 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
40241 s,@PATH_IFS@,$PATH_IFS,;t t
40242 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
40243 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
40244 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
40245 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
40246 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
40247 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
40248 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
40249 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
40250 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
40251 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
40252 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
40253 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
40254 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
40255 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
40256 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
40257 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
40258 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
40259 s,@WX_ALL@,$WX_ALL,;t t
40260 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
40261 s,@SHARED_LD@,$SHARED_LD,;t t
40262 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
40263 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
40264 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
40265 s,@USE_GUI@,$USE_GUI,;t t
40266 s,@AFMINSTALL@,$AFMINSTALL,;t t
40267 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
40268 s,@TOOLKIT@,$TOOLKIT,;t t
40269 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
40270 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
40271 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
40272 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
40273 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
40274 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
40275 s,@cross_compiling@,$cross_compiling,;t t
40276 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
40277 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
40278 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
40279 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
40280 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
40281 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
40282 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
40283 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
40284 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
40285 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
40286 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
40287 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
40288 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
40289 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
40290 s,@GUIDIST@,$GUIDIST,;t t
40291 s,@PORT_FILES@,$PORT_FILES,;t t
40292 s,@DISTDIR@,$DISTDIR,;t t
40293 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
40294 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
40295 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
40296 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
40297 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
40298 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
40299 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
40300 s,@RESFLAGS@,$RESFLAGS,;t t
40301 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
40302 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
40303 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
40304 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
40305 s,@MACRESCOMP@,$MACRESCOMP,;t t
40306 s,@MACSETFILE@,$MACSETFILE,;t t
40307 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
40308 s,@GCC@,$GCC,;t t
40309 s,@DLLTOOL@,$DLLTOOL,;t t
40310 s,@AS@,$AS,;t t
40311 s,@LD@,$LD,;t t
40312 s,@MAKEINFO@,$MAKEINFO,;t t
40313 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
40314 s,@LIBOBJS@,$LIBOBJS,;t t
40315 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
40316 CEOF
40317
40318 _ACEOF
40319
40320 cat >>$CONFIG_STATUS <<\_ACEOF
40321 # Split the substitutions into bite-sized pieces for seds with
40322 # small command number limits, like on Digital OSF/1 and HP-UX.
40323 ac_max_sed_lines=48
40324 ac_sed_frag=1 # Number of current file.
40325 ac_beg=1 # First line for current file.
40326 ac_end=$ac_max_sed_lines # Line after last line for current file.
40327 ac_more_lines=:
40328 ac_sed_cmds=
40329 while $ac_more_lines; do
40330 if test $ac_beg -gt 1; then
40331 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
40332 else
40333 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
40334 fi
40335 if test ! -s $tmp/subs.frag; then
40336 ac_more_lines=false
40337 else
40338 # The purpose of the label and of the branching condition is to
40339 # speed up the sed processing (if there are no `@' at all, there
40340 # is no need to browse any of the substitutions).
40341 # These are the two extra sed commands mentioned above.
40342 (echo ':t
40343 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
40344 if test -z "$ac_sed_cmds"; then
40345 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
40346 else
40347 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
40348 fi
40349 ac_sed_frag=`expr $ac_sed_frag + 1`
40350 ac_beg=$ac_end
40351 ac_end=`expr $ac_end + $ac_max_sed_lines`
40352 fi
40353 done
40354 if test -z "$ac_sed_cmds"; then
40355 ac_sed_cmds=cat
40356 fi
40357 fi # test -n "$CONFIG_FILES"
40358
40359 _ACEOF
40360 cat >>$CONFIG_STATUS <<\_ACEOF
40361 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
40362 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
40363 case $ac_file in
40364 - | *:- | *:-:* ) # input from stdin
40365 cat >$tmp/stdin
40366 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
40367 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
40368 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
40369 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
40370 * ) ac_file_in=$ac_file.in ;;
40371 esac
40372
40373 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
40374 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
40375 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40376 X"$ac_file" : 'X\(//\)[^/]' \| \
40377 X"$ac_file" : 'X\(//\)$' \| \
40378 X"$ac_file" : 'X\(/\)' \| \
40379 . : '\(.\)' 2>/dev/null ||
40380 echo X"$ac_file" |
40381 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40382 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40383 /^X\(\/\/\)$/{ s//\1/; q; }
40384 /^X\(\/\).*/{ s//\1/; q; }
40385 s/.*/./; q'`
40386 { if $as_mkdir_p; then
40387 mkdir -p "$ac_dir"
40388 else
40389 as_dir="$ac_dir"
40390 as_dirs=
40391 while test ! -d "$as_dir"; do
40392 as_dirs="$as_dir $as_dirs"
40393 as_dir=`(dirname "$as_dir") 2>/dev/null ||
40394 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40395 X"$as_dir" : 'X\(//\)[^/]' \| \
40396 X"$as_dir" : 'X\(//\)$' \| \
40397 X"$as_dir" : 'X\(/\)' \| \
40398 . : '\(.\)' 2>/dev/null ||
40399 echo X"$as_dir" |
40400 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40401 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40402 /^X\(\/\/\)$/{ s//\1/; q; }
40403 /^X\(\/\).*/{ s//\1/; q; }
40404 s/.*/./; q'`
40405 done
40406 test ! -n "$as_dirs" || mkdir $as_dirs
40407 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40408 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40409 { (exit 1); exit 1; }; }; }
40410
40411 ac_builddir=.
40412
40413 if test "$ac_dir" != .; then
40414 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
40415 # A "../" for each directory in $ac_dir_suffix.
40416 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
40417 else
40418 ac_dir_suffix= ac_top_builddir=
40419 fi
40420
40421 case $srcdir in
40422 .) # No --srcdir option. We are building in place.
40423 ac_srcdir=.
40424 if test -z "$ac_top_builddir"; then
40425 ac_top_srcdir=.
40426 else
40427 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
40428 fi ;;
40429 [\\/]* | ?:[\\/]* ) # Absolute path.
40430 ac_srcdir=$srcdir$ac_dir_suffix;
40431 ac_top_srcdir=$srcdir ;;
40432 *) # Relative path.
40433 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
40434 ac_top_srcdir=$ac_top_builddir$srcdir ;;
40435 esac
40436
40437 # Do not use `cd foo && pwd` to compute absolute paths, because
40438 # the directories may not exist.
40439 case `pwd` in
40440 .) ac_abs_builddir="$ac_dir";;
40441 *)
40442 case "$ac_dir" in
40443 .) ac_abs_builddir=`pwd`;;
40444 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
40445 *) ac_abs_builddir=`pwd`/"$ac_dir";;
40446 esac;;
40447 esac
40448 case $ac_abs_builddir in
40449 .) ac_abs_top_builddir=${ac_top_builddir}.;;
40450 *)
40451 case ${ac_top_builddir}. in
40452 .) ac_abs_top_builddir=$ac_abs_builddir;;
40453 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
40454 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
40455 esac;;
40456 esac
40457 case $ac_abs_builddir in
40458 .) ac_abs_srcdir=$ac_srcdir;;
40459 *)
40460 case $ac_srcdir in
40461 .) ac_abs_srcdir=$ac_abs_builddir;;
40462 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
40463 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
40464 esac;;
40465 esac
40466 case $ac_abs_builddir in
40467 .) ac_abs_top_srcdir=$ac_top_srcdir;;
40468 *)
40469 case $ac_top_srcdir in
40470 .) ac_abs_top_srcdir=$ac_abs_builddir;;
40471 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
40472 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
40473 esac;;
40474 esac
40475
40476
40477 case $INSTALL in
40478 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
40479 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
40480 esac
40481
40482 if test x"$ac_file" != x-; then
40483 { echo "$as_me:$LINENO: creating $ac_file" >&5
40484 echo "$as_me: creating $ac_file" >&6;}
40485 rm -f "$ac_file"
40486 fi
40487 # Let's still pretend it is `configure' which instantiates (i.e., don't
40488 # use $as_me), people would be surprised to read:
40489 # /* config.h. Generated by config.status. */
40490 if test x"$ac_file" = x-; then
40491 configure_input=
40492 else
40493 configure_input="$ac_file. "
40494 fi
40495 configure_input=$configure_input"Generated from `echo $ac_file_in |
40496 sed 's,.*/,,'` by configure."
40497
40498 # First look for the input files in the build tree, otherwise in the
40499 # src tree.
40500 ac_file_inputs=`IFS=:
40501 for f in $ac_file_in; do
40502 case $f in
40503 -) echo $tmp/stdin ;;
40504 [\\/$]*)
40505 # Absolute (can't be DOS-style, as IFS=:)
40506 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40507 echo "$as_me: error: cannot find input file: $f" >&2;}
40508 { (exit 1); exit 1; }; }
40509 echo "$f";;
40510 *) # Relative
40511 if test -f "$f"; then
40512 # Build tree
40513 echo "$f"
40514 elif test -f "$srcdir/$f"; then
40515 # Source tree
40516 echo "$srcdir/$f"
40517 else
40518 # /dev/null tree
40519 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40520 echo "$as_me: error: cannot find input file: $f" >&2;}
40521 { (exit 1); exit 1; }; }
40522 fi;;
40523 esac
40524 done` || { (exit 1); exit 1; }
40525 _ACEOF
40526 cat >>$CONFIG_STATUS <<_ACEOF
40527 sed "$ac_vpsub
40528 $extrasub
40529 _ACEOF
40530 cat >>$CONFIG_STATUS <<\_ACEOF
40531 :t
40532 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
40533 s,@configure_input@,$configure_input,;t t
40534 s,@srcdir@,$ac_srcdir,;t t
40535 s,@abs_srcdir@,$ac_abs_srcdir,;t t
40536 s,@top_srcdir@,$ac_top_srcdir,;t t
40537 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
40538 s,@builddir@,$ac_builddir,;t t
40539 s,@abs_builddir@,$ac_abs_builddir,;t t
40540 s,@top_builddir@,$ac_top_builddir,;t t
40541 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
40542 s,@INSTALL@,$ac_INSTALL,;t t
40543 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
40544 rm -f $tmp/stdin
40545 if test x"$ac_file" != x-; then
40546 mv $tmp/out $ac_file
40547 else
40548 cat $tmp/out
40549 rm -f $tmp/out
40550 fi
40551
40552 done
40553 _ACEOF
40554 cat >>$CONFIG_STATUS <<\_ACEOF
40555
40556 #
40557 # CONFIG_HEADER section.
40558 #
40559
40560 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
40561 # NAME is the cpp macro being defined and VALUE is the value it is being given.
40562 #
40563 # ac_d sets the value in "#define NAME VALUE" lines.
40564 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
40565 ac_dB='[ ].*$,\1#\2'
40566 ac_dC=' '
40567 ac_dD=',;t'
40568 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
40569 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
40570 ac_uB='$,\1#\2define\3'
40571 ac_uC=' '
40572 ac_uD=',;t'
40573
40574 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
40575 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
40576 case $ac_file in
40577 - | *:- | *:-:* ) # input from stdin
40578 cat >$tmp/stdin
40579 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
40580 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
40581 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
40582 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
40583 * ) ac_file_in=$ac_file.in ;;
40584 esac
40585
40586 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
40587 echo "$as_me: creating $ac_file" >&6;}
40588
40589 # First look for the input files in the build tree, otherwise in the
40590 # src tree.
40591 ac_file_inputs=`IFS=:
40592 for f in $ac_file_in; do
40593 case $f in
40594 -) echo $tmp/stdin ;;
40595 [\\/$]*)
40596 # Absolute (can't be DOS-style, as IFS=:)
40597 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40598 echo "$as_me: error: cannot find input file: $f" >&2;}
40599 { (exit 1); exit 1; }; }
40600 # Do quote $f, to prevent DOS paths from being IFS'd.
40601 echo "$f";;
40602 *) # Relative
40603 if test -f "$f"; then
40604 # Build tree
40605 echo "$f"
40606 elif test -f "$srcdir/$f"; then
40607 # Source tree
40608 echo "$srcdir/$f"
40609 else
40610 # /dev/null tree
40611 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40612 echo "$as_me: error: cannot find input file: $f" >&2;}
40613 { (exit 1); exit 1; }; }
40614 fi;;
40615 esac
40616 done` || { (exit 1); exit 1; }
40617 # Remove the trailing spaces.
40618 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
40619
40620 _ACEOF
40621
40622 # Transform confdefs.h into two sed scripts, `conftest.defines' and
40623 # `conftest.undefs', that substitutes the proper values into
40624 # config.h.in to produce config.h. The first handles `#define'
40625 # templates, and the second `#undef' templates.
40626 # And first: Protect against being on the right side of a sed subst in
40627 # config.status. Protect against being in an unquoted here document
40628 # in config.status.
40629 rm -f conftest.defines conftest.undefs
40630 # Using a here document instead of a string reduces the quoting nightmare.
40631 # Putting comments in sed scripts is not portable.
40632 #
40633 # `end' is used to avoid that the second main sed command (meant for
40634 # 0-ary CPP macros) applies to n-ary macro definitions.
40635 # See the Autoconf documentation for `clear'.
40636 cat >confdef2sed.sed <<\_ACEOF
40637 s/[\\&,]/\\&/g
40638 s,[\\$`],\\&,g
40639 t clear
40640 : clear
40641 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
40642 t end
40643 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
40644 : end
40645 _ACEOF
40646 # If some macros were called several times there might be several times
40647 # the same #defines, which is useless. Nevertheless, we may not want to
40648 # sort them, since we want the *last* AC-DEFINE to be honored.
40649 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
40650 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
40651 rm -f confdef2sed.sed
40652
40653 # This sed command replaces #undef with comments. This is necessary, for
40654 # example, in the case of _POSIX_SOURCE, which is predefined and required
40655 # on some systems where configure will not decide to define it.
40656 cat >>conftest.undefs <<\_ACEOF
40657 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
40658 _ACEOF
40659
40660 # Break up conftest.defines because some shells have a limit on the size
40661 # of here documents, and old seds have small limits too (100 cmds).
40662 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
40663 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
40664 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
40665 echo ' :' >>$CONFIG_STATUS
40666 rm -f conftest.tail
40667 while grep . conftest.defines >/dev/null
40668 do
40669 # Write a limited-size here document to $tmp/defines.sed.
40670 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
40671 # Speed up: don't consider the non `#define' lines.
40672 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
40673 # Work around the forget-to-reset-the-flag bug.
40674 echo 't clr' >>$CONFIG_STATUS
40675 echo ': clr' >>$CONFIG_STATUS
40676 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
40677 echo 'CEOF
40678 sed -f $tmp/defines.sed $tmp/in >$tmp/out
40679 rm -f $tmp/in
40680 mv $tmp/out $tmp/in
40681 ' >>$CONFIG_STATUS
40682 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
40683 rm -f conftest.defines
40684 mv conftest.tail conftest.defines
40685 done
40686 rm -f conftest.defines
40687 echo ' fi # grep' >>$CONFIG_STATUS
40688 echo >>$CONFIG_STATUS
40689
40690 # Break up conftest.undefs because some shells have a limit on the size
40691 # of here documents, and old seds have small limits too (100 cmds).
40692 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
40693 rm -f conftest.tail
40694 while grep . conftest.undefs >/dev/null
40695 do
40696 # Write a limited-size here document to $tmp/undefs.sed.
40697 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
40698 # Speed up: don't consider the non `#undef'
40699 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
40700 # Work around the forget-to-reset-the-flag bug.
40701 echo 't clr' >>$CONFIG_STATUS
40702 echo ': clr' >>$CONFIG_STATUS
40703 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
40704 echo 'CEOF
40705 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
40706 rm -f $tmp/in
40707 mv $tmp/out $tmp/in
40708 ' >>$CONFIG_STATUS
40709 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
40710 rm -f conftest.undefs
40711 mv conftest.tail conftest.undefs
40712 done
40713 rm -f conftest.undefs
40714
40715 cat >>$CONFIG_STATUS <<\_ACEOF
40716 # Let's still pretend it is `configure' which instantiates (i.e., don't
40717 # use $as_me), people would be surprised to read:
40718 # /* config.h. Generated by config.status. */
40719 if test x"$ac_file" = x-; then
40720 echo "/* Generated by configure. */" >$tmp/config.h
40721 else
40722 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
40723 fi
40724 cat $tmp/in >>$tmp/config.h
40725 rm -f $tmp/in
40726 if test x"$ac_file" != x-; then
40727 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
40728 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
40729 echo "$as_me: $ac_file is unchanged" >&6;}
40730 else
40731 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
40732 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40733 X"$ac_file" : 'X\(//\)[^/]' \| \
40734 X"$ac_file" : 'X\(//\)$' \| \
40735 X"$ac_file" : 'X\(/\)' \| \
40736 . : '\(.\)' 2>/dev/null ||
40737 echo X"$ac_file" |
40738 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40739 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40740 /^X\(\/\/\)$/{ s//\1/; q; }
40741 /^X\(\/\).*/{ s//\1/; q; }
40742 s/.*/./; q'`
40743 { if $as_mkdir_p; then
40744 mkdir -p "$ac_dir"
40745 else
40746 as_dir="$ac_dir"
40747 as_dirs=
40748 while test ! -d "$as_dir"; do
40749 as_dirs="$as_dir $as_dirs"
40750 as_dir=`(dirname "$as_dir") 2>/dev/null ||
40751 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40752 X"$as_dir" : 'X\(//\)[^/]' \| \
40753 X"$as_dir" : 'X\(//\)$' \| \
40754 X"$as_dir" : 'X\(/\)' \| \
40755 . : '\(.\)' 2>/dev/null ||
40756 echo X"$as_dir" |
40757 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40758 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40759 /^X\(\/\/\)$/{ s//\1/; q; }
40760 /^X\(\/\).*/{ s//\1/; q; }
40761 s/.*/./; q'`
40762 done
40763 test ! -n "$as_dirs" || mkdir $as_dirs
40764 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40765 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40766 { (exit 1); exit 1; }; }; }
40767
40768 rm -f $ac_file
40769 mv $tmp/config.h $ac_file
40770 fi
40771 else
40772 cat $tmp/config.h
40773 rm -f $tmp/config.h
40774 fi
40775 done
40776 _ACEOF
40777 cat >>$CONFIG_STATUS <<\_ACEOF
40778
40779 #
40780 # CONFIG_COMMANDS section.
40781 #
40782 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
40783 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
40784 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
40785 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
40786 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40787 X"$ac_dest" : 'X\(//\)[^/]' \| \
40788 X"$ac_dest" : 'X\(//\)$' \| \
40789 X"$ac_dest" : 'X\(/\)' \| \
40790 . : '\(.\)' 2>/dev/null ||
40791 echo X"$ac_dest" |
40792 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40793 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40794 /^X\(\/\/\)$/{ s//\1/; q; }
40795 /^X\(\/\).*/{ s//\1/; q; }
40796 s/.*/./; q'`
40797 { if $as_mkdir_p; then
40798 mkdir -p "$ac_dir"
40799 else
40800 as_dir="$ac_dir"
40801 as_dirs=
40802 while test ! -d "$as_dir"; do
40803 as_dirs="$as_dir $as_dirs"
40804 as_dir=`(dirname "$as_dir") 2>/dev/null ||
40805 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40806 X"$as_dir" : 'X\(//\)[^/]' \| \
40807 X"$as_dir" : 'X\(//\)$' \| \
40808 X"$as_dir" : 'X\(/\)' \| \
40809 . : '\(.\)' 2>/dev/null ||
40810 echo X"$as_dir" |
40811 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40812 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40813 /^X\(\/\/\)$/{ s//\1/; q; }
40814 /^X\(\/\).*/{ s//\1/; q; }
40815 s/.*/./; q'`
40816 done
40817 test ! -n "$as_dirs" || mkdir $as_dirs
40818 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40819 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40820 { (exit 1); exit 1; }; }; }
40821
40822 ac_builddir=.
40823
40824 if test "$ac_dir" != .; then
40825 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
40826 # A "../" for each directory in $ac_dir_suffix.
40827 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
40828 else
40829 ac_dir_suffix= ac_top_builddir=
40830 fi
40831
40832 case $srcdir in
40833 .) # No --srcdir option. We are building in place.
40834 ac_srcdir=.
40835 if test -z "$ac_top_builddir"; then
40836 ac_top_srcdir=.
40837 else
40838 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
40839 fi ;;
40840 [\\/]* | ?:[\\/]* ) # Absolute path.
40841 ac_srcdir=$srcdir$ac_dir_suffix;
40842 ac_top_srcdir=$srcdir ;;
40843 *) # Relative path.
40844 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
40845 ac_top_srcdir=$ac_top_builddir$srcdir ;;
40846 esac
40847
40848 # Do not use `cd foo && pwd` to compute absolute paths, because
40849 # the directories may not exist.
40850 case `pwd` in
40851 .) ac_abs_builddir="$ac_dir";;
40852 *)
40853 case "$ac_dir" in
40854 .) ac_abs_builddir=`pwd`;;
40855 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
40856 *) ac_abs_builddir=`pwd`/"$ac_dir";;
40857 esac;;
40858 esac
40859 case $ac_abs_builddir in
40860 .) ac_abs_top_builddir=${ac_top_builddir}.;;
40861 *)
40862 case ${ac_top_builddir}. in
40863 .) ac_abs_top_builddir=$ac_abs_builddir;;
40864 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
40865 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
40866 esac;;
40867 esac
40868 case $ac_abs_builddir in
40869 .) ac_abs_srcdir=$ac_srcdir;;
40870 *)
40871 case $ac_srcdir in
40872 .) ac_abs_srcdir=$ac_abs_builddir;;
40873 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
40874 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
40875 esac;;
40876 esac
40877 case $ac_abs_builddir in
40878 .) ac_abs_top_srcdir=$ac_top_srcdir;;
40879 *)
40880 case $ac_top_srcdir in
40881 .) ac_abs_top_srcdir=$ac_abs_builddir;;
40882 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
40883 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
40884 esac;;
40885 esac
40886
40887
40888 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
40889 echo "$as_me: executing $ac_dest commands" >&6;}
40890 case $ac_dest in
40891 default )
40892 if test ! -h wx-config; then
40893 chmod +x wx-config
40894 mv wx-config wx${TOOLCHAIN_NAME}-config
40895 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
40896 fi
40897
40898 if test ! -d lib; then
40899 mkdir lib
40900 fi
40901 if test ! -d lib/wx; then
40902 mkdir lib/wx
40903 fi
40904 if test ! -d lib/wx/include; then
40905 mkdir lib/wx/include
40906 fi
40907 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
40908 mkdir lib/wx/include/${TOOLCHAIN_NAME}
40909 fi
40910 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
40911 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
40912 fi
40913 if test -f setup.h; then
40914 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
40915 fi
40916 ;;
40917 esac
40918 done
40919 _ACEOF
40920
40921 cat >>$CONFIG_STATUS <<\_ACEOF
40922
40923 { (exit 0); exit 0; }
40924 _ACEOF
40925 chmod +x $CONFIG_STATUS
40926 ac_clean_files=$ac_clean_files_save
40927
40928
40929 # configure is writing to config.log, and then calls config.status.
40930 # config.status does its own redirection, appending to config.log.
40931 # Unfortunately, on DOS this fails, as config.log is still kept open
40932 # by configure, so config.status won't be able to write to it; its
40933 # output is simply discarded. So we exec the FD to /dev/null,
40934 # effectively closing config.log, so it can be properly (re)opened and
40935 # appended to by config.status. When coming back to configure, we
40936 # need to make the FD available again.
40937 if test "$no_create" != yes; then
40938 ac_cs_success=:
40939 ac_config_status_args=
40940 test "$silent" = yes &&
40941 ac_config_status_args="$ac_config_status_args --quiet"
40942 exec 5>/dev/null
40943 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
40944 exec 5>>config.log
40945 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
40946 # would make configure fail if this is the last instruction.
40947 $ac_cs_success || { (exit 1); exit 1; }
40948 fi
40949
40950 #
40951 # CONFIG_SUBDIRS section.
40952 #
40953 if test "$no_recursion" != yes; then
40954
40955 # Remove --cache-file and --srcdir arguments so they do not pile up.
40956 ac_sub_configure_args=
40957 ac_prev=
40958 for ac_arg in $ac_configure_args; do
40959 if test -n "$ac_prev"; then
40960 ac_prev=
40961 continue
40962 fi
40963 case $ac_arg in
40964 -cache-file | --cache-file | --cache-fil | --cache-fi \
40965 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
40966 ac_prev=cache_file ;;
40967 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
40968 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
40969 | --c=*)
40970 ;;
40971 --config-cache | -C)
40972 ;;
40973 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
40974 ac_prev=srcdir ;;
40975 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
40976 ;;
40977 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
40978 ac_prev=prefix ;;
40979 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
40980 ;;
40981 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
40982 esac
40983 done
40984
40985 # Always prepend --prefix to ensure using the same prefix
40986 # in subdir configurations.
40987 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
40988
40989 ac_popdir=`pwd`
40990 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
40991
40992 # Do not complain, so a configure script can configure whichever
40993 # parts of a large source tree are present.
40994 test -d $srcdir/$ac_dir || continue
40995
40996 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
40997 echo "$as_me: configuring in $ac_dir" >&6;}
40998 { if $as_mkdir_p; then
40999 mkdir -p "$ac_dir"
41000 else
41001 as_dir="$ac_dir"
41002 as_dirs=
41003 while test ! -d "$as_dir"; do
41004 as_dirs="$as_dir $as_dirs"
41005 as_dir=`(dirname "$as_dir") 2>/dev/null ||
41006 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41007 X"$as_dir" : 'X\(//\)[^/]' \| \
41008 X"$as_dir" : 'X\(//\)$' \| \
41009 X"$as_dir" : 'X\(/\)' \| \
41010 . : '\(.\)' 2>/dev/null ||
41011 echo X"$as_dir" |
41012 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41013 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41014 /^X\(\/\/\)$/{ s//\1/; q; }
41015 /^X\(\/\).*/{ s//\1/; q; }
41016 s/.*/./; q'`
41017 done
41018 test ! -n "$as_dirs" || mkdir $as_dirs
41019 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41020 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41021 { (exit 1); exit 1; }; }; }
41022
41023 ac_builddir=.
41024
41025 if test "$ac_dir" != .; then
41026 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
41027 # A "../" for each directory in $ac_dir_suffix.
41028 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
41029 else
41030 ac_dir_suffix= ac_top_builddir=
41031 fi
41032
41033 case $srcdir in
41034 .) # No --srcdir option. We are building in place.
41035 ac_srcdir=.
41036 if test -z "$ac_top_builddir"; then
41037 ac_top_srcdir=.
41038 else
41039 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
41040 fi ;;
41041 [\\/]* | ?:[\\/]* ) # Absolute path.
41042 ac_srcdir=$srcdir$ac_dir_suffix;
41043 ac_top_srcdir=$srcdir ;;
41044 *) # Relative path.
41045 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
41046 ac_top_srcdir=$ac_top_builddir$srcdir ;;
41047 esac
41048
41049 # Do not use `cd foo && pwd` to compute absolute paths, because
41050 # the directories may not exist.
41051 case `pwd` in
41052 .) ac_abs_builddir="$ac_dir";;
41053 *)
41054 case "$ac_dir" in
41055 .) ac_abs_builddir=`pwd`;;
41056 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
41057 *) ac_abs_builddir=`pwd`/"$ac_dir";;
41058 esac;;
41059 esac
41060 case $ac_abs_builddir in
41061 .) ac_abs_top_builddir=${ac_top_builddir}.;;
41062 *)
41063 case ${ac_top_builddir}. in
41064 .) ac_abs_top_builddir=$ac_abs_builddir;;
41065 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
41066 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
41067 esac;;
41068 esac
41069 case $ac_abs_builddir in
41070 .) ac_abs_srcdir=$ac_srcdir;;
41071 *)
41072 case $ac_srcdir in
41073 .) ac_abs_srcdir=$ac_abs_builddir;;
41074 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
41075 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
41076 esac;;
41077 esac
41078 case $ac_abs_builddir in
41079 .) ac_abs_top_srcdir=$ac_top_srcdir;;
41080 *)
41081 case $ac_top_srcdir in
41082 .) ac_abs_top_srcdir=$ac_abs_builddir;;
41083 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
41084 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
41085 esac;;
41086 esac
41087
41088
41089 cd $ac_dir
41090
41091 # Check for guested configure; otherwise get Cygnus style configure.
41092 if test -f $ac_srcdir/configure.gnu; then
41093 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
41094 elif test -f $ac_srcdir/configure; then
41095 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
41096 elif test -f $ac_srcdir/configure.in; then
41097 ac_sub_configure=$ac_configure
41098 else
41099 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
41100 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
41101 ac_sub_configure=
41102 fi
41103
41104 # The recursion is here.
41105 if test -n "$ac_sub_configure"; then
41106 # Make the cache file name correct relative to the subdirectory.
41107 case $cache_file in
41108 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
41109 *) # Relative path.
41110 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
41111 esac
41112
41113 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
41114 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
41115 # The eval makes quoting arguments work.
41116 eval $ac_sub_configure $ac_sub_configure_args \
41117 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
41118 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
41119 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
41120 { (exit 1); exit 1; }; }
41121 fi
41122
41123 cd $ac_popdir
41124 done
41125 fi
41126
41127
41128 echo
41129 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
41130 echo ""
41131 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT_LOWERCASE:-base only}"
41132 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
41133
41134 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
41135 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
41136 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
41137
41138 echo " What level of wxWindows compatibility should be enabled?"
41139 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
41140 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
41141
41142 echo " Which libraries should wxWindows use?"
41143 echo " jpeg ${wxUSE_LIBJPEG-none}"
41144 echo " png ${wxUSE_LIBPNG-none}"
41145 echo " regex ${wxUSE_REGEX}"
41146 echo " tiff ${wxUSE_LIBTIFF-none}"
41147 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
41148 echo " xpm ${wxUSE_LIBXPM-none}"
41149 fi
41150 echo " zlib ${wxUSE_ZLIB}"
41151 echo " odbc ${wxUSE_ODBC}"
41152 echo " expat ${wxUSE_EXPAT}"
41153 echo " libmspack ${wxUSE_LIBMSPACK}"
41154 echo " sdl ${wxUSE_LIBSDL}"
41155
41156 echo ""
41157