]> git.saurik.com Git - wxWidgets.git/blob - configure
regenerated
[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 GCC_SEARCHES_USR_LOCAL_INCLUDE 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-gpe use GNOME PDA Environment features if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL for containers
881 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
882 --enable-debug_info create code with debugging information
883 --enable-debug_gdb create code with extra GDB debugging information
884 --enable-debug_cntxt use wxDebugContext
885 --enable-mem_tracing create code with memory tracing
886 --enable-profile create code with profiling information
887 --enable-no_rtti create code without RTTI information
888 --enable-no_exceptions create code without C++ exceptions handling
889 --enable-permissive compile code disregarding strict ANSI
890 --enable-no_deps create code without dependency information
891 --enable-compat22 enable wxWindows 2.2 compatibility
892 --disable-compat24 disable wxWindows 2.4 compatibility
893 --enable-rpath=DIR output the rpath flag from wx-config
894 --enable-intl use internationalization system
895 --enable-config use wxConfig (and derived) classes
896 --enable-protocols use wxProtocol and derived classes
897 --enable-ftp use wxFTP (requires wxProtocol
898 --enable-http use wxHTTP (requires wxProtocol
899 --enable-fileproto use wxFileProto class (requires wxProtocol
900 --enable-sockets use socket/network classes
901 --enable-ole use OLE classes (Win32 only)
902 --enable-dataobj use data object classes
903 --enable-ipc use interprocess communication (wxSocket etc.)
904 --enable-apple_ieee use the Apple IEEE codec
905 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
906 --enable-cmdline use wxCmdLineParser class
907 --enable-datetime use wxDateTime class
908 --enable-dialupman use dialup network classes
909 --enable-dynlib use wxLibrary class for DLL loading
910 --enable-dynamicloader use (new) wxDynamicLibrary class
911 --enable-exceptions build exception-safe library
912 --enable-ffile use wxFFile class
913 --enable-file use wxFile class
914 --enable-filesystem use virtual file systems classes
915 --enable-fontmap use font encodings conversion classes
916 --enable-fs_inet use virtual HTTP/FTP filesystems
917 --enable-fs_zip use virtual ZIP filesystems
918 --enable-geometry use geometry class
919 --enable-log use logging system
920 --enable-longlong use wxLongLong class
921 --enable-mimetype use wxMimeTypesManager
922 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
923 --enable-snglinst use wxSingleInstanceChecker class
924 --enable-streams use wxStream etc classes
925 --enable-std_iostreams use standard C++ stream classes
926 --enable-stopwatch use wxStopWatch class
927 --enable-sysoptions use wxSystemOptions
928 --enable-textbuf use wxTextBuffer class
929 --enable-textfile use wxTextFile class
930 --enable-timer use wxTimer class
931 --enable-unicode compile wxString with Unicode support
932 --enable-sound use wxSound class
933 --enable-wxprintfv use wxWindows implementation of vprintf()
934 --enable-zipstream use wxZipInputStream
935 --enable-gzstream use wxGzipInputStream
936 --enable-url use wxURL class
937 --enable-protocol use wxProtocol class
938 --enable-protocol-http HTTP support in wxProtocol
939 --enable-protocol-ftp FTP support in wxProtocol
940 --enable-protocol-file FILE support in wxProtocol
941 --enable-threads use threads
942 --enable-docview use document view architecture
943 --enable-help use help subsystem
944 --enable-mshtmlhelp use MS HTML Help (win32)
945 --enable-html use wxHTML sub-library
946 --enable-htmlhelp use wxHTML-based help
947 --enable-constraints use layout-constraints system
948 --enable-printarch use printing architecture
949 --enable-mdi use multiple document interface architecture
950 --enable-loggui use standard GUI logger
951 --enable-logwin use wxLogWindow
952 --enable-logdialog use wxLogDialog
953 --enable-postscript use wxPostscriptDC device context (default for gtk+)
954 --enable-prologio not available; see contrib
955 --enable-resources not available; see contrib
956 --enable-clipboard use wxClipboard class
957 --enable-dnd use Drag'n'Drop classes
958 --enable-metafile use win32 metafiles
959 --enable-controls use all usual controls
960 --enable-accel use accelerators
961 --enable-button use wxButton class
962 --enable-bmpbutton use wxBitmapButton class
963 --enable-calendar use wxCalendarCtrl class
964 --enable-caret use wxCaret class
965 --enable-checkbox use wxCheckBox class
966 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
967 --enable-choice use wxChoice class
968 --enable-combobox use wxComboBox class
969 --enable-display use wxDisplay class
970 --enable-gauge use wxGauge class
971 --enable-grid use wxGrid class
972 --enable-imaglist use wxImageList class
973 --enable-listbook use wxListbook class
974 --enable-listbox use wxListBox class
975 --enable-listctrl use wxListCtrl class
976 --enable-notebook use wxNotebook class
977 --enable-radiobox use wxRadioBox class
978 --enable-radiobtn use wxRadioButton class
979 --enable-sash use wxSashWindow class
980 --enable-scrollbar use wxScrollBar class and scrollable windows
981 --enable-slider use wxSlider class
982 --enable-spinbtn use wxSpinButton class
983 --enable-spinctrl use wxSpinCtrl class
984 --enable-splitter use wxSplitterWindow class
985 --enable-statbmp use wxStaticBitmap class
986 --enable-statbox use wxStaticBox class
987 --enable-statline use wxStaticLine class
988 --enable-stattext use wxStaticText class
989 --enable-statusbar use wxStatusBar class
990 --enable-tabdialog use wxTabControl class
991 --enable-textctrl use wxTextCtrl class
992 --enable-togglebtn use wxToggleButton class
993 --enable-toolbar use wxToolBar class
994 --enable-tbarnative use native wxToolBar class
995 --enable-tbarsmpl use wxToolBarSimple class
996 --enable-treectrl use wxTreeCtrl class
997 --enable-tipwindow use wxTipWindow class
998 --enable-popupwin use wxPopUpWindow class
999 --enable-commondlg use all common dialogs
1000 --enable-choicedlg use wxChoiceDialog
1001 --enable-coldlg use wxColourDialog
1002 --enable-filedlg use wxFileDialog
1003 --enable-finddlg use wxFindReplaceDialog
1004 --enable-fontdlg use wxFontDialog
1005 --enable-dirdlg use wxDirDialog
1006 --enable-msgdlg use wxMessageDialog
1007 --enable-numberdlg use wxNumberEntryDialog
1008 --enable-splash use wxSplashScreen
1009 --enable-textdlg use wxTextDialog
1010 --enable-tipdlg use startup tips
1011 --enable-progressdlg use wxProgressDialog
1012 --enable-wizarddlg use wxWizard
1013 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1014 --enable-miniframe use wxMiniFrame class
1015 --enable-tooltips use wxToolTip class
1016 --enable-splines use spline drawing code
1017 --enable-validators use wxValidator and derived classes
1018 --enable-busyinfo use wxBusyInfo
1019 --enable-joystick use wxJoystick (Linux only)
1020 --enable-metafiles use wxMetaFile (Windows only)
1021 --enable-dragimage use wxDragImage
1022 --enable-accessibility enable accessibility support
1023 --enable-palette use wxPalette class
1024 --enable-image use wxImage class
1025 --enable-gif use gif images (GIF file format)
1026 --enable-pcx use pcx images (PCX file format)
1027 --enable-iff use iff images (IFF file format)
1028 --enable-pnm use pnm images (PNM file format)
1029 --enable-xpm use xpm images (XPM file format)
1030 --enable-icocur use Windows ICO and CUR formats
1031 --enable-official_build official build of wxWindows (win32 DLL only)
1032 --enable-vendor=VENDOR vendor name (win32 DLL only)
1033 --disable-largefile omit support for large files
1034 --disable-gtktest do not try to compile and run a test GTK+ program
1035 --disable-gtktest Do not try to compile and run a test GTK program
1036 --disable-sdltest Do not try to compile and run a test SDL program
1037 --disable-precomp-headers don't use precompiled headers even if compiler can
1038
1039 Optional Packages:
1040 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1041 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1042 --with-gtk use GTK+
1043 --with-motif use Motif/Lesstif
1044 --with-mac use Mac OS X
1045 --with-cocoa use Cocoa
1046 --with-wine use Wine
1047 --with-msw use MS-Windows
1048 --with-pm use OS/2 Presentation Manager
1049 --with-mgl use SciTech MGL
1050 --with-microwin use MicroWindows
1051 --with-x11 use X11
1052 --with-libpng use libpng (PNG image format)
1053 --with-libjpeg use libjpeg (JPEG file format)
1054 --with-libtiff use libtiff (TIFF file format)
1055 --with-libxpm use libxpm (XPM file format)
1056 --with-libmspack use libmspack (CHM help files loading)
1057 --with-sdl use SDL for audio on Unix
1058 --with-opengl use OpenGL (or Mesa)
1059 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1060 --with-regex enable support for wxRegEx class
1061 --with-zlib use zlib for LZW compression
1062 --with-odbc use the IODBC and wxODBC classes
1063 --with-expat enable XML support using expat parser
1064 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1065 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1066 --with-x use the X Window System
1067 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1068 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1069 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1070
1071 Some influential environment variables:
1072 CC C compiler command
1073 CFLAGS C compiler flags
1074 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1075 nonstandard directory <lib dir>
1076 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1077 headers in a nonstandard directory <include dir>
1078 CPP C preprocessor
1079 CXX C++ compiler command
1080 CXXFLAGS C++ compiler flags
1081 CXXCPP C++ preprocessor
1082
1083 Use these variables to override the choices made by `configure' or to help
1084 it to find libraries and programs with nonstandard names/locations.
1085
1086 Report bugs to <wx-dev@lists.wxwindows.org>.
1087 _ACEOF
1088 fi
1089
1090 if test "$ac_init_help" = "recursive"; then
1091 # If there are subdirs, report their specific --help.
1092 ac_popdir=`pwd`
1093 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1094 test -d $ac_dir || continue
1095 ac_builddir=.
1096
1097 if test "$ac_dir" != .; then
1098 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1099 # A "../" for each directory in $ac_dir_suffix.
1100 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1101 else
1102 ac_dir_suffix= ac_top_builddir=
1103 fi
1104
1105 case $srcdir in
1106 .) # No --srcdir option. We are building in place.
1107 ac_srcdir=.
1108 if test -z "$ac_top_builddir"; then
1109 ac_top_srcdir=.
1110 else
1111 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1112 fi ;;
1113 [\\/]* | ?:[\\/]* ) # Absolute path.
1114 ac_srcdir=$srcdir$ac_dir_suffix;
1115 ac_top_srcdir=$srcdir ;;
1116 *) # Relative path.
1117 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1118 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1119 esac
1120
1121 # Do not use `cd foo && pwd` to compute absolute paths, because
1122 # the directories may not exist.
1123 case `pwd` in
1124 .) ac_abs_builddir="$ac_dir";;
1125 *)
1126 case "$ac_dir" in
1127 .) ac_abs_builddir=`pwd`;;
1128 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1129 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1130 esac;;
1131 esac
1132 case $ac_abs_builddir in
1133 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1134 *)
1135 case ${ac_top_builddir}. in
1136 .) ac_abs_top_builddir=$ac_abs_builddir;;
1137 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1138 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1139 esac;;
1140 esac
1141 case $ac_abs_builddir in
1142 .) ac_abs_srcdir=$ac_srcdir;;
1143 *)
1144 case $ac_srcdir in
1145 .) ac_abs_srcdir=$ac_abs_builddir;;
1146 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1147 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1148 esac;;
1149 esac
1150 case $ac_abs_builddir in
1151 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1152 *)
1153 case $ac_top_srcdir in
1154 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1155 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1156 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1157 esac;;
1158 esac
1159
1160 cd $ac_dir
1161 # Check for guested configure; otherwise get Cygnus style configure.
1162 if test -f $ac_srcdir/configure.gnu; then
1163 echo
1164 $SHELL $ac_srcdir/configure.gnu --help=recursive
1165 elif test -f $ac_srcdir/configure; then
1166 echo
1167 $SHELL $ac_srcdir/configure --help=recursive
1168 elif test -f $ac_srcdir/configure.ac ||
1169 test -f $ac_srcdir/configure.in; then
1170 echo
1171 $ac_configure --help
1172 else
1173 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1174 fi
1175 cd $ac_popdir
1176 done
1177 fi
1178
1179 test -n "$ac_init_help" && exit 0
1180 if $ac_init_version; then
1181 cat <<\_ACEOF
1182 wxWindows configure 2.5.1
1183 generated by GNU Autoconf 2.59
1184
1185 Copyright (C) 2003 Free Software Foundation, Inc.
1186 This configure script is free software; the Free Software Foundation
1187 gives unlimited permission to copy, distribute and modify it.
1188 _ACEOF
1189 exit 0
1190 fi
1191 exec 5>config.log
1192 cat >&5 <<_ACEOF
1193 This file contains any messages produced by compilers while
1194 running configure, to aid debugging if configure makes a mistake.
1195
1196 It was created by wxWindows $as_me 2.5.1, which was
1197 generated by GNU Autoconf 2.59. Invocation command line was
1198
1199 $ $0 $@
1200
1201 _ACEOF
1202 {
1203 cat <<_ASUNAME
1204 ## --------- ##
1205 ## Platform. ##
1206 ## --------- ##
1207
1208 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1209 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1210 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1211 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1212 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1213
1214 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1215 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1216
1217 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1218 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1219 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1220 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1221 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1222 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1223 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1224
1225 _ASUNAME
1226
1227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1228 for as_dir in $PATH
1229 do
1230 IFS=$as_save_IFS
1231 test -z "$as_dir" && as_dir=.
1232 echo "PATH: $as_dir"
1233 done
1234
1235 } >&5
1236
1237 cat >&5 <<_ACEOF
1238
1239
1240 ## ----------- ##
1241 ## Core tests. ##
1242 ## ----------- ##
1243
1244 _ACEOF
1245
1246
1247 # Keep a trace of the command line.
1248 # Strip out --no-create and --no-recursion so they do not pile up.
1249 # Strip out --silent because we don't want to record it for future runs.
1250 # Also quote any args containing shell meta-characters.
1251 # Make two passes to allow for proper duplicate-argument suppression.
1252 ac_configure_args=
1253 ac_configure_args0=
1254 ac_configure_args1=
1255 ac_sep=
1256 ac_must_keep_next=false
1257 for ac_pass in 1 2
1258 do
1259 for ac_arg
1260 do
1261 case $ac_arg in
1262 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1263 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1264 | -silent | --silent | --silen | --sile | --sil)
1265 continue ;;
1266 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1267 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1268 esac
1269 case $ac_pass in
1270 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1271 2)
1272 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1273 if test $ac_must_keep_next = true; then
1274 ac_must_keep_next=false # Got value, back to normal.
1275 else
1276 case $ac_arg in
1277 *=* | --config-cache | -C | -disable-* | --disable-* \
1278 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1279 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1280 | -with-* | --with-* | -without-* | --without-* | --x)
1281 case "$ac_configure_args0 " in
1282 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1283 esac
1284 ;;
1285 -* ) ac_must_keep_next=true ;;
1286 esac
1287 fi
1288 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1289 # Get rid of the leading space.
1290 ac_sep=" "
1291 ;;
1292 esac
1293 done
1294 done
1295 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1296 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1297
1298 # When interrupted or exit'd, cleanup temporary files, and complete
1299 # config.log. We remove comments because anyway the quotes in there
1300 # would cause problems or look ugly.
1301 # WARNING: Be sure not to use single quotes in there, as some shells,
1302 # such as our DU 5.0 friend, will then `close' the trap.
1303 trap 'exit_status=$?
1304 # Save into config.log some information that might help in debugging.
1305 {
1306 echo
1307
1308 cat <<\_ASBOX
1309 ## ---------------- ##
1310 ## Cache variables. ##
1311 ## ---------------- ##
1312 _ASBOX
1313 echo
1314 # The following way of writing the cache mishandles newlines in values,
1315 {
1316 (set) 2>&1 |
1317 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1318 *ac_space=\ *)
1319 sed -n \
1320 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1321 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1322 ;;
1323 *)
1324 sed -n \
1325 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1326 ;;
1327 esac;
1328 }
1329 echo
1330
1331 cat <<\_ASBOX
1332 ## ----------------- ##
1333 ## Output variables. ##
1334 ## ----------------- ##
1335 _ASBOX
1336 echo
1337 for ac_var in $ac_subst_vars
1338 do
1339 eval ac_val=$`echo $ac_var`
1340 echo "$ac_var='"'"'$ac_val'"'"'"
1341 done | sort
1342 echo
1343
1344 if test -n "$ac_subst_files"; then
1345 cat <<\_ASBOX
1346 ## ------------- ##
1347 ## Output files. ##
1348 ## ------------- ##
1349 _ASBOX
1350 echo
1351 for ac_var in $ac_subst_files
1352 do
1353 eval ac_val=$`echo $ac_var`
1354 echo "$ac_var='"'"'$ac_val'"'"'"
1355 done | sort
1356 echo
1357 fi
1358
1359 if test -s confdefs.h; then
1360 cat <<\_ASBOX
1361 ## ----------- ##
1362 ## confdefs.h. ##
1363 ## ----------- ##
1364 _ASBOX
1365 echo
1366 sed "/^$/d" confdefs.h | sort
1367 echo
1368 fi
1369 test "$ac_signal" != 0 &&
1370 echo "$as_me: caught signal $ac_signal"
1371 echo "$as_me: exit $exit_status"
1372 } >&5
1373 rm -f core *.core &&
1374 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1375 exit $exit_status
1376 ' 0
1377 for ac_signal in 1 2 13 15; do
1378 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1379 done
1380 ac_signal=0
1381
1382 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1383 rm -rf conftest* confdefs.h
1384 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1385 echo >confdefs.h
1386
1387 # Predefined preprocessor variables.
1388
1389 cat >>confdefs.h <<_ACEOF
1390 #define PACKAGE_NAME "$PACKAGE_NAME"
1391 _ACEOF
1392
1393
1394 cat >>confdefs.h <<_ACEOF
1395 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1396 _ACEOF
1397
1398
1399 cat >>confdefs.h <<_ACEOF
1400 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1401 _ACEOF
1402
1403
1404 cat >>confdefs.h <<_ACEOF
1405 #define PACKAGE_STRING "$PACKAGE_STRING"
1406 _ACEOF
1407
1408
1409 cat >>confdefs.h <<_ACEOF
1410 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1411 _ACEOF
1412
1413
1414 # Let the site file select an alternate cache file if it wants to.
1415 # Prefer explicitly selected file to automatically selected ones.
1416 if test -z "$CONFIG_SITE"; then
1417 if test "x$prefix" != xNONE; then
1418 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1419 else
1420 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1421 fi
1422 fi
1423 for ac_site_file in $CONFIG_SITE; do
1424 if test -r "$ac_site_file"; then
1425 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1426 echo "$as_me: loading site script $ac_site_file" >&6;}
1427 sed 's/^/| /' "$ac_site_file" >&5
1428 . "$ac_site_file"
1429 fi
1430 done
1431
1432 if test -r "$cache_file"; then
1433 # Some versions of bash will fail to source /dev/null (special
1434 # files actually), so we avoid doing that.
1435 if test -f "$cache_file"; then
1436 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1437 echo "$as_me: loading cache $cache_file" >&6;}
1438 case $cache_file in
1439 [\\/]* | ?:[\\/]* ) . $cache_file;;
1440 *) . ./$cache_file;;
1441 esac
1442 fi
1443 else
1444 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1445 echo "$as_me: creating cache $cache_file" >&6;}
1446 >$cache_file
1447 fi
1448
1449 # Check that the precious variables saved in the cache have kept the same
1450 # value.
1451 ac_cache_corrupted=false
1452 for ac_var in `(set) 2>&1 |
1453 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1454 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1455 eval ac_new_set=\$ac_env_${ac_var}_set
1456 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1457 eval ac_new_val="\$ac_env_${ac_var}_value"
1458 case $ac_old_set,$ac_new_set in
1459 set,)
1460 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1461 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1462 ac_cache_corrupted=: ;;
1463 ,set)
1464 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1465 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1466 ac_cache_corrupted=: ;;
1467 ,);;
1468 *)
1469 if test "x$ac_old_val" != "x$ac_new_val"; then
1470 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1471 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1472 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1473 echo "$as_me: former value: $ac_old_val" >&2;}
1474 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1475 echo "$as_me: current value: $ac_new_val" >&2;}
1476 ac_cache_corrupted=:
1477 fi;;
1478 esac
1479 # Pass precious variables to config.status.
1480 if test "$ac_new_set" = set; then
1481 case $ac_new_val in
1482 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1483 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1484 *) ac_arg=$ac_var=$ac_new_val ;;
1485 esac
1486 case " $ac_configure_args " in
1487 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1488 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1489 esac
1490 fi
1491 done
1492 if $ac_cache_corrupted; then
1493 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1494 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1495 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1496 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1497 { (exit 1); exit 1; }; }
1498 fi
1499
1500 ac_ext=c
1501 ac_cpp='$CPP $CPPFLAGS'
1502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
1535 ac_aux_dir=
1536 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1537 if test -f $ac_dir/install-sh; then
1538 ac_aux_dir=$ac_dir
1539 ac_install_sh="$ac_aux_dir/install-sh -c"
1540 break
1541 elif test -f $ac_dir/install.sh; then
1542 ac_aux_dir=$ac_dir
1543 ac_install_sh="$ac_aux_dir/install.sh -c"
1544 break
1545 elif test -f $ac_dir/shtool; then
1546 ac_aux_dir=$ac_dir
1547 ac_install_sh="$ac_aux_dir/shtool install -c"
1548 break
1549 fi
1550 done
1551 if test -z "$ac_aux_dir"; then
1552 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1553 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1554 { (exit 1); exit 1; }; }
1555 fi
1556 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1557 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1558 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1559
1560 # Make sure we can run config.sub.
1561 $ac_config_sub sun4 >/dev/null 2>&1 ||
1562 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1563 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1564 { (exit 1); exit 1; }; }
1565
1566 echo "$as_me:$LINENO: checking build system type" >&5
1567 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1568 if test "${ac_cv_build+set}" = set; then
1569 echo $ECHO_N "(cached) $ECHO_C" >&6
1570 else
1571 ac_cv_build_alias=$build_alias
1572 test -z "$ac_cv_build_alias" &&
1573 ac_cv_build_alias=`$ac_config_guess`
1574 test -z "$ac_cv_build_alias" &&
1575 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1576 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1577 { (exit 1); exit 1; }; }
1578 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1579 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1580 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1581 { (exit 1); exit 1; }; }
1582
1583 fi
1584 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1585 echo "${ECHO_T}$ac_cv_build" >&6
1586 build=$ac_cv_build
1587 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1588 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1589 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1590
1591
1592 echo "$as_me:$LINENO: checking host system type" >&5
1593 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1594 if test "${ac_cv_host+set}" = set; then
1595 echo $ECHO_N "(cached) $ECHO_C" >&6
1596 else
1597 ac_cv_host_alias=$host_alias
1598 test -z "$ac_cv_host_alias" &&
1599 ac_cv_host_alias=$ac_cv_build_alias
1600 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1601 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1602 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1603 { (exit 1); exit 1; }; }
1604
1605 fi
1606 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1607 echo "${ECHO_T}$ac_cv_host" >&6
1608 host=$ac_cv_host
1609 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1610 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1611 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1612
1613
1614 echo "$as_me:$LINENO: checking target system type" >&5
1615 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1616 if test "${ac_cv_target+set}" = set; then
1617 echo $ECHO_N "(cached) $ECHO_C" >&6
1618 else
1619 ac_cv_target_alias=$target_alias
1620 test "x$ac_cv_target_alias" = "x" &&
1621 ac_cv_target_alias=$ac_cv_host_alias
1622 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1623 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1624 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1625 { (exit 1); exit 1; }; }
1626
1627 fi
1628 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1629 echo "${ECHO_T}$ac_cv_target" >&6
1630 target=$ac_cv_target
1631 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1632 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1633 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1634
1635
1636 # The aliases save the names the user supplied, while $host etc.
1637 # will get canonicalized.
1638 test -n "$target_alias" &&
1639 test "$program_prefix$program_suffix$program_transform_name" = \
1640 NONENONEs,x,x, &&
1641 program_prefix=${target_alias}-
1642
1643
1644
1645 WX_MAJOR_VERSION_NUMBER=2
1646 WX_MINOR_VERSION_NUMBER=5
1647 WX_RELEASE_NUMBER=1
1648
1649 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1650 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1651
1652 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1653
1654 WX_CURRENT=1
1655 WX_REVISION=0
1656 WX_AGE=0
1657
1658
1659
1660 USE_UNIX=1
1661 USE_OS2=0
1662 USE_WIN32=0
1663 USE_DOS=0
1664 USE_BEOS=0
1665 USE_MAC=0
1666
1667 USE_AIX=
1668 USE_BSD= USE_DARWIN= USE_FREEBSD=
1669 USE_GNU= USE_HPUX=
1670 USE_LINUX=
1671 USE_NETBSD=
1672 USE_OPENBSD=
1673 USE_OSF= USE_SGI=
1674 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1675 USE_ULTRIX=
1676 USE_UNIXWARE=
1677
1678 USE_ALPHA=
1679
1680 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1681
1682 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1683
1684 DEFAULT_wxUSE_COCOA=0
1685 DEFAULT_wxUSE_GTK=0
1686 DEFAULT_wxUSE_MAC=0
1687 DEFAULT_wxUSE_MGL=0
1688 DEFAULT_wxUSE_MICROWIN=0
1689 DEFAULT_wxUSE_MOTIF=0
1690 DEFAULT_wxUSE_MSW=0
1691 DEFAULT_wxUSE_PM=0
1692 DEFAULT_wxUSE_X11=0
1693
1694 DEFAULT_DEFAULT_wxUSE_COCOA=0
1695 DEFAULT_DEFAULT_wxUSE_GTK=0
1696 DEFAULT_DEFAULT_wxUSE_MAC=0
1697 DEFAULT_DEFAULT_wxUSE_MGL=0
1698 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1699 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1700 DEFAULT_DEFAULT_wxUSE_MSW=0
1701 DEFAULT_DEFAULT_wxUSE_PM=0
1702 DEFAULT_DEFAULT_wxUSE_X11=0
1703
1704 PROGRAM_EXT=
1705 SO_SUFFIX=so
1706 SAMPLES_RPATH_FLAG=
1707 SAMPLES_RPATH_POSTLINK=
1708
1709 case "${host}" in
1710 *-hp-hpux* )
1711 USE_HPUX=1
1712 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1713 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1714 SO_SUFFIX=sl
1715 cat >>confdefs.h <<\_ACEOF
1716 #define __HPUX__ 1
1717 _ACEOF
1718
1719 ;;
1720 *-*-linux* )
1721 USE_LINUX=1
1722 cat >>confdefs.h <<\_ACEOF
1723 #define __LINUX__ 1
1724 _ACEOF
1725
1726 TMP=`uname -m`
1727 if test "x$TMP" = "xalpha"; then
1728 USE_ALPHA=1
1729 cat >>confdefs.h <<\_ACEOF
1730 #define __ALPHA__ 1
1731 _ACEOF
1732
1733 fi
1734 DEFAULT_DEFAULT_wxUSE_GTK=1
1735 ;;
1736 *-*-gnu* )
1737 USE_GNU=1
1738 cat >>confdefs.h <<\_ACEOF
1739 #define __GNU__ 1
1740 _ACEOF
1741
1742 TMP=`uname -m`
1743 if test "x$TMP" = "xalpha"; then
1744 USE_ALPHA=1
1745 cat >>confdefs.h <<\_ACEOF
1746 #define __ALPHA__ 1
1747 _ACEOF
1748
1749 fi
1750 DEFAULT_DEFAULT_wxUSE_GTK=1
1751 ;;
1752 *-*-irix5* | *-*-irix6* )
1753 USE_SGI=1
1754 USE_SVR4=1
1755 cat >>confdefs.h <<\_ACEOF
1756 #define __SGI__ 1
1757 _ACEOF
1758
1759 cat >>confdefs.h <<\_ACEOF
1760 #define __SVR4__ 1
1761 _ACEOF
1762
1763 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1764 ;;
1765 *-*-solaris2* )
1766 USE_SUN=1
1767 USE_SOLARIS=1
1768 USE_SVR4=1
1769 cat >>confdefs.h <<\_ACEOF
1770 #define __SUN__ 1
1771 _ACEOF
1772
1773 cat >>confdefs.h <<\_ACEOF
1774 #define __SOLARIS__ 1
1775 _ACEOF
1776
1777 cat >>confdefs.h <<\_ACEOF
1778 #define __SVR4__ 1
1779 _ACEOF
1780
1781 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1782 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1783 ;;
1784 *-*-sunos4* )
1785 USE_SUN=1
1786 USE_SUNOS=1
1787 USE_BSD=1
1788 cat >>confdefs.h <<\_ACEOF
1789 #define __SUN__ 1
1790 _ACEOF
1791
1792 cat >>confdefs.h <<\_ACEOF
1793 #define __SUNOS__ 1
1794 _ACEOF
1795
1796 cat >>confdefs.h <<\_ACEOF
1797 #define __BSD__ 1
1798 _ACEOF
1799
1800 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1801 ;;
1802 *-*-freebsd*)
1803 USE_BSD=1
1804 USE_FREEBSD=1
1805 cat >>confdefs.h <<\_ACEOF
1806 #define __FREEBSD__ 1
1807 _ACEOF
1808
1809 cat >>confdefs.h <<\_ACEOF
1810 #define __BSD__ 1
1811 _ACEOF
1812
1813 DEFAULT_DEFAULT_wxUSE_GTK=1
1814 ;;
1815 *-*-openbsd*)
1816 USE_BSD=1
1817 USE_OPENBSD=1
1818 cat >>confdefs.h <<\_ACEOF
1819 #define __OPENBSD__ 1
1820 _ACEOF
1821
1822 cat >>confdefs.h <<\_ACEOF
1823 #define __BSD__ 1
1824 _ACEOF
1825
1826 DEFAULT_DEFAULT_wxUSE_GTK=1
1827 ;;
1828 *-*-netbsd*)
1829 USE_BSD=1
1830 USE_NETBSD=1
1831 cat >>confdefs.h <<\_ACEOF
1832 #define __NETBSD__ 1
1833 _ACEOF
1834
1835 cat >>confdefs.h <<\_ACEOF
1836 #define __BSD__ 1
1837 _ACEOF
1838
1839 DEFAULT_DEFAULT_wxUSE_GTK=1
1840 ;;
1841 *-*-osf* )
1842 USE_ALPHA=1
1843 USE_OSF=1
1844 cat >>confdefs.h <<\_ACEOF
1845 #define __ALPHA__ 1
1846 _ACEOF
1847
1848 cat >>confdefs.h <<\_ACEOF
1849 #define __OSF__ 1
1850 _ACEOF
1851
1852 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1853 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1854 ;;
1855 *-*-dgux5* )
1856 USE_ALPHA=1
1857 USE_SVR4=1
1858 cat >>confdefs.h <<\_ACEOF
1859 #define __ALPHA__ 1
1860 _ACEOF
1861
1862 cat >>confdefs.h <<\_ACEOF
1863 #define __SVR4__ 1
1864 _ACEOF
1865
1866 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1867 ;;
1868 *-*-sysv5* )
1869 USE_SYSV=1
1870 USE_SVR4=1
1871 cat >>confdefs.h <<\_ACEOF
1872 #define __SYSV__ 1
1873 _ACEOF
1874
1875 cat >>confdefs.h <<\_ACEOF
1876 #define __SVR4__ 1
1877 _ACEOF
1878
1879 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1880 ;;
1881 *-*-aix* )
1882 USE_AIX=1
1883 USE_SYSV=1
1884 USE_SVR4=1
1885 SO_SUFFIX=a
1886 cat >>confdefs.h <<\_ACEOF
1887 #define __AIX__ 1
1888 _ACEOF
1889
1890 cat >>confdefs.h <<\_ACEOF
1891 #define __SYSV__ 1
1892 _ACEOF
1893
1894 cat >>confdefs.h <<\_ACEOF
1895 #define __SVR4__ 1
1896 _ACEOF
1897
1898 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1899 ;;
1900
1901 *-*-*UnixWare*)
1902 USE_SYSV=1
1903 USE_SVR4=1
1904 USE_UNIXWARE=1
1905 cat >>confdefs.h <<\_ACEOF
1906 #define __UNIXWARE__ 1
1907 _ACEOF
1908
1909 ;;
1910
1911 *-*-cygwin* | *-*-mingw32* )
1912 SO_SUFFIX=dll
1913 PROGRAM_EXT=".exe"
1914 RESCOMP=windres
1915 DEFAULT_DEFAULT_wxUSE_MSW=1
1916 ;;
1917
1918 *-pc-msdosdjgpp )
1919 USE_UNIX=0
1920 USE_DOS=1
1921 cat >>confdefs.h <<\_ACEOF
1922 #define __DOS__ 1
1923 _ACEOF
1924
1925 PROGRAM_EXT=".exe"
1926 DEFAULT_DEFAULT_wxUSE_MGL=1
1927 LIBS="$LIBS -lstdc++"
1928 ;;
1929
1930 *-pc-os2_emx | *-pc-os2-emx )
1931 cat >>confdefs.h <<\_ACEOF
1932 #define __EMX__ 1
1933 _ACEOF
1934
1935 USE_OS2=1
1936 cat >>confdefs.h <<\_ACEOF
1937 #define __OS2__ 1
1938 _ACEOF
1939
1940 PROGRAM_EXT=".exe"
1941 DEFAULT_DEFAULT_wxUSE_PM=1
1942 CXX=gcc
1943 LDFLAGS="$LDFLAGS -Zcrtdll"
1944 ac_executable_extensions=".exe"
1945 export ac_executable_extensions
1946 ac_save_IFS="$IFS"
1947 IFS='\\'
1948 ac_TEMP_PATH=
1949 for ac_dir in $PATH; do
1950 IFS=$ac_save_IFS
1951 if test -z "$ac_TEMP_PATH"; then
1952 ac_TEMP_PATH="$ac_dir"
1953 else
1954 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1955 fi
1956 done
1957 export PATH="$ac_TEMP_PATH"
1958 unset ac_TEMP_PATH
1959 ;;
1960
1961 powerpc-*-darwin* )
1962 USE_BSD=1
1963 USE_DARWIN=1
1964 SO_SUFFIX=dylib
1965 cat >>confdefs.h <<\_ACEOF
1966 #define __BSD__ 1
1967 _ACEOF
1968
1969 cat >>confdefs.h <<\_ACEOF
1970 #define __DARWIN__ 1
1971 _ACEOF
1972
1973 cat >>confdefs.h <<\_ACEOF
1974 #define __POWERPC__ 1
1975 _ACEOF
1976
1977 cat >>confdefs.h <<\_ACEOF
1978 #define TARGET_CARBON 1
1979 _ACEOF
1980
1981 DEFAULT_DEFAULT_wxUSE_MAC=1
1982 ;;
1983
1984 *-*-beos* )
1985 USE_BEOS=1
1986 cat >>confdefs.h <<\_ACEOF
1987 #define __BEOS__ 1
1988 _ACEOF
1989
1990 ;;
1991
1992 *)
1993 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1994 echo "$as_me: error: unknown system type ${host}." >&2;}
1995 { (exit 1); exit 1; }; }
1996 esac
1997
1998
1999
2000
2001 wx_arg_cache_file="configarg.cache"
2002 echo "loading argument cache $wx_arg_cache_file"
2003 rm -f ${wx_arg_cache_file}.tmp
2004 touch ${wx_arg_cache_file}.tmp
2005 touch ${wx_arg_cache_file}
2006
2007
2008 DEBUG_CONFIGURE=0
2009 if test $DEBUG_CONFIGURE = 1; then
2010 DEFAULT_wxUSE_UNIVERSAL=no
2011 DEFAULT_wxUSE_STL=no
2012
2013 DEFAULT_wxUSE_NANOX=no
2014
2015 DEFAULT_wxUSE_THREADS=yes
2016
2017 DEFAULT_wxUSE_SHARED=yes
2018 DEFAULT_wxUSE_OPTIMISE=no
2019 DEFAULT_wxUSE_PROFILE=no
2020 DEFAULT_wxUSE_NO_DEPS=no
2021 DEFAULT_wxUSE_NO_RTTI=no
2022 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2023 DEFAULT_wxUSE_PERMISSIVE=no
2024 DEFAULT_wxUSE_DEBUG_FLAG=yes
2025 DEFAULT_wxUSE_DEBUG_INFO=yes
2026 DEFAULT_wxUSE_DEBUG_GDB=yes
2027 DEFAULT_wxUSE_MEM_TRACING=no
2028 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2029 DEFAULT_wxUSE_DMALLOC=no
2030 DEFAULT_wxUSE_APPLE_IEEE=no
2031
2032 DEFAULT_wxUSE_EXCEPTIONS=no
2033 DEFAULT_wxUSE_LOG=yes
2034 DEFAULT_wxUSE_LOGWINDOW=no
2035 DEFAULT_wxUSE_LOGGUI=no
2036 DEFAULT_wxUSE_LOGDIALOG=no
2037
2038 DEFAULT_wxUSE_GUI=yes
2039 DEFAULT_wxUSE_CONTROLS=no
2040
2041 DEFAULT_wxUSE_REGEX=no
2042 DEFAULT_wxUSE_XML=no
2043 DEFAULT_wxUSE_EXPAT=no
2044 DEFAULT_wxUSE_ZLIB=no
2045 DEFAULT_wxUSE_LIBPNG=no
2046 DEFAULT_wxUSE_LIBJPEG=no
2047 DEFAULT_wxUSE_LIBTIFF=no
2048 DEFAULT_wxUSE_LIBXPM=no
2049 DEFAULT_wxUSE_LIBMSPACK=no
2050 DEFAULT_wxUSE_LIBSDL=no
2051 DEFAULT_wxUSE_ODBC=no
2052 DEFAULT_wxUSE_OPENGL=no
2053
2054 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2055 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2056 DEFAULT_wxUSE_STD_IOSTREAM=no
2057 DEFAULT_wxUSE_CMDLINE_PARSER=no
2058 DEFAULT_wxUSE_DATETIME=no
2059 DEFAULT_wxUSE_TIMER=no
2060 DEFAULT_wxUSE_STOPWATCH=no
2061 DEFAULT_wxUSE_FILE=no
2062 DEFAULT_wxUSE_FFILE=no
2063 DEFAULT_wxUSE_TEXTBUFFER=no
2064 DEFAULT_wxUSE_TEXTFILE=no
2065 DEFAULT_wxUSE_SOUND=no
2066 DEFAULT_wxUSE_INTL=no
2067 DEFAULT_wxUSE_CONFIG=no
2068 DEFAULT_wxUSE_FONTMAP=no
2069 DEFAULT_wxUSE_STREAMS=no
2070 DEFAULT_wxUSE_SOCKETS=no
2071 DEFAULT_wxUSE_OLE=no
2072 DEFAULT_wxUSE_DATAOBJ=no
2073 DEFAULT_wxUSE_DIALUP_MANAGER=no
2074 DEFAULT_wxUSE_JOYSTICK=no
2075 DEFAULT_wxUSE_DYNLIB_CLASS=no
2076 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2077 DEFAULT_wxUSE_LONGLONG=no
2078 DEFAULT_wxUSE_GEOMETRY=no
2079
2080 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2081 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2082 DEFAULT_wxUSE_POSTSCRIPT=no
2083
2084 DEFAULT_wxUSE_CLIPBOARD=no
2085 DEFAULT_wxUSE_TOOLTIPS=no
2086 DEFAULT_wxUSE_DRAG_AND_DROP=no
2087 DEFAULT_wxUSE_DRAGIMAGE=no
2088 DEFAULT_wxUSE_SPLINES=no
2089
2090 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2091 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2092 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2093
2094 DEFAULT_wxUSE_RESOURCES=no
2095 DEFAULT_wxUSE_CONSTRAINTS=no
2096 DEFAULT_wxUSE_IPC=no
2097 DEFAULT_wxUSE_HELP=no
2098 DEFAULT_wxUSE_MS_HTML_HELP=no
2099 DEFAULT_wxUSE_WXHTML_HELP=no
2100 DEFAULT_wxUSE_TREELAYOUT=no
2101 DEFAULT_wxUSE_METAFILE=no
2102 DEFAULT_wxUSE_MIMETYPE=no
2103 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2104 DEFAULT_wxUSE_PROTOCOL=no
2105 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2106 DEFAULT_wxUSE_PROTOCOL_FTP=no
2107 DEFAULT_wxUSE_PROTOCOL_FILE=no
2108 DEFAULT_wxUSE_URL=no
2109
2110 DEFAULT_wxUSE_COMMONDLGS=no
2111 DEFAULT_wxUSE_CHOICEDLG=no
2112 DEFAULT_wxUSE_COLOURDLG=no
2113 DEFAULT_wxUSE_DIRDLG=no
2114 DEFAULT_wxUSE_FILEDLG=no
2115 DEFAULT_wxUSE_FINDREPLDLG=no
2116 DEFAULT_wxUSE_FONTDLG=no
2117 DEFAULT_wxUSE_MSGDLG=no
2118 DEFAULT_wxUSE_NUMBERDLG=no
2119 DEFAULT_wxUSE_TEXTDLG=no
2120 DEFAULT_wxUSE_SPLASH=no
2121 DEFAULT_wxUSE_STARTUP_TIPS=no
2122 DEFAULT_wxUSE_PROGRESSDLG=no
2123 DEFAULT_wxUSE_WIZARDDLG=no
2124
2125 DEFAULT_wxUSE_MENUS=no
2126 DEFAULT_wxUSE_MINIFRAME=no
2127 DEFAULT_wxUSE_HTML=no
2128 DEFAULT_wxUSE_FILESYSTEM=no
2129 DEFAULT_wxUSE_FS_INET=no
2130 DEFAULT_wxUSE_FS_ZIP=no
2131 DEFAULT_wxUSE_BUSYINFO=no
2132 DEFAULT_wxUSE_ZIPSTREAM=no
2133 DEFAULT_wxUSE_GZSTREAM=no
2134 DEFAULT_wxUSE_VALIDATORS=no
2135
2136 DEFAULT_wxUSE_ACCEL=no
2137 DEFAULT_wxUSE_BUTTON=no
2138 DEFAULT_wxUSE_BMPBUTTON=no
2139 DEFAULT_wxUSE_CALCTRL=no
2140 DEFAULT_wxUSE_CARET=no
2141 DEFAULT_wxUSE_CHECKBOX=no
2142 DEFAULT_wxUSE_CHECKLST=no
2143 DEFAULT_wxUSE_CHOICE=no
2144 DEFAULT_wxUSE_COMBOBOX=no
2145 DEFAULT_wxUSE_DISPLAY=no
2146 DEFAULT_wxUSE_GAUGE=no
2147 DEFAULT_wxUSE_GRID=no
2148 DEFAULT_wxUSE_IMAGLIST=no
2149 DEFAULT_wxUSE_LISTBOOK=no
2150 DEFAULT_wxUSE_LISTBOX=no
2151 DEFAULT_wxUSE_LISTCTRL=no
2152 DEFAULT_wxUSE_NOTEBOOK=no
2153 DEFAULT_wxUSE_RADIOBOX=no
2154 DEFAULT_wxUSE_RADIOBTN=no
2155 DEFAULT_wxUSE_SASH=no
2156 DEFAULT_wxUSE_SCROLLBAR=no
2157 DEFAULT_wxUSE_SLIDER=no
2158 DEFAULT_wxUSE_SPINBTN=no
2159 DEFAULT_wxUSE_SPINCTRL=no
2160 DEFAULT_wxUSE_SPLITTER=no
2161 DEFAULT_wxUSE_STATBMP=no
2162 DEFAULT_wxUSE_STATBOX=no
2163 DEFAULT_wxUSE_STATLINE=no
2164 DEFAULT_wxUSE_STATTEXT=no
2165 DEFAULT_wxUSE_STATUSBAR=yes
2166 DEFAULT_wxUSE_TABDIALOG=no
2167 DEFAULT_wxUSE_TEXTCTRL=no
2168 DEFAULT_wxUSE_TOGGLEBTN=no
2169 DEFAULT_wxUSE_TOOLBAR=no
2170 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2171 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2172 DEFAULT_wxUSE_TREECTRL=no
2173 DEFAULT_wxUSE_POPUPWIN=no
2174 DEFAULT_wxUSE_TIPWINDOW=no
2175
2176 DEFAULT_wxUSE_UNICODE=no
2177 DEFAULT_wxUSE_UNICODE_MSLU=no
2178 DEFAULT_wxUSE_WCSRTOMBS=no
2179
2180 DEFAULT_wxUSE_PALETTE=no
2181 DEFAULT_wxUSE_IMAGE=no
2182 DEFAULT_wxUSE_GIF=no
2183 DEFAULT_wxUSE_PCX=no
2184 DEFAULT_wxUSE_PNM=no
2185 DEFAULT_wxUSE_IFF=no
2186 DEFAULT_wxUSE_XPM=no
2187 DEFAULT_wxUSE_ICO_CUR=no
2188 DEFAULT_wxUSE_ACCESSIBILITY=no
2189
2190 DEFAULT_wxUSE_MONOLITHIC=no
2191 DEFAULT_wxUSE_PLUGINS=no
2192 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2193 else
2194 DEFAULT_wxUSE_UNIVERSAL=no
2195 DEFAULT_wxUSE_STL=no
2196
2197 DEFAULT_wxUSE_NANOX=no
2198
2199 DEFAULT_wxUSE_THREADS=yes
2200
2201 DEFAULT_wxUSE_SHARED=yes
2202 DEFAULT_wxUSE_OPTIMISE=yes
2203 DEFAULT_wxUSE_PROFILE=no
2204 DEFAULT_wxUSE_NO_DEPS=no
2205 DEFAULT_wxUSE_NO_RTTI=no
2206 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2207 DEFAULT_wxUSE_PERMISSIVE=no
2208 DEFAULT_wxUSE_DEBUG_FLAG=no
2209 DEFAULT_wxUSE_DEBUG_INFO=no
2210 DEFAULT_wxUSE_DEBUG_GDB=no
2211 DEFAULT_wxUSE_MEM_TRACING=no
2212 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2213 DEFAULT_wxUSE_DMALLOC=no
2214 DEFAULT_wxUSE_APPLE_IEEE=yes
2215
2216 DEFAULT_wxUSE_EXCEPTIONS=yes
2217 DEFAULT_wxUSE_LOG=yes
2218 DEFAULT_wxUSE_LOGWINDOW=yes
2219 DEFAULT_wxUSE_LOGGUI=yes
2220 DEFAULT_wxUSE_LOGDIALOG=yes
2221
2222 DEFAULT_wxUSE_GUI=yes
2223
2224 DEFAULT_wxUSE_REGEX=yes
2225 DEFAULT_wxUSE_XML=yes
2226 DEFAULT_wxUSE_EXPAT=yes
2227 DEFAULT_wxUSE_ZLIB=yes
2228 DEFAULT_wxUSE_LIBPNG=yes
2229 DEFAULT_wxUSE_LIBJPEG=yes
2230 DEFAULT_wxUSE_LIBTIFF=yes
2231 DEFAULT_wxUSE_LIBXPM=yes
2232 DEFAULT_wxUSE_LIBMSPACK=yes
2233 DEFAULT_wxUSE_LIBSDL=no
2234 DEFAULT_wxUSE_ODBC=no
2235 DEFAULT_wxUSE_OPENGL=no
2236
2237 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2238 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2239 DEFAULT_wxUSE_STD_IOSTREAM=no
2240 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2241 DEFAULT_wxUSE_DATETIME=yes
2242 DEFAULT_wxUSE_TIMER=yes
2243 DEFAULT_wxUSE_STOPWATCH=yes
2244 DEFAULT_wxUSE_FILE=yes
2245 DEFAULT_wxUSE_FFILE=yes
2246 DEFAULT_wxUSE_TEXTBUFFER=yes
2247 DEFAULT_wxUSE_TEXTFILE=yes
2248 DEFAULT_wxUSE_SOUND=yes
2249 DEFAULT_wxUSE_INTL=yes
2250 DEFAULT_wxUSE_CONFIG=yes
2251 DEFAULT_wxUSE_FONTMAP=yes
2252 DEFAULT_wxUSE_STREAMS=yes
2253 DEFAULT_wxUSE_SOCKETS=yes
2254 DEFAULT_wxUSE_OLE=yes
2255 DEFAULT_wxUSE_DATAOBJ=yes
2256 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2257 DEFAULT_wxUSE_JOYSTICK=yes
2258 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2259 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2260 DEFAULT_wxUSE_LONGLONG=yes
2261 DEFAULT_wxUSE_GEOMETRY=yes
2262
2263 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2264 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2265 DEFAULT_wxUSE_POSTSCRIPT=yes
2266
2267 DEFAULT_wxUSE_CLIPBOARD=yes
2268 DEFAULT_wxUSE_TOOLTIPS=yes
2269 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2270 DEFAULT_wxUSE_DRAGIMAGE=yes
2271 DEFAULT_wxUSE_SPLINES=yes
2272
2273 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2274 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2275 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2276
2277 DEFAULT_wxUSE_RESOURCES=no
2278 DEFAULT_wxUSE_CONSTRAINTS=yes
2279 DEFAULT_wxUSE_IPC=yes
2280 DEFAULT_wxUSE_HELP=yes
2281 DEFAULT_wxUSE_MS_HTML_HELP=yes
2282 DEFAULT_wxUSE_WXHTML_HELP=yes
2283 DEFAULT_wxUSE_TREELAYOUT=yes
2284 DEFAULT_wxUSE_METAFILE=yes
2285 DEFAULT_wxUSE_MIMETYPE=yes
2286 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2287 DEFAULT_wxUSE_PROTOCOL=yes
2288 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2289 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2290 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2291 DEFAULT_wxUSE_URL=yes
2292
2293 DEFAULT_wxUSE_COMMONDLGS=yes
2294 DEFAULT_wxUSE_CHOICEDLG=yes
2295 DEFAULT_wxUSE_COLOURDLG=yes
2296 DEFAULT_wxUSE_DIRDLG=yes
2297 DEFAULT_wxUSE_FILEDLG=yes
2298 DEFAULT_wxUSE_FINDREPLDLG=yes
2299 DEFAULT_wxUSE_FONTDLG=yes
2300 DEFAULT_wxUSE_MSGDLG=yes
2301 DEFAULT_wxUSE_NUMBERDLG=yes
2302 DEFAULT_wxUSE_TEXTDLG=yes
2303 DEFAULT_wxUSE_SPLASH=yes
2304 DEFAULT_wxUSE_STARTUP_TIPS=yes
2305 DEFAULT_wxUSE_PROGRESSDLG=yes
2306 DEFAULT_wxUSE_WIZARDDLG=yes
2307
2308 DEFAULT_wxUSE_MENUS=yes
2309 DEFAULT_wxUSE_MINIFRAME=yes
2310 DEFAULT_wxUSE_HTML=yes
2311 DEFAULT_wxUSE_FILESYSTEM=yes
2312 DEFAULT_wxUSE_FS_INET=yes
2313 DEFAULT_wxUSE_FS_ZIP=yes
2314 DEFAULT_wxUSE_BUSYINFO=yes
2315 DEFAULT_wxUSE_ZIPSTREAM=yes
2316 DEFAULT_wxUSE_GZSTREAM=yes
2317 DEFAULT_wxUSE_VALIDATORS=yes
2318
2319 DEFAULT_wxUSE_ACCEL=yes
2320 DEFAULT_wxUSE_BUTTON=yes
2321 DEFAULT_wxUSE_BMPBUTTON=yes
2322 DEFAULT_wxUSE_CALCTRL=yes
2323 DEFAULT_wxUSE_CARET=yes
2324 DEFAULT_wxUSE_CHECKBOX=yes
2325 DEFAULT_wxUSE_CHECKLST=yes
2326 DEFAULT_wxUSE_CHOICE=yes
2327 DEFAULT_wxUSE_COMBOBOX=yes
2328 DEFAULT_wxUSE_DISPLAY=no
2329 DEFAULT_wxUSE_GAUGE=yes
2330 DEFAULT_wxUSE_GRID=yes
2331 DEFAULT_wxUSE_IMAGLIST=yes
2332 DEFAULT_wxUSE_LISTBOOK=yes
2333 DEFAULT_wxUSE_LISTBOX=yes
2334 DEFAULT_wxUSE_LISTCTRL=yes
2335 DEFAULT_wxUSE_NOTEBOOK=yes
2336 DEFAULT_wxUSE_RADIOBOX=yes
2337 DEFAULT_wxUSE_RADIOBTN=yes
2338 DEFAULT_wxUSE_SASH=yes
2339 DEFAULT_wxUSE_SCROLLBAR=yes
2340 DEFAULT_wxUSE_SLIDER=yes
2341 DEFAULT_wxUSE_SPINBTN=yes
2342 DEFAULT_wxUSE_SPINCTRL=yes
2343 DEFAULT_wxUSE_SPLITTER=yes
2344 DEFAULT_wxUSE_STATBMP=yes
2345 DEFAULT_wxUSE_STATBOX=yes
2346 DEFAULT_wxUSE_STATLINE=yes
2347 DEFAULT_wxUSE_STATTEXT=yes
2348 DEFAULT_wxUSE_STATUSBAR=yes
2349 DEFAULT_wxUSE_TABDIALOG=no
2350 DEFAULT_wxUSE_TEXTCTRL=yes
2351 DEFAULT_wxUSE_TOGGLEBTN=yes
2352 DEFAULT_wxUSE_TOOLBAR=yes
2353 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2354 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2355 DEFAULT_wxUSE_TREECTRL=yes
2356 DEFAULT_wxUSE_POPUPWIN=yes
2357 DEFAULT_wxUSE_TIPWINDOW=yes
2358
2359 DEFAULT_wxUSE_UNICODE=no
2360 DEFAULT_wxUSE_UNICODE_MSLU=yes
2361 DEFAULT_wxUSE_WCSRTOMBS=no
2362
2363 DEFAULT_wxUSE_PALETTE=yes
2364 DEFAULT_wxUSE_IMAGE=yes
2365 DEFAULT_wxUSE_GIF=yes
2366 DEFAULT_wxUSE_PCX=yes
2367 DEFAULT_wxUSE_IFF=no
2368 DEFAULT_wxUSE_PNM=yes
2369 DEFAULT_wxUSE_XPM=yes
2370 DEFAULT_wxUSE_ICO_CUR=yes
2371 DEFAULT_wxUSE_ACCESSIBILITY=no
2372
2373 DEFAULT_wxUSE_MONOLITHIC=no
2374 DEFAULT_wxUSE_PLUGINS=no
2375 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2376 fi
2377
2378
2379
2380 for toolkit in `echo $ALL_TOOLKITS`; do
2381 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2382 if test "x$LINE" != "x" ; then
2383 has_toolkit_in_cache=1
2384 eval "DEFAULT_$LINE"
2385 eval "CACHE_$toolkit=1"
2386 fi
2387 done
2388
2389
2390
2391 enablestring=
2392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2393 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2394 no_cache=0
2395 # Check whether --enable-gui or --disable-gui was given.
2396 if test "${enable_gui+set}" = set; then
2397 enableval="$enable_gui"
2398
2399 if test "$enableval" = yes; then
2400 ac_cv_use_gui='wxUSE_GUI=yes'
2401 else
2402 ac_cv_use_gui='wxUSE_GUI=no'
2403 fi
2404
2405 else
2406
2407 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2408 if test "x$LINE" != x ; then
2409 eval "DEFAULT_$LINE"
2410 else
2411 no_cache=1
2412 fi
2413
2414 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2415
2416 fi;
2417
2418 eval "$ac_cv_use_gui"
2419 if test "$no_cache" != 1; then
2420 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2421 fi
2422
2423 if test "$wxUSE_GUI" = yes; then
2424 echo "$as_me:$LINENO: result: yes" >&5
2425 echo "${ECHO_T}yes" >&6
2426 else
2427 echo "$as_me:$LINENO: result: no" >&5
2428 echo "${ECHO_T}no" >&6
2429 fi
2430
2431
2432 enablestring=
2433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2434 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2435 no_cache=0
2436 # Check whether --enable-monolithic or --disable-monolithic was given.
2437 if test "${enable_monolithic+set}" = set; then
2438 enableval="$enable_monolithic"
2439
2440 if test "$enableval" = yes; then
2441 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2442 else
2443 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2444 fi
2445
2446 else
2447
2448 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2449 if test "x$LINE" != x ; then
2450 eval "DEFAULT_$LINE"
2451 else
2452 no_cache=1
2453 fi
2454
2455 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2456
2457 fi;
2458
2459 eval "$ac_cv_use_monolithic"
2460 if test "$no_cache" != 1; then
2461 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2462 fi
2463
2464 if test "$wxUSE_MONOLITHIC" = yes; then
2465 echo "$as_me:$LINENO: result: yes" >&5
2466 echo "${ECHO_T}yes" >&6
2467 else
2468 echo "$as_me:$LINENO: result: no" >&5
2469 echo "${ECHO_T}no" >&6
2470 fi
2471
2472
2473 enablestring=
2474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2475 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2476 no_cache=0
2477 # Check whether --enable-plugins or --disable-plugins was given.
2478 if test "${enable_plugins+set}" = set; then
2479 enableval="$enable_plugins"
2480
2481 if test "$enableval" = yes; then
2482 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2483 else
2484 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2485 fi
2486
2487 else
2488
2489 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2490 if test "x$LINE" != x ; then
2491 eval "DEFAULT_$LINE"
2492 else
2493 no_cache=1
2494 fi
2495
2496 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2497
2498 fi;
2499
2500 eval "$ac_cv_use_plugins"
2501 if test "$no_cache" != 1; then
2502 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2503 fi
2504
2505 if test "$wxUSE_PLUGINS" = yes; then
2506 echo "$as_me:$LINENO: result: yes" >&5
2507 echo "${ECHO_T}yes" >&6
2508 else
2509 echo "$as_me:$LINENO: result: no" >&5
2510 echo "${ECHO_T}no" >&6
2511 fi
2512
2513
2514 if test "$wxUSE_GUI" = "yes"; then
2515
2516
2517 enablestring=
2518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2519 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2520 no_cache=0
2521 # Check whether --enable-universal or --disable-universal was given.
2522 if test "${enable_universal+set}" = set; then
2523 enableval="$enable_universal"
2524
2525 if test "$enableval" = yes; then
2526 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2527 else
2528 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2529 fi
2530
2531 else
2532
2533 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2534 if test "x$LINE" != x ; then
2535 eval "DEFAULT_$LINE"
2536 else
2537 no_cache=1
2538 fi
2539
2540 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2541
2542 fi;
2543
2544 eval "$ac_cv_use_universal"
2545 if test "$no_cache" != 1; then
2546 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2547 fi
2548
2549 if test "$wxUSE_UNIVERSAL" = yes; then
2550 echo "$as_me:$LINENO: result: yes" >&5
2551 echo "${ECHO_T}yes" >&6
2552 else
2553 echo "$as_me:$LINENO: result: no" >&5
2554 echo "${ECHO_T}no" >&6
2555 fi
2556
2557
2558 # Check whether --with-gtk or --without-gtk was given.
2559 if test "${with_gtk+set}" = set; then
2560 withval="$with_gtk"
2561 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2562 fi;
2563
2564 # Check whether --with-motif or --without-motif was given.
2565 if test "${with_motif+set}" = set; then
2566 withval="$with_motif"
2567 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2568 fi;
2569
2570 # Check whether --with-mac or --without-mac was given.
2571 if test "${with_mac+set}" = set; then
2572 withval="$with_mac"
2573 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2574 fi;
2575
2576 # Check whether --with-cocoa or --without-cocoa was given.
2577 if test "${with_cocoa+set}" = set; then
2578 withval="$with_cocoa"
2579 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2580 fi;
2581
2582 # Check whether --with-wine or --without-wine was given.
2583 if test "${with_wine+set}" = set; then
2584 withval="$with_wine"
2585 wxUSE_WINE="$withval" CACHE_WINE=1
2586 fi;
2587
2588 # Check whether --with-msw or --without-msw was given.
2589 if test "${with_msw+set}" = set; then
2590 withval="$with_msw"
2591 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2592 fi;
2593
2594 # Check whether --with-pm or --without-pm was given.
2595 if test "${with_pm+set}" = set; then
2596 withval="$with_pm"
2597 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2598 fi;
2599
2600 # Check whether --with-mgl or --without-mgl was given.
2601 if test "${with_mgl+set}" = set; then
2602 withval="$with_mgl"
2603 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2604 fi;
2605
2606 # Check whether --with-microwin or --without-microwin was given.
2607 if test "${with_microwin+set}" = set; then
2608 withval="$with_microwin"
2609 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2610 fi;
2611
2612 # Check whether --with-x11 or --without-x11 was given.
2613 if test "${with_x11+set}" = set; then
2614 withval="$with_x11"
2615 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2616 fi;
2617
2618 enablestring=
2619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2620 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2621 no_cache=0
2622 # Check whether --enable-nanox or --disable-nanox was given.
2623 if test "${enable_nanox+set}" = set; then
2624 enableval="$enable_nanox"
2625
2626 if test "$enableval" = yes; then
2627 ac_cv_use_nanox='wxUSE_NANOX=yes'
2628 else
2629 ac_cv_use_nanox='wxUSE_NANOX=no'
2630 fi
2631
2632 else
2633
2634 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2635 if test "x$LINE" != x ; then
2636 eval "DEFAULT_$LINE"
2637 else
2638 no_cache=1
2639 fi
2640
2641 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2642
2643 fi;
2644
2645 eval "$ac_cv_use_nanox"
2646 if test "$no_cache" != 1; then
2647 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2648 fi
2649
2650 if test "$wxUSE_NANOX" = yes; then
2651 echo "$as_me:$LINENO: result: yes" >&5
2652 echo "${ECHO_T}yes" >&6
2653 else
2654 echo "$as_me:$LINENO: result: no" >&5
2655 echo "${ECHO_T}no" >&6
2656 fi
2657
2658
2659
2660 enablestring=
2661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2662 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2663 no_cache=0
2664 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2665 if test "${enable_gtk2+set}" = set; then
2666 enableval="$enable_gtk2"
2667
2668 if test "$enableval" = yes; then
2669 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2670 else
2671 ac_cv_use_gtk2='wxUSE_GTK2=no'
2672 fi
2673
2674 else
2675
2676 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2677 if test "x$LINE" != x ; then
2678 eval "DEFAULT_$LINE"
2679 else
2680 no_cache=1
2681 fi
2682
2683 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2684
2685 fi;
2686
2687 eval "$ac_cv_use_gtk2"
2688 if test "$no_cache" != 1; then
2689 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2690 fi
2691
2692 if test "$wxUSE_GTK2" = yes; then
2693 echo "$as_me:$LINENO: result: yes" >&5
2694 echo "${ECHO_T}yes" >&6
2695 else
2696 echo "$as_me:$LINENO: result: no" >&5
2697 echo "${ECHO_T}no" >&6
2698 fi
2699
2700
2701 enablestring=
2702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2703 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2704 no_cache=0
2705 # Check whether --enable-gpe or --disable-gpe was given.
2706 if test "${enable_gpe+set}" = set; then
2707 enableval="$enable_gpe"
2708
2709 if test "$enableval" = yes; then
2710 ac_cv_use_gpe='wxUSE_GPE=yes'
2711 else
2712 ac_cv_use_gpe='wxUSE_GPE=no'
2713 fi
2714
2715 else
2716
2717 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2718 if test "x$LINE" != x ; then
2719 eval "DEFAULT_$LINE"
2720 else
2721 no_cache=1
2722 fi
2723
2724 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2725
2726 fi;
2727
2728 eval "$ac_cv_use_gpe"
2729 if test "$no_cache" != 1; then
2730 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2731 fi
2732
2733 if test "$wxUSE_GPE" = yes; then
2734 echo "$as_me:$LINENO: result: yes" >&5
2735 echo "${ECHO_T}yes" >&6
2736 else
2737 echo "$as_me:$LINENO: result: no" >&5
2738 echo "${ECHO_T}no" >&6
2739 fi
2740
2741
2742
2743 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2744 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2745 no_cache=0
2746
2747 # Check whether --with-libpng or --without-libpng was given.
2748 if test "${with_libpng+set}" = set; then
2749 withval="$with_libpng"
2750
2751 if test "$withval" = yes; then
2752 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2753 elif test "$withval" = no; then
2754 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2755 elif test "$withval" = sys; then
2756 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2757 elif test "$withval" = builtin; then
2758 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2759 else
2760 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2761 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2762 { (exit 1); exit 1; }; }
2763 fi
2764
2765 else
2766
2767 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2768 if test "x$LINE" != x ; then
2769 eval "DEFAULT_$LINE"
2770 else
2771 no_cache=1
2772 fi
2773
2774 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2775
2776 fi;
2777
2778 eval "$ac_cv_use_libpng"
2779 if test "$no_cache" != 1; then
2780 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2781 fi
2782
2783 if test "$wxUSE_LIBPNG" = yes; then
2784 echo "$as_me:$LINENO: result: yes" >&5
2785 echo "${ECHO_T}yes" >&6
2786 elif test "$wxUSE_LIBPNG" = no; then
2787 echo "$as_me:$LINENO: result: no" >&5
2788 echo "${ECHO_T}no" >&6
2789 elif test "$wxUSE_LIBPNG" = sys; then
2790 echo "$as_me:$LINENO: result: system version" >&5
2791 echo "${ECHO_T}system version" >&6
2792 elif test "$wxUSE_LIBPNG" = builtin; then
2793 echo "$as_me:$LINENO: result: builtin version" >&5
2794 echo "${ECHO_T}builtin version" >&6
2795 else
2796 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2797 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2798 { (exit 1); exit 1; }; }
2799 fi
2800
2801
2802 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2803 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2804 no_cache=0
2805
2806 # Check whether --with-libjpeg or --without-libjpeg was given.
2807 if test "${with_libjpeg+set}" = set; then
2808 withval="$with_libjpeg"
2809
2810 if test "$withval" = yes; then
2811 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2812 elif test "$withval" = no; then
2813 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2814 elif test "$withval" = sys; then
2815 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2816 elif test "$withval" = builtin; then
2817 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2818 else
2819 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2820 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2821 { (exit 1); exit 1; }; }
2822 fi
2823
2824 else
2825
2826 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2827 if test "x$LINE" != x ; then
2828 eval "DEFAULT_$LINE"
2829 else
2830 no_cache=1
2831 fi
2832
2833 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2834
2835 fi;
2836
2837 eval "$ac_cv_use_libjpeg"
2838 if test "$no_cache" != 1; then
2839 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2840 fi
2841
2842 if test "$wxUSE_LIBJPEG" = yes; then
2843 echo "$as_me:$LINENO: result: yes" >&5
2844 echo "${ECHO_T}yes" >&6
2845 elif test "$wxUSE_LIBJPEG" = no; then
2846 echo "$as_me:$LINENO: result: no" >&5
2847 echo "${ECHO_T}no" >&6
2848 elif test "$wxUSE_LIBJPEG" = sys; then
2849 echo "$as_me:$LINENO: result: system version" >&5
2850 echo "${ECHO_T}system version" >&6
2851 elif test "$wxUSE_LIBJPEG" = builtin; then
2852 echo "$as_me:$LINENO: result: builtin version" >&5
2853 echo "${ECHO_T}builtin version" >&6
2854 else
2855 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2856 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2857 { (exit 1); exit 1; }; }
2858 fi
2859
2860
2861 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2862 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2863 no_cache=0
2864
2865 # Check whether --with-libtiff or --without-libtiff was given.
2866 if test "${with_libtiff+set}" = set; then
2867 withval="$with_libtiff"
2868
2869 if test "$withval" = yes; then
2870 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2871 elif test "$withval" = no; then
2872 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2873 elif test "$withval" = sys; then
2874 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2875 elif test "$withval" = builtin; then
2876 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2877 else
2878 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2879 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2880 { (exit 1); exit 1; }; }
2881 fi
2882
2883 else
2884
2885 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2886 if test "x$LINE" != x ; then
2887 eval "DEFAULT_$LINE"
2888 else
2889 no_cache=1
2890 fi
2891
2892 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2893
2894 fi;
2895
2896 eval "$ac_cv_use_libtiff"
2897 if test "$no_cache" != 1; then
2898 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2899 fi
2900
2901 if test "$wxUSE_LIBTIFF" = yes; then
2902 echo "$as_me:$LINENO: result: yes" >&5
2903 echo "${ECHO_T}yes" >&6
2904 elif test "$wxUSE_LIBTIFF" = no; then
2905 echo "$as_me:$LINENO: result: no" >&5
2906 echo "${ECHO_T}no" >&6
2907 elif test "$wxUSE_LIBTIFF" = sys; then
2908 echo "$as_me:$LINENO: result: system version" >&5
2909 echo "${ECHO_T}system version" >&6
2910 elif test "$wxUSE_LIBTIFF" = builtin; then
2911 echo "$as_me:$LINENO: result: builtin version" >&5
2912 echo "${ECHO_T}builtin version" >&6
2913 else
2914 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2915 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2916 { (exit 1); exit 1; }; }
2917 fi
2918
2919
2920 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2921 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2922 no_cache=0
2923
2924 # Check whether --with-libxpm or --without-libxpm was given.
2925 if test "${with_libxpm+set}" = set; then
2926 withval="$with_libxpm"
2927
2928 if test "$withval" = yes; then
2929 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2930 elif test "$withval" = no; then
2931 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2932 elif test "$withval" = sys; then
2933 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2934 elif test "$withval" = builtin; then
2935 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2936 else
2937 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2938 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2939 { (exit 1); exit 1; }; }
2940 fi
2941
2942 else
2943
2944 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2945 if test "x$LINE" != x ; then
2946 eval "DEFAULT_$LINE"
2947 else
2948 no_cache=1
2949 fi
2950
2951 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2952
2953 fi;
2954
2955 eval "$ac_cv_use_libxpm"
2956 if test "$no_cache" != 1; then
2957 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2958 fi
2959
2960 if test "$wxUSE_LIBXPM" = yes; then
2961 echo "$as_me:$LINENO: result: yes" >&5
2962 echo "${ECHO_T}yes" >&6
2963 elif test "$wxUSE_LIBXPM" = no; then
2964 echo "$as_me:$LINENO: result: no" >&5
2965 echo "${ECHO_T}no" >&6
2966 elif test "$wxUSE_LIBXPM" = sys; then
2967 echo "$as_me:$LINENO: result: system version" >&5
2968 echo "${ECHO_T}system version" >&6
2969 elif test "$wxUSE_LIBXPM" = builtin; then
2970 echo "$as_me:$LINENO: result: builtin version" >&5
2971 echo "${ECHO_T}builtin version" >&6
2972 else
2973 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2974 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2975 { (exit 1); exit 1; }; }
2976 fi
2977
2978
2979 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2980 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2981 no_cache=0
2982
2983 # Check whether --with-libmspack or --without-libmspack was given.
2984 if test "${with_libmspack+set}" = set; then
2985 withval="$with_libmspack"
2986
2987 if test "$withval" = yes; then
2988 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
2989 else
2990 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
2991 fi
2992
2993 else
2994
2995 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
2996 if test "x$LINE" != x ; then
2997 eval "DEFAULT_$LINE"
2998 else
2999 no_cache=1
3000 fi
3001
3002 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3003
3004 fi;
3005
3006 eval "$ac_cv_use_libmspack"
3007 if test "$no_cache" != 1; then
3008 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3009 fi
3010
3011 if test "$wxUSE_LIBMSPACK" = yes; then
3012 echo "$as_me:$LINENO: result: yes" >&5
3013 echo "${ECHO_T}yes" >&6
3014 else
3015 echo "$as_me:$LINENO: result: no" >&5
3016 echo "${ECHO_T}no" >&6
3017 fi
3018
3019
3020 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3021 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3022 no_cache=0
3023
3024 # Check whether --with-sdl or --without-sdl was given.
3025 if test "${with_sdl+set}" = set; then
3026 withval="$with_sdl"
3027
3028 if test "$withval" = yes; then
3029 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3030 else
3031 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3032 fi
3033
3034 else
3035
3036 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3037 if test "x$LINE" != x ; then
3038 eval "DEFAULT_$LINE"
3039 else
3040 no_cache=1
3041 fi
3042
3043 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3044
3045 fi;
3046
3047 eval "$ac_cv_use_sdl"
3048 if test "$no_cache" != 1; then
3049 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3050 fi
3051
3052 if test "$wxUSE_LIBSDL" = yes; then
3053 echo "$as_me:$LINENO: result: yes" >&5
3054 echo "${ECHO_T}yes" >&6
3055 else
3056 echo "$as_me:$LINENO: result: no" >&5
3057 echo "${ECHO_T}no" >&6
3058 fi
3059
3060
3061 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3062 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3063 no_cache=0
3064
3065 # Check whether --with-opengl or --without-opengl was given.
3066 if test "${with_opengl+set}" = set; then
3067 withval="$with_opengl"
3068
3069 if test "$withval" = yes; then
3070 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3071 else
3072 ac_cv_use_opengl='wxUSE_OPENGL=no'
3073 fi
3074
3075 else
3076
3077 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3078 if test "x$LINE" != x ; then
3079 eval "DEFAULT_$LINE"
3080 else
3081 no_cache=1
3082 fi
3083
3084 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3085
3086 fi;
3087
3088 eval "$ac_cv_use_opengl"
3089 if test "$no_cache" != 1; then
3090 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3091 fi
3092
3093 if test "$wxUSE_OPENGL" = yes; then
3094 echo "$as_me:$LINENO: result: yes" >&5
3095 echo "${ECHO_T}yes" >&6
3096 else
3097 echo "$as_me:$LINENO: result: no" >&5
3098 echo "${ECHO_T}no" >&6
3099 fi
3100
3101
3102 fi
3103
3104
3105 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3106 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3107 no_cache=0
3108
3109 # Check whether --with-dmalloc or --without-dmalloc was given.
3110 if test "${with_dmalloc+set}" = set; then
3111 withval="$with_dmalloc"
3112
3113 if test "$withval" = yes; then
3114 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3115 else
3116 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3117 fi
3118
3119 else
3120
3121 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3122 if test "x$LINE" != x ; then
3123 eval "DEFAULT_$LINE"
3124 else
3125 no_cache=1
3126 fi
3127
3128 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3129
3130 fi;
3131
3132 eval "$ac_cv_use_dmalloc"
3133 if test "$no_cache" != 1; then
3134 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3135 fi
3136
3137 if test "$wxUSE_DMALLOC" = yes; then
3138 echo "$as_me:$LINENO: result: yes" >&5
3139 echo "${ECHO_T}yes" >&6
3140 else
3141 echo "$as_me:$LINENO: result: no" >&5
3142 echo "${ECHO_T}no" >&6
3143 fi
3144
3145
3146 echo "$as_me:$LINENO: checking for --with-regex" >&5
3147 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3148 no_cache=0
3149
3150 # Check whether --with-regex or --without-regex was given.
3151 if test "${with_regex+set}" = set; then
3152 withval="$with_regex"
3153
3154 if test "$withval" = yes; then
3155 ac_cv_use_regex='wxUSE_REGEX=yes'
3156 elif test "$withval" = no; then
3157 ac_cv_use_regex='wxUSE_REGEX=no'
3158 elif test "$withval" = sys; then
3159 ac_cv_use_regex='wxUSE_REGEX=sys'
3160 elif test "$withval" = builtin; then
3161 ac_cv_use_regex='wxUSE_REGEX=builtin'
3162 else
3163 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3164 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3165 { (exit 1); exit 1; }; }
3166 fi
3167
3168 else
3169
3170 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3171 if test "x$LINE" != x ; then
3172 eval "DEFAULT_$LINE"
3173 else
3174 no_cache=1
3175 fi
3176
3177 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3178
3179 fi;
3180
3181 eval "$ac_cv_use_regex"
3182 if test "$no_cache" != 1; then
3183 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3184 fi
3185
3186 if test "$wxUSE_REGEX" = yes; then
3187 echo "$as_me:$LINENO: result: yes" >&5
3188 echo "${ECHO_T}yes" >&6
3189 elif test "$wxUSE_REGEX" = no; then
3190 echo "$as_me:$LINENO: result: no" >&5
3191 echo "${ECHO_T}no" >&6
3192 elif test "$wxUSE_REGEX" = sys; then
3193 echo "$as_me:$LINENO: result: system version" >&5
3194 echo "${ECHO_T}system version" >&6
3195 elif test "$wxUSE_REGEX" = builtin; then
3196 echo "$as_me:$LINENO: result: builtin version" >&5
3197 echo "${ECHO_T}builtin version" >&6
3198 else
3199 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3200 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3201 { (exit 1); exit 1; }; }
3202 fi
3203
3204
3205 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3206 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3207 no_cache=0
3208
3209 # Check whether --with-zlib or --without-zlib was given.
3210 if test "${with_zlib+set}" = set; then
3211 withval="$with_zlib"
3212
3213 if test "$withval" = yes; then
3214 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3215 elif test "$withval" = no; then
3216 ac_cv_use_zlib='wxUSE_ZLIB=no'
3217 elif test "$withval" = sys; then
3218 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3219 elif test "$withval" = builtin; then
3220 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3221 else
3222 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3223 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3224 { (exit 1); exit 1; }; }
3225 fi
3226
3227 else
3228
3229 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3230 if test "x$LINE" != x ; then
3231 eval "DEFAULT_$LINE"
3232 else
3233 no_cache=1
3234 fi
3235
3236 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3237
3238 fi;
3239
3240 eval "$ac_cv_use_zlib"
3241 if test "$no_cache" != 1; then
3242 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3243 fi
3244
3245 if test "$wxUSE_ZLIB" = yes; then
3246 echo "$as_me:$LINENO: result: yes" >&5
3247 echo "${ECHO_T}yes" >&6
3248 elif test "$wxUSE_ZLIB" = no; then
3249 echo "$as_me:$LINENO: result: no" >&5
3250 echo "${ECHO_T}no" >&6
3251 elif test "$wxUSE_ZLIB" = sys; then
3252 echo "$as_me:$LINENO: result: system version" >&5
3253 echo "${ECHO_T}system version" >&6
3254 elif test "$wxUSE_ZLIB" = builtin; then
3255 echo "$as_me:$LINENO: result: builtin version" >&5
3256 echo "${ECHO_T}builtin version" >&6
3257 else
3258 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3259 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3260 { (exit 1); exit 1; }; }
3261 fi
3262
3263
3264 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3265 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3266 no_cache=0
3267
3268 # Check whether --with-odbc or --without-odbc was given.
3269 if test "${with_odbc+set}" = set; then
3270 withval="$with_odbc"
3271
3272 if test "$withval" = yes; then
3273 ac_cv_use_odbc='wxUSE_ODBC=yes'
3274 elif test "$withval" = no; then
3275 ac_cv_use_odbc='wxUSE_ODBC=no'
3276 elif test "$withval" = sys; then
3277 ac_cv_use_odbc='wxUSE_ODBC=sys'
3278 elif test "$withval" = builtin; then
3279 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3280 else
3281 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3282 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3283 { (exit 1); exit 1; }; }
3284 fi
3285
3286 else
3287
3288 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3289 if test "x$LINE" != x ; then
3290 eval "DEFAULT_$LINE"
3291 else
3292 no_cache=1
3293 fi
3294
3295 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3296
3297 fi;
3298
3299 eval "$ac_cv_use_odbc"
3300 if test "$no_cache" != 1; then
3301 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3302 fi
3303
3304 if test "$wxUSE_ODBC" = yes; then
3305 echo "$as_me:$LINENO: result: yes" >&5
3306 echo "${ECHO_T}yes" >&6
3307 elif test "$wxUSE_ODBC" = no; then
3308 echo "$as_me:$LINENO: result: no" >&5
3309 echo "${ECHO_T}no" >&6
3310 elif test "$wxUSE_ODBC" = sys; then
3311 echo "$as_me:$LINENO: result: system version" >&5
3312 echo "${ECHO_T}system version" >&6
3313 elif test "$wxUSE_ODBC" = builtin; then
3314 echo "$as_me:$LINENO: result: builtin version" >&5
3315 echo "${ECHO_T}builtin version" >&6
3316 else
3317 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3318 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3319 { (exit 1); exit 1; }; }
3320 fi
3321
3322
3323 echo "$as_me:$LINENO: checking for --with-expat" >&5
3324 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3325 no_cache=0
3326
3327 # Check whether --with-expat or --without-expat was given.
3328 if test "${with_expat+set}" = set; then
3329 withval="$with_expat"
3330
3331 if test "$withval" = yes; then
3332 ac_cv_use_expat='wxUSE_EXPAT=yes'
3333 elif test "$withval" = no; then
3334 ac_cv_use_expat='wxUSE_EXPAT=no'
3335 elif test "$withval" = sys; then
3336 ac_cv_use_expat='wxUSE_EXPAT=sys'
3337 elif test "$withval" = builtin; then
3338 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3339 else
3340 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3341 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3342 { (exit 1); exit 1; }; }
3343 fi
3344
3345 else
3346
3347 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3348 if test "x$LINE" != x ; then
3349 eval "DEFAULT_$LINE"
3350 else
3351 no_cache=1
3352 fi
3353
3354 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3355
3356 fi;
3357
3358 eval "$ac_cv_use_expat"
3359 if test "$no_cache" != 1; then
3360 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3361 fi
3362
3363 if test "$wxUSE_EXPAT" = yes; then
3364 echo "$as_me:$LINENO: result: yes" >&5
3365 echo "${ECHO_T}yes" >&6
3366 elif test "$wxUSE_EXPAT" = no; then
3367 echo "$as_me:$LINENO: result: no" >&5
3368 echo "${ECHO_T}no" >&6
3369 elif test "$wxUSE_EXPAT" = sys; then
3370 echo "$as_me:$LINENO: result: system version" >&5
3371 echo "${ECHO_T}system version" >&6
3372 elif test "$wxUSE_EXPAT" = builtin; then
3373 echo "$as_me:$LINENO: result: builtin version" >&5
3374 echo "${ECHO_T}builtin version" >&6
3375 else
3376 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3377 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3378 { (exit 1); exit 1; }; }
3379 fi
3380
3381
3382
3383
3384 enablestring=
3385 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3386 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3387 no_cache=0
3388 # Check whether --enable-shared or --disable-shared was given.
3389 if test "${enable_shared+set}" = set; then
3390 enableval="$enable_shared"
3391
3392 if test "$enableval" = yes; then
3393 ac_cv_use_shared='wxUSE_SHARED=yes'
3394 else
3395 ac_cv_use_shared='wxUSE_SHARED=no'
3396 fi
3397
3398 else
3399
3400 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3401 if test "x$LINE" != x ; then
3402 eval "DEFAULT_$LINE"
3403 else
3404 no_cache=1
3405 fi
3406
3407 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3408
3409 fi;
3410
3411 eval "$ac_cv_use_shared"
3412 if test "$no_cache" != 1; then
3413 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3414 fi
3415
3416 if test "$wxUSE_SHARED" = yes; then
3417 echo "$as_me:$LINENO: result: yes" >&5
3418 echo "${ECHO_T}yes" >&6
3419 else
3420 echo "$as_me:$LINENO: result: no" >&5
3421 echo "${ECHO_T}no" >&6
3422 fi
3423
3424
3425 enablestring=
3426 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3427 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3428 no_cache=0
3429 # Check whether --enable-optimise or --disable-optimise was given.
3430 if test "${enable_optimise+set}" = set; then
3431 enableval="$enable_optimise"
3432
3433 if test "$enableval" = yes; then
3434 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3435 else
3436 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3437 fi
3438
3439 else
3440
3441 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3442 if test "x$LINE" != x ; then
3443 eval "DEFAULT_$LINE"
3444 else
3445 no_cache=1
3446 fi
3447
3448 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3449
3450 fi;
3451
3452 eval "$ac_cv_use_optimise"
3453 if test "$no_cache" != 1; then
3454 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3455 fi
3456
3457 if test "$wxUSE_OPTIMISE" = yes; then
3458 echo "$as_me:$LINENO: result: yes" >&5
3459 echo "${ECHO_T}yes" >&6
3460 else
3461 echo "$as_me:$LINENO: result: no" >&5
3462 echo "${ECHO_T}no" >&6
3463 fi
3464
3465
3466 enablestring=
3467 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3468 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3469 no_cache=0
3470 # Check whether --enable-debug or --disable-debug was given.
3471 if test "${enable_debug+set}" = set; then
3472 enableval="$enable_debug"
3473
3474 if test "$enableval" = yes; then
3475 ac_cv_use_debug='wxUSE_DEBUG=yes'
3476 else
3477 ac_cv_use_debug='wxUSE_DEBUG=no'
3478 fi
3479
3480 else
3481
3482 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3483 if test "x$LINE" != x ; then
3484 eval "DEFAULT_$LINE"
3485 else
3486 no_cache=1
3487 fi
3488
3489 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3490
3491 fi;
3492
3493 eval "$ac_cv_use_debug"
3494 if test "$no_cache" != 1; then
3495 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3496 fi
3497
3498 if test "$wxUSE_DEBUG" = yes; then
3499 echo "$as_me:$LINENO: result: yes" >&5
3500 echo "${ECHO_T}yes" >&6
3501 else
3502 echo "$as_me:$LINENO: result: no" >&5
3503 echo "${ECHO_T}no" >&6
3504 fi
3505
3506
3507 enablestring=
3508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3509 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3510 no_cache=0
3511 # Check whether --enable-stl or --disable-stl was given.
3512 if test "${enable_stl+set}" = set; then
3513 enableval="$enable_stl"
3514
3515 if test "$enableval" = yes; then
3516 ac_cv_use_stl='wxUSE_STL=yes'
3517 else
3518 ac_cv_use_stl='wxUSE_STL=no'
3519 fi
3520
3521 else
3522
3523 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3524 if test "x$LINE" != x ; then
3525 eval "DEFAULT_$LINE"
3526 else
3527 no_cache=1
3528 fi
3529
3530 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3531
3532 fi;
3533
3534 eval "$ac_cv_use_stl"
3535 if test "$no_cache" != 1; then
3536 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3537 fi
3538
3539 if test "$wxUSE_STL" = yes; then
3540 echo "$as_me:$LINENO: result: yes" >&5
3541 echo "${ECHO_T}yes" >&6
3542 else
3543 echo "$as_me:$LINENO: result: no" >&5
3544 echo "${ECHO_T}no" >&6
3545 fi
3546
3547
3548 if test "$wxUSE_DEBUG" = "yes"; then
3549 DEFAULT_wxUSE_DEBUG_FLAG=yes
3550 DEFAULT_wxUSE_DEBUG_INFO=yes
3551 BUILD=debug
3552 elif test "$wxUSE_DEBUG" = "no"; then
3553 DEFAULT_wxUSE_DEBUG_FLAG=no
3554 DEFAULT_wxUSE_DEBUG_INFO=no
3555 BUILD=release
3556 fi
3557
3558
3559 enablestring=
3560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3561 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3562 no_cache=0
3563 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3564 if test "${enable_debug_flag+set}" = set; then
3565 enableval="$enable_debug_flag"
3566
3567 if test "$enableval" = yes; then
3568 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3569 else
3570 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3571 fi
3572
3573 else
3574
3575 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3576 if test "x$LINE" != x ; then
3577 eval "DEFAULT_$LINE"
3578 else
3579 no_cache=1
3580 fi
3581
3582 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3583
3584 fi;
3585
3586 eval "$ac_cv_use_debug_flag"
3587 if test "$no_cache" != 1; then
3588 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3589 fi
3590
3591 if test "$wxUSE_DEBUG_FLAG" = yes; then
3592 echo "$as_me:$LINENO: result: yes" >&5
3593 echo "${ECHO_T}yes" >&6
3594 else
3595 echo "$as_me:$LINENO: result: no" >&5
3596 echo "${ECHO_T}no" >&6
3597 fi
3598
3599
3600 enablestring=
3601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3602 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3603 no_cache=0
3604 # Check whether --enable-debug_info or --disable-debug_info was given.
3605 if test "${enable_debug_info+set}" = set; then
3606 enableval="$enable_debug_info"
3607
3608 if test "$enableval" = yes; then
3609 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3610 else
3611 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3612 fi
3613
3614 else
3615
3616 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3617 if test "x$LINE" != x ; then
3618 eval "DEFAULT_$LINE"
3619 else
3620 no_cache=1
3621 fi
3622
3623 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3624
3625 fi;
3626
3627 eval "$ac_cv_use_debug_info"
3628 if test "$no_cache" != 1; then
3629 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3630 fi
3631
3632 if test "$wxUSE_DEBUG_INFO" = yes; then
3633 echo "$as_me:$LINENO: result: yes" >&5
3634 echo "${ECHO_T}yes" >&6
3635 else
3636 echo "$as_me:$LINENO: result: no" >&5
3637 echo "${ECHO_T}no" >&6
3638 fi
3639
3640
3641 enablestring=
3642 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3643 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3644 no_cache=0
3645 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3646 if test "${enable_debug_gdb+set}" = set; then
3647 enableval="$enable_debug_gdb"
3648
3649 if test "$enableval" = yes; then
3650 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3651 else
3652 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3653 fi
3654
3655 else
3656
3657 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3658 if test "x$LINE" != x ; then
3659 eval "DEFAULT_$LINE"
3660 else
3661 no_cache=1
3662 fi
3663
3664 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3665
3666 fi;
3667
3668 eval "$ac_cv_use_debug_gdb"
3669 if test "$no_cache" != 1; then
3670 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3671 fi
3672
3673 if test "$wxUSE_DEBUG_GDB" = yes; then
3674 echo "$as_me:$LINENO: result: yes" >&5
3675 echo "${ECHO_T}yes" >&6
3676 else
3677 echo "$as_me:$LINENO: result: no" >&5
3678 echo "${ECHO_T}no" >&6
3679 fi
3680
3681
3682 enablestring=
3683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3684 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3685 no_cache=0
3686 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3687 if test "${enable_debug_cntxt+set}" = set; then
3688 enableval="$enable_debug_cntxt"
3689
3690 if test "$enableval" = yes; then
3691 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3692 else
3693 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3694 fi
3695
3696 else
3697
3698 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3699 if test "x$LINE" != x ; then
3700 eval "DEFAULT_$LINE"
3701 else
3702 no_cache=1
3703 fi
3704
3705 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3706
3707 fi;
3708
3709 eval "$ac_cv_use_debug_cntxt"
3710 if test "$no_cache" != 1; then
3711 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3712 fi
3713
3714 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3715 echo "$as_me:$LINENO: result: yes" >&5
3716 echo "${ECHO_T}yes" >&6
3717 else
3718 echo "$as_me:$LINENO: result: no" >&5
3719 echo "${ECHO_T}no" >&6
3720 fi
3721
3722
3723 enablestring=
3724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3725 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3726 no_cache=0
3727 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3728 if test "${enable_mem_tracing+set}" = set; then
3729 enableval="$enable_mem_tracing"
3730
3731 if test "$enableval" = yes; then
3732 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3733 else
3734 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3735 fi
3736
3737 else
3738
3739 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3740 if test "x$LINE" != x ; then
3741 eval "DEFAULT_$LINE"
3742 else
3743 no_cache=1
3744 fi
3745
3746 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3747
3748 fi;
3749
3750 eval "$ac_cv_use_mem_tracing"
3751 if test "$no_cache" != 1; then
3752 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3753 fi
3754
3755 if test "$wxUSE_MEM_TRACING" = yes; then
3756 echo "$as_me:$LINENO: result: yes" >&5
3757 echo "${ECHO_T}yes" >&6
3758 else
3759 echo "$as_me:$LINENO: result: no" >&5
3760 echo "${ECHO_T}no" >&6
3761 fi
3762
3763
3764 enablestring=
3765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3766 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3767 no_cache=0
3768 # Check whether --enable-profile or --disable-profile was given.
3769 if test "${enable_profile+set}" = set; then
3770 enableval="$enable_profile"
3771
3772 if test "$enableval" = yes; then
3773 ac_cv_use_profile='wxUSE_PROFILE=yes'
3774 else
3775 ac_cv_use_profile='wxUSE_PROFILE=no'
3776 fi
3777
3778 else
3779
3780 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3781 if test "x$LINE" != x ; then
3782 eval "DEFAULT_$LINE"
3783 else
3784 no_cache=1
3785 fi
3786
3787 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3788
3789 fi;
3790
3791 eval "$ac_cv_use_profile"
3792 if test "$no_cache" != 1; then
3793 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3794 fi
3795
3796 if test "$wxUSE_PROFILE" = yes; then
3797 echo "$as_me:$LINENO: result: yes" >&5
3798 echo "${ECHO_T}yes" >&6
3799 else
3800 echo "$as_me:$LINENO: result: no" >&5
3801 echo "${ECHO_T}no" >&6
3802 fi
3803
3804
3805 enablestring=
3806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3807 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3808 no_cache=0
3809 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3810 if test "${enable_no_rtti+set}" = set; then
3811 enableval="$enable_no_rtti"
3812
3813 if test "$enableval" = yes; then
3814 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3815 else
3816 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3817 fi
3818
3819 else
3820
3821 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3822 if test "x$LINE" != x ; then
3823 eval "DEFAULT_$LINE"
3824 else
3825 no_cache=1
3826 fi
3827
3828 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3829
3830 fi;
3831
3832 eval "$ac_cv_use_no_rtti"
3833 if test "$no_cache" != 1; then
3834 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3835 fi
3836
3837 if test "$wxUSE_NO_RTTI" = yes; then
3838 echo "$as_me:$LINENO: result: yes" >&5
3839 echo "${ECHO_T}yes" >&6
3840 else
3841 echo "$as_me:$LINENO: result: no" >&5
3842 echo "${ECHO_T}no" >&6
3843 fi
3844
3845
3846 enablestring=
3847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3848 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3849 no_cache=0
3850 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3851 if test "${enable_no_exceptions+set}" = set; then
3852 enableval="$enable_no_exceptions"
3853
3854 if test "$enableval" = yes; then
3855 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3856 else
3857 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3858 fi
3859
3860 else
3861
3862 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3863 if test "x$LINE" != x ; then
3864 eval "DEFAULT_$LINE"
3865 else
3866 no_cache=1
3867 fi
3868
3869 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3870
3871 fi;
3872
3873 eval "$ac_cv_use_no_exceptions"
3874 if test "$no_cache" != 1; then
3875 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3876 fi
3877
3878 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3879 echo "$as_me:$LINENO: result: yes" >&5
3880 echo "${ECHO_T}yes" >&6
3881 else
3882 echo "$as_me:$LINENO: result: no" >&5
3883 echo "${ECHO_T}no" >&6
3884 fi
3885
3886
3887 enablestring=
3888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3889 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3890 no_cache=0
3891 # Check whether --enable-permissive or --disable-permissive was given.
3892 if test "${enable_permissive+set}" = set; then
3893 enableval="$enable_permissive"
3894
3895 if test "$enableval" = yes; then
3896 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3897 else
3898 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3899 fi
3900
3901 else
3902
3903 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3904 if test "x$LINE" != x ; then
3905 eval "DEFAULT_$LINE"
3906 else
3907 no_cache=1
3908 fi
3909
3910 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3911
3912 fi;
3913
3914 eval "$ac_cv_use_permissive"
3915 if test "$no_cache" != 1; then
3916 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3917 fi
3918
3919 if test "$wxUSE_PERMISSIVE" = yes; then
3920 echo "$as_me:$LINENO: result: yes" >&5
3921 echo "${ECHO_T}yes" >&6
3922 else
3923 echo "$as_me:$LINENO: result: no" >&5
3924 echo "${ECHO_T}no" >&6
3925 fi
3926
3927
3928 enablestring=
3929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3930 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3931 no_cache=0
3932 # Check whether --enable-no_deps or --disable-no_deps was given.
3933 if test "${enable_no_deps+set}" = set; then
3934 enableval="$enable_no_deps"
3935
3936 if test "$enableval" = yes; then
3937 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3938 else
3939 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3940 fi
3941
3942 else
3943
3944 LINE=`grep "wxUSE_NO_DEPS" ${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_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3952
3953 fi;
3954
3955 eval "$ac_cv_use_no_deps"
3956 if test "$no_cache" != 1; then
3957 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3958 fi
3959
3960 if test "$wxUSE_NO_DEPS" = 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
3970 enablestring=
3971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3972 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3973 no_cache=0
3974 # Check whether --enable-compat22 or --disable-compat22 was given.
3975 if test "${enable_compat22+set}" = set; then
3976 enableval="$enable_compat22"
3977
3978 if test "$enableval" = yes; then
3979 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3980 else
3981 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3982 fi
3983
3984 else
3985
3986 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3987 if test "x$LINE" != x ; then
3988 eval "DEFAULT_$LINE"
3989 else
3990 no_cache=1
3991 fi
3992
3993 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3994
3995 fi;
3996
3997 eval "$ac_cv_use_compat22"
3998 if test "$no_cache" != 1; then
3999 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4000 fi
4001
4002 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4003 echo "$as_me:$LINENO: result: yes" >&5
4004 echo "${ECHO_T}yes" >&6
4005 else
4006 echo "$as_me:$LINENO: result: no" >&5
4007 echo "${ECHO_T}no" >&6
4008 fi
4009
4010
4011 enablestring=disable
4012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4013 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4014 no_cache=0
4015 # Check whether --enable-compat24 or --disable-compat24 was given.
4016 if test "${enable_compat24+set}" = set; then
4017 enableval="$enable_compat24"
4018
4019 if test "$enableval" = yes; then
4020 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4021 else
4022 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4023 fi
4024
4025 else
4026
4027 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4028 if test "x$LINE" != x ; then
4029 eval "DEFAULT_$LINE"
4030 else
4031 no_cache=1
4032 fi
4033
4034 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4035
4036 fi;
4037
4038 eval "$ac_cv_use_compat24"
4039 if test "$no_cache" != 1; then
4040 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4041 fi
4042
4043 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4044 echo "$as_me:$LINENO: result: yes" >&5
4045 echo "${ECHO_T}yes" >&6
4046 else
4047 echo "$as_me:$LINENO: result: no" >&5
4048 echo "${ECHO_T}no" >&6
4049 fi
4050
4051
4052 # Check whether --enable-rpath or --disable-rpath was given.
4053 if test "${enable_rpath+set}" = set; then
4054 enableval="$enable_rpath"
4055 wxRPATH_DIR="$enableval"
4056 fi;
4057
4058 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
4059 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
4060 fi
4061
4062
4063
4064
4065 enablestring=
4066 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4067 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4068 no_cache=0
4069 # Check whether --enable-intl or --disable-intl was given.
4070 if test "${enable_intl+set}" = set; then
4071 enableval="$enable_intl"
4072
4073 if test "$enableval" = yes; then
4074 ac_cv_use_intl='wxUSE_INTL=yes'
4075 else
4076 ac_cv_use_intl='wxUSE_INTL=no'
4077 fi
4078
4079 else
4080
4081 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4082 if test "x$LINE" != x ; then
4083 eval "DEFAULT_$LINE"
4084 else
4085 no_cache=1
4086 fi
4087
4088 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4089
4090 fi;
4091
4092 eval "$ac_cv_use_intl"
4093 if test "$no_cache" != 1; then
4094 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4095 fi
4096
4097 if test "$wxUSE_INTL" = yes; then
4098 echo "$as_me:$LINENO: result: yes" >&5
4099 echo "${ECHO_T}yes" >&6
4100 else
4101 echo "$as_me:$LINENO: result: no" >&5
4102 echo "${ECHO_T}no" >&6
4103 fi
4104
4105
4106 enablestring=
4107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4108 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4109 no_cache=0
4110 # Check whether --enable-config or --disable-config was given.
4111 if test "${enable_config+set}" = set; then
4112 enableval="$enable_config"
4113
4114 if test "$enableval" = yes; then
4115 ac_cv_use_config='wxUSE_CONFIG=yes'
4116 else
4117 ac_cv_use_config='wxUSE_CONFIG=no'
4118 fi
4119
4120 else
4121
4122 LINE=`grep "wxUSE_CONFIG" ${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_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4130
4131 fi;
4132
4133 eval "$ac_cv_use_config"
4134 if test "$no_cache" != 1; then
4135 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4136 fi
4137
4138 if test "$wxUSE_CONFIG" = 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
4148 enablestring=
4149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4150 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4151 no_cache=0
4152 # Check whether --enable-protocols or --disable-protocols was given.
4153 if test "${enable_protocols+set}" = set; then
4154 enableval="$enable_protocols"
4155
4156 if test "$enableval" = yes; then
4157 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4158 else
4159 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4160 fi
4161
4162 else
4163
4164 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4165 if test "x$LINE" != x ; then
4166 eval "DEFAULT_$LINE"
4167 else
4168 no_cache=1
4169 fi
4170
4171 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4172
4173 fi;
4174
4175 eval "$ac_cv_use_protocols"
4176 if test "$no_cache" != 1; then
4177 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4178 fi
4179
4180 if test "$wxUSE_PROTOCOL" = yes; then
4181 echo "$as_me:$LINENO: result: yes" >&5
4182 echo "${ECHO_T}yes" >&6
4183 else
4184 echo "$as_me:$LINENO: result: no" >&5
4185 echo "${ECHO_T}no" >&6
4186 fi
4187
4188
4189 enablestring=
4190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4191 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4192 no_cache=0
4193 # Check whether --enable-ftp or --disable-ftp was given.
4194 if test "${enable_ftp+set}" = set; then
4195 enableval="$enable_ftp"
4196
4197 if test "$enableval" = yes; then
4198 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4199 else
4200 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4201 fi
4202
4203 else
4204
4205 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4206 if test "x$LINE" != x ; then
4207 eval "DEFAULT_$LINE"
4208 else
4209 no_cache=1
4210 fi
4211
4212 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4213
4214 fi;
4215
4216 eval "$ac_cv_use_ftp"
4217 if test "$no_cache" != 1; then
4218 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4219 fi
4220
4221 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4222 echo "$as_me:$LINENO: result: yes" >&5
4223 echo "${ECHO_T}yes" >&6
4224 else
4225 echo "$as_me:$LINENO: result: no" >&5
4226 echo "${ECHO_T}no" >&6
4227 fi
4228
4229
4230 enablestring=
4231 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4232 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4233 no_cache=0
4234 # Check whether --enable-http or --disable-http was given.
4235 if test "${enable_http+set}" = set; then
4236 enableval="$enable_http"
4237
4238 if test "$enableval" = yes; then
4239 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4240 else
4241 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4242 fi
4243
4244 else
4245
4246 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4247 if test "x$LINE" != x ; then
4248 eval "DEFAULT_$LINE"
4249 else
4250 no_cache=1
4251 fi
4252
4253 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4254
4255 fi;
4256
4257 eval "$ac_cv_use_http"
4258 if test "$no_cache" != 1; then
4259 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4260 fi
4261
4262 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4263 echo "$as_me:$LINENO: result: yes" >&5
4264 echo "${ECHO_T}yes" >&6
4265 else
4266 echo "$as_me:$LINENO: result: no" >&5
4267 echo "${ECHO_T}no" >&6
4268 fi
4269
4270
4271 enablestring=
4272 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4273 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4274 no_cache=0
4275 # Check whether --enable-fileproto or --disable-fileproto was given.
4276 if test "${enable_fileproto+set}" = set; then
4277 enableval="$enable_fileproto"
4278
4279 if test "$enableval" = yes; then
4280 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4281 else
4282 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4283 fi
4284
4285 else
4286
4287 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4288 if test "x$LINE" != x ; then
4289 eval "DEFAULT_$LINE"
4290 else
4291 no_cache=1
4292 fi
4293
4294 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4295
4296 fi;
4297
4298 eval "$ac_cv_use_fileproto"
4299 if test "$no_cache" != 1; then
4300 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4301 fi
4302
4303 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4304 echo "$as_me:$LINENO: result: yes" >&5
4305 echo "${ECHO_T}yes" >&6
4306 else
4307 echo "$as_me:$LINENO: result: no" >&5
4308 echo "${ECHO_T}no" >&6
4309 fi
4310
4311
4312 enablestring=
4313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4314 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4315 no_cache=0
4316 # Check whether --enable-sockets or --disable-sockets was given.
4317 if test "${enable_sockets+set}" = set; then
4318 enableval="$enable_sockets"
4319
4320 if test "$enableval" = yes; then
4321 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4322 else
4323 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4324 fi
4325
4326 else
4327
4328 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4329 if test "x$LINE" != x ; then
4330 eval "DEFAULT_$LINE"
4331 else
4332 no_cache=1
4333 fi
4334
4335 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4336
4337 fi;
4338
4339 eval "$ac_cv_use_sockets"
4340 if test "$no_cache" != 1; then
4341 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4342 fi
4343
4344 if test "$wxUSE_SOCKETS" = yes; then
4345 echo "$as_me:$LINENO: result: yes" >&5
4346 echo "${ECHO_T}yes" >&6
4347 else
4348 echo "$as_me:$LINENO: result: no" >&5
4349 echo "${ECHO_T}no" >&6
4350 fi
4351
4352
4353 enablestring=
4354 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4355 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4356 no_cache=0
4357 # Check whether --enable-ole or --disable-ole was given.
4358 if test "${enable_ole+set}" = set; then
4359 enableval="$enable_ole"
4360
4361 if test "$enableval" = yes; then
4362 ac_cv_use_ole='wxUSE_OLE=yes'
4363 else
4364 ac_cv_use_ole='wxUSE_OLE=no'
4365 fi
4366
4367 else
4368
4369 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4370 if test "x$LINE" != x ; then
4371 eval "DEFAULT_$LINE"
4372 else
4373 no_cache=1
4374 fi
4375
4376 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4377
4378 fi;
4379
4380 eval "$ac_cv_use_ole"
4381 if test "$no_cache" != 1; then
4382 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4383 fi
4384
4385 if test "$wxUSE_OLE" = yes; then
4386 echo "$as_me:$LINENO: result: yes" >&5
4387 echo "${ECHO_T}yes" >&6
4388 else
4389 echo "$as_me:$LINENO: result: no" >&5
4390 echo "${ECHO_T}no" >&6
4391 fi
4392
4393
4394 enablestring=
4395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4396 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4397 no_cache=0
4398 # Check whether --enable-dataobj or --disable-dataobj was given.
4399 if test "${enable_dataobj+set}" = set; then
4400 enableval="$enable_dataobj"
4401
4402 if test "$enableval" = yes; then
4403 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4404 else
4405 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4406 fi
4407
4408 else
4409
4410 LINE=`grep "wxUSE_DATAOBJ" ${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_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4418
4419 fi;
4420
4421 eval "$ac_cv_use_dataobj"
4422 if test "$no_cache" != 1; then
4423 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4424 fi
4425
4426 if test "$wxUSE_DATAOBJ" = 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}-ipc" >&5
4438 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4439 no_cache=0
4440 # Check whether --enable-ipc or --disable-ipc was given.
4441 if test "${enable_ipc+set}" = set; then
4442 enableval="$enable_ipc"
4443
4444 if test "$enableval" = yes; then
4445 ac_cv_use_ipc='wxUSE_IPC=yes'
4446 else
4447 ac_cv_use_ipc='wxUSE_IPC=no'
4448 fi
4449
4450 else
4451
4452 LINE=`grep "wxUSE_IPC" ${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_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4460
4461 fi;
4462
4463 eval "$ac_cv_use_ipc"
4464 if test "$no_cache" != 1; then
4465 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4466 fi
4467
4468 if test "$wxUSE_IPC" = yes; then
4469 echo "$as_me:$LINENO: result: yes" >&5
4470 echo "${ECHO_T}yes" >&6
4471 else
4472 echo "$as_me:$LINENO: result: no" >&5
4473 echo "${ECHO_T}no" >&6
4474 fi
4475
4476
4477
4478 enablestring=
4479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4480 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4481 no_cache=0
4482 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4483 if test "${enable_apple_ieee+set}" = set; then
4484 enableval="$enable_apple_ieee"
4485
4486 if test "$enableval" = yes; then
4487 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4488 else
4489 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4490 fi
4491
4492 else
4493
4494 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4495 if test "x$LINE" != x ; then
4496 eval "DEFAULT_$LINE"
4497 else
4498 no_cache=1
4499 fi
4500
4501 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4502
4503 fi;
4504
4505 eval "$ac_cv_use_apple_ieee"
4506 if test "$no_cache" != 1; then
4507 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4508 fi
4509
4510 if test "$wxUSE_APPLE_IEEE" = yes; then
4511 echo "$as_me:$LINENO: result: yes" >&5
4512 echo "${ECHO_T}yes" >&6
4513 else
4514 echo "$as_me:$LINENO: result: no" >&5
4515 echo "${ECHO_T}no" >&6
4516 fi
4517
4518
4519 enablestring=
4520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4521 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4522 no_cache=0
4523 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4524 if test "${enable_catch_segvs+set}" = set; then
4525 enableval="$enable_catch_segvs"
4526
4527 if test "$enableval" = yes; then
4528 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4529 else
4530 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4531 fi
4532
4533 else
4534
4535 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4536 if test "x$LINE" != x ; then
4537 eval "DEFAULT_$LINE"
4538 else
4539 no_cache=1
4540 fi
4541
4542 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4543
4544 fi;
4545
4546 eval "$ac_cv_use_catch_segvs"
4547 if test "$no_cache" != 1; then
4548 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4549 fi
4550
4551 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4552 echo "$as_me:$LINENO: result: yes" >&5
4553 echo "${ECHO_T}yes" >&6
4554 else
4555 echo "$as_me:$LINENO: result: no" >&5
4556 echo "${ECHO_T}no" >&6
4557 fi
4558
4559
4560 enablestring=
4561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4562 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4563 no_cache=0
4564 # Check whether --enable-cmdline or --disable-cmdline was given.
4565 if test "${enable_cmdline+set}" = set; then
4566 enableval="$enable_cmdline"
4567
4568 if test "$enableval" = yes; then
4569 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4570 else
4571 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4572 fi
4573
4574 else
4575
4576 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4577 if test "x$LINE" != x ; then
4578 eval "DEFAULT_$LINE"
4579 else
4580 no_cache=1
4581 fi
4582
4583 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4584
4585 fi;
4586
4587 eval "$ac_cv_use_cmdline"
4588 if test "$no_cache" != 1; then
4589 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4590 fi
4591
4592 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4593 echo "$as_me:$LINENO: result: yes" >&5
4594 echo "${ECHO_T}yes" >&6
4595 else
4596 echo "$as_me:$LINENO: result: no" >&5
4597 echo "${ECHO_T}no" >&6
4598 fi
4599
4600
4601 enablestring=
4602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4603 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4604 no_cache=0
4605 # Check whether --enable-datetime or --disable-datetime was given.
4606 if test "${enable_datetime+set}" = set; then
4607 enableval="$enable_datetime"
4608
4609 if test "$enableval" = yes; then
4610 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4611 else
4612 ac_cv_use_datetime='wxUSE_DATETIME=no'
4613 fi
4614
4615 else
4616
4617 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4618 if test "x$LINE" != x ; then
4619 eval "DEFAULT_$LINE"
4620 else
4621 no_cache=1
4622 fi
4623
4624 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4625
4626 fi;
4627
4628 eval "$ac_cv_use_datetime"
4629 if test "$no_cache" != 1; then
4630 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4631 fi
4632
4633 if test "$wxUSE_DATETIME" = yes; then
4634 echo "$as_me:$LINENO: result: yes" >&5
4635 echo "${ECHO_T}yes" >&6
4636 else
4637 echo "$as_me:$LINENO: result: no" >&5
4638 echo "${ECHO_T}no" >&6
4639 fi
4640
4641
4642 enablestring=
4643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4644 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4645 no_cache=0
4646 # Check whether --enable-dialupman or --disable-dialupman was given.
4647 if test "${enable_dialupman+set}" = set; then
4648 enableval="$enable_dialupman"
4649
4650 if test "$enableval" = yes; then
4651 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4652 else
4653 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4654 fi
4655
4656 else
4657
4658 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4659 if test "x$LINE" != x ; then
4660 eval "DEFAULT_$LINE"
4661 else
4662 no_cache=1
4663 fi
4664
4665 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4666
4667 fi;
4668
4669 eval "$ac_cv_use_dialupman"
4670 if test "$no_cache" != 1; then
4671 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4672 fi
4673
4674 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4675 echo "$as_me:$LINENO: result: yes" >&5
4676 echo "${ECHO_T}yes" >&6
4677 else
4678 echo "$as_me:$LINENO: result: no" >&5
4679 echo "${ECHO_T}no" >&6
4680 fi
4681
4682
4683 enablestring=
4684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4685 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4686 no_cache=0
4687 # Check whether --enable-dynlib or --disable-dynlib was given.
4688 if test "${enable_dynlib+set}" = set; then
4689 enableval="$enable_dynlib"
4690
4691 if test "$enableval" = yes; then
4692 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4693 else
4694 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4695 fi
4696
4697 else
4698
4699 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4700 if test "x$LINE" != x ; then
4701 eval "DEFAULT_$LINE"
4702 else
4703 no_cache=1
4704 fi
4705
4706 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4707
4708 fi;
4709
4710 eval "$ac_cv_use_dynlib"
4711 if test "$no_cache" != 1; then
4712 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4713 fi
4714
4715 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4716 echo "$as_me:$LINENO: result: yes" >&5
4717 echo "${ECHO_T}yes" >&6
4718 else
4719 echo "$as_me:$LINENO: result: no" >&5
4720 echo "${ECHO_T}no" >&6
4721 fi
4722
4723
4724 enablestring=
4725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4726 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4727 no_cache=0
4728 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4729 if test "${enable_dynamicloader+set}" = set; then
4730 enableval="$enable_dynamicloader"
4731
4732 if test "$enableval" = yes; then
4733 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4734 else
4735 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4736 fi
4737
4738 else
4739
4740 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4741 if test "x$LINE" != x ; then
4742 eval "DEFAULT_$LINE"
4743 else
4744 no_cache=1
4745 fi
4746
4747 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4748
4749 fi;
4750
4751 eval "$ac_cv_use_dynamicloader"
4752 if test "$no_cache" != 1; then
4753 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4754 fi
4755
4756 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4757 echo "$as_me:$LINENO: result: yes" >&5
4758 echo "${ECHO_T}yes" >&6
4759 else
4760 echo "$as_me:$LINENO: result: no" >&5
4761 echo "${ECHO_T}no" >&6
4762 fi
4763
4764
4765 enablestring=
4766 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4767 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4768 no_cache=0
4769 # Check whether --enable-exceptions or --disable-exceptions was given.
4770 if test "${enable_exceptions+set}" = set; then
4771 enableval="$enable_exceptions"
4772
4773 if test "$enableval" = yes; then
4774 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
4775 else
4776 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
4777 fi
4778
4779 else
4780
4781 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4782 if test "x$LINE" != x ; then
4783 eval "DEFAULT_$LINE"
4784 else
4785 no_cache=1
4786 fi
4787
4788 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4789
4790 fi;
4791
4792 eval "$ac_cv_use_exceptions"
4793 if test "$no_cache" != 1; then
4794 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4795 fi
4796
4797 if test "$wxUSE_EXCEPTIONS" = yes; then
4798 echo "$as_me:$LINENO: result: yes" >&5
4799 echo "${ECHO_T}yes" >&6
4800 else
4801 echo "$as_me:$LINENO: result: no" >&5
4802 echo "${ECHO_T}no" >&6
4803 fi
4804
4805
4806 enablestring=
4807 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4808 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4809 no_cache=0
4810 # Check whether --enable-ffile or --disable-ffile was given.
4811 if test "${enable_ffile+set}" = set; then
4812 enableval="$enable_ffile"
4813
4814 if test "$enableval" = yes; then
4815 ac_cv_use_ffile='wxUSE_FFILE=yes'
4816 else
4817 ac_cv_use_ffile='wxUSE_FFILE=no'
4818 fi
4819
4820 else
4821
4822 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4823 if test "x$LINE" != x ; then
4824 eval "DEFAULT_$LINE"
4825 else
4826 no_cache=1
4827 fi
4828
4829 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4830
4831 fi;
4832
4833 eval "$ac_cv_use_ffile"
4834 if test "$no_cache" != 1; then
4835 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4836 fi
4837
4838 if test "$wxUSE_FFILE" = yes; then
4839 echo "$as_me:$LINENO: result: yes" >&5
4840 echo "${ECHO_T}yes" >&6
4841 else
4842 echo "$as_me:$LINENO: result: no" >&5
4843 echo "${ECHO_T}no" >&6
4844 fi
4845
4846
4847 enablestring=
4848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4849 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4850 no_cache=0
4851 # Check whether --enable-file or --disable-file was given.
4852 if test "${enable_file+set}" = set; then
4853 enableval="$enable_file"
4854
4855 if test "$enableval" = yes; then
4856 ac_cv_use_file='wxUSE_FILE=yes'
4857 else
4858 ac_cv_use_file='wxUSE_FILE=no'
4859 fi
4860
4861 else
4862
4863 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4864 if test "x$LINE" != x ; then
4865 eval "DEFAULT_$LINE"
4866 else
4867 no_cache=1
4868 fi
4869
4870 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4871
4872 fi;
4873
4874 eval "$ac_cv_use_file"
4875 if test "$no_cache" != 1; then
4876 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4877 fi
4878
4879 if test "$wxUSE_FILE" = yes; then
4880 echo "$as_me:$LINENO: result: yes" >&5
4881 echo "${ECHO_T}yes" >&6
4882 else
4883 echo "$as_me:$LINENO: result: no" >&5
4884 echo "${ECHO_T}no" >&6
4885 fi
4886
4887
4888 enablestring=
4889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4890 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4891 no_cache=0
4892 # Check whether --enable-filesystem or --disable-filesystem was given.
4893 if test "${enable_filesystem+set}" = set; then
4894 enableval="$enable_filesystem"
4895
4896 if test "$enableval" = yes; then
4897 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4898 else
4899 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4900 fi
4901
4902 else
4903
4904 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4905 if test "x$LINE" != x ; then
4906 eval "DEFAULT_$LINE"
4907 else
4908 no_cache=1
4909 fi
4910
4911 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4912
4913 fi;
4914
4915 eval "$ac_cv_use_filesystem"
4916 if test "$no_cache" != 1; then
4917 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4918 fi
4919
4920 if test "$wxUSE_FILESYSTEM" = yes; then
4921 echo "$as_me:$LINENO: result: yes" >&5
4922 echo "${ECHO_T}yes" >&6
4923 else
4924 echo "$as_me:$LINENO: result: no" >&5
4925 echo "${ECHO_T}no" >&6
4926 fi
4927
4928
4929 enablestring=
4930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4931 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4932 no_cache=0
4933 # Check whether --enable-fontmap or --disable-fontmap was given.
4934 if test "${enable_fontmap+set}" = set; then
4935 enableval="$enable_fontmap"
4936
4937 if test "$enableval" = yes; then
4938 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4939 else
4940 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4941 fi
4942
4943 else
4944
4945 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4946 if test "x$LINE" != x ; then
4947 eval "DEFAULT_$LINE"
4948 else
4949 no_cache=1
4950 fi
4951
4952 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4953
4954 fi;
4955
4956 eval "$ac_cv_use_fontmap"
4957 if test "$no_cache" != 1; then
4958 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4959 fi
4960
4961 if test "$wxUSE_FONTMAP" = yes; then
4962 echo "$as_me:$LINENO: result: yes" >&5
4963 echo "${ECHO_T}yes" >&6
4964 else
4965 echo "$as_me:$LINENO: result: no" >&5
4966 echo "${ECHO_T}no" >&6
4967 fi
4968
4969
4970 enablestring=
4971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
4972 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
4973 no_cache=0
4974 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4975 if test "${enable_fs_inet+set}" = set; then
4976 enableval="$enable_fs_inet"
4977
4978 if test "$enableval" = yes; then
4979 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
4980 else
4981 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
4982 fi
4983
4984 else
4985
4986 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4987 if test "x$LINE" != x ; then
4988 eval "DEFAULT_$LINE"
4989 else
4990 no_cache=1
4991 fi
4992
4993 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4994
4995 fi;
4996
4997 eval "$ac_cv_use_fs_inet"
4998 if test "$no_cache" != 1; then
4999 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5000 fi
5001
5002 if test "$wxUSE_FS_INET" = yes; then
5003 echo "$as_me:$LINENO: result: yes" >&5
5004 echo "${ECHO_T}yes" >&6
5005 else
5006 echo "$as_me:$LINENO: result: no" >&5
5007 echo "${ECHO_T}no" >&6
5008 fi
5009
5010
5011 enablestring=
5012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5013 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5014 no_cache=0
5015 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5016 if test "${enable_fs_zip+set}" = set; then
5017 enableval="$enable_fs_zip"
5018
5019 if test "$enableval" = yes; then
5020 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5021 else
5022 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5023 fi
5024
5025 else
5026
5027 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5028 if test "x$LINE" != x ; then
5029 eval "DEFAULT_$LINE"
5030 else
5031 no_cache=1
5032 fi
5033
5034 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5035
5036 fi;
5037
5038 eval "$ac_cv_use_fs_zip"
5039 if test "$no_cache" != 1; then
5040 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5041 fi
5042
5043 if test "$wxUSE_FS_ZIP" = yes; then
5044 echo "$as_me:$LINENO: result: yes" >&5
5045 echo "${ECHO_T}yes" >&6
5046 else
5047 echo "$as_me:$LINENO: result: no" >&5
5048 echo "${ECHO_T}no" >&6
5049 fi
5050
5051
5052 enablestring=
5053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5054 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5055 no_cache=0
5056 # Check whether --enable-geometry or --disable-geometry was given.
5057 if test "${enable_geometry+set}" = set; then
5058 enableval="$enable_geometry"
5059
5060 if test "$enableval" = yes; then
5061 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5062 else
5063 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5064 fi
5065
5066 else
5067
5068 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5069 if test "x$LINE" != x ; then
5070 eval "DEFAULT_$LINE"
5071 else
5072 no_cache=1
5073 fi
5074
5075 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5076
5077 fi;
5078
5079 eval "$ac_cv_use_geometry"
5080 if test "$no_cache" != 1; then
5081 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5082 fi
5083
5084 if test "$wxUSE_GEOMETRY" = yes; then
5085 echo "$as_me:$LINENO: result: yes" >&5
5086 echo "${ECHO_T}yes" >&6
5087 else
5088 echo "$as_me:$LINENO: result: no" >&5
5089 echo "${ECHO_T}no" >&6
5090 fi
5091
5092
5093 enablestring=
5094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5095 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5096 no_cache=0
5097 # Check whether --enable-log or --disable-log was given.
5098 if test "${enable_log+set}" = set; then
5099 enableval="$enable_log"
5100
5101 if test "$enableval" = yes; then
5102 ac_cv_use_log='wxUSE_LOG=yes'
5103 else
5104 ac_cv_use_log='wxUSE_LOG=no'
5105 fi
5106
5107 else
5108
5109 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5110 if test "x$LINE" != x ; then
5111 eval "DEFAULT_$LINE"
5112 else
5113 no_cache=1
5114 fi
5115
5116 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5117
5118 fi;
5119
5120 eval "$ac_cv_use_log"
5121 if test "$no_cache" != 1; then
5122 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5123 fi
5124
5125 if test "$wxUSE_LOG" = yes; then
5126 echo "$as_me:$LINENO: result: yes" >&5
5127 echo "${ECHO_T}yes" >&6
5128 else
5129 echo "$as_me:$LINENO: result: no" >&5
5130 echo "${ECHO_T}no" >&6
5131 fi
5132
5133
5134 enablestring=
5135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5136 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5137 no_cache=0
5138 # Check whether --enable-longlong or --disable-longlong was given.
5139 if test "${enable_longlong+set}" = set; then
5140 enableval="$enable_longlong"
5141
5142 if test "$enableval" = yes; then
5143 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5144 else
5145 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5146 fi
5147
5148 else
5149
5150 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5151 if test "x$LINE" != x ; then
5152 eval "DEFAULT_$LINE"
5153 else
5154 no_cache=1
5155 fi
5156
5157 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5158
5159 fi;
5160
5161 eval "$ac_cv_use_longlong"
5162 if test "$no_cache" != 1; then
5163 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5164 fi
5165
5166 if test "$wxUSE_LONGLONG" = yes; then
5167 echo "$as_me:$LINENO: result: yes" >&5
5168 echo "${ECHO_T}yes" >&6
5169 else
5170 echo "$as_me:$LINENO: result: no" >&5
5171 echo "${ECHO_T}no" >&6
5172 fi
5173
5174
5175 enablestring=
5176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5177 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5178 no_cache=0
5179 # Check whether --enable-mimetype or --disable-mimetype was given.
5180 if test "${enable_mimetype+set}" = set; then
5181 enableval="$enable_mimetype"
5182
5183 if test "$enableval" = yes; then
5184 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5185 else
5186 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5187 fi
5188
5189 else
5190
5191 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5192 if test "x$LINE" != x ; then
5193 eval "DEFAULT_$LINE"
5194 else
5195 no_cache=1
5196 fi
5197
5198 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5199
5200 fi;
5201
5202 eval "$ac_cv_use_mimetype"
5203 if test "$no_cache" != 1; then
5204 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5205 fi
5206
5207 if test "$wxUSE_MIMETYPE" = yes; then
5208 echo "$as_me:$LINENO: result: yes" >&5
5209 echo "${ECHO_T}yes" >&6
5210 else
5211 echo "$as_me:$LINENO: result: no" >&5
5212 echo "${ECHO_T}no" >&6
5213 fi
5214
5215
5216 enablestring=
5217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5218 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5219 no_cache=0
5220 # Check whether --enable-mslu or --disable-mslu was given.
5221 if test "${enable_mslu+set}" = set; then
5222 enableval="$enable_mslu"
5223
5224 if test "$enableval" = yes; then
5225 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5226 else
5227 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5228 fi
5229
5230 else
5231
5232 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5233 if test "x$LINE" != x ; then
5234 eval "DEFAULT_$LINE"
5235 else
5236 no_cache=1
5237 fi
5238
5239 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5240
5241 fi;
5242
5243 eval "$ac_cv_use_mslu"
5244 if test "$no_cache" != 1; then
5245 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5246 fi
5247
5248 if test "$wxUSE_UNICODE_MSLU" = yes; then
5249 echo "$as_me:$LINENO: result: yes" >&5
5250 echo "${ECHO_T}yes" >&6
5251 else
5252 echo "$as_me:$LINENO: result: no" >&5
5253 echo "${ECHO_T}no" >&6
5254 fi
5255
5256
5257 enablestring=
5258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5259 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5260 no_cache=0
5261 # Check whether --enable-snglinst or --disable-snglinst was given.
5262 if test "${enable_snglinst+set}" = set; then
5263 enableval="$enable_snglinst"
5264
5265 if test "$enableval" = yes; then
5266 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5267 else
5268 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5269 fi
5270
5271 else
5272
5273 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5274 if test "x$LINE" != x ; then
5275 eval "DEFAULT_$LINE"
5276 else
5277 no_cache=1
5278 fi
5279
5280 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5281
5282 fi;
5283
5284 eval "$ac_cv_use_snglinst"
5285 if test "$no_cache" != 1; then
5286 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5287 fi
5288
5289 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5290 echo "$as_me:$LINENO: result: yes" >&5
5291 echo "${ECHO_T}yes" >&6
5292 else
5293 echo "$as_me:$LINENO: result: no" >&5
5294 echo "${ECHO_T}no" >&6
5295 fi
5296
5297
5298 enablestring=
5299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5300 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5301 no_cache=0
5302 # Check whether --enable-streams or --disable-streams was given.
5303 if test "${enable_streams+set}" = set; then
5304 enableval="$enable_streams"
5305
5306 if test "$enableval" = yes; then
5307 ac_cv_use_streams='wxUSE_STREAMS=yes'
5308 else
5309 ac_cv_use_streams='wxUSE_STREAMS=no'
5310 fi
5311
5312 else
5313
5314 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5315 if test "x$LINE" != x ; then
5316 eval "DEFAULT_$LINE"
5317 else
5318 no_cache=1
5319 fi
5320
5321 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5322
5323 fi;
5324
5325 eval "$ac_cv_use_streams"
5326 if test "$no_cache" != 1; then
5327 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5328 fi
5329
5330 if test "$wxUSE_STREAMS" = yes; then
5331 echo "$as_me:$LINENO: result: yes" >&5
5332 echo "${ECHO_T}yes" >&6
5333 else
5334 echo "$as_me:$LINENO: result: no" >&5
5335 echo "${ECHO_T}no" >&6
5336 fi
5337
5338
5339 enablestring=
5340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5341 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5342 no_cache=0
5343 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5344 if test "${enable_std_iostreams+set}" = set; then
5345 enableval="$enable_std_iostreams"
5346
5347 if test "$enableval" = yes; then
5348 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5349 else
5350 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5351 fi
5352
5353 else
5354
5355 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5356 if test "x$LINE" != x ; then
5357 eval "DEFAULT_$LINE"
5358 else
5359 no_cache=1
5360 fi
5361
5362 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5363
5364 fi;
5365
5366 eval "$ac_cv_use_std_iostreams"
5367 if test "$no_cache" != 1; then
5368 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5369 fi
5370
5371 if test "$wxUSE_STD_IOSTREAM" = yes; then
5372 echo "$as_me:$LINENO: result: yes" >&5
5373 echo "${ECHO_T}yes" >&6
5374 else
5375 echo "$as_me:$LINENO: result: no" >&5
5376 echo "${ECHO_T}no" >&6
5377 fi
5378
5379
5380 enablestring=
5381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5382 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5383 no_cache=0
5384 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5385 if test "${enable_stopwatch+set}" = set; then
5386 enableval="$enable_stopwatch"
5387
5388 if test "$enableval" = yes; then
5389 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5390 else
5391 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5392 fi
5393
5394 else
5395
5396 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5397 if test "x$LINE" != x ; then
5398 eval "DEFAULT_$LINE"
5399 else
5400 no_cache=1
5401 fi
5402
5403 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5404
5405 fi;
5406
5407 eval "$ac_cv_use_stopwatch"
5408 if test "$no_cache" != 1; then
5409 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5410 fi
5411
5412 if test "$wxUSE_STOPWATCH" = yes; then
5413 echo "$as_me:$LINENO: result: yes" >&5
5414 echo "${ECHO_T}yes" >&6
5415 else
5416 echo "$as_me:$LINENO: result: no" >&5
5417 echo "${ECHO_T}no" >&6
5418 fi
5419
5420
5421 enablestring=
5422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5423 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5424 no_cache=0
5425 # Check whether --enable-system_options or --disable-system_options was given.
5426 if test "${enable_system_options+set}" = set; then
5427 enableval="$enable_system_options"
5428
5429 if test "$enableval" = yes; then
5430 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5431 else
5432 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5433 fi
5434
5435 else
5436
5437 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5438 if test "x$LINE" != x ; then
5439 eval "DEFAULT_$LINE"
5440 else
5441 no_cache=1
5442 fi
5443
5444 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5445
5446 fi;
5447
5448 eval "$ac_cv_use_system_options"
5449 if test "$no_cache" != 1; then
5450 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5451 fi
5452
5453 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5454 echo "$as_me:$LINENO: result: yes" >&5
5455 echo "${ECHO_T}yes" >&6
5456 else
5457 echo "$as_me:$LINENO: result: no" >&5
5458 echo "${ECHO_T}no" >&6
5459 fi
5460
5461
5462 enablestring=
5463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5464 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5465 no_cache=0
5466 # Check whether --enable-textbuf or --disable-textbuf was given.
5467 if test "${enable_textbuf+set}" = set; then
5468 enableval="$enable_textbuf"
5469
5470 if test "$enableval" = yes; then
5471 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5472 else
5473 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5474 fi
5475
5476 else
5477
5478 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5479 if test "x$LINE" != x ; then
5480 eval "DEFAULT_$LINE"
5481 else
5482 no_cache=1
5483 fi
5484
5485 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5486
5487 fi;
5488
5489 eval "$ac_cv_use_textbuf"
5490 if test "$no_cache" != 1; then
5491 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5492 fi
5493
5494 if test "$wxUSE_TEXTBUFFER" = yes; then
5495 echo "$as_me:$LINENO: result: yes" >&5
5496 echo "${ECHO_T}yes" >&6
5497 else
5498 echo "$as_me:$LINENO: result: no" >&5
5499 echo "${ECHO_T}no" >&6
5500 fi
5501
5502
5503 enablestring=
5504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5505 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5506 no_cache=0
5507 # Check whether --enable-textfile or --disable-textfile was given.
5508 if test "${enable_textfile+set}" = set; then
5509 enableval="$enable_textfile"
5510
5511 if test "$enableval" = yes; then
5512 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5513 else
5514 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5515 fi
5516
5517 else
5518
5519 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5520 if test "x$LINE" != x ; then
5521 eval "DEFAULT_$LINE"
5522 else
5523 no_cache=1
5524 fi
5525
5526 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5527
5528 fi;
5529
5530 eval "$ac_cv_use_textfile"
5531 if test "$no_cache" != 1; then
5532 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5533 fi
5534
5535 if test "$wxUSE_TEXTFILE" = yes; then
5536 echo "$as_me:$LINENO: result: yes" >&5
5537 echo "${ECHO_T}yes" >&6
5538 else
5539 echo "$as_me:$LINENO: result: no" >&5
5540 echo "${ECHO_T}no" >&6
5541 fi
5542
5543
5544 enablestring=
5545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5546 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5547 no_cache=0
5548 # Check whether --enable-timer or --disable-timer was given.
5549 if test "${enable_timer+set}" = set; then
5550 enableval="$enable_timer"
5551
5552 if test "$enableval" = yes; then
5553 ac_cv_use_timer='wxUSE_TIMER=yes'
5554 else
5555 ac_cv_use_timer='wxUSE_TIMER=no'
5556 fi
5557
5558 else
5559
5560 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5561 if test "x$LINE" != x ; then
5562 eval "DEFAULT_$LINE"
5563 else
5564 no_cache=1
5565 fi
5566
5567 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5568
5569 fi;
5570
5571 eval "$ac_cv_use_timer"
5572 if test "$no_cache" != 1; then
5573 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5574 fi
5575
5576 if test "$wxUSE_TIMER" = yes; then
5577 echo "$as_me:$LINENO: result: yes" >&5
5578 echo "${ECHO_T}yes" >&6
5579 else
5580 echo "$as_me:$LINENO: result: no" >&5
5581 echo "${ECHO_T}no" >&6
5582 fi
5583
5584
5585 enablestring=
5586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5587 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5588 no_cache=0
5589 # Check whether --enable-unicode or --disable-unicode was given.
5590 if test "${enable_unicode+set}" = set; then
5591 enableval="$enable_unicode"
5592
5593 if test "$enableval" = yes; then
5594 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5595 else
5596 ac_cv_use_unicode='wxUSE_UNICODE=no'
5597 fi
5598
5599 else
5600
5601 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5602 if test "x$LINE" != x ; then
5603 eval "DEFAULT_$LINE"
5604 else
5605 no_cache=1
5606 fi
5607
5608 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5609
5610 fi;
5611
5612 eval "$ac_cv_use_unicode"
5613 if test "$no_cache" != 1; then
5614 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5615 fi
5616
5617 if test "$wxUSE_UNICODE" = yes; then
5618 echo "$as_me:$LINENO: result: yes" >&5
5619 echo "${ECHO_T}yes" >&6
5620 else
5621 echo "$as_me:$LINENO: result: no" >&5
5622 echo "${ECHO_T}no" >&6
5623 fi
5624
5625
5626 enablestring=
5627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5628 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5629 no_cache=0
5630 # Check whether --enable-sound or --disable-sound was given.
5631 if test "${enable_sound+set}" = set; then
5632 enableval="$enable_sound"
5633
5634 if test "$enableval" = yes; then
5635 ac_cv_use_sound='wxUSE_SOUND=yes'
5636 else
5637 ac_cv_use_sound='wxUSE_SOUND=no'
5638 fi
5639
5640 else
5641
5642 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5643 if test "x$LINE" != x ; then
5644 eval "DEFAULT_$LINE"
5645 else
5646 no_cache=1
5647 fi
5648
5649 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5650
5651 fi;
5652
5653 eval "$ac_cv_use_sound"
5654 if test "$no_cache" != 1; then
5655 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5656 fi
5657
5658 if test "$wxUSE_SOUND" = yes; then
5659 echo "$as_me:$LINENO: result: yes" >&5
5660 echo "${ECHO_T}yes" >&6
5661 else
5662 echo "$as_me:$LINENO: result: no" >&5
5663 echo "${ECHO_T}no" >&6
5664 fi
5665
5666
5667 enablestring=
5668 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5669 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5670 no_cache=0
5671 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5672 if test "${enable_wxprintfv+set}" = set; then
5673 enableval="$enable_wxprintfv"
5674
5675 if test "$enableval" = yes; then
5676 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5677 else
5678 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5679 fi
5680
5681 else
5682
5683 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5684 if test "x$LINE" != x ; then
5685 eval "DEFAULT_$LINE"
5686 else
5687 no_cache=1
5688 fi
5689
5690 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5691
5692 fi;
5693
5694 eval "$ac_cv_use_wxprintfv"
5695 if test "$no_cache" != 1; then
5696 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5697 fi
5698
5699 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5700 echo "$as_me:$LINENO: result: yes" >&5
5701 echo "${ECHO_T}yes" >&6
5702 else
5703 echo "$as_me:$LINENO: result: no" >&5
5704 echo "${ECHO_T}no" >&6
5705 fi
5706
5707
5708 enablestring=
5709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5710 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5711 no_cache=0
5712 # Check whether --enable-zipstream or --disable-zipstream was given.
5713 if test "${enable_zipstream+set}" = set; then
5714 enableval="$enable_zipstream"
5715
5716 if test "$enableval" = yes; then
5717 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5718 else
5719 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5720 fi
5721
5722 else
5723
5724 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5725 if test "x$LINE" != x ; then
5726 eval "DEFAULT_$LINE"
5727 else
5728 no_cache=1
5729 fi
5730
5731 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5732
5733 fi;
5734
5735 eval "$ac_cv_use_zipstream"
5736 if test "$no_cache" != 1; then
5737 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5738 fi
5739
5740 if test "$wxUSE_ZIPSTREAM" = yes; then
5741 echo "$as_me:$LINENO: result: yes" >&5
5742 echo "${ECHO_T}yes" >&6
5743 else
5744 echo "$as_me:$LINENO: result: no" >&5
5745 echo "${ECHO_T}no" >&6
5746 fi
5747
5748
5749 enablestring=
5750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gzstream" >&5
5751 echo $ECHO_N "checking for --${enablestring:-enable}-gzstream... $ECHO_C" >&6
5752 no_cache=0
5753 # Check whether --enable-gzstream or --disable-gzstream was given.
5754 if test "${enable_gzstream+set}" = set; then
5755 enableval="$enable_gzstream"
5756
5757 if test "$enableval" = yes; then
5758 ac_cv_use_gzstream='wxUSE_GZSTREAM=yes'
5759 else
5760 ac_cv_use_gzstream='wxUSE_GZSTREAM=no'
5761 fi
5762
5763 else
5764
5765 LINE=`grep "wxUSE_GZSTREAM" ${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_gzstream='wxUSE_GZSTREAM='$DEFAULT_wxUSE_GZSTREAM
5773
5774 fi;
5775
5776 eval "$ac_cv_use_gzstream"
5777 if test "$no_cache" != 1; then
5778 echo $ac_cv_use_gzstream >> ${wx_arg_cache_file}.tmp
5779 fi
5780
5781 if test "$wxUSE_GZSTREAM" = 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
5791 enablestring=
5792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5793 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5794 no_cache=0
5795 # Check whether --enable-url or --disable-url was given.
5796 if test "${enable_url+set}" = set; then
5797 enableval="$enable_url"
5798
5799 if test "$enableval" = yes; then
5800 ac_cv_use_url='wxUSE_URL=yes'
5801 else
5802 ac_cv_use_url='wxUSE_URL=no'
5803 fi
5804
5805 else
5806
5807 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5808 if test "x$LINE" != x ; then
5809 eval "DEFAULT_$LINE"
5810 else
5811 no_cache=1
5812 fi
5813
5814 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5815
5816 fi;
5817
5818 eval "$ac_cv_use_url"
5819 if test "$no_cache" != 1; then
5820 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5821 fi
5822
5823 if test "$wxUSE_URL" = yes; then
5824 echo "$as_me:$LINENO: result: yes" >&5
5825 echo "${ECHO_T}yes" >&6
5826 else
5827 echo "$as_me:$LINENO: result: no" >&5
5828 echo "${ECHO_T}no" >&6
5829 fi
5830
5831
5832 enablestring=
5833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5834 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5835 no_cache=0
5836 # Check whether --enable-protocol or --disable-protocol was given.
5837 if test "${enable_protocol+set}" = set; then
5838 enableval="$enable_protocol"
5839
5840 if test "$enableval" = yes; then
5841 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5842 else
5843 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5844 fi
5845
5846 else
5847
5848 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5849 if test "x$LINE" != x ; then
5850 eval "DEFAULT_$LINE"
5851 else
5852 no_cache=1
5853 fi
5854
5855 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5856
5857 fi;
5858
5859 eval "$ac_cv_use_protocol"
5860 if test "$no_cache" != 1; then
5861 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5862 fi
5863
5864 if test "$wxUSE_PROTOCOL" = yes; then
5865 echo "$as_me:$LINENO: result: yes" >&5
5866 echo "${ECHO_T}yes" >&6
5867 else
5868 echo "$as_me:$LINENO: result: no" >&5
5869 echo "${ECHO_T}no" >&6
5870 fi
5871
5872
5873 enablestring=
5874 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5875 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5876 no_cache=0
5877 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5878 if test "${enable_protocol_http+set}" = set; then
5879 enableval="$enable_protocol_http"
5880
5881 if test "$enableval" = yes; then
5882 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5883 else
5884 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5885 fi
5886
5887 else
5888
5889 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5890 if test "x$LINE" != x ; then
5891 eval "DEFAULT_$LINE"
5892 else
5893 no_cache=1
5894 fi
5895
5896 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5897
5898 fi;
5899
5900 eval "$ac_cv_use_protocol_http"
5901 if test "$no_cache" != 1; then
5902 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5903 fi
5904
5905 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5906 echo "$as_me:$LINENO: result: yes" >&5
5907 echo "${ECHO_T}yes" >&6
5908 else
5909 echo "$as_me:$LINENO: result: no" >&5
5910 echo "${ECHO_T}no" >&6
5911 fi
5912
5913
5914 enablestring=
5915 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5916 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5917 no_cache=0
5918 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5919 if test "${enable_protocol_ftp+set}" = set; then
5920 enableval="$enable_protocol_ftp"
5921
5922 if test "$enableval" = yes; then
5923 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5924 else
5925 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5926 fi
5927
5928 else
5929
5930 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5931 if test "x$LINE" != x ; then
5932 eval "DEFAULT_$LINE"
5933 else
5934 no_cache=1
5935 fi
5936
5937 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5938
5939 fi;
5940
5941 eval "$ac_cv_use_protocol_ftp"
5942 if test "$no_cache" != 1; then
5943 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5944 fi
5945
5946 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5947 echo "$as_me:$LINENO: result: yes" >&5
5948 echo "${ECHO_T}yes" >&6
5949 else
5950 echo "$as_me:$LINENO: result: no" >&5
5951 echo "${ECHO_T}no" >&6
5952 fi
5953
5954
5955 enablestring=
5956 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5957 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5958 no_cache=0
5959 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5960 if test "${enable_protocol_file+set}" = set; then
5961 enableval="$enable_protocol_file"
5962
5963 if test "$enableval" = yes; then
5964 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5965 else
5966 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5967 fi
5968
5969 else
5970
5971 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5972 if test "x$LINE" != x ; then
5973 eval "DEFAULT_$LINE"
5974 else
5975 no_cache=1
5976 fi
5977
5978 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5979
5980 fi;
5981
5982 eval "$ac_cv_use_protocol_file"
5983 if test "$no_cache" != 1; then
5984 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5985 fi
5986
5987 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5988 echo "$as_me:$LINENO: result: yes" >&5
5989 echo "${ECHO_T}yes" >&6
5990 else
5991 echo "$as_me:$LINENO: result: no" >&5
5992 echo "${ECHO_T}no" >&6
5993 fi
5994
5995
5996
5997
5998
5999 enablestring=
6000 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6001 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6002 no_cache=0
6003 # Check whether --enable-threads or --disable-threads was given.
6004 if test "${enable_threads+set}" = set; then
6005 enableval="$enable_threads"
6006
6007 if test "$enableval" = yes; then
6008 ac_cv_use_threads='wxUSE_THREADS=yes'
6009 else
6010 ac_cv_use_threads='wxUSE_THREADS=no'
6011 fi
6012
6013 else
6014
6015 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6016 if test "x$LINE" != x ; then
6017 eval "DEFAULT_$LINE"
6018 else
6019 no_cache=1
6020 fi
6021
6022 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6023
6024 fi;
6025
6026 eval "$ac_cv_use_threads"
6027 if test "$no_cache" != 1; then
6028 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6029 fi
6030
6031 if test "$wxUSE_THREADS" = yes; then
6032 echo "$as_me:$LINENO: result: yes" >&5
6033 echo "${ECHO_T}yes" >&6
6034 else
6035 echo "$as_me:$LINENO: result: no" >&5
6036 echo "${ECHO_T}no" >&6
6037 fi
6038
6039
6040 if test "$wxUSE_GUI" = "yes"; then
6041
6042
6043
6044 enablestring=
6045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6046 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6047 no_cache=0
6048 # Check whether --enable-docview or --disable-docview was given.
6049 if test "${enable_docview+set}" = set; then
6050 enableval="$enable_docview"
6051
6052 if test "$enableval" = yes; then
6053 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6054 else
6055 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6056 fi
6057
6058 else
6059
6060 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6061 if test "x$LINE" != x ; then
6062 eval "DEFAULT_$LINE"
6063 else
6064 no_cache=1
6065 fi
6066
6067 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6068
6069 fi;
6070
6071 eval "$ac_cv_use_docview"
6072 if test "$no_cache" != 1; then
6073 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6074 fi
6075
6076 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6077 echo "$as_me:$LINENO: result: yes" >&5
6078 echo "${ECHO_T}yes" >&6
6079 else
6080 echo "$as_me:$LINENO: result: no" >&5
6081 echo "${ECHO_T}no" >&6
6082 fi
6083
6084
6085 enablestring=
6086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6087 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6088 no_cache=0
6089 # Check whether --enable-help or --disable-help was given.
6090 if test "${enable_help+set}" = set; then
6091 enableval="$enable_help"
6092
6093 if test "$enableval" = yes; then
6094 ac_cv_use_help='wxUSE_HELP=yes'
6095 else
6096 ac_cv_use_help='wxUSE_HELP=no'
6097 fi
6098
6099 else
6100
6101 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6102 if test "x$LINE" != x ; then
6103 eval "DEFAULT_$LINE"
6104 else
6105 no_cache=1
6106 fi
6107
6108 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6109
6110 fi;
6111
6112 eval "$ac_cv_use_help"
6113 if test "$no_cache" != 1; then
6114 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6115 fi
6116
6117 if test "$wxUSE_HELP" = yes; then
6118 echo "$as_me:$LINENO: result: yes" >&5
6119 echo "${ECHO_T}yes" >&6
6120 else
6121 echo "$as_me:$LINENO: result: no" >&5
6122 echo "${ECHO_T}no" >&6
6123 fi
6124
6125
6126 enablestring=
6127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6128 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6129 no_cache=0
6130 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6131 if test "${enable_mshtmlhelp+set}" = set; then
6132 enableval="$enable_mshtmlhelp"
6133
6134 if test "$enableval" = yes; then
6135 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6136 else
6137 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6138 fi
6139
6140 else
6141
6142 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6143 if test "x$LINE" != x ; then
6144 eval "DEFAULT_$LINE"
6145 else
6146 no_cache=1
6147 fi
6148
6149 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6150
6151 fi;
6152
6153 eval "$ac_cv_use_mshtmlhelp"
6154 if test "$no_cache" != 1; then
6155 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6156 fi
6157
6158 if test "$wxUSE_MS_HTML_HELP" = yes; then
6159 echo "$as_me:$LINENO: result: yes" >&5
6160 echo "${ECHO_T}yes" >&6
6161 else
6162 echo "$as_me:$LINENO: result: no" >&5
6163 echo "${ECHO_T}no" >&6
6164 fi
6165
6166
6167 enablestring=
6168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6169 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6170 no_cache=0
6171 # Check whether --enable-html or --disable-html was given.
6172 if test "${enable_html+set}" = set; then
6173 enableval="$enable_html"
6174
6175 if test "$enableval" = yes; then
6176 ac_cv_use_html='wxUSE_HTML=yes'
6177 else
6178 ac_cv_use_html='wxUSE_HTML=no'
6179 fi
6180
6181 else
6182
6183 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6184 if test "x$LINE" != x ; then
6185 eval "DEFAULT_$LINE"
6186 else
6187 no_cache=1
6188 fi
6189
6190 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6191
6192 fi;
6193
6194 eval "$ac_cv_use_html"
6195 if test "$no_cache" != 1; then
6196 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6197 fi
6198
6199 if test "$wxUSE_HTML" = yes; then
6200 echo "$as_me:$LINENO: result: yes" >&5
6201 echo "${ECHO_T}yes" >&6
6202 else
6203 echo "$as_me:$LINENO: result: no" >&5
6204 echo "${ECHO_T}no" >&6
6205 fi
6206
6207
6208 enablestring=
6209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6210 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6211 no_cache=0
6212 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6213 if test "${enable_htmlhelp+set}" = set; then
6214 enableval="$enable_htmlhelp"
6215
6216 if test "$enableval" = yes; then
6217 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6218 else
6219 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6220 fi
6221
6222 else
6223
6224 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6225 if test "x$LINE" != x ; then
6226 eval "DEFAULT_$LINE"
6227 else
6228 no_cache=1
6229 fi
6230
6231 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6232
6233 fi;
6234
6235 eval "$ac_cv_use_htmlhelp"
6236 if test "$no_cache" != 1; then
6237 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6238 fi
6239
6240 if test "$wxUSE_WXHTML_HELP" = yes; then
6241 echo "$as_me:$LINENO: result: yes" >&5
6242 echo "${ECHO_T}yes" >&6
6243 else
6244 echo "$as_me:$LINENO: result: no" >&5
6245 echo "${ECHO_T}no" >&6
6246 fi
6247
6248
6249 enablestring=
6250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6251 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6252 no_cache=0
6253 # Check whether --enable-constraints or --disable-constraints was given.
6254 if test "${enable_constraints+set}" = set; then
6255 enableval="$enable_constraints"
6256
6257 if test "$enableval" = yes; then
6258 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6259 else
6260 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6261 fi
6262
6263 else
6264
6265 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6266 if test "x$LINE" != x ; then
6267 eval "DEFAULT_$LINE"
6268 else
6269 no_cache=1
6270 fi
6271
6272 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6273
6274 fi;
6275
6276 eval "$ac_cv_use_constraints"
6277 if test "$no_cache" != 1; then
6278 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6279 fi
6280
6281 if test "$wxUSE_CONSTRAINTS" = yes; then
6282 echo "$as_me:$LINENO: result: yes" >&5
6283 echo "${ECHO_T}yes" >&6
6284 else
6285 echo "$as_me:$LINENO: result: no" >&5
6286 echo "${ECHO_T}no" >&6
6287 fi
6288
6289
6290 enablestring=
6291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6292 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6293 no_cache=0
6294 # Check whether --enable-printarch or --disable-printarch was given.
6295 if test "${enable_printarch+set}" = set; then
6296 enableval="$enable_printarch"
6297
6298 if test "$enableval" = yes; then
6299 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6300 else
6301 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6302 fi
6303
6304 else
6305
6306 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6307 if test "x$LINE" != x ; then
6308 eval "DEFAULT_$LINE"
6309 else
6310 no_cache=1
6311 fi
6312
6313 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6314
6315 fi;
6316
6317 eval "$ac_cv_use_printarch"
6318 if test "$no_cache" != 1; then
6319 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6320 fi
6321
6322 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6323 echo "$as_me:$LINENO: result: yes" >&5
6324 echo "${ECHO_T}yes" >&6
6325 else
6326 echo "$as_me:$LINENO: result: no" >&5
6327 echo "${ECHO_T}no" >&6
6328 fi
6329
6330
6331 enablestring=
6332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6333 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6334 no_cache=0
6335 # Check whether --enable-mdi or --disable-mdi was given.
6336 if test "${enable_mdi+set}" = set; then
6337 enableval="$enable_mdi"
6338
6339 if test "$enableval" = yes; then
6340 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
6341 else
6342 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
6343 fi
6344
6345 else
6346
6347 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6348 if test "x$LINE" != x ; then
6349 eval "DEFAULT_$LINE"
6350 else
6351 no_cache=1
6352 fi
6353
6354 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6355
6356 fi;
6357
6358 eval "$ac_cv_use_mdi"
6359 if test "$no_cache" != 1; then
6360 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6361 fi
6362
6363 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6364 echo "$as_me:$LINENO: result: yes" >&5
6365 echo "${ECHO_T}yes" >&6
6366 else
6367 echo "$as_me:$LINENO: result: no" >&5
6368 echo "${ECHO_T}no" >&6
6369 fi
6370
6371
6372 enablestring=
6373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6374 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6375 no_cache=0
6376 # Check whether --enable-loggui or --disable-loggui was given.
6377 if test "${enable_loggui+set}" = set; then
6378 enableval="$enable_loggui"
6379
6380 if test "$enableval" = yes; then
6381 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6382 else
6383 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6384 fi
6385
6386 else
6387
6388 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6389 if test "x$LINE" != x ; then
6390 eval "DEFAULT_$LINE"
6391 else
6392 no_cache=1
6393 fi
6394
6395 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6396
6397 fi;
6398
6399 eval "$ac_cv_use_loggui"
6400 if test "$no_cache" != 1; then
6401 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6402 fi
6403
6404 if test "$wxUSE_LOGGUI" = yes; then
6405 echo "$as_me:$LINENO: result: yes" >&5
6406 echo "${ECHO_T}yes" >&6
6407 else
6408 echo "$as_me:$LINENO: result: no" >&5
6409 echo "${ECHO_T}no" >&6
6410 fi
6411
6412
6413 enablestring=
6414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6415 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6416 no_cache=0
6417 # Check whether --enable-logwin or --disable-logwin was given.
6418 if test "${enable_logwin+set}" = set; then
6419 enableval="$enable_logwin"
6420
6421 if test "$enableval" = yes; then
6422 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6423 else
6424 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6425 fi
6426
6427 else
6428
6429 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6430 if test "x$LINE" != x ; then
6431 eval "DEFAULT_$LINE"
6432 else
6433 no_cache=1
6434 fi
6435
6436 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6437
6438 fi;
6439
6440 eval "$ac_cv_use_logwin"
6441 if test "$no_cache" != 1; then
6442 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6443 fi
6444
6445 if test "$wxUSE_LOGWINDOW" = yes; then
6446 echo "$as_me:$LINENO: result: yes" >&5
6447 echo "${ECHO_T}yes" >&6
6448 else
6449 echo "$as_me:$LINENO: result: no" >&5
6450 echo "${ECHO_T}no" >&6
6451 fi
6452
6453
6454 enablestring=
6455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6456 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6457 no_cache=0
6458 # Check whether --enable-logdialog or --disable-logdialog was given.
6459 if test "${enable_logdialog+set}" = set; then
6460 enableval="$enable_logdialog"
6461
6462 if test "$enableval" = yes; then
6463 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6464 else
6465 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6466 fi
6467
6468 else
6469
6470 LINE=`grep "wxUSE_LOGDIALOG" ${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_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6478
6479 fi;
6480
6481 eval "$ac_cv_use_logdialog"
6482 if test "$no_cache" != 1; then
6483 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6484 fi
6485
6486 if test "$wxUSE_LOGDIALOG" = 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 enablestring=
6497 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6498 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6499 no_cache=0
6500 # Check whether --enable-postscript or --disable-postscript was given.
6501 if test "${enable_postscript+set}" = set; then
6502 enableval="$enable_postscript"
6503
6504 if test "$enableval" = yes; then
6505 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6506 else
6507 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6508 fi
6509
6510 else
6511
6512 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6513 if test "x$LINE" != x ; then
6514 eval "DEFAULT_$LINE"
6515 else
6516 no_cache=1
6517 fi
6518
6519 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6520
6521 fi;
6522
6523 eval "$ac_cv_use_postscript"
6524 if test "$no_cache" != 1; then
6525 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6526 fi
6527
6528 if test "$wxUSE_POSTSCRIPT" = yes; then
6529 echo "$as_me:$LINENO: result: yes" >&5
6530 echo "${ECHO_T}yes" >&6
6531 else
6532 echo "$as_me:$LINENO: result: no" >&5
6533 echo "${ECHO_T}no" >&6
6534 fi
6535
6536
6537
6538
6539
6540 enablestring=
6541 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6542 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6543 no_cache=0
6544 # Check whether --enable-prologio or --disable-prologio was given.
6545 if test "${enable_prologio+set}" = set; then
6546 enableval="$enable_prologio"
6547
6548 if test "$enableval" = yes; then
6549 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6550 else
6551 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6552 fi
6553
6554 else
6555
6556 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6557 if test "x$LINE" != x ; then
6558 eval "DEFAULT_$LINE"
6559 else
6560 no_cache=1
6561 fi
6562
6563 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6564
6565 fi;
6566
6567 eval "$ac_cv_use_prologio"
6568 if test "$no_cache" != 1; then
6569 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6570 fi
6571
6572 if test "$wxUSE_PROLOGIO" = yes; then
6573 echo "$as_me:$LINENO: result: yes" >&5
6574 echo "${ECHO_T}yes" >&6
6575 else
6576 echo "$as_me:$LINENO: result: no" >&5
6577 echo "${ECHO_T}no" >&6
6578 fi
6579
6580
6581 enablestring=
6582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6583 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6584 no_cache=0
6585 # Check whether --enable-resources or --disable-resources was given.
6586 if test "${enable_resources+set}" = set; then
6587 enableval="$enable_resources"
6588
6589 if test "$enableval" = yes; then
6590 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6591 else
6592 ac_cv_use_resources='wxUSE_RESOURCES=no'
6593 fi
6594
6595 else
6596
6597 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6598 if test "x$LINE" != x ; then
6599 eval "DEFAULT_$LINE"
6600 else
6601 no_cache=1
6602 fi
6603
6604 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6605
6606 fi;
6607
6608 eval "$ac_cv_use_resources"
6609 if test "$no_cache" != 1; then
6610 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6611 fi
6612
6613 if test "$wxUSE_RESOURCES" = yes; then
6614 echo "$as_me:$LINENO: result: yes" >&5
6615 echo "${ECHO_T}yes" >&6
6616 else
6617 echo "$as_me:$LINENO: result: no" >&5
6618 echo "${ECHO_T}no" >&6
6619 fi
6620
6621
6622
6623
6624 enablestring=
6625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6626 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6627 no_cache=0
6628 # Check whether --enable-clipboard or --disable-clipboard was given.
6629 if test "${enable_clipboard+set}" = set; then
6630 enableval="$enable_clipboard"
6631
6632 if test "$enableval" = yes; then
6633 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6634 else
6635 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6636 fi
6637
6638 else
6639
6640 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6641 if test "x$LINE" != x ; then
6642 eval "DEFAULT_$LINE"
6643 else
6644 no_cache=1
6645 fi
6646
6647 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6648
6649 fi;
6650
6651 eval "$ac_cv_use_clipboard"
6652 if test "$no_cache" != 1; then
6653 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6654 fi
6655
6656 if test "$wxUSE_CLIPBOARD" = yes; then
6657 echo "$as_me:$LINENO: result: yes" >&5
6658 echo "${ECHO_T}yes" >&6
6659 else
6660 echo "$as_me:$LINENO: result: no" >&5
6661 echo "${ECHO_T}no" >&6
6662 fi
6663
6664
6665 enablestring=
6666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6667 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6668 no_cache=0
6669 # Check whether --enable-dnd or --disable-dnd was given.
6670 if test "${enable_dnd+set}" = set; then
6671 enableval="$enable_dnd"
6672
6673 if test "$enableval" = yes; then
6674 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6675 else
6676 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6677 fi
6678
6679 else
6680
6681 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6682 if test "x$LINE" != x ; then
6683 eval "DEFAULT_$LINE"
6684 else
6685 no_cache=1
6686 fi
6687
6688 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6689
6690 fi;
6691
6692 eval "$ac_cv_use_dnd"
6693 if test "$no_cache" != 1; then
6694 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6695 fi
6696
6697 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6698 echo "$as_me:$LINENO: result: yes" >&5
6699 echo "${ECHO_T}yes" >&6
6700 else
6701 echo "$as_me:$LINENO: result: no" >&5
6702 echo "${ECHO_T}no" >&6
6703 fi
6704
6705
6706 enablestring=
6707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6708 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6709 no_cache=0
6710 # Check whether --enable-metafile or --disable-metafile was given.
6711 if test "${enable_metafile+set}" = set; then
6712 enableval="$enable_metafile"
6713
6714 if test "$enableval" = yes; then
6715 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6716 else
6717 ac_cv_use_metafile='wxUSE_METAFILE=no'
6718 fi
6719
6720 else
6721
6722 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6723 if test "x$LINE" != x ; then
6724 eval "DEFAULT_$LINE"
6725 else
6726 no_cache=1
6727 fi
6728
6729 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6730
6731 fi;
6732
6733 eval "$ac_cv_use_metafile"
6734 if test "$no_cache" != 1; then
6735 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6736 fi
6737
6738 if test "$wxUSE_METAFILE" = yes; then
6739 echo "$as_me:$LINENO: result: yes" >&5
6740 echo "${ECHO_T}yes" >&6
6741 else
6742 echo "$as_me:$LINENO: result: no" >&5
6743 echo "${ECHO_T}no" >&6
6744 fi
6745
6746
6747
6748
6749
6750 enablestring=
6751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6752 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6753 no_cache=0
6754 # Check whether --enable-controls or --disable-controls was given.
6755 if test "${enable_controls+set}" = set; then
6756 enableval="$enable_controls"
6757
6758 if test "$enableval" = yes; then
6759 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6760 else
6761 ac_cv_use_controls='wxUSE_CONTROLS=no'
6762 fi
6763
6764 else
6765
6766 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6767 if test "x$LINE" != x ; then
6768 eval "DEFAULT_$LINE"
6769 else
6770 no_cache=1
6771 fi
6772
6773 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6774
6775 fi;
6776
6777 eval "$ac_cv_use_controls"
6778 if test "$no_cache" != 1; then
6779 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6780 fi
6781
6782 if test "$wxUSE_CONTROLS" = yes; then
6783 echo "$as_me:$LINENO: result: yes" >&5
6784 echo "${ECHO_T}yes" >&6
6785 else
6786 echo "$as_me:$LINENO: result: no" >&5
6787 echo "${ECHO_T}no" >&6
6788 fi
6789
6790
6791 if test "$wxUSE_CONTROLS" = "yes"; then
6792 DEFAULT_wxUSE_ACCEL=yes
6793 DEFAULT_wxUSE_BMPBUTTON=yes
6794 DEFAULT_wxUSE_BUTTON=yes
6795 DEFAULT_wxUSE_CALCTRL=no
6796 DEFAULT_wxUSE_CARET=yes
6797 DEFAULT_wxUSE_COMBOBOX=yes
6798 DEFAULT_wxUSE_CHECKBOX=yes
6799 DEFAULT_wxUSE_CHECKLISTBOX=yes
6800 DEFAULT_wxUSE_CHOICE=yes
6801 DEFAULT_wxUSE_GAUGE=yes
6802 DEFAULT_wxUSE_GRID=yes
6803 DEFAULT_wxUSE_IMAGLIST=yes
6804 DEFAULT_wxUSE_LISTBOOK=yes
6805 DEFAULT_wxUSE_LISTBOX=yes
6806 DEFAULT_wxUSE_LISTCTRL=yes
6807 DEFAULT_wxUSE_NOTEBOOK=yes
6808 DEFAULT_wxUSE_RADIOBOX=yes
6809 DEFAULT_wxUSE_RADIOBTN=yes
6810 DEFAULT_wxUSE_SASH=yes
6811 DEFAULT_wxUSE_SCROLLBAR=yes
6812 DEFAULT_wxUSE_SLIDER=yes
6813 DEFAULT_wxUSE_SPINBTN=yes
6814 DEFAULT_wxUSE_SPINCTRL=yes
6815 DEFAULT_wxUSE_SPLITTER=yes
6816 DEFAULT_wxUSE_STATBMP=yes
6817 DEFAULT_wxUSE_STATBOX=yes
6818 DEFAULT_wxUSE_STATLINE=yes
6819 DEFAULT_wxUSE_STATUSBAR=yes
6820 DEFAULT_wxUSE_TAB_DIALOG=yes
6821 DEFAULT_wxUSE_TOGGLEBTN=yes
6822 DEFAULT_wxUSE_TOOLBAR=yes
6823 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6824 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6825 DEFAULT_wxUSE_TOOLTIPS=yes
6826 DEFAULT_wxUSE_TREECTRL=yes
6827 DEFAULT_wxUSE_POPUPWIN=yes
6828 DEFAULT_wxUSE_TIPWINDOW=yes
6829 elif test "$wxUSE_CONTROLS" = "no"; then
6830 DEFAULT_wxUSE_ACCEL=no
6831 DEFAULT_wxUSE_BMPBUTTON=no
6832 DEFAULT_wxUSE_BUTTON=no
6833 DEFAULT_wxUSE_CALCTRL=no
6834 DEFAULT_wxUSE_CARET=no
6835 DEFAULT_wxUSE_COMBOBOX=no
6836 DEFAULT_wxUSE_CHECKBOX=no
6837 DEFAULT_wxUSE_CHECKLISTBOX=no
6838 DEFAULT_wxUSE_CHOICE=no
6839 DEFAULT_wxUSE_GAUGE=no
6840 DEFAULT_wxUSE_GRID=no
6841 DEFAULT_wxUSE_IMAGLIST=no
6842 DEFAULT_wxUSE_LISTBOOK=no
6843 DEFAULT_wxUSE_LISTBOX=no
6844 DEFAULT_wxUSE_LISTCTRL=no
6845 DEFAULT_wxUSE_NOTEBOOK=no
6846 DEFAULT_wxUSE_RADIOBOX=no
6847 DEFAULT_wxUSE_RADIOBTN=no
6848 DEFAULT_wxUSE_SASH=no
6849 DEFAULT_wxUSE_SCROLLBAR=no
6850 DEFAULT_wxUSE_SLIDER=no
6851 DEFAULT_wxUSE_SPINBTN=no
6852 DEFAULT_wxUSE_SPINCTRL=no
6853 DEFAULT_wxUSE_SPLITTER=no
6854 DEFAULT_wxUSE_STATBMP=no
6855 DEFAULT_wxUSE_STATBOX=no
6856 DEFAULT_wxUSE_STATLINE=no
6857 DEFAULT_wxUSE_STATUSBAR=no
6858 DEFAULT_wxUSE_TAB_DIALOG=no
6859 DEFAULT_wxUSE_TOGGLEBTN=no
6860 DEFAULT_wxUSE_TOOLBAR=no
6861 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6862 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6863 DEFAULT_wxUSE_TOOLTIPS=no
6864 DEFAULT_wxUSE_TREECTRL=no
6865 DEFAULT_wxUSE_POPUPWIN=no
6866 DEFAULT_wxUSE_TIPWINDOW=no
6867 fi
6868
6869 ## FIXME: This is a blatant hack
6870 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6871 wxUSE_PRINTING_ARCHITECTURE=no
6872 wxUSE_DRAG_AND_DROP=no
6873 # Generic notebook requires tab dialog
6874 DEFAULT_wxUSE_TABDIALOG=yes
6875 DEFAULT_wxUSE_SCROLLBAR=no
6876 DEFAULT_wxUSE_TOOLTIPS=no
6877 DEFAULT_wxUSE_DRAGIMAGE=no
6878 fi
6879
6880
6881 enablestring=
6882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6883 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6884 no_cache=0
6885 # Check whether --enable-accel or --disable-accel was given.
6886 if test "${enable_accel+set}" = set; then
6887 enableval="$enable_accel"
6888
6889 if test "$enableval" = yes; then
6890 ac_cv_use_accel='wxUSE_ACCEL=yes'
6891 else
6892 ac_cv_use_accel='wxUSE_ACCEL=no'
6893 fi
6894
6895 else
6896
6897 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6898 if test "x$LINE" != x ; then
6899 eval "DEFAULT_$LINE"
6900 else
6901 no_cache=1
6902 fi
6903
6904 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6905
6906 fi;
6907
6908 eval "$ac_cv_use_accel"
6909 if test "$no_cache" != 1; then
6910 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6911 fi
6912
6913 if test "$wxUSE_ACCEL" = yes; then
6914 echo "$as_me:$LINENO: result: yes" >&5
6915 echo "${ECHO_T}yes" >&6
6916 else
6917 echo "$as_me:$LINENO: result: no" >&5
6918 echo "${ECHO_T}no" >&6
6919 fi
6920
6921
6922 enablestring=
6923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6924 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6925 no_cache=0
6926 # Check whether --enable-button or --disable-button was given.
6927 if test "${enable_button+set}" = set; then
6928 enableval="$enable_button"
6929
6930 if test "$enableval" = yes; then
6931 ac_cv_use_button='wxUSE_BUTTON=yes'
6932 else
6933 ac_cv_use_button='wxUSE_BUTTON=no'
6934 fi
6935
6936 else
6937
6938 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6939 if test "x$LINE" != x ; then
6940 eval "DEFAULT_$LINE"
6941 else
6942 no_cache=1
6943 fi
6944
6945 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6946
6947 fi;
6948
6949 eval "$ac_cv_use_button"
6950 if test "$no_cache" != 1; then
6951 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6952 fi
6953
6954 if test "$wxUSE_BUTTON" = yes; then
6955 echo "$as_me:$LINENO: result: yes" >&5
6956 echo "${ECHO_T}yes" >&6
6957 else
6958 echo "$as_me:$LINENO: result: no" >&5
6959 echo "${ECHO_T}no" >&6
6960 fi
6961
6962
6963 enablestring=
6964 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6965 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6966 no_cache=0
6967 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6968 if test "${enable_bmpbutton+set}" = set; then
6969 enableval="$enable_bmpbutton"
6970
6971 if test "$enableval" = yes; then
6972 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6973 else
6974 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6975 fi
6976
6977 else
6978
6979 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6980 if test "x$LINE" != x ; then
6981 eval "DEFAULT_$LINE"
6982 else
6983 no_cache=1
6984 fi
6985
6986 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6987
6988 fi;
6989
6990 eval "$ac_cv_use_bmpbutton"
6991 if test "$no_cache" != 1; then
6992 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6993 fi
6994
6995 if test "$wxUSE_BMPBUTTON" = yes; then
6996 echo "$as_me:$LINENO: result: yes" >&5
6997 echo "${ECHO_T}yes" >&6
6998 else
6999 echo "$as_me:$LINENO: result: no" >&5
7000 echo "${ECHO_T}no" >&6
7001 fi
7002
7003
7004 enablestring=
7005 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7006 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7007 no_cache=0
7008 # Check whether --enable-calendar or --disable-calendar was given.
7009 if test "${enable_calendar+set}" = set; then
7010 enableval="$enable_calendar"
7011
7012 if test "$enableval" = yes; then
7013 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7014 else
7015 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7016 fi
7017
7018 else
7019
7020 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7021 if test "x$LINE" != x ; then
7022 eval "DEFAULT_$LINE"
7023 else
7024 no_cache=1
7025 fi
7026
7027 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7028
7029 fi;
7030
7031 eval "$ac_cv_use_calendar"
7032 if test "$no_cache" != 1; then
7033 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7034 fi
7035
7036 if test "$wxUSE_CALCTRL" = yes; then
7037 echo "$as_me:$LINENO: result: yes" >&5
7038 echo "${ECHO_T}yes" >&6
7039 else
7040 echo "$as_me:$LINENO: result: no" >&5
7041 echo "${ECHO_T}no" >&6
7042 fi
7043
7044
7045 enablestring=
7046 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7047 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7048 no_cache=0
7049 # Check whether --enable-caret or --disable-caret was given.
7050 if test "${enable_caret+set}" = set; then
7051 enableval="$enable_caret"
7052
7053 if test "$enableval" = yes; then
7054 ac_cv_use_caret='wxUSE_CARET=yes'
7055 else
7056 ac_cv_use_caret='wxUSE_CARET=no'
7057 fi
7058
7059 else
7060
7061 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7062 if test "x$LINE" != x ; then
7063 eval "DEFAULT_$LINE"
7064 else
7065 no_cache=1
7066 fi
7067
7068 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7069
7070 fi;
7071
7072 eval "$ac_cv_use_caret"
7073 if test "$no_cache" != 1; then
7074 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7075 fi
7076
7077 if test "$wxUSE_CARET" = yes; then
7078 echo "$as_me:$LINENO: result: yes" >&5
7079 echo "${ECHO_T}yes" >&6
7080 else
7081 echo "$as_me:$LINENO: result: no" >&5
7082 echo "${ECHO_T}no" >&6
7083 fi
7084
7085
7086 enablestring=
7087 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7088 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7089 no_cache=0
7090 # Check whether --enable-checkbox or --disable-checkbox was given.
7091 if test "${enable_checkbox+set}" = set; then
7092 enableval="$enable_checkbox"
7093
7094 if test "$enableval" = yes; then
7095 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7096 else
7097 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7098 fi
7099
7100 else
7101
7102 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7103 if test "x$LINE" != x ; then
7104 eval "DEFAULT_$LINE"
7105 else
7106 no_cache=1
7107 fi
7108
7109 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7110
7111 fi;
7112
7113 eval "$ac_cv_use_checkbox"
7114 if test "$no_cache" != 1; then
7115 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7116 fi
7117
7118 if test "$wxUSE_CHECKBOX" = yes; then
7119 echo "$as_me:$LINENO: result: yes" >&5
7120 echo "${ECHO_T}yes" >&6
7121 else
7122 echo "$as_me:$LINENO: result: no" >&5
7123 echo "${ECHO_T}no" >&6
7124 fi
7125
7126
7127 enablestring=
7128 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7129 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7130 no_cache=0
7131 # Check whether --enable-checklst or --disable-checklst was given.
7132 if test "${enable_checklst+set}" = set; then
7133 enableval="$enable_checklst"
7134
7135 if test "$enableval" = yes; then
7136 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7137 else
7138 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7139 fi
7140
7141 else
7142
7143 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7144 if test "x$LINE" != x ; then
7145 eval "DEFAULT_$LINE"
7146 else
7147 no_cache=1
7148 fi
7149
7150 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7151
7152 fi;
7153
7154 eval "$ac_cv_use_checklst"
7155 if test "$no_cache" != 1; then
7156 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7157 fi
7158
7159 if test "$wxUSE_CHECKLST" = yes; then
7160 echo "$as_me:$LINENO: result: yes" >&5
7161 echo "${ECHO_T}yes" >&6
7162 else
7163 echo "$as_me:$LINENO: result: no" >&5
7164 echo "${ECHO_T}no" >&6
7165 fi
7166
7167
7168 enablestring=
7169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7170 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7171 no_cache=0
7172 # Check whether --enable-choice or --disable-choice was given.
7173 if test "${enable_choice+set}" = set; then
7174 enableval="$enable_choice"
7175
7176 if test "$enableval" = yes; then
7177 ac_cv_use_choice='wxUSE_CHOICE=yes'
7178 else
7179 ac_cv_use_choice='wxUSE_CHOICE=no'
7180 fi
7181
7182 else
7183
7184 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7185 if test "x$LINE" != x ; then
7186 eval "DEFAULT_$LINE"
7187 else
7188 no_cache=1
7189 fi
7190
7191 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7192
7193 fi;
7194
7195 eval "$ac_cv_use_choice"
7196 if test "$no_cache" != 1; then
7197 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7198 fi
7199
7200 if test "$wxUSE_CHOICE" = yes; then
7201 echo "$as_me:$LINENO: result: yes" >&5
7202 echo "${ECHO_T}yes" >&6
7203 else
7204 echo "$as_me:$LINENO: result: no" >&5
7205 echo "${ECHO_T}no" >&6
7206 fi
7207
7208
7209 enablestring=
7210 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7211 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7212 no_cache=0
7213 # Check whether --enable-combobox or --disable-combobox was given.
7214 if test "${enable_combobox+set}" = set; then
7215 enableval="$enable_combobox"
7216
7217 if test "$enableval" = yes; then
7218 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7219 else
7220 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7221 fi
7222
7223 else
7224
7225 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7226 if test "x$LINE" != x ; then
7227 eval "DEFAULT_$LINE"
7228 else
7229 no_cache=1
7230 fi
7231
7232 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7233
7234 fi;
7235
7236 eval "$ac_cv_use_combobox"
7237 if test "$no_cache" != 1; then
7238 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7239 fi
7240
7241 if test "$wxUSE_COMBOBOX" = yes; then
7242 echo "$as_me:$LINENO: result: yes" >&5
7243 echo "${ECHO_T}yes" >&6
7244 else
7245 echo "$as_me:$LINENO: result: no" >&5
7246 echo "${ECHO_T}no" >&6
7247 fi
7248
7249
7250 enablestring=
7251 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7252 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7253 no_cache=0
7254 # Check whether --enable-display or --disable-display was given.
7255 if test "${enable_display+set}" = set; then
7256 enableval="$enable_display"
7257
7258 if test "$enableval" = yes; then
7259 ac_cv_use_display='wxUSE_DISPLAY=yes'
7260 else
7261 ac_cv_use_display='wxUSE_DISPLAY=no'
7262 fi
7263
7264 else
7265
7266 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7267 if test "x$LINE" != x ; then
7268 eval "DEFAULT_$LINE"
7269 else
7270 no_cache=1
7271 fi
7272
7273 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7274
7275 fi;
7276
7277 eval "$ac_cv_use_display"
7278 if test "$no_cache" != 1; then
7279 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7280 fi
7281
7282 if test "$wxUSE_DISPLAY" = yes; then
7283 echo "$as_me:$LINENO: result: yes" >&5
7284 echo "${ECHO_T}yes" >&6
7285 else
7286 echo "$as_me:$LINENO: result: no" >&5
7287 echo "${ECHO_T}no" >&6
7288 fi
7289
7290
7291 enablestring=
7292 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7293 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7294 no_cache=0
7295 # Check whether --enable-gauge or --disable-gauge was given.
7296 if test "${enable_gauge+set}" = set; then
7297 enableval="$enable_gauge"
7298
7299 if test "$enableval" = yes; then
7300 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7301 else
7302 ac_cv_use_gauge='wxUSE_GAUGE=no'
7303 fi
7304
7305 else
7306
7307 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7308 if test "x$LINE" != x ; then
7309 eval "DEFAULT_$LINE"
7310 else
7311 no_cache=1
7312 fi
7313
7314 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7315
7316 fi;
7317
7318 eval "$ac_cv_use_gauge"
7319 if test "$no_cache" != 1; then
7320 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7321 fi
7322
7323 if test "$wxUSE_GAUGE" = yes; then
7324 echo "$as_me:$LINENO: result: yes" >&5
7325 echo "${ECHO_T}yes" >&6
7326 else
7327 echo "$as_me:$LINENO: result: no" >&5
7328 echo "${ECHO_T}no" >&6
7329 fi
7330
7331
7332 enablestring=
7333 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7334 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7335 no_cache=0
7336 # Check whether --enable-grid or --disable-grid was given.
7337 if test "${enable_grid+set}" = set; then
7338 enableval="$enable_grid"
7339
7340 if test "$enableval" = yes; then
7341 ac_cv_use_grid='wxUSE_GRID=yes'
7342 else
7343 ac_cv_use_grid='wxUSE_GRID=no'
7344 fi
7345
7346 else
7347
7348 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7349 if test "x$LINE" != x ; then
7350 eval "DEFAULT_$LINE"
7351 else
7352 no_cache=1
7353 fi
7354
7355 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7356
7357 fi;
7358
7359 eval "$ac_cv_use_grid"
7360 if test "$no_cache" != 1; then
7361 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7362 fi
7363
7364 if test "$wxUSE_GRID" = yes; then
7365 echo "$as_me:$LINENO: result: yes" >&5
7366 echo "${ECHO_T}yes" >&6
7367 else
7368 echo "$as_me:$LINENO: result: no" >&5
7369 echo "${ECHO_T}no" >&6
7370 fi
7371
7372
7373 enablestring=
7374 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7375 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7376 no_cache=0
7377 # Check whether --enable-imaglist or --disable-imaglist was given.
7378 if test "${enable_imaglist+set}" = set; then
7379 enableval="$enable_imaglist"
7380
7381 if test "$enableval" = yes; then
7382 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7383 else
7384 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7385 fi
7386
7387 else
7388
7389 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7390 if test "x$LINE" != x ; then
7391 eval "DEFAULT_$LINE"
7392 else
7393 no_cache=1
7394 fi
7395
7396 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7397
7398 fi;
7399
7400 eval "$ac_cv_use_imaglist"
7401 if test "$no_cache" != 1; then
7402 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7403 fi
7404
7405 if test "$wxUSE_IMAGLIST" = yes; then
7406 echo "$as_me:$LINENO: result: yes" >&5
7407 echo "${ECHO_T}yes" >&6
7408 else
7409 echo "$as_me:$LINENO: result: no" >&5
7410 echo "${ECHO_T}no" >&6
7411 fi
7412
7413
7414 enablestring=
7415 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7416 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7417 no_cache=0
7418 # Check whether --enable-listbook or --disable-listbook was given.
7419 if test "${enable_listbook+set}" = set; then
7420 enableval="$enable_listbook"
7421
7422 if test "$enableval" = yes; then
7423 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7424 else
7425 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7426 fi
7427
7428 else
7429
7430 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7431 if test "x$LINE" != x ; then
7432 eval "DEFAULT_$LINE"
7433 else
7434 no_cache=1
7435 fi
7436
7437 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7438
7439 fi;
7440
7441 eval "$ac_cv_use_listbook"
7442 if test "$no_cache" != 1; then
7443 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7444 fi
7445
7446 if test "$wxUSE_LISTBOOK" = yes; then
7447 echo "$as_me:$LINENO: result: yes" >&5
7448 echo "${ECHO_T}yes" >&6
7449 else
7450 echo "$as_me:$LINENO: result: no" >&5
7451 echo "${ECHO_T}no" >&6
7452 fi
7453
7454
7455 enablestring=
7456 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7457 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7458 no_cache=0
7459 # Check whether --enable-listbox or --disable-listbox was given.
7460 if test "${enable_listbox+set}" = set; then
7461 enableval="$enable_listbox"
7462
7463 if test "$enableval" = yes; then
7464 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7465 else
7466 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7467 fi
7468
7469 else
7470
7471 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7472 if test "x$LINE" != x ; then
7473 eval "DEFAULT_$LINE"
7474 else
7475 no_cache=1
7476 fi
7477
7478 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7479
7480 fi;
7481
7482 eval "$ac_cv_use_listbox"
7483 if test "$no_cache" != 1; then
7484 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7485 fi
7486
7487 if test "$wxUSE_LISTBOX" = yes; then
7488 echo "$as_me:$LINENO: result: yes" >&5
7489 echo "${ECHO_T}yes" >&6
7490 else
7491 echo "$as_me:$LINENO: result: no" >&5
7492 echo "${ECHO_T}no" >&6
7493 fi
7494
7495
7496 enablestring=
7497 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7498 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7499 no_cache=0
7500 # Check whether --enable-listctrl or --disable-listctrl was given.
7501 if test "${enable_listctrl+set}" = set; then
7502 enableval="$enable_listctrl"
7503
7504 if test "$enableval" = yes; then
7505 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7506 else
7507 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7508 fi
7509
7510 else
7511
7512 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7513 if test "x$LINE" != x ; then
7514 eval "DEFAULT_$LINE"
7515 else
7516 no_cache=1
7517 fi
7518
7519 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7520
7521 fi;
7522
7523 eval "$ac_cv_use_listctrl"
7524 if test "$no_cache" != 1; then
7525 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7526 fi
7527
7528 if test "$wxUSE_LISTCTRL" = yes; then
7529 echo "$as_me:$LINENO: result: yes" >&5
7530 echo "${ECHO_T}yes" >&6
7531 else
7532 echo "$as_me:$LINENO: result: no" >&5
7533 echo "${ECHO_T}no" >&6
7534 fi
7535
7536
7537 enablestring=
7538 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7539 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7540 no_cache=0
7541 # Check whether --enable-notebook or --disable-notebook was given.
7542 if test "${enable_notebook+set}" = set; then
7543 enableval="$enable_notebook"
7544
7545 if test "$enableval" = yes; then
7546 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7547 else
7548 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7549 fi
7550
7551 else
7552
7553 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7554 if test "x$LINE" != x ; then
7555 eval "DEFAULT_$LINE"
7556 else
7557 no_cache=1
7558 fi
7559
7560 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7561
7562 fi;
7563
7564 eval "$ac_cv_use_notebook"
7565 if test "$no_cache" != 1; then
7566 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7567 fi
7568
7569 if test "$wxUSE_NOTEBOOK" = yes; then
7570 echo "$as_me:$LINENO: result: yes" >&5
7571 echo "${ECHO_T}yes" >&6
7572 else
7573 echo "$as_me:$LINENO: result: no" >&5
7574 echo "${ECHO_T}no" >&6
7575 fi
7576
7577
7578 enablestring=
7579 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7580 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7581 no_cache=0
7582 # Check whether --enable-radiobox or --disable-radiobox was given.
7583 if test "${enable_radiobox+set}" = set; then
7584 enableval="$enable_radiobox"
7585
7586 if test "$enableval" = yes; then
7587 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7588 else
7589 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7590 fi
7591
7592 else
7593
7594 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7595 if test "x$LINE" != x ; then
7596 eval "DEFAULT_$LINE"
7597 else
7598 no_cache=1
7599 fi
7600
7601 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7602
7603 fi;
7604
7605 eval "$ac_cv_use_radiobox"
7606 if test "$no_cache" != 1; then
7607 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7608 fi
7609
7610 if test "$wxUSE_RADIOBOX" = yes; then
7611 echo "$as_me:$LINENO: result: yes" >&5
7612 echo "${ECHO_T}yes" >&6
7613 else
7614 echo "$as_me:$LINENO: result: no" >&5
7615 echo "${ECHO_T}no" >&6
7616 fi
7617
7618
7619 enablestring=
7620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7621 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7622 no_cache=0
7623 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7624 if test "${enable_radiobtn+set}" = set; then
7625 enableval="$enable_radiobtn"
7626
7627 if test "$enableval" = yes; then
7628 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7629 else
7630 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7631 fi
7632
7633 else
7634
7635 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7636 if test "x$LINE" != x ; then
7637 eval "DEFAULT_$LINE"
7638 else
7639 no_cache=1
7640 fi
7641
7642 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7643
7644 fi;
7645
7646 eval "$ac_cv_use_radiobtn"
7647 if test "$no_cache" != 1; then
7648 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7649 fi
7650
7651 if test "$wxUSE_RADIOBTN" = yes; then
7652 echo "$as_me:$LINENO: result: yes" >&5
7653 echo "${ECHO_T}yes" >&6
7654 else
7655 echo "$as_me:$LINENO: result: no" >&5
7656 echo "${ECHO_T}no" >&6
7657 fi
7658
7659
7660 enablestring=
7661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7662 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7663 no_cache=0
7664 # Check whether --enable-sash or --disable-sash was given.
7665 if test "${enable_sash+set}" = set; then
7666 enableval="$enable_sash"
7667
7668 if test "$enableval" = yes; then
7669 ac_cv_use_sash='wxUSE_SASH=yes'
7670 else
7671 ac_cv_use_sash='wxUSE_SASH=no'
7672 fi
7673
7674 else
7675
7676 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7677 if test "x$LINE" != x ; then
7678 eval "DEFAULT_$LINE"
7679 else
7680 no_cache=1
7681 fi
7682
7683 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7684
7685 fi;
7686
7687 eval "$ac_cv_use_sash"
7688 if test "$no_cache" != 1; then
7689 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7690 fi
7691
7692 if test "$wxUSE_SASH" = yes; then
7693 echo "$as_me:$LINENO: result: yes" >&5
7694 echo "${ECHO_T}yes" >&6
7695 else
7696 echo "$as_me:$LINENO: result: no" >&5
7697 echo "${ECHO_T}no" >&6
7698 fi
7699
7700
7701 enablestring=
7702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7703 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7704 no_cache=0
7705 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7706 if test "${enable_scrollbar+set}" = set; then
7707 enableval="$enable_scrollbar"
7708
7709 if test "$enableval" = yes; then
7710 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7711 else
7712 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7713 fi
7714
7715 else
7716
7717 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7718 if test "x$LINE" != x ; then
7719 eval "DEFAULT_$LINE"
7720 else
7721 no_cache=1
7722 fi
7723
7724 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7725
7726 fi;
7727
7728 eval "$ac_cv_use_scrollbar"
7729 if test "$no_cache" != 1; then
7730 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7731 fi
7732
7733 if test "$wxUSE_SCROLLBAR" = yes; then
7734 echo "$as_me:$LINENO: result: yes" >&5
7735 echo "${ECHO_T}yes" >&6
7736 else
7737 echo "$as_me:$LINENO: result: no" >&5
7738 echo "${ECHO_T}no" >&6
7739 fi
7740
7741
7742 enablestring=
7743 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7744 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7745 no_cache=0
7746 # Check whether --enable-slider or --disable-slider was given.
7747 if test "${enable_slider+set}" = set; then
7748 enableval="$enable_slider"
7749
7750 if test "$enableval" = yes; then
7751 ac_cv_use_slider='wxUSE_SLIDER=yes'
7752 else
7753 ac_cv_use_slider='wxUSE_SLIDER=no'
7754 fi
7755
7756 else
7757
7758 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7759 if test "x$LINE" != x ; then
7760 eval "DEFAULT_$LINE"
7761 else
7762 no_cache=1
7763 fi
7764
7765 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7766
7767 fi;
7768
7769 eval "$ac_cv_use_slider"
7770 if test "$no_cache" != 1; then
7771 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7772 fi
7773
7774 if test "$wxUSE_SLIDER" = yes; then
7775 echo "$as_me:$LINENO: result: yes" >&5
7776 echo "${ECHO_T}yes" >&6
7777 else
7778 echo "$as_me:$LINENO: result: no" >&5
7779 echo "${ECHO_T}no" >&6
7780 fi
7781
7782
7783 enablestring=
7784 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7785 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7786 no_cache=0
7787 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7788 if test "${enable_spinbtn+set}" = set; then
7789 enableval="$enable_spinbtn"
7790
7791 if test "$enableval" = yes; then
7792 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7793 else
7794 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7795 fi
7796
7797 else
7798
7799 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7800 if test "x$LINE" != x ; then
7801 eval "DEFAULT_$LINE"
7802 else
7803 no_cache=1
7804 fi
7805
7806 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7807
7808 fi;
7809
7810 eval "$ac_cv_use_spinbtn"
7811 if test "$no_cache" != 1; then
7812 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7813 fi
7814
7815 if test "$wxUSE_SPINBTN" = yes; then
7816 echo "$as_me:$LINENO: result: yes" >&5
7817 echo "${ECHO_T}yes" >&6
7818 else
7819 echo "$as_me:$LINENO: result: no" >&5
7820 echo "${ECHO_T}no" >&6
7821 fi
7822
7823
7824 enablestring=
7825 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7826 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7827 no_cache=0
7828 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7829 if test "${enable_spinctrl+set}" = set; then
7830 enableval="$enable_spinctrl"
7831
7832 if test "$enableval" = yes; then
7833 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7834 else
7835 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7836 fi
7837
7838 else
7839
7840 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7841 if test "x$LINE" != x ; then
7842 eval "DEFAULT_$LINE"
7843 else
7844 no_cache=1
7845 fi
7846
7847 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7848
7849 fi;
7850
7851 eval "$ac_cv_use_spinctrl"
7852 if test "$no_cache" != 1; then
7853 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7854 fi
7855
7856 if test "$wxUSE_SPINCTRL" = yes; then
7857 echo "$as_me:$LINENO: result: yes" >&5
7858 echo "${ECHO_T}yes" >&6
7859 else
7860 echo "$as_me:$LINENO: result: no" >&5
7861 echo "${ECHO_T}no" >&6
7862 fi
7863
7864
7865 enablestring=
7866 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7867 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7868 no_cache=0
7869 # Check whether --enable-splitter or --disable-splitter was given.
7870 if test "${enable_splitter+set}" = set; then
7871 enableval="$enable_splitter"
7872
7873 if test "$enableval" = yes; then
7874 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7875 else
7876 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7877 fi
7878
7879 else
7880
7881 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7882 if test "x$LINE" != x ; then
7883 eval "DEFAULT_$LINE"
7884 else
7885 no_cache=1
7886 fi
7887
7888 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7889
7890 fi;
7891
7892 eval "$ac_cv_use_splitter"
7893 if test "$no_cache" != 1; then
7894 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7895 fi
7896
7897 if test "$wxUSE_SPLITTER" = yes; then
7898 echo "$as_me:$LINENO: result: yes" >&5
7899 echo "${ECHO_T}yes" >&6
7900 else
7901 echo "$as_me:$LINENO: result: no" >&5
7902 echo "${ECHO_T}no" >&6
7903 fi
7904
7905
7906 enablestring=
7907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7908 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7909 no_cache=0
7910 # Check whether --enable-statbmp or --disable-statbmp was given.
7911 if test "${enable_statbmp+set}" = set; then
7912 enableval="$enable_statbmp"
7913
7914 if test "$enableval" = yes; then
7915 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7916 else
7917 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7918 fi
7919
7920 else
7921
7922 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7923 if test "x$LINE" != x ; then
7924 eval "DEFAULT_$LINE"
7925 else
7926 no_cache=1
7927 fi
7928
7929 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7930
7931 fi;
7932
7933 eval "$ac_cv_use_statbmp"
7934 if test "$no_cache" != 1; then
7935 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7936 fi
7937
7938 if test "$wxUSE_STATBMP" = yes; then
7939 echo "$as_me:$LINENO: result: yes" >&5
7940 echo "${ECHO_T}yes" >&6
7941 else
7942 echo "$as_me:$LINENO: result: no" >&5
7943 echo "${ECHO_T}no" >&6
7944 fi
7945
7946
7947 enablestring=
7948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7949 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7950 no_cache=0
7951 # Check whether --enable-statbox or --disable-statbox was given.
7952 if test "${enable_statbox+set}" = set; then
7953 enableval="$enable_statbox"
7954
7955 if test "$enableval" = yes; then
7956 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7957 else
7958 ac_cv_use_statbox='wxUSE_STATBOX=no'
7959 fi
7960
7961 else
7962
7963 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7964 if test "x$LINE" != x ; then
7965 eval "DEFAULT_$LINE"
7966 else
7967 no_cache=1
7968 fi
7969
7970 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7971
7972 fi;
7973
7974 eval "$ac_cv_use_statbox"
7975 if test "$no_cache" != 1; then
7976 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7977 fi
7978
7979 if test "$wxUSE_STATBOX" = yes; then
7980 echo "$as_me:$LINENO: result: yes" >&5
7981 echo "${ECHO_T}yes" >&6
7982 else
7983 echo "$as_me:$LINENO: result: no" >&5
7984 echo "${ECHO_T}no" >&6
7985 fi
7986
7987
7988 enablestring=
7989 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7990 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7991 no_cache=0
7992 # Check whether --enable-statline or --disable-statline was given.
7993 if test "${enable_statline+set}" = set; then
7994 enableval="$enable_statline"
7995
7996 if test "$enableval" = yes; then
7997 ac_cv_use_statline='wxUSE_STATLINE=yes'
7998 else
7999 ac_cv_use_statline='wxUSE_STATLINE=no'
8000 fi
8001
8002 else
8003
8004 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8005 if test "x$LINE" != x ; then
8006 eval "DEFAULT_$LINE"
8007 else
8008 no_cache=1
8009 fi
8010
8011 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8012
8013 fi;
8014
8015 eval "$ac_cv_use_statline"
8016 if test "$no_cache" != 1; then
8017 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8018 fi
8019
8020 if test "$wxUSE_STATLINE" = yes; then
8021 echo "$as_me:$LINENO: result: yes" >&5
8022 echo "${ECHO_T}yes" >&6
8023 else
8024 echo "$as_me:$LINENO: result: no" >&5
8025 echo "${ECHO_T}no" >&6
8026 fi
8027
8028
8029 enablestring=
8030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8031 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8032 no_cache=0
8033 # Check whether --enable-stattext or --disable-stattext was given.
8034 if test "${enable_stattext+set}" = set; then
8035 enableval="$enable_stattext"
8036
8037 if test "$enableval" = yes; then
8038 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8039 else
8040 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8041 fi
8042
8043 else
8044
8045 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8046 if test "x$LINE" != x ; then
8047 eval "DEFAULT_$LINE"
8048 else
8049 no_cache=1
8050 fi
8051
8052 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8053
8054 fi;
8055
8056 eval "$ac_cv_use_stattext"
8057 if test "$no_cache" != 1; then
8058 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8059 fi
8060
8061 if test "$wxUSE_STATTEXT" = yes; then
8062 echo "$as_me:$LINENO: result: yes" >&5
8063 echo "${ECHO_T}yes" >&6
8064 else
8065 echo "$as_me:$LINENO: result: no" >&5
8066 echo "${ECHO_T}no" >&6
8067 fi
8068
8069
8070 enablestring=
8071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8072 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8073 no_cache=0
8074 # Check whether --enable-statusbar or --disable-statusbar was given.
8075 if test "${enable_statusbar+set}" = set; then
8076 enableval="$enable_statusbar"
8077
8078 if test "$enableval" = yes; then
8079 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8080 else
8081 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8082 fi
8083
8084 else
8085
8086 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8087 if test "x$LINE" != x ; then
8088 eval "DEFAULT_$LINE"
8089 else
8090 no_cache=1
8091 fi
8092
8093 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8094
8095 fi;
8096
8097 eval "$ac_cv_use_statusbar"
8098 if test "$no_cache" != 1; then
8099 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8100 fi
8101
8102 if test "$wxUSE_STATUSBAR" = yes; then
8103 echo "$as_me:$LINENO: result: yes" >&5
8104 echo "${ECHO_T}yes" >&6
8105 else
8106 echo "$as_me:$LINENO: result: no" >&5
8107 echo "${ECHO_T}no" >&6
8108 fi
8109
8110
8111 enablestring=
8112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8113 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8114 no_cache=0
8115 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8116 if test "${enable_tabdialog+set}" = set; then
8117 enableval="$enable_tabdialog"
8118
8119 if test "$enableval" = yes; then
8120 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8121 else
8122 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8123 fi
8124
8125 else
8126
8127 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8128 if test "x$LINE" != x ; then
8129 eval "DEFAULT_$LINE"
8130 else
8131 no_cache=1
8132 fi
8133
8134 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8135
8136 fi;
8137
8138 eval "$ac_cv_use_tabdialog"
8139 if test "$no_cache" != 1; then
8140 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8141 fi
8142
8143 if test "$wxUSE_TABDIALOG" = yes; then
8144 echo "$as_me:$LINENO: result: yes" >&5
8145 echo "${ECHO_T}yes" >&6
8146 else
8147 echo "$as_me:$LINENO: result: no" >&5
8148 echo "${ECHO_T}no" >&6
8149 fi
8150
8151
8152 enablestring=
8153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8154 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8155 no_cache=0
8156 # Check whether --enable-textctrl or --disable-textctrl was given.
8157 if test "${enable_textctrl+set}" = set; then
8158 enableval="$enable_textctrl"
8159
8160 if test "$enableval" = yes; then
8161 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8162 else
8163 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8164 fi
8165
8166 else
8167
8168 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8169 if test "x$LINE" != x ; then
8170 eval "DEFAULT_$LINE"
8171 else
8172 no_cache=1
8173 fi
8174
8175 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8176
8177 fi;
8178
8179 eval "$ac_cv_use_textctrl"
8180 if test "$no_cache" != 1; then
8181 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8182 fi
8183
8184 if test "$wxUSE_TEXTCTRL" = yes; then
8185 echo "$as_me:$LINENO: result: yes" >&5
8186 echo "${ECHO_T}yes" >&6
8187 else
8188 echo "$as_me:$LINENO: result: no" >&5
8189 echo "${ECHO_T}no" >&6
8190 fi
8191
8192
8193 enablestring=
8194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8195 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8196 no_cache=0
8197 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8198 if test "${enable_togglebtn+set}" = set; then
8199 enableval="$enable_togglebtn"
8200
8201 if test "$enableval" = yes; then
8202 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8203 else
8204 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8205 fi
8206
8207 else
8208
8209 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8210 if test "x$LINE" != x ; then
8211 eval "DEFAULT_$LINE"
8212 else
8213 no_cache=1
8214 fi
8215
8216 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8217
8218 fi;
8219
8220 eval "$ac_cv_use_togglebtn"
8221 if test "$no_cache" != 1; then
8222 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8223 fi
8224
8225 if test "$wxUSE_TOGGLEBTN" = yes; then
8226 echo "$as_me:$LINENO: result: yes" >&5
8227 echo "${ECHO_T}yes" >&6
8228 else
8229 echo "$as_me:$LINENO: result: no" >&5
8230 echo "${ECHO_T}no" >&6
8231 fi
8232
8233
8234 enablestring=
8235 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8236 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8237 no_cache=0
8238 # Check whether --enable-toolbar or --disable-toolbar was given.
8239 if test "${enable_toolbar+set}" = set; then
8240 enableval="$enable_toolbar"
8241
8242 if test "$enableval" = yes; then
8243 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8244 else
8245 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8246 fi
8247
8248 else
8249
8250 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8251 if test "x$LINE" != x ; then
8252 eval "DEFAULT_$LINE"
8253 else
8254 no_cache=1
8255 fi
8256
8257 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8258
8259 fi;
8260
8261 eval "$ac_cv_use_toolbar"
8262 if test "$no_cache" != 1; then
8263 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8264 fi
8265
8266 if test "$wxUSE_TOOLBAR" = yes; then
8267 echo "$as_me:$LINENO: result: yes" >&5
8268 echo "${ECHO_T}yes" >&6
8269 else
8270 echo "$as_me:$LINENO: result: no" >&5
8271 echo "${ECHO_T}no" >&6
8272 fi
8273
8274
8275 enablestring=
8276 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8277 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8278 no_cache=0
8279 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8280 if test "${enable_tbarnative+set}" = set; then
8281 enableval="$enable_tbarnative"
8282
8283 if test "$enableval" = yes; then
8284 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8285 else
8286 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8287 fi
8288
8289 else
8290
8291 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8292 if test "x$LINE" != x ; then
8293 eval "DEFAULT_$LINE"
8294 else
8295 no_cache=1
8296 fi
8297
8298 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8299
8300 fi;
8301
8302 eval "$ac_cv_use_tbarnative"
8303 if test "$no_cache" != 1; then
8304 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8305 fi
8306
8307 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8308 echo "$as_me:$LINENO: result: yes" >&5
8309 echo "${ECHO_T}yes" >&6
8310 else
8311 echo "$as_me:$LINENO: result: no" >&5
8312 echo "${ECHO_T}no" >&6
8313 fi
8314
8315
8316 enablestring=
8317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8318 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8319 no_cache=0
8320 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8321 if test "${enable_tbarsmpl+set}" = set; then
8322 enableval="$enable_tbarsmpl"
8323
8324 if test "$enableval" = yes; then
8325 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8326 else
8327 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8328 fi
8329
8330 else
8331
8332 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8333 if test "x$LINE" != x ; then
8334 eval "DEFAULT_$LINE"
8335 else
8336 no_cache=1
8337 fi
8338
8339 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8340
8341 fi;
8342
8343 eval "$ac_cv_use_tbarsmpl"
8344 if test "$no_cache" != 1; then
8345 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8346 fi
8347
8348 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8349 echo "$as_me:$LINENO: result: yes" >&5
8350 echo "${ECHO_T}yes" >&6
8351 else
8352 echo "$as_me:$LINENO: result: no" >&5
8353 echo "${ECHO_T}no" >&6
8354 fi
8355
8356
8357 enablestring=
8358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8359 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8360 no_cache=0
8361 # Check whether --enable-treectrl or --disable-treectrl was given.
8362 if test "${enable_treectrl+set}" = set; then
8363 enableval="$enable_treectrl"
8364
8365 if test "$enableval" = yes; then
8366 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8367 else
8368 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8369 fi
8370
8371 else
8372
8373 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8374 if test "x$LINE" != x ; then
8375 eval "DEFAULT_$LINE"
8376 else
8377 no_cache=1
8378 fi
8379
8380 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8381
8382 fi;
8383
8384 eval "$ac_cv_use_treectrl"
8385 if test "$no_cache" != 1; then
8386 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8387 fi
8388
8389 if test "$wxUSE_TREECTRL" = yes; then
8390 echo "$as_me:$LINENO: result: yes" >&5
8391 echo "${ECHO_T}yes" >&6
8392 else
8393 echo "$as_me:$LINENO: result: no" >&5
8394 echo "${ECHO_T}no" >&6
8395 fi
8396
8397
8398 enablestring=
8399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8400 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8401 no_cache=0
8402 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8403 if test "${enable_tipwindow+set}" = set; then
8404 enableval="$enable_tipwindow"
8405
8406 if test "$enableval" = yes; then
8407 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8408 else
8409 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8410 fi
8411
8412 else
8413
8414 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8415 if test "x$LINE" != x ; then
8416 eval "DEFAULT_$LINE"
8417 else
8418 no_cache=1
8419 fi
8420
8421 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8422
8423 fi;
8424
8425 eval "$ac_cv_use_tipwindow"
8426 if test "$no_cache" != 1; then
8427 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8428 fi
8429
8430 if test "$wxUSE_TIPWINDOW" = yes; then
8431 echo "$as_me:$LINENO: result: yes" >&5
8432 echo "${ECHO_T}yes" >&6
8433 else
8434 echo "$as_me:$LINENO: result: no" >&5
8435 echo "${ECHO_T}no" >&6
8436 fi
8437
8438
8439 enablestring=
8440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8441 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8442 no_cache=0
8443 # Check whether --enable-popupwin or --disable-popupwin was given.
8444 if test "${enable_popupwin+set}" = set; then
8445 enableval="$enable_popupwin"
8446
8447 if test "$enableval" = yes; then
8448 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8449 else
8450 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8451 fi
8452
8453 else
8454
8455 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8456 if test "x$LINE" != x ; then
8457 eval "DEFAULT_$LINE"
8458 else
8459 no_cache=1
8460 fi
8461
8462 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8463
8464 fi;
8465
8466 eval "$ac_cv_use_popupwin"
8467 if test "$no_cache" != 1; then
8468 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8469 fi
8470
8471 if test "$wxUSE_POPUPWIN" = yes; then
8472 echo "$as_me:$LINENO: result: yes" >&5
8473 echo "${ECHO_T}yes" >&6
8474 else
8475 echo "$as_me:$LINENO: result: no" >&5
8476 echo "${ECHO_T}no" >&6
8477 fi
8478
8479
8480
8481
8482 enablestring=
8483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8484 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8485 no_cache=0
8486 # Check whether --enable-commondlg or --disable-commondlg was given.
8487 if test "${enable_commondlg+set}" = set; then
8488 enableval="$enable_commondlg"
8489
8490 if test "$enableval" = yes; then
8491 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8492 else
8493 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8494 fi
8495
8496 else
8497
8498 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8499 if test "x$LINE" != x ; then
8500 eval "DEFAULT_$LINE"
8501 else
8502 no_cache=1
8503 fi
8504
8505 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8506
8507 fi;
8508
8509 eval "$ac_cv_use_commondlg"
8510 if test "$no_cache" != 1; then
8511 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8512 fi
8513
8514 if test "$wxUSE_COMMONDLGS" = yes; then
8515 echo "$as_me:$LINENO: result: yes" >&5
8516 echo "${ECHO_T}yes" >&6
8517 else
8518 echo "$as_me:$LINENO: result: no" >&5
8519 echo "${ECHO_T}no" >&6
8520 fi
8521
8522
8523 enablestring=
8524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8525 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8526 no_cache=0
8527 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8528 if test "${enable_choicedlg+set}" = set; then
8529 enableval="$enable_choicedlg"
8530
8531 if test "$enableval" = yes; then
8532 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8533 else
8534 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8535 fi
8536
8537 else
8538
8539 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8540 if test "x$LINE" != x ; then
8541 eval "DEFAULT_$LINE"
8542 else
8543 no_cache=1
8544 fi
8545
8546 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8547
8548 fi;
8549
8550 eval "$ac_cv_use_choicedlg"
8551 if test "$no_cache" != 1; then
8552 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8553 fi
8554
8555 if test "$wxUSE_CHOICEDLG" = yes; then
8556 echo "$as_me:$LINENO: result: yes" >&5
8557 echo "${ECHO_T}yes" >&6
8558 else
8559 echo "$as_me:$LINENO: result: no" >&5
8560 echo "${ECHO_T}no" >&6
8561 fi
8562
8563
8564 enablestring=
8565 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8566 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8567 no_cache=0
8568 # Check whether --enable-coldlg or --disable-coldlg was given.
8569 if test "${enable_coldlg+set}" = set; then
8570 enableval="$enable_coldlg"
8571
8572 if test "$enableval" = yes; then
8573 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8574 else
8575 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8576 fi
8577
8578 else
8579
8580 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8581 if test "x$LINE" != x ; then
8582 eval "DEFAULT_$LINE"
8583 else
8584 no_cache=1
8585 fi
8586
8587 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8588
8589 fi;
8590
8591 eval "$ac_cv_use_coldlg"
8592 if test "$no_cache" != 1; then
8593 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8594 fi
8595
8596 if test "$wxUSE_COLOURDLG" = yes; then
8597 echo "$as_me:$LINENO: result: yes" >&5
8598 echo "${ECHO_T}yes" >&6
8599 else
8600 echo "$as_me:$LINENO: result: no" >&5
8601 echo "${ECHO_T}no" >&6
8602 fi
8603
8604
8605 enablestring=
8606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8607 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8608 no_cache=0
8609 # Check whether --enable-filedlg or --disable-filedlg was given.
8610 if test "${enable_filedlg+set}" = set; then
8611 enableval="$enable_filedlg"
8612
8613 if test "$enableval" = yes; then
8614 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8615 else
8616 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8617 fi
8618
8619 else
8620
8621 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8622 if test "x$LINE" != x ; then
8623 eval "DEFAULT_$LINE"
8624 else
8625 no_cache=1
8626 fi
8627
8628 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8629
8630 fi;
8631
8632 eval "$ac_cv_use_filedlg"
8633 if test "$no_cache" != 1; then
8634 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8635 fi
8636
8637 if test "$wxUSE_FILEDLG" = yes; then
8638 echo "$as_me:$LINENO: result: yes" >&5
8639 echo "${ECHO_T}yes" >&6
8640 else
8641 echo "$as_me:$LINENO: result: no" >&5
8642 echo "${ECHO_T}no" >&6
8643 fi
8644
8645
8646 enablestring=
8647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8648 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8649 no_cache=0
8650 # Check whether --enable-finddlg or --disable-finddlg was given.
8651 if test "${enable_finddlg+set}" = set; then
8652 enableval="$enable_finddlg"
8653
8654 if test "$enableval" = yes; then
8655 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8656 else
8657 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8658 fi
8659
8660 else
8661
8662 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8663 if test "x$LINE" != x ; then
8664 eval "DEFAULT_$LINE"
8665 else
8666 no_cache=1
8667 fi
8668
8669 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8670
8671 fi;
8672
8673 eval "$ac_cv_use_finddlg"
8674 if test "$no_cache" != 1; then
8675 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8676 fi
8677
8678 if test "$wxUSE_FINDREPLDLG" = yes; then
8679 echo "$as_me:$LINENO: result: yes" >&5
8680 echo "${ECHO_T}yes" >&6
8681 else
8682 echo "$as_me:$LINENO: result: no" >&5
8683 echo "${ECHO_T}no" >&6
8684 fi
8685
8686
8687 enablestring=
8688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8689 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8690 no_cache=0
8691 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8692 if test "${enable_fontdlg+set}" = set; then
8693 enableval="$enable_fontdlg"
8694
8695 if test "$enableval" = yes; then
8696 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8697 else
8698 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8699 fi
8700
8701 else
8702
8703 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8704 if test "x$LINE" != x ; then
8705 eval "DEFAULT_$LINE"
8706 else
8707 no_cache=1
8708 fi
8709
8710 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8711
8712 fi;
8713
8714 eval "$ac_cv_use_fontdlg"
8715 if test "$no_cache" != 1; then
8716 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8717 fi
8718
8719 if test "$wxUSE_FONTDLG" = yes; then
8720 echo "$as_me:$LINENO: result: yes" >&5
8721 echo "${ECHO_T}yes" >&6
8722 else
8723 echo "$as_me:$LINENO: result: no" >&5
8724 echo "${ECHO_T}no" >&6
8725 fi
8726
8727
8728 enablestring=
8729 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8730 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8731 no_cache=0
8732 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8733 if test "${enable_dirdlg+set}" = set; then
8734 enableval="$enable_dirdlg"
8735
8736 if test "$enableval" = yes; then
8737 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8738 else
8739 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8740 fi
8741
8742 else
8743
8744 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8745 if test "x$LINE" != x ; then
8746 eval "DEFAULT_$LINE"
8747 else
8748 no_cache=1
8749 fi
8750
8751 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8752
8753 fi;
8754
8755 eval "$ac_cv_use_dirdlg"
8756 if test "$no_cache" != 1; then
8757 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8758 fi
8759
8760 if test "$wxUSE_DIRDLG" = yes; then
8761 echo "$as_me:$LINENO: result: yes" >&5
8762 echo "${ECHO_T}yes" >&6
8763 else
8764 echo "$as_me:$LINENO: result: no" >&5
8765 echo "${ECHO_T}no" >&6
8766 fi
8767
8768
8769 enablestring=
8770 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8771 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8772 no_cache=0
8773 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8774 if test "${enable_msgdlg+set}" = set; then
8775 enableval="$enable_msgdlg"
8776
8777 if test "$enableval" = yes; then
8778 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8779 else
8780 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8781 fi
8782
8783 else
8784
8785 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8786 if test "x$LINE" != x ; then
8787 eval "DEFAULT_$LINE"
8788 else
8789 no_cache=1
8790 fi
8791
8792 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8793
8794 fi;
8795
8796 eval "$ac_cv_use_msgdlg"
8797 if test "$no_cache" != 1; then
8798 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8799 fi
8800
8801 if test "$wxUSE_MSGDLG" = yes; then
8802 echo "$as_me:$LINENO: result: yes" >&5
8803 echo "${ECHO_T}yes" >&6
8804 else
8805 echo "$as_me:$LINENO: result: no" >&5
8806 echo "${ECHO_T}no" >&6
8807 fi
8808
8809
8810 enablestring=
8811 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8812 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8813 no_cache=0
8814 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8815 if test "${enable_numberdlg+set}" = set; then
8816 enableval="$enable_numberdlg"
8817
8818 if test "$enableval" = yes; then
8819 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8820 else
8821 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8822 fi
8823
8824 else
8825
8826 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8827 if test "x$LINE" != x ; then
8828 eval "DEFAULT_$LINE"
8829 else
8830 no_cache=1
8831 fi
8832
8833 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8834
8835 fi;
8836
8837 eval "$ac_cv_use_numberdlg"
8838 if test "$no_cache" != 1; then
8839 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8840 fi
8841
8842 if test "$wxUSE_NUMBERDLG" = yes; then
8843 echo "$as_me:$LINENO: result: yes" >&5
8844 echo "${ECHO_T}yes" >&6
8845 else
8846 echo "$as_me:$LINENO: result: no" >&5
8847 echo "${ECHO_T}no" >&6
8848 fi
8849
8850
8851 enablestring=
8852 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8853 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8854 no_cache=0
8855 # Check whether --enable-splash or --disable-splash was given.
8856 if test "${enable_splash+set}" = set; then
8857 enableval="$enable_splash"
8858
8859 if test "$enableval" = yes; then
8860 ac_cv_use_splash='wxUSE_SPLASH=yes'
8861 else
8862 ac_cv_use_splash='wxUSE_SPLASH=no'
8863 fi
8864
8865 else
8866
8867 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8868 if test "x$LINE" != x ; then
8869 eval "DEFAULT_$LINE"
8870 else
8871 no_cache=1
8872 fi
8873
8874 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8875
8876 fi;
8877
8878 eval "$ac_cv_use_splash"
8879 if test "$no_cache" != 1; then
8880 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8881 fi
8882
8883 if test "$wxUSE_SPLASH" = yes; then
8884 echo "$as_me:$LINENO: result: yes" >&5
8885 echo "${ECHO_T}yes" >&6
8886 else
8887 echo "$as_me:$LINENO: result: no" >&5
8888 echo "${ECHO_T}no" >&6
8889 fi
8890
8891
8892 enablestring=
8893 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8894 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8895 no_cache=0
8896 # Check whether --enable-textdlg or --disable-textdlg was given.
8897 if test "${enable_textdlg+set}" = set; then
8898 enableval="$enable_textdlg"
8899
8900 if test "$enableval" = yes; then
8901 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8902 else
8903 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8904 fi
8905
8906 else
8907
8908 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8909 if test "x$LINE" != x ; then
8910 eval "DEFAULT_$LINE"
8911 else
8912 no_cache=1
8913 fi
8914
8915 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8916
8917 fi;
8918
8919 eval "$ac_cv_use_textdlg"
8920 if test "$no_cache" != 1; then
8921 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8922 fi
8923
8924 if test "$wxUSE_TEXTDLG" = yes; then
8925 echo "$as_me:$LINENO: result: yes" >&5
8926 echo "${ECHO_T}yes" >&6
8927 else
8928 echo "$as_me:$LINENO: result: no" >&5
8929 echo "${ECHO_T}no" >&6
8930 fi
8931
8932
8933 enablestring=
8934 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8935 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8936 no_cache=0
8937 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8938 if test "${enable_tipdlg+set}" = set; then
8939 enableval="$enable_tipdlg"
8940
8941 if test "$enableval" = yes; then
8942 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8943 else
8944 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8945 fi
8946
8947 else
8948
8949 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8950 if test "x$LINE" != x ; then
8951 eval "DEFAULT_$LINE"
8952 else
8953 no_cache=1
8954 fi
8955
8956 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8957
8958 fi;
8959
8960 eval "$ac_cv_use_tipdlg"
8961 if test "$no_cache" != 1; then
8962 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8963 fi
8964
8965 if test "$wxUSE_STARTUP_TIPS" = yes; then
8966 echo "$as_me:$LINENO: result: yes" >&5
8967 echo "${ECHO_T}yes" >&6
8968 else
8969 echo "$as_me:$LINENO: result: no" >&5
8970 echo "${ECHO_T}no" >&6
8971 fi
8972
8973
8974 enablestring=
8975 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8976 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8977 no_cache=0
8978 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8979 if test "${enable_progressdlg+set}" = set; then
8980 enableval="$enable_progressdlg"
8981
8982 if test "$enableval" = yes; then
8983 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8984 else
8985 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8986 fi
8987
8988 else
8989
8990 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8991 if test "x$LINE" != x ; then
8992 eval "DEFAULT_$LINE"
8993 else
8994 no_cache=1
8995 fi
8996
8997 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8998
8999 fi;
9000
9001 eval "$ac_cv_use_progressdlg"
9002 if test "$no_cache" != 1; then
9003 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9004 fi
9005
9006 if test "$wxUSE_PROGRESSDLG" = yes; then
9007 echo "$as_me:$LINENO: result: yes" >&5
9008 echo "${ECHO_T}yes" >&6
9009 else
9010 echo "$as_me:$LINENO: result: no" >&5
9011 echo "${ECHO_T}no" >&6
9012 fi
9013
9014
9015 enablestring=
9016 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9017 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9018 no_cache=0
9019 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9020 if test "${enable_wizarddlg+set}" = set; then
9021 enableval="$enable_wizarddlg"
9022
9023 if test "$enableval" = yes; then
9024 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9025 else
9026 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9027 fi
9028
9029 else
9030
9031 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9032 if test "x$LINE" != x ; then
9033 eval "DEFAULT_$LINE"
9034 else
9035 no_cache=1
9036 fi
9037
9038 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9039
9040 fi;
9041
9042 eval "$ac_cv_use_wizarddlg"
9043 if test "$no_cache" != 1; then
9044 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9045 fi
9046
9047 if test "$wxUSE_WIZARDDLG" = yes; then
9048 echo "$as_me:$LINENO: result: yes" >&5
9049 echo "${ECHO_T}yes" >&6
9050 else
9051 echo "$as_me:$LINENO: result: no" >&5
9052 echo "${ECHO_T}no" >&6
9053 fi
9054
9055
9056
9057
9058 enablestring=
9059 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9060 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9061 no_cache=0
9062 # Check whether --enable-menus or --disable-menus was given.
9063 if test "${enable_menus+set}" = set; then
9064 enableval="$enable_menus"
9065
9066 if test "$enableval" = yes; then
9067 ac_cv_use_menus='wxUSE_MENUS=yes'
9068 else
9069 ac_cv_use_menus='wxUSE_MENUS=no'
9070 fi
9071
9072 else
9073
9074 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9075 if test "x$LINE" != x ; then
9076 eval "DEFAULT_$LINE"
9077 else
9078 no_cache=1
9079 fi
9080
9081 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9082
9083 fi;
9084
9085 eval "$ac_cv_use_menus"
9086 if test "$no_cache" != 1; then
9087 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9088 fi
9089
9090 if test "$wxUSE_MENUS" = yes; then
9091 echo "$as_me:$LINENO: result: yes" >&5
9092 echo "${ECHO_T}yes" >&6
9093 else
9094 echo "$as_me:$LINENO: result: no" >&5
9095 echo "${ECHO_T}no" >&6
9096 fi
9097
9098
9099 enablestring=
9100 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9101 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9102 no_cache=0
9103 # Check whether --enable-miniframe or --disable-miniframe was given.
9104 if test "${enable_miniframe+set}" = set; then
9105 enableval="$enable_miniframe"
9106
9107 if test "$enableval" = yes; then
9108 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9109 else
9110 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9111 fi
9112
9113 else
9114
9115 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9116 if test "x$LINE" != x ; then
9117 eval "DEFAULT_$LINE"
9118 else
9119 no_cache=1
9120 fi
9121
9122 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9123
9124 fi;
9125
9126 eval "$ac_cv_use_miniframe"
9127 if test "$no_cache" != 1; then
9128 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9129 fi
9130
9131 if test "$wxUSE_MINIFRAME" = yes; then
9132 echo "$as_me:$LINENO: result: yes" >&5
9133 echo "${ECHO_T}yes" >&6
9134 else
9135 echo "$as_me:$LINENO: result: no" >&5
9136 echo "${ECHO_T}no" >&6
9137 fi
9138
9139
9140 enablestring=
9141 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9142 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9143 no_cache=0
9144 # Check whether --enable-tooltips or --disable-tooltips was given.
9145 if test "${enable_tooltips+set}" = set; then
9146 enableval="$enable_tooltips"
9147
9148 if test "$enableval" = yes; then
9149 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9150 else
9151 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9152 fi
9153
9154 else
9155
9156 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9157 if test "x$LINE" != x ; then
9158 eval "DEFAULT_$LINE"
9159 else
9160 no_cache=1
9161 fi
9162
9163 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9164
9165 fi;
9166
9167 eval "$ac_cv_use_tooltips"
9168 if test "$no_cache" != 1; then
9169 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9170 fi
9171
9172 if test "$wxUSE_TOOLTIPS" = yes; then
9173 echo "$as_me:$LINENO: result: yes" >&5
9174 echo "${ECHO_T}yes" >&6
9175 else
9176 echo "$as_me:$LINENO: result: no" >&5
9177 echo "${ECHO_T}no" >&6
9178 fi
9179
9180
9181 enablestring=
9182 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9183 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9184 no_cache=0
9185 # Check whether --enable-splines or --disable-splines was given.
9186 if test "${enable_splines+set}" = set; then
9187 enableval="$enable_splines"
9188
9189 if test "$enableval" = yes; then
9190 ac_cv_use_splines='wxUSE_SPLINES=yes'
9191 else
9192 ac_cv_use_splines='wxUSE_SPLINES=no'
9193 fi
9194
9195 else
9196
9197 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9198 if test "x$LINE" != x ; then
9199 eval "DEFAULT_$LINE"
9200 else
9201 no_cache=1
9202 fi
9203
9204 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9205
9206 fi;
9207
9208 eval "$ac_cv_use_splines"
9209 if test "$no_cache" != 1; then
9210 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9211 fi
9212
9213 if test "$wxUSE_SPLINES" = yes; then
9214 echo "$as_me:$LINENO: result: yes" >&5
9215 echo "${ECHO_T}yes" >&6
9216 else
9217 echo "$as_me:$LINENO: result: no" >&5
9218 echo "${ECHO_T}no" >&6
9219 fi
9220
9221
9222 enablestring=
9223 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9224 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9225 no_cache=0
9226 # Check whether --enable-validators or --disable-validators was given.
9227 if test "${enable_validators+set}" = set; then
9228 enableval="$enable_validators"
9229
9230 if test "$enableval" = yes; then
9231 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9232 else
9233 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9234 fi
9235
9236 else
9237
9238 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9239 if test "x$LINE" != x ; then
9240 eval "DEFAULT_$LINE"
9241 else
9242 no_cache=1
9243 fi
9244
9245 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9246
9247 fi;
9248
9249 eval "$ac_cv_use_validators"
9250 if test "$no_cache" != 1; then
9251 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9252 fi
9253
9254 if test "$wxUSE_VALIDATORS" = yes; then
9255 echo "$as_me:$LINENO: result: yes" >&5
9256 echo "${ECHO_T}yes" >&6
9257 else
9258 echo "$as_me:$LINENO: result: no" >&5
9259 echo "${ECHO_T}no" >&6
9260 fi
9261
9262
9263 enablestring=
9264 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9265 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9266 no_cache=0
9267 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9268 if test "${enable_busyinfo+set}" = set; then
9269 enableval="$enable_busyinfo"
9270
9271 if test "$enableval" = yes; then
9272 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9273 else
9274 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9275 fi
9276
9277 else
9278
9279 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9280 if test "x$LINE" != x ; then
9281 eval "DEFAULT_$LINE"
9282 else
9283 no_cache=1
9284 fi
9285
9286 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9287
9288 fi;
9289
9290 eval "$ac_cv_use_busyinfo"
9291 if test "$no_cache" != 1; then
9292 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9293 fi
9294
9295 if test "$wxUSE_BUSYINFO" = yes; then
9296 echo "$as_me:$LINENO: result: yes" >&5
9297 echo "${ECHO_T}yes" >&6
9298 else
9299 echo "$as_me:$LINENO: result: no" >&5
9300 echo "${ECHO_T}no" >&6
9301 fi
9302
9303
9304 enablestring=
9305 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9306 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9307 no_cache=0
9308 # Check whether --enable-joystick or --disable-joystick was given.
9309 if test "${enable_joystick+set}" = set; then
9310 enableval="$enable_joystick"
9311
9312 if test "$enableval" = yes; then
9313 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9314 else
9315 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9316 fi
9317
9318 else
9319
9320 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9321 if test "x$LINE" != x ; then
9322 eval "DEFAULT_$LINE"
9323 else
9324 no_cache=1
9325 fi
9326
9327 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9328
9329 fi;
9330
9331 eval "$ac_cv_use_joystick"
9332 if test "$no_cache" != 1; then
9333 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9334 fi
9335
9336 if test "$wxUSE_JOYSTICK" = yes; then
9337 echo "$as_me:$LINENO: result: yes" >&5
9338 echo "${ECHO_T}yes" >&6
9339 else
9340 echo "$as_me:$LINENO: result: no" >&5
9341 echo "${ECHO_T}no" >&6
9342 fi
9343
9344
9345 enablestring=
9346 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9347 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9348 no_cache=0
9349 # Check whether --enable-metafile or --disable-metafile was given.
9350 if test "${enable_metafile+set}" = set; then
9351 enableval="$enable_metafile"
9352
9353 if test "$enableval" = yes; then
9354 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9355 else
9356 ac_cv_use_metafile='wxUSE_METAFILE=no'
9357 fi
9358
9359 else
9360
9361 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9362 if test "x$LINE" != x ; then
9363 eval "DEFAULT_$LINE"
9364 else
9365 no_cache=1
9366 fi
9367
9368 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9369
9370 fi;
9371
9372 eval "$ac_cv_use_metafile"
9373 if test "$no_cache" != 1; then
9374 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9375 fi
9376
9377 if test "$wxUSE_METAFILE" = yes; then
9378 echo "$as_me:$LINENO: result: yes" >&5
9379 echo "${ECHO_T}yes" >&6
9380 else
9381 echo "$as_me:$LINENO: result: no" >&5
9382 echo "${ECHO_T}no" >&6
9383 fi
9384
9385
9386 enablestring=
9387 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9388 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9389 no_cache=0
9390 # Check whether --enable-dragimage or --disable-dragimage was given.
9391 if test "${enable_dragimage+set}" = set; then
9392 enableval="$enable_dragimage"
9393
9394 if test "$enableval" = yes; then
9395 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9396 else
9397 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9398 fi
9399
9400 else
9401
9402 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9403 if test "x$LINE" != x ; then
9404 eval "DEFAULT_$LINE"
9405 else
9406 no_cache=1
9407 fi
9408
9409 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9410
9411 fi;
9412
9413 eval "$ac_cv_use_dragimage"
9414 if test "$no_cache" != 1; then
9415 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9416 fi
9417
9418 if test "$wxUSE_DRAGIMAGE" = yes; then
9419 echo "$as_me:$LINENO: result: yes" >&5
9420 echo "${ECHO_T}yes" >&6
9421 else
9422 echo "$as_me:$LINENO: result: no" >&5
9423 echo "${ECHO_T}no" >&6
9424 fi
9425
9426
9427 enablestring=
9428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9429 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9430 no_cache=0
9431 # Check whether --enable-accessibility or --disable-accessibility was given.
9432 if test "${enable_accessibility+set}" = set; then
9433 enableval="$enable_accessibility"
9434
9435 if test "$enableval" = yes; then
9436 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9437 else
9438 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9439 fi
9440
9441 else
9442
9443 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9444 if test "x$LINE" != x ; then
9445 eval "DEFAULT_$LINE"
9446 else
9447 no_cache=1
9448 fi
9449
9450 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9451
9452 fi;
9453
9454 eval "$ac_cv_use_accessibility"
9455 if test "$no_cache" != 1; then
9456 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9457 fi
9458
9459 if test "$wxUSE_ACCESSIBILITY" = yes; then
9460 echo "$as_me:$LINENO: result: yes" >&5
9461 echo "${ECHO_T}yes" >&6
9462 else
9463 echo "$as_me:$LINENO: result: no" >&5
9464 echo "${ECHO_T}no" >&6
9465 fi
9466
9467
9468
9469
9470 enablestring=
9471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9472 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9473 no_cache=0
9474 # Check whether --enable-palette or --disable-palette was given.
9475 if test "${enable_palette+set}" = set; then
9476 enableval="$enable_palette"
9477
9478 if test "$enableval" = yes; then
9479 ac_cv_use_palette='wxUSE_PALETTE=yes'
9480 else
9481 ac_cv_use_palette='wxUSE_PALETTE=no'
9482 fi
9483
9484 else
9485
9486 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9487 if test "x$LINE" != x ; then
9488 eval "DEFAULT_$LINE"
9489 else
9490 no_cache=1
9491 fi
9492
9493 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9494
9495 fi;
9496
9497 eval "$ac_cv_use_palette"
9498 if test "$no_cache" != 1; then
9499 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9500 fi
9501
9502 if test "$wxUSE_PALETTE" = yes; then
9503 echo "$as_me:$LINENO: result: yes" >&5
9504 echo "${ECHO_T}yes" >&6
9505 else
9506 echo "$as_me:$LINENO: result: no" >&5
9507 echo "${ECHO_T}no" >&6
9508 fi
9509
9510
9511 enablestring=
9512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9513 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9514 no_cache=0
9515 # Check whether --enable-image or --disable-image was given.
9516 if test "${enable_image+set}" = set; then
9517 enableval="$enable_image"
9518
9519 if test "$enableval" = yes; then
9520 ac_cv_use_image='wxUSE_IMAGE=yes'
9521 else
9522 ac_cv_use_image='wxUSE_IMAGE=no'
9523 fi
9524
9525 else
9526
9527 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9528 if test "x$LINE" != x ; then
9529 eval "DEFAULT_$LINE"
9530 else
9531 no_cache=1
9532 fi
9533
9534 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9535
9536 fi;
9537
9538 eval "$ac_cv_use_image"
9539 if test "$no_cache" != 1; then
9540 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9541 fi
9542
9543 if test "$wxUSE_IMAGE" = yes; then
9544 echo "$as_me:$LINENO: result: yes" >&5
9545 echo "${ECHO_T}yes" >&6
9546 else
9547 echo "$as_me:$LINENO: result: no" >&5
9548 echo "${ECHO_T}no" >&6
9549 fi
9550
9551
9552 enablestring=
9553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9554 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9555 no_cache=0
9556 # Check whether --enable-gif or --disable-gif was given.
9557 if test "${enable_gif+set}" = set; then
9558 enableval="$enable_gif"
9559
9560 if test "$enableval" = yes; then
9561 ac_cv_use_gif='wxUSE_GIF=yes'
9562 else
9563 ac_cv_use_gif='wxUSE_GIF=no'
9564 fi
9565
9566 else
9567
9568 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9569 if test "x$LINE" != x ; then
9570 eval "DEFAULT_$LINE"
9571 else
9572 no_cache=1
9573 fi
9574
9575 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9576
9577 fi;
9578
9579 eval "$ac_cv_use_gif"
9580 if test "$no_cache" != 1; then
9581 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9582 fi
9583
9584 if test "$wxUSE_GIF" = yes; then
9585 echo "$as_me:$LINENO: result: yes" >&5
9586 echo "${ECHO_T}yes" >&6
9587 else
9588 echo "$as_me:$LINENO: result: no" >&5
9589 echo "${ECHO_T}no" >&6
9590 fi
9591
9592
9593 enablestring=
9594 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9595 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9596 no_cache=0
9597 # Check whether --enable-pcx or --disable-pcx was given.
9598 if test "${enable_pcx+set}" = set; then
9599 enableval="$enable_pcx"
9600
9601 if test "$enableval" = yes; then
9602 ac_cv_use_pcx='wxUSE_PCX=yes'
9603 else
9604 ac_cv_use_pcx='wxUSE_PCX=no'
9605 fi
9606
9607 else
9608
9609 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9610 if test "x$LINE" != x ; then
9611 eval "DEFAULT_$LINE"
9612 else
9613 no_cache=1
9614 fi
9615
9616 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9617
9618 fi;
9619
9620 eval "$ac_cv_use_pcx"
9621 if test "$no_cache" != 1; then
9622 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9623 fi
9624
9625 if test "$wxUSE_PCX" = yes; then
9626 echo "$as_me:$LINENO: result: yes" >&5
9627 echo "${ECHO_T}yes" >&6
9628 else
9629 echo "$as_me:$LINENO: result: no" >&5
9630 echo "${ECHO_T}no" >&6
9631 fi
9632
9633
9634 enablestring=
9635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9636 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9637 no_cache=0
9638 # Check whether --enable-iff or --disable-iff was given.
9639 if test "${enable_iff+set}" = set; then
9640 enableval="$enable_iff"
9641
9642 if test "$enableval" = yes; then
9643 ac_cv_use_iff='wxUSE_IFF=yes'
9644 else
9645 ac_cv_use_iff='wxUSE_IFF=no'
9646 fi
9647
9648 else
9649
9650 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9651 if test "x$LINE" != x ; then
9652 eval "DEFAULT_$LINE"
9653 else
9654 no_cache=1
9655 fi
9656
9657 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9658
9659 fi;
9660
9661 eval "$ac_cv_use_iff"
9662 if test "$no_cache" != 1; then
9663 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9664 fi
9665
9666 if test "$wxUSE_IFF" = yes; then
9667 echo "$as_me:$LINENO: result: yes" >&5
9668 echo "${ECHO_T}yes" >&6
9669 else
9670 echo "$as_me:$LINENO: result: no" >&5
9671 echo "${ECHO_T}no" >&6
9672 fi
9673
9674
9675 enablestring=
9676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9677 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9678 no_cache=0
9679 # Check whether --enable-pnm or --disable-pnm was given.
9680 if test "${enable_pnm+set}" = set; then
9681 enableval="$enable_pnm"
9682
9683 if test "$enableval" = yes; then
9684 ac_cv_use_pnm='wxUSE_PNM=yes'
9685 else
9686 ac_cv_use_pnm='wxUSE_PNM=no'
9687 fi
9688
9689 else
9690
9691 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9692 if test "x$LINE" != x ; then
9693 eval "DEFAULT_$LINE"
9694 else
9695 no_cache=1
9696 fi
9697
9698 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9699
9700 fi;
9701
9702 eval "$ac_cv_use_pnm"
9703 if test "$no_cache" != 1; then
9704 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9705 fi
9706
9707 if test "$wxUSE_PNM" = yes; then
9708 echo "$as_me:$LINENO: result: yes" >&5
9709 echo "${ECHO_T}yes" >&6
9710 else
9711 echo "$as_me:$LINENO: result: no" >&5
9712 echo "${ECHO_T}no" >&6
9713 fi
9714
9715
9716 enablestring=
9717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9718 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9719 no_cache=0
9720 # Check whether --enable-xpm or --disable-xpm was given.
9721 if test "${enable_xpm+set}" = set; then
9722 enableval="$enable_xpm"
9723
9724 if test "$enableval" = yes; then
9725 ac_cv_use_xpm='wxUSE_XPM=yes'
9726 else
9727 ac_cv_use_xpm='wxUSE_XPM=no'
9728 fi
9729
9730 else
9731
9732 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9733 if test "x$LINE" != x ; then
9734 eval "DEFAULT_$LINE"
9735 else
9736 no_cache=1
9737 fi
9738
9739 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9740
9741 fi;
9742
9743 eval "$ac_cv_use_xpm"
9744 if test "$no_cache" != 1; then
9745 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9746 fi
9747
9748 if test "$wxUSE_XPM" = yes; then
9749 echo "$as_me:$LINENO: result: yes" >&5
9750 echo "${ECHO_T}yes" >&6
9751 else
9752 echo "$as_me:$LINENO: result: no" >&5
9753 echo "${ECHO_T}no" >&6
9754 fi
9755
9756
9757 enablestring=
9758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9759 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9760 no_cache=0
9761 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9762 if test "${enable_ico_cur+set}" = set; then
9763 enableval="$enable_ico_cur"
9764
9765 if test "$enableval" = yes; then
9766 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9767 else
9768 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9769 fi
9770
9771 else
9772
9773 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9774 if test "x$LINE" != x ; then
9775 eval "DEFAULT_$LINE"
9776 else
9777 no_cache=1
9778 fi
9779
9780 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9781
9782 fi;
9783
9784 eval "$ac_cv_use_ico_cur"
9785 if test "$no_cache" != 1; then
9786 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9787 fi
9788
9789 if test "$wxUSE_ICO_CUR" = yes; then
9790 echo "$as_me:$LINENO: result: yes" >&5
9791 echo "${ECHO_T}yes" >&6
9792 else
9793 echo "$as_me:$LINENO: result: no" >&5
9794 echo "${ECHO_T}no" >&6
9795 fi
9796
9797
9798 fi
9799
9800
9801
9802 enablestring=
9803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9804 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9805 no_cache=0
9806 # Check whether --enable-official_build or --disable-official_build was given.
9807 if test "${enable_official_build+set}" = set; then
9808 enableval="$enable_official_build"
9809
9810 if test "$enableval" = yes; then
9811 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9812 else
9813 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9814 fi
9815
9816 else
9817
9818 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9819 if test "x$LINE" != x ; then
9820 eval "DEFAULT_$LINE"
9821 else
9822 no_cache=1
9823 fi
9824
9825 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9826
9827 fi;
9828
9829 eval "$ac_cv_use_official_build"
9830 if test "$no_cache" != 1; then
9831 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9832 fi
9833
9834 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9835 echo "$as_me:$LINENO: result: yes" >&5
9836 echo "${ECHO_T}yes" >&6
9837 else
9838 echo "$as_me:$LINENO: result: no" >&5
9839 echo "${ECHO_T}no" >&6
9840 fi
9841
9842 # Check whether --enable-vendor or --disable-vendor was given.
9843 if test "${enable_vendor+set}" = set; then
9844 enableval="$enable_vendor"
9845 VENDOR="$enableval"
9846 fi;
9847 if test "x$VENDOR" = "x"; then
9848 VENDOR="custom"
9849 fi
9850
9851 case "${host}" in
9852 *-pc-os2_emx | *-pc-os2-emx )
9853 PATH_IFS=';'
9854 ;;
9855 *)
9856 PATH_IFS=':'
9857 ;;
9858 esac
9859
9860
9861
9862 echo "saving argument cache $wx_arg_cache_file"
9863 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9864
9865
9866
9867 echo "$as_me:$LINENO: checking for toolkit" >&5
9868 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9869
9870 # In Wine, we need to default to MSW, not GTK or MOTIF
9871 if test "$wxUSE_WINE" = "yes"; then
9872 DEFAULT_DEFAULT_wxUSE_GTK=0
9873 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9874 DEFAULT_DEFAULT_wxUSE_MSW=1
9875 wxUSE_SHARED=no
9876 fi
9877
9878 if test "$wxUSE_GUI" = "yes"; then
9879
9880 if test "$USE_BEOS" = 1; then
9881 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9882 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9883 { (exit 1); exit 1; }; }
9884 fi
9885
9886 if test "$TOOLKIT_GIVEN" = 1; then
9887 for toolkit in `echo $ALL_TOOLKITS`; do
9888 var=wxUSE_$toolkit
9889 eval "value=\$${var}"
9890 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9891 done
9892 else
9893 for toolkit in `echo $ALL_TOOLKITS`; do
9894 if test "$has_toolkit_in_cache" != 1; then
9895 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9896 else
9897 var=DEFAULT_wxUSE_$toolkit
9898 fi
9899 eval "wxUSE_$toolkit=\$${var}"
9900 done
9901 fi
9902
9903 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9904 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9905 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9906
9907 case "${host}" in
9908 *-pc-os2_emx | *-pc-os2-emx )
9909 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9910 esac
9911
9912 case "$NUM_TOOLKITS" in
9913 1)
9914 ;;
9915 0)
9916 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9917 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9918 { (exit 1); exit 1; }; }
9919 ;;
9920 *)
9921 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9922 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9923 { (exit 1); exit 1; }; }
9924 esac
9925
9926 for toolkit in `echo $ALL_TOOLKITS`; do
9927 var=wxUSE_$toolkit
9928 eval "value=\$${var}"
9929 if test "x$value" != x; then
9930 cache_var=CACHE_$toolkit
9931 eval "cache=\$${cache_var}"
9932 if test "$cache" = 1; then
9933 echo "$var=$value" >> ${wx_arg_cache_file}
9934 fi
9935 if test "$value" = 1; then
9936 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
9937 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9938 echo "${ECHO_T}$toolkit_echo" >&6
9939 fi
9940 fi
9941 done
9942 else
9943 if test "x$host_alias" != "x"; then
9944 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9945 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9946 else
9947 echo "$as_me:$LINENO: result: base only" >&5
9948 echo "${ECHO_T}base only" >&6
9949 fi
9950 fi
9951
9952 wants_win32=0
9953 doesnt_want_win32=0
9954 case "${host}" in
9955 *-*-cygwin*)
9956 if test "$wxUSE_MSW" = 1 ; then
9957 wants_win32=1
9958 else
9959 doesnt_want_win32=1
9960 fi
9961 ;;
9962 *-*-mingw*)
9963 wants_win32=1
9964 ;;
9965 esac
9966
9967 if test "$wxUSE_WINE" = "yes"; then
9968 wants_win32=1
9969 CC=winegcc
9970 CXX=wineg++
9971 RESCOMP=wrc
9972 LDFLAGS_GUI="-mwindows"
9973 fi
9974
9975 if test "$wants_win32" = 1 ; then
9976 USE_UNIX=0
9977 USE_WIN32=1
9978 cat >>confdefs.h <<\_ACEOF
9979 #define __WIN32__ 1
9980 _ACEOF
9981
9982 cat >>confdefs.h <<\_ACEOF
9983 #define __WIN95__ 1
9984 _ACEOF
9985
9986 cat >>confdefs.h <<\_ACEOF
9987 #define __WINDOWS__ 1
9988 _ACEOF
9989
9990 cat >>confdefs.h <<\_ACEOF
9991 #define __GNUWIN32__ 1
9992 _ACEOF
9993
9994 cat >>confdefs.h <<\_ACEOF
9995 #define STRICT 1
9996 _ACEOF
9997
9998 cat >>confdefs.h <<\_ACEOF
9999 #define WINVER 0x0400
10000 _ACEOF
10001
10002 fi
10003 if test "$doesnt_want_win32" = 1 ; then
10004 USE_UNIX=1
10005 USE_WIN32=0
10006 fi
10007
10008 if test "$USE_UNIX" = 1 ; then
10009 wxUSE_UNIX=yes
10010 cat >>confdefs.h <<\_ACEOF
10011 #define __UNIX__ 1
10012 _ACEOF
10013
10014 fi
10015
10016
10017 cat >confcache <<\_ACEOF
10018 # This file is a shell script that caches the results of configure
10019 # tests run on this system so they can be shared between configure
10020 # scripts and configure runs, see configure's option --config-cache.
10021 # It is not useful on other systems. If it contains results you don't
10022 # want to keep, you may remove or edit it.
10023 #
10024 # config.status only pays attention to the cache file if you give it
10025 # the --recheck option to rerun configure.
10026 #
10027 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10028 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10029 # following values.
10030
10031 _ACEOF
10032
10033 # The following way of writing the cache mishandles newlines in values,
10034 # but we know of no workaround that is simple, portable, and efficient.
10035 # So, don't put newlines in cache variables' values.
10036 # Ultrix sh set writes to stderr and can't be redirected directly,
10037 # and sets the high bit in the cache file unless we assign to the vars.
10038 {
10039 (set) 2>&1 |
10040 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10041 *ac_space=\ *)
10042 # `set' does not quote correctly, so add quotes (double-quote
10043 # substitution turns \\\\ into \\, and sed turns \\ into \).
10044 sed -n \
10045 "s/'/'\\\\''/g;
10046 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10047 ;;
10048 *)
10049 # `set' quotes correctly as required by POSIX, so do not add quotes.
10050 sed -n \
10051 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10052 ;;
10053 esac;
10054 } |
10055 sed '
10056 t clear
10057 : clear
10058 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10059 t end
10060 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10061 : end' >>confcache
10062 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10063 if test -w $cache_file; then
10064 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10065 cat confcache >$cache_file
10066 else
10067 echo "not updating unwritable cache $cache_file"
10068 fi
10069 fi
10070 rm -f confcache
10071
10072 if test "$build" != "$host" ; then
10073 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10074 CC=$host_alias-gcc
10075 CXX=$host_alias-c++
10076 AR=$host_alias-ar
10077 RANLIB=$host_alias-ranlib
10078 DLLTOOL=$host_alias-dlltool
10079 RESCOMP=$host_alias-windres
10080 LD=$host_alias-ld
10081 NM=$host_alias-nm
10082 STRIP=$host_alias-strip
10083 else
10084 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10085 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10086 { (exit 1); exit 1; }; }
10087 fi
10088 fi
10089
10090 CFLAGS=${CFLAGS:=}
10091 ac_ext=c
10092 ac_cpp='$CPP $CPPFLAGS'
10093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10096 if test -n "$ac_tool_prefix"; then
10097 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10098 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10099 echo "$as_me:$LINENO: checking for $ac_word" >&5
10100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10101 if test "${ac_cv_prog_CC+set}" = set; then
10102 echo $ECHO_N "(cached) $ECHO_C" >&6
10103 else
10104 if test -n "$CC"; then
10105 ac_cv_prog_CC="$CC" # Let the user override the test.
10106 else
10107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10108 for as_dir in $PATH
10109 do
10110 IFS=$as_save_IFS
10111 test -z "$as_dir" && as_dir=.
10112 for ac_exec_ext in '' $ac_executable_extensions; do
10113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10114 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10116 break 2
10117 fi
10118 done
10119 done
10120
10121 fi
10122 fi
10123 CC=$ac_cv_prog_CC
10124 if test -n "$CC"; then
10125 echo "$as_me:$LINENO: result: $CC" >&5
10126 echo "${ECHO_T}$CC" >&6
10127 else
10128 echo "$as_me:$LINENO: result: no" >&5
10129 echo "${ECHO_T}no" >&6
10130 fi
10131
10132 fi
10133 if test -z "$ac_cv_prog_CC"; then
10134 ac_ct_CC=$CC
10135 # Extract the first word of "gcc", so it can be a program name with args.
10136 set dummy gcc; 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_ac_ct_CC+set}" = set; then
10140 echo $ECHO_N "(cached) $ECHO_C" >&6
10141 else
10142 if test -n "$ac_ct_CC"; then
10143 ac_cv_prog_ac_ct_CC="$ac_ct_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_ac_ct_CC="gcc"
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 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10162 if test -n "$ac_ct_CC"; then
10163 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10164 echo "${ECHO_T}$ac_ct_CC" >&6
10165 else
10166 echo "$as_me:$LINENO: result: no" >&5
10167 echo "${ECHO_T}no" >&6
10168 fi
10169
10170 CC=$ac_ct_CC
10171 else
10172 CC="$ac_cv_prog_CC"
10173 fi
10174
10175 if test -z "$CC"; then
10176 if test -n "$ac_tool_prefix"; then
10177 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10178 set dummy ${ac_tool_prefix}cc; ac_word=$2
10179 echo "$as_me:$LINENO: checking for $ac_word" >&5
10180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10181 if test "${ac_cv_prog_CC+set}" = set; then
10182 echo $ECHO_N "(cached) $ECHO_C" >&6
10183 else
10184 if test -n "$CC"; then
10185 ac_cv_prog_CC="$CC" # Let the user override the test.
10186 else
10187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10188 for as_dir in $PATH
10189 do
10190 IFS=$as_save_IFS
10191 test -z "$as_dir" && as_dir=.
10192 for ac_exec_ext in '' $ac_executable_extensions; do
10193 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10194 ac_cv_prog_CC="${ac_tool_prefix}cc"
10195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10196 break 2
10197 fi
10198 done
10199 done
10200
10201 fi
10202 fi
10203 CC=$ac_cv_prog_CC
10204 if test -n "$CC"; then
10205 echo "$as_me:$LINENO: result: $CC" >&5
10206 echo "${ECHO_T}$CC" >&6
10207 else
10208 echo "$as_me:$LINENO: result: no" >&5
10209 echo "${ECHO_T}no" >&6
10210 fi
10211
10212 fi
10213 if test -z "$ac_cv_prog_CC"; then
10214 ac_ct_CC=$CC
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_ac_ct_CC+set}" = set; then
10220 echo $ECHO_N "(cached) $ECHO_C" >&6
10221 else
10222 if test -n "$ac_ct_CC"; then
10223 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10224 else
10225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10226 for as_dir in $PATH
10227 do
10228 IFS=$as_save_IFS
10229 test -z "$as_dir" && as_dir=.
10230 for ac_exec_ext in '' $ac_executable_extensions; do
10231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10232 ac_cv_prog_ac_ct_CC="cc"
10233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10234 break 2
10235 fi
10236 done
10237 done
10238
10239 fi
10240 fi
10241 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10242 if test -n "$ac_ct_CC"; then
10243 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10244 echo "${ECHO_T}$ac_ct_CC" >&6
10245 else
10246 echo "$as_me:$LINENO: result: no" >&5
10247 echo "${ECHO_T}no" >&6
10248 fi
10249
10250 CC=$ac_ct_CC
10251 else
10252 CC="$ac_cv_prog_CC"
10253 fi
10254
10255 fi
10256 if test -z "$CC"; then
10257 # Extract the first word of "cc", so it can be a program name with args.
10258 set dummy cc; ac_word=$2
10259 echo "$as_me:$LINENO: checking for $ac_word" >&5
10260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10261 if test "${ac_cv_prog_CC+set}" = set; then
10262 echo $ECHO_N "(cached) $ECHO_C" >&6
10263 else
10264 if test -n "$CC"; then
10265 ac_cv_prog_CC="$CC" # Let the user override the test.
10266 else
10267 ac_prog_rejected=no
10268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10269 for as_dir in $PATH
10270 do
10271 IFS=$as_save_IFS
10272 test -z "$as_dir" && as_dir=.
10273 for ac_exec_ext in '' $ac_executable_extensions; do
10274 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10275 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10276 ac_prog_rejected=yes
10277 continue
10278 fi
10279 ac_cv_prog_CC="cc"
10280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10281 break 2
10282 fi
10283 done
10284 done
10285
10286 if test $ac_prog_rejected = yes; then
10287 # We found a bogon in the path, so make sure we never use it.
10288 set dummy $ac_cv_prog_CC
10289 shift
10290 if test $# != 0; then
10291 # We chose a different compiler from the bogus one.
10292 # However, it has the same basename, so the bogon will be chosen
10293 # first if we set CC to just the basename; use the full file name.
10294 shift
10295 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10296 fi
10297 fi
10298 fi
10299 fi
10300 CC=$ac_cv_prog_CC
10301 if test -n "$CC"; then
10302 echo "$as_me:$LINENO: result: $CC" >&5
10303 echo "${ECHO_T}$CC" >&6
10304 else
10305 echo "$as_me:$LINENO: result: no" >&5
10306 echo "${ECHO_T}no" >&6
10307 fi
10308
10309 fi
10310 if test -z "$CC"; then
10311 if test -n "$ac_tool_prefix"; then
10312 for ac_prog in cl
10313 do
10314 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10315 set dummy $ac_tool_prefix$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_CC+set}" = set; then
10319 echo $ECHO_N "(cached) $ECHO_C" >&6
10320 else
10321 if test -n "$CC"; then
10322 ac_cv_prog_CC="$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_CC="$ac_tool_prefix$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 CC=$ac_cv_prog_CC
10341 if test -n "$CC"; then
10342 echo "$as_me:$LINENO: result: $CC" >&5
10343 echo "${ECHO_T}$CC" >&6
10344 else
10345 echo "$as_me:$LINENO: result: no" >&5
10346 echo "${ECHO_T}no" >&6
10347 fi
10348
10349 test -n "$CC" && break
10350 done
10351 fi
10352 if test -z "$CC"; then
10353 ac_ct_CC=$CC
10354 for ac_prog in cl
10355 do
10356 # Extract the first word of "$ac_prog", so it can be a program name with args.
10357 set dummy $ac_prog; ac_word=$2
10358 echo "$as_me:$LINENO: checking for $ac_word" >&5
10359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10360 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10361 echo $ECHO_N "(cached) $ECHO_C" >&6
10362 else
10363 if test -n "$ac_ct_CC"; then
10364 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10365 else
10366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10367 for as_dir in $PATH
10368 do
10369 IFS=$as_save_IFS
10370 test -z "$as_dir" && as_dir=.
10371 for ac_exec_ext in '' $ac_executable_extensions; do
10372 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10373 ac_cv_prog_ac_ct_CC="$ac_prog"
10374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10375 break 2
10376 fi
10377 done
10378 done
10379
10380 fi
10381 fi
10382 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10383 if test -n "$ac_ct_CC"; then
10384 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10385 echo "${ECHO_T}$ac_ct_CC" >&6
10386 else
10387 echo "$as_me:$LINENO: result: no" >&5
10388 echo "${ECHO_T}no" >&6
10389 fi
10390
10391 test -n "$ac_ct_CC" && break
10392 done
10393
10394 CC=$ac_ct_CC
10395 fi
10396
10397 fi
10398
10399
10400 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10401 See \`config.log' for more details." >&5
10402 echo "$as_me: error: no acceptable C compiler found in \$PATH
10403 See \`config.log' for more details." >&2;}
10404 { (exit 1); exit 1; }; }
10405
10406 # Provide some information about the compiler.
10407 echo "$as_me:$LINENO:" \
10408 "checking for C compiler version" >&5
10409 ac_compiler=`set X $ac_compile; echo $2`
10410 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10411 (eval $ac_compiler --version </dev/null >&5) 2>&5
10412 ac_status=$?
10413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10414 (exit $ac_status); }
10415 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10416 (eval $ac_compiler -v </dev/null >&5) 2>&5
10417 ac_status=$?
10418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10419 (exit $ac_status); }
10420 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10421 (eval $ac_compiler -V </dev/null >&5) 2>&5
10422 ac_status=$?
10423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10424 (exit $ac_status); }
10425
10426 cat >conftest.$ac_ext <<_ACEOF
10427 /* confdefs.h. */
10428 _ACEOF
10429 cat confdefs.h >>conftest.$ac_ext
10430 cat >>conftest.$ac_ext <<_ACEOF
10431 /* end confdefs.h. */
10432
10433 int
10434 main ()
10435 {
10436
10437 ;
10438 return 0;
10439 }
10440 _ACEOF
10441 ac_clean_files_save=$ac_clean_files
10442 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10443 # Try to create an executable without -o first, disregard a.out.
10444 # It will help us diagnose broken compilers, and finding out an intuition
10445 # of exeext.
10446 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10447 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10448 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10449 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10450 (eval $ac_link_default) 2>&5
10451 ac_status=$?
10452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10453 (exit $ac_status); }; then
10454 # Find the output, starting from the most likely. This scheme is
10455 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10456 # resort.
10457
10458 # Be careful to initialize this variable, since it used to be cached.
10459 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10460 ac_cv_exeext=
10461 # b.out is created by i960 compilers.
10462 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10463 do
10464 test -f "$ac_file" || continue
10465 case $ac_file in
10466 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10467 ;;
10468 conftest.$ac_ext )
10469 # This is the source file.
10470 ;;
10471 [ab].out )
10472 # We found the default executable, but exeext='' is most
10473 # certainly right.
10474 break;;
10475 *.* )
10476 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10477 # FIXME: I believe we export ac_cv_exeext for Libtool,
10478 # but it would be cool to find out if it's true. Does anybody
10479 # maintain Libtool? --akim.
10480 export ac_cv_exeext
10481 break;;
10482 * )
10483 break;;
10484 esac
10485 done
10486 else
10487 echo "$as_me: failed program was:" >&5
10488 sed 's/^/| /' conftest.$ac_ext >&5
10489
10490 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10491 See \`config.log' for more details." >&5
10492 echo "$as_me: error: C compiler cannot create executables
10493 See \`config.log' for more details." >&2;}
10494 { (exit 77); exit 77; }; }
10495 fi
10496
10497 ac_exeext=$ac_cv_exeext
10498 echo "$as_me:$LINENO: result: $ac_file" >&5
10499 echo "${ECHO_T}$ac_file" >&6
10500
10501 # Check the compiler produces executables we can run. If not, either
10502 # the compiler is broken, or we cross compile.
10503 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10504 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10505 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10506 # If not cross compiling, check that we can run a simple program.
10507 if test "$cross_compiling" != yes; then
10508 if { ac_try='./$ac_file'
10509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10510 (eval $ac_try) 2>&5
10511 ac_status=$?
10512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10513 (exit $ac_status); }; }; then
10514 cross_compiling=no
10515 else
10516 if test "$cross_compiling" = maybe; then
10517 cross_compiling=yes
10518 else
10519 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10520 If you meant to cross compile, use \`--host'.
10521 See \`config.log' for more details." >&5
10522 echo "$as_me: error: cannot run C compiled programs.
10523 If you meant to cross compile, use \`--host'.
10524 See \`config.log' for more details." >&2;}
10525 { (exit 1); exit 1; }; }
10526 fi
10527 fi
10528 fi
10529 echo "$as_me:$LINENO: result: yes" >&5
10530 echo "${ECHO_T}yes" >&6
10531
10532 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10533 ac_clean_files=$ac_clean_files_save
10534 # Check the compiler produces executables we can run. If not, either
10535 # the compiler is broken, or we cross compile.
10536 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10537 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10538 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10539 echo "${ECHO_T}$cross_compiling" >&6
10540
10541 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10542 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10544 (eval $ac_link) 2>&5
10545 ac_status=$?
10546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10547 (exit $ac_status); }; then
10548 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10549 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10550 # work properly (i.e., refer to `conftest.exe'), while it won't with
10551 # `rm'.
10552 for ac_file in conftest.exe conftest conftest.*; do
10553 test -f "$ac_file" || continue
10554 case $ac_file in
10555 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10556 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10557 export ac_cv_exeext
10558 break;;
10559 * ) break;;
10560 esac
10561 done
10562 else
10563 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10564 See \`config.log' for more details." >&5
10565 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10566 See \`config.log' for more details." >&2;}
10567 { (exit 1); exit 1; }; }
10568 fi
10569
10570 rm -f conftest$ac_cv_exeext
10571 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10572 echo "${ECHO_T}$ac_cv_exeext" >&6
10573
10574 rm -f conftest.$ac_ext
10575 EXEEXT=$ac_cv_exeext
10576 ac_exeext=$EXEEXT
10577 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10578 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10579 if test "${ac_cv_objext+set}" = set; then
10580 echo $ECHO_N "(cached) $ECHO_C" >&6
10581 else
10582 cat >conftest.$ac_ext <<_ACEOF
10583 /* confdefs.h. */
10584 _ACEOF
10585 cat confdefs.h >>conftest.$ac_ext
10586 cat >>conftest.$ac_ext <<_ACEOF
10587 /* end confdefs.h. */
10588
10589 int
10590 main ()
10591 {
10592
10593 ;
10594 return 0;
10595 }
10596 _ACEOF
10597 rm -f conftest.o conftest.obj
10598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10599 (eval $ac_compile) 2>&5
10600 ac_status=$?
10601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10602 (exit $ac_status); }; then
10603 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10604 case $ac_file in
10605 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10606 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10607 break;;
10608 esac
10609 done
10610 else
10611 echo "$as_me: failed program was:" >&5
10612 sed 's/^/| /' conftest.$ac_ext >&5
10613
10614 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10615 See \`config.log' for more details." >&5
10616 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10617 See \`config.log' for more details." >&2;}
10618 { (exit 1); exit 1; }; }
10619 fi
10620
10621 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10622 fi
10623 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10624 echo "${ECHO_T}$ac_cv_objext" >&6
10625 OBJEXT=$ac_cv_objext
10626 ac_objext=$OBJEXT
10627 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10628 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10629 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10630 echo $ECHO_N "(cached) $ECHO_C" >&6
10631 else
10632 cat >conftest.$ac_ext <<_ACEOF
10633 /* confdefs.h. */
10634 _ACEOF
10635 cat confdefs.h >>conftest.$ac_ext
10636 cat >>conftest.$ac_ext <<_ACEOF
10637 /* end confdefs.h. */
10638
10639 int
10640 main ()
10641 {
10642 #ifndef __GNUC__
10643 choke me
10644 #endif
10645
10646 ;
10647 return 0;
10648 }
10649 _ACEOF
10650 rm -f conftest.$ac_objext
10651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10652 (eval $ac_compile) 2>conftest.er1
10653 ac_status=$?
10654 grep -v '^ *+' conftest.er1 >conftest.err
10655 rm -f conftest.er1
10656 cat conftest.err >&5
10657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10658 (exit $ac_status); } &&
10659 { ac_try='test -z "$ac_c_werror_flag"
10660 || test ! -s conftest.err'
10661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10662 (eval $ac_try) 2>&5
10663 ac_status=$?
10664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10665 (exit $ac_status); }; } &&
10666 { ac_try='test -s conftest.$ac_objext'
10667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10668 (eval $ac_try) 2>&5
10669 ac_status=$?
10670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10671 (exit $ac_status); }; }; then
10672 ac_compiler_gnu=yes
10673 else
10674 echo "$as_me: failed program was:" >&5
10675 sed 's/^/| /' conftest.$ac_ext >&5
10676
10677 ac_compiler_gnu=no
10678 fi
10679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10680 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10681
10682 fi
10683 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10684 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10685 GCC=`test $ac_compiler_gnu = yes && echo yes`
10686 ac_test_CFLAGS=${CFLAGS+set}
10687 ac_save_CFLAGS=$CFLAGS
10688 CFLAGS="-g"
10689 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10690 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10691 if test "${ac_cv_prog_cc_g+set}" = set; then
10692 echo $ECHO_N "(cached) $ECHO_C" >&6
10693 else
10694 cat >conftest.$ac_ext <<_ACEOF
10695 /* confdefs.h. */
10696 _ACEOF
10697 cat confdefs.h >>conftest.$ac_ext
10698 cat >>conftest.$ac_ext <<_ACEOF
10699 /* end confdefs.h. */
10700
10701 int
10702 main ()
10703 {
10704
10705 ;
10706 return 0;
10707 }
10708 _ACEOF
10709 rm -f conftest.$ac_objext
10710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10711 (eval $ac_compile) 2>conftest.er1
10712 ac_status=$?
10713 grep -v '^ *+' conftest.er1 >conftest.err
10714 rm -f conftest.er1
10715 cat conftest.err >&5
10716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10717 (exit $ac_status); } &&
10718 { ac_try='test -z "$ac_c_werror_flag"
10719 || test ! -s conftest.err'
10720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10721 (eval $ac_try) 2>&5
10722 ac_status=$?
10723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10724 (exit $ac_status); }; } &&
10725 { ac_try='test -s conftest.$ac_objext'
10726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10727 (eval $ac_try) 2>&5
10728 ac_status=$?
10729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10730 (exit $ac_status); }; }; then
10731 ac_cv_prog_cc_g=yes
10732 else
10733 echo "$as_me: failed program was:" >&5
10734 sed 's/^/| /' conftest.$ac_ext >&5
10735
10736 ac_cv_prog_cc_g=no
10737 fi
10738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10739 fi
10740 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10741 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10742 if test "$ac_test_CFLAGS" = set; then
10743 CFLAGS=$ac_save_CFLAGS
10744 elif test $ac_cv_prog_cc_g = yes; then
10745 if test "$GCC" = yes; then
10746 CFLAGS="-g -O2"
10747 else
10748 CFLAGS="-g"
10749 fi
10750 else
10751 if test "$GCC" = yes; then
10752 CFLAGS="-O2"
10753 else
10754 CFLAGS=
10755 fi
10756 fi
10757 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10758 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10759 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10760 echo $ECHO_N "(cached) $ECHO_C" >&6
10761 else
10762 ac_cv_prog_cc_stdc=no
10763 ac_save_CC=$CC
10764 cat >conftest.$ac_ext <<_ACEOF
10765 /* confdefs.h. */
10766 _ACEOF
10767 cat confdefs.h >>conftest.$ac_ext
10768 cat >>conftest.$ac_ext <<_ACEOF
10769 /* end confdefs.h. */
10770 #include <stdarg.h>
10771 #include <stdio.h>
10772 #include <sys/types.h>
10773 #include <sys/stat.h>
10774 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10775 struct buf { int x; };
10776 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10777 static char *e (p, i)
10778 char **p;
10779 int i;
10780 {
10781 return p[i];
10782 }
10783 static char *f (char * (*g) (char **, int), char **p, ...)
10784 {
10785 char *s;
10786 va_list v;
10787 va_start (v,p);
10788 s = g (p, va_arg (v,int));
10789 va_end (v);
10790 return s;
10791 }
10792
10793 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10794 function prototypes and stuff, but not '\xHH' hex character constants.
10795 These don't provoke an error unfortunately, instead are silently treated
10796 as 'x'. The following induces an error, until -std1 is added to get
10797 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10798 array size at least. It's necessary to write '\x00'==0 to get something
10799 that's true only with -std1. */
10800 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10801
10802 int test (int i, double x);
10803 struct s1 {int (*f) (int a);};
10804 struct s2 {int (*f) (double a);};
10805 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10806 int argc;
10807 char **argv;
10808 int
10809 main ()
10810 {
10811 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10812 ;
10813 return 0;
10814 }
10815 _ACEOF
10816 # Don't try gcc -ansi; that turns off useful extensions and
10817 # breaks some systems' header files.
10818 # AIX -qlanglvl=ansi
10819 # Ultrix and OSF/1 -std1
10820 # HP-UX 10.20 and later -Ae
10821 # HP-UX older versions -Aa -D_HPUX_SOURCE
10822 # SVR4 -Xc -D__EXTENSIONS__
10823 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10824 do
10825 CC="$ac_save_CC $ac_arg"
10826 rm -f conftest.$ac_objext
10827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10828 (eval $ac_compile) 2>conftest.er1
10829 ac_status=$?
10830 grep -v '^ *+' conftest.er1 >conftest.err
10831 rm -f conftest.er1
10832 cat conftest.err >&5
10833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10834 (exit $ac_status); } &&
10835 { ac_try='test -z "$ac_c_werror_flag"
10836 || test ! -s conftest.err'
10837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10838 (eval $ac_try) 2>&5
10839 ac_status=$?
10840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10841 (exit $ac_status); }; } &&
10842 { ac_try='test -s conftest.$ac_objext'
10843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10844 (eval $ac_try) 2>&5
10845 ac_status=$?
10846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10847 (exit $ac_status); }; }; then
10848 ac_cv_prog_cc_stdc=$ac_arg
10849 break
10850 else
10851 echo "$as_me: failed program was:" >&5
10852 sed 's/^/| /' conftest.$ac_ext >&5
10853
10854 fi
10855 rm -f conftest.err conftest.$ac_objext
10856 done
10857 rm -f conftest.$ac_ext conftest.$ac_objext
10858 CC=$ac_save_CC
10859
10860 fi
10861
10862 case "x$ac_cv_prog_cc_stdc" in
10863 x|xno)
10864 echo "$as_me:$LINENO: result: none needed" >&5
10865 echo "${ECHO_T}none needed" >&6 ;;
10866 *)
10867 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10868 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10869 CC="$CC $ac_cv_prog_cc_stdc" ;;
10870 esac
10871
10872 # Some people use a C++ compiler to compile C. Since we use `exit',
10873 # in C++ we need to declare it. In case someone uses the same compiler
10874 # for both compiling C and C++ we need to have the C++ compiler decide
10875 # the declaration of exit, since it's the most demanding environment.
10876 cat >conftest.$ac_ext <<_ACEOF
10877 #ifndef __cplusplus
10878 choke me
10879 #endif
10880 _ACEOF
10881 rm -f conftest.$ac_objext
10882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10883 (eval $ac_compile) 2>conftest.er1
10884 ac_status=$?
10885 grep -v '^ *+' conftest.er1 >conftest.err
10886 rm -f conftest.er1
10887 cat conftest.err >&5
10888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10889 (exit $ac_status); } &&
10890 { ac_try='test -z "$ac_c_werror_flag"
10891 || test ! -s conftest.err'
10892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10893 (eval $ac_try) 2>&5
10894 ac_status=$?
10895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10896 (exit $ac_status); }; } &&
10897 { ac_try='test -s conftest.$ac_objext'
10898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10899 (eval $ac_try) 2>&5
10900 ac_status=$?
10901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10902 (exit $ac_status); }; }; then
10903 for ac_declaration in \
10904 '' \
10905 'extern "C" void std::exit (int) throw (); using std::exit;' \
10906 'extern "C" void std::exit (int); using std::exit;' \
10907 'extern "C" void exit (int) throw ();' \
10908 'extern "C" void exit (int);' \
10909 'void exit (int);'
10910 do
10911 cat >conftest.$ac_ext <<_ACEOF
10912 /* confdefs.h. */
10913 _ACEOF
10914 cat confdefs.h >>conftest.$ac_ext
10915 cat >>conftest.$ac_ext <<_ACEOF
10916 /* end confdefs.h. */
10917 $ac_declaration
10918 #include <stdlib.h>
10919 int
10920 main ()
10921 {
10922 exit (42);
10923 ;
10924 return 0;
10925 }
10926 _ACEOF
10927 rm -f conftest.$ac_objext
10928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10929 (eval $ac_compile) 2>conftest.er1
10930 ac_status=$?
10931 grep -v '^ *+' conftest.er1 >conftest.err
10932 rm -f conftest.er1
10933 cat conftest.err >&5
10934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10935 (exit $ac_status); } &&
10936 { ac_try='test -z "$ac_c_werror_flag"
10937 || test ! -s conftest.err'
10938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10939 (eval $ac_try) 2>&5
10940 ac_status=$?
10941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10942 (exit $ac_status); }; } &&
10943 { ac_try='test -s conftest.$ac_objext'
10944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10945 (eval $ac_try) 2>&5
10946 ac_status=$?
10947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10948 (exit $ac_status); }; }; then
10949 :
10950 else
10951 echo "$as_me: failed program was:" >&5
10952 sed 's/^/| /' conftest.$ac_ext >&5
10953
10954 continue
10955 fi
10956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10957 cat >conftest.$ac_ext <<_ACEOF
10958 /* confdefs.h. */
10959 _ACEOF
10960 cat confdefs.h >>conftest.$ac_ext
10961 cat >>conftest.$ac_ext <<_ACEOF
10962 /* end confdefs.h. */
10963 $ac_declaration
10964 int
10965 main ()
10966 {
10967 exit (42);
10968 ;
10969 return 0;
10970 }
10971 _ACEOF
10972 rm -f conftest.$ac_objext
10973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10974 (eval $ac_compile) 2>conftest.er1
10975 ac_status=$?
10976 grep -v '^ *+' conftest.er1 >conftest.err
10977 rm -f conftest.er1
10978 cat conftest.err >&5
10979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10980 (exit $ac_status); } &&
10981 { ac_try='test -z "$ac_c_werror_flag"
10982 || test ! -s conftest.err'
10983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10984 (eval $ac_try) 2>&5
10985 ac_status=$?
10986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10987 (exit $ac_status); }; } &&
10988 { ac_try='test -s conftest.$ac_objext'
10989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10990 (eval $ac_try) 2>&5
10991 ac_status=$?
10992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10993 (exit $ac_status); }; }; then
10994 break
10995 else
10996 echo "$as_me: failed program was:" >&5
10997 sed 's/^/| /' conftest.$ac_ext >&5
10998
10999 fi
11000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11001 done
11002 rm -f conftest*
11003 if test -n "$ac_declaration"; then
11004 echo '#ifdef __cplusplus' >>confdefs.h
11005 echo $ac_declaration >>confdefs.h
11006 echo '#endif' >>confdefs.h
11007 fi
11008
11009 else
11010 echo "$as_me: failed program was:" >&5
11011 sed 's/^/| /' conftest.$ac_ext >&5
11012
11013 fi
11014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11015 ac_ext=c
11016 ac_cpp='$CPP $CPPFLAGS'
11017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11020
11021
11022
11023 ac_ext=c
11024 ac_cpp='$CPP $CPPFLAGS'
11025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11028 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11029 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11030 # On Suns, sometimes $CPP names a directory.
11031 if test -n "$CPP" && test -d "$CPP"; then
11032 CPP=
11033 fi
11034 if test -z "$CPP"; then
11035 if test "${ac_cv_prog_CPP+set}" = set; then
11036 echo $ECHO_N "(cached) $ECHO_C" >&6
11037 else
11038 # Double quotes because CPP needs to be expanded
11039 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11040 do
11041 ac_preproc_ok=false
11042 for ac_c_preproc_warn_flag in '' yes
11043 do
11044 # Use a header file that comes with gcc, so configuring glibc
11045 # with a fresh cross-compiler works.
11046 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11047 # <limits.h> exists even on freestanding compilers.
11048 # On the NeXT, cc -E runs the code through the compiler's parser,
11049 # not just through cpp. "Syntax error" is here to catch this case.
11050 cat >conftest.$ac_ext <<_ACEOF
11051 /* confdefs.h. */
11052 _ACEOF
11053 cat confdefs.h >>conftest.$ac_ext
11054 cat >>conftest.$ac_ext <<_ACEOF
11055 /* end confdefs.h. */
11056 #ifdef __STDC__
11057 # include <limits.h>
11058 #else
11059 # include <assert.h>
11060 #endif
11061 Syntax error
11062 _ACEOF
11063 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11064 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11065 ac_status=$?
11066 grep -v '^ *+' conftest.er1 >conftest.err
11067 rm -f conftest.er1
11068 cat conftest.err >&5
11069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11070 (exit $ac_status); } >/dev/null; then
11071 if test -s conftest.err; then
11072 ac_cpp_err=$ac_c_preproc_warn_flag
11073 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11074 else
11075 ac_cpp_err=
11076 fi
11077 else
11078 ac_cpp_err=yes
11079 fi
11080 if test -z "$ac_cpp_err"; then
11081 :
11082 else
11083 echo "$as_me: failed program was:" >&5
11084 sed 's/^/| /' conftest.$ac_ext >&5
11085
11086 # Broken: fails on valid input.
11087 continue
11088 fi
11089 rm -f conftest.err conftest.$ac_ext
11090
11091 # OK, works on sane cases. Now check whether non-existent headers
11092 # can be detected and how.
11093 cat >conftest.$ac_ext <<_ACEOF
11094 /* confdefs.h. */
11095 _ACEOF
11096 cat confdefs.h >>conftest.$ac_ext
11097 cat >>conftest.$ac_ext <<_ACEOF
11098 /* end confdefs.h. */
11099 #include <ac_nonexistent.h>
11100 _ACEOF
11101 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11102 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11103 ac_status=$?
11104 grep -v '^ *+' conftest.er1 >conftest.err
11105 rm -f conftest.er1
11106 cat conftest.err >&5
11107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11108 (exit $ac_status); } >/dev/null; then
11109 if test -s conftest.err; then
11110 ac_cpp_err=$ac_c_preproc_warn_flag
11111 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11112 else
11113 ac_cpp_err=
11114 fi
11115 else
11116 ac_cpp_err=yes
11117 fi
11118 if test -z "$ac_cpp_err"; then
11119 # Broken: success on invalid input.
11120 continue
11121 else
11122 echo "$as_me: failed program was:" >&5
11123 sed 's/^/| /' conftest.$ac_ext >&5
11124
11125 # Passes both tests.
11126 ac_preproc_ok=:
11127 break
11128 fi
11129 rm -f conftest.err conftest.$ac_ext
11130
11131 done
11132 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11133 rm -f conftest.err conftest.$ac_ext
11134 if $ac_preproc_ok; then
11135 break
11136 fi
11137
11138 done
11139 ac_cv_prog_CPP=$CPP
11140
11141 fi
11142 CPP=$ac_cv_prog_CPP
11143 else
11144 ac_cv_prog_CPP=$CPP
11145 fi
11146 echo "$as_me:$LINENO: result: $CPP" >&5
11147 echo "${ECHO_T}$CPP" >&6
11148 ac_preproc_ok=false
11149 for ac_c_preproc_warn_flag in '' yes
11150 do
11151 # Use a header file that comes with gcc, so configuring glibc
11152 # with a fresh cross-compiler works.
11153 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11154 # <limits.h> exists even on freestanding compilers.
11155 # On the NeXT, cc -E runs the code through the compiler's parser,
11156 # not just through cpp. "Syntax error" is here to catch this case.
11157 cat >conftest.$ac_ext <<_ACEOF
11158 /* confdefs.h. */
11159 _ACEOF
11160 cat confdefs.h >>conftest.$ac_ext
11161 cat >>conftest.$ac_ext <<_ACEOF
11162 /* end confdefs.h. */
11163 #ifdef __STDC__
11164 # include <limits.h>
11165 #else
11166 # include <assert.h>
11167 #endif
11168 Syntax error
11169 _ACEOF
11170 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11171 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11172 ac_status=$?
11173 grep -v '^ *+' conftest.er1 >conftest.err
11174 rm -f conftest.er1
11175 cat conftest.err >&5
11176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11177 (exit $ac_status); } >/dev/null; then
11178 if test -s conftest.err; then
11179 ac_cpp_err=$ac_c_preproc_warn_flag
11180 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11181 else
11182 ac_cpp_err=
11183 fi
11184 else
11185 ac_cpp_err=yes
11186 fi
11187 if test -z "$ac_cpp_err"; then
11188 :
11189 else
11190 echo "$as_me: failed program was:" >&5
11191 sed 's/^/| /' conftest.$ac_ext >&5
11192
11193 # Broken: fails on valid input.
11194 continue
11195 fi
11196 rm -f conftest.err conftest.$ac_ext
11197
11198 # OK, works on sane cases. Now check whether non-existent headers
11199 # can be detected and how.
11200 cat >conftest.$ac_ext <<_ACEOF
11201 /* confdefs.h. */
11202 _ACEOF
11203 cat confdefs.h >>conftest.$ac_ext
11204 cat >>conftest.$ac_ext <<_ACEOF
11205 /* end confdefs.h. */
11206 #include <ac_nonexistent.h>
11207 _ACEOF
11208 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11209 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11210 ac_status=$?
11211 grep -v '^ *+' conftest.er1 >conftest.err
11212 rm -f conftest.er1
11213 cat conftest.err >&5
11214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11215 (exit $ac_status); } >/dev/null; then
11216 if test -s conftest.err; then
11217 ac_cpp_err=$ac_c_preproc_warn_flag
11218 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11219 else
11220 ac_cpp_err=
11221 fi
11222 else
11223 ac_cpp_err=yes
11224 fi
11225 if test -z "$ac_cpp_err"; then
11226 # Broken: success on invalid input.
11227 continue
11228 else
11229 echo "$as_me: failed program was:" >&5
11230 sed 's/^/| /' conftest.$ac_ext >&5
11231
11232 # Passes both tests.
11233 ac_preproc_ok=:
11234 break
11235 fi
11236 rm -f conftest.err conftest.$ac_ext
11237
11238 done
11239 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11240 rm -f conftest.err conftest.$ac_ext
11241 if $ac_preproc_ok; then
11242 :
11243 else
11244 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11245 See \`config.log' for more details." >&5
11246 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11247 See \`config.log' for more details." >&2;}
11248 { (exit 1); exit 1; }; }
11249 fi
11250
11251 ac_ext=c
11252 ac_cpp='$CPP $CPPFLAGS'
11253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11256
11257
11258 echo "$as_me:$LINENO: checking for egrep" >&5
11259 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11260 if test "${ac_cv_prog_egrep+set}" = set; then
11261 echo $ECHO_N "(cached) $ECHO_C" >&6
11262 else
11263 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
11264 then ac_cv_prog_egrep='grep -E'
11265 else ac_cv_prog_egrep='egrep'
11266 fi
11267 fi
11268 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11269 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11270 EGREP=$ac_cv_prog_egrep
11271
11272
11273 if test $ac_cv_c_compiler_gnu = yes; then
11274 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11275 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11276 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11277 echo $ECHO_N "(cached) $ECHO_C" >&6
11278 else
11279 ac_pattern="Autoconf.*'x'"
11280 cat >conftest.$ac_ext <<_ACEOF
11281 /* confdefs.h. */
11282 _ACEOF
11283 cat confdefs.h >>conftest.$ac_ext
11284 cat >>conftest.$ac_ext <<_ACEOF
11285 /* end confdefs.h. */
11286 #include <sgtty.h>
11287 Autoconf TIOCGETP
11288 _ACEOF
11289 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11290 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11291 ac_cv_prog_gcc_traditional=yes
11292 else
11293 ac_cv_prog_gcc_traditional=no
11294 fi
11295 rm -f conftest*
11296
11297
11298 if test $ac_cv_prog_gcc_traditional = no; then
11299 cat >conftest.$ac_ext <<_ACEOF
11300 /* confdefs.h. */
11301 _ACEOF
11302 cat confdefs.h >>conftest.$ac_ext
11303 cat >>conftest.$ac_ext <<_ACEOF
11304 /* end confdefs.h. */
11305 #include <termio.h>
11306 Autoconf TCGETA
11307 _ACEOF
11308 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11309 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11310 ac_cv_prog_gcc_traditional=yes
11311 fi
11312 rm -f conftest*
11313
11314 fi
11315 fi
11316 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11317 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11318 if test $ac_cv_prog_gcc_traditional = yes; then
11319 CC="$CC -traditional"
11320 fi
11321 fi
11322
11323
11324
11325
11326 ac_ext=cc
11327 ac_cpp='$CXXCPP $CPPFLAGS'
11328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11331
11332
11333 CXXFLAGS=${CXXFLAGS:=}
11334 ac_ext=cc
11335 ac_cpp='$CXXCPP $CPPFLAGS'
11336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11339 if test -n "$ac_tool_prefix"; then
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_tool_prefix$ac_prog", so it can be a program name with args.
11343 set dummy $ac_tool_prefix$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_CXX+set}" = set; then
11347 echo $ECHO_N "(cached) $ECHO_C" >&6
11348 else
11349 if test -n "$CXX"; then
11350 ac_cv_prog_CXX="$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_CXX="$ac_tool_prefix$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 CXX=$ac_cv_prog_CXX
11369 if test -n "$CXX"; then
11370 echo "$as_me:$LINENO: result: $CXX" >&5
11371 echo "${ECHO_T}$CXX" >&6
11372 else
11373 echo "$as_me:$LINENO: result: no" >&5
11374 echo "${ECHO_T}no" >&6
11375 fi
11376
11377 test -n "$CXX" && break
11378 done
11379 fi
11380 if test -z "$CXX"; then
11381 ac_ct_CXX=$CXX
11382 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11383 do
11384 # Extract the first word of "$ac_prog", so it can be a program name with args.
11385 set dummy $ac_prog; ac_word=$2
11386 echo "$as_me:$LINENO: checking for $ac_word" >&5
11387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11388 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11389 echo $ECHO_N "(cached) $ECHO_C" >&6
11390 else
11391 if test -n "$ac_ct_CXX"; then
11392 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11393 else
11394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11395 for as_dir in $PATH
11396 do
11397 IFS=$as_save_IFS
11398 test -z "$as_dir" && as_dir=.
11399 for ac_exec_ext in '' $ac_executable_extensions; do
11400 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11401 ac_cv_prog_ac_ct_CXX="$ac_prog"
11402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11403 break 2
11404 fi
11405 done
11406 done
11407
11408 fi
11409 fi
11410 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11411 if test -n "$ac_ct_CXX"; then
11412 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11413 echo "${ECHO_T}$ac_ct_CXX" >&6
11414 else
11415 echo "$as_me:$LINENO: result: no" >&5
11416 echo "${ECHO_T}no" >&6
11417 fi
11418
11419 test -n "$ac_ct_CXX" && break
11420 done
11421 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11422
11423 CXX=$ac_ct_CXX
11424 fi
11425
11426
11427 # Provide some information about the compiler.
11428 echo "$as_me:$LINENO:" \
11429 "checking for C++ compiler version" >&5
11430 ac_compiler=`set X $ac_compile; echo $2`
11431 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11432 (eval $ac_compiler --version </dev/null >&5) 2>&5
11433 ac_status=$?
11434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11435 (exit $ac_status); }
11436 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11437 (eval $ac_compiler -v </dev/null >&5) 2>&5
11438 ac_status=$?
11439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11440 (exit $ac_status); }
11441 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11442 (eval $ac_compiler -V </dev/null >&5) 2>&5
11443 ac_status=$?
11444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11445 (exit $ac_status); }
11446
11447 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11448 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11449 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11450 echo $ECHO_N "(cached) $ECHO_C" >&6
11451 else
11452 cat >conftest.$ac_ext <<_ACEOF
11453 /* confdefs.h. */
11454 _ACEOF
11455 cat confdefs.h >>conftest.$ac_ext
11456 cat >>conftest.$ac_ext <<_ACEOF
11457 /* end confdefs.h. */
11458
11459 int
11460 main ()
11461 {
11462 #ifndef __GNUC__
11463 choke me
11464 #endif
11465
11466 ;
11467 return 0;
11468 }
11469 _ACEOF
11470 rm -f conftest.$ac_objext
11471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11472 (eval $ac_compile) 2>conftest.er1
11473 ac_status=$?
11474 grep -v '^ *+' conftest.er1 >conftest.err
11475 rm -f conftest.er1
11476 cat conftest.err >&5
11477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11478 (exit $ac_status); } &&
11479 { ac_try='test -z "$ac_cxx_werror_flag"
11480 || test ! -s conftest.err'
11481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11482 (eval $ac_try) 2>&5
11483 ac_status=$?
11484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11485 (exit $ac_status); }; } &&
11486 { ac_try='test -s conftest.$ac_objext'
11487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11488 (eval $ac_try) 2>&5
11489 ac_status=$?
11490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11491 (exit $ac_status); }; }; then
11492 ac_compiler_gnu=yes
11493 else
11494 echo "$as_me: failed program was:" >&5
11495 sed 's/^/| /' conftest.$ac_ext >&5
11496
11497 ac_compiler_gnu=no
11498 fi
11499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11500 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11501
11502 fi
11503 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11504 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11505 GXX=`test $ac_compiler_gnu = yes && echo yes`
11506 ac_test_CXXFLAGS=${CXXFLAGS+set}
11507 ac_save_CXXFLAGS=$CXXFLAGS
11508 CXXFLAGS="-g"
11509 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11510 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11511 if test "${ac_cv_prog_cxx_g+set}" = set; then
11512 echo $ECHO_N "(cached) $ECHO_C" >&6
11513 else
11514 cat >conftest.$ac_ext <<_ACEOF
11515 /* confdefs.h. */
11516 _ACEOF
11517 cat confdefs.h >>conftest.$ac_ext
11518 cat >>conftest.$ac_ext <<_ACEOF
11519 /* end confdefs.h. */
11520
11521 int
11522 main ()
11523 {
11524
11525 ;
11526 return 0;
11527 }
11528 _ACEOF
11529 rm -f conftest.$ac_objext
11530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11531 (eval $ac_compile) 2>conftest.er1
11532 ac_status=$?
11533 grep -v '^ *+' conftest.er1 >conftest.err
11534 rm -f conftest.er1
11535 cat conftest.err >&5
11536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11537 (exit $ac_status); } &&
11538 { ac_try='test -z "$ac_cxx_werror_flag"
11539 || test ! -s conftest.err'
11540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11541 (eval $ac_try) 2>&5
11542 ac_status=$?
11543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11544 (exit $ac_status); }; } &&
11545 { ac_try='test -s conftest.$ac_objext'
11546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11547 (eval $ac_try) 2>&5
11548 ac_status=$?
11549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11550 (exit $ac_status); }; }; then
11551 ac_cv_prog_cxx_g=yes
11552 else
11553 echo "$as_me: failed program was:" >&5
11554 sed 's/^/| /' conftest.$ac_ext >&5
11555
11556 ac_cv_prog_cxx_g=no
11557 fi
11558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11559 fi
11560 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11561 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11562 if test "$ac_test_CXXFLAGS" = set; then
11563 CXXFLAGS=$ac_save_CXXFLAGS
11564 elif test $ac_cv_prog_cxx_g = yes; then
11565 if test "$GXX" = yes; then
11566 CXXFLAGS="-g -O2"
11567 else
11568 CXXFLAGS="-g"
11569 fi
11570 else
11571 if test "$GXX" = yes; then
11572 CXXFLAGS="-O2"
11573 else
11574 CXXFLAGS=
11575 fi
11576 fi
11577 for ac_declaration in \
11578 '' \
11579 'extern "C" void std::exit (int) throw (); using std::exit;' \
11580 'extern "C" void std::exit (int); using std::exit;' \
11581 'extern "C" void exit (int) throw ();' \
11582 'extern "C" void exit (int);' \
11583 'void exit (int);'
11584 do
11585 cat >conftest.$ac_ext <<_ACEOF
11586 /* confdefs.h. */
11587 _ACEOF
11588 cat confdefs.h >>conftest.$ac_ext
11589 cat >>conftest.$ac_ext <<_ACEOF
11590 /* end confdefs.h. */
11591 $ac_declaration
11592 #include <stdlib.h>
11593 int
11594 main ()
11595 {
11596 exit (42);
11597 ;
11598 return 0;
11599 }
11600 _ACEOF
11601 rm -f conftest.$ac_objext
11602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11603 (eval $ac_compile) 2>conftest.er1
11604 ac_status=$?
11605 grep -v '^ *+' conftest.er1 >conftest.err
11606 rm -f conftest.er1
11607 cat conftest.err >&5
11608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11609 (exit $ac_status); } &&
11610 { ac_try='test -z "$ac_cxx_werror_flag"
11611 || test ! -s conftest.err'
11612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11613 (eval $ac_try) 2>&5
11614 ac_status=$?
11615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11616 (exit $ac_status); }; } &&
11617 { ac_try='test -s conftest.$ac_objext'
11618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11619 (eval $ac_try) 2>&5
11620 ac_status=$?
11621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11622 (exit $ac_status); }; }; then
11623 :
11624 else
11625 echo "$as_me: failed program was:" >&5
11626 sed 's/^/| /' conftest.$ac_ext >&5
11627
11628 continue
11629 fi
11630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11631 cat >conftest.$ac_ext <<_ACEOF
11632 /* confdefs.h. */
11633 _ACEOF
11634 cat confdefs.h >>conftest.$ac_ext
11635 cat >>conftest.$ac_ext <<_ACEOF
11636 /* end confdefs.h. */
11637 $ac_declaration
11638 int
11639 main ()
11640 {
11641 exit (42);
11642 ;
11643 return 0;
11644 }
11645 _ACEOF
11646 rm -f conftest.$ac_objext
11647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11648 (eval $ac_compile) 2>conftest.er1
11649 ac_status=$?
11650 grep -v '^ *+' conftest.er1 >conftest.err
11651 rm -f conftest.er1
11652 cat conftest.err >&5
11653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11654 (exit $ac_status); } &&
11655 { ac_try='test -z "$ac_cxx_werror_flag"
11656 || test ! -s conftest.err'
11657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11658 (eval $ac_try) 2>&5
11659 ac_status=$?
11660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11661 (exit $ac_status); }; } &&
11662 { ac_try='test -s conftest.$ac_objext'
11663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11664 (eval $ac_try) 2>&5
11665 ac_status=$?
11666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11667 (exit $ac_status); }; }; then
11668 break
11669 else
11670 echo "$as_me: failed program was:" >&5
11671 sed 's/^/| /' conftest.$ac_ext >&5
11672
11673 fi
11674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11675 done
11676 rm -f conftest*
11677 if test -n "$ac_declaration"; then
11678 echo '#ifdef __cplusplus' >>confdefs.h
11679 echo $ac_declaration >>confdefs.h
11680 echo '#endif' >>confdefs.h
11681 fi
11682
11683 ac_ext=cc
11684 ac_cpp='$CXXCPP $CPPFLAGS'
11685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11688
11689
11690 ac_ext=c
11691 ac_cpp='$CPP $CPPFLAGS'
11692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11695
11696
11697 echo "$as_me:$LINENO: checking for /usr/local/include in default include path" >&5
11698 echo $ECHO_N "checking for /usr/local/include in default include path... $ECHO_C" >&6
11699 GCC_SEARCHES_USR_LOCAL_INCLUDE="no"
11700 if test "$GCC" = "yes" ; then
11701 echo | gcc -v -x c++ -E - 2>&1 | sed -n '/^#include </,$p' | \
11702 sed -n '1,/End of search list\./p' | \
11703 grep '^ */usr/local/include$' 2>&1 /dev/null \
11704 && GCC_SEARCHES_USR_LOCAL_INCLUDE="yes"
11705 fi
11706 echo "$as_me:$LINENO: result: $GCC_SEARCHES_USR_LOCAL_INCLUDE" >&5
11707 echo "${ECHO_T}$GCC_SEARCHES_USR_LOCAL_INCLUDE" >&6
11708
11709 if test -n "$ac_tool_prefix"; then
11710 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11711 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11712 echo "$as_me:$LINENO: checking for $ac_word" >&5
11713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11714 if test "${ac_cv_prog_RANLIB+set}" = set; then
11715 echo $ECHO_N "(cached) $ECHO_C" >&6
11716 else
11717 if test -n "$RANLIB"; then
11718 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11719 else
11720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11721 for as_dir in $PATH
11722 do
11723 IFS=$as_save_IFS
11724 test -z "$as_dir" && as_dir=.
11725 for ac_exec_ext in '' $ac_executable_extensions; do
11726 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11727 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11729 break 2
11730 fi
11731 done
11732 done
11733
11734 fi
11735 fi
11736 RANLIB=$ac_cv_prog_RANLIB
11737 if test -n "$RANLIB"; then
11738 echo "$as_me:$LINENO: result: $RANLIB" >&5
11739 echo "${ECHO_T}$RANLIB" >&6
11740 else
11741 echo "$as_me:$LINENO: result: no" >&5
11742 echo "${ECHO_T}no" >&6
11743 fi
11744
11745 fi
11746 if test -z "$ac_cv_prog_RANLIB"; then
11747 ac_ct_RANLIB=$RANLIB
11748 # Extract the first word of "ranlib", so it can be a program name with args.
11749 set dummy ranlib; ac_word=$2
11750 echo "$as_me:$LINENO: checking for $ac_word" >&5
11751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11752 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11753 echo $ECHO_N "(cached) $ECHO_C" >&6
11754 else
11755 if test -n "$ac_ct_RANLIB"; then
11756 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11757 else
11758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11759 for as_dir in $PATH
11760 do
11761 IFS=$as_save_IFS
11762 test -z "$as_dir" && as_dir=.
11763 for ac_exec_ext in '' $ac_executable_extensions; do
11764 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11765 ac_cv_prog_ac_ct_RANLIB="ranlib"
11766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11767 break 2
11768 fi
11769 done
11770 done
11771
11772 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11773 fi
11774 fi
11775 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11776 if test -n "$ac_ct_RANLIB"; then
11777 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11778 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11779 else
11780 echo "$as_me:$LINENO: result: no" >&5
11781 echo "${ECHO_T}no" >&6
11782 fi
11783
11784 RANLIB=$ac_ct_RANLIB
11785 else
11786 RANLIB="$ac_cv_prog_RANLIB"
11787 fi
11788
11789
11790 # Extract the first word of "ar", so it can be a program name with args.
11791 set dummy ar; ac_word=$2
11792 echo "$as_me:$LINENO: checking for $ac_word" >&5
11793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11794 if test "${ac_cv_prog_AR+set}" = set; then
11795 echo $ECHO_N "(cached) $ECHO_C" >&6
11796 else
11797 if test -n "$AR"; then
11798 ac_cv_prog_AR="$AR" # Let the user override the test.
11799 else
11800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11801 for as_dir in $PATH
11802 do
11803 IFS=$as_save_IFS
11804 test -z "$as_dir" && as_dir=.
11805 for ac_exec_ext in '' $ac_executable_extensions; do
11806 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11807 ac_cv_prog_AR="ar"
11808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11809 break 2
11810 fi
11811 done
11812 done
11813
11814 fi
11815 fi
11816 AR=$ac_cv_prog_AR
11817 if test -n "$AR"; then
11818 echo "$as_me:$LINENO: result: $AR" >&5
11819 echo "${ECHO_T}$AR" >&6
11820 else
11821 echo "$as_me:$LINENO: result: no" >&5
11822 echo "${ECHO_T}no" >&6
11823 fi
11824
11825 if test "x$AR" = "x" ; then
11826 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11827 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11828 { (exit 1); exit 1; }; }
11829 fi
11830
11831 # Find a good install program. We prefer a C program (faster),
11832 # so one script is as good as another. But avoid the broken or
11833 # incompatible versions:
11834 # SysV /etc/install, /usr/sbin/install
11835 # SunOS /usr/etc/install
11836 # IRIX /sbin/install
11837 # AIX /bin/install
11838 # AmigaOS /C/install, which installs bootblocks on floppy discs
11839 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11840 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11841 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11842 # OS/2's system install, which has a completely different semantic
11843 # ./install, which can be erroneously created by make from ./install.sh.
11844 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11845 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11846 if test -z "$INSTALL"; then
11847 if test "${ac_cv_path_install+set}" = set; then
11848 echo $ECHO_N "(cached) $ECHO_C" >&6
11849 else
11850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11851 for as_dir in $PATH
11852 do
11853 IFS=$as_save_IFS
11854 test -z "$as_dir" && as_dir=.
11855 # Account for people who put trailing slashes in PATH elements.
11856 case $as_dir/ in
11857 ./ | .// | /cC/* | \
11858 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11859 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
11860 /usr/ucb/* ) ;;
11861 *)
11862 # OSF1 and SCO ODT 3.0 have their own names for install.
11863 # Don't use installbsd from OSF since it installs stuff as root
11864 # by default.
11865 for ac_prog in ginstall scoinst install; do
11866 for ac_exec_ext in '' $ac_executable_extensions; do
11867 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11868 if test $ac_prog = install &&
11869 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11870 # AIX install. It has an incompatible calling convention.
11871 :
11872 elif test $ac_prog = install &&
11873 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11874 # program-specific install script used by HP pwplus--don't use.
11875 :
11876 else
11877 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11878 break 3
11879 fi
11880 fi
11881 done
11882 done
11883 ;;
11884 esac
11885 done
11886
11887
11888 fi
11889 if test "${ac_cv_path_install+set}" = set; then
11890 INSTALL=$ac_cv_path_install
11891 else
11892 # As a last resort, use the slow shell script. We don't cache a
11893 # path for INSTALL within a source directory, because that will
11894 # break other packages using the cache if that directory is
11895 # removed, or if the path is relative.
11896 INSTALL=$ac_install_sh
11897 fi
11898 fi
11899 echo "$as_me:$LINENO: result: $INSTALL" >&5
11900 echo "${ECHO_T}$INSTALL" >&6
11901
11902 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11903 # It thinks the first close brace ends the variable substitution.
11904 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11905
11906 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11907
11908 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11909
11910
11911 case ${INSTALL} in
11912 /* ) # Absolute
11913 ;;
11914 ?:* ) # Drive letter, considered as absolute.
11915 ;;
11916 *)
11917 INSTALL=`pwd`/${INSTALL} ;;
11918 esac
11919
11920 case ${host} in
11921 *-hp-hpux* )
11922 INSTALL_DIR="mkdir"
11923 ;;
11924
11925 *) INSTALL_DIR="$INSTALL -d"
11926 ;;
11927 esac
11928
11929
11930 case "${host}" in
11931
11932 powerpc-*-darwin* )
11933 INSTALL_PROGRAM="cp -fp"
11934 INSTALL_DATA="cp -fp"
11935 ;;
11936 *)
11937 ;;
11938 esac
11939
11940 # Extract the first word of "strip", so it can be a program name with args.
11941 set dummy strip; ac_word=$2
11942 echo "$as_me:$LINENO: checking for $ac_word" >&5
11943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11944 if test "${ac_cv_prog_STRIP+set}" = set; then
11945 echo $ECHO_N "(cached) $ECHO_C" >&6
11946 else
11947 if test -n "$STRIP"; then
11948 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11949 else
11950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11951 for as_dir in $PATH
11952 do
11953 IFS=$as_save_IFS
11954 test -z "$as_dir" && as_dir=.
11955 for ac_exec_ext in '' $ac_executable_extensions; do
11956 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11957 ac_cv_prog_STRIP="strip"
11958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11959 break 2
11960 fi
11961 done
11962 done
11963
11964 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11965 fi
11966 fi
11967 STRIP=$ac_cv_prog_STRIP
11968 if test -n "$STRIP"; then
11969 echo "$as_me:$LINENO: result: $STRIP" >&5
11970 echo "${ECHO_T}$STRIP" >&6
11971 else
11972 echo "$as_me:$LINENO: result: no" >&5
11973 echo "${ECHO_T}no" >&6
11974 fi
11975
11976
11977 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11978 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11979 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11980 echo $ECHO_N "(cached) $ECHO_C" >&6
11981 else
11982
11983 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11984 egrep -s GNU > /dev/null); then
11985 wx_cv_prog_makeisgnu="yes"
11986 else
11987 wx_cv_prog_makeisgnu="no"
11988 fi
11989
11990 fi
11991 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11992 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11993
11994 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11995 IF_GNU_MAKE=""
11996 else
11997 IF_GNU_MAKE="#"
11998 fi
11999
12000
12001
12002 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12003 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12004 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12005 if test "${wx_cv_prog_makevpath+set}" = set; then
12006 echo $ECHO_N "(cached) $ECHO_C" >&6
12007 else
12008
12009 cat - << EOF > confMake
12010 check : file
12011 cp \$? \$@
12012 cp \$? final_file
12013 EOF
12014
12015 if test ! -d sub ; then
12016 mkdir sub
12017 fi
12018 echo dummy > sub/file
12019 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
12020 RESULT=$?
12021 rm -f sub/file check final_file confMake
12022 rmdir sub
12023 if test "$RESULT" = 0; then
12024 wx_cv_prog_makevpath="yes"
12025 else
12026 wx_cv_prog_makevpath="no"
12027 fi
12028
12029 fi
12030 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12031 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12032
12033 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12034 { { echo "$as_me:$LINENO: error:
12035 You need a make-utility that is able to use the variable
12036 VPATH correctly.
12037 If your version of make does not support VPATH correctly,
12038 please install GNU-make (possibly as gmake), and start
12039 configure with the following command:
12040 export MAKE=gmake; ./configure for sh-type shells
12041 setenv MAKE gmake; ./configure for csh-type shells
12042 Also please do remember to use gmake in this case every time
12043 you are trying to compile.
12044 " >&5
12045 echo "$as_me: error:
12046 You need a make-utility that is able to use the variable
12047 VPATH correctly.
12048 If your version of make does not support VPATH correctly,
12049 please install GNU-make (possibly as gmake), and start
12050 configure with the following command:
12051 export MAKE=gmake; ./configure for sh-type shells
12052 setenv MAKE gmake; ./configure for csh-type shells
12053 Also please do remember to use gmake in this case every time
12054 you are trying to compile.
12055 " >&2;}
12056 { (exit 1); exit 1; }; }
12057 fi fi
12058 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12059 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12060 LN_S=$as_ln_s
12061 if test "$LN_S" = "ln -s"; then
12062 echo "$as_me:$LINENO: result: yes" >&5
12063 echo "${ECHO_T}yes" >&6
12064 else
12065 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12066 echo "${ECHO_T}no, using $LN_S" >&6
12067 fi
12068
12069
12070
12071 case "${host}" in
12072 *-pc-os2_emx | *-pc-os2-emx )
12073 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12074 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12075 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12076 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12077 echo $ECHO_N "(cached) $ECHO_C" >&6
12078 else
12079 ac_check_lib_save_LIBS=$LIBS
12080 LIBS="-lcExt $LIBS"
12081 cat >conftest.$ac_ext <<_ACEOF
12082 /* confdefs.h. */
12083 _ACEOF
12084 cat confdefs.h >>conftest.$ac_ext
12085 cat >>conftest.$ac_ext <<_ACEOF
12086 /* end confdefs.h. */
12087
12088 /* Override any gcc2 internal prototype to avoid an error. */
12089 #ifdef __cplusplus
12090 extern "C"
12091 #endif
12092 /* We use char because int might match the return type of a gcc2
12093 builtin and then its argument prototype would still apply. */
12094 char drand48 ();
12095 int
12096 main ()
12097 {
12098 drand48 ();
12099 ;
12100 return 0;
12101 }
12102 _ACEOF
12103 rm -f conftest.$ac_objext conftest$ac_exeext
12104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12105 (eval $ac_link) 2>conftest.er1
12106 ac_status=$?
12107 grep -v '^ *+' conftest.er1 >conftest.err
12108 rm -f conftest.er1
12109 cat conftest.err >&5
12110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12111 (exit $ac_status); } &&
12112 { ac_try='test -z "$ac_c_werror_flag"
12113 || test ! -s conftest.err'
12114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12115 (eval $ac_try) 2>&5
12116 ac_status=$?
12117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118 (exit $ac_status); }; } &&
12119 { ac_try='test -s conftest$ac_exeext'
12120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12121 (eval $ac_try) 2>&5
12122 ac_status=$?
12123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12124 (exit $ac_status); }; }; then
12125 ac_cv_lib_cExt_drand48=yes
12126 else
12127 echo "$as_me: failed program was:" >&5
12128 sed 's/^/| /' conftest.$ac_ext >&5
12129
12130 ac_cv_lib_cExt_drand48=no
12131 fi
12132 rm -f conftest.err conftest.$ac_objext \
12133 conftest$ac_exeext conftest.$ac_ext
12134 LIBS=$ac_check_lib_save_LIBS
12135 fi
12136 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12137 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12138 if test $ac_cv_lib_cExt_drand48 = yes; then
12139 LIBS="$LIBS -lcExt"
12140 fi
12141
12142 else
12143 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
12144 fi
12145 echo "$as_me:$LINENO: checking for gcc version" >&5
12146 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12147 if test "${wx_cv_gccversion+set}" = set; then
12148 echo $ECHO_N "(cached) $ECHO_C" >&6
12149 else
12150
12151 cat >conftest.$ac_ext <<_ACEOF
12152 /* confdefs.h. */
12153 _ACEOF
12154 cat confdefs.h >>conftest.$ac_ext
12155 cat >>conftest.$ac_ext <<_ACEOF
12156 /* end confdefs.h. */
12157
12158 int
12159 main ()
12160 {
12161
12162 #if (__GNUC__ < 3)
12163 #error old gcc
12164 #endif
12165
12166 ;
12167 return 0;
12168 }
12169 _ACEOF
12170 rm -f conftest.$ac_objext
12171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12172 (eval $ac_compile) 2>conftest.er1
12173 ac_status=$?
12174 grep -v '^ *+' conftest.er1 >conftest.err
12175 rm -f conftest.er1
12176 cat conftest.err >&5
12177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12178 (exit $ac_status); } &&
12179 { ac_try='test -z "$ac_c_werror_flag"
12180 || test ! -s conftest.err'
12181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12182 (eval $ac_try) 2>&5
12183 ac_status=$?
12184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12185 (exit $ac_status); }; } &&
12186 { ac_try='test -s conftest.$ac_objext'
12187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12188 (eval $ac_try) 2>&5
12189 ac_status=$?
12190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12191 (exit $ac_status); }; }; then
12192
12193 cat >conftest.$ac_ext <<_ACEOF
12194 /* confdefs.h. */
12195 _ACEOF
12196 cat confdefs.h >>conftest.$ac_ext
12197 cat >>conftest.$ac_ext <<_ACEOF
12198 /* end confdefs.h. */
12199
12200 int
12201 main ()
12202 {
12203
12204 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12205 #error intermediate gcc
12206 #endif
12207
12208 ;
12209 return 0;
12210 }
12211 _ACEOF
12212 rm -f conftest.$ac_objext
12213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12214 (eval $ac_compile) 2>conftest.er1
12215 ac_status=$?
12216 grep -v '^ *+' conftest.er1 >conftest.err
12217 rm -f conftest.er1
12218 cat conftest.err >&5
12219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12220 (exit $ac_status); } &&
12221 { ac_try='test -z "$ac_c_werror_flag"
12222 || test ! -s conftest.err'
12223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12224 (eval $ac_try) 2>&5
12225 ac_status=$?
12226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12227 (exit $ac_status); }; } &&
12228 { ac_try='test -s conftest.$ac_objext'
12229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12230 (eval $ac_try) 2>&5
12231 ac_status=$?
12232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12233 (exit $ac_status); }; }; then
12234
12235 wx_cv_gccversion=Innotek
12236
12237 else
12238 echo "$as_me: failed program was:" >&5
12239 sed 's/^/| /' conftest.$ac_ext >&5
12240
12241
12242 wx_cv_gccversion=3
12243
12244
12245 fi
12246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12247
12248 else
12249 echo "$as_me: failed program was:" >&5
12250 sed 's/^/| /' conftest.$ac_ext >&5
12251
12252
12253 wx_cv_gccversion=2
12254
12255
12256 fi
12257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12258
12259 fi
12260 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12261 echo "${ECHO_T}$wx_cv_gccversion" >&6
12262 if test "$wx_cv_gccversion" = "2"; then
12263 LIBS="$LIBS -lstdcpp"
12264 LDFLAGS="$LDFLAGS -Zsysv-signals"
12265 else
12266 if test "$wx_cv_gccversion" = "3"; then
12267 LIBS="$LIBS -lstdcxx"
12268 LDFLAGS="$LDFLAGS -Zsysv-signals"
12269 else
12270 LIBS="$LIBS -lstdc++"
12271 fi
12272 fi
12273 ;;
12274 *)
12275
12276
12277
12278 ac_ext=cc
12279 ac_cpp='$CXXCPP $CPPFLAGS'
12280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12283
12284
12285
12286 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12287 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12288 if test "${ac_cv_string_strcasecmp+set}" = set; then
12289 echo $ECHO_N "(cached) $ECHO_C" >&6
12290 else
12291
12292 cat >conftest.$ac_ext <<_ACEOF
12293 /* confdefs.h. */
12294 _ACEOF
12295 cat confdefs.h >>conftest.$ac_ext
12296 cat >>conftest.$ac_ext <<_ACEOF
12297 /* end confdefs.h. */
12298
12299 #include <string.h>
12300
12301 int
12302 main ()
12303 {
12304
12305 strcasecmp("foo", "bar");
12306
12307 ;
12308 return 0;
12309 }
12310 _ACEOF
12311 rm -f conftest.$ac_objext conftest$ac_exeext
12312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12313 (eval $ac_link) 2>conftest.er1
12314 ac_status=$?
12315 grep -v '^ *+' conftest.er1 >conftest.err
12316 rm -f conftest.er1
12317 cat conftest.err >&5
12318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12319 (exit $ac_status); } &&
12320 { ac_try='test -z "$ac_cxx_werror_flag"
12321 || test ! -s conftest.err'
12322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12323 (eval $ac_try) 2>&5
12324 ac_status=$?
12325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12326 (exit $ac_status); }; } &&
12327 { ac_try='test -s conftest$ac_exeext'
12328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12329 (eval $ac_try) 2>&5
12330 ac_status=$?
12331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12332 (exit $ac_status); }; }; then
12333 ac_cv_string_strcasecmp=yes
12334 else
12335 echo "$as_me: failed program was:" >&5
12336 sed 's/^/| /' conftest.$ac_ext >&5
12337
12338 ac_cv_string_strcasecmp=no
12339
12340 fi
12341 rm -f conftest.err conftest.$ac_objext \
12342 conftest$ac_exeext conftest.$ac_ext
12343
12344 fi
12345 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12346 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12347
12348 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12349 cat >>confdefs.h <<\_ACEOF
12350 #define HAVE_STRCASECMP_IN_STRING_H 1
12351 _ACEOF
12352
12353 else
12354 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12355 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12356 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12357 echo $ECHO_N "(cached) $ECHO_C" >&6
12358 else
12359
12360 cat >conftest.$ac_ext <<_ACEOF
12361 /* confdefs.h. */
12362 _ACEOF
12363 cat confdefs.h >>conftest.$ac_ext
12364 cat >>conftest.$ac_ext <<_ACEOF
12365 /* end confdefs.h. */
12366
12367 #include <strings.h>
12368
12369 int
12370 main ()
12371 {
12372
12373 strcasecmp("foo", "bar");
12374
12375 ;
12376 return 0;
12377 }
12378 _ACEOF
12379 rm -f conftest.$ac_objext conftest$ac_exeext
12380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12381 (eval $ac_link) 2>conftest.er1
12382 ac_status=$?
12383 grep -v '^ *+' conftest.er1 >conftest.err
12384 rm -f conftest.er1
12385 cat conftest.err >&5
12386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12387 (exit $ac_status); } &&
12388 { ac_try='test -z "$ac_cxx_werror_flag"
12389 || test ! -s conftest.err'
12390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12391 (eval $ac_try) 2>&5
12392 ac_status=$?
12393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12394 (exit $ac_status); }; } &&
12395 { ac_try='test -s conftest$ac_exeext'
12396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12397 (eval $ac_try) 2>&5
12398 ac_status=$?
12399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12400 (exit $ac_status); }; }; then
12401 ac_cv_strings_strcasecmp=yes
12402 else
12403 echo "$as_me: failed program was:" >&5
12404 sed 's/^/| /' conftest.$ac_ext >&5
12405
12406 ac_cv_strings_strcasecmp=no
12407
12408 fi
12409 rm -f conftest.err conftest.$ac_objext \
12410 conftest$ac_exeext conftest.$ac_ext
12411
12412 fi
12413 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12414 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12415
12416 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12417 cat >>confdefs.h <<\_ACEOF
12418 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12419 _ACEOF
12420
12421 else
12422 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12423 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12424 { (exit 1); exit 1; }; }
12425 fi
12426 fi
12427
12428 ac_ext=c
12429 ac_cpp='$CPP $CPPFLAGS'
12430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12433
12434 ;;
12435 esac
12436
12437
12438 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12439 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12440 if test "${ac_cv_header_stdc+set}" = set; then
12441 echo $ECHO_N "(cached) $ECHO_C" >&6
12442 else
12443 cat >conftest.$ac_ext <<_ACEOF
12444 /* confdefs.h. */
12445 _ACEOF
12446 cat confdefs.h >>conftest.$ac_ext
12447 cat >>conftest.$ac_ext <<_ACEOF
12448 /* end confdefs.h. */
12449 #include <stdlib.h>
12450 #include <stdarg.h>
12451 #include <string.h>
12452 #include <float.h>
12453
12454 int
12455 main ()
12456 {
12457
12458 ;
12459 return 0;
12460 }
12461 _ACEOF
12462 rm -f conftest.$ac_objext
12463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12464 (eval $ac_compile) 2>conftest.er1
12465 ac_status=$?
12466 grep -v '^ *+' conftest.er1 >conftest.err
12467 rm -f conftest.er1
12468 cat conftest.err >&5
12469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12470 (exit $ac_status); } &&
12471 { ac_try='test -z "$ac_c_werror_flag"
12472 || test ! -s conftest.err'
12473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12474 (eval $ac_try) 2>&5
12475 ac_status=$?
12476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12477 (exit $ac_status); }; } &&
12478 { ac_try='test -s conftest.$ac_objext'
12479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12480 (eval $ac_try) 2>&5
12481 ac_status=$?
12482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12483 (exit $ac_status); }; }; then
12484 ac_cv_header_stdc=yes
12485 else
12486 echo "$as_me: failed program was:" >&5
12487 sed 's/^/| /' conftest.$ac_ext >&5
12488
12489 ac_cv_header_stdc=no
12490 fi
12491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12492
12493 if test $ac_cv_header_stdc = yes; then
12494 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12495 cat >conftest.$ac_ext <<_ACEOF
12496 /* confdefs.h. */
12497 _ACEOF
12498 cat confdefs.h >>conftest.$ac_ext
12499 cat >>conftest.$ac_ext <<_ACEOF
12500 /* end confdefs.h. */
12501 #include <string.h>
12502
12503 _ACEOF
12504 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12505 $EGREP "memchr" >/dev/null 2>&1; then
12506 :
12507 else
12508 ac_cv_header_stdc=no
12509 fi
12510 rm -f conftest*
12511
12512 fi
12513
12514 if test $ac_cv_header_stdc = yes; then
12515 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12516 cat >conftest.$ac_ext <<_ACEOF
12517 /* confdefs.h. */
12518 _ACEOF
12519 cat confdefs.h >>conftest.$ac_ext
12520 cat >>conftest.$ac_ext <<_ACEOF
12521 /* end confdefs.h. */
12522 #include <stdlib.h>
12523
12524 _ACEOF
12525 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12526 $EGREP "free" >/dev/null 2>&1; then
12527 :
12528 else
12529 ac_cv_header_stdc=no
12530 fi
12531 rm -f conftest*
12532
12533 fi
12534
12535 if test $ac_cv_header_stdc = yes; then
12536 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12537 if test "$cross_compiling" = yes; then
12538 :
12539 else
12540 cat >conftest.$ac_ext <<_ACEOF
12541 /* confdefs.h. */
12542 _ACEOF
12543 cat confdefs.h >>conftest.$ac_ext
12544 cat >>conftest.$ac_ext <<_ACEOF
12545 /* end confdefs.h. */
12546 #include <ctype.h>
12547 #if ((' ' & 0x0FF) == 0x020)
12548 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12549 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12550 #else
12551 # define ISLOWER(c) \
12552 (('a' <= (c) && (c) <= 'i') \
12553 || ('j' <= (c) && (c) <= 'r') \
12554 || ('s' <= (c) && (c) <= 'z'))
12555 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12556 #endif
12557
12558 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12559 int
12560 main ()
12561 {
12562 int i;
12563 for (i = 0; i < 256; i++)
12564 if (XOR (islower (i), ISLOWER (i))
12565 || toupper (i) != TOUPPER (i))
12566 exit(2);
12567 exit (0);
12568 }
12569 _ACEOF
12570 rm -f conftest$ac_exeext
12571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12572 (eval $ac_link) 2>&5
12573 ac_status=$?
12574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12575 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12577 (eval $ac_try) 2>&5
12578 ac_status=$?
12579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12580 (exit $ac_status); }; }; then
12581 :
12582 else
12583 echo "$as_me: program exited with status $ac_status" >&5
12584 echo "$as_me: failed program was:" >&5
12585 sed 's/^/| /' conftest.$ac_ext >&5
12586
12587 ( exit $ac_status )
12588 ac_cv_header_stdc=no
12589 fi
12590 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12591 fi
12592 fi
12593 fi
12594 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12595 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12596 if test $ac_cv_header_stdc = yes; then
12597
12598 cat >>confdefs.h <<\_ACEOF
12599 #define STDC_HEADERS 1
12600 _ACEOF
12601
12602 fi
12603
12604 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12615 inttypes.h stdint.h unistd.h
12616 do
12617 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12618 echo "$as_me:$LINENO: checking for $ac_header" >&5
12619 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12620 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12621 echo $ECHO_N "(cached) $ECHO_C" >&6
12622 else
12623 cat >conftest.$ac_ext <<_ACEOF
12624 /* confdefs.h. */
12625 _ACEOF
12626 cat confdefs.h >>conftest.$ac_ext
12627 cat >>conftest.$ac_ext <<_ACEOF
12628 /* end confdefs.h. */
12629 $ac_includes_default
12630
12631 #include <$ac_header>
12632 _ACEOF
12633 rm -f conftest.$ac_objext
12634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12635 (eval $ac_compile) 2>conftest.er1
12636 ac_status=$?
12637 grep -v '^ *+' conftest.er1 >conftest.err
12638 rm -f conftest.er1
12639 cat conftest.err >&5
12640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12641 (exit $ac_status); } &&
12642 { ac_try='test -z "$ac_c_werror_flag"
12643 || test ! -s conftest.err'
12644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12645 (eval $ac_try) 2>&5
12646 ac_status=$?
12647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12648 (exit $ac_status); }; } &&
12649 { ac_try='test -s conftest.$ac_objext'
12650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12651 (eval $ac_try) 2>&5
12652 ac_status=$?
12653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12654 (exit $ac_status); }; }; then
12655 eval "$as_ac_Header=yes"
12656 else
12657 echo "$as_me: failed program was:" >&5
12658 sed 's/^/| /' conftest.$ac_ext >&5
12659
12660 eval "$as_ac_Header=no"
12661 fi
12662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12663 fi
12664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12665 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12666 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12667 cat >>confdefs.h <<_ACEOF
12668 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12669 _ACEOF
12670
12671 fi
12672
12673 done
12674
12675
12676
12677 for ac_header in stdlib.h
12678 do
12679 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12680 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12681 echo "$as_me:$LINENO: checking for $ac_header" >&5
12682 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12683 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12684 echo $ECHO_N "(cached) $ECHO_C" >&6
12685 fi
12686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12687 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12688 else
12689 # Is the header compilable?
12690 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12691 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12692 cat >conftest.$ac_ext <<_ACEOF
12693 /* confdefs.h. */
12694 _ACEOF
12695 cat confdefs.h >>conftest.$ac_ext
12696 cat >>conftest.$ac_ext <<_ACEOF
12697 /* end confdefs.h. */
12698 $ac_includes_default
12699 #include <$ac_header>
12700 _ACEOF
12701 rm -f conftest.$ac_objext
12702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12703 (eval $ac_compile) 2>conftest.er1
12704 ac_status=$?
12705 grep -v '^ *+' conftest.er1 >conftest.err
12706 rm -f conftest.er1
12707 cat conftest.err >&5
12708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12709 (exit $ac_status); } &&
12710 { ac_try='test -z "$ac_c_werror_flag"
12711 || test ! -s conftest.err'
12712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12713 (eval $ac_try) 2>&5
12714 ac_status=$?
12715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12716 (exit $ac_status); }; } &&
12717 { ac_try='test -s conftest.$ac_objext'
12718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12719 (eval $ac_try) 2>&5
12720 ac_status=$?
12721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12722 (exit $ac_status); }; }; then
12723 ac_header_compiler=yes
12724 else
12725 echo "$as_me: failed program was:" >&5
12726 sed 's/^/| /' conftest.$ac_ext >&5
12727
12728 ac_header_compiler=no
12729 fi
12730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12731 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12732 echo "${ECHO_T}$ac_header_compiler" >&6
12733
12734 # Is the header present?
12735 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12736 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12737 cat >conftest.$ac_ext <<_ACEOF
12738 /* confdefs.h. */
12739 _ACEOF
12740 cat confdefs.h >>conftest.$ac_ext
12741 cat >>conftest.$ac_ext <<_ACEOF
12742 /* end confdefs.h. */
12743 #include <$ac_header>
12744 _ACEOF
12745 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12746 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12747 ac_status=$?
12748 grep -v '^ *+' conftest.er1 >conftest.err
12749 rm -f conftest.er1
12750 cat conftest.err >&5
12751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12752 (exit $ac_status); } >/dev/null; then
12753 if test -s conftest.err; then
12754 ac_cpp_err=$ac_c_preproc_warn_flag
12755 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12756 else
12757 ac_cpp_err=
12758 fi
12759 else
12760 ac_cpp_err=yes
12761 fi
12762 if test -z "$ac_cpp_err"; then
12763 ac_header_preproc=yes
12764 else
12765 echo "$as_me: failed program was:" >&5
12766 sed 's/^/| /' conftest.$ac_ext >&5
12767
12768 ac_header_preproc=no
12769 fi
12770 rm -f conftest.err conftest.$ac_ext
12771 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12772 echo "${ECHO_T}$ac_header_preproc" >&6
12773
12774 # So? What about this header?
12775 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12776 yes:no: )
12777 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12778 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12779 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12780 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12781 ac_header_preproc=yes
12782 ;;
12783 no:yes:* )
12784 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12785 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12786 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12787 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12788 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12789 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12790 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12791 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12792 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12793 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12794 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12795 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12796 (
12797 cat <<\_ASBOX
12798 ## ----------------------------------------- ##
12799 ## Report this to wx-dev@lists.wxwindows.org ##
12800 ## ----------------------------------------- ##
12801 _ASBOX
12802 ) |
12803 sed "s/^/$as_me: WARNING: /" >&2
12804 ;;
12805 esac
12806 echo "$as_me:$LINENO: checking for $ac_header" >&5
12807 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12808 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12809 echo $ECHO_N "(cached) $ECHO_C" >&6
12810 else
12811 eval "$as_ac_Header=\$ac_header_preproc"
12812 fi
12813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12814 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12815
12816 fi
12817 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12818 cat >>confdefs.h <<_ACEOF
12819 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12820 _ACEOF
12821
12822 fi
12823
12824 done
12825
12826
12827 for ac_header in malloc.h
12828 do
12829 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12830 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12831 echo "$as_me:$LINENO: checking for $ac_header" >&5
12832 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12833 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12834 echo $ECHO_N "(cached) $ECHO_C" >&6
12835 fi
12836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12837 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12838 else
12839 # Is the header compilable?
12840 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12841 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12842 cat >conftest.$ac_ext <<_ACEOF
12843 /* confdefs.h. */
12844 _ACEOF
12845 cat confdefs.h >>conftest.$ac_ext
12846 cat >>conftest.$ac_ext <<_ACEOF
12847 /* end confdefs.h. */
12848 $ac_includes_default
12849 #include <$ac_header>
12850 _ACEOF
12851 rm -f conftest.$ac_objext
12852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12853 (eval $ac_compile) 2>conftest.er1
12854 ac_status=$?
12855 grep -v '^ *+' conftest.er1 >conftest.err
12856 rm -f conftest.er1
12857 cat conftest.err >&5
12858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12859 (exit $ac_status); } &&
12860 { ac_try='test -z "$ac_c_werror_flag"
12861 || test ! -s conftest.err'
12862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12863 (eval $ac_try) 2>&5
12864 ac_status=$?
12865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12866 (exit $ac_status); }; } &&
12867 { ac_try='test -s conftest.$ac_objext'
12868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12869 (eval $ac_try) 2>&5
12870 ac_status=$?
12871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12872 (exit $ac_status); }; }; then
12873 ac_header_compiler=yes
12874 else
12875 echo "$as_me: failed program was:" >&5
12876 sed 's/^/| /' conftest.$ac_ext >&5
12877
12878 ac_header_compiler=no
12879 fi
12880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12881 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12882 echo "${ECHO_T}$ac_header_compiler" >&6
12883
12884 # Is the header present?
12885 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12886 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12887 cat >conftest.$ac_ext <<_ACEOF
12888 /* confdefs.h. */
12889 _ACEOF
12890 cat confdefs.h >>conftest.$ac_ext
12891 cat >>conftest.$ac_ext <<_ACEOF
12892 /* end confdefs.h. */
12893 #include <$ac_header>
12894 _ACEOF
12895 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12896 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12897 ac_status=$?
12898 grep -v '^ *+' conftest.er1 >conftest.err
12899 rm -f conftest.er1
12900 cat conftest.err >&5
12901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12902 (exit $ac_status); } >/dev/null; then
12903 if test -s conftest.err; then
12904 ac_cpp_err=$ac_c_preproc_warn_flag
12905 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12906 else
12907 ac_cpp_err=
12908 fi
12909 else
12910 ac_cpp_err=yes
12911 fi
12912 if test -z "$ac_cpp_err"; then
12913 ac_header_preproc=yes
12914 else
12915 echo "$as_me: failed program was:" >&5
12916 sed 's/^/| /' conftest.$ac_ext >&5
12917
12918 ac_header_preproc=no
12919 fi
12920 rm -f conftest.err conftest.$ac_ext
12921 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12922 echo "${ECHO_T}$ac_header_preproc" >&6
12923
12924 # So? What about this header?
12925 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12926 yes:no: )
12927 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12928 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12929 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12930 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12931 ac_header_preproc=yes
12932 ;;
12933 no:yes:* )
12934 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12935 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12936 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12937 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12938 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12939 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12940 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12941 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12942 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12943 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12944 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12945 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12946 (
12947 cat <<\_ASBOX
12948 ## ----------------------------------------- ##
12949 ## Report this to wx-dev@lists.wxwindows.org ##
12950 ## ----------------------------------------- ##
12951 _ASBOX
12952 ) |
12953 sed "s/^/$as_me: WARNING: /" >&2
12954 ;;
12955 esac
12956 echo "$as_me:$LINENO: checking for $ac_header" >&5
12957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12958 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12959 echo $ECHO_N "(cached) $ECHO_C" >&6
12960 else
12961 eval "$as_ac_Header=\$ac_header_preproc"
12962 fi
12963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12964 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12965
12966 fi
12967 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12968 cat >>confdefs.h <<_ACEOF
12969 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12970 _ACEOF
12971
12972 fi
12973
12974 done
12975
12976
12977 for ac_header in unistd.h
12978 do
12979 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12980 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12981 echo "$as_me:$LINENO: checking for $ac_header" >&5
12982 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12983 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12984 echo $ECHO_N "(cached) $ECHO_C" >&6
12985 fi
12986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12987 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12988 else
12989 # Is the header compilable?
12990 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12991 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12992 cat >conftest.$ac_ext <<_ACEOF
12993 /* confdefs.h. */
12994 _ACEOF
12995 cat confdefs.h >>conftest.$ac_ext
12996 cat >>conftest.$ac_ext <<_ACEOF
12997 /* end confdefs.h. */
12998 $ac_includes_default
12999 #include <$ac_header>
13000 _ACEOF
13001 rm -f conftest.$ac_objext
13002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13003 (eval $ac_compile) 2>conftest.er1
13004 ac_status=$?
13005 grep -v '^ *+' conftest.er1 >conftest.err
13006 rm -f conftest.er1
13007 cat conftest.err >&5
13008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13009 (exit $ac_status); } &&
13010 { ac_try='test -z "$ac_c_werror_flag"
13011 || test ! -s conftest.err'
13012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13013 (eval $ac_try) 2>&5
13014 ac_status=$?
13015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13016 (exit $ac_status); }; } &&
13017 { ac_try='test -s conftest.$ac_objext'
13018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13019 (eval $ac_try) 2>&5
13020 ac_status=$?
13021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13022 (exit $ac_status); }; }; then
13023 ac_header_compiler=yes
13024 else
13025 echo "$as_me: failed program was:" >&5
13026 sed 's/^/| /' conftest.$ac_ext >&5
13027
13028 ac_header_compiler=no
13029 fi
13030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13031 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13032 echo "${ECHO_T}$ac_header_compiler" >&6
13033
13034 # Is the header present?
13035 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13036 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13037 cat >conftest.$ac_ext <<_ACEOF
13038 /* confdefs.h. */
13039 _ACEOF
13040 cat confdefs.h >>conftest.$ac_ext
13041 cat >>conftest.$ac_ext <<_ACEOF
13042 /* end confdefs.h. */
13043 #include <$ac_header>
13044 _ACEOF
13045 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13046 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13047 ac_status=$?
13048 grep -v '^ *+' conftest.er1 >conftest.err
13049 rm -f conftest.er1
13050 cat conftest.err >&5
13051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13052 (exit $ac_status); } >/dev/null; then
13053 if test -s conftest.err; then
13054 ac_cpp_err=$ac_c_preproc_warn_flag
13055 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13056 else
13057 ac_cpp_err=
13058 fi
13059 else
13060 ac_cpp_err=yes
13061 fi
13062 if test -z "$ac_cpp_err"; then
13063 ac_header_preproc=yes
13064 else
13065 echo "$as_me: failed program was:" >&5
13066 sed 's/^/| /' conftest.$ac_ext >&5
13067
13068 ac_header_preproc=no
13069 fi
13070 rm -f conftest.err conftest.$ac_ext
13071 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13072 echo "${ECHO_T}$ac_header_preproc" >&6
13073
13074 # So? What about this header?
13075 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13076 yes:no: )
13077 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13078 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13079 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13080 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13081 ac_header_preproc=yes
13082 ;;
13083 no:yes:* )
13084 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13085 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13086 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13087 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13088 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13089 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13090 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13091 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13092 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13093 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13094 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13095 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13096 (
13097 cat <<\_ASBOX
13098 ## ----------------------------------------- ##
13099 ## Report this to wx-dev@lists.wxwindows.org ##
13100 ## ----------------------------------------- ##
13101 _ASBOX
13102 ) |
13103 sed "s/^/$as_me: WARNING: /" >&2
13104 ;;
13105 esac
13106 echo "$as_me:$LINENO: checking for $ac_header" >&5
13107 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13108 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13109 echo $ECHO_N "(cached) $ECHO_C" >&6
13110 else
13111 eval "$as_ac_Header=\$ac_header_preproc"
13112 fi
13113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13114 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13115
13116 fi
13117 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13118 cat >>confdefs.h <<_ACEOF
13119 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13120 _ACEOF
13121
13122 fi
13123
13124 done
13125
13126
13127 for ac_header in wchar.h
13128 do
13129 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13130 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13131 echo "$as_me:$LINENO: checking for $ac_header" >&5
13132 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13134 echo $ECHO_N "(cached) $ECHO_C" >&6
13135 fi
13136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13137 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13138 else
13139 # Is the header compilable?
13140 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13141 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13142 cat >conftest.$ac_ext <<_ACEOF
13143 /* confdefs.h. */
13144 _ACEOF
13145 cat confdefs.h >>conftest.$ac_ext
13146 cat >>conftest.$ac_ext <<_ACEOF
13147 /* end confdefs.h. */
13148 $ac_includes_default
13149 #include <$ac_header>
13150 _ACEOF
13151 rm -f conftest.$ac_objext
13152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13153 (eval $ac_compile) 2>conftest.er1
13154 ac_status=$?
13155 grep -v '^ *+' conftest.er1 >conftest.err
13156 rm -f conftest.er1
13157 cat conftest.err >&5
13158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13159 (exit $ac_status); } &&
13160 { ac_try='test -z "$ac_c_werror_flag"
13161 || test ! -s conftest.err'
13162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13163 (eval $ac_try) 2>&5
13164 ac_status=$?
13165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13166 (exit $ac_status); }; } &&
13167 { ac_try='test -s conftest.$ac_objext'
13168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13169 (eval $ac_try) 2>&5
13170 ac_status=$?
13171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13172 (exit $ac_status); }; }; then
13173 ac_header_compiler=yes
13174 else
13175 echo "$as_me: failed program was:" >&5
13176 sed 's/^/| /' conftest.$ac_ext >&5
13177
13178 ac_header_compiler=no
13179 fi
13180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13181 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13182 echo "${ECHO_T}$ac_header_compiler" >&6
13183
13184 # Is the header present?
13185 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13186 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13187 cat >conftest.$ac_ext <<_ACEOF
13188 /* confdefs.h. */
13189 _ACEOF
13190 cat confdefs.h >>conftest.$ac_ext
13191 cat >>conftest.$ac_ext <<_ACEOF
13192 /* end confdefs.h. */
13193 #include <$ac_header>
13194 _ACEOF
13195 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13196 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13197 ac_status=$?
13198 grep -v '^ *+' conftest.er1 >conftest.err
13199 rm -f conftest.er1
13200 cat conftest.err >&5
13201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13202 (exit $ac_status); } >/dev/null; then
13203 if test -s conftest.err; then
13204 ac_cpp_err=$ac_c_preproc_warn_flag
13205 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13206 else
13207 ac_cpp_err=
13208 fi
13209 else
13210 ac_cpp_err=yes
13211 fi
13212 if test -z "$ac_cpp_err"; then
13213 ac_header_preproc=yes
13214 else
13215 echo "$as_me: failed program was:" >&5
13216 sed 's/^/| /' conftest.$ac_ext >&5
13217
13218 ac_header_preproc=no
13219 fi
13220 rm -f conftest.err conftest.$ac_ext
13221 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13222 echo "${ECHO_T}$ac_header_preproc" >&6
13223
13224 # So? What about this header?
13225 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13226 yes:no: )
13227 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13228 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13229 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13230 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13231 ac_header_preproc=yes
13232 ;;
13233 no:yes:* )
13234 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13235 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13236 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13237 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13238 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13239 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13240 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13241 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13242 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13243 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13244 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13245 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13246 (
13247 cat <<\_ASBOX
13248 ## ----------------------------------------- ##
13249 ## Report this to wx-dev@lists.wxwindows.org ##
13250 ## ----------------------------------------- ##
13251 _ASBOX
13252 ) |
13253 sed "s/^/$as_me: WARNING: /" >&2
13254 ;;
13255 esac
13256 echo "$as_me:$LINENO: checking for $ac_header" >&5
13257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13258 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13259 echo $ECHO_N "(cached) $ECHO_C" >&6
13260 else
13261 eval "$as_ac_Header=\$ac_header_preproc"
13262 fi
13263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13264 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13265
13266 fi
13267 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13268 cat >>confdefs.h <<_ACEOF
13269 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13270 _ACEOF
13271
13272 fi
13273
13274 done
13275
13276
13277 if test "$ac_cv_header_wchar_h" != "yes"; then
13278
13279 for ac_header in wcstr.h
13280 do
13281 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13283 echo "$as_me:$LINENO: checking for $ac_header" >&5
13284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13285 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13286 echo $ECHO_N "(cached) $ECHO_C" >&6
13287 fi
13288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13289 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13290 else
13291 # Is the header compilable?
13292 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13293 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13294 cat >conftest.$ac_ext <<_ACEOF
13295 /* confdefs.h. */
13296 _ACEOF
13297 cat confdefs.h >>conftest.$ac_ext
13298 cat >>conftest.$ac_ext <<_ACEOF
13299 /* end confdefs.h. */
13300 $ac_includes_default
13301 #include <$ac_header>
13302 _ACEOF
13303 rm -f conftest.$ac_objext
13304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13305 (eval $ac_compile) 2>conftest.er1
13306 ac_status=$?
13307 grep -v '^ *+' conftest.er1 >conftest.err
13308 rm -f conftest.er1
13309 cat conftest.err >&5
13310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13311 (exit $ac_status); } &&
13312 { ac_try='test -z "$ac_c_werror_flag"
13313 || test ! -s conftest.err'
13314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13315 (eval $ac_try) 2>&5
13316 ac_status=$?
13317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13318 (exit $ac_status); }; } &&
13319 { ac_try='test -s conftest.$ac_objext'
13320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13321 (eval $ac_try) 2>&5
13322 ac_status=$?
13323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13324 (exit $ac_status); }; }; then
13325 ac_header_compiler=yes
13326 else
13327 echo "$as_me: failed program was:" >&5
13328 sed 's/^/| /' conftest.$ac_ext >&5
13329
13330 ac_header_compiler=no
13331 fi
13332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13333 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13334 echo "${ECHO_T}$ac_header_compiler" >&6
13335
13336 # Is the header present?
13337 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13338 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13339 cat >conftest.$ac_ext <<_ACEOF
13340 /* confdefs.h. */
13341 _ACEOF
13342 cat confdefs.h >>conftest.$ac_ext
13343 cat >>conftest.$ac_ext <<_ACEOF
13344 /* end confdefs.h. */
13345 #include <$ac_header>
13346 _ACEOF
13347 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13348 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13349 ac_status=$?
13350 grep -v '^ *+' conftest.er1 >conftest.err
13351 rm -f conftest.er1
13352 cat conftest.err >&5
13353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13354 (exit $ac_status); } >/dev/null; then
13355 if test -s conftest.err; then
13356 ac_cpp_err=$ac_c_preproc_warn_flag
13357 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13358 else
13359 ac_cpp_err=
13360 fi
13361 else
13362 ac_cpp_err=yes
13363 fi
13364 if test -z "$ac_cpp_err"; then
13365 ac_header_preproc=yes
13366 else
13367 echo "$as_me: failed program was:" >&5
13368 sed 's/^/| /' conftest.$ac_ext >&5
13369
13370 ac_header_preproc=no
13371 fi
13372 rm -f conftest.err conftest.$ac_ext
13373 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13374 echo "${ECHO_T}$ac_header_preproc" >&6
13375
13376 # So? What about this header?
13377 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13378 yes:no: )
13379 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13380 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13381 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13382 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13383 ac_header_preproc=yes
13384 ;;
13385 no:yes:* )
13386 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13387 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13388 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13389 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13390 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13391 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13392 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13393 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13394 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13395 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13396 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13397 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13398 (
13399 cat <<\_ASBOX
13400 ## ----------------------------------------- ##
13401 ## Report this to wx-dev@lists.wxwindows.org ##
13402 ## ----------------------------------------- ##
13403 _ASBOX
13404 ) |
13405 sed "s/^/$as_me: WARNING: /" >&2
13406 ;;
13407 esac
13408 echo "$as_me:$LINENO: checking for $ac_header" >&5
13409 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13411 echo $ECHO_N "(cached) $ECHO_C" >&6
13412 else
13413 eval "$as_ac_Header=\$ac_header_preproc"
13414 fi
13415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13416 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13417
13418 fi
13419 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13420 cat >>confdefs.h <<_ACEOF
13421 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13422 _ACEOF
13423
13424 fi
13425
13426 done
13427
13428 fi
13429
13430
13431 for ac_header in fnmatch.h
13432 do
13433 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13434 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13435 echo "$as_me:$LINENO: checking for $ac_header" >&5
13436 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13437 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13438 echo $ECHO_N "(cached) $ECHO_C" >&6
13439 fi
13440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13441 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13442 else
13443 # Is the header compilable?
13444 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13445 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13446 cat >conftest.$ac_ext <<_ACEOF
13447 /* confdefs.h. */
13448 _ACEOF
13449 cat confdefs.h >>conftest.$ac_ext
13450 cat >>conftest.$ac_ext <<_ACEOF
13451 /* end confdefs.h. */
13452 $ac_includes_default
13453 #include <$ac_header>
13454 _ACEOF
13455 rm -f conftest.$ac_objext
13456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13457 (eval $ac_compile) 2>conftest.er1
13458 ac_status=$?
13459 grep -v '^ *+' conftest.er1 >conftest.err
13460 rm -f conftest.er1
13461 cat conftest.err >&5
13462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13463 (exit $ac_status); } &&
13464 { ac_try='test -z "$ac_c_werror_flag"
13465 || test ! -s conftest.err'
13466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13467 (eval $ac_try) 2>&5
13468 ac_status=$?
13469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 (exit $ac_status); }; } &&
13471 { ac_try='test -s conftest.$ac_objext'
13472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13473 (eval $ac_try) 2>&5
13474 ac_status=$?
13475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13476 (exit $ac_status); }; }; then
13477 ac_header_compiler=yes
13478 else
13479 echo "$as_me: failed program was:" >&5
13480 sed 's/^/| /' conftest.$ac_ext >&5
13481
13482 ac_header_compiler=no
13483 fi
13484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13485 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13486 echo "${ECHO_T}$ac_header_compiler" >&6
13487
13488 # Is the header present?
13489 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13490 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13491 cat >conftest.$ac_ext <<_ACEOF
13492 /* confdefs.h. */
13493 _ACEOF
13494 cat confdefs.h >>conftest.$ac_ext
13495 cat >>conftest.$ac_ext <<_ACEOF
13496 /* end confdefs.h. */
13497 #include <$ac_header>
13498 _ACEOF
13499 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13500 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13501 ac_status=$?
13502 grep -v '^ *+' conftest.er1 >conftest.err
13503 rm -f conftest.er1
13504 cat conftest.err >&5
13505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13506 (exit $ac_status); } >/dev/null; then
13507 if test -s conftest.err; then
13508 ac_cpp_err=$ac_c_preproc_warn_flag
13509 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13510 else
13511 ac_cpp_err=
13512 fi
13513 else
13514 ac_cpp_err=yes
13515 fi
13516 if test -z "$ac_cpp_err"; then
13517 ac_header_preproc=yes
13518 else
13519 echo "$as_me: failed program was:" >&5
13520 sed 's/^/| /' conftest.$ac_ext >&5
13521
13522 ac_header_preproc=no
13523 fi
13524 rm -f conftest.err conftest.$ac_ext
13525 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13526 echo "${ECHO_T}$ac_header_preproc" >&6
13527
13528 # So? What about this header?
13529 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13530 yes:no: )
13531 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13532 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13533 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13534 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13535 ac_header_preproc=yes
13536 ;;
13537 no:yes:* )
13538 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13539 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13540 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13541 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13542 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13543 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13544 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13545 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13546 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13547 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13548 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13549 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13550 (
13551 cat <<\_ASBOX
13552 ## ----------------------------------------- ##
13553 ## Report this to wx-dev@lists.wxwindows.org ##
13554 ## ----------------------------------------- ##
13555 _ASBOX
13556 ) |
13557 sed "s/^/$as_me: WARNING: /" >&2
13558 ;;
13559 esac
13560 echo "$as_me:$LINENO: checking for $ac_header" >&5
13561 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13562 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13563 echo $ECHO_N "(cached) $ECHO_C" >&6
13564 else
13565 eval "$as_ac_Header=\$ac_header_preproc"
13566 fi
13567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13568 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13569
13570 fi
13571 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13572 cat >>confdefs.h <<_ACEOF
13573 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13574 _ACEOF
13575
13576 fi
13577
13578 done
13579
13580
13581 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13582
13583 for ac_func in fnmatch
13584 do
13585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13586 echo "$as_me:$LINENO: checking for $ac_func" >&5
13587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13588 if eval "test \"\${$as_ac_var+set}\" = set"; then
13589 echo $ECHO_N "(cached) $ECHO_C" >&6
13590 else
13591 cat >conftest.$ac_ext <<_ACEOF
13592 /* confdefs.h. */
13593 _ACEOF
13594 cat confdefs.h >>conftest.$ac_ext
13595 cat >>conftest.$ac_ext <<_ACEOF
13596 /* end confdefs.h. */
13597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13599 #define $ac_func innocuous_$ac_func
13600
13601 /* System header to define __stub macros and hopefully few prototypes,
13602 which can conflict with char $ac_func (); below.
13603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13604 <limits.h> exists even on freestanding compilers. */
13605
13606 #ifdef __STDC__
13607 # include <limits.h>
13608 #else
13609 # include <assert.h>
13610 #endif
13611
13612 #undef $ac_func
13613
13614 /* Override any gcc2 internal prototype to avoid an error. */
13615 #ifdef __cplusplus
13616 extern "C"
13617 {
13618 #endif
13619 /* We use char because int might match the return type of a gcc2
13620 builtin and then its argument prototype would still apply. */
13621 char $ac_func ();
13622 /* The GNU C library defines this for functions which it implements
13623 to always fail with ENOSYS. Some functions are actually named
13624 something starting with __ and the normal name is an alias. */
13625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13626 choke me
13627 #else
13628 char (*f) () = $ac_func;
13629 #endif
13630 #ifdef __cplusplus
13631 }
13632 #endif
13633
13634 int
13635 main ()
13636 {
13637 return f != $ac_func;
13638 ;
13639 return 0;
13640 }
13641 _ACEOF
13642 rm -f conftest.$ac_objext conftest$ac_exeext
13643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13644 (eval $ac_link) 2>conftest.er1
13645 ac_status=$?
13646 grep -v '^ *+' conftest.er1 >conftest.err
13647 rm -f conftest.er1
13648 cat conftest.err >&5
13649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13650 (exit $ac_status); } &&
13651 { ac_try='test -z "$ac_c_werror_flag"
13652 || test ! -s conftest.err'
13653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13654 (eval $ac_try) 2>&5
13655 ac_status=$?
13656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13657 (exit $ac_status); }; } &&
13658 { ac_try='test -s conftest$ac_exeext'
13659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13660 (eval $ac_try) 2>&5
13661 ac_status=$?
13662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13663 (exit $ac_status); }; }; then
13664 eval "$as_ac_var=yes"
13665 else
13666 echo "$as_me: failed program was:" >&5
13667 sed 's/^/| /' conftest.$ac_ext >&5
13668
13669 eval "$as_ac_var=no"
13670 fi
13671 rm -f conftest.err conftest.$ac_objext \
13672 conftest$ac_exeext conftest.$ac_ext
13673 fi
13674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13676 if test `eval echo '${'$as_ac_var'}'` = yes; then
13677 cat >>confdefs.h <<_ACEOF
13678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13679 _ACEOF
13680
13681 fi
13682 done
13683
13684 fi
13685
13686
13687 for ac_header in langinfo.h
13688 do
13689 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13690 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13691 echo "$as_me:$LINENO: checking for $ac_header" >&5
13692 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13693 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13694 echo $ECHO_N "(cached) $ECHO_C" >&6
13695 fi
13696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13697 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13698 else
13699 # Is the header compilable?
13700 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13701 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13702 cat >conftest.$ac_ext <<_ACEOF
13703 /* confdefs.h. */
13704 _ACEOF
13705 cat confdefs.h >>conftest.$ac_ext
13706 cat >>conftest.$ac_ext <<_ACEOF
13707 /* end confdefs.h. */
13708 $ac_includes_default
13709 #include <$ac_header>
13710 _ACEOF
13711 rm -f conftest.$ac_objext
13712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13713 (eval $ac_compile) 2>conftest.er1
13714 ac_status=$?
13715 grep -v '^ *+' conftest.er1 >conftest.err
13716 rm -f conftest.er1
13717 cat conftest.err >&5
13718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13719 (exit $ac_status); } &&
13720 { ac_try='test -z "$ac_c_werror_flag"
13721 || test ! -s conftest.err'
13722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13723 (eval $ac_try) 2>&5
13724 ac_status=$?
13725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13726 (exit $ac_status); }; } &&
13727 { ac_try='test -s conftest.$ac_objext'
13728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13729 (eval $ac_try) 2>&5
13730 ac_status=$?
13731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13732 (exit $ac_status); }; }; then
13733 ac_header_compiler=yes
13734 else
13735 echo "$as_me: failed program was:" >&5
13736 sed 's/^/| /' conftest.$ac_ext >&5
13737
13738 ac_header_compiler=no
13739 fi
13740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13741 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13742 echo "${ECHO_T}$ac_header_compiler" >&6
13743
13744 # Is the header present?
13745 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13746 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13747 cat >conftest.$ac_ext <<_ACEOF
13748 /* confdefs.h. */
13749 _ACEOF
13750 cat confdefs.h >>conftest.$ac_ext
13751 cat >>conftest.$ac_ext <<_ACEOF
13752 /* end confdefs.h. */
13753 #include <$ac_header>
13754 _ACEOF
13755 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13756 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13757 ac_status=$?
13758 grep -v '^ *+' conftest.er1 >conftest.err
13759 rm -f conftest.er1
13760 cat conftest.err >&5
13761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13762 (exit $ac_status); } >/dev/null; then
13763 if test -s conftest.err; then
13764 ac_cpp_err=$ac_c_preproc_warn_flag
13765 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13766 else
13767 ac_cpp_err=
13768 fi
13769 else
13770 ac_cpp_err=yes
13771 fi
13772 if test -z "$ac_cpp_err"; then
13773 ac_header_preproc=yes
13774 else
13775 echo "$as_me: failed program was:" >&5
13776 sed 's/^/| /' conftest.$ac_ext >&5
13777
13778 ac_header_preproc=no
13779 fi
13780 rm -f conftest.err conftest.$ac_ext
13781 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13782 echo "${ECHO_T}$ac_header_preproc" >&6
13783
13784 # So? What about this header?
13785 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13786 yes:no: )
13787 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13788 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13789 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13790 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13791 ac_header_preproc=yes
13792 ;;
13793 no:yes:* )
13794 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13795 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13796 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13797 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13798 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13799 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13800 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13801 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13802 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13803 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13804 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13805 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13806 (
13807 cat <<\_ASBOX
13808 ## ----------------------------------------- ##
13809 ## Report this to wx-dev@lists.wxwindows.org ##
13810 ## ----------------------------------------- ##
13811 _ASBOX
13812 ) |
13813 sed "s/^/$as_me: WARNING: /" >&2
13814 ;;
13815 esac
13816 echo "$as_me:$LINENO: checking for $ac_header" >&5
13817 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13818 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13819 echo $ECHO_N "(cached) $ECHO_C" >&6
13820 else
13821 eval "$as_ac_Header=\$ac_header_preproc"
13822 fi
13823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13824 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13825
13826 fi
13827 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13828 cat >>confdefs.h <<_ACEOF
13829 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13830 _ACEOF
13831
13832 fi
13833
13834 done
13835
13836
13837 case "${host}" in
13838 *-pc-os2_emx | *-pc-os2-emx )
13839 if test $ac_cv_header_langinfo_h = "yes"; then
13840 LIBS="$LIBS -lintl"
13841 fi
13842 ;;
13843 esac
13844
13845 if test "$wxUSE_GUI" = "yes"; then
13846 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13847
13848 for ac_header in X11/Xlib.h
13849 do
13850 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13851 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13852 echo "$as_me:$LINENO: checking for $ac_header" >&5
13853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13855 echo $ECHO_N "(cached) $ECHO_C" >&6
13856 fi
13857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13858 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13859 else
13860 # Is the header compilable?
13861 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13862 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13863 cat >conftest.$ac_ext <<_ACEOF
13864 /* confdefs.h. */
13865 _ACEOF
13866 cat confdefs.h >>conftest.$ac_ext
13867 cat >>conftest.$ac_ext <<_ACEOF
13868 /* end confdefs.h. */
13869 $ac_includes_default
13870 #include <$ac_header>
13871 _ACEOF
13872 rm -f conftest.$ac_objext
13873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13874 (eval $ac_compile) 2>conftest.er1
13875 ac_status=$?
13876 grep -v '^ *+' conftest.er1 >conftest.err
13877 rm -f conftest.er1
13878 cat conftest.err >&5
13879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13880 (exit $ac_status); } &&
13881 { ac_try='test -z "$ac_c_werror_flag"
13882 || test ! -s conftest.err'
13883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13884 (eval $ac_try) 2>&5
13885 ac_status=$?
13886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13887 (exit $ac_status); }; } &&
13888 { ac_try='test -s conftest.$ac_objext'
13889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13890 (eval $ac_try) 2>&5
13891 ac_status=$?
13892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13893 (exit $ac_status); }; }; then
13894 ac_header_compiler=yes
13895 else
13896 echo "$as_me: failed program was:" >&5
13897 sed 's/^/| /' conftest.$ac_ext >&5
13898
13899 ac_header_compiler=no
13900 fi
13901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13902 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13903 echo "${ECHO_T}$ac_header_compiler" >&6
13904
13905 # Is the header present?
13906 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13907 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13908 cat >conftest.$ac_ext <<_ACEOF
13909 /* confdefs.h. */
13910 _ACEOF
13911 cat confdefs.h >>conftest.$ac_ext
13912 cat >>conftest.$ac_ext <<_ACEOF
13913 /* end confdefs.h. */
13914 #include <$ac_header>
13915 _ACEOF
13916 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13917 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13918 ac_status=$?
13919 grep -v '^ *+' conftest.er1 >conftest.err
13920 rm -f conftest.er1
13921 cat conftest.err >&5
13922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13923 (exit $ac_status); } >/dev/null; then
13924 if test -s conftest.err; then
13925 ac_cpp_err=$ac_c_preproc_warn_flag
13926 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13927 else
13928 ac_cpp_err=
13929 fi
13930 else
13931 ac_cpp_err=yes
13932 fi
13933 if test -z "$ac_cpp_err"; then
13934 ac_header_preproc=yes
13935 else
13936 echo "$as_me: failed program was:" >&5
13937 sed 's/^/| /' conftest.$ac_ext >&5
13938
13939 ac_header_preproc=no
13940 fi
13941 rm -f conftest.err conftest.$ac_ext
13942 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13943 echo "${ECHO_T}$ac_header_preproc" >&6
13944
13945 # So? What about this header?
13946 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13947 yes:no: )
13948 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13949 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13950 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13951 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13952 ac_header_preproc=yes
13953 ;;
13954 no:yes:* )
13955 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13956 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13957 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13958 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13959 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13960 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13961 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13962 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13963 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13964 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13965 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13966 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13967 (
13968 cat <<\_ASBOX
13969 ## ----------------------------------------- ##
13970 ## Report this to wx-dev@lists.wxwindows.org ##
13971 ## ----------------------------------------- ##
13972 _ASBOX
13973 ) |
13974 sed "s/^/$as_me: WARNING: /" >&2
13975 ;;
13976 esac
13977 echo "$as_me:$LINENO: checking for $ac_header" >&5
13978 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13979 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13980 echo $ECHO_N "(cached) $ECHO_C" >&6
13981 else
13982 eval "$as_ac_Header=\$ac_header_preproc"
13983 fi
13984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13985 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13986
13987 fi
13988 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13989 cat >>confdefs.h <<_ACEOF
13990 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13991 _ACEOF
13992
13993 fi
13994
13995 done
13996
13997
13998 for ac_header in X11/XKBlib.h
13999 do
14000 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14001 echo "$as_me:$LINENO: checking for $ac_header" >&5
14002 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14003 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14004 echo $ECHO_N "(cached) $ECHO_C" >&6
14005 else
14006 cat >conftest.$ac_ext <<_ACEOF
14007 /* confdefs.h. */
14008 _ACEOF
14009 cat confdefs.h >>conftest.$ac_ext
14010 cat >>conftest.$ac_ext <<_ACEOF
14011 /* end confdefs.h. */
14012
14013 #if HAVE_X11_XLIB_H
14014 #include <X11/Xlib.h>
14015 #endif
14016
14017
14018 #include <$ac_header>
14019 _ACEOF
14020 rm -f conftest.$ac_objext
14021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14022 (eval $ac_compile) 2>conftest.er1
14023 ac_status=$?
14024 grep -v '^ *+' conftest.er1 >conftest.err
14025 rm -f conftest.er1
14026 cat conftest.err >&5
14027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14028 (exit $ac_status); } &&
14029 { ac_try='test -z "$ac_c_werror_flag"
14030 || test ! -s conftest.err'
14031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14032 (eval $ac_try) 2>&5
14033 ac_status=$?
14034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14035 (exit $ac_status); }; } &&
14036 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
14042 eval "$as_ac_Header=yes"
14043 else
14044 echo "$as_me: failed program was:" >&5
14045 sed 's/^/| /' conftest.$ac_ext >&5
14046
14047 eval "$as_ac_Header=no"
14048 fi
14049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14050 fi
14051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14052 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14053 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14054 cat >>confdefs.h <<_ACEOF
14055 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14056 _ACEOF
14057
14058 fi
14059
14060 done
14061
14062 fi
14063 fi
14064
14065
14066 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14067 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14068 if test "${ac_cv_c_const+set}" = set; then
14069 echo $ECHO_N "(cached) $ECHO_C" >&6
14070 else
14071 cat >conftest.$ac_ext <<_ACEOF
14072 /* confdefs.h. */
14073 _ACEOF
14074 cat confdefs.h >>conftest.$ac_ext
14075 cat >>conftest.$ac_ext <<_ACEOF
14076 /* end confdefs.h. */
14077
14078 int
14079 main ()
14080 {
14081 /* FIXME: Include the comments suggested by Paul. */
14082 #ifndef __cplusplus
14083 /* Ultrix mips cc rejects this. */
14084 typedef int charset[2];
14085 const charset x;
14086 /* SunOS 4.1.1 cc rejects this. */
14087 char const *const *ccp;
14088 char **p;
14089 /* NEC SVR4.0.2 mips cc rejects this. */
14090 struct point {int x, y;};
14091 static struct point const zero = {0,0};
14092 /* AIX XL C 1.02.0.0 rejects this.
14093 It does not let you subtract one const X* pointer from another in
14094 an arm of an if-expression whose if-part is not a constant
14095 expression */
14096 const char *g = "string";
14097 ccp = &g + (g ? g-g : 0);
14098 /* HPUX 7.0 cc rejects these. */
14099 ++ccp;
14100 p = (char**) ccp;
14101 ccp = (char const *const *) p;
14102 { /* SCO 3.2v4 cc rejects this. */
14103 char *t;
14104 char const *s = 0 ? (char *) 0 : (char const *) 0;
14105
14106 *t++ = 0;
14107 }
14108 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14109 int x[] = {25, 17};
14110 const int *foo = &x[0];
14111 ++foo;
14112 }
14113 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14114 typedef const int *iptr;
14115 iptr p = 0;
14116 ++p;
14117 }
14118 { /* AIX XL C 1.02.0.0 rejects this saying
14119 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14120 struct s { int j; const int *ap[3]; };
14121 struct s *b; b->j = 5;
14122 }
14123 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14124 const int foo = 10;
14125 }
14126 #endif
14127
14128 ;
14129 return 0;
14130 }
14131 _ACEOF
14132 rm -f conftest.$ac_objext
14133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14134 (eval $ac_compile) 2>conftest.er1
14135 ac_status=$?
14136 grep -v '^ *+' conftest.er1 >conftest.err
14137 rm -f conftest.er1
14138 cat conftest.err >&5
14139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14140 (exit $ac_status); } &&
14141 { ac_try='test -z "$ac_c_werror_flag"
14142 || test ! -s conftest.err'
14143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14144 (eval $ac_try) 2>&5
14145 ac_status=$?
14146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14147 (exit $ac_status); }; } &&
14148 { ac_try='test -s conftest.$ac_objext'
14149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14150 (eval $ac_try) 2>&5
14151 ac_status=$?
14152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14153 (exit $ac_status); }; }; then
14154 ac_cv_c_const=yes
14155 else
14156 echo "$as_me: failed program was:" >&5
14157 sed 's/^/| /' conftest.$ac_ext >&5
14158
14159 ac_cv_c_const=no
14160 fi
14161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14162 fi
14163 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14164 echo "${ECHO_T}$ac_cv_c_const" >&6
14165 if test $ac_cv_c_const = no; then
14166
14167 cat >>confdefs.h <<\_ACEOF
14168 #define const
14169 _ACEOF
14170
14171 fi
14172
14173 echo "$as_me:$LINENO: checking for inline" >&5
14174 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14175 if test "${ac_cv_c_inline+set}" = set; then
14176 echo $ECHO_N "(cached) $ECHO_C" >&6
14177 else
14178 ac_cv_c_inline=no
14179 for ac_kw in inline __inline__ __inline; do
14180 cat >conftest.$ac_ext <<_ACEOF
14181 /* confdefs.h. */
14182 _ACEOF
14183 cat confdefs.h >>conftest.$ac_ext
14184 cat >>conftest.$ac_ext <<_ACEOF
14185 /* end confdefs.h. */
14186 #ifndef __cplusplus
14187 typedef int foo_t;
14188 static $ac_kw foo_t static_foo () {return 0; }
14189 $ac_kw foo_t foo () {return 0; }
14190 #endif
14191
14192 _ACEOF
14193 rm -f conftest.$ac_objext
14194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14195 (eval $ac_compile) 2>conftest.er1
14196 ac_status=$?
14197 grep -v '^ *+' conftest.er1 >conftest.err
14198 rm -f conftest.er1
14199 cat conftest.err >&5
14200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14201 (exit $ac_status); } &&
14202 { ac_try='test -z "$ac_c_werror_flag"
14203 || test ! -s conftest.err'
14204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14205 (eval $ac_try) 2>&5
14206 ac_status=$?
14207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14208 (exit $ac_status); }; } &&
14209 { ac_try='test -s conftest.$ac_objext'
14210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14211 (eval $ac_try) 2>&5
14212 ac_status=$?
14213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14214 (exit $ac_status); }; }; then
14215 ac_cv_c_inline=$ac_kw; break
14216 else
14217 echo "$as_me: failed program was:" >&5
14218 sed 's/^/| /' conftest.$ac_ext >&5
14219
14220 fi
14221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14222 done
14223
14224 fi
14225 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14226 echo "${ECHO_T}$ac_cv_c_inline" >&6
14227
14228
14229 case $ac_cv_c_inline in
14230 inline | yes) ;;
14231 *)
14232 case $ac_cv_c_inline in
14233 no) ac_val=;;
14234 *) ac_val=$ac_cv_c_inline;;
14235 esac
14236 cat >>confdefs.h <<_ACEOF
14237 #ifndef __cplusplus
14238 #define inline $ac_val
14239 #endif
14240 _ACEOF
14241 ;;
14242 esac
14243
14244
14245 echo "$as_me:$LINENO: checking for char" >&5
14246 echo $ECHO_N "checking for char... $ECHO_C" >&6
14247 if test "${ac_cv_type_char+set}" = set; then
14248 echo $ECHO_N "(cached) $ECHO_C" >&6
14249 else
14250 cat >conftest.$ac_ext <<_ACEOF
14251 /* confdefs.h. */
14252 _ACEOF
14253 cat confdefs.h >>conftest.$ac_ext
14254 cat >>conftest.$ac_ext <<_ACEOF
14255 /* end confdefs.h. */
14256 $ac_includes_default
14257 int
14258 main ()
14259 {
14260 if ((char *) 0)
14261 return 0;
14262 if (sizeof (char))
14263 return 0;
14264 ;
14265 return 0;
14266 }
14267 _ACEOF
14268 rm -f conftest.$ac_objext
14269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14270 (eval $ac_compile) 2>conftest.er1
14271 ac_status=$?
14272 grep -v '^ *+' conftest.er1 >conftest.err
14273 rm -f conftest.er1
14274 cat conftest.err >&5
14275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14276 (exit $ac_status); } &&
14277 { ac_try='test -z "$ac_c_werror_flag"
14278 || test ! -s conftest.err'
14279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14280 (eval $ac_try) 2>&5
14281 ac_status=$?
14282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14283 (exit $ac_status); }; } &&
14284 { ac_try='test -s conftest.$ac_objext'
14285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14286 (eval $ac_try) 2>&5
14287 ac_status=$?
14288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14289 (exit $ac_status); }; }; then
14290 ac_cv_type_char=yes
14291 else
14292 echo "$as_me: failed program was:" >&5
14293 sed 's/^/| /' conftest.$ac_ext >&5
14294
14295 ac_cv_type_char=no
14296 fi
14297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14298 fi
14299 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14300 echo "${ECHO_T}$ac_cv_type_char" >&6
14301
14302 echo "$as_me:$LINENO: checking size of char" >&5
14303 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14304 if test "${ac_cv_sizeof_char+set}" = set; then
14305 echo $ECHO_N "(cached) $ECHO_C" >&6
14306 else
14307 if test "$ac_cv_type_char" = yes; then
14308 # The cast to unsigned long works around a bug in the HP C Compiler
14309 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14310 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14311 # This bug is HP SR number 8606223364.
14312 if test "$cross_compiling" = yes; then
14313 # Depending upon the size, compute the lo and hi bounds.
14314 cat >conftest.$ac_ext <<_ACEOF
14315 /* confdefs.h. */
14316 _ACEOF
14317 cat confdefs.h >>conftest.$ac_ext
14318 cat >>conftest.$ac_ext <<_ACEOF
14319 /* end confdefs.h. */
14320 $ac_includes_default
14321 int
14322 main ()
14323 {
14324 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14325 test_array [0] = 0
14326
14327 ;
14328 return 0;
14329 }
14330 _ACEOF
14331 rm -f conftest.$ac_objext
14332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14333 (eval $ac_compile) 2>conftest.er1
14334 ac_status=$?
14335 grep -v '^ *+' conftest.er1 >conftest.err
14336 rm -f conftest.er1
14337 cat conftest.err >&5
14338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14339 (exit $ac_status); } &&
14340 { ac_try='test -z "$ac_c_werror_flag"
14341 || test ! -s conftest.err'
14342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14343 (eval $ac_try) 2>&5
14344 ac_status=$?
14345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14346 (exit $ac_status); }; } &&
14347 { ac_try='test -s conftest.$ac_objext'
14348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14349 (eval $ac_try) 2>&5
14350 ac_status=$?
14351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14352 (exit $ac_status); }; }; then
14353 ac_lo=0 ac_mid=0
14354 while :; do
14355 cat >conftest.$ac_ext <<_ACEOF
14356 /* confdefs.h. */
14357 _ACEOF
14358 cat confdefs.h >>conftest.$ac_ext
14359 cat >>conftest.$ac_ext <<_ACEOF
14360 /* end confdefs.h. */
14361 $ac_includes_default
14362 int
14363 main ()
14364 {
14365 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14366 test_array [0] = 0
14367
14368 ;
14369 return 0;
14370 }
14371 _ACEOF
14372 rm -f conftest.$ac_objext
14373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14374 (eval $ac_compile) 2>conftest.er1
14375 ac_status=$?
14376 grep -v '^ *+' conftest.er1 >conftest.err
14377 rm -f conftest.er1
14378 cat conftest.err >&5
14379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14380 (exit $ac_status); } &&
14381 { ac_try='test -z "$ac_c_werror_flag"
14382 || test ! -s conftest.err'
14383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14384 (eval $ac_try) 2>&5
14385 ac_status=$?
14386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); }; } &&
14388 { ac_try='test -s conftest.$ac_objext'
14389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14390 (eval $ac_try) 2>&5
14391 ac_status=$?
14392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14393 (exit $ac_status); }; }; then
14394 ac_hi=$ac_mid; break
14395 else
14396 echo "$as_me: failed program was:" >&5
14397 sed 's/^/| /' conftest.$ac_ext >&5
14398
14399 ac_lo=`expr $ac_mid + 1`
14400 if test $ac_lo -le $ac_mid; then
14401 ac_lo= ac_hi=
14402 break
14403 fi
14404 ac_mid=`expr 2 '*' $ac_mid + 1`
14405 fi
14406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14407 done
14408 else
14409 echo "$as_me: failed program was:" >&5
14410 sed 's/^/| /' conftest.$ac_ext >&5
14411
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))) < 0)];
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=-1 ac_mid=-1
14452 while :; do
14453 cat >conftest.$ac_ext <<_ACEOF
14454 /* confdefs.h. */
14455 _ACEOF
14456 cat confdefs.h >>conftest.$ac_ext
14457 cat >>conftest.$ac_ext <<_ACEOF
14458 /* end confdefs.h. */
14459 $ac_includes_default
14460 int
14461 main ()
14462 {
14463 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14464 test_array [0] = 0
14465
14466 ;
14467 return 0;
14468 }
14469 _ACEOF
14470 rm -f conftest.$ac_objext
14471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14472 (eval $ac_compile) 2>conftest.er1
14473 ac_status=$?
14474 grep -v '^ *+' conftest.er1 >conftest.err
14475 rm -f conftest.er1
14476 cat conftest.err >&5
14477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14478 (exit $ac_status); } &&
14479 { ac_try='test -z "$ac_c_werror_flag"
14480 || test ! -s conftest.err'
14481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14482 (eval $ac_try) 2>&5
14483 ac_status=$?
14484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14485 (exit $ac_status); }; } &&
14486 { ac_try='test -s conftest.$ac_objext'
14487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14488 (eval $ac_try) 2>&5
14489 ac_status=$?
14490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14491 (exit $ac_status); }; }; then
14492 ac_lo=$ac_mid; break
14493 else
14494 echo "$as_me: failed program was:" >&5
14495 sed 's/^/| /' conftest.$ac_ext >&5
14496
14497 ac_hi=`expr '(' $ac_mid ')' - 1`
14498 if test $ac_mid -le $ac_hi; then
14499 ac_lo= ac_hi=
14500 break
14501 fi
14502 ac_mid=`expr 2 '*' $ac_mid`
14503 fi
14504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14505 done
14506 else
14507 echo "$as_me: failed program was:" >&5
14508 sed 's/^/| /' conftest.$ac_ext >&5
14509
14510 ac_lo= ac_hi=
14511 fi
14512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14513 fi
14514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14515 # Binary search between lo and hi bounds.
14516 while test "x$ac_lo" != "x$ac_hi"; do
14517 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14518 cat >conftest.$ac_ext <<_ACEOF
14519 /* confdefs.h. */
14520 _ACEOF
14521 cat confdefs.h >>conftest.$ac_ext
14522 cat >>conftest.$ac_ext <<_ACEOF
14523 /* end confdefs.h. */
14524 $ac_includes_default
14525 int
14526 main ()
14527 {
14528 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14529 test_array [0] = 0
14530
14531 ;
14532 return 0;
14533 }
14534 _ACEOF
14535 rm -f conftest.$ac_objext
14536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14537 (eval $ac_compile) 2>conftest.er1
14538 ac_status=$?
14539 grep -v '^ *+' conftest.er1 >conftest.err
14540 rm -f conftest.er1
14541 cat conftest.err >&5
14542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14543 (exit $ac_status); } &&
14544 { ac_try='test -z "$ac_c_werror_flag"
14545 || test ! -s conftest.err'
14546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14547 (eval $ac_try) 2>&5
14548 ac_status=$?
14549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14550 (exit $ac_status); }; } &&
14551 { ac_try='test -s conftest.$ac_objext'
14552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14553 (eval $ac_try) 2>&5
14554 ac_status=$?
14555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14556 (exit $ac_status); }; }; then
14557 ac_hi=$ac_mid
14558 else
14559 echo "$as_me: failed program was:" >&5
14560 sed 's/^/| /' conftest.$ac_ext >&5
14561
14562 ac_lo=`expr '(' $ac_mid ')' + 1`
14563 fi
14564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14565 done
14566 case $ac_lo in
14567 ?*) ac_cv_sizeof_char=$ac_lo;;
14568 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14569 See \`config.log' for more details." >&5
14570 echo "$as_me: error: cannot compute sizeof (char), 77
14571 See \`config.log' for more details." >&2;}
14572 { (exit 1); exit 1; }; } ;;
14573 esac
14574 else
14575 if test "$cross_compiling" = yes; then
14576 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14577 See \`config.log' for more details." >&5
14578 echo "$as_me: error: cannot run test program while cross compiling
14579 See \`config.log' for more details." >&2;}
14580 { (exit 1); exit 1; }; }
14581 else
14582 cat >conftest.$ac_ext <<_ACEOF
14583 /* confdefs.h. */
14584 _ACEOF
14585 cat confdefs.h >>conftest.$ac_ext
14586 cat >>conftest.$ac_ext <<_ACEOF
14587 /* end confdefs.h. */
14588 $ac_includes_default
14589 long longval () { return (long) (sizeof (char)); }
14590 unsigned long ulongval () { return (long) (sizeof (char)); }
14591 #include <stdio.h>
14592 #include <stdlib.h>
14593 int
14594 main ()
14595 {
14596
14597 FILE *f = fopen ("conftest.val", "w");
14598 if (! f)
14599 exit (1);
14600 if (((long) (sizeof (char))) < 0)
14601 {
14602 long i = longval ();
14603 if (i != ((long) (sizeof (char))))
14604 exit (1);
14605 fprintf (f, "%ld\n", i);
14606 }
14607 else
14608 {
14609 unsigned long i = ulongval ();
14610 if (i != ((long) (sizeof (char))))
14611 exit (1);
14612 fprintf (f, "%lu\n", i);
14613 }
14614 exit (ferror (f) || fclose (f) != 0);
14615
14616 ;
14617 return 0;
14618 }
14619 _ACEOF
14620 rm -f conftest$ac_exeext
14621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14622 (eval $ac_link) 2>&5
14623 ac_status=$?
14624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14625 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14627 (eval $ac_try) 2>&5
14628 ac_status=$?
14629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14630 (exit $ac_status); }; }; then
14631 ac_cv_sizeof_char=`cat conftest.val`
14632 else
14633 echo "$as_me: program exited with status $ac_status" >&5
14634 echo "$as_me: failed program was:" >&5
14635 sed 's/^/| /' conftest.$ac_ext >&5
14636
14637 ( exit $ac_status )
14638 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14639 See \`config.log' for more details." >&5
14640 echo "$as_me: error: cannot compute sizeof (char), 77
14641 See \`config.log' for more details." >&2;}
14642 { (exit 1); exit 1; }; }
14643 fi
14644 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14645 fi
14646 fi
14647 rm -f conftest.val
14648 else
14649 ac_cv_sizeof_char=0
14650 fi
14651 fi
14652 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14653 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14654 cat >>confdefs.h <<_ACEOF
14655 #define SIZEOF_CHAR $ac_cv_sizeof_char
14656 _ACEOF
14657
14658
14659 echo "$as_me:$LINENO: checking for short" >&5
14660 echo $ECHO_N "checking for short... $ECHO_C" >&6
14661 if test "${ac_cv_type_short+set}" = set; then
14662 echo $ECHO_N "(cached) $ECHO_C" >&6
14663 else
14664 cat >conftest.$ac_ext <<_ACEOF
14665 /* confdefs.h. */
14666 _ACEOF
14667 cat confdefs.h >>conftest.$ac_ext
14668 cat >>conftest.$ac_ext <<_ACEOF
14669 /* end confdefs.h. */
14670 $ac_includes_default
14671 int
14672 main ()
14673 {
14674 if ((short *) 0)
14675 return 0;
14676 if (sizeof (short))
14677 return 0;
14678 ;
14679 return 0;
14680 }
14681 _ACEOF
14682 rm -f conftest.$ac_objext
14683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14684 (eval $ac_compile) 2>conftest.er1
14685 ac_status=$?
14686 grep -v '^ *+' conftest.er1 >conftest.err
14687 rm -f conftest.er1
14688 cat conftest.err >&5
14689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14690 (exit $ac_status); } &&
14691 { ac_try='test -z "$ac_c_werror_flag"
14692 || test ! -s conftest.err'
14693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14694 (eval $ac_try) 2>&5
14695 ac_status=$?
14696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14697 (exit $ac_status); }; } &&
14698 { ac_try='test -s conftest.$ac_objext'
14699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14700 (eval $ac_try) 2>&5
14701 ac_status=$?
14702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14703 (exit $ac_status); }; }; then
14704 ac_cv_type_short=yes
14705 else
14706 echo "$as_me: failed program was:" >&5
14707 sed 's/^/| /' conftest.$ac_ext >&5
14708
14709 ac_cv_type_short=no
14710 fi
14711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14712 fi
14713 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14714 echo "${ECHO_T}$ac_cv_type_short" >&6
14715
14716 echo "$as_me:$LINENO: checking size of short" >&5
14717 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14718 if test "${ac_cv_sizeof_short+set}" = set; then
14719 echo $ECHO_N "(cached) $ECHO_C" >&6
14720 else
14721 if test "$ac_cv_type_short" = yes; then
14722 # The cast to unsigned long works around a bug in the HP C Compiler
14723 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14724 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14725 # This bug is HP SR number 8606223364.
14726 if test "$cross_compiling" = yes; then
14727 # Depending upon the size, compute the lo and hi bounds.
14728 cat >conftest.$ac_ext <<_ACEOF
14729 /* confdefs.h. */
14730 _ACEOF
14731 cat confdefs.h >>conftest.$ac_ext
14732 cat >>conftest.$ac_ext <<_ACEOF
14733 /* end confdefs.h. */
14734 $ac_includes_default
14735 int
14736 main ()
14737 {
14738 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14739 test_array [0] = 0
14740
14741 ;
14742 return 0;
14743 }
14744 _ACEOF
14745 rm -f conftest.$ac_objext
14746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14747 (eval $ac_compile) 2>conftest.er1
14748 ac_status=$?
14749 grep -v '^ *+' conftest.er1 >conftest.err
14750 rm -f conftest.er1
14751 cat conftest.err >&5
14752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14753 (exit $ac_status); } &&
14754 { ac_try='test -z "$ac_c_werror_flag"
14755 || test ! -s conftest.err'
14756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14757 (eval $ac_try) 2>&5
14758 ac_status=$?
14759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14760 (exit $ac_status); }; } &&
14761 { ac_try='test -s conftest.$ac_objext'
14762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14763 (eval $ac_try) 2>&5
14764 ac_status=$?
14765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14766 (exit $ac_status); }; }; then
14767 ac_lo=0 ac_mid=0
14768 while :; do
14769 cat >conftest.$ac_ext <<_ACEOF
14770 /* confdefs.h. */
14771 _ACEOF
14772 cat confdefs.h >>conftest.$ac_ext
14773 cat >>conftest.$ac_ext <<_ACEOF
14774 /* end confdefs.h. */
14775 $ac_includes_default
14776 int
14777 main ()
14778 {
14779 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14780 test_array [0] = 0
14781
14782 ;
14783 return 0;
14784 }
14785 _ACEOF
14786 rm -f conftest.$ac_objext
14787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14788 (eval $ac_compile) 2>conftest.er1
14789 ac_status=$?
14790 grep -v '^ *+' conftest.er1 >conftest.err
14791 rm -f conftest.er1
14792 cat conftest.err >&5
14793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14794 (exit $ac_status); } &&
14795 { ac_try='test -z "$ac_c_werror_flag"
14796 || test ! -s conftest.err'
14797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14798 (eval $ac_try) 2>&5
14799 ac_status=$?
14800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14801 (exit $ac_status); }; } &&
14802 { ac_try='test -s conftest.$ac_objext'
14803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14804 (eval $ac_try) 2>&5
14805 ac_status=$?
14806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14807 (exit $ac_status); }; }; then
14808 ac_hi=$ac_mid; break
14809 else
14810 echo "$as_me: failed program was:" >&5
14811 sed 's/^/| /' conftest.$ac_ext >&5
14812
14813 ac_lo=`expr $ac_mid + 1`
14814 if test $ac_lo -le $ac_mid; then
14815 ac_lo= ac_hi=
14816 break
14817 fi
14818 ac_mid=`expr 2 '*' $ac_mid + 1`
14819 fi
14820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14821 done
14822 else
14823 echo "$as_me: failed program was:" >&5
14824 sed 's/^/| /' conftest.$ac_ext >&5
14825
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))) < 0)];
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=-1 ac_mid=-1
14866 while :; do
14867 cat >conftest.$ac_ext <<_ACEOF
14868 /* confdefs.h. */
14869 _ACEOF
14870 cat confdefs.h >>conftest.$ac_ext
14871 cat >>conftest.$ac_ext <<_ACEOF
14872 /* end confdefs.h. */
14873 $ac_includes_default
14874 int
14875 main ()
14876 {
14877 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14878 test_array [0] = 0
14879
14880 ;
14881 return 0;
14882 }
14883 _ACEOF
14884 rm -f conftest.$ac_objext
14885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14886 (eval $ac_compile) 2>conftest.er1
14887 ac_status=$?
14888 grep -v '^ *+' conftest.er1 >conftest.err
14889 rm -f conftest.er1
14890 cat conftest.err >&5
14891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14892 (exit $ac_status); } &&
14893 { ac_try='test -z "$ac_c_werror_flag"
14894 || test ! -s conftest.err'
14895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14896 (eval $ac_try) 2>&5
14897 ac_status=$?
14898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14899 (exit $ac_status); }; } &&
14900 { ac_try='test -s conftest.$ac_objext'
14901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14902 (eval $ac_try) 2>&5
14903 ac_status=$?
14904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14905 (exit $ac_status); }; }; then
14906 ac_lo=$ac_mid; break
14907 else
14908 echo "$as_me: failed program was:" >&5
14909 sed 's/^/| /' conftest.$ac_ext >&5
14910
14911 ac_hi=`expr '(' $ac_mid ')' - 1`
14912 if test $ac_mid -le $ac_hi; then
14913 ac_lo= ac_hi=
14914 break
14915 fi
14916 ac_mid=`expr 2 '*' $ac_mid`
14917 fi
14918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14919 done
14920 else
14921 echo "$as_me: failed program was:" >&5
14922 sed 's/^/| /' conftest.$ac_ext >&5
14923
14924 ac_lo= ac_hi=
14925 fi
14926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14927 fi
14928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14929 # Binary search between lo and hi bounds.
14930 while test "x$ac_lo" != "x$ac_hi"; do
14931 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14932 cat >conftest.$ac_ext <<_ACEOF
14933 /* confdefs.h. */
14934 _ACEOF
14935 cat confdefs.h >>conftest.$ac_ext
14936 cat >>conftest.$ac_ext <<_ACEOF
14937 /* end confdefs.h. */
14938 $ac_includes_default
14939 int
14940 main ()
14941 {
14942 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14943 test_array [0] = 0
14944
14945 ;
14946 return 0;
14947 }
14948 _ACEOF
14949 rm -f conftest.$ac_objext
14950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14951 (eval $ac_compile) 2>conftest.er1
14952 ac_status=$?
14953 grep -v '^ *+' conftest.er1 >conftest.err
14954 rm -f conftest.er1
14955 cat conftest.err >&5
14956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14957 (exit $ac_status); } &&
14958 { ac_try='test -z "$ac_c_werror_flag"
14959 || test ! -s conftest.err'
14960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14961 (eval $ac_try) 2>&5
14962 ac_status=$?
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); }; } &&
14965 { ac_try='test -s conftest.$ac_objext'
14966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14967 (eval $ac_try) 2>&5
14968 ac_status=$?
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); }; }; then
14971 ac_hi=$ac_mid
14972 else
14973 echo "$as_me: failed program was:" >&5
14974 sed 's/^/| /' conftest.$ac_ext >&5
14975
14976 ac_lo=`expr '(' $ac_mid ')' + 1`
14977 fi
14978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14979 done
14980 case $ac_lo in
14981 ?*) ac_cv_sizeof_short=$ac_lo;;
14982 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14983 See \`config.log' for more details." >&5
14984 echo "$as_me: error: cannot compute sizeof (short), 77
14985 See \`config.log' for more details." >&2;}
14986 { (exit 1); exit 1; }; } ;;
14987 esac
14988 else
14989 if test "$cross_compiling" = yes; then
14990 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14991 See \`config.log' for more details." >&5
14992 echo "$as_me: error: cannot run test program while cross compiling
14993 See \`config.log' for more details." >&2;}
14994 { (exit 1); exit 1; }; }
14995 else
14996 cat >conftest.$ac_ext <<_ACEOF
14997 /* confdefs.h. */
14998 _ACEOF
14999 cat confdefs.h >>conftest.$ac_ext
15000 cat >>conftest.$ac_ext <<_ACEOF
15001 /* end confdefs.h. */
15002 $ac_includes_default
15003 long longval () { return (long) (sizeof (short)); }
15004 unsigned long ulongval () { return (long) (sizeof (short)); }
15005 #include <stdio.h>
15006 #include <stdlib.h>
15007 int
15008 main ()
15009 {
15010
15011 FILE *f = fopen ("conftest.val", "w");
15012 if (! f)
15013 exit (1);
15014 if (((long) (sizeof (short))) < 0)
15015 {
15016 long i = longval ();
15017 if (i != ((long) (sizeof (short))))
15018 exit (1);
15019 fprintf (f, "%ld\n", i);
15020 }
15021 else
15022 {
15023 unsigned long i = ulongval ();
15024 if (i != ((long) (sizeof (short))))
15025 exit (1);
15026 fprintf (f, "%lu\n", i);
15027 }
15028 exit (ferror (f) || fclose (f) != 0);
15029
15030 ;
15031 return 0;
15032 }
15033 _ACEOF
15034 rm -f conftest$ac_exeext
15035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15036 (eval $ac_link) 2>&5
15037 ac_status=$?
15038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15039 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15041 (eval $ac_try) 2>&5
15042 ac_status=$?
15043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15044 (exit $ac_status); }; }; then
15045 ac_cv_sizeof_short=`cat conftest.val`
15046 else
15047 echo "$as_me: program exited with status $ac_status" >&5
15048 echo "$as_me: failed program was:" >&5
15049 sed 's/^/| /' conftest.$ac_ext >&5
15050
15051 ( exit $ac_status )
15052 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15053 See \`config.log' for more details." >&5
15054 echo "$as_me: error: cannot compute sizeof (short), 77
15055 See \`config.log' for more details." >&2;}
15056 { (exit 1); exit 1; }; }
15057 fi
15058 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15059 fi
15060 fi
15061 rm -f conftest.val
15062 else
15063 ac_cv_sizeof_short=0
15064 fi
15065 fi
15066 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15067 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15068 cat >>confdefs.h <<_ACEOF
15069 #define SIZEOF_SHORT $ac_cv_sizeof_short
15070 _ACEOF
15071
15072
15073 echo "$as_me:$LINENO: checking for void *" >&5
15074 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15075 if test "${ac_cv_type_void_p+set}" = set; then
15076 echo $ECHO_N "(cached) $ECHO_C" >&6
15077 else
15078 cat >conftest.$ac_ext <<_ACEOF
15079 /* confdefs.h. */
15080 _ACEOF
15081 cat confdefs.h >>conftest.$ac_ext
15082 cat >>conftest.$ac_ext <<_ACEOF
15083 /* end confdefs.h. */
15084 $ac_includes_default
15085 int
15086 main ()
15087 {
15088 if ((void * *) 0)
15089 return 0;
15090 if (sizeof (void *))
15091 return 0;
15092 ;
15093 return 0;
15094 }
15095 _ACEOF
15096 rm -f conftest.$ac_objext
15097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15098 (eval $ac_compile) 2>conftest.er1
15099 ac_status=$?
15100 grep -v '^ *+' conftest.er1 >conftest.err
15101 rm -f conftest.er1
15102 cat conftest.err >&5
15103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15104 (exit $ac_status); } &&
15105 { ac_try='test -z "$ac_c_werror_flag"
15106 || test ! -s conftest.err'
15107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15108 (eval $ac_try) 2>&5
15109 ac_status=$?
15110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15111 (exit $ac_status); }; } &&
15112 { ac_try='test -s conftest.$ac_objext'
15113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15114 (eval $ac_try) 2>&5
15115 ac_status=$?
15116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15117 (exit $ac_status); }; }; then
15118 ac_cv_type_void_p=yes
15119 else
15120 echo "$as_me: failed program was:" >&5
15121 sed 's/^/| /' conftest.$ac_ext >&5
15122
15123 ac_cv_type_void_p=no
15124 fi
15125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15126 fi
15127 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15128 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15129
15130 echo "$as_me:$LINENO: checking size of void *" >&5
15131 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15132 if test "${ac_cv_sizeof_void_p+set}" = set; then
15133 echo $ECHO_N "(cached) $ECHO_C" >&6
15134 else
15135 if test "$ac_cv_type_void_p" = yes; then
15136 # The cast to unsigned long works around a bug in the HP C Compiler
15137 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15138 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15139 # This bug is HP SR number 8606223364.
15140 if test "$cross_compiling" = yes; then
15141 # Depending upon the size, compute the lo and hi bounds.
15142 cat >conftest.$ac_ext <<_ACEOF
15143 /* confdefs.h. */
15144 _ACEOF
15145 cat confdefs.h >>conftest.$ac_ext
15146 cat >>conftest.$ac_ext <<_ACEOF
15147 /* end confdefs.h. */
15148 $ac_includes_default
15149 int
15150 main ()
15151 {
15152 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15153 test_array [0] = 0
15154
15155 ;
15156 return 0;
15157 }
15158 _ACEOF
15159 rm -f conftest.$ac_objext
15160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15161 (eval $ac_compile) 2>conftest.er1
15162 ac_status=$?
15163 grep -v '^ *+' conftest.er1 >conftest.err
15164 rm -f conftest.er1
15165 cat conftest.err >&5
15166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15167 (exit $ac_status); } &&
15168 { ac_try='test -z "$ac_c_werror_flag"
15169 || test ! -s conftest.err'
15170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15171 (eval $ac_try) 2>&5
15172 ac_status=$?
15173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15174 (exit $ac_status); }; } &&
15175 { ac_try='test -s conftest.$ac_objext'
15176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15177 (eval $ac_try) 2>&5
15178 ac_status=$?
15179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15180 (exit $ac_status); }; }; then
15181 ac_lo=0 ac_mid=0
15182 while :; do
15183 cat >conftest.$ac_ext <<_ACEOF
15184 /* confdefs.h. */
15185 _ACEOF
15186 cat confdefs.h >>conftest.$ac_ext
15187 cat >>conftest.$ac_ext <<_ACEOF
15188 /* end confdefs.h. */
15189 $ac_includes_default
15190 int
15191 main ()
15192 {
15193 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15194 test_array [0] = 0
15195
15196 ;
15197 return 0;
15198 }
15199 _ACEOF
15200 rm -f conftest.$ac_objext
15201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15202 (eval $ac_compile) 2>conftest.er1
15203 ac_status=$?
15204 grep -v '^ *+' conftest.er1 >conftest.err
15205 rm -f conftest.er1
15206 cat conftest.err >&5
15207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15208 (exit $ac_status); } &&
15209 { ac_try='test -z "$ac_c_werror_flag"
15210 || test ! -s conftest.err'
15211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15212 (eval $ac_try) 2>&5
15213 ac_status=$?
15214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15215 (exit $ac_status); }; } &&
15216 { ac_try='test -s conftest.$ac_objext'
15217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15218 (eval $ac_try) 2>&5
15219 ac_status=$?
15220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15221 (exit $ac_status); }; }; then
15222 ac_hi=$ac_mid; break
15223 else
15224 echo "$as_me: failed program was:" >&5
15225 sed 's/^/| /' conftest.$ac_ext >&5
15226
15227 ac_lo=`expr $ac_mid + 1`
15228 if test $ac_lo -le $ac_mid; then
15229 ac_lo= ac_hi=
15230 break
15231 fi
15232 ac_mid=`expr 2 '*' $ac_mid + 1`
15233 fi
15234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15235 done
15236 else
15237 echo "$as_me: failed program was:" >&5
15238 sed 's/^/| /' conftest.$ac_ext >&5
15239
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 *))) < 0)];
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=-1 ac_mid=-1
15280 while :; do
15281 cat >conftest.$ac_ext <<_ACEOF
15282 /* confdefs.h. */
15283 _ACEOF
15284 cat confdefs.h >>conftest.$ac_ext
15285 cat >>conftest.$ac_ext <<_ACEOF
15286 /* end confdefs.h. */
15287 $ac_includes_default
15288 int
15289 main ()
15290 {
15291 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15292 test_array [0] = 0
15293
15294 ;
15295 return 0;
15296 }
15297 _ACEOF
15298 rm -f conftest.$ac_objext
15299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15300 (eval $ac_compile) 2>conftest.er1
15301 ac_status=$?
15302 grep -v '^ *+' conftest.er1 >conftest.err
15303 rm -f conftest.er1
15304 cat conftest.err >&5
15305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306 (exit $ac_status); } &&
15307 { ac_try='test -z "$ac_c_werror_flag"
15308 || test ! -s conftest.err'
15309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15310 (eval $ac_try) 2>&5
15311 ac_status=$?
15312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15313 (exit $ac_status); }; } &&
15314 { ac_try='test -s conftest.$ac_objext'
15315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15316 (eval $ac_try) 2>&5
15317 ac_status=$?
15318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15319 (exit $ac_status); }; }; then
15320 ac_lo=$ac_mid; break
15321 else
15322 echo "$as_me: failed program was:" >&5
15323 sed 's/^/| /' conftest.$ac_ext >&5
15324
15325 ac_hi=`expr '(' $ac_mid ')' - 1`
15326 if test $ac_mid -le $ac_hi; then
15327 ac_lo= ac_hi=
15328 break
15329 fi
15330 ac_mid=`expr 2 '*' $ac_mid`
15331 fi
15332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15333 done
15334 else
15335 echo "$as_me: failed program was:" >&5
15336 sed 's/^/| /' conftest.$ac_ext >&5
15337
15338 ac_lo= ac_hi=
15339 fi
15340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15341 fi
15342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15343 # Binary search between lo and hi bounds.
15344 while test "x$ac_lo" != "x$ac_hi"; do
15345 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15346 cat >conftest.$ac_ext <<_ACEOF
15347 /* confdefs.h. */
15348 _ACEOF
15349 cat confdefs.h >>conftest.$ac_ext
15350 cat >>conftest.$ac_ext <<_ACEOF
15351 /* end confdefs.h. */
15352 $ac_includes_default
15353 int
15354 main ()
15355 {
15356 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15357 test_array [0] = 0
15358
15359 ;
15360 return 0;
15361 }
15362 _ACEOF
15363 rm -f conftest.$ac_objext
15364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15365 (eval $ac_compile) 2>conftest.er1
15366 ac_status=$?
15367 grep -v '^ *+' conftest.er1 >conftest.err
15368 rm -f conftest.er1
15369 cat conftest.err >&5
15370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15371 (exit $ac_status); } &&
15372 { ac_try='test -z "$ac_c_werror_flag"
15373 || test ! -s conftest.err'
15374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15375 (eval $ac_try) 2>&5
15376 ac_status=$?
15377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15378 (exit $ac_status); }; } &&
15379 { ac_try='test -s conftest.$ac_objext'
15380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15381 (eval $ac_try) 2>&5
15382 ac_status=$?
15383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15384 (exit $ac_status); }; }; then
15385 ac_hi=$ac_mid
15386 else
15387 echo "$as_me: failed program was:" >&5
15388 sed 's/^/| /' conftest.$ac_ext >&5
15389
15390 ac_lo=`expr '(' $ac_mid ')' + 1`
15391 fi
15392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15393 done
15394 case $ac_lo in
15395 ?*) ac_cv_sizeof_void_p=$ac_lo;;
15396 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15397 See \`config.log' for more details." >&5
15398 echo "$as_me: error: cannot compute sizeof (void *), 77
15399 See \`config.log' for more details." >&2;}
15400 { (exit 1); exit 1; }; } ;;
15401 esac
15402 else
15403 if test "$cross_compiling" = yes; then
15404 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15405 See \`config.log' for more details." >&5
15406 echo "$as_me: error: cannot run test program while cross compiling
15407 See \`config.log' for more details." >&2;}
15408 { (exit 1); exit 1; }; }
15409 else
15410 cat >conftest.$ac_ext <<_ACEOF
15411 /* confdefs.h. */
15412 _ACEOF
15413 cat confdefs.h >>conftest.$ac_ext
15414 cat >>conftest.$ac_ext <<_ACEOF
15415 /* end confdefs.h. */
15416 $ac_includes_default
15417 long longval () { return (long) (sizeof (void *)); }
15418 unsigned long ulongval () { return (long) (sizeof (void *)); }
15419 #include <stdio.h>
15420 #include <stdlib.h>
15421 int
15422 main ()
15423 {
15424
15425 FILE *f = fopen ("conftest.val", "w");
15426 if (! f)
15427 exit (1);
15428 if (((long) (sizeof (void *))) < 0)
15429 {
15430 long i = longval ();
15431 if (i != ((long) (sizeof (void *))))
15432 exit (1);
15433 fprintf (f, "%ld\n", i);
15434 }
15435 else
15436 {
15437 unsigned long i = ulongval ();
15438 if (i != ((long) (sizeof (void *))))
15439 exit (1);
15440 fprintf (f, "%lu\n", i);
15441 }
15442 exit (ferror (f) || fclose (f) != 0);
15443
15444 ;
15445 return 0;
15446 }
15447 _ACEOF
15448 rm -f conftest$ac_exeext
15449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15450 (eval $ac_link) 2>&5
15451 ac_status=$?
15452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15453 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15455 (eval $ac_try) 2>&5
15456 ac_status=$?
15457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15458 (exit $ac_status); }; }; then
15459 ac_cv_sizeof_void_p=`cat conftest.val`
15460 else
15461 echo "$as_me: program exited with status $ac_status" >&5
15462 echo "$as_me: failed program was:" >&5
15463 sed 's/^/| /' conftest.$ac_ext >&5
15464
15465 ( exit $ac_status )
15466 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15467 See \`config.log' for more details." >&5
15468 echo "$as_me: error: cannot compute sizeof (void *), 77
15469 See \`config.log' for more details." >&2;}
15470 { (exit 1); exit 1; }; }
15471 fi
15472 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15473 fi
15474 fi
15475 rm -f conftest.val
15476 else
15477 ac_cv_sizeof_void_p=0
15478 fi
15479 fi
15480 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15481 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15482 cat >>confdefs.h <<_ACEOF
15483 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15484 _ACEOF
15485
15486
15487 echo "$as_me:$LINENO: checking for int" >&5
15488 echo $ECHO_N "checking for int... $ECHO_C" >&6
15489 if test "${ac_cv_type_int+set}" = set; then
15490 echo $ECHO_N "(cached) $ECHO_C" >&6
15491 else
15492 cat >conftest.$ac_ext <<_ACEOF
15493 /* confdefs.h. */
15494 _ACEOF
15495 cat confdefs.h >>conftest.$ac_ext
15496 cat >>conftest.$ac_ext <<_ACEOF
15497 /* end confdefs.h. */
15498 $ac_includes_default
15499 int
15500 main ()
15501 {
15502 if ((int *) 0)
15503 return 0;
15504 if (sizeof (int))
15505 return 0;
15506 ;
15507 return 0;
15508 }
15509 _ACEOF
15510 rm -f conftest.$ac_objext
15511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15512 (eval $ac_compile) 2>conftest.er1
15513 ac_status=$?
15514 grep -v '^ *+' conftest.er1 >conftest.err
15515 rm -f conftest.er1
15516 cat conftest.err >&5
15517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15518 (exit $ac_status); } &&
15519 { ac_try='test -z "$ac_c_werror_flag"
15520 || test ! -s conftest.err'
15521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15522 (eval $ac_try) 2>&5
15523 ac_status=$?
15524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525 (exit $ac_status); }; } &&
15526 { ac_try='test -s conftest.$ac_objext'
15527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15528 (eval $ac_try) 2>&5
15529 ac_status=$?
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); }; }; then
15532 ac_cv_type_int=yes
15533 else
15534 echo "$as_me: failed program was:" >&5
15535 sed 's/^/| /' conftest.$ac_ext >&5
15536
15537 ac_cv_type_int=no
15538 fi
15539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15540 fi
15541 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15542 echo "${ECHO_T}$ac_cv_type_int" >&6
15543
15544 echo "$as_me:$LINENO: checking size of int" >&5
15545 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15546 if test "${ac_cv_sizeof_int+set}" = set; then
15547 echo $ECHO_N "(cached) $ECHO_C" >&6
15548 else
15549 if test "$ac_cv_type_int" = yes; then
15550 # The cast to unsigned long works around a bug in the HP C Compiler
15551 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15552 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15553 # This bug is HP SR number 8606223364.
15554 if test "$cross_compiling" = yes; then
15555 # Depending upon the size, compute the lo and hi bounds.
15556 cat >conftest.$ac_ext <<_ACEOF
15557 /* confdefs.h. */
15558 _ACEOF
15559 cat confdefs.h >>conftest.$ac_ext
15560 cat >>conftest.$ac_ext <<_ACEOF
15561 /* end confdefs.h. */
15562 $ac_includes_default
15563 int
15564 main ()
15565 {
15566 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15567 test_array [0] = 0
15568
15569 ;
15570 return 0;
15571 }
15572 _ACEOF
15573 rm -f conftest.$ac_objext
15574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15575 (eval $ac_compile) 2>conftest.er1
15576 ac_status=$?
15577 grep -v '^ *+' conftest.er1 >conftest.err
15578 rm -f conftest.er1
15579 cat conftest.err >&5
15580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15581 (exit $ac_status); } &&
15582 { ac_try='test -z "$ac_c_werror_flag"
15583 || test ! -s conftest.err'
15584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15585 (eval $ac_try) 2>&5
15586 ac_status=$?
15587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15588 (exit $ac_status); }; } &&
15589 { ac_try='test -s conftest.$ac_objext'
15590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15591 (eval $ac_try) 2>&5
15592 ac_status=$?
15593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15594 (exit $ac_status); }; }; then
15595 ac_lo=0 ac_mid=0
15596 while :; do
15597 cat >conftest.$ac_ext <<_ACEOF
15598 /* confdefs.h. */
15599 _ACEOF
15600 cat confdefs.h >>conftest.$ac_ext
15601 cat >>conftest.$ac_ext <<_ACEOF
15602 /* end confdefs.h. */
15603 $ac_includes_default
15604 int
15605 main ()
15606 {
15607 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15608 test_array [0] = 0
15609
15610 ;
15611 return 0;
15612 }
15613 _ACEOF
15614 rm -f conftest.$ac_objext
15615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15616 (eval $ac_compile) 2>conftest.er1
15617 ac_status=$?
15618 grep -v '^ *+' conftest.er1 >conftest.err
15619 rm -f conftest.er1
15620 cat conftest.err >&5
15621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15622 (exit $ac_status); } &&
15623 { ac_try='test -z "$ac_c_werror_flag"
15624 || test ! -s conftest.err'
15625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15626 (eval $ac_try) 2>&5
15627 ac_status=$?
15628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15629 (exit $ac_status); }; } &&
15630 { ac_try='test -s conftest.$ac_objext'
15631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15632 (eval $ac_try) 2>&5
15633 ac_status=$?
15634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15635 (exit $ac_status); }; }; then
15636 ac_hi=$ac_mid; break
15637 else
15638 echo "$as_me: failed program was:" >&5
15639 sed 's/^/| /' conftest.$ac_ext >&5
15640
15641 ac_lo=`expr $ac_mid + 1`
15642 if test $ac_lo -le $ac_mid; then
15643 ac_lo= ac_hi=
15644 break
15645 fi
15646 ac_mid=`expr 2 '*' $ac_mid + 1`
15647 fi
15648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15649 done
15650 else
15651 echo "$as_me: failed program was:" >&5
15652 sed 's/^/| /' conftest.$ac_ext >&5
15653
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))) < 0)];
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=-1 ac_mid=-1
15694 while :; do
15695 cat >conftest.$ac_ext <<_ACEOF
15696 /* confdefs.h. */
15697 _ACEOF
15698 cat confdefs.h >>conftest.$ac_ext
15699 cat >>conftest.$ac_ext <<_ACEOF
15700 /* end confdefs.h. */
15701 $ac_includes_default
15702 int
15703 main ()
15704 {
15705 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15706 test_array [0] = 0
15707
15708 ;
15709 return 0;
15710 }
15711 _ACEOF
15712 rm -f conftest.$ac_objext
15713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15714 (eval $ac_compile) 2>conftest.er1
15715 ac_status=$?
15716 grep -v '^ *+' conftest.er1 >conftest.err
15717 rm -f conftest.er1
15718 cat conftest.err >&5
15719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15720 (exit $ac_status); } &&
15721 { ac_try='test -z "$ac_c_werror_flag"
15722 || test ! -s conftest.err'
15723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15724 (eval $ac_try) 2>&5
15725 ac_status=$?
15726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15727 (exit $ac_status); }; } &&
15728 { ac_try='test -s conftest.$ac_objext'
15729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15730 (eval $ac_try) 2>&5
15731 ac_status=$?
15732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15733 (exit $ac_status); }; }; then
15734 ac_lo=$ac_mid; break
15735 else
15736 echo "$as_me: failed program was:" >&5
15737 sed 's/^/| /' conftest.$ac_ext >&5
15738
15739 ac_hi=`expr '(' $ac_mid ')' - 1`
15740 if test $ac_mid -le $ac_hi; then
15741 ac_lo= ac_hi=
15742 break
15743 fi
15744 ac_mid=`expr 2 '*' $ac_mid`
15745 fi
15746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15747 done
15748 else
15749 echo "$as_me: failed program was:" >&5
15750 sed 's/^/| /' conftest.$ac_ext >&5
15751
15752 ac_lo= ac_hi=
15753 fi
15754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15755 fi
15756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15757 # Binary search between lo and hi bounds.
15758 while test "x$ac_lo" != "x$ac_hi"; do
15759 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15760 cat >conftest.$ac_ext <<_ACEOF
15761 /* confdefs.h. */
15762 _ACEOF
15763 cat confdefs.h >>conftest.$ac_ext
15764 cat >>conftest.$ac_ext <<_ACEOF
15765 /* end confdefs.h. */
15766 $ac_includes_default
15767 int
15768 main ()
15769 {
15770 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15771 test_array [0] = 0
15772
15773 ;
15774 return 0;
15775 }
15776 _ACEOF
15777 rm -f conftest.$ac_objext
15778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15779 (eval $ac_compile) 2>conftest.er1
15780 ac_status=$?
15781 grep -v '^ *+' conftest.er1 >conftest.err
15782 rm -f conftest.er1
15783 cat conftest.err >&5
15784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15785 (exit $ac_status); } &&
15786 { ac_try='test -z "$ac_c_werror_flag"
15787 || test ! -s conftest.err'
15788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15789 (eval $ac_try) 2>&5
15790 ac_status=$?
15791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15792 (exit $ac_status); }; } &&
15793 { ac_try='test -s conftest.$ac_objext'
15794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15795 (eval $ac_try) 2>&5
15796 ac_status=$?
15797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15798 (exit $ac_status); }; }; then
15799 ac_hi=$ac_mid
15800 else
15801 echo "$as_me: failed program was:" >&5
15802 sed 's/^/| /' conftest.$ac_ext >&5
15803
15804 ac_lo=`expr '(' $ac_mid ')' + 1`
15805 fi
15806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15807 done
15808 case $ac_lo in
15809 ?*) ac_cv_sizeof_int=$ac_lo;;
15810 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15811 See \`config.log' for more details." >&5
15812 echo "$as_me: error: cannot compute sizeof (int), 77
15813 See \`config.log' for more details." >&2;}
15814 { (exit 1); exit 1; }; } ;;
15815 esac
15816 else
15817 if test "$cross_compiling" = yes; then
15818 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15819 See \`config.log' for more details." >&5
15820 echo "$as_me: error: cannot run test program while cross compiling
15821 See \`config.log' for more details." >&2;}
15822 { (exit 1); exit 1; }; }
15823 else
15824 cat >conftest.$ac_ext <<_ACEOF
15825 /* confdefs.h. */
15826 _ACEOF
15827 cat confdefs.h >>conftest.$ac_ext
15828 cat >>conftest.$ac_ext <<_ACEOF
15829 /* end confdefs.h. */
15830 $ac_includes_default
15831 long longval () { return (long) (sizeof (int)); }
15832 unsigned long ulongval () { return (long) (sizeof (int)); }
15833 #include <stdio.h>
15834 #include <stdlib.h>
15835 int
15836 main ()
15837 {
15838
15839 FILE *f = fopen ("conftest.val", "w");
15840 if (! f)
15841 exit (1);
15842 if (((long) (sizeof (int))) < 0)
15843 {
15844 long i = longval ();
15845 if (i != ((long) (sizeof (int))))
15846 exit (1);
15847 fprintf (f, "%ld\n", i);
15848 }
15849 else
15850 {
15851 unsigned long i = ulongval ();
15852 if (i != ((long) (sizeof (int))))
15853 exit (1);
15854 fprintf (f, "%lu\n", i);
15855 }
15856 exit (ferror (f) || fclose (f) != 0);
15857
15858 ;
15859 return 0;
15860 }
15861 _ACEOF
15862 rm -f conftest$ac_exeext
15863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15864 (eval $ac_link) 2>&5
15865 ac_status=$?
15866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15867 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15869 (eval $ac_try) 2>&5
15870 ac_status=$?
15871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15872 (exit $ac_status); }; }; then
15873 ac_cv_sizeof_int=`cat conftest.val`
15874 else
15875 echo "$as_me: program exited with status $ac_status" >&5
15876 echo "$as_me: failed program was:" >&5
15877 sed 's/^/| /' conftest.$ac_ext >&5
15878
15879 ( exit $ac_status )
15880 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15881 See \`config.log' for more details." >&5
15882 echo "$as_me: error: cannot compute sizeof (int), 77
15883 See \`config.log' for more details." >&2;}
15884 { (exit 1); exit 1; }; }
15885 fi
15886 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15887 fi
15888 fi
15889 rm -f conftest.val
15890 else
15891 ac_cv_sizeof_int=0
15892 fi
15893 fi
15894 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15895 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15896 cat >>confdefs.h <<_ACEOF
15897 #define SIZEOF_INT $ac_cv_sizeof_int
15898 _ACEOF
15899
15900
15901 echo "$as_me:$LINENO: checking for long" >&5
15902 echo $ECHO_N "checking for long... $ECHO_C" >&6
15903 if test "${ac_cv_type_long+set}" = set; then
15904 echo $ECHO_N "(cached) $ECHO_C" >&6
15905 else
15906 cat >conftest.$ac_ext <<_ACEOF
15907 /* confdefs.h. */
15908 _ACEOF
15909 cat confdefs.h >>conftest.$ac_ext
15910 cat >>conftest.$ac_ext <<_ACEOF
15911 /* end confdefs.h. */
15912 $ac_includes_default
15913 int
15914 main ()
15915 {
15916 if ((long *) 0)
15917 return 0;
15918 if (sizeof (long))
15919 return 0;
15920 ;
15921 return 0;
15922 }
15923 _ACEOF
15924 rm -f conftest.$ac_objext
15925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15926 (eval $ac_compile) 2>conftest.er1
15927 ac_status=$?
15928 grep -v '^ *+' conftest.er1 >conftest.err
15929 rm -f conftest.er1
15930 cat conftest.err >&5
15931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15932 (exit $ac_status); } &&
15933 { ac_try='test -z "$ac_c_werror_flag"
15934 || test ! -s conftest.err'
15935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15936 (eval $ac_try) 2>&5
15937 ac_status=$?
15938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15939 (exit $ac_status); }; } &&
15940 { ac_try='test -s conftest.$ac_objext'
15941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15942 (eval $ac_try) 2>&5
15943 ac_status=$?
15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); }; }; then
15946 ac_cv_type_long=yes
15947 else
15948 echo "$as_me: failed program was:" >&5
15949 sed 's/^/| /' conftest.$ac_ext >&5
15950
15951 ac_cv_type_long=no
15952 fi
15953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15954 fi
15955 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15956 echo "${ECHO_T}$ac_cv_type_long" >&6
15957
15958 echo "$as_me:$LINENO: checking size of long" >&5
15959 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15960 if test "${ac_cv_sizeof_long+set}" = set; then
15961 echo $ECHO_N "(cached) $ECHO_C" >&6
15962 else
15963 if test "$ac_cv_type_long" = yes; then
15964 # The cast to unsigned long works around a bug in the HP C Compiler
15965 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15966 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15967 # This bug is HP SR number 8606223364.
15968 if test "$cross_compiling" = yes; then
15969 # Depending upon the size, compute the lo and hi bounds.
15970 cat >conftest.$ac_ext <<_ACEOF
15971 /* confdefs.h. */
15972 _ACEOF
15973 cat confdefs.h >>conftest.$ac_ext
15974 cat >>conftest.$ac_ext <<_ACEOF
15975 /* end confdefs.h. */
15976 $ac_includes_default
15977 int
15978 main ()
15979 {
15980 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15981 test_array [0] = 0
15982
15983 ;
15984 return 0;
15985 }
15986 _ACEOF
15987 rm -f conftest.$ac_objext
15988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15989 (eval $ac_compile) 2>conftest.er1
15990 ac_status=$?
15991 grep -v '^ *+' conftest.er1 >conftest.err
15992 rm -f conftest.er1
15993 cat conftest.err >&5
15994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15995 (exit $ac_status); } &&
15996 { ac_try='test -z "$ac_c_werror_flag"
15997 || test ! -s conftest.err'
15998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15999 (eval $ac_try) 2>&5
16000 ac_status=$?
16001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16002 (exit $ac_status); }; } &&
16003 { ac_try='test -s conftest.$ac_objext'
16004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16005 (eval $ac_try) 2>&5
16006 ac_status=$?
16007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16008 (exit $ac_status); }; }; then
16009 ac_lo=0 ac_mid=0
16010 while :; do
16011 cat >conftest.$ac_ext <<_ACEOF
16012 /* confdefs.h. */
16013 _ACEOF
16014 cat confdefs.h >>conftest.$ac_ext
16015 cat >>conftest.$ac_ext <<_ACEOF
16016 /* end confdefs.h. */
16017 $ac_includes_default
16018 int
16019 main ()
16020 {
16021 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16022 test_array [0] = 0
16023
16024 ;
16025 return 0;
16026 }
16027 _ACEOF
16028 rm -f conftest.$ac_objext
16029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16030 (eval $ac_compile) 2>conftest.er1
16031 ac_status=$?
16032 grep -v '^ *+' conftest.er1 >conftest.err
16033 rm -f conftest.er1
16034 cat conftest.err >&5
16035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16036 (exit $ac_status); } &&
16037 { ac_try='test -z "$ac_c_werror_flag"
16038 || test ! -s conftest.err'
16039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16040 (eval $ac_try) 2>&5
16041 ac_status=$?
16042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16043 (exit $ac_status); }; } &&
16044 { ac_try='test -s conftest.$ac_objext'
16045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16046 (eval $ac_try) 2>&5
16047 ac_status=$?
16048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16049 (exit $ac_status); }; }; then
16050 ac_hi=$ac_mid; break
16051 else
16052 echo "$as_me: failed program was:" >&5
16053 sed 's/^/| /' conftest.$ac_ext >&5
16054
16055 ac_lo=`expr $ac_mid + 1`
16056 if test $ac_lo -le $ac_mid; then
16057 ac_lo= ac_hi=
16058 break
16059 fi
16060 ac_mid=`expr 2 '*' $ac_mid + 1`
16061 fi
16062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16063 done
16064 else
16065 echo "$as_me: failed program was:" >&5
16066 sed 's/^/| /' conftest.$ac_ext >&5
16067
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))) < 0)];
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=-1 ac_mid=-1
16108 while :; do
16109 cat >conftest.$ac_ext <<_ACEOF
16110 /* confdefs.h. */
16111 _ACEOF
16112 cat confdefs.h >>conftest.$ac_ext
16113 cat >>conftest.$ac_ext <<_ACEOF
16114 /* end confdefs.h. */
16115 $ac_includes_default
16116 int
16117 main ()
16118 {
16119 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16120 test_array [0] = 0
16121
16122 ;
16123 return 0;
16124 }
16125 _ACEOF
16126 rm -f conftest.$ac_objext
16127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16128 (eval $ac_compile) 2>conftest.er1
16129 ac_status=$?
16130 grep -v '^ *+' conftest.er1 >conftest.err
16131 rm -f conftest.er1
16132 cat conftest.err >&5
16133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16134 (exit $ac_status); } &&
16135 { ac_try='test -z "$ac_c_werror_flag"
16136 || test ! -s conftest.err'
16137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16138 (eval $ac_try) 2>&5
16139 ac_status=$?
16140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16141 (exit $ac_status); }; } &&
16142 { ac_try='test -s conftest.$ac_objext'
16143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16144 (eval $ac_try) 2>&5
16145 ac_status=$?
16146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16147 (exit $ac_status); }; }; then
16148 ac_lo=$ac_mid; break
16149 else
16150 echo "$as_me: failed program was:" >&5
16151 sed 's/^/| /' conftest.$ac_ext >&5
16152
16153 ac_hi=`expr '(' $ac_mid ')' - 1`
16154 if test $ac_mid -le $ac_hi; then
16155 ac_lo= ac_hi=
16156 break
16157 fi
16158 ac_mid=`expr 2 '*' $ac_mid`
16159 fi
16160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16161 done
16162 else
16163 echo "$as_me: failed program was:" >&5
16164 sed 's/^/| /' conftest.$ac_ext >&5
16165
16166 ac_lo= ac_hi=
16167 fi
16168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16169 fi
16170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16171 # Binary search between lo and hi bounds.
16172 while test "x$ac_lo" != "x$ac_hi"; do
16173 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16174 cat >conftest.$ac_ext <<_ACEOF
16175 /* confdefs.h. */
16176 _ACEOF
16177 cat confdefs.h >>conftest.$ac_ext
16178 cat >>conftest.$ac_ext <<_ACEOF
16179 /* end confdefs.h. */
16180 $ac_includes_default
16181 int
16182 main ()
16183 {
16184 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16185 test_array [0] = 0
16186
16187 ;
16188 return 0;
16189 }
16190 _ACEOF
16191 rm -f conftest.$ac_objext
16192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16193 (eval $ac_compile) 2>conftest.er1
16194 ac_status=$?
16195 grep -v '^ *+' conftest.er1 >conftest.err
16196 rm -f conftest.er1
16197 cat conftest.err >&5
16198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16199 (exit $ac_status); } &&
16200 { ac_try='test -z "$ac_c_werror_flag"
16201 || test ! -s conftest.err'
16202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16203 (eval $ac_try) 2>&5
16204 ac_status=$?
16205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16206 (exit $ac_status); }; } &&
16207 { ac_try='test -s conftest.$ac_objext'
16208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16209 (eval $ac_try) 2>&5
16210 ac_status=$?
16211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16212 (exit $ac_status); }; }; then
16213 ac_hi=$ac_mid
16214 else
16215 echo "$as_me: failed program was:" >&5
16216 sed 's/^/| /' conftest.$ac_ext >&5
16217
16218 ac_lo=`expr '(' $ac_mid ')' + 1`
16219 fi
16220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16221 done
16222 case $ac_lo in
16223 ?*) ac_cv_sizeof_long=$ac_lo;;
16224 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16225 See \`config.log' for more details." >&5
16226 echo "$as_me: error: cannot compute sizeof (long), 77
16227 See \`config.log' for more details." >&2;}
16228 { (exit 1); exit 1; }; } ;;
16229 esac
16230 else
16231 if test "$cross_compiling" = yes; then
16232 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16233 See \`config.log' for more details." >&5
16234 echo "$as_me: error: cannot run test program while cross compiling
16235 See \`config.log' for more details." >&2;}
16236 { (exit 1); exit 1; }; }
16237 else
16238 cat >conftest.$ac_ext <<_ACEOF
16239 /* confdefs.h. */
16240 _ACEOF
16241 cat confdefs.h >>conftest.$ac_ext
16242 cat >>conftest.$ac_ext <<_ACEOF
16243 /* end confdefs.h. */
16244 $ac_includes_default
16245 long longval () { return (long) (sizeof (long)); }
16246 unsigned long ulongval () { return (long) (sizeof (long)); }
16247 #include <stdio.h>
16248 #include <stdlib.h>
16249 int
16250 main ()
16251 {
16252
16253 FILE *f = fopen ("conftest.val", "w");
16254 if (! f)
16255 exit (1);
16256 if (((long) (sizeof (long))) < 0)
16257 {
16258 long i = longval ();
16259 if (i != ((long) (sizeof (long))))
16260 exit (1);
16261 fprintf (f, "%ld\n", i);
16262 }
16263 else
16264 {
16265 unsigned long i = ulongval ();
16266 if (i != ((long) (sizeof (long))))
16267 exit (1);
16268 fprintf (f, "%lu\n", i);
16269 }
16270 exit (ferror (f) || fclose (f) != 0);
16271
16272 ;
16273 return 0;
16274 }
16275 _ACEOF
16276 rm -f conftest$ac_exeext
16277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16278 (eval $ac_link) 2>&5
16279 ac_status=$?
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16283 (eval $ac_try) 2>&5
16284 ac_status=$?
16285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16286 (exit $ac_status); }; }; then
16287 ac_cv_sizeof_long=`cat conftest.val`
16288 else
16289 echo "$as_me: program exited with status $ac_status" >&5
16290 echo "$as_me: failed program was:" >&5
16291 sed 's/^/| /' conftest.$ac_ext >&5
16292
16293 ( exit $ac_status )
16294 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16295 See \`config.log' for more details." >&5
16296 echo "$as_me: error: cannot compute sizeof (long), 77
16297 See \`config.log' for more details." >&2;}
16298 { (exit 1); exit 1; }; }
16299 fi
16300 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16301 fi
16302 fi
16303 rm -f conftest.val
16304 else
16305 ac_cv_sizeof_long=0
16306 fi
16307 fi
16308 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16309 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16310 cat >>confdefs.h <<_ACEOF
16311 #define SIZEOF_LONG $ac_cv_sizeof_long
16312 _ACEOF
16313
16314
16315 echo "$as_me:$LINENO: checking for size_t" >&5
16316 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16317 if test "${ac_cv_type_size_t+set}" = set; then
16318 echo $ECHO_N "(cached) $ECHO_C" >&6
16319 else
16320 cat >conftest.$ac_ext <<_ACEOF
16321 /* confdefs.h. */
16322 _ACEOF
16323 cat confdefs.h >>conftest.$ac_ext
16324 cat >>conftest.$ac_ext <<_ACEOF
16325 /* end confdefs.h. */
16326 $ac_includes_default
16327 int
16328 main ()
16329 {
16330 if ((size_t *) 0)
16331 return 0;
16332 if (sizeof (size_t))
16333 return 0;
16334 ;
16335 return 0;
16336 }
16337 _ACEOF
16338 rm -f conftest.$ac_objext
16339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16340 (eval $ac_compile) 2>conftest.er1
16341 ac_status=$?
16342 grep -v '^ *+' conftest.er1 >conftest.err
16343 rm -f conftest.er1
16344 cat conftest.err >&5
16345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16346 (exit $ac_status); } &&
16347 { ac_try='test -z "$ac_c_werror_flag"
16348 || test ! -s conftest.err'
16349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16350 (eval $ac_try) 2>&5
16351 ac_status=$?
16352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16353 (exit $ac_status); }; } &&
16354 { ac_try='test -s conftest.$ac_objext'
16355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16356 (eval $ac_try) 2>&5
16357 ac_status=$?
16358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16359 (exit $ac_status); }; }; then
16360 ac_cv_type_size_t=yes
16361 else
16362 echo "$as_me: failed program was:" >&5
16363 sed 's/^/| /' conftest.$ac_ext >&5
16364
16365 ac_cv_type_size_t=no
16366 fi
16367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16368 fi
16369 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16370 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16371
16372 echo "$as_me:$LINENO: checking size of size_t" >&5
16373 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16374 if test "${ac_cv_sizeof_size_t+set}" = set; then
16375 echo $ECHO_N "(cached) $ECHO_C" >&6
16376 else
16377 if test "$ac_cv_type_size_t" = yes; then
16378 # The cast to unsigned long works around a bug in the HP C Compiler
16379 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16380 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16381 # This bug is HP SR number 8606223364.
16382 if test "$cross_compiling" = yes; then
16383 # Depending upon the size, compute the lo and hi bounds.
16384 cat >conftest.$ac_ext <<_ACEOF
16385 /* confdefs.h. */
16386 _ACEOF
16387 cat confdefs.h >>conftest.$ac_ext
16388 cat >>conftest.$ac_ext <<_ACEOF
16389 /* end confdefs.h. */
16390 $ac_includes_default
16391 int
16392 main ()
16393 {
16394 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16395 test_array [0] = 0
16396
16397 ;
16398 return 0;
16399 }
16400 _ACEOF
16401 rm -f conftest.$ac_objext
16402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16403 (eval $ac_compile) 2>conftest.er1
16404 ac_status=$?
16405 grep -v '^ *+' conftest.er1 >conftest.err
16406 rm -f conftest.er1
16407 cat conftest.err >&5
16408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16409 (exit $ac_status); } &&
16410 { ac_try='test -z "$ac_c_werror_flag"
16411 || test ! -s conftest.err'
16412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16413 (eval $ac_try) 2>&5
16414 ac_status=$?
16415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16416 (exit $ac_status); }; } &&
16417 { ac_try='test -s conftest.$ac_objext'
16418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16419 (eval $ac_try) 2>&5
16420 ac_status=$?
16421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16422 (exit $ac_status); }; }; then
16423 ac_lo=0 ac_mid=0
16424 while :; do
16425 cat >conftest.$ac_ext <<_ACEOF
16426 /* confdefs.h. */
16427 _ACEOF
16428 cat confdefs.h >>conftest.$ac_ext
16429 cat >>conftest.$ac_ext <<_ACEOF
16430 /* end confdefs.h. */
16431 $ac_includes_default
16432 int
16433 main ()
16434 {
16435 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16436 test_array [0] = 0
16437
16438 ;
16439 return 0;
16440 }
16441 _ACEOF
16442 rm -f conftest.$ac_objext
16443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16444 (eval $ac_compile) 2>conftest.er1
16445 ac_status=$?
16446 grep -v '^ *+' conftest.er1 >conftest.err
16447 rm -f conftest.er1
16448 cat conftest.err >&5
16449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16450 (exit $ac_status); } &&
16451 { ac_try='test -z "$ac_c_werror_flag"
16452 || test ! -s conftest.err'
16453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16454 (eval $ac_try) 2>&5
16455 ac_status=$?
16456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457 (exit $ac_status); }; } &&
16458 { ac_try='test -s conftest.$ac_objext'
16459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16460 (eval $ac_try) 2>&5
16461 ac_status=$?
16462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16463 (exit $ac_status); }; }; then
16464 ac_hi=$ac_mid; break
16465 else
16466 echo "$as_me: failed program was:" >&5
16467 sed 's/^/| /' conftest.$ac_ext >&5
16468
16469 ac_lo=`expr $ac_mid + 1`
16470 if test $ac_lo -le $ac_mid; then
16471 ac_lo= ac_hi=
16472 break
16473 fi
16474 ac_mid=`expr 2 '*' $ac_mid + 1`
16475 fi
16476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16477 done
16478 else
16479 echo "$as_me: failed program was:" >&5
16480 sed 's/^/| /' conftest.$ac_ext >&5
16481
16482 cat >conftest.$ac_ext <<_ACEOF
16483 /* confdefs.h. */
16484 _ACEOF
16485 cat confdefs.h >>conftest.$ac_ext
16486 cat >>conftest.$ac_ext <<_ACEOF
16487 /* end confdefs.h. */
16488 $ac_includes_default
16489 int
16490 main ()
16491 {
16492 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16493 test_array [0] = 0
16494
16495 ;
16496 return 0;
16497 }
16498 _ACEOF
16499 rm -f conftest.$ac_objext
16500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16501 (eval $ac_compile) 2>conftest.er1
16502 ac_status=$?
16503 grep -v '^ *+' conftest.er1 >conftest.err
16504 rm -f conftest.er1
16505 cat conftest.err >&5
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); } &&
16508 { ac_try='test -z "$ac_c_werror_flag"
16509 || test ! -s conftest.err'
16510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16511 (eval $ac_try) 2>&5
16512 ac_status=$?
16513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16514 (exit $ac_status); }; } &&
16515 { ac_try='test -s conftest.$ac_objext'
16516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16517 (eval $ac_try) 2>&5
16518 ac_status=$?
16519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16520 (exit $ac_status); }; }; then
16521 ac_hi=-1 ac_mid=-1
16522 while :; do
16523 cat >conftest.$ac_ext <<_ACEOF
16524 /* confdefs.h. */
16525 _ACEOF
16526 cat confdefs.h >>conftest.$ac_ext
16527 cat >>conftest.$ac_ext <<_ACEOF
16528 /* end confdefs.h. */
16529 $ac_includes_default
16530 int
16531 main ()
16532 {
16533 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16534 test_array [0] = 0
16535
16536 ;
16537 return 0;
16538 }
16539 _ACEOF
16540 rm -f conftest.$ac_objext
16541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16542 (eval $ac_compile) 2>conftest.er1
16543 ac_status=$?
16544 grep -v '^ *+' conftest.er1 >conftest.err
16545 rm -f conftest.er1
16546 cat conftest.err >&5
16547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16548 (exit $ac_status); } &&
16549 { ac_try='test -z "$ac_c_werror_flag"
16550 || test ! -s conftest.err'
16551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16552 (eval $ac_try) 2>&5
16553 ac_status=$?
16554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16555 (exit $ac_status); }; } &&
16556 { ac_try='test -s conftest.$ac_objext'
16557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16558 (eval $ac_try) 2>&5
16559 ac_status=$?
16560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16561 (exit $ac_status); }; }; then
16562 ac_lo=$ac_mid; break
16563 else
16564 echo "$as_me: failed program was:" >&5
16565 sed 's/^/| /' conftest.$ac_ext >&5
16566
16567 ac_hi=`expr '(' $ac_mid ')' - 1`
16568 if test $ac_mid -le $ac_hi; then
16569 ac_lo= ac_hi=
16570 break
16571 fi
16572 ac_mid=`expr 2 '*' $ac_mid`
16573 fi
16574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16575 done
16576 else
16577 echo "$as_me: failed program was:" >&5
16578 sed 's/^/| /' conftest.$ac_ext >&5
16579
16580 ac_lo= ac_hi=
16581 fi
16582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16583 fi
16584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16585 # Binary search between lo and hi bounds.
16586 while test "x$ac_lo" != "x$ac_hi"; do
16587 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16588 cat >conftest.$ac_ext <<_ACEOF
16589 /* confdefs.h. */
16590 _ACEOF
16591 cat confdefs.h >>conftest.$ac_ext
16592 cat >>conftest.$ac_ext <<_ACEOF
16593 /* end confdefs.h. */
16594 $ac_includes_default
16595 int
16596 main ()
16597 {
16598 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16599 test_array [0] = 0
16600
16601 ;
16602 return 0;
16603 }
16604 _ACEOF
16605 rm -f conftest.$ac_objext
16606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16607 (eval $ac_compile) 2>conftest.er1
16608 ac_status=$?
16609 grep -v '^ *+' conftest.er1 >conftest.err
16610 rm -f conftest.er1
16611 cat conftest.err >&5
16612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16613 (exit $ac_status); } &&
16614 { ac_try='test -z "$ac_c_werror_flag"
16615 || test ! -s conftest.err'
16616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16617 (eval $ac_try) 2>&5
16618 ac_status=$?
16619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16620 (exit $ac_status); }; } &&
16621 { ac_try='test -s conftest.$ac_objext'
16622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16623 (eval $ac_try) 2>&5
16624 ac_status=$?
16625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16626 (exit $ac_status); }; }; then
16627 ac_hi=$ac_mid
16628 else
16629 echo "$as_me: failed program was:" >&5
16630 sed 's/^/| /' conftest.$ac_ext >&5
16631
16632 ac_lo=`expr '(' $ac_mid ')' + 1`
16633 fi
16634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16635 done
16636 case $ac_lo in
16637 ?*) ac_cv_sizeof_size_t=$ac_lo;;
16638 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16639 See \`config.log' for more details." >&5
16640 echo "$as_me: error: cannot compute sizeof (size_t), 77
16641 See \`config.log' for more details." >&2;}
16642 { (exit 1); exit 1; }; } ;;
16643 esac
16644 else
16645 if test "$cross_compiling" = yes; then
16646 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16647 See \`config.log' for more details." >&5
16648 echo "$as_me: error: cannot run test program while cross compiling
16649 See \`config.log' for more details." >&2;}
16650 { (exit 1); exit 1; }; }
16651 else
16652 cat >conftest.$ac_ext <<_ACEOF
16653 /* confdefs.h. */
16654 _ACEOF
16655 cat confdefs.h >>conftest.$ac_ext
16656 cat >>conftest.$ac_ext <<_ACEOF
16657 /* end confdefs.h. */
16658 $ac_includes_default
16659 long longval () { return (long) (sizeof (size_t)); }
16660 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16661 #include <stdio.h>
16662 #include <stdlib.h>
16663 int
16664 main ()
16665 {
16666
16667 FILE *f = fopen ("conftest.val", "w");
16668 if (! f)
16669 exit (1);
16670 if (((long) (sizeof (size_t))) < 0)
16671 {
16672 long i = longval ();
16673 if (i != ((long) (sizeof (size_t))))
16674 exit (1);
16675 fprintf (f, "%ld\n", i);
16676 }
16677 else
16678 {
16679 unsigned long i = ulongval ();
16680 if (i != ((long) (sizeof (size_t))))
16681 exit (1);
16682 fprintf (f, "%lu\n", i);
16683 }
16684 exit (ferror (f) || fclose (f) != 0);
16685
16686 ;
16687 return 0;
16688 }
16689 _ACEOF
16690 rm -f conftest$ac_exeext
16691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16692 (eval $ac_link) 2>&5
16693 ac_status=$?
16694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16695 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16697 (eval $ac_try) 2>&5
16698 ac_status=$?
16699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16700 (exit $ac_status); }; }; then
16701 ac_cv_sizeof_size_t=`cat conftest.val`
16702 else
16703 echo "$as_me: program exited with status $ac_status" >&5
16704 echo "$as_me: failed program was:" >&5
16705 sed 's/^/| /' conftest.$ac_ext >&5
16706
16707 ( exit $ac_status )
16708 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16709 See \`config.log' for more details." >&5
16710 echo "$as_me: error: cannot compute sizeof (size_t), 77
16711 See \`config.log' for more details." >&2;}
16712 { (exit 1); exit 1; }; }
16713 fi
16714 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16715 fi
16716 fi
16717 rm -f conftest.val
16718 else
16719 ac_cv_sizeof_size_t=0
16720 fi
16721 fi
16722 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16723 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16724 cat >>confdefs.h <<_ACEOF
16725 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16726 _ACEOF
16727
16728
16729
16730 case "${host}" in
16731 arm-*-linux* )
16732 echo "$as_me:$LINENO: checking for long long" >&5
16733 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16734 if test "${ac_cv_type_long_long+set}" = set; then
16735 echo $ECHO_N "(cached) $ECHO_C" >&6
16736 else
16737 cat >conftest.$ac_ext <<_ACEOF
16738 /* confdefs.h. */
16739 _ACEOF
16740 cat confdefs.h >>conftest.$ac_ext
16741 cat >>conftest.$ac_ext <<_ACEOF
16742 /* end confdefs.h. */
16743 $ac_includes_default
16744 int
16745 main ()
16746 {
16747 if ((long long *) 0)
16748 return 0;
16749 if (sizeof (long long))
16750 return 0;
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_cv_type_long_long=yes
16778 else
16779 echo "$as_me: failed program was:" >&5
16780 sed 's/^/| /' conftest.$ac_ext >&5
16781
16782 ac_cv_type_long_long=no
16783 fi
16784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16785 fi
16786 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16787 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16788
16789 echo "$as_me:$LINENO: checking size of long long" >&5
16790 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16791 if test "${ac_cv_sizeof_long_long+set}" = set; then
16792 echo $ECHO_N "(cached) $ECHO_C" >&6
16793 else
16794 if test "$ac_cv_type_long_long" = yes; then
16795 # The cast to unsigned long works around a bug in the HP C Compiler
16796 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16797 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16798 # This bug is HP SR number 8606223364.
16799 if test "$cross_compiling" = yes; then
16800 # Depending upon the size, compute the lo and hi bounds.
16801 cat >conftest.$ac_ext <<_ACEOF
16802 /* confdefs.h. */
16803 _ACEOF
16804 cat confdefs.h >>conftest.$ac_ext
16805 cat >>conftest.$ac_ext <<_ACEOF
16806 /* end confdefs.h. */
16807 $ac_includes_default
16808 int
16809 main ()
16810 {
16811 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16812 test_array [0] = 0
16813
16814 ;
16815 return 0;
16816 }
16817 _ACEOF
16818 rm -f conftest.$ac_objext
16819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16820 (eval $ac_compile) 2>conftest.er1
16821 ac_status=$?
16822 grep -v '^ *+' conftest.er1 >conftest.err
16823 rm -f conftest.er1
16824 cat conftest.err >&5
16825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16826 (exit $ac_status); } &&
16827 { ac_try='test -z "$ac_c_werror_flag"
16828 || test ! -s conftest.err'
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); }; } &&
16834 { ac_try='test -s conftest.$ac_objext'
16835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16836 (eval $ac_try) 2>&5
16837 ac_status=$?
16838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16839 (exit $ac_status); }; }; then
16840 ac_lo=0 ac_mid=0
16841 while :; do
16842 cat >conftest.$ac_ext <<_ACEOF
16843 /* confdefs.h. */
16844 _ACEOF
16845 cat confdefs.h >>conftest.$ac_ext
16846 cat >>conftest.$ac_ext <<_ACEOF
16847 /* end confdefs.h. */
16848 $ac_includes_default
16849 int
16850 main ()
16851 {
16852 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16853 test_array [0] = 0
16854
16855 ;
16856 return 0;
16857 }
16858 _ACEOF
16859 rm -f conftest.$ac_objext
16860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16861 (eval $ac_compile) 2>conftest.er1
16862 ac_status=$?
16863 grep -v '^ *+' conftest.er1 >conftest.err
16864 rm -f conftest.er1
16865 cat conftest.err >&5
16866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16867 (exit $ac_status); } &&
16868 { ac_try='test -z "$ac_c_werror_flag"
16869 || test ! -s conftest.err'
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); }; } &&
16875 { ac_try='test -s conftest.$ac_objext'
16876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16877 (eval $ac_try) 2>&5
16878 ac_status=$?
16879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16880 (exit $ac_status); }; }; then
16881 ac_hi=$ac_mid; break
16882 else
16883 echo "$as_me: failed program was:" >&5
16884 sed 's/^/| /' conftest.$ac_ext >&5
16885
16886 ac_lo=`expr $ac_mid + 1`
16887 if test $ac_lo -le $ac_mid; then
16888 ac_lo= ac_hi=
16889 break
16890 fi
16891 ac_mid=`expr 2 '*' $ac_mid + 1`
16892 fi
16893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16894 done
16895 else
16896 echo "$as_me: failed program was:" >&5
16897 sed 's/^/| /' conftest.$ac_ext >&5
16898
16899 cat >conftest.$ac_ext <<_ACEOF
16900 /* confdefs.h. */
16901 _ACEOF
16902 cat confdefs.h >>conftest.$ac_ext
16903 cat >>conftest.$ac_ext <<_ACEOF
16904 /* end confdefs.h. */
16905 $ac_includes_default
16906 int
16907 main ()
16908 {
16909 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16910 test_array [0] = 0
16911
16912 ;
16913 return 0;
16914 }
16915 _ACEOF
16916 rm -f conftest.$ac_objext
16917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16918 (eval $ac_compile) 2>conftest.er1
16919 ac_status=$?
16920 grep -v '^ *+' conftest.er1 >conftest.err
16921 rm -f conftest.er1
16922 cat conftest.err >&5
16923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16924 (exit $ac_status); } &&
16925 { ac_try='test -z "$ac_c_werror_flag"
16926 || test ! -s conftest.err'
16927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16928 (eval $ac_try) 2>&5
16929 ac_status=$?
16930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16931 (exit $ac_status); }; } &&
16932 { ac_try='test -s conftest.$ac_objext'
16933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16934 (eval $ac_try) 2>&5
16935 ac_status=$?
16936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16937 (exit $ac_status); }; }; then
16938 ac_hi=-1 ac_mid=-1
16939 while :; do
16940 cat >conftest.$ac_ext <<_ACEOF
16941 /* confdefs.h. */
16942 _ACEOF
16943 cat confdefs.h >>conftest.$ac_ext
16944 cat >>conftest.$ac_ext <<_ACEOF
16945 /* end confdefs.h. */
16946 $ac_includes_default
16947 int
16948 main ()
16949 {
16950 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16951 test_array [0] = 0
16952
16953 ;
16954 return 0;
16955 }
16956 _ACEOF
16957 rm -f conftest.$ac_objext
16958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16959 (eval $ac_compile) 2>conftest.er1
16960 ac_status=$?
16961 grep -v '^ *+' conftest.er1 >conftest.err
16962 rm -f conftest.er1
16963 cat conftest.err >&5
16964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16965 (exit $ac_status); } &&
16966 { ac_try='test -z "$ac_c_werror_flag"
16967 || test ! -s conftest.err'
16968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16969 (eval $ac_try) 2>&5
16970 ac_status=$?
16971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16972 (exit $ac_status); }; } &&
16973 { ac_try='test -s conftest.$ac_objext'
16974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16975 (eval $ac_try) 2>&5
16976 ac_status=$?
16977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16978 (exit $ac_status); }; }; then
16979 ac_lo=$ac_mid; break
16980 else
16981 echo "$as_me: failed program was:" >&5
16982 sed 's/^/| /' conftest.$ac_ext >&5
16983
16984 ac_hi=`expr '(' $ac_mid ')' - 1`
16985 if test $ac_mid -le $ac_hi; then
16986 ac_lo= ac_hi=
16987 break
16988 fi
16989 ac_mid=`expr 2 '*' $ac_mid`
16990 fi
16991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16992 done
16993 else
16994 echo "$as_me: failed program was:" >&5
16995 sed 's/^/| /' conftest.$ac_ext >&5
16996
16997 ac_lo= ac_hi=
16998 fi
16999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17000 fi
17001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17002 # Binary search between lo and hi bounds.
17003 while test "x$ac_lo" != "x$ac_hi"; do
17004 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17005 cat >conftest.$ac_ext <<_ACEOF
17006 /* confdefs.h. */
17007 _ACEOF
17008 cat confdefs.h >>conftest.$ac_ext
17009 cat >>conftest.$ac_ext <<_ACEOF
17010 /* end confdefs.h. */
17011 $ac_includes_default
17012 int
17013 main ()
17014 {
17015 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17016 test_array [0] = 0
17017
17018 ;
17019 return 0;
17020 }
17021 _ACEOF
17022 rm -f conftest.$ac_objext
17023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17024 (eval $ac_compile) 2>conftest.er1
17025 ac_status=$?
17026 grep -v '^ *+' conftest.er1 >conftest.err
17027 rm -f conftest.er1
17028 cat conftest.err >&5
17029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17030 (exit $ac_status); } &&
17031 { ac_try='test -z "$ac_c_werror_flag"
17032 || test ! -s conftest.err'
17033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17034 (eval $ac_try) 2>&5
17035 ac_status=$?
17036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17037 (exit $ac_status); }; } &&
17038 { ac_try='test -s conftest.$ac_objext'
17039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17040 (eval $ac_try) 2>&5
17041 ac_status=$?
17042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17043 (exit $ac_status); }; }; then
17044 ac_hi=$ac_mid
17045 else
17046 echo "$as_me: failed program was:" >&5
17047 sed 's/^/| /' conftest.$ac_ext >&5
17048
17049 ac_lo=`expr '(' $ac_mid ')' + 1`
17050 fi
17051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17052 done
17053 case $ac_lo in
17054 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17055 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17056 See \`config.log' for more details." >&5
17057 echo "$as_me: error: cannot compute sizeof (long long), 77
17058 See \`config.log' for more details." >&2;}
17059 { (exit 1); exit 1; }; } ;;
17060 esac
17061 else
17062 if test "$cross_compiling" = yes; then
17063 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17064 See \`config.log' for more details." >&5
17065 echo "$as_me: error: cannot run test program while cross compiling
17066 See \`config.log' for more details." >&2;}
17067 { (exit 1); exit 1; }; }
17068 else
17069 cat >conftest.$ac_ext <<_ACEOF
17070 /* confdefs.h. */
17071 _ACEOF
17072 cat confdefs.h >>conftest.$ac_ext
17073 cat >>conftest.$ac_ext <<_ACEOF
17074 /* end confdefs.h. */
17075 $ac_includes_default
17076 long longval () { return (long) (sizeof (long long)); }
17077 unsigned long ulongval () { return (long) (sizeof (long long)); }
17078 #include <stdio.h>
17079 #include <stdlib.h>
17080 int
17081 main ()
17082 {
17083
17084 FILE *f = fopen ("conftest.val", "w");
17085 if (! f)
17086 exit (1);
17087 if (((long) (sizeof (long long))) < 0)
17088 {
17089 long i = longval ();
17090 if (i != ((long) (sizeof (long long))))
17091 exit (1);
17092 fprintf (f, "%ld\n", i);
17093 }
17094 else
17095 {
17096 unsigned long i = ulongval ();
17097 if (i != ((long) (sizeof (long long))))
17098 exit (1);
17099 fprintf (f, "%lu\n", i);
17100 }
17101 exit (ferror (f) || fclose (f) != 0);
17102
17103 ;
17104 return 0;
17105 }
17106 _ACEOF
17107 rm -f conftest$ac_exeext
17108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17109 (eval $ac_link) 2>&5
17110 ac_status=$?
17111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17112 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17114 (eval $ac_try) 2>&5
17115 ac_status=$?
17116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17117 (exit $ac_status); }; }; then
17118 ac_cv_sizeof_long_long=`cat conftest.val`
17119 else
17120 echo "$as_me: program exited with status $ac_status" >&5
17121 echo "$as_me: failed program was:" >&5
17122 sed 's/^/| /' conftest.$ac_ext >&5
17123
17124 ( exit $ac_status )
17125 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17126 See \`config.log' for more details." >&5
17127 echo "$as_me: error: cannot compute sizeof (long long), 77
17128 See \`config.log' for more details." >&2;}
17129 { (exit 1); exit 1; }; }
17130 fi
17131 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17132 fi
17133 fi
17134 rm -f conftest.val
17135 else
17136 ac_cv_sizeof_long_long=0
17137 fi
17138 fi
17139 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17140 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17141 cat >>confdefs.h <<_ACEOF
17142 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17143 _ACEOF
17144
17145
17146 ;;
17147 *-hp-hpux* )
17148 echo "$as_me:$LINENO: checking for long long" >&5
17149 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17150 if test "${ac_cv_type_long_long+set}" = set; then
17151 echo $ECHO_N "(cached) $ECHO_C" >&6
17152 else
17153 cat >conftest.$ac_ext <<_ACEOF
17154 /* confdefs.h. */
17155 _ACEOF
17156 cat confdefs.h >>conftest.$ac_ext
17157 cat >>conftest.$ac_ext <<_ACEOF
17158 /* end confdefs.h. */
17159 $ac_includes_default
17160 int
17161 main ()
17162 {
17163 if ((long long *) 0)
17164 return 0;
17165 if (sizeof (long long))
17166 return 0;
17167 ;
17168 return 0;
17169 }
17170 _ACEOF
17171 rm -f conftest.$ac_objext
17172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17173 (eval $ac_compile) 2>conftest.er1
17174 ac_status=$?
17175 grep -v '^ *+' conftest.er1 >conftest.err
17176 rm -f conftest.er1
17177 cat conftest.err >&5
17178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17179 (exit $ac_status); } &&
17180 { ac_try='test -z "$ac_c_werror_flag"
17181 || test ! -s conftest.err'
17182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17183 (eval $ac_try) 2>&5
17184 ac_status=$?
17185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17186 (exit $ac_status); }; } &&
17187 { ac_try='test -s conftest.$ac_objext'
17188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17189 (eval $ac_try) 2>&5
17190 ac_status=$?
17191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17192 (exit $ac_status); }; }; then
17193 ac_cv_type_long_long=yes
17194 else
17195 echo "$as_me: failed program was:" >&5
17196 sed 's/^/| /' conftest.$ac_ext >&5
17197
17198 ac_cv_type_long_long=no
17199 fi
17200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17201 fi
17202 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17203 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17204
17205 echo "$as_me:$LINENO: checking size of long long" >&5
17206 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17207 if test "${ac_cv_sizeof_long_long+set}" = set; then
17208 echo $ECHO_N "(cached) $ECHO_C" >&6
17209 else
17210 if test "$ac_cv_type_long_long" = yes; then
17211 # The cast to unsigned long works around a bug in the HP C Compiler
17212 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17213 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17214 # This bug is HP SR number 8606223364.
17215 if test "$cross_compiling" = yes; then
17216 # Depending upon the size, compute the lo and hi bounds.
17217 cat >conftest.$ac_ext <<_ACEOF
17218 /* confdefs.h. */
17219 _ACEOF
17220 cat confdefs.h >>conftest.$ac_ext
17221 cat >>conftest.$ac_ext <<_ACEOF
17222 /* end confdefs.h. */
17223 $ac_includes_default
17224 int
17225 main ()
17226 {
17227 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17228 test_array [0] = 0
17229
17230 ;
17231 return 0;
17232 }
17233 _ACEOF
17234 rm -f conftest.$ac_objext
17235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17236 (eval $ac_compile) 2>conftest.er1
17237 ac_status=$?
17238 grep -v '^ *+' conftest.er1 >conftest.err
17239 rm -f conftest.er1
17240 cat conftest.err >&5
17241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17242 (exit $ac_status); } &&
17243 { ac_try='test -z "$ac_c_werror_flag"
17244 || test ! -s conftest.err'
17245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17246 (eval $ac_try) 2>&5
17247 ac_status=$?
17248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17249 (exit $ac_status); }; } &&
17250 { ac_try='test -s conftest.$ac_objext'
17251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17252 (eval $ac_try) 2>&5
17253 ac_status=$?
17254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17255 (exit $ac_status); }; }; then
17256 ac_lo=0 ac_mid=0
17257 while :; do
17258 cat >conftest.$ac_ext <<_ACEOF
17259 /* confdefs.h. */
17260 _ACEOF
17261 cat confdefs.h >>conftest.$ac_ext
17262 cat >>conftest.$ac_ext <<_ACEOF
17263 /* end confdefs.h. */
17264 $ac_includes_default
17265 int
17266 main ()
17267 {
17268 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17269 test_array [0] = 0
17270
17271 ;
17272 return 0;
17273 }
17274 _ACEOF
17275 rm -f conftest.$ac_objext
17276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17277 (eval $ac_compile) 2>conftest.er1
17278 ac_status=$?
17279 grep -v '^ *+' conftest.er1 >conftest.err
17280 rm -f conftest.er1
17281 cat conftest.err >&5
17282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17283 (exit $ac_status); } &&
17284 { ac_try='test -z "$ac_c_werror_flag"
17285 || test ! -s conftest.err'
17286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17287 (eval $ac_try) 2>&5
17288 ac_status=$?
17289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17290 (exit $ac_status); }; } &&
17291 { ac_try='test -s conftest.$ac_objext'
17292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17293 (eval $ac_try) 2>&5
17294 ac_status=$?
17295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17296 (exit $ac_status); }; }; then
17297 ac_hi=$ac_mid; break
17298 else
17299 echo "$as_me: failed program was:" >&5
17300 sed 's/^/| /' conftest.$ac_ext >&5
17301
17302 ac_lo=`expr $ac_mid + 1`
17303 if test $ac_lo -le $ac_mid; then
17304 ac_lo= ac_hi=
17305 break
17306 fi
17307 ac_mid=`expr 2 '*' $ac_mid + 1`
17308 fi
17309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17310 done
17311 else
17312 echo "$as_me: failed program was:" >&5
17313 sed 's/^/| /' conftest.$ac_ext >&5
17314
17315 cat >conftest.$ac_ext <<_ACEOF
17316 /* confdefs.h. */
17317 _ACEOF
17318 cat confdefs.h >>conftest.$ac_ext
17319 cat >>conftest.$ac_ext <<_ACEOF
17320 /* end confdefs.h. */
17321 $ac_includes_default
17322 int
17323 main ()
17324 {
17325 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17326 test_array [0] = 0
17327
17328 ;
17329 return 0;
17330 }
17331 _ACEOF
17332 rm -f conftest.$ac_objext
17333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17334 (eval $ac_compile) 2>conftest.er1
17335 ac_status=$?
17336 grep -v '^ *+' conftest.er1 >conftest.err
17337 rm -f conftest.er1
17338 cat conftest.err >&5
17339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17340 (exit $ac_status); } &&
17341 { ac_try='test -z "$ac_c_werror_flag"
17342 || test ! -s conftest.err'
17343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17344 (eval $ac_try) 2>&5
17345 ac_status=$?
17346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17347 (exit $ac_status); }; } &&
17348 { ac_try='test -s conftest.$ac_objext'
17349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17350 (eval $ac_try) 2>&5
17351 ac_status=$?
17352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17353 (exit $ac_status); }; }; then
17354 ac_hi=-1 ac_mid=-1
17355 while :; do
17356 cat >conftest.$ac_ext <<_ACEOF
17357 /* confdefs.h. */
17358 _ACEOF
17359 cat confdefs.h >>conftest.$ac_ext
17360 cat >>conftest.$ac_ext <<_ACEOF
17361 /* end confdefs.h. */
17362 $ac_includes_default
17363 int
17364 main ()
17365 {
17366 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17367 test_array [0] = 0
17368
17369 ;
17370 return 0;
17371 }
17372 _ACEOF
17373 rm -f conftest.$ac_objext
17374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17375 (eval $ac_compile) 2>conftest.er1
17376 ac_status=$?
17377 grep -v '^ *+' conftest.er1 >conftest.err
17378 rm -f conftest.er1
17379 cat conftest.err >&5
17380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17381 (exit $ac_status); } &&
17382 { ac_try='test -z "$ac_c_werror_flag"
17383 || test ! -s conftest.err'
17384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17385 (eval $ac_try) 2>&5
17386 ac_status=$?
17387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17388 (exit $ac_status); }; } &&
17389 { ac_try='test -s conftest.$ac_objext'
17390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17391 (eval $ac_try) 2>&5
17392 ac_status=$?
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); }; }; then
17395 ac_lo=$ac_mid; break
17396 else
17397 echo "$as_me: failed program was:" >&5
17398 sed 's/^/| /' conftest.$ac_ext >&5
17399
17400 ac_hi=`expr '(' $ac_mid ')' - 1`
17401 if test $ac_mid -le $ac_hi; then
17402 ac_lo= ac_hi=
17403 break
17404 fi
17405 ac_mid=`expr 2 '*' $ac_mid`
17406 fi
17407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17408 done
17409 else
17410 echo "$as_me: failed program was:" >&5
17411 sed 's/^/| /' conftest.$ac_ext >&5
17412
17413 ac_lo= ac_hi=
17414 fi
17415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17416 fi
17417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17418 # Binary search between lo and hi bounds.
17419 while test "x$ac_lo" != "x$ac_hi"; do
17420 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17421 cat >conftest.$ac_ext <<_ACEOF
17422 /* confdefs.h. */
17423 _ACEOF
17424 cat confdefs.h >>conftest.$ac_ext
17425 cat >>conftest.$ac_ext <<_ACEOF
17426 /* end confdefs.h. */
17427 $ac_includes_default
17428 int
17429 main ()
17430 {
17431 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17432 test_array [0] = 0
17433
17434 ;
17435 return 0;
17436 }
17437 _ACEOF
17438 rm -f conftest.$ac_objext
17439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17440 (eval $ac_compile) 2>conftest.er1
17441 ac_status=$?
17442 grep -v '^ *+' conftest.er1 >conftest.err
17443 rm -f conftest.er1
17444 cat conftest.err >&5
17445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17446 (exit $ac_status); } &&
17447 { ac_try='test -z "$ac_c_werror_flag"
17448 || test ! -s conftest.err'
17449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17450 (eval $ac_try) 2>&5
17451 ac_status=$?
17452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17453 (exit $ac_status); }; } &&
17454 { ac_try='test -s conftest.$ac_objext'
17455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17456 (eval $ac_try) 2>&5
17457 ac_status=$?
17458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17459 (exit $ac_status); }; }; then
17460 ac_hi=$ac_mid
17461 else
17462 echo "$as_me: failed program was:" >&5
17463 sed 's/^/| /' conftest.$ac_ext >&5
17464
17465 ac_lo=`expr '(' $ac_mid ')' + 1`
17466 fi
17467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17468 done
17469 case $ac_lo in
17470 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17471 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17472 See \`config.log' for more details." >&5
17473 echo "$as_me: error: cannot compute sizeof (long long), 77
17474 See \`config.log' for more details." >&2;}
17475 { (exit 1); exit 1; }; } ;;
17476 esac
17477 else
17478 if test "$cross_compiling" = yes; then
17479 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17480 See \`config.log' for more details." >&5
17481 echo "$as_me: error: cannot run test program while cross compiling
17482 See \`config.log' for more details." >&2;}
17483 { (exit 1); exit 1; }; }
17484 else
17485 cat >conftest.$ac_ext <<_ACEOF
17486 /* confdefs.h. */
17487 _ACEOF
17488 cat confdefs.h >>conftest.$ac_ext
17489 cat >>conftest.$ac_ext <<_ACEOF
17490 /* end confdefs.h. */
17491 $ac_includes_default
17492 long longval () { return (long) (sizeof (long long)); }
17493 unsigned long ulongval () { return (long) (sizeof (long long)); }
17494 #include <stdio.h>
17495 #include <stdlib.h>
17496 int
17497 main ()
17498 {
17499
17500 FILE *f = fopen ("conftest.val", "w");
17501 if (! f)
17502 exit (1);
17503 if (((long) (sizeof (long long))) < 0)
17504 {
17505 long i = longval ();
17506 if (i != ((long) (sizeof (long long))))
17507 exit (1);
17508 fprintf (f, "%ld\n", i);
17509 }
17510 else
17511 {
17512 unsigned long i = ulongval ();
17513 if (i != ((long) (sizeof (long long))))
17514 exit (1);
17515 fprintf (f, "%lu\n", i);
17516 }
17517 exit (ferror (f) || fclose (f) != 0);
17518
17519 ;
17520 return 0;
17521 }
17522 _ACEOF
17523 rm -f conftest$ac_exeext
17524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17525 (eval $ac_link) 2>&5
17526 ac_status=$?
17527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17528 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17530 (eval $ac_try) 2>&5
17531 ac_status=$?
17532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17533 (exit $ac_status); }; }; then
17534 ac_cv_sizeof_long_long=`cat conftest.val`
17535 else
17536 echo "$as_me: program exited with status $ac_status" >&5
17537 echo "$as_me: failed program was:" >&5
17538 sed 's/^/| /' conftest.$ac_ext >&5
17539
17540 ( exit $ac_status )
17541 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17542 See \`config.log' for more details." >&5
17543 echo "$as_me: error: cannot compute sizeof (long long), 77
17544 See \`config.log' for more details." >&2;}
17545 { (exit 1); exit 1; }; }
17546 fi
17547 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17548 fi
17549 fi
17550 rm -f conftest.val
17551 else
17552 ac_cv_sizeof_long_long=0
17553 fi
17554 fi
17555 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17556 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17557 cat >>confdefs.h <<_ACEOF
17558 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17559 _ACEOF
17560
17561
17562 if test "$ac_cv_sizeof_long_long" != "0"; then
17563 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
17564 fi
17565 ;;
17566 * )
17567 echo "$as_me:$LINENO: checking for long long" >&5
17568 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17569 if test "${ac_cv_type_long_long+set}" = set; then
17570 echo $ECHO_N "(cached) $ECHO_C" >&6
17571 else
17572 cat >conftest.$ac_ext <<_ACEOF
17573 /* confdefs.h. */
17574 _ACEOF
17575 cat confdefs.h >>conftest.$ac_ext
17576 cat >>conftest.$ac_ext <<_ACEOF
17577 /* end confdefs.h. */
17578 $ac_includes_default
17579 int
17580 main ()
17581 {
17582 if ((long long *) 0)
17583 return 0;
17584 if (sizeof (long long))
17585 return 0;
17586 ;
17587 return 0;
17588 }
17589 _ACEOF
17590 rm -f conftest.$ac_objext
17591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17592 (eval $ac_compile) 2>conftest.er1
17593 ac_status=$?
17594 grep -v '^ *+' conftest.er1 >conftest.err
17595 rm -f conftest.er1
17596 cat conftest.err >&5
17597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17598 (exit $ac_status); } &&
17599 { ac_try='test -z "$ac_c_werror_flag"
17600 || test ! -s conftest.err'
17601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17602 (eval $ac_try) 2>&5
17603 ac_status=$?
17604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17605 (exit $ac_status); }; } &&
17606 { ac_try='test -s conftest.$ac_objext'
17607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17608 (eval $ac_try) 2>&5
17609 ac_status=$?
17610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17611 (exit $ac_status); }; }; then
17612 ac_cv_type_long_long=yes
17613 else
17614 echo "$as_me: failed program was:" >&5
17615 sed 's/^/| /' conftest.$ac_ext >&5
17616
17617 ac_cv_type_long_long=no
17618 fi
17619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17620 fi
17621 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17622 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17623
17624 echo "$as_me:$LINENO: checking size of long long" >&5
17625 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17626 if test "${ac_cv_sizeof_long_long+set}" = set; then
17627 echo $ECHO_N "(cached) $ECHO_C" >&6
17628 else
17629 if test "$ac_cv_type_long_long" = yes; then
17630 # The cast to unsigned long works around a bug in the HP C Compiler
17631 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17632 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17633 # This bug is HP SR number 8606223364.
17634 if test "$cross_compiling" = yes; then
17635 # Depending upon the size, compute the lo and hi bounds.
17636 cat >conftest.$ac_ext <<_ACEOF
17637 /* confdefs.h. */
17638 _ACEOF
17639 cat confdefs.h >>conftest.$ac_ext
17640 cat >>conftest.$ac_ext <<_ACEOF
17641 /* end confdefs.h. */
17642 $ac_includes_default
17643 int
17644 main ()
17645 {
17646 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17647 test_array [0] = 0
17648
17649 ;
17650 return 0;
17651 }
17652 _ACEOF
17653 rm -f conftest.$ac_objext
17654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17655 (eval $ac_compile) 2>conftest.er1
17656 ac_status=$?
17657 grep -v '^ *+' conftest.er1 >conftest.err
17658 rm -f conftest.er1
17659 cat conftest.err >&5
17660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17661 (exit $ac_status); } &&
17662 { ac_try='test -z "$ac_c_werror_flag"
17663 || test ! -s conftest.err'
17664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17665 (eval $ac_try) 2>&5
17666 ac_status=$?
17667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17668 (exit $ac_status); }; } &&
17669 { ac_try='test -s conftest.$ac_objext'
17670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17671 (eval $ac_try) 2>&5
17672 ac_status=$?
17673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17674 (exit $ac_status); }; }; then
17675 ac_lo=0 ac_mid=0
17676 while :; do
17677 cat >conftest.$ac_ext <<_ACEOF
17678 /* confdefs.h. */
17679 _ACEOF
17680 cat confdefs.h >>conftest.$ac_ext
17681 cat >>conftest.$ac_ext <<_ACEOF
17682 /* end confdefs.h. */
17683 $ac_includes_default
17684 int
17685 main ()
17686 {
17687 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17688 test_array [0] = 0
17689
17690 ;
17691 return 0;
17692 }
17693 _ACEOF
17694 rm -f conftest.$ac_objext
17695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17696 (eval $ac_compile) 2>conftest.er1
17697 ac_status=$?
17698 grep -v '^ *+' conftest.er1 >conftest.err
17699 rm -f conftest.er1
17700 cat conftest.err >&5
17701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17702 (exit $ac_status); } &&
17703 { ac_try='test -z "$ac_c_werror_flag"
17704 || test ! -s conftest.err'
17705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17706 (eval $ac_try) 2>&5
17707 ac_status=$?
17708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17709 (exit $ac_status); }; } &&
17710 { ac_try='test -s conftest.$ac_objext'
17711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17712 (eval $ac_try) 2>&5
17713 ac_status=$?
17714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715 (exit $ac_status); }; }; then
17716 ac_hi=$ac_mid; break
17717 else
17718 echo "$as_me: failed program was:" >&5
17719 sed 's/^/| /' conftest.$ac_ext >&5
17720
17721 ac_lo=`expr $ac_mid + 1`
17722 if test $ac_lo -le $ac_mid; then
17723 ac_lo= ac_hi=
17724 break
17725 fi
17726 ac_mid=`expr 2 '*' $ac_mid + 1`
17727 fi
17728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17729 done
17730 else
17731 echo "$as_me: failed program was:" >&5
17732 sed 's/^/| /' conftest.$ac_ext >&5
17733
17734 cat >conftest.$ac_ext <<_ACEOF
17735 /* confdefs.h. */
17736 _ACEOF
17737 cat confdefs.h >>conftest.$ac_ext
17738 cat >>conftest.$ac_ext <<_ACEOF
17739 /* end confdefs.h. */
17740 $ac_includes_default
17741 int
17742 main ()
17743 {
17744 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17745 test_array [0] = 0
17746
17747 ;
17748 return 0;
17749 }
17750 _ACEOF
17751 rm -f conftest.$ac_objext
17752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17753 (eval $ac_compile) 2>conftest.er1
17754 ac_status=$?
17755 grep -v '^ *+' conftest.er1 >conftest.err
17756 rm -f conftest.er1
17757 cat conftest.err >&5
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); } &&
17760 { ac_try='test -z "$ac_c_werror_flag"
17761 || test ! -s conftest.err'
17762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17763 (eval $ac_try) 2>&5
17764 ac_status=$?
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); }; } &&
17767 { ac_try='test -s conftest.$ac_objext'
17768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17769 (eval $ac_try) 2>&5
17770 ac_status=$?
17771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17772 (exit $ac_status); }; }; then
17773 ac_hi=-1 ac_mid=-1
17774 while :; do
17775 cat >conftest.$ac_ext <<_ACEOF
17776 /* confdefs.h. */
17777 _ACEOF
17778 cat confdefs.h >>conftest.$ac_ext
17779 cat >>conftest.$ac_ext <<_ACEOF
17780 /* end confdefs.h. */
17781 $ac_includes_default
17782 int
17783 main ()
17784 {
17785 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17786 test_array [0] = 0
17787
17788 ;
17789 return 0;
17790 }
17791 _ACEOF
17792 rm -f conftest.$ac_objext
17793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17794 (eval $ac_compile) 2>conftest.er1
17795 ac_status=$?
17796 grep -v '^ *+' conftest.er1 >conftest.err
17797 rm -f conftest.er1
17798 cat conftest.err >&5
17799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17800 (exit $ac_status); } &&
17801 { ac_try='test -z "$ac_c_werror_flag"
17802 || test ! -s conftest.err'
17803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17804 (eval $ac_try) 2>&5
17805 ac_status=$?
17806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17807 (exit $ac_status); }; } &&
17808 { ac_try='test -s conftest.$ac_objext'
17809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17810 (eval $ac_try) 2>&5
17811 ac_status=$?
17812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17813 (exit $ac_status); }; }; then
17814 ac_lo=$ac_mid; break
17815 else
17816 echo "$as_me: failed program was:" >&5
17817 sed 's/^/| /' conftest.$ac_ext >&5
17818
17819 ac_hi=`expr '(' $ac_mid ')' - 1`
17820 if test $ac_mid -le $ac_hi; then
17821 ac_lo= ac_hi=
17822 break
17823 fi
17824 ac_mid=`expr 2 '*' $ac_mid`
17825 fi
17826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17827 done
17828 else
17829 echo "$as_me: failed program was:" >&5
17830 sed 's/^/| /' conftest.$ac_ext >&5
17831
17832 ac_lo= ac_hi=
17833 fi
17834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17835 fi
17836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17837 # Binary search between lo and hi bounds.
17838 while test "x$ac_lo" != "x$ac_hi"; do
17839 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17840 cat >conftest.$ac_ext <<_ACEOF
17841 /* confdefs.h. */
17842 _ACEOF
17843 cat confdefs.h >>conftest.$ac_ext
17844 cat >>conftest.$ac_ext <<_ACEOF
17845 /* end confdefs.h. */
17846 $ac_includes_default
17847 int
17848 main ()
17849 {
17850 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17851 test_array [0] = 0
17852
17853 ;
17854 return 0;
17855 }
17856 _ACEOF
17857 rm -f conftest.$ac_objext
17858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17859 (eval $ac_compile) 2>conftest.er1
17860 ac_status=$?
17861 grep -v '^ *+' conftest.er1 >conftest.err
17862 rm -f conftest.er1
17863 cat conftest.err >&5
17864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17865 (exit $ac_status); } &&
17866 { ac_try='test -z "$ac_c_werror_flag"
17867 || test ! -s conftest.err'
17868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17869 (eval $ac_try) 2>&5
17870 ac_status=$?
17871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17872 (exit $ac_status); }; } &&
17873 { ac_try='test -s conftest.$ac_objext'
17874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17875 (eval $ac_try) 2>&5
17876 ac_status=$?
17877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17878 (exit $ac_status); }; }; then
17879 ac_hi=$ac_mid
17880 else
17881 echo "$as_me: failed program was:" >&5
17882 sed 's/^/| /' conftest.$ac_ext >&5
17883
17884 ac_lo=`expr '(' $ac_mid ')' + 1`
17885 fi
17886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17887 done
17888 case $ac_lo in
17889 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17890 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17891 See \`config.log' for more details." >&5
17892 echo "$as_me: error: cannot compute sizeof (long long), 77
17893 See \`config.log' for more details." >&2;}
17894 { (exit 1); exit 1; }; } ;;
17895 esac
17896 else
17897 if test "$cross_compiling" = yes; then
17898 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17899 See \`config.log' for more details." >&5
17900 echo "$as_me: error: cannot run test program while cross compiling
17901 See \`config.log' for more details." >&2;}
17902 { (exit 1); exit 1; }; }
17903 else
17904 cat >conftest.$ac_ext <<_ACEOF
17905 /* confdefs.h. */
17906 _ACEOF
17907 cat confdefs.h >>conftest.$ac_ext
17908 cat >>conftest.$ac_ext <<_ACEOF
17909 /* end confdefs.h. */
17910 $ac_includes_default
17911 long longval () { return (long) (sizeof (long long)); }
17912 unsigned long ulongval () { return (long) (sizeof (long long)); }
17913 #include <stdio.h>
17914 #include <stdlib.h>
17915 int
17916 main ()
17917 {
17918
17919 FILE *f = fopen ("conftest.val", "w");
17920 if (! f)
17921 exit (1);
17922 if (((long) (sizeof (long long))) < 0)
17923 {
17924 long i = longval ();
17925 if (i != ((long) (sizeof (long long))))
17926 exit (1);
17927 fprintf (f, "%ld\n", i);
17928 }
17929 else
17930 {
17931 unsigned long i = ulongval ();
17932 if (i != ((long) (sizeof (long long))))
17933 exit (1);
17934 fprintf (f, "%lu\n", i);
17935 }
17936 exit (ferror (f) || fclose (f) != 0);
17937
17938 ;
17939 return 0;
17940 }
17941 _ACEOF
17942 rm -f conftest$ac_exeext
17943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17944 (eval $ac_link) 2>&5
17945 ac_status=$?
17946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17949 (eval $ac_try) 2>&5
17950 ac_status=$?
17951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17952 (exit $ac_status); }; }; then
17953 ac_cv_sizeof_long_long=`cat conftest.val`
17954 else
17955 echo "$as_me: program exited with status $ac_status" >&5
17956 echo "$as_me: failed program was:" >&5
17957 sed 's/^/| /' conftest.$ac_ext >&5
17958
17959 ( exit $ac_status )
17960 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17961 See \`config.log' for more details." >&5
17962 echo "$as_me: error: cannot compute sizeof (long long), 77
17963 See \`config.log' for more details." >&2;}
17964 { (exit 1); exit 1; }; }
17965 fi
17966 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17967 fi
17968 fi
17969 rm -f conftest.val
17970 else
17971 ac_cv_sizeof_long_long=0
17972 fi
17973 fi
17974 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17975 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17976 cat >>confdefs.h <<_ACEOF
17977 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17978 _ACEOF
17979
17980
17981 esac
17982
17983 echo "$as_me:$LINENO: checking size of wchar_t" >&5
17984 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
17985 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
17986 echo $ECHO_N "(cached) $ECHO_C" >&6
17987 else
17988
17989 if test "$cross_compiling" = yes; then
17990
17991 case "${host}" in
17992 *-pc-msdosdjgpp )
17993 wx_cv_sizeof_wchar_t=0
17994 ;;
17995 * )
17996 wx_cv_sizeof_wchar_t=4
17997 ;;
17998 esac
17999
18000
18001 else
18002 cat >conftest.$ac_ext <<_ACEOF
18003 /* confdefs.h. */
18004 _ACEOF
18005 cat confdefs.h >>conftest.$ac_ext
18006 cat >>conftest.$ac_ext <<_ACEOF
18007 /* end confdefs.h. */
18008
18009 /* DJGPP only has fake wchar_t: */
18010 #ifdef __DJGPP__
18011 # error "fake wchar_t"
18012 #endif
18013 #ifdef HAVE_WCHAR_H
18014 # ifdef __CYGWIN__
18015 # include <stddef.h>
18016 # endif
18017 # include <wchar.h>
18018 #endif
18019 #ifdef HAVE_STDLIB_H
18020 # include <stdlib.h>
18021 #endif
18022 #include <stdio.h>
18023 int main()
18024 {
18025 FILE *f=fopen("conftestval", "w");
18026 if (!f) exit(1);
18027 fprintf(f, "%i", sizeof(wchar_t));
18028 exit(0);
18029 }
18030
18031 _ACEOF
18032 rm -f conftest$ac_exeext
18033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18034 (eval $ac_link) 2>&5
18035 ac_status=$?
18036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18037 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18039 (eval $ac_try) 2>&5
18040 ac_status=$?
18041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18042 (exit $ac_status); }; }; then
18043 wx_cv_sizeof_wchar_t=`cat conftestval`
18044 else
18045 echo "$as_me: program exited with status $ac_status" >&5
18046 echo "$as_me: failed program was:" >&5
18047 sed 's/^/| /' conftest.$ac_ext >&5
18048
18049 ( exit $ac_status )
18050 wx_cv_sizeof_wchar_t=0
18051 fi
18052 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18053 fi
18054
18055 fi
18056 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18057 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18058
18059 cat >>confdefs.h <<_ACEOF
18060 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18061 _ACEOF
18062
18063
18064 # Check whether --enable-largefile or --disable-largefile was given.
18065 if test "${enable_largefile+set}" = set; then
18066 enableval="$enable_largefile"
18067
18068 fi;
18069 if test "$enable_largefile" != no; then
18070 wx_largefile=no
18071
18072 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18073 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18074 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18075 echo $ECHO_N "(cached) $ECHO_C" >&6
18076 else
18077
18078 cat >conftest.$ac_ext <<_ACEOF
18079 /* confdefs.h. */
18080 _ACEOF
18081 cat confdefs.h >>conftest.$ac_ext
18082 cat >>conftest.$ac_ext <<_ACEOF
18083 /* end confdefs.h. */
18084 #define _FILE_OFFSET_BITS 64
18085 #include <sys/types.h>
18086 int
18087 main ()
18088 {
18089 typedef struct {
18090 unsigned int field: sizeof(off_t) == 8;
18091 } wxlf;
18092
18093 ;
18094 return 0;
18095 }
18096 _ACEOF
18097 rm -f conftest.$ac_objext
18098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18099 (eval $ac_compile) 2>conftest.er1
18100 ac_status=$?
18101 grep -v '^ *+' conftest.er1 >conftest.err
18102 rm -f conftest.er1
18103 cat conftest.err >&5
18104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18105 (exit $ac_status); } &&
18106 { ac_try='test -z "$ac_c_werror_flag"
18107 || test ! -s conftest.err'
18108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18109 (eval $ac_try) 2>&5
18110 ac_status=$?
18111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18112 (exit $ac_status); }; } &&
18113 { ac_try='test -s conftest.$ac_objext'
18114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18115 (eval $ac_try) 2>&5
18116 ac_status=$?
18117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18118 (exit $ac_status); }; }; then
18119 ac_cv_sys_file_offset_bits=64
18120 else
18121 echo "$as_me: failed program was:" >&5
18122 sed 's/^/| /' conftest.$ac_ext >&5
18123
18124 ac_cv_sys_file_offset_bits=no
18125 fi
18126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18127
18128
18129 fi
18130 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18131 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18132
18133 if test "$ac_cv_sys_file_offset_bits" != no; then
18134 wx_largefile=yes
18135 cat >>confdefs.h <<_ACEOF
18136 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18137 _ACEOF
18138
18139 fi
18140
18141 if test "x$wx_largefile" != "xyes"; then
18142
18143 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18144 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18145 if test "${ac_cv_sys_large_files+set}" = set; then
18146 echo $ECHO_N "(cached) $ECHO_C" >&6
18147 else
18148
18149 cat >conftest.$ac_ext <<_ACEOF
18150 /* confdefs.h. */
18151 _ACEOF
18152 cat confdefs.h >>conftest.$ac_ext
18153 cat >>conftest.$ac_ext <<_ACEOF
18154 /* end confdefs.h. */
18155 #define _LARGE_FILES 1
18156 #include <sys/types.h>
18157 int
18158 main ()
18159 {
18160 typedef struct {
18161 unsigned int field: sizeof(off_t) == 8;
18162 } wxlf;
18163
18164 ;
18165 return 0;
18166 }
18167 _ACEOF
18168 rm -f conftest.$ac_objext
18169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18170 (eval $ac_compile) 2>conftest.er1
18171 ac_status=$?
18172 grep -v '^ *+' conftest.er1 >conftest.err
18173 rm -f conftest.er1
18174 cat conftest.err >&5
18175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18176 (exit $ac_status); } &&
18177 { ac_try='test -z "$ac_c_werror_flag"
18178 || test ! -s conftest.err'
18179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18180 (eval $ac_try) 2>&5
18181 ac_status=$?
18182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18183 (exit $ac_status); }; } &&
18184 { ac_try='test -s conftest.$ac_objext'
18185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18186 (eval $ac_try) 2>&5
18187 ac_status=$?
18188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18189 (exit $ac_status); }; }; then
18190 ac_cv_sys_large_files=1
18191 else
18192 echo "$as_me: failed program was:" >&5
18193 sed 's/^/| /' conftest.$ac_ext >&5
18194
18195 ac_cv_sys_large_files=no
18196 fi
18197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18198
18199
18200 fi
18201 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18202 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18203
18204 if test "$ac_cv_sys_large_files" != no; then
18205 wx_largefile=yes
18206 cat >>confdefs.h <<_ACEOF
18207 #define _LARGE_FILES $ac_cv_sys_large_files
18208 _ACEOF
18209
18210 fi
18211
18212 fi
18213
18214 echo "$as_me:$LINENO: checking if large file support is available" >&5
18215 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18216 if test "x$wx_largefile" = "xyes"; then
18217 cat >>confdefs.h <<\_ACEOF
18218 #define HAVE_LARGEFILE_SUPPORT 1
18219 _ACEOF
18220
18221 fi
18222 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18223 echo "${ECHO_T}$wx_largefile" >&6
18224 fi
18225
18226
18227 if test "x$wx_largefile" = "xyes"; then
18228 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18229 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18230 else
18231 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
18232 fi
18233 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18234 fi
18235
18236 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18237 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18238 if test "${ac_cv_c_bigendian+set}" = set; then
18239 echo $ECHO_N "(cached) $ECHO_C" >&6
18240 else
18241 ac_cv_c_bigendian=unknown
18242 # See if sys/param.h defines the BYTE_ORDER macro.
18243 cat >conftest.$ac_ext <<_ACEOF
18244 /* confdefs.h. */
18245 _ACEOF
18246 cat confdefs.h >>conftest.$ac_ext
18247 cat >>conftest.$ac_ext <<_ACEOF
18248 /* end confdefs.h. */
18249 #include <sys/types.h>
18250 #include <sys/param.h>
18251 int
18252 main ()
18253 {
18254
18255 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18256 bogus endian macros
18257 #endif
18258 ;
18259 return 0;
18260 }
18261 _ACEOF
18262 rm -f conftest.$ac_objext
18263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18264 (eval $ac_compile) 2>conftest.er1
18265 ac_status=$?
18266 grep -v '^ *+' conftest.er1 >conftest.err
18267 rm -f conftest.er1
18268 cat conftest.err >&5
18269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18270 (exit $ac_status); } &&
18271 { ac_try='test -z "$ac_c_werror_flag"
18272 || test ! -s conftest.err'
18273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18274 (eval $ac_try) 2>&5
18275 ac_status=$?
18276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); }; } &&
18278 { ac_try='test -s conftest.$ac_objext'
18279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18280 (eval $ac_try) 2>&5
18281 ac_status=$?
18282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283 (exit $ac_status); }; }; then
18284 # It does; now see whether it defined to BIG_ENDIAN or not.
18285 cat >conftest.$ac_ext <<_ACEOF
18286 /* confdefs.h. */
18287 _ACEOF
18288 cat confdefs.h >>conftest.$ac_ext
18289 cat >>conftest.$ac_ext <<_ACEOF
18290 /* end confdefs.h. */
18291 #include <sys/types.h>
18292 #include <sys/param.h>
18293 int
18294 main ()
18295 {
18296
18297 #if BYTE_ORDER != BIG_ENDIAN
18298 not big endian
18299 #endif
18300 ;
18301 return 0;
18302 }
18303 _ACEOF
18304 rm -f conftest.$ac_objext
18305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18306 (eval $ac_compile) 2>conftest.er1
18307 ac_status=$?
18308 grep -v '^ *+' conftest.er1 >conftest.err
18309 rm -f conftest.er1
18310 cat conftest.err >&5
18311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18312 (exit $ac_status); } &&
18313 { ac_try='test -z "$ac_c_werror_flag"
18314 || test ! -s conftest.err'
18315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18316 (eval $ac_try) 2>&5
18317 ac_status=$?
18318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319 (exit $ac_status); }; } &&
18320 { ac_try='test -s conftest.$ac_objext'
18321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18322 (eval $ac_try) 2>&5
18323 ac_status=$?
18324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18325 (exit $ac_status); }; }; then
18326 ac_cv_c_bigendian=yes
18327 else
18328 echo "$as_me: failed program was:" >&5
18329 sed 's/^/| /' conftest.$ac_ext >&5
18330
18331 ac_cv_c_bigendian=no
18332 fi
18333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18334 else
18335 echo "$as_me: failed program was:" >&5
18336 sed 's/^/| /' conftest.$ac_ext >&5
18337
18338 fi
18339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18340 if test $ac_cv_c_bigendian = unknown; then
18341 if test "$cross_compiling" = yes; then
18342 ac_cv_c_bigendian=unknown
18343 else
18344 cat >conftest.$ac_ext <<_ACEOF
18345 /* confdefs.h. */
18346 _ACEOF
18347 cat confdefs.h >>conftest.$ac_ext
18348 cat >>conftest.$ac_ext <<_ACEOF
18349 /* end confdefs.h. */
18350 main () {
18351 /* Are we little or big endian? From Harbison&Steele. */
18352 union
18353 {
18354 long l;
18355 char c[sizeof (long)];
18356 } u;
18357 u.l = 1;
18358 exit (u.c[sizeof (long) - 1] == 1);
18359 }
18360 _ACEOF
18361 rm -f conftest$ac_exeext
18362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18363 (eval $ac_link) 2>&5
18364 ac_status=$?
18365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18366 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18368 (eval $ac_try) 2>&5
18369 ac_status=$?
18370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18371 (exit $ac_status); }; }; then
18372 ac_cv_c_bigendian=no
18373 else
18374 echo "$as_me: program exited with status $ac_status" >&5
18375 echo "$as_me: failed program was:" >&5
18376 sed 's/^/| /' conftest.$ac_ext >&5
18377
18378 ( exit $ac_status )
18379 ac_cv_c_bigendian=yes
18380 fi
18381 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18382 fi
18383 fi
18384 fi
18385 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18386 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18387 if test $ac_cv_c_bigendian = unknown; then
18388 { 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
18389 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;}
18390 fi
18391 if test $ac_cv_c_bigendian = yes; then
18392 cat >>confdefs.h <<\_ACEOF
18393 #define WORDS_BIGENDIAN 1
18394 _ACEOF
18395
18396 fi
18397
18398
18399 ac_ext=cc
18400 ac_cpp='$CXXCPP $CPPFLAGS'
18401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18404 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18405 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18406 if test -z "$CXXCPP"; then
18407 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18408 echo $ECHO_N "(cached) $ECHO_C" >&6
18409 else
18410 # Double quotes because CXXCPP needs to be expanded
18411 for CXXCPP in "$CXX -E" "/lib/cpp"
18412 do
18413 ac_preproc_ok=false
18414 for ac_cxx_preproc_warn_flag in '' yes
18415 do
18416 # Use a header file that comes with gcc, so configuring glibc
18417 # with a fresh cross-compiler works.
18418 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18419 # <limits.h> exists even on freestanding compilers.
18420 # On the NeXT, cc -E runs the code through the compiler's parser,
18421 # not just through cpp. "Syntax error" is here to catch this case.
18422 cat >conftest.$ac_ext <<_ACEOF
18423 /* confdefs.h. */
18424 _ACEOF
18425 cat confdefs.h >>conftest.$ac_ext
18426 cat >>conftest.$ac_ext <<_ACEOF
18427 /* end confdefs.h. */
18428 #ifdef __STDC__
18429 # include <limits.h>
18430 #else
18431 # include <assert.h>
18432 #endif
18433 Syntax error
18434 _ACEOF
18435 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18436 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18437 ac_status=$?
18438 grep -v '^ *+' conftest.er1 >conftest.err
18439 rm -f conftest.er1
18440 cat conftest.err >&5
18441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18442 (exit $ac_status); } >/dev/null; then
18443 if test -s conftest.err; then
18444 ac_cpp_err=$ac_cxx_preproc_warn_flag
18445 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18446 else
18447 ac_cpp_err=
18448 fi
18449 else
18450 ac_cpp_err=yes
18451 fi
18452 if test -z "$ac_cpp_err"; then
18453 :
18454 else
18455 echo "$as_me: failed program was:" >&5
18456 sed 's/^/| /' conftest.$ac_ext >&5
18457
18458 # Broken: fails on valid input.
18459 continue
18460 fi
18461 rm -f conftest.err conftest.$ac_ext
18462
18463 # OK, works on sane cases. Now check whether non-existent headers
18464 # can be detected and how.
18465 cat >conftest.$ac_ext <<_ACEOF
18466 /* confdefs.h. */
18467 _ACEOF
18468 cat confdefs.h >>conftest.$ac_ext
18469 cat >>conftest.$ac_ext <<_ACEOF
18470 /* end confdefs.h. */
18471 #include <ac_nonexistent.h>
18472 _ACEOF
18473 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18474 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18475 ac_status=$?
18476 grep -v '^ *+' conftest.er1 >conftest.err
18477 rm -f conftest.er1
18478 cat conftest.err >&5
18479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18480 (exit $ac_status); } >/dev/null; then
18481 if test -s conftest.err; then
18482 ac_cpp_err=$ac_cxx_preproc_warn_flag
18483 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18484 else
18485 ac_cpp_err=
18486 fi
18487 else
18488 ac_cpp_err=yes
18489 fi
18490 if test -z "$ac_cpp_err"; then
18491 # Broken: success on invalid input.
18492 continue
18493 else
18494 echo "$as_me: failed program was:" >&5
18495 sed 's/^/| /' conftest.$ac_ext >&5
18496
18497 # Passes both tests.
18498 ac_preproc_ok=:
18499 break
18500 fi
18501 rm -f conftest.err conftest.$ac_ext
18502
18503 done
18504 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18505 rm -f conftest.err conftest.$ac_ext
18506 if $ac_preproc_ok; then
18507 break
18508 fi
18509
18510 done
18511 ac_cv_prog_CXXCPP=$CXXCPP
18512
18513 fi
18514 CXXCPP=$ac_cv_prog_CXXCPP
18515 else
18516 ac_cv_prog_CXXCPP=$CXXCPP
18517 fi
18518 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18519 echo "${ECHO_T}$CXXCPP" >&6
18520 ac_preproc_ok=false
18521 for ac_cxx_preproc_warn_flag in '' yes
18522 do
18523 # Use a header file that comes with gcc, so configuring glibc
18524 # with a fresh cross-compiler works.
18525 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18526 # <limits.h> exists even on freestanding compilers.
18527 # On the NeXT, cc -E runs the code through the compiler's parser,
18528 # not just through cpp. "Syntax error" is here to catch this case.
18529 cat >conftest.$ac_ext <<_ACEOF
18530 /* confdefs.h. */
18531 _ACEOF
18532 cat confdefs.h >>conftest.$ac_ext
18533 cat >>conftest.$ac_ext <<_ACEOF
18534 /* end confdefs.h. */
18535 #ifdef __STDC__
18536 # include <limits.h>
18537 #else
18538 # include <assert.h>
18539 #endif
18540 Syntax error
18541 _ACEOF
18542 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18543 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18544 ac_status=$?
18545 grep -v '^ *+' conftest.er1 >conftest.err
18546 rm -f conftest.er1
18547 cat conftest.err >&5
18548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18549 (exit $ac_status); } >/dev/null; then
18550 if test -s conftest.err; then
18551 ac_cpp_err=$ac_cxx_preproc_warn_flag
18552 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18553 else
18554 ac_cpp_err=
18555 fi
18556 else
18557 ac_cpp_err=yes
18558 fi
18559 if test -z "$ac_cpp_err"; then
18560 :
18561 else
18562 echo "$as_me: failed program was:" >&5
18563 sed 's/^/| /' conftest.$ac_ext >&5
18564
18565 # Broken: fails on valid input.
18566 continue
18567 fi
18568 rm -f conftest.err conftest.$ac_ext
18569
18570 # OK, works on sane cases. Now check whether non-existent headers
18571 # can be detected and how.
18572 cat >conftest.$ac_ext <<_ACEOF
18573 /* confdefs.h. */
18574 _ACEOF
18575 cat confdefs.h >>conftest.$ac_ext
18576 cat >>conftest.$ac_ext <<_ACEOF
18577 /* end confdefs.h. */
18578 #include <ac_nonexistent.h>
18579 _ACEOF
18580 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18581 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18582 ac_status=$?
18583 grep -v '^ *+' conftest.er1 >conftest.err
18584 rm -f conftest.er1
18585 cat conftest.err >&5
18586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18587 (exit $ac_status); } >/dev/null; then
18588 if test -s conftest.err; then
18589 ac_cpp_err=$ac_cxx_preproc_warn_flag
18590 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18591 else
18592 ac_cpp_err=
18593 fi
18594 else
18595 ac_cpp_err=yes
18596 fi
18597 if test -z "$ac_cpp_err"; then
18598 # Broken: success on invalid input.
18599 continue
18600 else
18601 echo "$as_me: failed program was:" >&5
18602 sed 's/^/| /' conftest.$ac_ext >&5
18603
18604 # Passes both tests.
18605 ac_preproc_ok=:
18606 break
18607 fi
18608 rm -f conftest.err conftest.$ac_ext
18609
18610 done
18611 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18612 rm -f conftest.err conftest.$ac_ext
18613 if $ac_preproc_ok; then
18614 :
18615 else
18616 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18617 See \`config.log' for more details." >&5
18618 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18619 See \`config.log' for more details." >&2;}
18620 { (exit 1); exit 1; }; }
18621 fi
18622
18623 ac_ext=cc
18624 ac_cpp='$CXXCPP $CPPFLAGS'
18625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18628
18629
18630
18631 if test "$cross_compiling" = "yes"; then
18632 cat >>confdefs.h <<\_ACEOF
18633 #define wxUSE_IOSTREAMH 1
18634 _ACEOF
18635
18636 else
18637
18638
18639 ac_ext=cc
18640 ac_cpp='$CXXCPP $CPPFLAGS'
18641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18644
18645
18646
18647 for ac_header in iostream
18648 do
18649 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18650 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18651 echo "$as_me:$LINENO: checking for $ac_header" >&5
18652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18654 echo $ECHO_N "(cached) $ECHO_C" >&6
18655 fi
18656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18658 else
18659 # Is the header compilable?
18660 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18661 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18662 cat >conftest.$ac_ext <<_ACEOF
18663 /* confdefs.h. */
18664 _ACEOF
18665 cat confdefs.h >>conftest.$ac_ext
18666 cat >>conftest.$ac_ext <<_ACEOF
18667 /* end confdefs.h. */
18668 $ac_includes_default
18669 #include <$ac_header>
18670 _ACEOF
18671 rm -f conftest.$ac_objext
18672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18673 (eval $ac_compile) 2>conftest.er1
18674 ac_status=$?
18675 grep -v '^ *+' conftest.er1 >conftest.err
18676 rm -f conftest.er1
18677 cat conftest.err >&5
18678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18679 (exit $ac_status); } &&
18680 { ac_try='test -z "$ac_cxx_werror_flag"
18681 || test ! -s conftest.err'
18682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18683 (eval $ac_try) 2>&5
18684 ac_status=$?
18685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18686 (exit $ac_status); }; } &&
18687 { ac_try='test -s conftest.$ac_objext'
18688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18689 (eval $ac_try) 2>&5
18690 ac_status=$?
18691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18692 (exit $ac_status); }; }; then
18693 ac_header_compiler=yes
18694 else
18695 echo "$as_me: failed program was:" >&5
18696 sed 's/^/| /' conftest.$ac_ext >&5
18697
18698 ac_header_compiler=no
18699 fi
18700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18701 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18702 echo "${ECHO_T}$ac_header_compiler" >&6
18703
18704 # Is the header present?
18705 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18706 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18707 cat >conftest.$ac_ext <<_ACEOF
18708 /* confdefs.h. */
18709 _ACEOF
18710 cat confdefs.h >>conftest.$ac_ext
18711 cat >>conftest.$ac_ext <<_ACEOF
18712 /* end confdefs.h. */
18713 #include <$ac_header>
18714 _ACEOF
18715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18716 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18717 ac_status=$?
18718 grep -v '^ *+' conftest.er1 >conftest.err
18719 rm -f conftest.er1
18720 cat conftest.err >&5
18721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18722 (exit $ac_status); } >/dev/null; then
18723 if test -s conftest.err; then
18724 ac_cpp_err=$ac_cxx_preproc_warn_flag
18725 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18726 else
18727 ac_cpp_err=
18728 fi
18729 else
18730 ac_cpp_err=yes
18731 fi
18732 if test -z "$ac_cpp_err"; then
18733 ac_header_preproc=yes
18734 else
18735 echo "$as_me: failed program was:" >&5
18736 sed 's/^/| /' conftest.$ac_ext >&5
18737
18738 ac_header_preproc=no
18739 fi
18740 rm -f conftest.err conftest.$ac_ext
18741 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18742 echo "${ECHO_T}$ac_header_preproc" >&6
18743
18744 # So? What about this header?
18745 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18746 yes:no: )
18747 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18748 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18749 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18750 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18751 ac_header_preproc=yes
18752 ;;
18753 no:yes:* )
18754 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18755 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18756 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18757 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18758 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18759 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18760 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18761 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18762 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18763 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18764 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18765 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18766 (
18767 cat <<\_ASBOX
18768 ## ----------------------------------------- ##
18769 ## Report this to wx-dev@lists.wxwindows.org ##
18770 ## ----------------------------------------- ##
18771 _ASBOX
18772 ) |
18773 sed "s/^/$as_me: WARNING: /" >&2
18774 ;;
18775 esac
18776 echo "$as_me:$LINENO: checking for $ac_header" >&5
18777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18779 echo $ECHO_N "(cached) $ECHO_C" >&6
18780 else
18781 eval "$as_ac_Header=\$ac_header_preproc"
18782 fi
18783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18784 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18785
18786 fi
18787 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18788 cat >>confdefs.h <<_ACEOF
18789 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18790 _ACEOF
18791
18792 fi
18793
18794 done
18795
18796
18797 if test "$ac_cv_header_iostream" = "yes" ; then
18798 :
18799 else
18800 cat >>confdefs.h <<\_ACEOF
18801 #define wxUSE_IOSTREAMH 1
18802 _ACEOF
18803
18804 fi
18805
18806 ac_ext=c
18807 ac_cpp='$CPP $CPPFLAGS'
18808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18811
18812 fi
18813
18814
18815
18816 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18817 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18818 if test "${wx_cv_cpp_bool+set}" = set; then
18819 echo $ECHO_N "(cached) $ECHO_C" >&6
18820 else
18821
18822
18823
18824 ac_ext=cc
18825 ac_cpp='$CXXCPP $CPPFLAGS'
18826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18829
18830
18831 cat >conftest.$ac_ext <<_ACEOF
18832 /* confdefs.h. */
18833 _ACEOF
18834 cat confdefs.h >>conftest.$ac_ext
18835 cat >>conftest.$ac_ext <<_ACEOF
18836 /* end confdefs.h. */
18837
18838
18839 int
18840 main ()
18841 {
18842
18843 bool b = true;
18844
18845 return 0;
18846
18847 ;
18848 return 0;
18849 }
18850 _ACEOF
18851 rm -f conftest.$ac_objext
18852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18853 (eval $ac_compile) 2>conftest.er1
18854 ac_status=$?
18855 grep -v '^ *+' conftest.er1 >conftest.err
18856 rm -f conftest.er1
18857 cat conftest.err >&5
18858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18859 (exit $ac_status); } &&
18860 { ac_try='test -z "$ac_cxx_werror_flag"
18861 || test ! -s conftest.err'
18862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18863 (eval $ac_try) 2>&5
18864 ac_status=$?
18865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18866 (exit $ac_status); }; } &&
18867 { ac_try='test -s conftest.$ac_objext'
18868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18869 (eval $ac_try) 2>&5
18870 ac_status=$?
18871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18872 (exit $ac_status); }; }; then
18873
18874 wx_cv_cpp_bool=yes
18875
18876 else
18877 echo "$as_me: failed program was:" >&5
18878 sed 's/^/| /' conftest.$ac_ext >&5
18879
18880
18881 wx_cv_cpp_bool=no
18882
18883
18884 fi
18885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18886
18887 ac_ext=c
18888 ac_cpp='$CPP $CPPFLAGS'
18889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18892
18893
18894 fi
18895 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18896 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18897
18898 if test "$wx_cv_cpp_bool" = "yes"; then
18899 cat >>confdefs.h <<\_ACEOF
18900 #define HAVE_BOOL 1
18901 _ACEOF
18902
18903 fi
18904
18905
18906
18907 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18908 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18909 if test "${wx_cv_explicit+set}" = set; then
18910 echo $ECHO_N "(cached) $ECHO_C" >&6
18911 else
18912
18913
18914
18915 ac_ext=cc
18916 ac_cpp='$CXXCPP $CPPFLAGS'
18917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18920
18921
18922 cat >conftest.$ac_ext <<_ACEOF
18923 /* confdefs.h. */
18924 _ACEOF
18925 cat confdefs.h >>conftest.$ac_ext
18926 cat >>conftest.$ac_ext <<_ACEOF
18927 /* end confdefs.h. */
18928
18929 class Foo { public: explicit Foo(int) {} };
18930
18931 int
18932 main ()
18933 {
18934
18935 return 0;
18936
18937 ;
18938 return 0;
18939 }
18940 _ACEOF
18941 rm -f conftest.$ac_objext
18942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18943 (eval $ac_compile) 2>conftest.er1
18944 ac_status=$?
18945 grep -v '^ *+' conftest.er1 >conftest.err
18946 rm -f conftest.er1
18947 cat conftest.err >&5
18948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949 (exit $ac_status); } &&
18950 { ac_try='test -z "$ac_cxx_werror_flag"
18951 || test ! -s conftest.err'
18952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18953 (eval $ac_try) 2>&5
18954 ac_status=$?
18955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18956 (exit $ac_status); }; } &&
18957 { ac_try='test -s conftest.$ac_objext'
18958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18959 (eval $ac_try) 2>&5
18960 ac_status=$?
18961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18962 (exit $ac_status); }; }; then
18963
18964 cat >conftest.$ac_ext <<_ACEOF
18965 /* confdefs.h. */
18966 _ACEOF
18967 cat confdefs.h >>conftest.$ac_ext
18968 cat >>conftest.$ac_ext <<_ACEOF
18969 /* end confdefs.h. */
18970
18971 class Foo { public: explicit Foo(int) {} };
18972 static void TakeFoo(const Foo& foo) { }
18973
18974 int
18975 main ()
18976 {
18977
18978 TakeFoo(17);
18979 return 0;
18980
18981 ;
18982 return 0;
18983 }
18984 _ACEOF
18985 rm -f conftest.$ac_objext
18986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18987 (eval $ac_compile) 2>conftest.er1
18988 ac_status=$?
18989 grep -v '^ *+' conftest.er1 >conftest.err
18990 rm -f conftest.er1
18991 cat conftest.err >&5
18992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18993 (exit $ac_status); } &&
18994 { ac_try='test -z "$ac_cxx_werror_flag"
18995 || test ! -s conftest.err'
18996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18997 (eval $ac_try) 2>&5
18998 ac_status=$?
18999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19000 (exit $ac_status); }; } &&
19001 { ac_try='test -s conftest.$ac_objext'
19002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19003 (eval $ac_try) 2>&5
19004 ac_status=$?
19005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19006 (exit $ac_status); }; }; then
19007 wx_cv_explicit=no
19008 else
19009 echo "$as_me: failed program was:" >&5
19010 sed 's/^/| /' conftest.$ac_ext >&5
19011
19012 wx_cv_explicit=yes
19013
19014 fi
19015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19016
19017 else
19018 echo "$as_me: failed program was:" >&5
19019 sed 's/^/| /' conftest.$ac_ext >&5
19020
19021 wx_cv_explicit=no
19022
19023 fi
19024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19025
19026 ac_ext=c
19027 ac_cpp='$CPP $CPPFLAGS'
19028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19031
19032
19033 fi
19034 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19035 echo "${ECHO_T}$wx_cv_explicit" >&6
19036
19037 if test "$wx_cv_explicit" = "yes"; then
19038 cat >>confdefs.h <<\_ACEOF
19039 #define HAVE_EXPLICIT 1
19040 _ACEOF
19041
19042 fi
19043
19044
19045 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19046 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19047 if test "${ac_cv_cxx_const_cast+set}" = set; then
19048 echo $ECHO_N "(cached) $ECHO_C" >&6
19049 else
19050
19051
19052 ac_ext=cc
19053 ac_cpp='$CXXCPP $CPPFLAGS'
19054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19057
19058 cat >conftest.$ac_ext <<_ACEOF
19059 /* confdefs.h. */
19060 _ACEOF
19061 cat confdefs.h >>conftest.$ac_ext
19062 cat >>conftest.$ac_ext <<_ACEOF
19063 /* end confdefs.h. */
19064
19065 int
19066 main ()
19067 {
19068 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19069 ;
19070 return 0;
19071 }
19072 _ACEOF
19073 rm -f conftest.$ac_objext
19074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19075 (eval $ac_compile) 2>conftest.er1
19076 ac_status=$?
19077 grep -v '^ *+' conftest.er1 >conftest.err
19078 rm -f conftest.er1
19079 cat conftest.err >&5
19080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19081 (exit $ac_status); } &&
19082 { ac_try='test -z "$ac_cxx_werror_flag"
19083 || test ! -s conftest.err'
19084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19085 (eval $ac_try) 2>&5
19086 ac_status=$?
19087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19088 (exit $ac_status); }; } &&
19089 { ac_try='test -s conftest.$ac_objext'
19090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19091 (eval $ac_try) 2>&5
19092 ac_status=$?
19093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19094 (exit $ac_status); }; }; then
19095 ac_cv_cxx_const_cast=yes
19096 else
19097 echo "$as_me: failed program was:" >&5
19098 sed 's/^/| /' conftest.$ac_ext >&5
19099
19100 ac_cv_cxx_const_cast=no
19101 fi
19102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19103 ac_ext=c
19104 ac_cpp='$CPP $CPPFLAGS'
19105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19108
19109
19110 fi
19111 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19112 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19113 if test "$ac_cv_cxx_const_cast" = yes; then
19114
19115 cat >>confdefs.h <<\_ACEOF
19116 #define HAVE_CONST_CAST
19117 _ACEOF
19118
19119 fi
19120
19121 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19122 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19123 if test "${ac_cv_cxx_static_cast+set}" = set; then
19124 echo $ECHO_N "(cached) $ECHO_C" >&6
19125 else
19126
19127
19128 ac_ext=cc
19129 ac_cpp='$CXXCPP $CPPFLAGS'
19130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19133
19134 cat >conftest.$ac_ext <<_ACEOF
19135 /* confdefs.h. */
19136 _ACEOF
19137 cat confdefs.h >>conftest.$ac_ext
19138 cat >>conftest.$ac_ext <<_ACEOF
19139 /* end confdefs.h. */
19140 #include <typeinfo>
19141 class Base { public : Base () {} virtual void f () = 0; };
19142 class Derived : public Base { public : Derived () {} virtual void f () {} };
19143 int g (Derived&) { return 0; }
19144 int
19145 main ()
19146 {
19147
19148 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19149 ;
19150 return 0;
19151 }
19152 _ACEOF
19153 rm -f conftest.$ac_objext
19154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19155 (eval $ac_compile) 2>conftest.er1
19156 ac_status=$?
19157 grep -v '^ *+' conftest.er1 >conftest.err
19158 rm -f conftest.er1
19159 cat conftest.err >&5
19160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19161 (exit $ac_status); } &&
19162 { ac_try='test -z "$ac_cxx_werror_flag"
19163 || test ! -s conftest.err'
19164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19165 (eval $ac_try) 2>&5
19166 ac_status=$?
19167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19168 (exit $ac_status); }; } &&
19169 { ac_try='test -s conftest.$ac_objext'
19170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19171 (eval $ac_try) 2>&5
19172 ac_status=$?
19173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19174 (exit $ac_status); }; }; then
19175 ac_cv_cxx_static_cast=yes
19176 else
19177 echo "$as_me: failed program was:" >&5
19178 sed 's/^/| /' conftest.$ac_ext >&5
19179
19180 ac_cv_cxx_static_cast=no
19181 fi
19182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19183 ac_ext=c
19184 ac_cpp='$CPP $CPPFLAGS'
19185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19188
19189
19190 fi
19191 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19192 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19193 if test "$ac_cv_cxx_static_cast" = yes; then
19194
19195 cat >>confdefs.h <<\_ACEOF
19196 #define HAVE_STATIC_CAST
19197 _ACEOF
19198
19199 fi
19200
19201
19202 if test "$wxUSE_STL" = "yes"; then
19203 ac_ext=cc
19204 ac_cpp='$CXXCPP $CPPFLAGS'
19205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19208
19209
19210 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19211 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19212 cat >conftest.$ac_ext <<_ACEOF
19213 /* confdefs.h. */
19214 _ACEOF
19215 cat confdefs.h >>conftest.$ac_ext
19216 cat >>conftest.$ac_ext <<_ACEOF
19217 /* end confdefs.h. */
19218 #include <string>
19219 #include <functional>
19220 #include <algorithm>
19221 #include <vector>
19222 #include <list>
19223 int
19224 main ()
19225 {
19226 std::vector<int> moo;
19227 std::list<int> foo;
19228 std::vector<int>::iterator it =
19229 std::find_if(moo.begin(), moo.end(),
19230 std::bind2nd(std::less<int>(), 3));
19231 ;
19232 return 0;
19233 }
19234 _ACEOF
19235 rm -f conftest.$ac_objext
19236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19237 (eval $ac_compile) 2>conftest.er1
19238 ac_status=$?
19239 grep -v '^ *+' conftest.er1 >conftest.err
19240 rm -f conftest.er1
19241 cat conftest.err >&5
19242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19243 (exit $ac_status); } &&
19244 { ac_try='test -z "$ac_cxx_werror_flag"
19245 || test ! -s conftest.err'
19246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19247 (eval $ac_try) 2>&5
19248 ac_status=$?
19249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19250 (exit $ac_status); }; } &&
19251 { ac_try='test -s conftest.$ac_objext'
19252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19253 (eval $ac_try) 2>&5
19254 ac_status=$?
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256 (exit $ac_status); }; }; then
19257 echo "$as_me:$LINENO: result: yes" >&5
19258 echo "${ECHO_T}yes" >&6
19259 else
19260 echo "$as_me: failed program was:" >&5
19261 sed 's/^/| /' conftest.$ac_ext >&5
19262
19263 echo "$as_me:$LINENO: result: no" >&5
19264 echo "${ECHO_T}no" >&6
19265 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19266 echo "$as_me: error: Basic STL functionality missing" >&2;}
19267 { (exit 1); exit 1; }; }
19268 fi
19269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19270
19271 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19272 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19273 cat >conftest.$ac_ext <<_ACEOF
19274 /* confdefs.h. */
19275 _ACEOF
19276 cat confdefs.h >>conftest.$ac_ext
19277 cat >>conftest.$ac_ext <<_ACEOF
19278 /* end confdefs.h. */
19279 #include <string>
19280 int
19281 main ()
19282 {
19283 std::wstring foo;
19284 ;
19285 return 0;
19286 }
19287 _ACEOF
19288 rm -f conftest.$ac_objext
19289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19290 (eval $ac_compile) 2>conftest.er1
19291 ac_status=$?
19292 grep -v '^ *+' conftest.er1 >conftest.err
19293 rm -f conftest.er1
19294 cat conftest.err >&5
19295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19296 (exit $ac_status); } &&
19297 { ac_try='test -z "$ac_cxx_werror_flag"
19298 || test ! -s conftest.err'
19299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19300 (eval $ac_try) 2>&5
19301 ac_status=$?
19302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19303 (exit $ac_status); }; } &&
19304 { ac_try='test -s conftest.$ac_objext'
19305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19306 (eval $ac_try) 2>&5
19307 ac_status=$?
19308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19309 (exit $ac_status); }; }; then
19310 echo "$as_me:$LINENO: result: yes" >&5
19311 echo "${ECHO_T}yes" >&6
19312 cat >>confdefs.h <<\_ACEOF
19313 #define HAVE_STD_WSTRING 1
19314 _ACEOF
19315
19316 else
19317 echo "$as_me: failed program was:" >&5
19318 sed 's/^/| /' conftest.$ac_ext >&5
19319
19320 echo "$as_me:$LINENO: result: no" >&5
19321 echo "${ECHO_T}no" >&6
19322 fi
19323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19324
19325 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19326 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19327 cat >conftest.$ac_ext <<_ACEOF
19328 /* confdefs.h. */
19329 _ACEOF
19330 cat confdefs.h >>conftest.$ac_ext
19331 cat >>conftest.$ac_ext <<_ACEOF
19332 /* end confdefs.h. */
19333 #include <string>
19334 int
19335 main ()
19336 {
19337 std::string foo, bar;
19338 foo.compare(bar);
19339 foo.compare(1, 1, bar);
19340 foo.compare(1, 1, bar, 1, 1);
19341 foo.compare("");
19342 foo.compare(1, 1, "");
19343 foo.compare(1, 1, "", 2);
19344 ;
19345 return 0;
19346 }
19347 _ACEOF
19348 rm -f conftest.$ac_objext
19349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19350 (eval $ac_compile) 2>conftest.er1
19351 ac_status=$?
19352 grep -v '^ *+' conftest.er1 >conftest.err
19353 rm -f conftest.er1
19354 cat conftest.err >&5
19355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19356 (exit $ac_status); } &&
19357 { ac_try='test -z "$ac_cxx_werror_flag"
19358 || test ! -s conftest.err'
19359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19360 (eval $ac_try) 2>&5
19361 ac_status=$?
19362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19363 (exit $ac_status); }; } &&
19364 { ac_try='test -s conftest.$ac_objext'
19365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19366 (eval $ac_try) 2>&5
19367 ac_status=$?
19368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19369 (exit $ac_status); }; }; then
19370 echo "$as_me:$LINENO: result: yes" >&5
19371 echo "${ECHO_T}yes" >&6
19372 cat >>confdefs.h <<\_ACEOF
19373 #define HAVE_STD_STRING_COMPARE 1
19374 _ACEOF
19375
19376 else
19377 echo "$as_me: failed program was:" >&5
19378 sed 's/^/| /' conftest.$ac_ext >&5
19379
19380 echo "$as_me:$LINENO: result: no" >&5
19381 echo "${ECHO_T}no" >&6
19382 fi
19383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19384
19385 ac_ext=c
19386 ac_cpp='$CPP $CPPFLAGS'
19387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19390
19391 fi
19392
19393
19394 SEARCH_INCLUDE="\
19395 /usr/local/include \
19396 \
19397 /usr/Motif-2.1/include \
19398 /usr/Motif-1.2/include \
19399 /usr/include/Motif1.2 \
19400 /opt/xpm/include/X11 \
19401 /opt/GBxpm/include/ \
19402 /opt/GBxpm/X11/include/ \
19403 \
19404 /usr/dt/include \
19405 /usr/openwin/include \
19406 \
19407 /usr/include/Xm \
19408 \
19409 /usr/X11R6/include \
19410 /usr/X11R6.4/include \
19411 /usr/X11R5/include \
19412 /usr/X11R4/include \
19413 \
19414 /usr/include/X11R6 \
19415 /usr/include/X11R5 \
19416 /usr/include/X11R4 \
19417 \
19418 /usr/local/X11R6/include \
19419 /usr/local/X11R5/include \
19420 /usr/local/X11R4/include \
19421 \
19422 /usr/local/include/X11R6 \
19423 /usr/local/include/X11R5 \
19424 /usr/local/include/X11R4 \
19425 \
19426 /usr/X11/include \
19427 /usr/include/X11 \
19428 /usr/local/X11/include \
19429 /usr/local/include/X11 \
19430 \
19431 /usr/X386/include \
19432 /usr/x386/include \
19433 /usr/XFree86/include/X11 \
19434 \
19435 X:/XFree86/include \
19436 X:/XFree86/include/X11 \
19437 \
19438 /usr/include/gtk \
19439 /usr/local/include/gtk \
19440 /usr/include/glib \
19441 /usr/local/include/glib \
19442 \
19443 /usr/include/qt \
19444 /usr/local/include/qt \
19445 \
19446 /usr/local/arm/3.3.2/include \
19447 \
19448 /usr/include/windows \
19449 /usr/include/wine \
19450 /usr/local/include/wine \
19451 \
19452 /usr/unsupported/include \
19453 /usr/athena/include \
19454 /usr/local/x11r5/include \
19455 /usr/lpp/Xamples/include \
19456 \
19457 /usr/openwin/share/include"
19458
19459 SEARCH_LIB="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
19460
19461
19462 cat >confcache <<\_ACEOF
19463 # This file is a shell script that caches the results of configure
19464 # tests run on this system so they can be shared between configure
19465 # scripts and configure runs, see configure's option --config-cache.
19466 # It is not useful on other systems. If it contains results you don't
19467 # want to keep, you may remove or edit it.
19468 #
19469 # config.status only pays attention to the cache file if you give it
19470 # the --recheck option to rerun configure.
19471 #
19472 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19473 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19474 # following values.
19475
19476 _ACEOF
19477
19478 # The following way of writing the cache mishandles newlines in values,
19479 # but we know of no workaround that is simple, portable, and efficient.
19480 # So, don't put newlines in cache variables' values.
19481 # Ultrix sh set writes to stderr and can't be redirected directly,
19482 # and sets the high bit in the cache file unless we assign to the vars.
19483 {
19484 (set) 2>&1 |
19485 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19486 *ac_space=\ *)
19487 # `set' does not quote correctly, so add quotes (double-quote
19488 # substitution turns \\\\ into \\, and sed turns \\ into \).
19489 sed -n \
19490 "s/'/'\\\\''/g;
19491 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19492 ;;
19493 *)
19494 # `set' quotes correctly as required by POSIX, so do not add quotes.
19495 sed -n \
19496 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19497 ;;
19498 esac;
19499 } |
19500 sed '
19501 t clear
19502 : clear
19503 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19504 t end
19505 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19506 : end' >>confcache
19507 if diff $cache_file confcache >/dev/null 2>&1; then :; else
19508 if test -w $cache_file; then
19509 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19510 cat confcache >$cache_file
19511 else
19512 echo "not updating unwritable cache $cache_file"
19513 fi
19514 fi
19515 rm -f confcache
19516
19517 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19518 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
19519 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
19520 if test "${wx_cv_lib_glibc21+set}" = set; then
19521 echo $ECHO_N "(cached) $ECHO_C" >&6
19522 else
19523
19524 cat >conftest.$ac_ext <<_ACEOF
19525 /* confdefs.h. */
19526 _ACEOF
19527 cat confdefs.h >>conftest.$ac_ext
19528 cat >>conftest.$ac_ext <<_ACEOF
19529 /* end confdefs.h. */
19530 #include <features.h>
19531 int
19532 main ()
19533 {
19534
19535 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
19536 #error not glibc2.1
19537 #endif
19538
19539 ;
19540 return 0;
19541 }
19542 _ACEOF
19543 rm -f conftest.$ac_objext
19544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19545 (eval $ac_compile) 2>conftest.er1
19546 ac_status=$?
19547 grep -v '^ *+' conftest.er1 >conftest.err
19548 rm -f conftest.er1
19549 cat conftest.err >&5
19550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19551 (exit $ac_status); } &&
19552 { ac_try='test -z "$ac_c_werror_flag"
19553 || test ! -s conftest.err'
19554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19555 (eval $ac_try) 2>&5
19556 ac_status=$?
19557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19558 (exit $ac_status); }; } &&
19559 { ac_try='test -s conftest.$ac_objext'
19560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19561 (eval $ac_try) 2>&5
19562 ac_status=$?
19563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19564 (exit $ac_status); }; }; then
19565
19566 wx_cv_lib_glibc21=yes
19567
19568 else
19569 echo "$as_me: failed program was:" >&5
19570 sed 's/^/| /' conftest.$ac_ext >&5
19571
19572
19573 wx_cv_lib_glibc21=no
19574
19575
19576 fi
19577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19578
19579 fi
19580 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
19581 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
19582 if test "$wx_cv_lib_glibc21" = "yes"; then
19583 cat >>confdefs.h <<\_ACEOF
19584 #define wxHAVE_GLIBC2 1
19585 _ACEOF
19586
19587 fi
19588 fi
19589
19590 if test "x$wx_cv_lib_glibc21" = "xyes"; then
19591 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
19592 cat >>confdefs.h <<\_ACEOF
19593 #define _GNU_SOURCE 1
19594 _ACEOF
19595
19596 fi
19597 fi
19598
19599
19600
19601 if test "$wxUSE_REGEX" != "no"; then
19602 cat >>confdefs.h <<\_ACEOF
19603 #define wxUSE_REGEX 1
19604 _ACEOF
19605
19606
19607 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
19608 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
19609 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
19610 wxUSE_REGEX=builtin
19611 fi
19612
19613 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
19614 if test "${ac_cv_header_regex_h+set}" = set; then
19615 echo "$as_me:$LINENO: checking for regex.h" >&5
19616 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19617 if test "${ac_cv_header_regex_h+set}" = set; then
19618 echo $ECHO_N "(cached) $ECHO_C" >&6
19619 fi
19620 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19621 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19622 else
19623 # Is the header compilable?
19624 echo "$as_me:$LINENO: checking regex.h usability" >&5
19625 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
19626 cat >conftest.$ac_ext <<_ACEOF
19627 /* confdefs.h. */
19628 _ACEOF
19629 cat confdefs.h >>conftest.$ac_ext
19630 cat >>conftest.$ac_ext <<_ACEOF
19631 /* end confdefs.h. */
19632 $ac_includes_default
19633 #include <regex.h>
19634 _ACEOF
19635 rm -f conftest.$ac_objext
19636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19637 (eval $ac_compile) 2>conftest.er1
19638 ac_status=$?
19639 grep -v '^ *+' conftest.er1 >conftest.err
19640 rm -f conftest.er1
19641 cat conftest.err >&5
19642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19643 (exit $ac_status); } &&
19644 { ac_try='test -z "$ac_c_werror_flag"
19645 || test ! -s conftest.err'
19646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19647 (eval $ac_try) 2>&5
19648 ac_status=$?
19649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19650 (exit $ac_status); }; } &&
19651 { ac_try='test -s conftest.$ac_objext'
19652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19653 (eval $ac_try) 2>&5
19654 ac_status=$?
19655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19656 (exit $ac_status); }; }; then
19657 ac_header_compiler=yes
19658 else
19659 echo "$as_me: failed program was:" >&5
19660 sed 's/^/| /' conftest.$ac_ext >&5
19661
19662 ac_header_compiler=no
19663 fi
19664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19665 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19666 echo "${ECHO_T}$ac_header_compiler" >&6
19667
19668 # Is the header present?
19669 echo "$as_me:$LINENO: checking regex.h presence" >&5
19670 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
19671 cat >conftest.$ac_ext <<_ACEOF
19672 /* confdefs.h. */
19673 _ACEOF
19674 cat confdefs.h >>conftest.$ac_ext
19675 cat >>conftest.$ac_ext <<_ACEOF
19676 /* end confdefs.h. */
19677 #include <regex.h>
19678 _ACEOF
19679 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19680 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19681 ac_status=$?
19682 grep -v '^ *+' conftest.er1 >conftest.err
19683 rm -f conftest.er1
19684 cat conftest.err >&5
19685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19686 (exit $ac_status); } >/dev/null; then
19687 if test -s conftest.err; then
19688 ac_cpp_err=$ac_c_preproc_warn_flag
19689 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19690 else
19691 ac_cpp_err=
19692 fi
19693 else
19694 ac_cpp_err=yes
19695 fi
19696 if test -z "$ac_cpp_err"; then
19697 ac_header_preproc=yes
19698 else
19699 echo "$as_me: failed program was:" >&5
19700 sed 's/^/| /' conftest.$ac_ext >&5
19701
19702 ac_header_preproc=no
19703 fi
19704 rm -f conftest.err conftest.$ac_ext
19705 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19706 echo "${ECHO_T}$ac_header_preproc" >&6
19707
19708 # So? What about this header?
19709 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19710 yes:no: )
19711 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
19712 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19713 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
19714 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
19715 ac_header_preproc=yes
19716 ;;
19717 no:yes:* )
19718 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
19719 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
19720 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
19721 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
19722 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
19723 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
19724 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
19725 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
19726 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
19727 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
19728 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
19729 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
19730 (
19731 cat <<\_ASBOX
19732 ## ----------------------------------------- ##
19733 ## Report this to wx-dev@lists.wxwindows.org ##
19734 ## ----------------------------------------- ##
19735 _ASBOX
19736 ) |
19737 sed "s/^/$as_me: WARNING: /" >&2
19738 ;;
19739 esac
19740 echo "$as_me:$LINENO: checking for regex.h" >&5
19741 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19742 if test "${ac_cv_header_regex_h+set}" = set; then
19743 echo $ECHO_N "(cached) $ECHO_C" >&6
19744 else
19745 ac_cv_header_regex_h=$ac_header_preproc
19746 fi
19747 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19748 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19749
19750 fi
19751 if test $ac_cv_header_regex_h = yes; then
19752
19753 for ac_func in regcomp
19754 do
19755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19756 echo "$as_me:$LINENO: checking for $ac_func" >&5
19757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19758 if eval "test \"\${$as_ac_var+set}\" = set"; then
19759 echo $ECHO_N "(cached) $ECHO_C" >&6
19760 else
19761 cat >conftest.$ac_ext <<_ACEOF
19762 /* confdefs.h. */
19763 _ACEOF
19764 cat confdefs.h >>conftest.$ac_ext
19765 cat >>conftest.$ac_ext <<_ACEOF
19766 /* end confdefs.h. */
19767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19769 #define $ac_func innocuous_$ac_func
19770
19771 /* System header to define __stub macros and hopefully few prototypes,
19772 which can conflict with char $ac_func (); below.
19773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19774 <limits.h> exists even on freestanding compilers. */
19775
19776 #ifdef __STDC__
19777 # include <limits.h>
19778 #else
19779 # include <assert.h>
19780 #endif
19781
19782 #undef $ac_func
19783
19784 /* Override any gcc2 internal prototype to avoid an error. */
19785 #ifdef __cplusplus
19786 extern "C"
19787 {
19788 #endif
19789 /* We use char because int might match the return type of a gcc2
19790 builtin and then its argument prototype would still apply. */
19791 char $ac_func ();
19792 /* The GNU C library defines this for functions which it implements
19793 to always fail with ENOSYS. Some functions are actually named
19794 something starting with __ and the normal name is an alias. */
19795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19796 choke me
19797 #else
19798 char (*f) () = $ac_func;
19799 #endif
19800 #ifdef __cplusplus
19801 }
19802 #endif
19803
19804 int
19805 main ()
19806 {
19807 return f != $ac_func;
19808 ;
19809 return 0;
19810 }
19811 _ACEOF
19812 rm -f conftest.$ac_objext conftest$ac_exeext
19813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19814 (eval $ac_link) 2>conftest.er1
19815 ac_status=$?
19816 grep -v '^ *+' conftest.er1 >conftest.err
19817 rm -f conftest.er1
19818 cat conftest.err >&5
19819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19820 (exit $ac_status); } &&
19821 { ac_try='test -z "$ac_c_werror_flag"
19822 || test ! -s conftest.err'
19823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19824 (eval $ac_try) 2>&5
19825 ac_status=$?
19826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19827 (exit $ac_status); }; } &&
19828 { ac_try='test -s conftest$ac_exeext'
19829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19830 (eval $ac_try) 2>&5
19831 ac_status=$?
19832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19833 (exit $ac_status); }; }; then
19834 eval "$as_ac_var=yes"
19835 else
19836 echo "$as_me: failed program was:" >&5
19837 sed 's/^/| /' conftest.$ac_ext >&5
19838
19839 eval "$as_ac_var=no"
19840 fi
19841 rm -f conftest.err conftest.$ac_objext \
19842 conftest$ac_exeext conftest.$ac_ext
19843 fi
19844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19845 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19846 if test `eval echo '${'$as_ac_var'}'` = yes; then
19847 cat >>confdefs.h <<_ACEOF
19848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19849 _ACEOF
19850
19851 fi
19852 done
19853
19854 fi
19855
19856
19857
19858 if test "x$ac_cv_func_regcomp" != "xyes"; then
19859 if test "$wxUSE_REGEX" = "sys" ; then
19860 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
19861 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
19862 { (exit 1); exit 1; }; }
19863 else
19864 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
19865 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
19866 wxUSE_REGEX=builtin
19867 fi
19868 else
19869 wxUSE_REGEX=sys
19870 cat >>confdefs.h <<\_ACEOF
19871 #define WX_NO_REGEX_ADVANCED 1
19872 _ACEOF
19873
19874 fi
19875 fi
19876 fi
19877
19878
19879 ZLIB_LINK=
19880 if test "$wxUSE_ZLIB" != "no" ; then
19881 cat >>confdefs.h <<\_ACEOF
19882 #define wxUSE_ZLIB 1
19883 _ACEOF
19884
19885
19886 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
19887 if test "$USE_DARWIN" = 1; then
19888 system_zlib_h_ok="yes"
19889 else
19890 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
19891 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
19892 if test "${ac_cv_header_zlib_h+set}" = set; then
19893 echo $ECHO_N "(cached) $ECHO_C" >&6
19894 else
19895 if test "$cross_compiling" = yes; then
19896 unset ac_cv_header_zlib_h
19897
19898 else
19899 cat >conftest.$ac_ext <<_ACEOF
19900 /* confdefs.h. */
19901 _ACEOF
19902 cat confdefs.h >>conftest.$ac_ext
19903 cat >>conftest.$ac_ext <<_ACEOF
19904 /* end confdefs.h. */
19905
19906 #include <zlib.h>
19907 #include <stdio.h>
19908
19909 int main()
19910 {
19911 FILE *f=fopen("conftestval", "w");
19912 if (!f) exit(1);
19913 fprintf(f, "%s",
19914 ZLIB_VERSION[0] == '1' &&
19915 (ZLIB_VERSION[2] > '1' ||
19916 (ZLIB_VERSION[2] == '1' &&
19917 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
19918 exit(0);
19919 }
19920
19921 _ACEOF
19922 rm -f conftest$ac_exeext
19923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19924 (eval $ac_link) 2>&5
19925 ac_status=$?
19926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19927 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19929 (eval $ac_try) 2>&5
19930 ac_status=$?
19931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19932 (exit $ac_status); }; }; then
19933 ac_cv_header_zlib_h=`cat conftestval`
19934 else
19935 echo "$as_me: program exited with status $ac_status" >&5
19936 echo "$as_me: failed program was:" >&5
19937 sed 's/^/| /' conftest.$ac_ext >&5
19938
19939 ( exit $ac_status )
19940 ac_cv_header_zlib_h=no
19941 fi
19942 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19943 fi
19944
19945 fi
19946 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19947 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19948 if test "${ac_cv_header_zlib_h+set}" = set; then
19949 echo "$as_me:$LINENO: checking for zlib.h" >&5
19950 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19951 if test "${ac_cv_header_zlib_h+set}" = set; then
19952 echo $ECHO_N "(cached) $ECHO_C" >&6
19953 fi
19954 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19955 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19956 else
19957 # Is the header compilable?
19958 echo "$as_me:$LINENO: checking zlib.h usability" >&5
19959 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
19960 cat >conftest.$ac_ext <<_ACEOF
19961 /* confdefs.h. */
19962 _ACEOF
19963 cat confdefs.h >>conftest.$ac_ext
19964 cat >>conftest.$ac_ext <<_ACEOF
19965 /* end confdefs.h. */
19966 $ac_includes_default
19967 #include <zlib.h>
19968 _ACEOF
19969 rm -f conftest.$ac_objext
19970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19971 (eval $ac_compile) 2>conftest.er1
19972 ac_status=$?
19973 grep -v '^ *+' conftest.er1 >conftest.err
19974 rm -f conftest.er1
19975 cat conftest.err >&5
19976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19977 (exit $ac_status); } &&
19978 { ac_try='test -z "$ac_c_werror_flag"
19979 || test ! -s conftest.err'
19980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19981 (eval $ac_try) 2>&5
19982 ac_status=$?
19983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19984 (exit $ac_status); }; } &&
19985 { ac_try='test -s conftest.$ac_objext'
19986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19987 (eval $ac_try) 2>&5
19988 ac_status=$?
19989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19990 (exit $ac_status); }; }; then
19991 ac_header_compiler=yes
19992 else
19993 echo "$as_me: failed program was:" >&5
19994 sed 's/^/| /' conftest.$ac_ext >&5
19995
19996 ac_header_compiler=no
19997 fi
19998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19999 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20000 echo "${ECHO_T}$ac_header_compiler" >&6
20001
20002 # Is the header present?
20003 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20004 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20005 cat >conftest.$ac_ext <<_ACEOF
20006 /* confdefs.h. */
20007 _ACEOF
20008 cat confdefs.h >>conftest.$ac_ext
20009 cat >>conftest.$ac_ext <<_ACEOF
20010 /* end confdefs.h. */
20011 #include <zlib.h>
20012 _ACEOF
20013 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20014 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20015 ac_status=$?
20016 grep -v '^ *+' conftest.er1 >conftest.err
20017 rm -f conftest.er1
20018 cat conftest.err >&5
20019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20020 (exit $ac_status); } >/dev/null; then
20021 if test -s conftest.err; then
20022 ac_cpp_err=$ac_c_preproc_warn_flag
20023 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20024 else
20025 ac_cpp_err=
20026 fi
20027 else
20028 ac_cpp_err=yes
20029 fi
20030 if test -z "$ac_cpp_err"; then
20031 ac_header_preproc=yes
20032 else
20033 echo "$as_me: failed program was:" >&5
20034 sed 's/^/| /' conftest.$ac_ext >&5
20035
20036 ac_header_preproc=no
20037 fi
20038 rm -f conftest.err conftest.$ac_ext
20039 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20040 echo "${ECHO_T}$ac_header_preproc" >&6
20041
20042 # So? What about this header?
20043 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20044 yes:no: )
20045 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20046 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20047 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20048 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20049 ac_header_preproc=yes
20050 ;;
20051 no:yes:* )
20052 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20053 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20054 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20055 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20056 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20057 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20058 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20059 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20060 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20061 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20062 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20063 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20064 (
20065 cat <<\_ASBOX
20066 ## ----------------------------------------- ##
20067 ## Report this to wx-dev@lists.wxwindows.org ##
20068 ## ----------------------------------------- ##
20069 _ASBOX
20070 ) |
20071 sed "s/^/$as_me: WARNING: /" >&2
20072 ;;
20073 esac
20074 echo "$as_me:$LINENO: checking for zlib.h" >&5
20075 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20076 if test "${ac_cv_header_zlib_h+set}" = set; then
20077 echo $ECHO_N "(cached) $ECHO_C" >&6
20078 else
20079 ac_cv_header_zlib_h=$ac_header_preproc
20080 fi
20081 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20082 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20083
20084 fi
20085
20086
20087
20088 system_zlib_h_ok=$ac_cv_header_zlib_h
20089 fi
20090
20091 if test "$system_zlib_h_ok" = "yes"; then
20092 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20093 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20094 if test "${ac_cv_lib_z_deflate+set}" = set; then
20095 echo $ECHO_N "(cached) $ECHO_C" >&6
20096 else
20097 ac_check_lib_save_LIBS=$LIBS
20098 LIBS="-lz $LIBS"
20099 cat >conftest.$ac_ext <<_ACEOF
20100 /* confdefs.h. */
20101 _ACEOF
20102 cat confdefs.h >>conftest.$ac_ext
20103 cat >>conftest.$ac_ext <<_ACEOF
20104 /* end confdefs.h. */
20105
20106 /* Override any gcc2 internal prototype to avoid an error. */
20107 #ifdef __cplusplus
20108 extern "C"
20109 #endif
20110 /* We use char because int might match the return type of a gcc2
20111 builtin and then its argument prototype would still apply. */
20112 char deflate ();
20113 int
20114 main ()
20115 {
20116 deflate ();
20117 ;
20118 return 0;
20119 }
20120 _ACEOF
20121 rm -f conftest.$ac_objext conftest$ac_exeext
20122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20123 (eval $ac_link) 2>conftest.er1
20124 ac_status=$?
20125 grep -v '^ *+' conftest.er1 >conftest.err
20126 rm -f conftest.er1
20127 cat conftest.err >&5
20128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20129 (exit $ac_status); } &&
20130 { ac_try='test -z "$ac_c_werror_flag"
20131 || test ! -s conftest.err'
20132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20133 (eval $ac_try) 2>&5
20134 ac_status=$?
20135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20136 (exit $ac_status); }; } &&
20137 { ac_try='test -s conftest$ac_exeext'
20138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20139 (eval $ac_try) 2>&5
20140 ac_status=$?
20141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20142 (exit $ac_status); }; }; then
20143 ac_cv_lib_z_deflate=yes
20144 else
20145 echo "$as_me: failed program was:" >&5
20146 sed 's/^/| /' conftest.$ac_ext >&5
20147
20148 ac_cv_lib_z_deflate=no
20149 fi
20150 rm -f conftest.err conftest.$ac_objext \
20151 conftest$ac_exeext conftest.$ac_ext
20152 LIBS=$ac_check_lib_save_LIBS
20153 fi
20154 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20155 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20156 if test $ac_cv_lib_z_deflate = yes; then
20157 ZLIB_LINK=" -lz"
20158 fi
20159
20160 fi
20161
20162 if test "x$ZLIB_LINK" = "x" ; then
20163 if test "$wxUSE_ZLIB" = "sys" ; then
20164 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20165 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20166 { (exit 1); exit 1; }; }
20167 else
20168 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20169 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20170 wxUSE_ZLIB=builtin
20171 fi
20172 else
20173 wxUSE_ZLIB=sys
20174 fi
20175 fi
20176 fi
20177
20178
20179 PNG_LINK=
20180 if test "$wxUSE_LIBPNG" != "no" ; then
20181 cat >>confdefs.h <<\_ACEOF
20182 #define wxUSE_LIBPNG 1
20183 _ACEOF
20184
20185
20186 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20187 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20188 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20189 wxUSE_LIBPNG=sys
20190 fi
20191
20192 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20193 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20194 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20195 wxUSE_LIBPNG=builtin
20196 fi
20197
20198 if test "$wxUSE_MGL" != 1 ; then
20199 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20200 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20201 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20202 if test "${ac_cv_header_png_h+set}" = set; then
20203 echo $ECHO_N "(cached) $ECHO_C" >&6
20204 else
20205 if test "$cross_compiling" = yes; then
20206 unset ac_cv_header_png_h
20207
20208 else
20209 cat >conftest.$ac_ext <<_ACEOF
20210 /* confdefs.h. */
20211 _ACEOF
20212 cat confdefs.h >>conftest.$ac_ext
20213 cat >>conftest.$ac_ext <<_ACEOF
20214 /* end confdefs.h. */
20215
20216 #include <png.h>
20217 #include <stdio.h>
20218
20219 int main()
20220 {
20221 FILE *f=fopen("conftestval", "w");
20222 if (!f) exit(1);
20223 fprintf(f, "%s",
20224 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20225 exit(0);
20226 }
20227
20228 _ACEOF
20229 rm -f conftest$ac_exeext
20230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20231 (eval $ac_link) 2>&5
20232 ac_status=$?
20233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20234 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20236 (eval $ac_try) 2>&5
20237 ac_status=$?
20238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20239 (exit $ac_status); }; }; then
20240 ac_cv_header_png_h=`cat conftestval`
20241 else
20242 echo "$as_me: program exited with status $ac_status" >&5
20243 echo "$as_me: failed program was:" >&5
20244 sed 's/^/| /' conftest.$ac_ext >&5
20245
20246 ( exit $ac_status )
20247 ac_cv_header_png_h=no
20248 fi
20249 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20250 fi
20251
20252 fi
20253 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20254 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20255 if test "${ac_cv_header_png_h+set}" = set; then
20256 echo "$as_me:$LINENO: checking for png.h" >&5
20257 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20258 if test "${ac_cv_header_png_h+set}" = set; then
20259 echo $ECHO_N "(cached) $ECHO_C" >&6
20260 fi
20261 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20262 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20263 else
20264 # Is the header compilable?
20265 echo "$as_me:$LINENO: checking png.h usability" >&5
20266 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
20267 cat >conftest.$ac_ext <<_ACEOF
20268 /* confdefs.h. */
20269 _ACEOF
20270 cat confdefs.h >>conftest.$ac_ext
20271 cat >>conftest.$ac_ext <<_ACEOF
20272 /* end confdefs.h. */
20273 $ac_includes_default
20274 #include <png.h>
20275 _ACEOF
20276 rm -f conftest.$ac_objext
20277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20278 (eval $ac_compile) 2>conftest.er1
20279 ac_status=$?
20280 grep -v '^ *+' conftest.er1 >conftest.err
20281 rm -f conftest.er1
20282 cat conftest.err >&5
20283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20284 (exit $ac_status); } &&
20285 { ac_try='test -z "$ac_c_werror_flag"
20286 || test ! -s conftest.err'
20287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20288 (eval $ac_try) 2>&5
20289 ac_status=$?
20290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20291 (exit $ac_status); }; } &&
20292 { ac_try='test -s conftest.$ac_objext'
20293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20294 (eval $ac_try) 2>&5
20295 ac_status=$?
20296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20297 (exit $ac_status); }; }; then
20298 ac_header_compiler=yes
20299 else
20300 echo "$as_me: failed program was:" >&5
20301 sed 's/^/| /' conftest.$ac_ext >&5
20302
20303 ac_header_compiler=no
20304 fi
20305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20306 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20307 echo "${ECHO_T}$ac_header_compiler" >&6
20308
20309 # Is the header present?
20310 echo "$as_me:$LINENO: checking png.h presence" >&5
20311 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
20312 cat >conftest.$ac_ext <<_ACEOF
20313 /* confdefs.h. */
20314 _ACEOF
20315 cat confdefs.h >>conftest.$ac_ext
20316 cat >>conftest.$ac_ext <<_ACEOF
20317 /* end confdefs.h. */
20318 #include <png.h>
20319 _ACEOF
20320 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20321 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20322 ac_status=$?
20323 grep -v '^ *+' conftest.er1 >conftest.err
20324 rm -f conftest.er1
20325 cat conftest.err >&5
20326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20327 (exit $ac_status); } >/dev/null; then
20328 if test -s conftest.err; then
20329 ac_cpp_err=$ac_c_preproc_warn_flag
20330 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20331 else
20332 ac_cpp_err=
20333 fi
20334 else
20335 ac_cpp_err=yes
20336 fi
20337 if test -z "$ac_cpp_err"; then
20338 ac_header_preproc=yes
20339 else
20340 echo "$as_me: failed program was:" >&5
20341 sed 's/^/| /' conftest.$ac_ext >&5
20342
20343 ac_header_preproc=no
20344 fi
20345 rm -f conftest.err conftest.$ac_ext
20346 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20347 echo "${ECHO_T}$ac_header_preproc" >&6
20348
20349 # So? What about this header?
20350 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20351 yes:no: )
20352 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
20353 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20354 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
20355 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
20356 ac_header_preproc=yes
20357 ;;
20358 no:yes:* )
20359 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
20360 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
20361 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
20362 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
20363 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
20364 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
20365 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
20366 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
20367 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
20368 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
20369 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
20370 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
20371 (
20372 cat <<\_ASBOX
20373 ## ----------------------------------------- ##
20374 ## Report this to wx-dev@lists.wxwindows.org ##
20375 ## ----------------------------------------- ##
20376 _ASBOX
20377 ) |
20378 sed "s/^/$as_me: WARNING: /" >&2
20379 ;;
20380 esac
20381 echo "$as_me:$LINENO: checking for png.h" >&5
20382 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20383 if test "${ac_cv_header_png_h+set}" = set; then
20384 echo $ECHO_N "(cached) $ECHO_C" >&6
20385 else
20386 ac_cv_header_png_h=$ac_header_preproc
20387 fi
20388 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20389 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20390
20391 fi
20392
20393
20394
20395 if test "$ac_cv_header_png_h" = "yes"; then
20396 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
20397 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
20398 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
20399 echo $ECHO_N "(cached) $ECHO_C" >&6
20400 else
20401 ac_check_lib_save_LIBS=$LIBS
20402 LIBS="-lpng -lz -lm $LIBS"
20403 cat >conftest.$ac_ext <<_ACEOF
20404 /* confdefs.h. */
20405 _ACEOF
20406 cat confdefs.h >>conftest.$ac_ext
20407 cat >>conftest.$ac_ext <<_ACEOF
20408 /* end confdefs.h. */
20409
20410 /* Override any gcc2 internal prototype to avoid an error. */
20411 #ifdef __cplusplus
20412 extern "C"
20413 #endif
20414 /* We use char because int might match the return type of a gcc2
20415 builtin and then its argument prototype would still apply. */
20416 char png_check_sig ();
20417 int
20418 main ()
20419 {
20420 png_check_sig ();
20421 ;
20422 return 0;
20423 }
20424 _ACEOF
20425 rm -f conftest.$ac_objext conftest$ac_exeext
20426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20427 (eval $ac_link) 2>conftest.er1
20428 ac_status=$?
20429 grep -v '^ *+' conftest.er1 >conftest.err
20430 rm -f conftest.er1
20431 cat conftest.err >&5
20432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20433 (exit $ac_status); } &&
20434 { ac_try='test -z "$ac_c_werror_flag"
20435 || test ! -s conftest.err'
20436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20437 (eval $ac_try) 2>&5
20438 ac_status=$?
20439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20440 (exit $ac_status); }; } &&
20441 { ac_try='test -s conftest$ac_exeext'
20442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20443 (eval $ac_try) 2>&5
20444 ac_status=$?
20445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20446 (exit $ac_status); }; }; then
20447 ac_cv_lib_png_png_check_sig=yes
20448 else
20449 echo "$as_me: failed program was:" >&5
20450 sed 's/^/| /' conftest.$ac_ext >&5
20451
20452 ac_cv_lib_png_png_check_sig=no
20453 fi
20454 rm -f conftest.err conftest.$ac_objext \
20455 conftest$ac_exeext conftest.$ac_ext
20456 LIBS=$ac_check_lib_save_LIBS
20457 fi
20458 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
20459 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
20460 if test $ac_cv_lib_png_png_check_sig = yes; then
20461 PNG_LINK=" -lpng"
20462 fi
20463
20464 fi
20465
20466 if test "x$PNG_LINK" = "x" ; then
20467 if test "$wxUSE_LIBPNG" = "sys" ; then
20468 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
20469 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
20470 { (exit 1); exit 1; }; }
20471 else
20472 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
20473 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
20474 wxUSE_LIBPNG=builtin
20475 fi
20476 else
20477 wxUSE_LIBPNG=sys
20478 fi
20479 fi
20480 fi
20481
20482 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
20483 fi
20484
20485
20486 JPEG_LINK=
20487 if test "$wxUSE_LIBJPEG" != "no" ; then
20488 cat >>confdefs.h <<\_ACEOF
20489 #define wxUSE_LIBJPEG 1
20490 _ACEOF
20491
20492
20493 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
20494 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
20495 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
20496 wxUSE_LIBJPEG=sys
20497 fi
20498
20499 if test "$wxUSE_MGL" != 1 ; then
20500 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
20501 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
20502 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
20503 if test "${ac_cv_header_jpeglib_h+set}" = set; then
20504 echo $ECHO_N "(cached) $ECHO_C" >&6
20505 else
20506 cat >conftest.$ac_ext <<_ACEOF
20507 /* confdefs.h. */
20508 _ACEOF
20509 cat confdefs.h >>conftest.$ac_ext
20510 cat >>conftest.$ac_ext <<_ACEOF
20511 /* end confdefs.h. */
20512
20513 #undef HAVE_STDLIB_H
20514 #include <stdio.h>
20515 #include <jpeglib.h>
20516
20517 int
20518 main ()
20519 {
20520
20521
20522 ;
20523 return 0;
20524 }
20525 _ACEOF
20526 rm -f conftest.$ac_objext
20527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20528 (eval $ac_compile) 2>conftest.er1
20529 ac_status=$?
20530 grep -v '^ *+' conftest.er1 >conftest.err
20531 rm -f conftest.er1
20532 cat conftest.err >&5
20533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20534 (exit $ac_status); } &&
20535 { ac_try='test -z "$ac_c_werror_flag"
20536 || test ! -s conftest.err'
20537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20538 (eval $ac_try) 2>&5
20539 ac_status=$?
20540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20541 (exit $ac_status); }; } &&
20542 { ac_try='test -s conftest.$ac_objext'
20543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20544 (eval $ac_try) 2>&5
20545 ac_status=$?
20546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20547 (exit $ac_status); }; }; then
20548 ac_cv_header_jpeglib_h=yes
20549 else
20550 echo "$as_me: failed program was:" >&5
20551 sed 's/^/| /' conftest.$ac_ext >&5
20552
20553 ac_cv_header_jpeglib_h=no
20554
20555 fi
20556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20557
20558 fi
20559
20560 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
20561 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
20562
20563 if test "$ac_cv_header_jpeglib_h" = "yes"; then
20564 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
20565 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
20566 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
20567 echo $ECHO_N "(cached) $ECHO_C" >&6
20568 else
20569 ac_check_lib_save_LIBS=$LIBS
20570 LIBS="-ljpeg $LIBS"
20571 cat >conftest.$ac_ext <<_ACEOF
20572 /* confdefs.h. */
20573 _ACEOF
20574 cat confdefs.h >>conftest.$ac_ext
20575 cat >>conftest.$ac_ext <<_ACEOF
20576 /* end confdefs.h. */
20577
20578 /* Override any gcc2 internal prototype to avoid an error. */
20579 #ifdef __cplusplus
20580 extern "C"
20581 #endif
20582 /* We use char because int might match the return type of a gcc2
20583 builtin and then its argument prototype would still apply. */
20584 char jpeg_read_header ();
20585 int
20586 main ()
20587 {
20588 jpeg_read_header ();
20589 ;
20590 return 0;
20591 }
20592 _ACEOF
20593 rm -f conftest.$ac_objext conftest$ac_exeext
20594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20595 (eval $ac_link) 2>conftest.er1
20596 ac_status=$?
20597 grep -v '^ *+' conftest.er1 >conftest.err
20598 rm -f conftest.er1
20599 cat conftest.err >&5
20600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20601 (exit $ac_status); } &&
20602 { ac_try='test -z "$ac_c_werror_flag"
20603 || test ! -s conftest.err'
20604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20605 (eval $ac_try) 2>&5
20606 ac_status=$?
20607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20608 (exit $ac_status); }; } &&
20609 { ac_try='test -s conftest$ac_exeext'
20610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20611 (eval $ac_try) 2>&5
20612 ac_status=$?
20613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20614 (exit $ac_status); }; }; then
20615 ac_cv_lib_jpeg_jpeg_read_header=yes
20616 else
20617 echo "$as_me: failed program was:" >&5
20618 sed 's/^/| /' conftest.$ac_ext >&5
20619
20620 ac_cv_lib_jpeg_jpeg_read_header=no
20621 fi
20622 rm -f conftest.err conftest.$ac_objext \
20623 conftest$ac_exeext conftest.$ac_ext
20624 LIBS=$ac_check_lib_save_LIBS
20625 fi
20626 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
20627 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
20628 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
20629 JPEG_LINK=" -ljpeg"
20630 fi
20631
20632 fi
20633
20634 if test "x$JPEG_LINK" = "x" ; then
20635 if test "$wxUSE_LIBJPEG" = "sys" ; then
20636 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
20637 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
20638 { (exit 1); exit 1; }; }
20639 else
20640 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
20641 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
20642 wxUSE_LIBJPEG=builtin
20643 fi
20644 else
20645 wxUSE_LIBJPEG=sys
20646 fi
20647 fi
20648 fi
20649 fi
20650
20651
20652 TIFF_LINK=
20653 TIFF_PREREQ_LINKS=-lm
20654 if test "$wxUSE_LIBTIFF" != "no" ; then
20655 cat >>confdefs.h <<\_ACEOF
20656 #define wxUSE_LIBTIFF 1
20657 _ACEOF
20658
20659
20660 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
20661 if test "$wxUSE_LIBJPEG" = "sys"; then
20662 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
20663 fi
20664 if test "$wxUSE_ZLIB" = "sys"; then
20665 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
20666 fi
20667 if test "${ac_cv_header_tiffio_h+set}" = set; then
20668 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20669 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20670 if test "${ac_cv_header_tiffio_h+set}" = set; then
20671 echo $ECHO_N "(cached) $ECHO_C" >&6
20672 fi
20673 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20674 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20675 else
20676 # Is the header compilable?
20677 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
20678 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
20679 cat >conftest.$ac_ext <<_ACEOF
20680 /* confdefs.h. */
20681 _ACEOF
20682 cat confdefs.h >>conftest.$ac_ext
20683 cat >>conftest.$ac_ext <<_ACEOF
20684 /* end confdefs.h. */
20685 $ac_includes_default
20686 #include <tiffio.h>
20687 _ACEOF
20688 rm -f conftest.$ac_objext
20689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20690 (eval $ac_compile) 2>conftest.er1
20691 ac_status=$?
20692 grep -v '^ *+' conftest.er1 >conftest.err
20693 rm -f conftest.er1
20694 cat conftest.err >&5
20695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20696 (exit $ac_status); } &&
20697 { ac_try='test -z "$ac_c_werror_flag"
20698 || test ! -s conftest.err'
20699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20700 (eval $ac_try) 2>&5
20701 ac_status=$?
20702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20703 (exit $ac_status); }; } &&
20704 { ac_try='test -s conftest.$ac_objext'
20705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20706 (eval $ac_try) 2>&5
20707 ac_status=$?
20708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20709 (exit $ac_status); }; }; then
20710 ac_header_compiler=yes
20711 else
20712 echo "$as_me: failed program was:" >&5
20713 sed 's/^/| /' conftest.$ac_ext >&5
20714
20715 ac_header_compiler=no
20716 fi
20717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20718 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20719 echo "${ECHO_T}$ac_header_compiler" >&6
20720
20721 # Is the header present?
20722 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
20723 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
20724 cat >conftest.$ac_ext <<_ACEOF
20725 /* confdefs.h. */
20726 _ACEOF
20727 cat confdefs.h >>conftest.$ac_ext
20728 cat >>conftest.$ac_ext <<_ACEOF
20729 /* end confdefs.h. */
20730 #include <tiffio.h>
20731 _ACEOF
20732 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20733 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20734 ac_status=$?
20735 grep -v '^ *+' conftest.er1 >conftest.err
20736 rm -f conftest.er1
20737 cat conftest.err >&5
20738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20739 (exit $ac_status); } >/dev/null; then
20740 if test -s conftest.err; then
20741 ac_cpp_err=$ac_c_preproc_warn_flag
20742 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20743 else
20744 ac_cpp_err=
20745 fi
20746 else
20747 ac_cpp_err=yes
20748 fi
20749 if test -z "$ac_cpp_err"; then
20750 ac_header_preproc=yes
20751 else
20752 echo "$as_me: failed program was:" >&5
20753 sed 's/^/| /' conftest.$ac_ext >&5
20754
20755 ac_header_preproc=no
20756 fi
20757 rm -f conftest.err conftest.$ac_ext
20758 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20759 echo "${ECHO_T}$ac_header_preproc" >&6
20760
20761 # So? What about this header?
20762 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20763 yes:no: )
20764 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
20765 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20766 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
20767 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
20768 ac_header_preproc=yes
20769 ;;
20770 no:yes:* )
20771 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
20772 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
20773 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
20774 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
20775 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
20776 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
20777 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
20778 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
20779 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
20780 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
20781 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
20782 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
20783 (
20784 cat <<\_ASBOX
20785 ## ----------------------------------------- ##
20786 ## Report this to wx-dev@lists.wxwindows.org ##
20787 ## ----------------------------------------- ##
20788 _ASBOX
20789 ) |
20790 sed "s/^/$as_me: WARNING: /" >&2
20791 ;;
20792 esac
20793 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20794 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20795 if test "${ac_cv_header_tiffio_h+set}" = set; then
20796 echo $ECHO_N "(cached) $ECHO_C" >&6
20797 else
20798 ac_cv_header_tiffio_h=$ac_header_preproc
20799 fi
20800 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20801 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20802
20803 fi
20804 if test $ac_cv_header_tiffio_h = yes; then
20805
20806 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
20807 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
20808 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
20809 echo $ECHO_N "(cached) $ECHO_C" >&6
20810 else
20811 ac_check_lib_save_LIBS=$LIBS
20812 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
20813 cat >conftest.$ac_ext <<_ACEOF
20814 /* confdefs.h. */
20815 _ACEOF
20816 cat confdefs.h >>conftest.$ac_ext
20817 cat >>conftest.$ac_ext <<_ACEOF
20818 /* end confdefs.h. */
20819
20820 /* Override any gcc2 internal prototype to avoid an error. */
20821 #ifdef __cplusplus
20822 extern "C"
20823 #endif
20824 /* We use char because int might match the return type of a gcc2
20825 builtin and then its argument prototype would still apply. */
20826 char TIFFError ();
20827 int
20828 main ()
20829 {
20830 TIFFError ();
20831 ;
20832 return 0;
20833 }
20834 _ACEOF
20835 rm -f conftest.$ac_objext conftest$ac_exeext
20836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20837 (eval $ac_link) 2>conftest.er1
20838 ac_status=$?
20839 grep -v '^ *+' conftest.er1 >conftest.err
20840 rm -f conftest.er1
20841 cat conftest.err >&5
20842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20843 (exit $ac_status); } &&
20844 { ac_try='test -z "$ac_c_werror_flag"
20845 || test ! -s conftest.err'
20846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20847 (eval $ac_try) 2>&5
20848 ac_status=$?
20849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20850 (exit $ac_status); }; } &&
20851 { ac_try='test -s conftest$ac_exeext'
20852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20853 (eval $ac_try) 2>&5
20854 ac_status=$?
20855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20856 (exit $ac_status); }; }; then
20857 ac_cv_lib_tiff_TIFFError=yes
20858 else
20859 echo "$as_me: failed program was:" >&5
20860 sed 's/^/| /' conftest.$ac_ext >&5
20861
20862 ac_cv_lib_tiff_TIFFError=no
20863 fi
20864 rm -f conftest.err conftest.$ac_objext \
20865 conftest$ac_exeext conftest.$ac_ext
20866 LIBS=$ac_check_lib_save_LIBS
20867 fi
20868 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
20869 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
20870 if test $ac_cv_lib_tiff_TIFFError = yes; then
20871 TIFF_LINK=" -ltiff"
20872 fi
20873
20874
20875
20876 fi
20877
20878
20879
20880 if test "x$TIFF_LINK" = "x" ; then
20881 if test "$wxUSE_LIBTIFF" = "sys" ; then
20882 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
20883 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
20884 { (exit 1); exit 1; }; }
20885 else
20886 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
20887 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
20888 wxUSE_LIBTIFF=builtin
20889 fi
20890 else
20891 wxUSE_LIBTIFF=sys
20892 fi
20893 fi
20894 fi
20895
20896
20897 if test "$wxUSE_EXPAT" != "no"; then
20898 wxUSE_XML=yes
20899 cat >>confdefs.h <<\_ACEOF
20900 #define wxUSE_EXPAT 1
20901 _ACEOF
20902
20903 cat >>confdefs.h <<\_ACEOF
20904 #define wxUSE_XML 1
20905 _ACEOF
20906
20907
20908 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
20909 if test "${ac_cv_header_expat_h+set}" = set; then
20910 echo "$as_me:$LINENO: checking for expat.h" >&5
20911 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20912 if test "${ac_cv_header_expat_h+set}" = set; then
20913 echo $ECHO_N "(cached) $ECHO_C" >&6
20914 fi
20915 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20916 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20917 else
20918 # Is the header compilable?
20919 echo "$as_me:$LINENO: checking expat.h usability" >&5
20920 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
20921 cat >conftest.$ac_ext <<_ACEOF
20922 /* confdefs.h. */
20923 _ACEOF
20924 cat confdefs.h >>conftest.$ac_ext
20925 cat >>conftest.$ac_ext <<_ACEOF
20926 /* end confdefs.h. */
20927 $ac_includes_default
20928 #include <expat.h>
20929 _ACEOF
20930 rm -f conftest.$ac_objext
20931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20932 (eval $ac_compile) 2>conftest.er1
20933 ac_status=$?
20934 grep -v '^ *+' conftest.er1 >conftest.err
20935 rm -f conftest.er1
20936 cat conftest.err >&5
20937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20938 (exit $ac_status); } &&
20939 { ac_try='test -z "$ac_c_werror_flag"
20940 || test ! -s conftest.err'
20941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20942 (eval $ac_try) 2>&5
20943 ac_status=$?
20944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20945 (exit $ac_status); }; } &&
20946 { ac_try='test -s conftest.$ac_objext'
20947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20948 (eval $ac_try) 2>&5
20949 ac_status=$?
20950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20951 (exit $ac_status); }; }; then
20952 ac_header_compiler=yes
20953 else
20954 echo "$as_me: failed program was:" >&5
20955 sed 's/^/| /' conftest.$ac_ext >&5
20956
20957 ac_header_compiler=no
20958 fi
20959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20960 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20961 echo "${ECHO_T}$ac_header_compiler" >&6
20962
20963 # Is the header present?
20964 echo "$as_me:$LINENO: checking expat.h presence" >&5
20965 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
20966 cat >conftest.$ac_ext <<_ACEOF
20967 /* confdefs.h. */
20968 _ACEOF
20969 cat confdefs.h >>conftest.$ac_ext
20970 cat >>conftest.$ac_ext <<_ACEOF
20971 /* end confdefs.h. */
20972 #include <expat.h>
20973 _ACEOF
20974 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20975 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20976 ac_status=$?
20977 grep -v '^ *+' conftest.er1 >conftest.err
20978 rm -f conftest.er1
20979 cat conftest.err >&5
20980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20981 (exit $ac_status); } >/dev/null; then
20982 if test -s conftest.err; then
20983 ac_cpp_err=$ac_c_preproc_warn_flag
20984 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20985 else
20986 ac_cpp_err=
20987 fi
20988 else
20989 ac_cpp_err=yes
20990 fi
20991 if test -z "$ac_cpp_err"; then
20992 ac_header_preproc=yes
20993 else
20994 echo "$as_me: failed program was:" >&5
20995 sed 's/^/| /' conftest.$ac_ext >&5
20996
20997 ac_header_preproc=no
20998 fi
20999 rm -f conftest.err conftest.$ac_ext
21000 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21001 echo "${ECHO_T}$ac_header_preproc" >&6
21002
21003 # So? What about this header?
21004 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21005 yes:no: )
21006 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21007 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21008 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21009 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21010 ac_header_preproc=yes
21011 ;;
21012 no:yes:* )
21013 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21014 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21015 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21016 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21017 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21018 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21019 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21020 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21021 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21022 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21023 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21024 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21025 (
21026 cat <<\_ASBOX
21027 ## ----------------------------------------- ##
21028 ## Report this to wx-dev@lists.wxwindows.org ##
21029 ## ----------------------------------------- ##
21030 _ASBOX
21031 ) |
21032 sed "s/^/$as_me: WARNING: /" >&2
21033 ;;
21034 esac
21035 echo "$as_me:$LINENO: checking for expat.h" >&5
21036 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21037 if test "${ac_cv_header_expat_h+set}" = set; then
21038 echo $ECHO_N "(cached) $ECHO_C" >&6
21039 else
21040 ac_cv_header_expat_h=$ac_header_preproc
21041 fi
21042 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21043 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21044
21045 fi
21046 if test $ac_cv_header_expat_h = yes; then
21047 found_expat_h=1
21048 fi
21049
21050
21051 if test "x$found_expat_h" = "x1"; then
21052 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21053 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21054 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21055 echo $ECHO_N "(cached) $ECHO_C" >&6
21056 else
21057
21058
21059
21060 ac_ext=cc
21061 ac_cpp='$CXXCPP $CPPFLAGS'
21062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21065
21066 cat >conftest.$ac_ext <<_ACEOF
21067 /* confdefs.h. */
21068 _ACEOF
21069 cat confdefs.h >>conftest.$ac_ext
21070 cat >>conftest.$ac_ext <<_ACEOF
21071 /* end confdefs.h. */
21072 #include <expat.h>
21073 int
21074 main ()
21075 {
21076
21077 ;
21078 return 0;
21079 }
21080 _ACEOF
21081 rm -f conftest.$ac_objext
21082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21083 (eval $ac_compile) 2>conftest.er1
21084 ac_status=$?
21085 grep -v '^ *+' conftest.er1 >conftest.err
21086 rm -f conftest.er1
21087 cat conftest.err >&5
21088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21089 (exit $ac_status); } &&
21090 { ac_try='test -z "$ac_cxx_werror_flag"
21091 || test ! -s conftest.err'
21092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21093 (eval $ac_try) 2>&5
21094 ac_status=$?
21095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21096 (exit $ac_status); }; } &&
21097 { ac_try='test -s conftest.$ac_objext'
21098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21099 (eval $ac_try) 2>&5
21100 ac_status=$?
21101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21102 (exit $ac_status); }; }; then
21103 wx_cv_expat_is_not_broken=yes
21104 else
21105 echo "$as_me: failed program was:" >&5
21106 sed 's/^/| /' conftest.$ac_ext >&5
21107
21108 wx_cv_expat_is_not_broken=no
21109
21110 fi
21111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21112 ac_ext=c
21113 ac_cpp='$CPP $CPPFLAGS'
21114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21117
21118
21119
21120 fi
21121 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21122 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21123 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21124 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21125 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21126 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21127 echo $ECHO_N "(cached) $ECHO_C" >&6
21128 else
21129 ac_check_lib_save_LIBS=$LIBS
21130 LIBS="-lexpat $LIBS"
21131 cat >conftest.$ac_ext <<_ACEOF
21132 /* confdefs.h. */
21133 _ACEOF
21134 cat confdefs.h >>conftest.$ac_ext
21135 cat >>conftest.$ac_ext <<_ACEOF
21136 /* end confdefs.h. */
21137
21138 /* Override any gcc2 internal prototype to avoid an error. */
21139 #ifdef __cplusplus
21140 extern "C"
21141 #endif
21142 /* We use char because int might match the return type of a gcc2
21143 builtin and then its argument prototype would still apply. */
21144 char XML_ParserCreate ();
21145 int
21146 main ()
21147 {
21148 XML_ParserCreate ();
21149 ;
21150 return 0;
21151 }
21152 _ACEOF
21153 rm -f conftest.$ac_objext conftest$ac_exeext
21154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21155 (eval $ac_link) 2>conftest.er1
21156 ac_status=$?
21157 grep -v '^ *+' conftest.er1 >conftest.err
21158 rm -f conftest.er1
21159 cat conftest.err >&5
21160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21161 (exit $ac_status); } &&
21162 { ac_try='test -z "$ac_c_werror_flag"
21163 || test ! -s conftest.err'
21164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21165 (eval $ac_try) 2>&5
21166 ac_status=$?
21167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21168 (exit $ac_status); }; } &&
21169 { ac_try='test -s conftest$ac_exeext'
21170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21171 (eval $ac_try) 2>&5
21172 ac_status=$?
21173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21174 (exit $ac_status); }; }; then
21175 ac_cv_lib_expat_XML_ParserCreate=yes
21176 else
21177 echo "$as_me: failed program was:" >&5
21178 sed 's/^/| /' conftest.$ac_ext >&5
21179
21180 ac_cv_lib_expat_XML_ParserCreate=no
21181 fi
21182 rm -f conftest.err conftest.$ac_objext \
21183 conftest$ac_exeext conftest.$ac_ext
21184 LIBS=$ac_check_lib_save_LIBS
21185 fi
21186 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21187 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21188 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21189 EXPAT_LINK=" -lexpat"
21190 fi
21191
21192 fi
21193 fi
21194 if test "x$EXPAT_LINK" = "x" ; then
21195 if test "$wxUSE_EXPAT" = "sys" ; then
21196 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21197 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21198 { (exit 1); exit 1; }; }
21199 else
21200 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21201 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21202 wxUSE_EXPAT=builtin
21203 fi
21204 else
21205 wxUSE_EXPAT=sys
21206 fi
21207 fi
21208 if test "$wxUSE_EXPAT" = "builtin" ; then
21209
21210
21211 subdirs="$subdirs src/expat"
21212
21213 fi
21214 fi
21215
21216
21217
21218 if test "$wxUSE_LIBMSPACK" != "no"; then
21219
21220 if test "${ac_cv_header_mspack_h+set}" = set; then
21221 echo "$as_me:$LINENO: checking for mspack.h" >&5
21222 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21223 if test "${ac_cv_header_mspack_h+set}" = set; then
21224 echo $ECHO_N "(cached) $ECHO_C" >&6
21225 fi
21226 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21227 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21228 else
21229 # Is the header compilable?
21230 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21231 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21232 cat >conftest.$ac_ext <<_ACEOF
21233 /* confdefs.h. */
21234 _ACEOF
21235 cat confdefs.h >>conftest.$ac_ext
21236 cat >>conftest.$ac_ext <<_ACEOF
21237 /* end confdefs.h. */
21238 $ac_includes_default
21239 #include <mspack.h>
21240 _ACEOF
21241 rm -f conftest.$ac_objext
21242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21243 (eval $ac_compile) 2>conftest.er1
21244 ac_status=$?
21245 grep -v '^ *+' conftest.er1 >conftest.err
21246 rm -f conftest.er1
21247 cat conftest.err >&5
21248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21249 (exit $ac_status); } &&
21250 { ac_try='test -z "$ac_c_werror_flag"
21251 || test ! -s conftest.err'
21252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21253 (eval $ac_try) 2>&5
21254 ac_status=$?
21255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21256 (exit $ac_status); }; } &&
21257 { ac_try='test -s conftest.$ac_objext'
21258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21259 (eval $ac_try) 2>&5
21260 ac_status=$?
21261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21262 (exit $ac_status); }; }; then
21263 ac_header_compiler=yes
21264 else
21265 echo "$as_me: failed program was:" >&5
21266 sed 's/^/| /' conftest.$ac_ext >&5
21267
21268 ac_header_compiler=no
21269 fi
21270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21271 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21272 echo "${ECHO_T}$ac_header_compiler" >&6
21273
21274 # Is the header present?
21275 echo "$as_me:$LINENO: checking mspack.h presence" >&5
21276 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
21277 cat >conftest.$ac_ext <<_ACEOF
21278 /* confdefs.h. */
21279 _ACEOF
21280 cat confdefs.h >>conftest.$ac_ext
21281 cat >>conftest.$ac_ext <<_ACEOF
21282 /* end confdefs.h. */
21283 #include <mspack.h>
21284 _ACEOF
21285 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21286 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21287 ac_status=$?
21288 grep -v '^ *+' conftest.er1 >conftest.err
21289 rm -f conftest.er1
21290 cat conftest.err >&5
21291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21292 (exit $ac_status); } >/dev/null; then
21293 if test -s conftest.err; then
21294 ac_cpp_err=$ac_c_preproc_warn_flag
21295 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21296 else
21297 ac_cpp_err=
21298 fi
21299 else
21300 ac_cpp_err=yes
21301 fi
21302 if test -z "$ac_cpp_err"; then
21303 ac_header_preproc=yes
21304 else
21305 echo "$as_me: failed program was:" >&5
21306 sed 's/^/| /' conftest.$ac_ext >&5
21307
21308 ac_header_preproc=no
21309 fi
21310 rm -f conftest.err conftest.$ac_ext
21311 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21312 echo "${ECHO_T}$ac_header_preproc" >&6
21313
21314 # So? What about this header?
21315 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21316 yes:no: )
21317 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
21318 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21319 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
21320 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
21321 ac_header_preproc=yes
21322 ;;
21323 no:yes:* )
21324 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
21325 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
21326 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
21327 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
21328 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
21329 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
21330 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
21331 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
21332 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
21333 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
21334 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
21335 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
21336 (
21337 cat <<\_ASBOX
21338 ## ----------------------------------------- ##
21339 ## Report this to wx-dev@lists.wxwindows.org ##
21340 ## ----------------------------------------- ##
21341 _ASBOX
21342 ) |
21343 sed "s/^/$as_me: WARNING: /" >&2
21344 ;;
21345 esac
21346 echo "$as_me:$LINENO: checking for mspack.h" >&5
21347 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21348 if test "${ac_cv_header_mspack_h+set}" = set; then
21349 echo $ECHO_N "(cached) $ECHO_C" >&6
21350 else
21351 ac_cv_header_mspack_h=$ac_header_preproc
21352 fi
21353 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21354 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21355
21356 fi
21357 if test $ac_cv_header_mspack_h = yes; then
21358 found_mspack_h=1
21359 fi
21360
21361
21362 if test "x$found_mspack_h" = "x1"; then
21363 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
21364 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
21365 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
21366 echo $ECHO_N "(cached) $ECHO_C" >&6
21367 else
21368 ac_check_lib_save_LIBS=$LIBS
21369 LIBS="-lmspack $LIBS"
21370 cat >conftest.$ac_ext <<_ACEOF
21371 /* confdefs.h. */
21372 _ACEOF
21373 cat confdefs.h >>conftest.$ac_ext
21374 cat >>conftest.$ac_ext <<_ACEOF
21375 /* end confdefs.h. */
21376
21377 /* Override any gcc2 internal prototype to avoid an error. */
21378 #ifdef __cplusplus
21379 extern "C"
21380 #endif
21381 /* We use char because int might match the return type of a gcc2
21382 builtin and then its argument prototype would still apply. */
21383 char mspack_create_chm_decompressor ();
21384 int
21385 main ()
21386 {
21387 mspack_create_chm_decompressor ();
21388 ;
21389 return 0;
21390 }
21391 _ACEOF
21392 rm -f conftest.$ac_objext conftest$ac_exeext
21393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21394 (eval $ac_link) 2>conftest.er1
21395 ac_status=$?
21396 grep -v '^ *+' conftest.er1 >conftest.err
21397 rm -f conftest.er1
21398 cat conftest.err >&5
21399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21400 (exit $ac_status); } &&
21401 { ac_try='test -z "$ac_c_werror_flag"
21402 || test ! -s conftest.err'
21403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21404 (eval $ac_try) 2>&5
21405 ac_status=$?
21406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21407 (exit $ac_status); }; } &&
21408 { ac_try='test -s conftest$ac_exeext'
21409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21410 (eval $ac_try) 2>&5
21411 ac_status=$?
21412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21413 (exit $ac_status); }; }; then
21414 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
21415 else
21416 echo "$as_me: failed program was:" >&5
21417 sed 's/^/| /' conftest.$ac_ext >&5
21418
21419 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
21420 fi
21421 rm -f conftest.err conftest.$ac_objext \
21422 conftest$ac_exeext conftest.$ac_ext
21423 LIBS=$ac_check_lib_save_LIBS
21424 fi
21425 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
21426 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
21427 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
21428 MSPACK_LINK=" -lmspack"
21429 fi
21430
21431 fi
21432 if test "x$MSPACK_LINK" = "x" ; then
21433 wxUSE_LIBMSPACK=no
21434 else
21435 cat >>confdefs.h <<\_ACEOF
21436 #define wxUSE_LIBMSPACK 1
21437 _ACEOF
21438
21439 fi
21440 fi
21441
21442
21443
21444 AFMINSTALL=
21445 WIN32INSTALL=
21446
21447 TOOLKIT=
21448 TOOLKIT_INCLUDE=
21449 WIDGET_SET=
21450
21451 if test "$USE_WIN32" = 1 ; then
21452
21453 for ac_header in w32api.h
21454 do
21455 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21457 echo "$as_me:$LINENO: checking for $ac_header" >&5
21458 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21459 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21460 echo $ECHO_N "(cached) $ECHO_C" >&6
21461 fi
21462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21463 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21464 else
21465 # Is the header compilable?
21466 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21467 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21468 cat >conftest.$ac_ext <<_ACEOF
21469 /* confdefs.h. */
21470 _ACEOF
21471 cat confdefs.h >>conftest.$ac_ext
21472 cat >>conftest.$ac_ext <<_ACEOF
21473 /* end confdefs.h. */
21474 $ac_includes_default
21475 #include <$ac_header>
21476 _ACEOF
21477 rm -f conftest.$ac_objext
21478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21479 (eval $ac_compile) 2>conftest.er1
21480 ac_status=$?
21481 grep -v '^ *+' conftest.er1 >conftest.err
21482 rm -f conftest.er1
21483 cat conftest.err >&5
21484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21485 (exit $ac_status); } &&
21486 { ac_try='test -z "$ac_c_werror_flag"
21487 || test ! -s conftest.err'
21488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21489 (eval $ac_try) 2>&5
21490 ac_status=$?
21491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21492 (exit $ac_status); }; } &&
21493 { ac_try='test -s conftest.$ac_objext'
21494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21495 (eval $ac_try) 2>&5
21496 ac_status=$?
21497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21498 (exit $ac_status); }; }; then
21499 ac_header_compiler=yes
21500 else
21501 echo "$as_me: failed program was:" >&5
21502 sed 's/^/| /' conftest.$ac_ext >&5
21503
21504 ac_header_compiler=no
21505 fi
21506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21507 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21508 echo "${ECHO_T}$ac_header_compiler" >&6
21509
21510 # Is the header present?
21511 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21512 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21513 cat >conftest.$ac_ext <<_ACEOF
21514 /* confdefs.h. */
21515 _ACEOF
21516 cat confdefs.h >>conftest.$ac_ext
21517 cat >>conftest.$ac_ext <<_ACEOF
21518 /* end confdefs.h. */
21519 #include <$ac_header>
21520 _ACEOF
21521 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21522 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21523 ac_status=$?
21524 grep -v '^ *+' conftest.er1 >conftest.err
21525 rm -f conftest.er1
21526 cat conftest.err >&5
21527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21528 (exit $ac_status); } >/dev/null; then
21529 if test -s conftest.err; then
21530 ac_cpp_err=$ac_c_preproc_warn_flag
21531 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21532 else
21533 ac_cpp_err=
21534 fi
21535 else
21536 ac_cpp_err=yes
21537 fi
21538 if test -z "$ac_cpp_err"; then
21539 ac_header_preproc=yes
21540 else
21541 echo "$as_me: failed program was:" >&5
21542 sed 's/^/| /' conftest.$ac_ext >&5
21543
21544 ac_header_preproc=no
21545 fi
21546 rm -f conftest.err conftest.$ac_ext
21547 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21548 echo "${ECHO_T}$ac_header_preproc" >&6
21549
21550 # So? What about this header?
21551 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21552 yes:no: )
21553 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21554 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21555 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21556 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21557 ac_header_preproc=yes
21558 ;;
21559 no:yes:* )
21560 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21561 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21562 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21563 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21564 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21565 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21566 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21567 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21568 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21569 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21570 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21571 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21572 (
21573 cat <<\_ASBOX
21574 ## ----------------------------------------- ##
21575 ## Report this to wx-dev@lists.wxwindows.org ##
21576 ## ----------------------------------------- ##
21577 _ASBOX
21578 ) |
21579 sed "s/^/$as_me: WARNING: /" >&2
21580 ;;
21581 esac
21582 echo "$as_me:$LINENO: checking for $ac_header" >&5
21583 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21584 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21585 echo $ECHO_N "(cached) $ECHO_C" >&6
21586 else
21587 eval "$as_ac_Header=\$ac_header_preproc"
21588 fi
21589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21590 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21591
21592 fi
21593 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21594 cat >>confdefs.h <<_ACEOF
21595 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21596 _ACEOF
21597
21598 fi
21599
21600 done
21601
21602 if test "${ac_cv_header_windows_h+set}" = set; then
21603 echo "$as_me:$LINENO: checking for windows.h" >&5
21604 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21605 if test "${ac_cv_header_windows_h+set}" = set; then
21606 echo $ECHO_N "(cached) $ECHO_C" >&6
21607 fi
21608 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21609 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21610 else
21611 # Is the header compilable?
21612 echo "$as_me:$LINENO: checking windows.h usability" >&5
21613 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
21614 cat >conftest.$ac_ext <<_ACEOF
21615 /* confdefs.h. */
21616 _ACEOF
21617 cat confdefs.h >>conftest.$ac_ext
21618 cat >>conftest.$ac_ext <<_ACEOF
21619 /* end confdefs.h. */
21620 $ac_includes_default
21621 #include <windows.h>
21622 _ACEOF
21623 rm -f conftest.$ac_objext
21624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21625 (eval $ac_compile) 2>conftest.er1
21626 ac_status=$?
21627 grep -v '^ *+' conftest.er1 >conftest.err
21628 rm -f conftest.er1
21629 cat conftest.err >&5
21630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21631 (exit $ac_status); } &&
21632 { ac_try='test -z "$ac_c_werror_flag"
21633 || test ! -s conftest.err'
21634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21635 (eval $ac_try) 2>&5
21636 ac_status=$?
21637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21638 (exit $ac_status); }; } &&
21639 { ac_try='test -s conftest.$ac_objext'
21640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21641 (eval $ac_try) 2>&5
21642 ac_status=$?
21643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21644 (exit $ac_status); }; }; then
21645 ac_header_compiler=yes
21646 else
21647 echo "$as_me: failed program was:" >&5
21648 sed 's/^/| /' conftest.$ac_ext >&5
21649
21650 ac_header_compiler=no
21651 fi
21652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21653 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21654 echo "${ECHO_T}$ac_header_compiler" >&6
21655
21656 # Is the header present?
21657 echo "$as_me:$LINENO: checking windows.h presence" >&5
21658 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
21659 cat >conftest.$ac_ext <<_ACEOF
21660 /* confdefs.h. */
21661 _ACEOF
21662 cat confdefs.h >>conftest.$ac_ext
21663 cat >>conftest.$ac_ext <<_ACEOF
21664 /* end confdefs.h. */
21665 #include <windows.h>
21666 _ACEOF
21667 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21668 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21669 ac_status=$?
21670 grep -v '^ *+' conftest.er1 >conftest.err
21671 rm -f conftest.er1
21672 cat conftest.err >&5
21673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21674 (exit $ac_status); } >/dev/null; then
21675 if test -s conftest.err; then
21676 ac_cpp_err=$ac_c_preproc_warn_flag
21677 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21678 else
21679 ac_cpp_err=
21680 fi
21681 else
21682 ac_cpp_err=yes
21683 fi
21684 if test -z "$ac_cpp_err"; then
21685 ac_header_preproc=yes
21686 else
21687 echo "$as_me: failed program was:" >&5
21688 sed 's/^/| /' conftest.$ac_ext >&5
21689
21690 ac_header_preproc=no
21691 fi
21692 rm -f conftest.err conftest.$ac_ext
21693 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21694 echo "${ECHO_T}$ac_header_preproc" >&6
21695
21696 # So? What about this header?
21697 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21698 yes:no: )
21699 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
21700 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21701 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
21702 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
21703 ac_header_preproc=yes
21704 ;;
21705 no:yes:* )
21706 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
21707 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
21708 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
21709 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
21710 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
21711 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
21712 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
21713 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
21714 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
21715 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
21716 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
21717 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
21718 (
21719 cat <<\_ASBOX
21720 ## ----------------------------------------- ##
21721 ## Report this to wx-dev@lists.wxwindows.org ##
21722 ## ----------------------------------------- ##
21723 _ASBOX
21724 ) |
21725 sed "s/^/$as_me: WARNING: /" >&2
21726 ;;
21727 esac
21728 echo "$as_me:$LINENO: checking for windows.h" >&5
21729 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21730 if test "${ac_cv_header_windows_h+set}" = set; then
21731 echo $ECHO_N "(cached) $ECHO_C" >&6
21732 else
21733 ac_cv_header_windows_h=$ac_header_preproc
21734 fi
21735 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21736 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21737
21738 fi
21739 if test $ac_cv_header_windows_h = yes; then
21740 :
21741 else
21742
21743 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
21744 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
21745 { (exit 1); exit 1; }; }
21746
21747 fi
21748
21749
21750
21751 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
21752
21753 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
21754 LIBS="$LIBS -loleacc"
21755 fi
21756
21757 case "${host}" in
21758 *-*-cygwin* )
21759 LIBS="$LIBS -lkernel32 -luser32"
21760 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
21761 esac
21762
21763 if test "$wxUSE_ODBC" = "sys" ; then
21764 wxUSE_ODBC = "yes"
21765 fi
21766 if test "$wxUSE_ODBC" = "yes" ; then
21767 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
21768 cat >>confdefs.h <<\_ACEOF
21769 #define wxUSE_ODBC 1
21770 _ACEOF
21771
21772 fi
21773
21774 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
21775 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
21776
21777 WIN32INSTALL=win32install
21778 fi
21779
21780 if test "$wxUSE_GUI" = "yes"; then
21781 USE_GUI=1
21782
21783 GUI_TK_LIBRARY=
21784
21785 WXGTK12=
21786 WXGTK127=
21787 WXGTK20=
21788 WXGPE=
21789
21790 if test "$wxUSE_MSW" = 1 ; then
21791 TOOLKIT=MSW
21792 GUIDIST=MSW_DIST
21793
21794 case "${host}" in
21795 *-*-mingw32* )
21796 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
21797 esac
21798 fi
21799
21800 if test "$wxUSE_GTK" = 1; then
21801 echo "$as_me:$LINENO: checking for GTK+ version" >&5
21802 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
21803
21804 gtk_version_cached=1
21805 if test "${wx_cv_lib_gtk+set}" = set; then
21806 echo $ECHO_N "(cached) $ECHO_C" >&6
21807 else
21808
21809 gtk_version_cached=0
21810 echo "$as_me:$LINENO: result: " >&5
21811 echo "${ECHO_T}" >&6
21812
21813 GTK_MODULES=
21814 if test "$wxUSE_THREADS" = "yes"; then
21815 GTK_MODULES=gthread
21816 fi
21817
21818 wx_cv_lib_gtk=
21819 if test "x$wxUSE_GTK2" = "xyes"; then
21820 # Check whether --enable-gtktest or --disable-gtktest was given.
21821 if test "${enable_gtktest+set}" = set; then
21822 enableval="$enable_gtktest"
21823
21824 else
21825 enable_gtktest=yes
21826 fi;
21827
21828 pkg_config_args=gtk+-2.0
21829 for module in . $GTK_MODULES
21830 do
21831 case "$module" in
21832 gthread)
21833 pkg_config_args="$pkg_config_args gthread-2.0"
21834 ;;
21835 esac
21836 done
21837
21838 no_gtk=""
21839
21840 # Extract the first word of "pkg-config", so it can be a program name with args.
21841 set dummy pkg-config; ac_word=$2
21842 echo "$as_me:$LINENO: checking for $ac_word" >&5
21843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21844 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21845 echo $ECHO_N "(cached) $ECHO_C" >&6
21846 else
21847 case $PKG_CONFIG in
21848 [\\/]* | ?:[\\/]*)
21849 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21850 ;;
21851 *)
21852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21853 for as_dir in $PATH
21854 do
21855 IFS=$as_save_IFS
21856 test -z "$as_dir" && as_dir=.
21857 for ac_exec_ext in '' $ac_executable_extensions; do
21858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21859 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21861 break 2
21862 fi
21863 done
21864 done
21865
21866 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21867 ;;
21868 esac
21869 fi
21870 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21871
21872 if test -n "$PKG_CONFIG"; then
21873 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21874 echo "${ECHO_T}$PKG_CONFIG" >&6
21875 else
21876 echo "$as_me:$LINENO: result: no" >&5
21877 echo "${ECHO_T}no" >&6
21878 fi
21879
21880
21881 if test x$PKG_CONFIG != xno ; then
21882 if pkg-config --atleast-pkgconfig-version 0.7 ; then
21883 :
21884 else
21885 echo *** pkg-config too old; version 0.7 or better required.
21886 no_gtk=yes
21887 PKG_CONFIG=no
21888 fi
21889 else
21890 no_gtk=yes
21891 fi
21892
21893 min_gtk_version=2.0.0
21894 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
21895 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
21896
21897 if test x$PKG_CONFIG != xno ; then
21898 ## don't try to run the test against uninstalled libtool libs
21899 if $PKG_CONFIG --uninstalled $pkg_config_args; then
21900 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
21901 enable_gtktest=no
21902 fi
21903
21904 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
21905 :
21906 else
21907 no_gtk=yes
21908 fi
21909 fi
21910
21911 if test x"$no_gtk" = x ; then
21912 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
21913 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
21914 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
21915 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21916 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
21917 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21918 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
21919 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21920 if test "x$enable_gtktest" = "xyes" ; then
21921 ac_save_CFLAGS="$CFLAGS"
21922 ac_save_LIBS="$LIBS"
21923 CFLAGS="$CFLAGS $GTK_CFLAGS"
21924 LIBS="$GTK_LIBS $LIBS"
21925 rm -f conf.gtktest
21926 if test "$cross_compiling" = yes; then
21927 echo $ac_n "cross compiling; assumed OK... $ac_c"
21928 else
21929 cat >conftest.$ac_ext <<_ACEOF
21930 /* confdefs.h. */
21931 _ACEOF
21932 cat confdefs.h >>conftest.$ac_ext
21933 cat >>conftest.$ac_ext <<_ACEOF
21934 /* end confdefs.h. */
21935
21936 #include <gtk/gtk.h>
21937 #include <stdio.h>
21938 #include <stdlib.h>
21939
21940 int
21941 main ()
21942 {
21943 int major, minor, micro;
21944 char *tmp_version;
21945
21946 system ("touch conf.gtktest");
21947
21948 /* HP/UX 9 (%@#!) writes to sscanf strings */
21949 tmp_version = g_strdup("$min_gtk_version");
21950 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
21951 printf("%s, bad version string\n", "$min_gtk_version");
21952 exit(1);
21953 }
21954
21955 if ((gtk_major_version != $gtk_config_major_version) ||
21956 (gtk_minor_version != $gtk_config_minor_version) ||
21957 (gtk_micro_version != $gtk_config_micro_version))
21958 {
21959 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21960 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21961 gtk_major_version, gtk_minor_version, gtk_micro_version);
21962 printf ("*** was found! If pkg-config was correct, then it is best\n");
21963 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21964 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21965 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21966 printf("*** required on your system.\n");
21967 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
21968 printf("*** to point to the correct configuration files\n");
21969 }
21970 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21971 (gtk_minor_version != GTK_MINOR_VERSION) ||
21972 (gtk_micro_version != GTK_MICRO_VERSION))
21973 {
21974 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21975 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21976 printf("*** library (version %d.%d.%d)\n",
21977 gtk_major_version, gtk_minor_version, gtk_micro_version);
21978 }
21979 else
21980 {
21981 if ((gtk_major_version > major) ||
21982 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21983 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21984 {
21985 return 0;
21986 }
21987 else
21988 {
21989 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21990 gtk_major_version, gtk_minor_version, gtk_micro_version);
21991 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21992 major, minor, micro);
21993 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21994 printf("***\n");
21995 printf("*** If you have already installed a sufficiently new version, this error\n");
21996 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
21997 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21998 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
21999 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22000 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22001 printf("*** so that the correct libraries are found at run-time))\n");
22002 }
22003 }
22004 return 1;
22005 }
22006
22007 _ACEOF
22008 rm -f conftest$ac_exeext
22009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22010 (eval $ac_link) 2>&5
22011 ac_status=$?
22012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22013 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22015 (eval $ac_try) 2>&5
22016 ac_status=$?
22017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22018 (exit $ac_status); }; }; then
22019 :
22020 else
22021 echo "$as_me: program exited with status $ac_status" >&5
22022 echo "$as_me: failed program was:" >&5
22023 sed 's/^/| /' conftest.$ac_ext >&5
22024
22025 ( exit $ac_status )
22026 no_gtk=yes
22027 fi
22028 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22029 fi
22030 CFLAGS="$ac_save_CFLAGS"
22031 LIBS="$ac_save_LIBS"
22032 fi
22033 fi
22034 if test "x$no_gtk" = x ; then
22035 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22036 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22037 wx_cv_lib_gtk=2.0
22038 else
22039 echo "$as_me:$LINENO: result: no" >&5
22040 echo "${ECHO_T}no" >&6
22041 if test "$PKG_CONFIG" = "no" ; then
22042 echo "*** A new enough version of pkg-config was not found."
22043 echo "*** See http://pkgconfig.sourceforge.net"
22044 else
22045 if test -f conf.gtktest ; then
22046 :
22047 else
22048 echo "*** Could not run GTK+ test program, checking why..."
22049 ac_save_CFLAGS="$CFLAGS"
22050 ac_save_LIBS="$LIBS"
22051 CFLAGS="$CFLAGS $GTK_CFLAGS"
22052 LIBS="$LIBS $GTK_LIBS"
22053 cat >conftest.$ac_ext <<_ACEOF
22054 /* confdefs.h. */
22055 _ACEOF
22056 cat confdefs.h >>conftest.$ac_ext
22057 cat >>conftest.$ac_ext <<_ACEOF
22058 /* end confdefs.h. */
22059
22060 #include <gtk/gtk.h>
22061 #include <stdio.h>
22062
22063 int
22064 main ()
22065 {
22066 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22067 ;
22068 return 0;
22069 }
22070 _ACEOF
22071 rm -f conftest.$ac_objext conftest$ac_exeext
22072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22073 (eval $ac_link) 2>conftest.er1
22074 ac_status=$?
22075 grep -v '^ *+' conftest.er1 >conftest.err
22076 rm -f conftest.er1
22077 cat conftest.err >&5
22078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22079 (exit $ac_status); } &&
22080 { ac_try='test -z "$ac_c_werror_flag"
22081 || test ! -s conftest.err'
22082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22083 (eval $ac_try) 2>&5
22084 ac_status=$?
22085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22086 (exit $ac_status); }; } &&
22087 { ac_try='test -s conftest$ac_exeext'
22088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22089 (eval $ac_try) 2>&5
22090 ac_status=$?
22091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22092 (exit $ac_status); }; }; then
22093 echo "*** The test program compiled, but did not run. This usually means"
22094 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22095 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22096 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22097 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22098 echo "*** is required on your system"
22099 echo "***"
22100 echo "*** If you have an old version installed, it is best to remove it, although"
22101 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22102 else
22103 echo "$as_me: failed program was:" >&5
22104 sed 's/^/| /' conftest.$ac_ext >&5
22105
22106 echo "*** The test program failed to compile or link. See the file config.log for the"
22107 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22108 fi
22109 rm -f conftest.err conftest.$ac_objext \
22110 conftest$ac_exeext conftest.$ac_ext
22111 CFLAGS="$ac_save_CFLAGS"
22112 LIBS="$ac_save_LIBS"
22113 fi
22114 fi
22115 GTK_CFLAGS=""
22116 GTK_LIBS=""
22117 :
22118 fi
22119
22120
22121 rm -f conf.gtktest
22122
22123 else
22124
22125 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22126 if test "${with_gtk_prefix+set}" = set; then
22127 withval="$with_gtk_prefix"
22128 gtk_config_prefix="$withval"
22129 else
22130 gtk_config_prefix=""
22131 fi;
22132
22133 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22134 if test "${with_gtk_exec_prefix+set}" = set; then
22135 withval="$with_gtk_exec_prefix"
22136 gtk_config_exec_prefix="$withval"
22137 else
22138 gtk_config_exec_prefix=""
22139 fi;
22140 # Check whether --enable-gtktest or --disable-gtktest was given.
22141 if test "${enable_gtktest+set}" = set; then
22142 enableval="$enable_gtktest"
22143
22144 else
22145 enable_gtktest=yes
22146 fi;
22147
22148 for module in . $GTK_MODULES
22149 do
22150 case "$module" in
22151 gthread)
22152 gtk_config_args="$gtk_config_args gthread"
22153 ;;
22154 esac
22155 done
22156
22157 if test x$gtk_config_exec_prefix != x ; then
22158 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22159 if test x${GTK_CONFIG+set} != xset ; then
22160 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
22161 fi
22162 fi
22163 if test x$gtk_config_prefix != x ; then
22164 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
22165 if test x${GTK_CONFIG+set} != xset ; then
22166 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
22167 fi
22168 fi
22169
22170 # Extract the first word of "gtk-config", so it can be a program name with args.
22171 set dummy gtk-config; ac_word=$2
22172 echo "$as_me:$LINENO: checking for $ac_word" >&5
22173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22174 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22175 echo $ECHO_N "(cached) $ECHO_C" >&6
22176 else
22177 case $GTK_CONFIG in
22178 [\\/]* | ?:[\\/]*)
22179 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
22180 ;;
22181 *)
22182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22183 for as_dir in $PATH
22184 do
22185 IFS=$as_save_IFS
22186 test -z "$as_dir" && as_dir=.
22187 for ac_exec_ext in '' $ac_executable_extensions; do
22188 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22189 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22191 break 2
22192 fi
22193 done
22194 done
22195
22196 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
22197 ;;
22198 esac
22199 fi
22200 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
22201
22202 if test -n "$GTK_CONFIG"; then
22203 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22204 echo "${ECHO_T}$GTK_CONFIG" >&6
22205 else
22206 echo "$as_me:$LINENO: result: no" >&5
22207 echo "${ECHO_T}no" >&6
22208 fi
22209
22210 min_gtk_version=1.2.7
22211 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22212 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22213 no_gtk=""
22214 if test "$GTK_CONFIG" = "no" ; then
22215 no_gtk=yes
22216 else
22217 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
22218 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
22219 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
22220 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22221 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
22222 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22223 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
22224 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22225 if test "x$enable_gtktest" = "xyes" ; then
22226 ac_save_CFLAGS="$CFLAGS"
22227 ac_save_LIBS="$LIBS"
22228 CFLAGS="$CFLAGS $GTK_CFLAGS"
22229 LIBS="$GTK_LIBS $LIBS"
22230 rm -f conf.gtktest
22231 if test "$cross_compiling" = yes; then
22232 echo $ac_n "cross compiling; assumed OK... $ac_c"
22233 else
22234 cat >conftest.$ac_ext <<_ACEOF
22235 /* confdefs.h. */
22236 _ACEOF
22237 cat confdefs.h >>conftest.$ac_ext
22238 cat >>conftest.$ac_ext <<_ACEOF
22239 /* end confdefs.h. */
22240
22241 #include <gtk/gtk.h>
22242 #include <stdio.h>
22243 #include <stdlib.h>
22244
22245 int
22246 main ()
22247 {
22248 int major, minor, micro;
22249 char *tmp_version;
22250
22251 system ("touch conf.gtktest");
22252
22253 /* HP/UX 9 (%@#!) writes to sscanf strings */
22254 tmp_version = g_strdup("$min_gtk_version");
22255 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
22256 printf("%s, bad version string\n", "$min_gtk_version");
22257 exit(1);
22258 }
22259
22260 if ((gtk_major_version != $gtk_config_major_version) ||
22261 (gtk_minor_version != $gtk_config_minor_version) ||
22262 (gtk_micro_version != $gtk_config_micro_version))
22263 {
22264 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22265 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22266 gtk_major_version, gtk_minor_version, gtk_micro_version);
22267 printf ("*** was found! If gtk-config was correct, then it is best\n");
22268 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22269 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22270 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22271 printf("*** required on your system.\n");
22272 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22273 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22274 printf("*** before re-running configure\n");
22275 }
22276 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22277 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22278 (gtk_minor_version != GTK_MINOR_VERSION) ||
22279 (gtk_micro_version != GTK_MICRO_VERSION))
22280 {
22281 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22282 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22283 printf("*** library (version %d.%d.%d)\n",
22284 gtk_major_version, gtk_minor_version, gtk_micro_version);
22285 }
22286 #endif /* defined (GTK_MAJOR_VERSION) ... */
22287 else
22288 {
22289 if ((gtk_major_version > major) ||
22290 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22291 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22292 {
22293 return 0;
22294 }
22295 else
22296 {
22297 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22298 gtk_major_version, gtk_minor_version, gtk_micro_version);
22299 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22300 major, minor, micro);
22301 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22302 printf("***\n");
22303 printf("*** If you have already installed a sufficiently new version, this error\n");
22304 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22305 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22306 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22307 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22308 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22309 printf("*** so that the correct libraries are found at run-time))\n");
22310 }
22311 }
22312 return 1;
22313 }
22314
22315 _ACEOF
22316 rm -f conftest$ac_exeext
22317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22318 (eval $ac_link) 2>&5
22319 ac_status=$?
22320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22321 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22323 (eval $ac_try) 2>&5
22324 ac_status=$?
22325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22326 (exit $ac_status); }; }; then
22327 :
22328 else
22329 echo "$as_me: program exited with status $ac_status" >&5
22330 echo "$as_me: failed program was:" >&5
22331 sed 's/^/| /' conftest.$ac_ext >&5
22332
22333 ( exit $ac_status )
22334 no_gtk=yes
22335 fi
22336 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22337 fi
22338 CFLAGS="$ac_save_CFLAGS"
22339 LIBS="$ac_save_LIBS"
22340 fi
22341 fi
22342 if test "x$no_gtk" = x ; then
22343 echo "$as_me:$LINENO: result: yes" >&5
22344 echo "${ECHO_T}yes" >&6
22345 wx_cv_lib_gtk=1.2.7
22346 else
22347 echo "$as_me:$LINENO: result: no" >&5
22348 echo "${ECHO_T}no" >&6
22349 if test "$GTK_CONFIG" = "no" ; then
22350 echo "*** The gtk-config script installed by GTK could not be found"
22351 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22352 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22353 echo "*** full path to gtk-config."
22354 else
22355 if test -f conf.gtktest ; then
22356 :
22357 else
22358 echo "*** Could not run GTK test program, checking why..."
22359 CFLAGS="$CFLAGS $GTK_CFLAGS"
22360 LIBS="$LIBS $GTK_LIBS"
22361 cat >conftest.$ac_ext <<_ACEOF
22362 /* confdefs.h. */
22363 _ACEOF
22364 cat confdefs.h >>conftest.$ac_ext
22365 cat >>conftest.$ac_ext <<_ACEOF
22366 /* end confdefs.h. */
22367
22368 #include <gtk/gtk.h>
22369 #include <stdio.h>
22370
22371 int
22372 main ()
22373 {
22374 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22375 ;
22376 return 0;
22377 }
22378 _ACEOF
22379 rm -f conftest.$ac_objext conftest$ac_exeext
22380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22381 (eval $ac_link) 2>conftest.er1
22382 ac_status=$?
22383 grep -v '^ *+' conftest.er1 >conftest.err
22384 rm -f conftest.er1
22385 cat conftest.err >&5
22386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22387 (exit $ac_status); } &&
22388 { ac_try='test -z "$ac_c_werror_flag"
22389 || test ! -s conftest.err'
22390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22391 (eval $ac_try) 2>&5
22392 ac_status=$?
22393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22394 (exit $ac_status); }; } &&
22395 { ac_try='test -s conftest$ac_exeext'
22396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22397 (eval $ac_try) 2>&5
22398 ac_status=$?
22399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22400 (exit $ac_status); }; }; then
22401 echo "*** The test program compiled, but did not run. This usually means"
22402 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22403 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22404 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22405 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22406 echo "*** is required on your system"
22407 echo "***"
22408 echo "*** If you have an old version installed, it is best to remove it, although"
22409 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22410 echo "***"
22411 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22412 echo "*** came with the system with the command"
22413 echo "***"
22414 echo "*** rpm --erase --nodeps gtk gtk-devel"
22415 else
22416 echo "$as_me: failed program was:" >&5
22417 sed 's/^/| /' conftest.$ac_ext >&5
22418
22419 echo "*** The test program failed to compile or link. See the file config.log for the"
22420 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22421 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22422 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22423 fi
22424 rm -f conftest.err conftest.$ac_objext \
22425 conftest$ac_exeext conftest.$ac_ext
22426 CFLAGS="$ac_save_CFLAGS"
22427 LIBS="$ac_save_LIBS"
22428 fi
22429 fi
22430 GTK_CFLAGS=""
22431 GTK_LIBS=""
22432 :
22433 fi
22434
22435
22436 rm -f conf.gtktest
22437
22438
22439 if test -z "$wx_cv_lib_gtk"; then
22440
22441 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22442 if test "${with_gtk_prefix+set}" = set; then
22443 withval="$with_gtk_prefix"
22444 gtk_config_prefix="$withval"
22445 else
22446 gtk_config_prefix=""
22447 fi;
22448
22449 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22450 if test "${with_gtk_exec_prefix+set}" = set; then
22451 withval="$with_gtk_exec_prefix"
22452 gtk_config_exec_prefix="$withval"
22453 else
22454 gtk_config_exec_prefix=""
22455 fi;
22456 # Check whether --enable-gtktest or --disable-gtktest was given.
22457 if test "${enable_gtktest+set}" = set; then
22458 enableval="$enable_gtktest"
22459
22460 else
22461 enable_gtktest=yes
22462 fi;
22463
22464 for module in . $GTK_MODULES
22465 do
22466 case "$module" in
22467 gthread)
22468 gtk_config_args="$gtk_config_args gthread"
22469 ;;
22470 esac
22471 done
22472
22473 if test x$gtk_config_exec_prefix != x ; then
22474 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22475 if test x${GTK_CONFIG+set} != xset ; then
22476 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
22477 fi
22478 fi
22479 if test x$gtk_config_prefix != x ; then
22480 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
22481 if test x${GTK_CONFIG+set} != xset ; then
22482 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
22483 fi
22484 fi
22485
22486 # Extract the first word of "gtk-config", so it can be a program name with args.
22487 set dummy gtk-config; ac_word=$2
22488 echo "$as_me:$LINENO: checking for $ac_word" >&5
22489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22490 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22491 echo $ECHO_N "(cached) $ECHO_C" >&6
22492 else
22493 case $GTK_CONFIG in
22494 [\\/]* | ?:[\\/]*)
22495 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
22496 ;;
22497 *)
22498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22499 for as_dir in $PATH
22500 do
22501 IFS=$as_save_IFS
22502 test -z "$as_dir" && as_dir=.
22503 for ac_exec_ext in '' $ac_executable_extensions; do
22504 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22505 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22507 break 2
22508 fi
22509 done
22510 done
22511
22512 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
22513 ;;
22514 esac
22515 fi
22516 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
22517
22518 if test -n "$GTK_CONFIG"; then
22519 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22520 echo "${ECHO_T}$GTK_CONFIG" >&6
22521 else
22522 echo "$as_me:$LINENO: result: no" >&5
22523 echo "${ECHO_T}no" >&6
22524 fi
22525
22526 min_gtk_version=1.2.3
22527 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22528 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22529 no_gtk=""
22530 if test "$GTK_CONFIG" = "no" ; then
22531 no_gtk=yes
22532 else
22533 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
22534 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
22535 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
22536 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22537 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
22538 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22539 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
22540 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22541 if test "x$enable_gtktest" = "xyes" ; then
22542 ac_save_CFLAGS="$CFLAGS"
22543 ac_save_LIBS="$LIBS"
22544 CFLAGS="$CFLAGS $GTK_CFLAGS"
22545 LIBS="$GTK_LIBS $LIBS"
22546 rm -f conf.gtktest
22547 if test "$cross_compiling" = yes; then
22548 echo $ac_n "cross compiling; assumed OK... $ac_c"
22549 else
22550 cat >conftest.$ac_ext <<_ACEOF
22551 /* confdefs.h. */
22552 _ACEOF
22553 cat confdefs.h >>conftest.$ac_ext
22554 cat >>conftest.$ac_ext <<_ACEOF
22555 /* end confdefs.h. */
22556
22557 #include <gtk/gtk.h>
22558 #include <stdio.h>
22559 #include <stdlib.h>
22560
22561 int
22562 main ()
22563 {
22564 int major, minor, micro;
22565 char *tmp_version;
22566
22567 system ("touch conf.gtktest");
22568
22569 /* HP/UX 9 (%@#!) writes to sscanf strings */
22570 tmp_version = g_strdup("$min_gtk_version");
22571 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
22572 printf("%s, bad version string\n", "$min_gtk_version");
22573 exit(1);
22574 }
22575
22576 if ((gtk_major_version != $gtk_config_major_version) ||
22577 (gtk_minor_version != $gtk_config_minor_version) ||
22578 (gtk_micro_version != $gtk_config_micro_version))
22579 {
22580 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22581 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22582 gtk_major_version, gtk_minor_version, gtk_micro_version);
22583 printf ("*** was found! If gtk-config was correct, then it is best\n");
22584 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22585 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22586 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22587 printf("*** required on your system.\n");
22588 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22589 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22590 printf("*** before re-running configure\n");
22591 }
22592 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22593 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22594 (gtk_minor_version != GTK_MINOR_VERSION) ||
22595 (gtk_micro_version != GTK_MICRO_VERSION))
22596 {
22597 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22598 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22599 printf("*** library (version %d.%d.%d)\n",
22600 gtk_major_version, gtk_minor_version, gtk_micro_version);
22601 }
22602 #endif /* defined (GTK_MAJOR_VERSION) ... */
22603 else
22604 {
22605 if ((gtk_major_version > major) ||
22606 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22607 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22608 {
22609 return 0;
22610 }
22611 else
22612 {
22613 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22614 gtk_major_version, gtk_minor_version, gtk_micro_version);
22615 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22616 major, minor, micro);
22617 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22618 printf("***\n");
22619 printf("*** If you have already installed a sufficiently new version, this error\n");
22620 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22621 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22622 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22623 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22624 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22625 printf("*** so that the correct libraries are found at run-time))\n");
22626 }
22627 }
22628 return 1;
22629 }
22630
22631 _ACEOF
22632 rm -f conftest$ac_exeext
22633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22634 (eval $ac_link) 2>&5
22635 ac_status=$?
22636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22637 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22639 (eval $ac_try) 2>&5
22640 ac_status=$?
22641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22642 (exit $ac_status); }; }; then
22643 :
22644 else
22645 echo "$as_me: program exited with status $ac_status" >&5
22646 echo "$as_me: failed program was:" >&5
22647 sed 's/^/| /' conftest.$ac_ext >&5
22648
22649 ( exit $ac_status )
22650 no_gtk=yes
22651 fi
22652 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22653 fi
22654 CFLAGS="$ac_save_CFLAGS"
22655 LIBS="$ac_save_LIBS"
22656 fi
22657 fi
22658 if test "x$no_gtk" = x ; then
22659 echo "$as_me:$LINENO: result: yes" >&5
22660 echo "${ECHO_T}yes" >&6
22661 wx_cv_lib_gtk=1.2.3
22662 else
22663 echo "$as_me:$LINENO: result: no" >&5
22664 echo "${ECHO_T}no" >&6
22665 if test "$GTK_CONFIG" = "no" ; then
22666 echo "*** The gtk-config script installed by GTK could not be found"
22667 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22668 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22669 echo "*** full path to gtk-config."
22670 else
22671 if test -f conf.gtktest ; then
22672 :
22673 else
22674 echo "*** Could not run GTK test program, checking why..."
22675 CFLAGS="$CFLAGS $GTK_CFLAGS"
22676 LIBS="$LIBS $GTK_LIBS"
22677 cat >conftest.$ac_ext <<_ACEOF
22678 /* confdefs.h. */
22679 _ACEOF
22680 cat confdefs.h >>conftest.$ac_ext
22681 cat >>conftest.$ac_ext <<_ACEOF
22682 /* end confdefs.h. */
22683
22684 #include <gtk/gtk.h>
22685 #include <stdio.h>
22686
22687 int
22688 main ()
22689 {
22690 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22691 ;
22692 return 0;
22693 }
22694 _ACEOF
22695 rm -f conftest.$ac_objext conftest$ac_exeext
22696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22697 (eval $ac_link) 2>conftest.er1
22698 ac_status=$?
22699 grep -v '^ *+' conftest.er1 >conftest.err
22700 rm -f conftest.er1
22701 cat conftest.err >&5
22702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22703 (exit $ac_status); } &&
22704 { ac_try='test -z "$ac_c_werror_flag"
22705 || test ! -s conftest.err'
22706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22707 (eval $ac_try) 2>&5
22708 ac_status=$?
22709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22710 (exit $ac_status); }; } &&
22711 { ac_try='test -s conftest$ac_exeext'
22712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22713 (eval $ac_try) 2>&5
22714 ac_status=$?
22715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22716 (exit $ac_status); }; }; then
22717 echo "*** The test program compiled, but did not run. This usually means"
22718 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22719 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22720 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22721 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22722 echo "*** is required on your system"
22723 echo "***"
22724 echo "*** If you have an old version installed, it is best to remove it, although"
22725 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22726 echo "***"
22727 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22728 echo "*** came with the system with the command"
22729 echo "***"
22730 echo "*** rpm --erase --nodeps gtk gtk-devel"
22731 else
22732 echo "$as_me: failed program was:" >&5
22733 sed 's/^/| /' conftest.$ac_ext >&5
22734
22735 echo "*** The test program failed to compile or link. See the file config.log for the"
22736 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22737 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22738 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22739 fi
22740 rm -f conftest.err conftest.$ac_objext \
22741 conftest$ac_exeext conftest.$ac_ext
22742 CFLAGS="$ac_save_CFLAGS"
22743 LIBS="$ac_save_LIBS"
22744 fi
22745 fi
22746 GTK_CFLAGS=""
22747 GTK_LIBS=""
22748 :
22749 fi
22750
22751
22752 rm -f conf.gtktest
22753
22754 fi
22755 fi
22756
22757 if test -z "$wx_cv_lib_gtk"; then
22758 wx_cv_lib_gtk=none
22759 else
22760 wx_cv_cflags_gtk=$GTK_CFLAGS
22761 wx_cv_libs_gtk=$GTK_LIBS
22762 fi
22763
22764
22765 fi
22766
22767
22768 if test "$gtk_version_cached" = 1; then
22769 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
22770 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
22771 fi
22772
22773 case "$wx_cv_lib_gtk" in
22774 2.0) WXGTK20=1
22775 TOOLKIT_VERSION=2
22776 ;;
22777 1.2.7) WXGTK127=1
22778 WXGTK12=1
22779 ;;
22780 1.2.3) WXGTK12=1
22781 ;;
22782 *) { { echo "$as_me:$LINENO: error:
22783 Please check that gtk-config is in path, the directory
22784 where GTK+ libraries are installed (returned by
22785 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22786 equivalent variable and GTK+ is version 1.2.3 or above.
22787 " >&5
22788 echo "$as_me: error:
22789 Please check that gtk-config is in path, the directory
22790 where GTK+ libraries are installed (returned by
22791 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22792 equivalent variable and GTK+ is version 1.2.3 or above.
22793 " >&2;}
22794 { (exit 1); exit 1; }; }
22795 ;;
22796 esac
22797
22798 if test "$WXGTK20" = 1; then
22799 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
22800
22801 succeeded=no
22802
22803 if test -z "$PKG_CONFIG"; then
22804 # Extract the first word of "pkg-config", so it can be a program name with args.
22805 set dummy pkg-config; ac_word=$2
22806 echo "$as_me:$LINENO: checking for $ac_word" >&5
22807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22808 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22809 echo $ECHO_N "(cached) $ECHO_C" >&6
22810 else
22811 case $PKG_CONFIG in
22812 [\\/]* | ?:[\\/]*)
22813 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22814 ;;
22815 *)
22816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22817 for as_dir in $PATH
22818 do
22819 IFS=$as_save_IFS
22820 test -z "$as_dir" && as_dir=.
22821 for ac_exec_ext in '' $ac_executable_extensions; do
22822 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22823 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22825 break 2
22826 fi
22827 done
22828 done
22829
22830 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22831 ;;
22832 esac
22833 fi
22834 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22835
22836 if test -n "$PKG_CONFIG"; then
22837 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22838 echo "${ECHO_T}$PKG_CONFIG" >&6
22839 else
22840 echo "$as_me:$LINENO: result: no" >&5
22841 echo "${ECHO_T}no" >&6
22842 fi
22843
22844 fi
22845
22846 if test "$PKG_CONFIG" = "no" ; then
22847 echo "*** The pkg-config script could not be found. Make sure it is"
22848 echo "*** in your path, or set the PKG_CONFIG environment variable"
22849 echo "*** to the full path to pkg-config."
22850 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22851 else
22852 PKG_CONFIG_MIN_VERSION=0.9.0
22853 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22854 echo "$as_me:$LINENO: checking for pangoft2" >&5
22855 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22856
22857 if $PKG_CONFIG --exists "pangoft2" ; then
22858 echo "$as_me:$LINENO: result: yes" >&5
22859 echo "${ECHO_T}yes" >&6
22860 succeeded=yes
22861
22862 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22863 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22864 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22865 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22866 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22867
22868 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22869 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22870 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22871 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22872 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22873 else
22874 PANGOFT2_CFLAGS=""
22875 PANGOFT2_LIBS=""
22876 ## If we have a custom action on failure, don't print errors, but
22877 ## do set a variable so people can do so.
22878 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22879
22880 fi
22881
22882
22883
22884 else
22885 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22886 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22887 fi
22888 fi
22889
22890 if test $succeeded = yes; then
22891
22892 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22893 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22894
22895 else
22896
22897 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22898 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22899 wxUSE_PRINTING_ARCHITECTURE="no"
22900
22901
22902 fi
22903
22904 fi
22905 else
22906 if test "$wxUSE_UNICODE" = "yes"; then
22907 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
22908 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
22909 wxUSE_UNICODE=no
22910 fi
22911 fi
22912
22913 if test "$USE_DARWIN" != 1; then
22914
22915 for ac_func in poll
22916 do
22917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22918 echo "$as_me:$LINENO: checking for $ac_func" >&5
22919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22920 if eval "test \"\${$as_ac_var+set}\" = set"; then
22921 echo $ECHO_N "(cached) $ECHO_C" >&6
22922 else
22923 cat >conftest.$ac_ext <<_ACEOF
22924 /* confdefs.h. */
22925 _ACEOF
22926 cat confdefs.h >>conftest.$ac_ext
22927 cat >>conftest.$ac_ext <<_ACEOF
22928 /* end confdefs.h. */
22929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22931 #define $ac_func innocuous_$ac_func
22932
22933 /* System header to define __stub macros and hopefully few prototypes,
22934 which can conflict with char $ac_func (); below.
22935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22936 <limits.h> exists even on freestanding compilers. */
22937
22938 #ifdef __STDC__
22939 # include <limits.h>
22940 #else
22941 # include <assert.h>
22942 #endif
22943
22944 #undef $ac_func
22945
22946 /* Override any gcc2 internal prototype to avoid an error. */
22947 #ifdef __cplusplus
22948 extern "C"
22949 {
22950 #endif
22951 /* We use char because int might match the return type of a gcc2
22952 builtin and then its argument prototype would still apply. */
22953 char $ac_func ();
22954 /* The GNU C library defines this for functions which it implements
22955 to always fail with ENOSYS. Some functions are actually named
22956 something starting with __ and the normal name is an alias. */
22957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22958 choke me
22959 #else
22960 char (*f) () = $ac_func;
22961 #endif
22962 #ifdef __cplusplus
22963 }
22964 #endif
22965
22966 int
22967 main ()
22968 {
22969 return f != $ac_func;
22970 ;
22971 return 0;
22972 }
22973 _ACEOF
22974 rm -f conftest.$ac_objext conftest$ac_exeext
22975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22976 (eval $ac_link) 2>conftest.er1
22977 ac_status=$?
22978 grep -v '^ *+' conftest.er1 >conftest.err
22979 rm -f conftest.er1
22980 cat conftest.err >&5
22981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22982 (exit $ac_status); } &&
22983 { ac_try='test -z "$ac_c_werror_flag"
22984 || test ! -s conftest.err'
22985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22986 (eval $ac_try) 2>&5
22987 ac_status=$?
22988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22989 (exit $ac_status); }; } &&
22990 { ac_try='test -s conftest$ac_exeext'
22991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22992 (eval $ac_try) 2>&5
22993 ac_status=$?
22994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995 (exit $ac_status); }; }; then
22996 eval "$as_ac_var=yes"
22997 else
22998 echo "$as_me: failed program was:" >&5
22999 sed 's/^/| /' conftest.$ac_ext >&5
23000
23001 eval "$as_ac_var=no"
23002 fi
23003 rm -f conftest.err conftest.$ac_objext \
23004 conftest$ac_exeext conftest.$ac_ext
23005 fi
23006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23008 if test `eval echo '${'$as_ac_var'}'` = yes; then
23009 cat >>confdefs.h <<_ACEOF
23010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23011 _ACEOF
23012
23013 fi
23014 done
23015
23016 fi
23017
23018 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
23019 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23020
23021 AFMINSTALL=afminstall
23022 TOOLKIT=GTK
23023 GUIDIST=GTK_DIST
23024
23025 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23026 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23027 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23028 echo $ECHO_N "(cached) $ECHO_C" >&6
23029 else
23030 ac_check_lib_save_LIBS=$LIBS
23031 LIBS="-lgdk $LIBS"
23032 cat >conftest.$ac_ext <<_ACEOF
23033 /* confdefs.h. */
23034 _ACEOF
23035 cat confdefs.h >>conftest.$ac_ext
23036 cat >>conftest.$ac_ext <<_ACEOF
23037 /* end confdefs.h. */
23038
23039 /* Override any gcc2 internal prototype to avoid an error. */
23040 #ifdef __cplusplus
23041 extern "C"
23042 #endif
23043 /* We use char because int might match the return type of a gcc2
23044 builtin and then its argument prototype would still apply. */
23045 char gdk_im_open ();
23046 int
23047 main ()
23048 {
23049 gdk_im_open ();
23050 ;
23051 return 0;
23052 }
23053 _ACEOF
23054 rm -f conftest.$ac_objext conftest$ac_exeext
23055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23056 (eval $ac_link) 2>conftest.er1
23057 ac_status=$?
23058 grep -v '^ *+' conftest.er1 >conftest.err
23059 rm -f conftest.er1
23060 cat conftest.err >&5
23061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23062 (exit $ac_status); } &&
23063 { ac_try='test -z "$ac_c_werror_flag"
23064 || test ! -s conftest.err'
23065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23066 (eval $ac_try) 2>&5
23067 ac_status=$?
23068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23069 (exit $ac_status); }; } &&
23070 { ac_try='test -s conftest$ac_exeext'
23071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23072 (eval $ac_try) 2>&5
23073 ac_status=$?
23074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23075 (exit $ac_status); }; }; then
23076 ac_cv_lib_gdk_gdk_im_open=yes
23077 else
23078 echo "$as_me: failed program was:" >&5
23079 sed 's/^/| /' conftest.$ac_ext >&5
23080
23081 ac_cv_lib_gdk_gdk_im_open=no
23082 fi
23083 rm -f conftest.err conftest.$ac_objext \
23084 conftest$ac_exeext conftest.$ac_ext
23085 LIBS=$ac_check_lib_save_LIBS
23086 fi
23087 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23088 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23089 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23090 cat >>confdefs.h <<\_ACEOF
23091 #define HAVE_XIM 1
23092 _ACEOF
23093
23094 fi
23095
23096
23097
23098 if test "$wxUSE_GPE" = "yes"; then
23099 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23100 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23101
23102 ac_find_libraries=
23103 for ac_dir in $SEARCH_LIB /usr/lib;
23104 do
23105 for ac_extension in a so sl dylib; do
23106 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23107 ac_find_libraries=$ac_dir
23108 break 2
23109 fi
23110 done
23111 done
23112
23113 if test "$ac_find_libraries" != "" ; then
23114
23115 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23116 result=$?
23117 if test $result = 0; then
23118 ac_path_to_link=""
23119 else
23120 ac_path_to_link=" -L$ac_find_libraries"
23121 fi
23122
23123 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
23124 WXGPE=1
23125 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23126 echo "${ECHO_T}found at $ac_find_libraries" >&6
23127 else
23128 echo "$as_me:$LINENO: result: not found" >&5
23129 echo "${ECHO_T}not found" >&6
23130 fi
23131
23132 fi
23133 fi
23134
23135 if test "$wxUSE_MGL" = 1; then
23136 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
23137 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
23138 if test "x$MGL_ROOT" = x ; then
23139 echo "$as_me:$LINENO: result: not found" >&5
23140 echo "${ECHO_T}not found" >&6
23141 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23142 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23143 { (exit 1); exit 1; }; }
23144 else
23145 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23146 echo "${ECHO_T}$MGL_ROOT" >&6
23147 fi
23148
23149 echo "$as_me:$LINENO: checking for libmgl location" >&5
23150 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23151 case "${host}" in
23152 *-*-linux* )
23153 if test "x$wxUSE_SHARED" = xyes ; then
23154 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23155 else
23156 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23157 fi
23158 ;;
23159 *-pc-msdosdjgpp )
23160 mgl_os_candidates="dos32/dj2"
23161 ;;
23162 *)
23163 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23164 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23165 { (exit 1); exit 1; }; }
23166 esac
23167
23168 mgl_lib_type=""
23169 mgl_os=""
23170
23171 for mgl_os_i in $mgl_os_candidates ; do
23172 if test "x$mgl_os" = x ; then
23173 if test "$wxUSE_DEBUG_FLAG" = yes ; then
23174 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
23175 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
23176 mgl_lib_type=debug
23177 mgl_os=$mgl_os_i
23178 fi
23179 fi
23180 if test "x$mgl_lib_type" = x ; then
23181 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
23182 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
23183 mgl_lib_type=release
23184 mgl_os=$mgl_os_i
23185 fi
23186 fi
23187 fi
23188 done
23189
23190 if test "x$mgl_os" = x ; then
23191 echo "$as_me:$LINENO: result: not found" >&5
23192 echo "${ECHO_T}not found" >&6
23193 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
23194 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
23195 { (exit 1); exit 1; }; }
23196 fi
23197 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
23198 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
23199
23200 wxUSE_UNIVERSAL="yes"
23201
23202 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
23203 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
23204
23205 AFMINSTALL=afminstall
23206 TOOLKIT=MGL
23207 GUIDIST=MGL_DIST
23208 fi
23209
23210 if test "$wxUSE_MICROWIN" = 1; then
23211 echo "$as_me:$LINENO: checking for MicroWindows" >&5
23212 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
23213 if test "x$MICROWINDOWS" = x ; then
23214 echo "$as_me:$LINENO: result: not found" >&5
23215 echo "${ECHO_T}not found" >&6
23216 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
23217 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
23218 { (exit 1); exit 1; }; }
23219 else
23220 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
23221 echo "${ECHO_T}$MICROWINDOWS" >&6
23222 fi
23223
23224 if test -f $MICROWINDOWS/lib/libmwin.a; then
23225 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
23226 echo "${ECHO_T}MicroWindows' libraries found." >&6
23227 else
23228 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
23229 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
23230 { (exit 1); exit 1; }; }
23231 fi
23232
23233 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
23234 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
23235
23236 wxUSE_UNIVERSAL="yes"
23237
23238 AFMINSTALL=afminstall
23239 TOOLKIT=MICROWIN
23240 GUIDIST=MICROWIN_DIST
23241
23242 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
23243 fi
23244
23245 if test "$wxUSE_X11" = 1; then
23246 echo "$as_me:$LINENO: checking for X" >&5
23247 echo $ECHO_N "checking for X... $ECHO_C" >&6
23248
23249
23250 # Check whether --with-x or --without-x was given.
23251 if test "${with_x+set}" = set; then
23252 withval="$with_x"
23253
23254 fi;
23255 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23256 if test "x$with_x" = xno; then
23257 # The user explicitly disabled X.
23258 have_x=disabled
23259 else
23260 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
23261 # Both variables are already set.
23262 have_x=yes
23263 else
23264 if test "${ac_cv_have_x+set}" = set; then
23265 echo $ECHO_N "(cached) $ECHO_C" >&6
23266 else
23267 # One or both of the vars are not set, and there is no cached value.
23268 ac_x_includes=no ac_x_libraries=no
23269 rm -fr conftest.dir
23270 if mkdir conftest.dir; then
23271 cd conftest.dir
23272 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
23273 cat >Imakefile <<'_ACEOF'
23274 acfindx:
23275 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
23276 _ACEOF
23277 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
23278 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23279 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
23280 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23281 for ac_extension in a so sl; do
23282 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
23283 test -f $ac_im_libdir/libX11.$ac_extension; then
23284 ac_im_usrlibdir=$ac_im_libdir; break
23285 fi
23286 done
23287 # Screen out bogus values from the imake configuration. They are
23288 # bogus both because they are the default anyway, and because
23289 # using them would break gcc on systems where it needs fixed includes.
23290 case $ac_im_incroot in
23291 /usr/include) ;;
23292 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
23293 esac
23294 case $ac_im_usrlibdir in
23295 /usr/lib | /lib) ;;
23296 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
23297 esac
23298 fi
23299 cd ..
23300 rm -fr conftest.dir
23301 fi
23302
23303 # Standard set of common directories for X headers.
23304 # Check X11 before X11Rn because it is often a symlink to the current release.
23305 ac_x_header_dirs='
23306 /usr/X11/include
23307 /usr/X11R6/include
23308 /usr/X11R5/include
23309 /usr/X11R4/include
23310
23311 /usr/include/X11
23312 /usr/include/X11R6
23313 /usr/include/X11R5
23314 /usr/include/X11R4
23315
23316 /usr/local/X11/include
23317 /usr/local/X11R6/include
23318 /usr/local/X11R5/include
23319 /usr/local/X11R4/include
23320
23321 /usr/local/include/X11
23322 /usr/local/include/X11R6
23323 /usr/local/include/X11R5
23324 /usr/local/include/X11R4
23325
23326 /usr/X386/include
23327 /usr/x386/include
23328 /usr/XFree86/include/X11
23329
23330 /usr/include
23331 /usr/local/include
23332 /usr/unsupported/include
23333 /usr/athena/include
23334 /usr/local/x11r5/include
23335 /usr/lpp/Xamples/include
23336
23337 /usr/openwin/include
23338 /usr/openwin/share/include'
23339
23340 if test "$ac_x_includes" = no; then
23341 # Guess where to find include files, by looking for Intrinsic.h.
23342 # First, try using that file with no special directory specified.
23343 cat >conftest.$ac_ext <<_ACEOF
23344 /* confdefs.h. */
23345 _ACEOF
23346 cat confdefs.h >>conftest.$ac_ext
23347 cat >>conftest.$ac_ext <<_ACEOF
23348 /* end confdefs.h. */
23349 #include <X11/Intrinsic.h>
23350 _ACEOF
23351 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23352 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23353 ac_status=$?
23354 grep -v '^ *+' conftest.er1 >conftest.err
23355 rm -f conftest.er1
23356 cat conftest.err >&5
23357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23358 (exit $ac_status); } >/dev/null; then
23359 if test -s conftest.err; then
23360 ac_cpp_err=$ac_c_preproc_warn_flag
23361 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23362 else
23363 ac_cpp_err=
23364 fi
23365 else
23366 ac_cpp_err=yes
23367 fi
23368 if test -z "$ac_cpp_err"; then
23369 # We can compile using X headers with no special include directory.
23370 ac_x_includes=
23371 else
23372 echo "$as_me: failed program was:" >&5
23373 sed 's/^/| /' conftest.$ac_ext >&5
23374
23375 for ac_dir in $ac_x_header_dirs; do
23376 if test -r "$ac_dir/X11/Intrinsic.h"; then
23377 ac_x_includes=$ac_dir
23378 break
23379 fi
23380 done
23381 fi
23382 rm -f conftest.err conftest.$ac_ext
23383 fi # $ac_x_includes = no
23384
23385 if test "$ac_x_libraries" = no; then
23386 # Check for the libraries.
23387 # See if we find them without any special options.
23388 # Don't add to $LIBS permanently.
23389 ac_save_LIBS=$LIBS
23390 LIBS="-lXt $LIBS"
23391 cat >conftest.$ac_ext <<_ACEOF
23392 /* confdefs.h. */
23393 _ACEOF
23394 cat confdefs.h >>conftest.$ac_ext
23395 cat >>conftest.$ac_ext <<_ACEOF
23396 /* end confdefs.h. */
23397 #include <X11/Intrinsic.h>
23398 int
23399 main ()
23400 {
23401 XtMalloc (0)
23402 ;
23403 return 0;
23404 }
23405 _ACEOF
23406 rm -f conftest.$ac_objext conftest$ac_exeext
23407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23408 (eval $ac_link) 2>conftest.er1
23409 ac_status=$?
23410 grep -v '^ *+' conftest.er1 >conftest.err
23411 rm -f conftest.er1
23412 cat conftest.err >&5
23413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23414 (exit $ac_status); } &&
23415 { ac_try='test -z "$ac_c_werror_flag"
23416 || test ! -s conftest.err'
23417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23418 (eval $ac_try) 2>&5
23419 ac_status=$?
23420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23421 (exit $ac_status); }; } &&
23422 { ac_try='test -s conftest$ac_exeext'
23423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23424 (eval $ac_try) 2>&5
23425 ac_status=$?
23426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23427 (exit $ac_status); }; }; then
23428 LIBS=$ac_save_LIBS
23429 # We can link X programs with no special library path.
23430 ac_x_libraries=
23431 else
23432 echo "$as_me: failed program was:" >&5
23433 sed 's/^/| /' conftest.$ac_ext >&5
23434
23435 LIBS=$ac_save_LIBS
23436 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
23437 do
23438 # Don't even attempt the hair of trying to link an X program!
23439 for ac_extension in a so sl; do
23440 if test -r $ac_dir/libXt.$ac_extension; then
23441 ac_x_libraries=$ac_dir
23442 break 2
23443 fi
23444 done
23445 done
23446 fi
23447 rm -f conftest.err conftest.$ac_objext \
23448 conftest$ac_exeext conftest.$ac_ext
23449 fi # $ac_x_libraries = no
23450
23451 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
23452 # Didn't find X anywhere. Cache the known absence of X.
23453 ac_cv_have_x="have_x=no"
23454 else
23455 # Record where we found X for the cache.
23456 ac_cv_have_x="have_x=yes \
23457 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
23458 fi
23459 fi
23460
23461 fi
23462 eval "$ac_cv_have_x"
23463 fi # $with_x != no
23464
23465 if test "$have_x" != yes; then
23466 echo "$as_me:$LINENO: result: $have_x" >&5
23467 echo "${ECHO_T}$have_x" >&6
23468 no_x=yes
23469 else
23470 # If each of the values was on the command line, it overrides each guess.
23471 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
23472 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
23473 # Update the cache value to reflect the command line values.
23474 ac_cv_have_x="have_x=yes \
23475 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
23476 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
23477 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
23478 fi
23479
23480 if test "$no_x" = yes; then
23481 # Not all programs may use this symbol, but it does not hurt to define it.
23482
23483 cat >>confdefs.h <<\_ACEOF
23484 #define X_DISPLAY_MISSING 1
23485 _ACEOF
23486
23487 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
23488 else
23489 if test -n "$x_includes"; then
23490 X_CFLAGS="$X_CFLAGS -I$x_includes"
23491 fi
23492
23493 # It would also be nice to do this for all -L options, not just this one.
23494 if test -n "$x_libraries"; then
23495 X_LIBS="$X_LIBS -L$x_libraries"
23496 # For Solaris; some versions of Sun CC require a space after -R and
23497 # others require no space. Words are not sufficient . . . .
23498 case `(uname -sr) 2>/dev/null` in
23499 "SunOS 5"*)
23500 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23501 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23502 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
23503 cat >conftest.$ac_ext <<_ACEOF
23504 /* confdefs.h. */
23505 _ACEOF
23506 cat confdefs.h >>conftest.$ac_ext
23507 cat >>conftest.$ac_ext <<_ACEOF
23508 /* end confdefs.h. */
23509
23510 int
23511 main ()
23512 {
23513
23514 ;
23515 return 0;
23516 }
23517 _ACEOF
23518 rm -f conftest.$ac_objext conftest$ac_exeext
23519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23520 (eval $ac_link) 2>conftest.er1
23521 ac_status=$?
23522 grep -v '^ *+' conftest.er1 >conftest.err
23523 rm -f conftest.er1
23524 cat conftest.err >&5
23525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23526 (exit $ac_status); } &&
23527 { ac_try='test -z "$ac_c_werror_flag"
23528 || test ! -s conftest.err'
23529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23530 (eval $ac_try) 2>&5
23531 ac_status=$?
23532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23533 (exit $ac_status); }; } &&
23534 { ac_try='test -s conftest$ac_exeext'
23535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23536 (eval $ac_try) 2>&5
23537 ac_status=$?
23538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23539 (exit $ac_status); }; }; then
23540 ac_R_nospace=yes
23541 else
23542 echo "$as_me: failed program was:" >&5
23543 sed 's/^/| /' conftest.$ac_ext >&5
23544
23545 ac_R_nospace=no
23546 fi
23547 rm -f conftest.err conftest.$ac_objext \
23548 conftest$ac_exeext conftest.$ac_ext
23549 if test $ac_R_nospace = yes; then
23550 echo "$as_me:$LINENO: result: no" >&5
23551 echo "${ECHO_T}no" >&6
23552 X_LIBS="$X_LIBS -R$x_libraries"
23553 else
23554 LIBS="$ac_xsave_LIBS -R $x_libraries"
23555 cat >conftest.$ac_ext <<_ACEOF
23556 /* confdefs.h. */
23557 _ACEOF
23558 cat confdefs.h >>conftest.$ac_ext
23559 cat >>conftest.$ac_ext <<_ACEOF
23560 /* end confdefs.h. */
23561
23562 int
23563 main ()
23564 {
23565
23566 ;
23567 return 0;
23568 }
23569 _ACEOF
23570 rm -f conftest.$ac_objext conftest$ac_exeext
23571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23572 (eval $ac_link) 2>conftest.er1
23573 ac_status=$?
23574 grep -v '^ *+' conftest.er1 >conftest.err
23575 rm -f conftest.er1
23576 cat conftest.err >&5
23577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23578 (exit $ac_status); } &&
23579 { ac_try='test -z "$ac_c_werror_flag"
23580 || test ! -s conftest.err'
23581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23582 (eval $ac_try) 2>&5
23583 ac_status=$?
23584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23585 (exit $ac_status); }; } &&
23586 { ac_try='test -s conftest$ac_exeext'
23587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23588 (eval $ac_try) 2>&5
23589 ac_status=$?
23590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23591 (exit $ac_status); }; }; then
23592 ac_R_space=yes
23593 else
23594 echo "$as_me: failed program was:" >&5
23595 sed 's/^/| /' conftest.$ac_ext >&5
23596
23597 ac_R_space=no
23598 fi
23599 rm -f conftest.err conftest.$ac_objext \
23600 conftest$ac_exeext conftest.$ac_ext
23601 if test $ac_R_space = yes; then
23602 echo "$as_me:$LINENO: result: yes" >&5
23603 echo "${ECHO_T}yes" >&6
23604 X_LIBS="$X_LIBS -R $x_libraries"
23605 else
23606 echo "$as_me:$LINENO: result: neither works" >&5
23607 echo "${ECHO_T}neither works" >&6
23608 fi
23609 fi
23610 LIBS=$ac_xsave_LIBS
23611 esac
23612 fi
23613
23614 # Check for system-dependent libraries X programs must link with.
23615 # Do this before checking for the system-independent R6 libraries
23616 # (-lICE), since we may need -lsocket or whatever for X linking.
23617
23618 if test "$ISC" = yes; then
23619 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
23620 else
23621 # Martyn Johnson says this is needed for Ultrix, if the X
23622 # libraries were built with DECnet support. And Karl Berry says
23623 # the Alpha needs dnet_stub (dnet does not exist).
23624 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
23625 cat >conftest.$ac_ext <<_ACEOF
23626 /* confdefs.h. */
23627 _ACEOF
23628 cat confdefs.h >>conftest.$ac_ext
23629 cat >>conftest.$ac_ext <<_ACEOF
23630 /* end confdefs.h. */
23631
23632 /* Override any gcc2 internal prototype to avoid an error. */
23633 #ifdef __cplusplus
23634 extern "C"
23635 #endif
23636 /* We use char because int might match the return type of a gcc2
23637 builtin and then its argument prototype would still apply. */
23638 char XOpenDisplay ();
23639 int
23640 main ()
23641 {
23642 XOpenDisplay ();
23643 ;
23644 return 0;
23645 }
23646 _ACEOF
23647 rm -f conftest.$ac_objext conftest$ac_exeext
23648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23649 (eval $ac_link) 2>conftest.er1
23650 ac_status=$?
23651 grep -v '^ *+' conftest.er1 >conftest.err
23652 rm -f conftest.er1
23653 cat conftest.err >&5
23654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23655 (exit $ac_status); } &&
23656 { ac_try='test -z "$ac_c_werror_flag"
23657 || test ! -s conftest.err'
23658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23659 (eval $ac_try) 2>&5
23660 ac_status=$?
23661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23662 (exit $ac_status); }; } &&
23663 { ac_try='test -s conftest$ac_exeext'
23664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23665 (eval $ac_try) 2>&5
23666 ac_status=$?
23667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23668 (exit $ac_status); }; }; then
23669 :
23670 else
23671 echo "$as_me: failed program was:" >&5
23672 sed 's/^/| /' conftest.$ac_ext >&5
23673
23674 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23675 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23676 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23677 echo $ECHO_N "(cached) $ECHO_C" >&6
23678 else
23679 ac_check_lib_save_LIBS=$LIBS
23680 LIBS="-ldnet $LIBS"
23681 cat >conftest.$ac_ext <<_ACEOF
23682 /* confdefs.h. */
23683 _ACEOF
23684 cat confdefs.h >>conftest.$ac_ext
23685 cat >>conftest.$ac_ext <<_ACEOF
23686 /* end confdefs.h. */
23687
23688 /* Override any gcc2 internal prototype to avoid an error. */
23689 #ifdef __cplusplus
23690 extern "C"
23691 #endif
23692 /* We use char because int might match the return type of a gcc2
23693 builtin and then its argument prototype would still apply. */
23694 char dnet_ntoa ();
23695 int
23696 main ()
23697 {
23698 dnet_ntoa ();
23699 ;
23700 return 0;
23701 }
23702 _ACEOF
23703 rm -f conftest.$ac_objext conftest$ac_exeext
23704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23705 (eval $ac_link) 2>conftest.er1
23706 ac_status=$?
23707 grep -v '^ *+' conftest.er1 >conftest.err
23708 rm -f conftest.er1
23709 cat conftest.err >&5
23710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23711 (exit $ac_status); } &&
23712 { ac_try='test -z "$ac_c_werror_flag"
23713 || test ! -s conftest.err'
23714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23715 (eval $ac_try) 2>&5
23716 ac_status=$?
23717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23718 (exit $ac_status); }; } &&
23719 { ac_try='test -s conftest$ac_exeext'
23720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23721 (eval $ac_try) 2>&5
23722 ac_status=$?
23723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23724 (exit $ac_status); }; }; then
23725 ac_cv_lib_dnet_dnet_ntoa=yes
23726 else
23727 echo "$as_me: failed program was:" >&5
23728 sed 's/^/| /' conftest.$ac_ext >&5
23729
23730 ac_cv_lib_dnet_dnet_ntoa=no
23731 fi
23732 rm -f conftest.err conftest.$ac_objext \
23733 conftest$ac_exeext conftest.$ac_ext
23734 LIBS=$ac_check_lib_save_LIBS
23735 fi
23736 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23737 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23738 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23739 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23740 fi
23741
23742 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23743 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23744 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23745 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23746 echo $ECHO_N "(cached) $ECHO_C" >&6
23747 else
23748 ac_check_lib_save_LIBS=$LIBS
23749 LIBS="-ldnet_stub $LIBS"
23750 cat >conftest.$ac_ext <<_ACEOF
23751 /* confdefs.h. */
23752 _ACEOF
23753 cat confdefs.h >>conftest.$ac_ext
23754 cat >>conftest.$ac_ext <<_ACEOF
23755 /* end confdefs.h. */
23756
23757 /* Override any gcc2 internal prototype to avoid an error. */
23758 #ifdef __cplusplus
23759 extern "C"
23760 #endif
23761 /* We use char because int might match the return type of a gcc2
23762 builtin and then its argument prototype would still apply. */
23763 char dnet_ntoa ();
23764 int
23765 main ()
23766 {
23767 dnet_ntoa ();
23768 ;
23769 return 0;
23770 }
23771 _ACEOF
23772 rm -f conftest.$ac_objext conftest$ac_exeext
23773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23774 (eval $ac_link) 2>conftest.er1
23775 ac_status=$?
23776 grep -v '^ *+' conftest.er1 >conftest.err
23777 rm -f conftest.er1
23778 cat conftest.err >&5
23779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23780 (exit $ac_status); } &&
23781 { ac_try='test -z "$ac_c_werror_flag"
23782 || test ! -s conftest.err'
23783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23784 (eval $ac_try) 2>&5
23785 ac_status=$?
23786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23787 (exit $ac_status); }; } &&
23788 { ac_try='test -s conftest$ac_exeext'
23789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23790 (eval $ac_try) 2>&5
23791 ac_status=$?
23792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23793 (exit $ac_status); }; }; then
23794 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23795 else
23796 echo "$as_me: failed program was:" >&5
23797 sed 's/^/| /' conftest.$ac_ext >&5
23798
23799 ac_cv_lib_dnet_stub_dnet_ntoa=no
23800 fi
23801 rm -f conftest.err conftest.$ac_objext \
23802 conftest$ac_exeext conftest.$ac_ext
23803 LIBS=$ac_check_lib_save_LIBS
23804 fi
23805 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23806 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23807 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23808 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23809 fi
23810
23811 fi
23812 fi
23813 rm -f conftest.err conftest.$ac_objext \
23814 conftest$ac_exeext conftest.$ac_ext
23815 LIBS="$ac_xsave_LIBS"
23816
23817 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23818 # to get the SysV transport functions.
23819 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23820 # needs -lnsl.
23821 # The nsl library prevents programs from opening the X display
23822 # on Irix 5.2, according to T.E. Dickey.
23823 # The functions gethostbyname, getservbyname, and inet_addr are
23824 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23825 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23826 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23827 if test "${ac_cv_func_gethostbyname+set}" = set; then
23828 echo $ECHO_N "(cached) $ECHO_C" >&6
23829 else
23830 cat >conftest.$ac_ext <<_ACEOF
23831 /* confdefs.h. */
23832 _ACEOF
23833 cat confdefs.h >>conftest.$ac_ext
23834 cat >>conftest.$ac_ext <<_ACEOF
23835 /* end confdefs.h. */
23836 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
23837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23838 #define gethostbyname innocuous_gethostbyname
23839
23840 /* System header to define __stub macros and hopefully few prototypes,
23841 which can conflict with char gethostbyname (); below.
23842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23843 <limits.h> exists even on freestanding compilers. */
23844
23845 #ifdef __STDC__
23846 # include <limits.h>
23847 #else
23848 # include <assert.h>
23849 #endif
23850
23851 #undef gethostbyname
23852
23853 /* Override any gcc2 internal prototype to avoid an error. */
23854 #ifdef __cplusplus
23855 extern "C"
23856 {
23857 #endif
23858 /* We use char because int might match the return type of a gcc2
23859 builtin and then its argument prototype would still apply. */
23860 char gethostbyname ();
23861 /* The GNU C library defines this for functions which it implements
23862 to always fail with ENOSYS. Some functions are actually named
23863 something starting with __ and the normal name is an alias. */
23864 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23865 choke me
23866 #else
23867 char (*f) () = gethostbyname;
23868 #endif
23869 #ifdef __cplusplus
23870 }
23871 #endif
23872
23873 int
23874 main ()
23875 {
23876 return f != gethostbyname;
23877 ;
23878 return 0;
23879 }
23880 _ACEOF
23881 rm -f conftest.$ac_objext conftest$ac_exeext
23882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23883 (eval $ac_link) 2>conftest.er1
23884 ac_status=$?
23885 grep -v '^ *+' conftest.er1 >conftest.err
23886 rm -f conftest.er1
23887 cat conftest.err >&5
23888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23889 (exit $ac_status); } &&
23890 { ac_try='test -z "$ac_c_werror_flag"
23891 || test ! -s conftest.err'
23892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23893 (eval $ac_try) 2>&5
23894 ac_status=$?
23895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23896 (exit $ac_status); }; } &&
23897 { ac_try='test -s conftest$ac_exeext'
23898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23899 (eval $ac_try) 2>&5
23900 ac_status=$?
23901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23902 (exit $ac_status); }; }; then
23903 ac_cv_func_gethostbyname=yes
23904 else
23905 echo "$as_me: failed program was:" >&5
23906 sed 's/^/| /' conftest.$ac_ext >&5
23907
23908 ac_cv_func_gethostbyname=no
23909 fi
23910 rm -f conftest.err conftest.$ac_objext \
23911 conftest$ac_exeext conftest.$ac_ext
23912 fi
23913 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23914 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23915
23916 if test $ac_cv_func_gethostbyname = no; then
23917 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23918 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23919 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23920 echo $ECHO_N "(cached) $ECHO_C" >&6
23921 else
23922 ac_check_lib_save_LIBS=$LIBS
23923 LIBS="-lnsl $LIBS"
23924 cat >conftest.$ac_ext <<_ACEOF
23925 /* confdefs.h. */
23926 _ACEOF
23927 cat confdefs.h >>conftest.$ac_ext
23928 cat >>conftest.$ac_ext <<_ACEOF
23929 /* end confdefs.h. */
23930
23931 /* Override any gcc2 internal prototype to avoid an error. */
23932 #ifdef __cplusplus
23933 extern "C"
23934 #endif
23935 /* We use char because int might match the return type of a gcc2
23936 builtin and then its argument prototype would still apply. */
23937 char gethostbyname ();
23938 int
23939 main ()
23940 {
23941 gethostbyname ();
23942 ;
23943 return 0;
23944 }
23945 _ACEOF
23946 rm -f conftest.$ac_objext conftest$ac_exeext
23947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23948 (eval $ac_link) 2>conftest.er1
23949 ac_status=$?
23950 grep -v '^ *+' conftest.er1 >conftest.err
23951 rm -f conftest.er1
23952 cat conftest.err >&5
23953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23954 (exit $ac_status); } &&
23955 { ac_try='test -z "$ac_c_werror_flag"
23956 || test ! -s conftest.err'
23957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23958 (eval $ac_try) 2>&5
23959 ac_status=$?
23960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23961 (exit $ac_status); }; } &&
23962 { ac_try='test -s conftest$ac_exeext'
23963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23964 (eval $ac_try) 2>&5
23965 ac_status=$?
23966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23967 (exit $ac_status); }; }; then
23968 ac_cv_lib_nsl_gethostbyname=yes
23969 else
23970 echo "$as_me: failed program was:" >&5
23971 sed 's/^/| /' conftest.$ac_ext >&5
23972
23973 ac_cv_lib_nsl_gethostbyname=no
23974 fi
23975 rm -f conftest.err conftest.$ac_objext \
23976 conftest$ac_exeext conftest.$ac_ext
23977 LIBS=$ac_check_lib_save_LIBS
23978 fi
23979 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23980 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23981 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23982 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23983 fi
23984
23985 if test $ac_cv_lib_nsl_gethostbyname = no; then
23986 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23987 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23988 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23989 echo $ECHO_N "(cached) $ECHO_C" >&6
23990 else
23991 ac_check_lib_save_LIBS=$LIBS
23992 LIBS="-lbsd $LIBS"
23993 cat >conftest.$ac_ext <<_ACEOF
23994 /* confdefs.h. */
23995 _ACEOF
23996 cat confdefs.h >>conftest.$ac_ext
23997 cat >>conftest.$ac_ext <<_ACEOF
23998 /* end confdefs.h. */
23999
24000 /* Override any gcc2 internal prototype to avoid an error. */
24001 #ifdef __cplusplus
24002 extern "C"
24003 #endif
24004 /* We use char because int might match the return type of a gcc2
24005 builtin and then its argument prototype would still apply. */
24006 char gethostbyname ();
24007 int
24008 main ()
24009 {
24010 gethostbyname ();
24011 ;
24012 return 0;
24013 }
24014 _ACEOF
24015 rm -f conftest.$ac_objext conftest$ac_exeext
24016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24017 (eval $ac_link) 2>conftest.er1
24018 ac_status=$?
24019 grep -v '^ *+' conftest.er1 >conftest.err
24020 rm -f conftest.er1
24021 cat conftest.err >&5
24022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24023 (exit $ac_status); } &&
24024 { ac_try='test -z "$ac_c_werror_flag"
24025 || test ! -s conftest.err'
24026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24027 (eval $ac_try) 2>&5
24028 ac_status=$?
24029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24030 (exit $ac_status); }; } &&
24031 { ac_try='test -s conftest$ac_exeext'
24032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24033 (eval $ac_try) 2>&5
24034 ac_status=$?
24035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24036 (exit $ac_status); }; }; then
24037 ac_cv_lib_bsd_gethostbyname=yes
24038 else
24039 echo "$as_me: failed program was:" >&5
24040 sed 's/^/| /' conftest.$ac_ext >&5
24041
24042 ac_cv_lib_bsd_gethostbyname=no
24043 fi
24044 rm -f conftest.err conftest.$ac_objext \
24045 conftest$ac_exeext conftest.$ac_ext
24046 LIBS=$ac_check_lib_save_LIBS
24047 fi
24048 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24049 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24050 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24051 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
24052 fi
24053
24054 fi
24055 fi
24056
24057 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24058 # socket/setsockopt and other routines are undefined under SCO ODT
24059 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24060 # on later versions), says Simon Leinen: it contains gethostby*
24061 # variants that don't use the name server (or something). -lsocket
24062 # must be given before -lnsl if both are needed. We assume that
24063 # if connect needs -lnsl, so does gethostbyname.
24064 echo "$as_me:$LINENO: checking for connect" >&5
24065 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24066 if test "${ac_cv_func_connect+set}" = set; then
24067 echo $ECHO_N "(cached) $ECHO_C" >&6
24068 else
24069 cat >conftest.$ac_ext <<_ACEOF
24070 /* confdefs.h. */
24071 _ACEOF
24072 cat confdefs.h >>conftest.$ac_ext
24073 cat >>conftest.$ac_ext <<_ACEOF
24074 /* end confdefs.h. */
24075 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24077 #define connect innocuous_connect
24078
24079 /* System header to define __stub macros and hopefully few prototypes,
24080 which can conflict with char connect (); below.
24081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24082 <limits.h> exists even on freestanding compilers. */
24083
24084 #ifdef __STDC__
24085 # include <limits.h>
24086 #else
24087 # include <assert.h>
24088 #endif
24089
24090 #undef connect
24091
24092 /* Override any gcc2 internal prototype to avoid an error. */
24093 #ifdef __cplusplus
24094 extern "C"
24095 {
24096 #endif
24097 /* We use char because int might match the return type of a gcc2
24098 builtin and then its argument prototype would still apply. */
24099 char connect ();
24100 /* The GNU C library defines this for functions which it implements
24101 to always fail with ENOSYS. Some functions are actually named
24102 something starting with __ and the normal name is an alias. */
24103 #if defined (__stub_connect) || defined (__stub___connect)
24104 choke me
24105 #else
24106 char (*f) () = connect;
24107 #endif
24108 #ifdef __cplusplus
24109 }
24110 #endif
24111
24112 int
24113 main ()
24114 {
24115 return f != connect;
24116 ;
24117 return 0;
24118 }
24119 _ACEOF
24120 rm -f conftest.$ac_objext conftest$ac_exeext
24121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24122 (eval $ac_link) 2>conftest.er1
24123 ac_status=$?
24124 grep -v '^ *+' conftest.er1 >conftest.err
24125 rm -f conftest.er1
24126 cat conftest.err >&5
24127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24128 (exit $ac_status); } &&
24129 { ac_try='test -z "$ac_c_werror_flag"
24130 || test ! -s conftest.err'
24131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24132 (eval $ac_try) 2>&5
24133 ac_status=$?
24134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24135 (exit $ac_status); }; } &&
24136 { ac_try='test -s conftest$ac_exeext'
24137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24138 (eval $ac_try) 2>&5
24139 ac_status=$?
24140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24141 (exit $ac_status); }; }; then
24142 ac_cv_func_connect=yes
24143 else
24144 echo "$as_me: failed program was:" >&5
24145 sed 's/^/| /' conftest.$ac_ext >&5
24146
24147 ac_cv_func_connect=no
24148 fi
24149 rm -f conftest.err conftest.$ac_objext \
24150 conftest$ac_exeext conftest.$ac_ext
24151 fi
24152 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24153 echo "${ECHO_T}$ac_cv_func_connect" >&6
24154
24155 if test $ac_cv_func_connect = no; then
24156 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24157 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24158 if test "${ac_cv_lib_socket_connect+set}" = set; then
24159 echo $ECHO_N "(cached) $ECHO_C" >&6
24160 else
24161 ac_check_lib_save_LIBS=$LIBS
24162 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
24163 cat >conftest.$ac_ext <<_ACEOF
24164 /* confdefs.h. */
24165 _ACEOF
24166 cat confdefs.h >>conftest.$ac_ext
24167 cat >>conftest.$ac_ext <<_ACEOF
24168 /* end confdefs.h. */
24169
24170 /* Override any gcc2 internal prototype to avoid an error. */
24171 #ifdef __cplusplus
24172 extern "C"
24173 #endif
24174 /* We use char because int might match the return type of a gcc2
24175 builtin and then its argument prototype would still apply. */
24176 char connect ();
24177 int
24178 main ()
24179 {
24180 connect ();
24181 ;
24182 return 0;
24183 }
24184 _ACEOF
24185 rm -f conftest.$ac_objext conftest$ac_exeext
24186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24187 (eval $ac_link) 2>conftest.er1
24188 ac_status=$?
24189 grep -v '^ *+' conftest.er1 >conftest.err
24190 rm -f conftest.er1
24191 cat conftest.err >&5
24192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24193 (exit $ac_status); } &&
24194 { ac_try='test -z "$ac_c_werror_flag"
24195 || test ! -s conftest.err'
24196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24197 (eval $ac_try) 2>&5
24198 ac_status=$?
24199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24200 (exit $ac_status); }; } &&
24201 { ac_try='test -s conftest$ac_exeext'
24202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24203 (eval $ac_try) 2>&5
24204 ac_status=$?
24205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24206 (exit $ac_status); }; }; then
24207 ac_cv_lib_socket_connect=yes
24208 else
24209 echo "$as_me: failed program was:" >&5
24210 sed 's/^/| /' conftest.$ac_ext >&5
24211
24212 ac_cv_lib_socket_connect=no
24213 fi
24214 rm -f conftest.err conftest.$ac_objext \
24215 conftest$ac_exeext conftest.$ac_ext
24216 LIBS=$ac_check_lib_save_LIBS
24217 fi
24218 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24219 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24220 if test $ac_cv_lib_socket_connect = yes; then
24221 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
24222 fi
24223
24224 fi
24225
24226 # Guillermo Gomez says -lposix is necessary on A/UX.
24227 echo "$as_me:$LINENO: checking for remove" >&5
24228 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24229 if test "${ac_cv_func_remove+set}" = set; then
24230 echo $ECHO_N "(cached) $ECHO_C" >&6
24231 else
24232 cat >conftest.$ac_ext <<_ACEOF
24233 /* confdefs.h. */
24234 _ACEOF
24235 cat confdefs.h >>conftest.$ac_ext
24236 cat >>conftest.$ac_ext <<_ACEOF
24237 /* end confdefs.h. */
24238 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
24239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24240 #define remove innocuous_remove
24241
24242 /* System header to define __stub macros and hopefully few prototypes,
24243 which can conflict with char remove (); below.
24244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24245 <limits.h> exists even on freestanding compilers. */
24246
24247 #ifdef __STDC__
24248 # include <limits.h>
24249 #else
24250 # include <assert.h>
24251 #endif
24252
24253 #undef remove
24254
24255 /* Override any gcc2 internal prototype to avoid an error. */
24256 #ifdef __cplusplus
24257 extern "C"
24258 {
24259 #endif
24260 /* We use char because int might match the return type of a gcc2
24261 builtin and then its argument prototype would still apply. */
24262 char remove ();
24263 /* The GNU C library defines this for functions which it implements
24264 to always fail with ENOSYS. Some functions are actually named
24265 something starting with __ and the normal name is an alias. */
24266 #if defined (__stub_remove) || defined (__stub___remove)
24267 choke me
24268 #else
24269 char (*f) () = remove;
24270 #endif
24271 #ifdef __cplusplus
24272 }
24273 #endif
24274
24275 int
24276 main ()
24277 {
24278 return f != remove;
24279 ;
24280 return 0;
24281 }
24282 _ACEOF
24283 rm -f conftest.$ac_objext conftest$ac_exeext
24284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24285 (eval $ac_link) 2>conftest.er1
24286 ac_status=$?
24287 grep -v '^ *+' conftest.er1 >conftest.err
24288 rm -f conftest.er1
24289 cat conftest.err >&5
24290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24291 (exit $ac_status); } &&
24292 { ac_try='test -z "$ac_c_werror_flag"
24293 || test ! -s conftest.err'
24294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24295 (eval $ac_try) 2>&5
24296 ac_status=$?
24297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24298 (exit $ac_status); }; } &&
24299 { ac_try='test -s conftest$ac_exeext'
24300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24301 (eval $ac_try) 2>&5
24302 ac_status=$?
24303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24304 (exit $ac_status); }; }; then
24305 ac_cv_func_remove=yes
24306 else
24307 echo "$as_me: failed program was:" >&5
24308 sed 's/^/| /' conftest.$ac_ext >&5
24309
24310 ac_cv_func_remove=no
24311 fi
24312 rm -f conftest.err conftest.$ac_objext \
24313 conftest$ac_exeext conftest.$ac_ext
24314 fi
24315 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24316 echo "${ECHO_T}$ac_cv_func_remove" >&6
24317
24318 if test $ac_cv_func_remove = no; then
24319 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24320 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
24321 if test "${ac_cv_lib_posix_remove+set}" = set; then
24322 echo $ECHO_N "(cached) $ECHO_C" >&6
24323 else
24324 ac_check_lib_save_LIBS=$LIBS
24325 LIBS="-lposix $LIBS"
24326 cat >conftest.$ac_ext <<_ACEOF
24327 /* confdefs.h. */
24328 _ACEOF
24329 cat confdefs.h >>conftest.$ac_ext
24330 cat >>conftest.$ac_ext <<_ACEOF
24331 /* end confdefs.h. */
24332
24333 /* Override any gcc2 internal prototype to avoid an error. */
24334 #ifdef __cplusplus
24335 extern "C"
24336 #endif
24337 /* We use char because int might match the return type of a gcc2
24338 builtin and then its argument prototype would still apply. */
24339 char remove ();
24340 int
24341 main ()
24342 {
24343 remove ();
24344 ;
24345 return 0;
24346 }
24347 _ACEOF
24348 rm -f conftest.$ac_objext conftest$ac_exeext
24349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24350 (eval $ac_link) 2>conftest.er1
24351 ac_status=$?
24352 grep -v '^ *+' conftest.er1 >conftest.err
24353 rm -f conftest.er1
24354 cat conftest.err >&5
24355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24356 (exit $ac_status); } &&
24357 { ac_try='test -z "$ac_c_werror_flag"
24358 || test ! -s conftest.err'
24359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24360 (eval $ac_try) 2>&5
24361 ac_status=$?
24362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24363 (exit $ac_status); }; } &&
24364 { ac_try='test -s conftest$ac_exeext'
24365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24366 (eval $ac_try) 2>&5
24367 ac_status=$?
24368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24369 (exit $ac_status); }; }; then
24370 ac_cv_lib_posix_remove=yes
24371 else
24372 echo "$as_me: failed program was:" >&5
24373 sed 's/^/| /' conftest.$ac_ext >&5
24374
24375 ac_cv_lib_posix_remove=no
24376 fi
24377 rm -f conftest.err conftest.$ac_objext \
24378 conftest$ac_exeext conftest.$ac_ext
24379 LIBS=$ac_check_lib_save_LIBS
24380 fi
24381 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24382 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
24383 if test $ac_cv_lib_posix_remove = yes; then
24384 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
24385 fi
24386
24387 fi
24388
24389 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24390 echo "$as_me:$LINENO: checking for shmat" >&5
24391 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
24392 if test "${ac_cv_func_shmat+set}" = set; then
24393 echo $ECHO_N "(cached) $ECHO_C" >&6
24394 else
24395 cat >conftest.$ac_ext <<_ACEOF
24396 /* confdefs.h. */
24397 _ACEOF
24398 cat confdefs.h >>conftest.$ac_ext
24399 cat >>conftest.$ac_ext <<_ACEOF
24400 /* end confdefs.h. */
24401 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24403 #define shmat innocuous_shmat
24404
24405 /* System header to define __stub macros and hopefully few prototypes,
24406 which can conflict with char shmat (); below.
24407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24408 <limits.h> exists even on freestanding compilers. */
24409
24410 #ifdef __STDC__
24411 # include <limits.h>
24412 #else
24413 # include <assert.h>
24414 #endif
24415
24416 #undef shmat
24417
24418 /* Override any gcc2 internal prototype to avoid an error. */
24419 #ifdef __cplusplus
24420 extern "C"
24421 {
24422 #endif
24423 /* We use char because int might match the return type of a gcc2
24424 builtin and then its argument prototype would still apply. */
24425 char shmat ();
24426 /* The GNU C library defines this for functions which it implements
24427 to always fail with ENOSYS. Some functions are actually named
24428 something starting with __ and the normal name is an alias. */
24429 #if defined (__stub_shmat) || defined (__stub___shmat)
24430 choke me
24431 #else
24432 char (*f) () = shmat;
24433 #endif
24434 #ifdef __cplusplus
24435 }
24436 #endif
24437
24438 int
24439 main ()
24440 {
24441 return f != shmat;
24442 ;
24443 return 0;
24444 }
24445 _ACEOF
24446 rm -f conftest.$ac_objext conftest$ac_exeext
24447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24448 (eval $ac_link) 2>conftest.er1
24449 ac_status=$?
24450 grep -v '^ *+' conftest.er1 >conftest.err
24451 rm -f conftest.er1
24452 cat conftest.err >&5
24453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24454 (exit $ac_status); } &&
24455 { ac_try='test -z "$ac_c_werror_flag"
24456 || test ! -s conftest.err'
24457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24458 (eval $ac_try) 2>&5
24459 ac_status=$?
24460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24461 (exit $ac_status); }; } &&
24462 { ac_try='test -s conftest$ac_exeext'
24463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24464 (eval $ac_try) 2>&5
24465 ac_status=$?
24466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24467 (exit $ac_status); }; }; then
24468 ac_cv_func_shmat=yes
24469 else
24470 echo "$as_me: failed program was:" >&5
24471 sed 's/^/| /' conftest.$ac_ext >&5
24472
24473 ac_cv_func_shmat=no
24474 fi
24475 rm -f conftest.err conftest.$ac_objext \
24476 conftest$ac_exeext conftest.$ac_ext
24477 fi
24478 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
24479 echo "${ECHO_T}$ac_cv_func_shmat" >&6
24480
24481 if test $ac_cv_func_shmat = no; then
24482 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
24483 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
24484 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
24485 echo $ECHO_N "(cached) $ECHO_C" >&6
24486 else
24487 ac_check_lib_save_LIBS=$LIBS
24488 LIBS="-lipc $LIBS"
24489 cat >conftest.$ac_ext <<_ACEOF
24490 /* confdefs.h. */
24491 _ACEOF
24492 cat confdefs.h >>conftest.$ac_ext
24493 cat >>conftest.$ac_ext <<_ACEOF
24494 /* end confdefs.h. */
24495
24496 /* Override any gcc2 internal prototype to avoid an error. */
24497 #ifdef __cplusplus
24498 extern "C"
24499 #endif
24500 /* We use char because int might match the return type of a gcc2
24501 builtin and then its argument prototype would still apply. */
24502 char shmat ();
24503 int
24504 main ()
24505 {
24506 shmat ();
24507 ;
24508 return 0;
24509 }
24510 _ACEOF
24511 rm -f conftest.$ac_objext conftest$ac_exeext
24512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24513 (eval $ac_link) 2>conftest.er1
24514 ac_status=$?
24515 grep -v '^ *+' conftest.er1 >conftest.err
24516 rm -f conftest.er1
24517 cat conftest.err >&5
24518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24519 (exit $ac_status); } &&
24520 { ac_try='test -z "$ac_c_werror_flag"
24521 || test ! -s conftest.err'
24522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24523 (eval $ac_try) 2>&5
24524 ac_status=$?
24525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24526 (exit $ac_status); }; } &&
24527 { ac_try='test -s conftest$ac_exeext'
24528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24529 (eval $ac_try) 2>&5
24530 ac_status=$?
24531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24532 (exit $ac_status); }; }; then
24533 ac_cv_lib_ipc_shmat=yes
24534 else
24535 echo "$as_me: failed program was:" >&5
24536 sed 's/^/| /' conftest.$ac_ext >&5
24537
24538 ac_cv_lib_ipc_shmat=no
24539 fi
24540 rm -f conftest.err conftest.$ac_objext \
24541 conftest$ac_exeext conftest.$ac_ext
24542 LIBS=$ac_check_lib_save_LIBS
24543 fi
24544 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24545 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
24546 if test $ac_cv_lib_ipc_shmat = yes; then
24547 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
24548 fi
24549
24550 fi
24551 fi
24552
24553 # Check for libraries that X11R6 Xt/Xaw programs need.
24554 ac_save_LDFLAGS=$LDFLAGS
24555 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
24556 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
24557 # check for ICE first), but we must link in the order -lSM -lICE or
24558 # we get undefined symbols. So assume we have SM if we have ICE.
24559 # These have to be linked with before -lX11, unlike the other
24560 # libraries we check for below, so use a different variable.
24561 # John Interrante, Karl Berry
24562 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
24563 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
24564 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
24565 echo $ECHO_N "(cached) $ECHO_C" >&6
24566 else
24567 ac_check_lib_save_LIBS=$LIBS
24568 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
24569 cat >conftest.$ac_ext <<_ACEOF
24570 /* confdefs.h. */
24571 _ACEOF
24572 cat confdefs.h >>conftest.$ac_ext
24573 cat >>conftest.$ac_ext <<_ACEOF
24574 /* end confdefs.h. */
24575
24576 /* Override any gcc2 internal prototype to avoid an error. */
24577 #ifdef __cplusplus
24578 extern "C"
24579 #endif
24580 /* We use char because int might match the return type of a gcc2
24581 builtin and then its argument prototype would still apply. */
24582 char IceConnectionNumber ();
24583 int
24584 main ()
24585 {
24586 IceConnectionNumber ();
24587 ;
24588 return 0;
24589 }
24590 _ACEOF
24591 rm -f conftest.$ac_objext conftest$ac_exeext
24592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24593 (eval $ac_link) 2>conftest.er1
24594 ac_status=$?
24595 grep -v '^ *+' conftest.er1 >conftest.err
24596 rm -f conftest.er1
24597 cat conftest.err >&5
24598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24599 (exit $ac_status); } &&
24600 { ac_try='test -z "$ac_c_werror_flag"
24601 || test ! -s conftest.err'
24602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24603 (eval $ac_try) 2>&5
24604 ac_status=$?
24605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24606 (exit $ac_status); }; } &&
24607 { ac_try='test -s conftest$ac_exeext'
24608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24609 (eval $ac_try) 2>&5
24610 ac_status=$?
24611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24612 (exit $ac_status); }; }; then
24613 ac_cv_lib_ICE_IceConnectionNumber=yes
24614 else
24615 echo "$as_me: failed program was:" >&5
24616 sed 's/^/| /' conftest.$ac_ext >&5
24617
24618 ac_cv_lib_ICE_IceConnectionNumber=no
24619 fi
24620 rm -f conftest.err conftest.$ac_objext \
24621 conftest$ac_exeext conftest.$ac_ext
24622 LIBS=$ac_check_lib_save_LIBS
24623 fi
24624 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24625 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
24626 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
24627 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
24628 fi
24629
24630 LDFLAGS=$ac_save_LDFLAGS
24631
24632 fi
24633
24634
24635 if test "$no_x" = "yes"; then
24636 { { echo "$as_me:$LINENO: error: X11 not found" >&5
24637 echo "$as_me: error: X11 not found" >&2;}
24638 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
24639 fi
24640
24641 GUI_TK_LIBRARY="$X_LIBS"
24642 TOOLKIT_INCLUDE="$X_CFLAGS"
24643 AFMINSTALL=afminstall
24644 COMPILED_X_PROGRAM=0
24645
24646 if test "$wxUSE_NANOX" = "yes"; then
24647 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
24648 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
24649 if test "x$MICROWIN" = x ; then
24650 echo "$as_me:$LINENO: result: not found" >&5
24651 echo "${ECHO_T}not found" >&6
24652 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
24653 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
24654 { (exit 1); exit 1; }; }
24655 else
24656 echo "$as_me:$LINENO: result: $MICROWIN" >&5
24657 echo "${ECHO_T}$MICROWIN" >&6
24658 cat >>confdefs.h <<\_ACEOF
24659 #define wxUSE_NANOX 1
24660 _ACEOF
24661
24662 fi
24663 fi
24664
24665 if test "$wxUSE_UNICODE" = "yes"; then
24666
24667 succeeded=no
24668
24669 if test -z "$PKG_CONFIG"; then
24670 # Extract the first word of "pkg-config", so it can be a program name with args.
24671 set dummy pkg-config; ac_word=$2
24672 echo "$as_me:$LINENO: checking for $ac_word" >&5
24673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24674 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24675 echo $ECHO_N "(cached) $ECHO_C" >&6
24676 else
24677 case $PKG_CONFIG in
24678 [\\/]* | ?:[\\/]*)
24679 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24680 ;;
24681 *)
24682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24683 for as_dir in $PATH
24684 do
24685 IFS=$as_save_IFS
24686 test -z "$as_dir" && as_dir=.
24687 for ac_exec_ext in '' $ac_executable_extensions; do
24688 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24689 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24691 break 2
24692 fi
24693 done
24694 done
24695
24696 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24697 ;;
24698 esac
24699 fi
24700 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24701
24702 if test -n "$PKG_CONFIG"; then
24703 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24704 echo "${ECHO_T}$PKG_CONFIG" >&6
24705 else
24706 echo "$as_me:$LINENO: result: no" >&5
24707 echo "${ECHO_T}no" >&6
24708 fi
24709
24710 fi
24711
24712 if test "$PKG_CONFIG" = "no" ; then
24713 echo "*** The pkg-config script could not be found. Make sure it is"
24714 echo "*** in your path, or set the PKG_CONFIG environment variable"
24715 echo "*** to the full path to pkg-config."
24716 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24717 else
24718 PKG_CONFIG_MIN_VERSION=0.9.0
24719 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24720 echo "$as_me:$LINENO: checking for pangox" >&5
24721 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
24722
24723 if $PKG_CONFIG --exists "pangox" ; then
24724 echo "$as_me:$LINENO: result: yes" >&5
24725 echo "${ECHO_T}yes" >&6
24726 succeeded=yes
24727
24728 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
24729 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
24730 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
24731 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
24732 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
24733
24734 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
24735 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
24736 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
24737 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
24738 echo "${ECHO_T}$PANGOX_LIBS" >&6
24739 else
24740 PANGOX_CFLAGS=""
24741 PANGOX_LIBS=""
24742 ## If we have a custom action on failure, don't print errors, but
24743 ## do set a variable so people can do so.
24744 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
24745
24746 fi
24747
24748
24749
24750 else
24751 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24752 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24753 fi
24754 fi
24755
24756 if test $succeeded = yes; then
24757
24758 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
24759 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
24760
24761 else
24762
24763 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
24764 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
24765 { (exit 1); exit 1; }; }
24766
24767
24768 fi
24769
24770
24771 succeeded=no
24772
24773 if test -z "$PKG_CONFIG"; then
24774 # Extract the first word of "pkg-config", so it can be a program name with args.
24775 set dummy pkg-config; ac_word=$2
24776 echo "$as_me:$LINENO: checking for $ac_word" >&5
24777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24778 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24779 echo $ECHO_N "(cached) $ECHO_C" >&6
24780 else
24781 case $PKG_CONFIG in
24782 [\\/]* | ?:[\\/]*)
24783 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24784 ;;
24785 *)
24786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24787 for as_dir in $PATH
24788 do
24789 IFS=$as_save_IFS
24790 test -z "$as_dir" && as_dir=.
24791 for ac_exec_ext in '' $ac_executable_extensions; do
24792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24793 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24795 break 2
24796 fi
24797 done
24798 done
24799
24800 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24801 ;;
24802 esac
24803 fi
24804 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24805
24806 if test -n "$PKG_CONFIG"; then
24807 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24808 echo "${ECHO_T}$PKG_CONFIG" >&6
24809 else
24810 echo "$as_me:$LINENO: result: no" >&5
24811 echo "${ECHO_T}no" >&6
24812 fi
24813
24814 fi
24815
24816 if test "$PKG_CONFIG" = "no" ; then
24817 echo "*** The pkg-config script could not be found. Make sure it is"
24818 echo "*** in your path, or set the PKG_CONFIG environment variable"
24819 echo "*** to the full path to pkg-config."
24820 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24821 else
24822 PKG_CONFIG_MIN_VERSION=0.9.0
24823 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24824 echo "$as_me:$LINENO: checking for pangoft2" >&5
24825 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
24826
24827 if $PKG_CONFIG --exists "pangoft2" ; then
24828 echo "$as_me:$LINENO: result: yes" >&5
24829 echo "${ECHO_T}yes" >&6
24830 succeeded=yes
24831
24832 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
24833 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
24834 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
24835 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
24836 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
24837
24838 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
24839 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
24840 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
24841 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
24842 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
24843 else
24844 PANGOFT2_CFLAGS=""
24845 PANGOFT2_LIBS=""
24846 ## If we have a custom action on failure, don't print errors, but
24847 ## do set a variable so people can do so.
24848 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
24849
24850 fi
24851
24852
24853
24854 else
24855 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24856 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24857 fi
24858 fi
24859
24860 if test $succeeded = yes; then
24861
24862 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
24863 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
24864
24865 else
24866
24867 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
24868 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
24869 wxUSE_PRINTING_ARCHITECTURE="no"
24870
24871
24872 fi
24873
24874
24875 succeeded=no
24876
24877 if test -z "$PKG_CONFIG"; then
24878 # Extract the first word of "pkg-config", so it can be a program name with args.
24879 set dummy pkg-config; ac_word=$2
24880 echo "$as_me:$LINENO: checking for $ac_word" >&5
24881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24882 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24883 echo $ECHO_N "(cached) $ECHO_C" >&6
24884 else
24885 case $PKG_CONFIG in
24886 [\\/]* | ?:[\\/]*)
24887 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24888 ;;
24889 *)
24890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24891 for as_dir in $PATH
24892 do
24893 IFS=$as_save_IFS
24894 test -z "$as_dir" && as_dir=.
24895 for ac_exec_ext in '' $ac_executable_extensions; do
24896 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24897 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24899 break 2
24900 fi
24901 done
24902 done
24903
24904 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24905 ;;
24906 esac
24907 fi
24908 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24909
24910 if test -n "$PKG_CONFIG"; then
24911 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24912 echo "${ECHO_T}$PKG_CONFIG" >&6
24913 else
24914 echo "$as_me:$LINENO: result: no" >&5
24915 echo "${ECHO_T}no" >&6
24916 fi
24917
24918 fi
24919
24920 if test "$PKG_CONFIG" = "no" ; then
24921 echo "*** The pkg-config script could not be found. Make sure it is"
24922 echo "*** in your path, or set the PKG_CONFIG environment variable"
24923 echo "*** to the full path to pkg-config."
24924 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24925 else
24926 PKG_CONFIG_MIN_VERSION=0.9.0
24927 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24928 echo "$as_me:$LINENO: checking for pangoxft" >&5
24929 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
24930
24931 if $PKG_CONFIG --exists "pangoxft" ; then
24932 echo "$as_me:$LINENO: result: yes" >&5
24933 echo "${ECHO_T}yes" >&6
24934 succeeded=yes
24935
24936 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
24937 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
24938 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
24939 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
24940 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
24941
24942 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
24943 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
24944 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
24945 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
24946 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
24947 else
24948 PANGOXFT_CFLAGS=""
24949 PANGOXFT_LIBS=""
24950 ## If we have a custom action on failure, don't print errors, but
24951 ## do set a variable so people can do so.
24952 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
24953
24954 fi
24955
24956
24957
24958 else
24959 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24960 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24961 fi
24962 fi
24963
24964 if test $succeeded = yes; then
24965
24966 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
24967 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
24968
24969 else
24970
24971 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
24972 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
24973
24974
24975 fi
24976
24977 fi
24978
24979 wxUSE_UNIVERSAL="yes"
24980
24981 if test "$wxUSE_NANOX" = "yes"; then
24982 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
24983 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"
24984 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
24985 else
24986 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
24987 fi
24988
24989 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
24990 TOOLKIT=X11
24991 GUIDIST=X11_DIST
24992 fi
24993
24994 if test "$wxUSE_MOTIF" = 1; then
24995 if test "$no_x" = yes; then
24996 # Not all programs may use this symbol, but it does not hurt to define it.
24997
24998 cat >>confdefs.h <<\_ACEOF
24999 #define X_DISPLAY_MISSING 1
25000 _ACEOF
25001
25002 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
25003 else
25004 if test -n "$x_includes"; then
25005 X_CFLAGS="$X_CFLAGS -I$x_includes"
25006 fi
25007
25008 # It would also be nice to do this for all -L options, not just this one.
25009 if test -n "$x_libraries"; then
25010 X_LIBS="$X_LIBS -L$x_libraries"
25011 # For Solaris; some versions of Sun CC require a space after -R and
25012 # others require no space. Words are not sufficient . . . .
25013 case `(uname -sr) 2>/dev/null` in
25014 "SunOS 5"*)
25015 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
25016 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
25017 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
25018 cat >conftest.$ac_ext <<_ACEOF
25019 /* confdefs.h. */
25020 _ACEOF
25021 cat confdefs.h >>conftest.$ac_ext
25022 cat >>conftest.$ac_ext <<_ACEOF
25023 /* end confdefs.h. */
25024
25025 int
25026 main ()
25027 {
25028
25029 ;
25030 return 0;
25031 }
25032 _ACEOF
25033 rm -f conftest.$ac_objext conftest$ac_exeext
25034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25035 (eval $ac_link) 2>conftest.er1
25036 ac_status=$?
25037 grep -v '^ *+' conftest.er1 >conftest.err
25038 rm -f conftest.er1
25039 cat conftest.err >&5
25040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25041 (exit $ac_status); } &&
25042 { ac_try='test -z "$ac_c_werror_flag"
25043 || test ! -s conftest.err'
25044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25045 (eval $ac_try) 2>&5
25046 ac_status=$?
25047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25048 (exit $ac_status); }; } &&
25049 { ac_try='test -s conftest$ac_exeext'
25050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25051 (eval $ac_try) 2>&5
25052 ac_status=$?
25053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25054 (exit $ac_status); }; }; then
25055 ac_R_nospace=yes
25056 else
25057 echo "$as_me: failed program was:" >&5
25058 sed 's/^/| /' conftest.$ac_ext >&5
25059
25060 ac_R_nospace=no
25061 fi
25062 rm -f conftest.err conftest.$ac_objext \
25063 conftest$ac_exeext conftest.$ac_ext
25064 if test $ac_R_nospace = yes; then
25065 echo "$as_me:$LINENO: result: no" >&5
25066 echo "${ECHO_T}no" >&6
25067 X_LIBS="$X_LIBS -R$x_libraries"
25068 else
25069 LIBS="$ac_xsave_LIBS -R $x_libraries"
25070 cat >conftest.$ac_ext <<_ACEOF
25071 /* confdefs.h. */
25072 _ACEOF
25073 cat confdefs.h >>conftest.$ac_ext
25074 cat >>conftest.$ac_ext <<_ACEOF
25075 /* end confdefs.h. */
25076
25077 int
25078 main ()
25079 {
25080
25081 ;
25082 return 0;
25083 }
25084 _ACEOF
25085 rm -f conftest.$ac_objext conftest$ac_exeext
25086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25087 (eval $ac_link) 2>conftest.er1
25088 ac_status=$?
25089 grep -v '^ *+' conftest.er1 >conftest.err
25090 rm -f conftest.er1
25091 cat conftest.err >&5
25092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25093 (exit $ac_status); } &&
25094 { ac_try='test -z "$ac_c_werror_flag"
25095 || test ! -s conftest.err'
25096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25097 (eval $ac_try) 2>&5
25098 ac_status=$?
25099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25100 (exit $ac_status); }; } &&
25101 { ac_try='test -s conftest$ac_exeext'
25102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25103 (eval $ac_try) 2>&5
25104 ac_status=$?
25105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25106 (exit $ac_status); }; }; then
25107 ac_R_space=yes
25108 else
25109 echo "$as_me: failed program was:" >&5
25110 sed 's/^/| /' conftest.$ac_ext >&5
25111
25112 ac_R_space=no
25113 fi
25114 rm -f conftest.err conftest.$ac_objext \
25115 conftest$ac_exeext conftest.$ac_ext
25116 if test $ac_R_space = yes; then
25117 echo "$as_me:$LINENO: result: yes" >&5
25118 echo "${ECHO_T}yes" >&6
25119 X_LIBS="$X_LIBS -R $x_libraries"
25120 else
25121 echo "$as_me:$LINENO: result: neither works" >&5
25122 echo "${ECHO_T}neither works" >&6
25123 fi
25124 fi
25125 LIBS=$ac_xsave_LIBS
25126 esac
25127 fi
25128
25129 # Check for system-dependent libraries X programs must link with.
25130 # Do this before checking for the system-independent R6 libraries
25131 # (-lICE), since we may need -lsocket or whatever for X linking.
25132
25133 if test "$ISC" = yes; then
25134 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
25135 else
25136 # Martyn Johnson says this is needed for Ultrix, if the X
25137 # libraries were built with DECnet support. And Karl Berry says
25138 # the Alpha needs dnet_stub (dnet does not exist).
25139 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
25140 cat >conftest.$ac_ext <<_ACEOF
25141 /* confdefs.h. */
25142 _ACEOF
25143 cat confdefs.h >>conftest.$ac_ext
25144 cat >>conftest.$ac_ext <<_ACEOF
25145 /* end confdefs.h. */
25146
25147 /* Override any gcc2 internal prototype to avoid an error. */
25148 #ifdef __cplusplus
25149 extern "C"
25150 #endif
25151 /* We use char because int might match the return type of a gcc2
25152 builtin and then its argument prototype would still apply. */
25153 char XOpenDisplay ();
25154 int
25155 main ()
25156 {
25157 XOpenDisplay ();
25158 ;
25159 return 0;
25160 }
25161 _ACEOF
25162 rm -f conftest.$ac_objext conftest$ac_exeext
25163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25164 (eval $ac_link) 2>conftest.er1
25165 ac_status=$?
25166 grep -v '^ *+' conftest.er1 >conftest.err
25167 rm -f conftest.er1
25168 cat conftest.err >&5
25169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25170 (exit $ac_status); } &&
25171 { ac_try='test -z "$ac_c_werror_flag"
25172 || test ! -s conftest.err'
25173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25174 (eval $ac_try) 2>&5
25175 ac_status=$?
25176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25177 (exit $ac_status); }; } &&
25178 { ac_try='test -s conftest$ac_exeext'
25179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25180 (eval $ac_try) 2>&5
25181 ac_status=$?
25182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25183 (exit $ac_status); }; }; then
25184 :
25185 else
25186 echo "$as_me: failed program was:" >&5
25187 sed 's/^/| /' conftest.$ac_ext >&5
25188
25189 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
25190 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
25191 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
25192 echo $ECHO_N "(cached) $ECHO_C" >&6
25193 else
25194 ac_check_lib_save_LIBS=$LIBS
25195 LIBS="-ldnet $LIBS"
25196 cat >conftest.$ac_ext <<_ACEOF
25197 /* confdefs.h. */
25198 _ACEOF
25199 cat confdefs.h >>conftest.$ac_ext
25200 cat >>conftest.$ac_ext <<_ACEOF
25201 /* end confdefs.h. */
25202
25203 /* Override any gcc2 internal prototype to avoid an error. */
25204 #ifdef __cplusplus
25205 extern "C"
25206 #endif
25207 /* We use char because int might match the return type of a gcc2
25208 builtin and then its argument prototype would still apply. */
25209 char dnet_ntoa ();
25210 int
25211 main ()
25212 {
25213 dnet_ntoa ();
25214 ;
25215 return 0;
25216 }
25217 _ACEOF
25218 rm -f conftest.$ac_objext conftest$ac_exeext
25219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25220 (eval $ac_link) 2>conftest.er1
25221 ac_status=$?
25222 grep -v '^ *+' conftest.er1 >conftest.err
25223 rm -f conftest.er1
25224 cat conftest.err >&5
25225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25226 (exit $ac_status); } &&
25227 { ac_try='test -z "$ac_c_werror_flag"
25228 || test ! -s conftest.err'
25229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25230 (eval $ac_try) 2>&5
25231 ac_status=$?
25232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25233 (exit $ac_status); }; } &&
25234 { ac_try='test -s conftest$ac_exeext'
25235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25236 (eval $ac_try) 2>&5
25237 ac_status=$?
25238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25239 (exit $ac_status); }; }; then
25240 ac_cv_lib_dnet_dnet_ntoa=yes
25241 else
25242 echo "$as_me: failed program was:" >&5
25243 sed 's/^/| /' conftest.$ac_ext >&5
25244
25245 ac_cv_lib_dnet_dnet_ntoa=no
25246 fi
25247 rm -f conftest.err conftest.$ac_objext \
25248 conftest$ac_exeext conftest.$ac_ext
25249 LIBS=$ac_check_lib_save_LIBS
25250 fi
25251 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25252 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
25253 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
25254 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25255 fi
25256
25257 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25258 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
25259 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
25260 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
25261 echo $ECHO_N "(cached) $ECHO_C" >&6
25262 else
25263 ac_check_lib_save_LIBS=$LIBS
25264 LIBS="-ldnet_stub $LIBS"
25265 cat >conftest.$ac_ext <<_ACEOF
25266 /* confdefs.h. */
25267 _ACEOF
25268 cat confdefs.h >>conftest.$ac_ext
25269 cat >>conftest.$ac_ext <<_ACEOF
25270 /* end confdefs.h. */
25271
25272 /* Override any gcc2 internal prototype to avoid an error. */
25273 #ifdef __cplusplus
25274 extern "C"
25275 #endif
25276 /* We use char because int might match the return type of a gcc2
25277 builtin and then its argument prototype would still apply. */
25278 char dnet_ntoa ();
25279 int
25280 main ()
25281 {
25282 dnet_ntoa ();
25283 ;
25284 return 0;
25285 }
25286 _ACEOF
25287 rm -f conftest.$ac_objext conftest$ac_exeext
25288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25289 (eval $ac_link) 2>conftest.er1
25290 ac_status=$?
25291 grep -v '^ *+' conftest.er1 >conftest.err
25292 rm -f conftest.er1
25293 cat conftest.err >&5
25294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25295 (exit $ac_status); } &&
25296 { ac_try='test -z "$ac_c_werror_flag"
25297 || test ! -s conftest.err'
25298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25299 (eval $ac_try) 2>&5
25300 ac_status=$?
25301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25302 (exit $ac_status); }; } &&
25303 { ac_try='test -s conftest$ac_exeext'
25304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25305 (eval $ac_try) 2>&5
25306 ac_status=$?
25307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25308 (exit $ac_status); }; }; then
25309 ac_cv_lib_dnet_stub_dnet_ntoa=yes
25310 else
25311 echo "$as_me: failed program was:" >&5
25312 sed 's/^/| /' conftest.$ac_ext >&5
25313
25314 ac_cv_lib_dnet_stub_dnet_ntoa=no
25315 fi
25316 rm -f conftest.err conftest.$ac_objext \
25317 conftest$ac_exeext conftest.$ac_ext
25318 LIBS=$ac_check_lib_save_LIBS
25319 fi
25320 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25321 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
25322 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
25323 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25324 fi
25325
25326 fi
25327 fi
25328 rm -f conftest.err conftest.$ac_objext \
25329 conftest$ac_exeext conftest.$ac_ext
25330 LIBS="$ac_xsave_LIBS"
25331
25332 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25333 # to get the SysV transport functions.
25334 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25335 # needs -lnsl.
25336 # The nsl library prevents programs from opening the X display
25337 # on Irix 5.2, according to T.E. Dickey.
25338 # The functions gethostbyname, getservbyname, and inet_addr are
25339 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25340 echo "$as_me:$LINENO: checking for gethostbyname" >&5
25341 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
25342 if test "${ac_cv_func_gethostbyname+set}" = set; then
25343 echo $ECHO_N "(cached) $ECHO_C" >&6
25344 else
25345 cat >conftest.$ac_ext <<_ACEOF
25346 /* confdefs.h. */
25347 _ACEOF
25348 cat confdefs.h >>conftest.$ac_ext
25349 cat >>conftest.$ac_ext <<_ACEOF
25350 /* end confdefs.h. */
25351 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
25352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25353 #define gethostbyname innocuous_gethostbyname
25354
25355 /* System header to define __stub macros and hopefully few prototypes,
25356 which can conflict with char gethostbyname (); below.
25357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25358 <limits.h> exists even on freestanding compilers. */
25359
25360 #ifdef __STDC__
25361 # include <limits.h>
25362 #else
25363 # include <assert.h>
25364 #endif
25365
25366 #undef gethostbyname
25367
25368 /* Override any gcc2 internal prototype to avoid an error. */
25369 #ifdef __cplusplus
25370 extern "C"
25371 {
25372 #endif
25373 /* We use char because int might match the return type of a gcc2
25374 builtin and then its argument prototype would still apply. */
25375 char gethostbyname ();
25376 /* The GNU C library defines this for functions which it implements
25377 to always fail with ENOSYS. Some functions are actually named
25378 something starting with __ and the normal name is an alias. */
25379 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
25380 choke me
25381 #else
25382 char (*f) () = gethostbyname;
25383 #endif
25384 #ifdef __cplusplus
25385 }
25386 #endif
25387
25388 int
25389 main ()
25390 {
25391 return f != gethostbyname;
25392 ;
25393 return 0;
25394 }
25395 _ACEOF
25396 rm -f conftest.$ac_objext conftest$ac_exeext
25397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25398 (eval $ac_link) 2>conftest.er1
25399 ac_status=$?
25400 grep -v '^ *+' conftest.er1 >conftest.err
25401 rm -f conftest.er1
25402 cat conftest.err >&5
25403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25404 (exit $ac_status); } &&
25405 { ac_try='test -z "$ac_c_werror_flag"
25406 || test ! -s conftest.err'
25407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25408 (eval $ac_try) 2>&5
25409 ac_status=$?
25410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25411 (exit $ac_status); }; } &&
25412 { ac_try='test -s conftest$ac_exeext'
25413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25414 (eval $ac_try) 2>&5
25415 ac_status=$?
25416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25417 (exit $ac_status); }; }; then
25418 ac_cv_func_gethostbyname=yes
25419 else
25420 echo "$as_me: failed program was:" >&5
25421 sed 's/^/| /' conftest.$ac_ext >&5
25422
25423 ac_cv_func_gethostbyname=no
25424 fi
25425 rm -f conftest.err conftest.$ac_objext \
25426 conftest$ac_exeext conftest.$ac_ext
25427 fi
25428 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
25429 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
25430
25431 if test $ac_cv_func_gethostbyname = no; then
25432 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
25433 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
25434 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
25435 echo $ECHO_N "(cached) $ECHO_C" >&6
25436 else
25437 ac_check_lib_save_LIBS=$LIBS
25438 LIBS="-lnsl $LIBS"
25439 cat >conftest.$ac_ext <<_ACEOF
25440 /* confdefs.h. */
25441 _ACEOF
25442 cat confdefs.h >>conftest.$ac_ext
25443 cat >>conftest.$ac_ext <<_ACEOF
25444 /* end confdefs.h. */
25445
25446 /* Override any gcc2 internal prototype to avoid an error. */
25447 #ifdef __cplusplus
25448 extern "C"
25449 #endif
25450 /* We use char because int might match the return type of a gcc2
25451 builtin and then its argument prototype would still apply. */
25452 char gethostbyname ();
25453 int
25454 main ()
25455 {
25456 gethostbyname ();
25457 ;
25458 return 0;
25459 }
25460 _ACEOF
25461 rm -f conftest.$ac_objext conftest$ac_exeext
25462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25463 (eval $ac_link) 2>conftest.er1
25464 ac_status=$?
25465 grep -v '^ *+' conftest.er1 >conftest.err
25466 rm -f conftest.er1
25467 cat conftest.err >&5
25468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25469 (exit $ac_status); } &&
25470 { ac_try='test -z "$ac_c_werror_flag"
25471 || test ! -s conftest.err'
25472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25473 (eval $ac_try) 2>&5
25474 ac_status=$?
25475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25476 (exit $ac_status); }; } &&
25477 { ac_try='test -s conftest$ac_exeext'
25478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25479 (eval $ac_try) 2>&5
25480 ac_status=$?
25481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25482 (exit $ac_status); }; }; then
25483 ac_cv_lib_nsl_gethostbyname=yes
25484 else
25485 echo "$as_me: failed program was:" >&5
25486 sed 's/^/| /' conftest.$ac_ext >&5
25487
25488 ac_cv_lib_nsl_gethostbyname=no
25489 fi
25490 rm -f conftest.err conftest.$ac_objext \
25491 conftest$ac_exeext conftest.$ac_ext
25492 LIBS=$ac_check_lib_save_LIBS
25493 fi
25494 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
25495 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
25496 if test $ac_cv_lib_nsl_gethostbyname = yes; then
25497 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25498 fi
25499
25500 if test $ac_cv_lib_nsl_gethostbyname = no; then
25501 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25502 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
25503 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25504 echo $ECHO_N "(cached) $ECHO_C" >&6
25505 else
25506 ac_check_lib_save_LIBS=$LIBS
25507 LIBS="-lbsd $LIBS"
25508 cat >conftest.$ac_ext <<_ACEOF
25509 /* confdefs.h. */
25510 _ACEOF
25511 cat confdefs.h >>conftest.$ac_ext
25512 cat >>conftest.$ac_ext <<_ACEOF
25513 /* end confdefs.h. */
25514
25515 /* Override any gcc2 internal prototype to avoid an error. */
25516 #ifdef __cplusplus
25517 extern "C"
25518 #endif
25519 /* We use char because int might match the return type of a gcc2
25520 builtin and then its argument prototype would still apply. */
25521 char gethostbyname ();
25522 int
25523 main ()
25524 {
25525 gethostbyname ();
25526 ;
25527 return 0;
25528 }
25529 _ACEOF
25530 rm -f conftest.$ac_objext conftest$ac_exeext
25531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25532 (eval $ac_link) 2>conftest.er1
25533 ac_status=$?
25534 grep -v '^ *+' conftest.er1 >conftest.err
25535 rm -f conftest.er1
25536 cat conftest.err >&5
25537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25538 (exit $ac_status); } &&
25539 { ac_try='test -z "$ac_c_werror_flag"
25540 || test ! -s conftest.err'
25541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25542 (eval $ac_try) 2>&5
25543 ac_status=$?
25544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25545 (exit $ac_status); }; } &&
25546 { ac_try='test -s conftest$ac_exeext'
25547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25548 (eval $ac_try) 2>&5
25549 ac_status=$?
25550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25551 (exit $ac_status); }; }; then
25552 ac_cv_lib_bsd_gethostbyname=yes
25553 else
25554 echo "$as_me: failed program was:" >&5
25555 sed 's/^/| /' conftest.$ac_ext >&5
25556
25557 ac_cv_lib_bsd_gethostbyname=no
25558 fi
25559 rm -f conftest.err conftest.$ac_objext \
25560 conftest$ac_exeext conftest.$ac_ext
25561 LIBS=$ac_check_lib_save_LIBS
25562 fi
25563 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25564 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
25565 if test $ac_cv_lib_bsd_gethostbyname = yes; then
25566 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25567 fi
25568
25569 fi
25570 fi
25571
25572 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25573 # socket/setsockopt and other routines are undefined under SCO ODT
25574 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25575 # on later versions), says Simon Leinen: it contains gethostby*
25576 # variants that don't use the name server (or something). -lsocket
25577 # must be given before -lnsl if both are needed. We assume that
25578 # if connect needs -lnsl, so does gethostbyname.
25579 echo "$as_me:$LINENO: checking for connect" >&5
25580 echo $ECHO_N "checking for connect... $ECHO_C" >&6
25581 if test "${ac_cv_func_connect+set}" = set; then
25582 echo $ECHO_N "(cached) $ECHO_C" >&6
25583 else
25584 cat >conftest.$ac_ext <<_ACEOF
25585 /* confdefs.h. */
25586 _ACEOF
25587 cat confdefs.h >>conftest.$ac_ext
25588 cat >>conftest.$ac_ext <<_ACEOF
25589 /* end confdefs.h. */
25590 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
25591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25592 #define connect innocuous_connect
25593
25594 /* System header to define __stub macros and hopefully few prototypes,
25595 which can conflict with char connect (); below.
25596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25597 <limits.h> exists even on freestanding compilers. */
25598
25599 #ifdef __STDC__
25600 # include <limits.h>
25601 #else
25602 # include <assert.h>
25603 #endif
25604
25605 #undef connect
25606
25607 /* Override any gcc2 internal prototype to avoid an error. */
25608 #ifdef __cplusplus
25609 extern "C"
25610 {
25611 #endif
25612 /* We use char because int might match the return type of a gcc2
25613 builtin and then its argument prototype would still apply. */
25614 char connect ();
25615 /* The GNU C library defines this for functions which it implements
25616 to always fail with ENOSYS. Some functions are actually named
25617 something starting with __ and the normal name is an alias. */
25618 #if defined (__stub_connect) || defined (__stub___connect)
25619 choke me
25620 #else
25621 char (*f) () = connect;
25622 #endif
25623 #ifdef __cplusplus
25624 }
25625 #endif
25626
25627 int
25628 main ()
25629 {
25630 return f != connect;
25631 ;
25632 return 0;
25633 }
25634 _ACEOF
25635 rm -f conftest.$ac_objext conftest$ac_exeext
25636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25637 (eval $ac_link) 2>conftest.er1
25638 ac_status=$?
25639 grep -v '^ *+' conftest.er1 >conftest.err
25640 rm -f conftest.er1
25641 cat conftest.err >&5
25642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25643 (exit $ac_status); } &&
25644 { ac_try='test -z "$ac_c_werror_flag"
25645 || test ! -s conftest.err'
25646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25647 (eval $ac_try) 2>&5
25648 ac_status=$?
25649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25650 (exit $ac_status); }; } &&
25651 { ac_try='test -s conftest$ac_exeext'
25652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25653 (eval $ac_try) 2>&5
25654 ac_status=$?
25655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25656 (exit $ac_status); }; }; then
25657 ac_cv_func_connect=yes
25658 else
25659 echo "$as_me: failed program was:" >&5
25660 sed 's/^/| /' conftest.$ac_ext >&5
25661
25662 ac_cv_func_connect=no
25663 fi
25664 rm -f conftest.err conftest.$ac_objext \
25665 conftest$ac_exeext conftest.$ac_ext
25666 fi
25667 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25668 echo "${ECHO_T}$ac_cv_func_connect" >&6
25669
25670 if test $ac_cv_func_connect = no; then
25671 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25672 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25673 if test "${ac_cv_lib_socket_connect+set}" = set; then
25674 echo $ECHO_N "(cached) $ECHO_C" >&6
25675 else
25676 ac_check_lib_save_LIBS=$LIBS
25677 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25678 cat >conftest.$ac_ext <<_ACEOF
25679 /* confdefs.h. */
25680 _ACEOF
25681 cat confdefs.h >>conftest.$ac_ext
25682 cat >>conftest.$ac_ext <<_ACEOF
25683 /* end confdefs.h. */
25684
25685 /* Override any gcc2 internal prototype to avoid an error. */
25686 #ifdef __cplusplus
25687 extern "C"
25688 #endif
25689 /* We use char because int might match the return type of a gcc2
25690 builtin and then its argument prototype would still apply. */
25691 char connect ();
25692 int
25693 main ()
25694 {
25695 connect ();
25696 ;
25697 return 0;
25698 }
25699 _ACEOF
25700 rm -f conftest.$ac_objext conftest$ac_exeext
25701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25702 (eval $ac_link) 2>conftest.er1
25703 ac_status=$?
25704 grep -v '^ *+' conftest.er1 >conftest.err
25705 rm -f conftest.er1
25706 cat conftest.err >&5
25707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25708 (exit $ac_status); } &&
25709 { ac_try='test -z "$ac_c_werror_flag"
25710 || test ! -s conftest.err'
25711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25712 (eval $ac_try) 2>&5
25713 ac_status=$?
25714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25715 (exit $ac_status); }; } &&
25716 { ac_try='test -s conftest$ac_exeext'
25717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25718 (eval $ac_try) 2>&5
25719 ac_status=$?
25720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25721 (exit $ac_status); }; }; then
25722 ac_cv_lib_socket_connect=yes
25723 else
25724 echo "$as_me: failed program was:" >&5
25725 sed 's/^/| /' conftest.$ac_ext >&5
25726
25727 ac_cv_lib_socket_connect=no
25728 fi
25729 rm -f conftest.err conftest.$ac_objext \
25730 conftest$ac_exeext conftest.$ac_ext
25731 LIBS=$ac_check_lib_save_LIBS
25732 fi
25733 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25734 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25735 if test $ac_cv_lib_socket_connect = yes; then
25736 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25737 fi
25738
25739 fi
25740
25741 # Guillermo Gomez says -lposix is necessary on A/UX.
25742 echo "$as_me:$LINENO: checking for remove" >&5
25743 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25744 if test "${ac_cv_func_remove+set}" = set; then
25745 echo $ECHO_N "(cached) $ECHO_C" >&6
25746 else
25747 cat >conftest.$ac_ext <<_ACEOF
25748 /* confdefs.h. */
25749 _ACEOF
25750 cat confdefs.h >>conftest.$ac_ext
25751 cat >>conftest.$ac_ext <<_ACEOF
25752 /* end confdefs.h. */
25753 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25755 #define remove innocuous_remove
25756
25757 /* System header to define __stub macros and hopefully few prototypes,
25758 which can conflict with char remove (); below.
25759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25760 <limits.h> exists even on freestanding compilers. */
25761
25762 #ifdef __STDC__
25763 # include <limits.h>
25764 #else
25765 # include <assert.h>
25766 #endif
25767
25768 #undef remove
25769
25770 /* Override any gcc2 internal prototype to avoid an error. */
25771 #ifdef __cplusplus
25772 extern "C"
25773 {
25774 #endif
25775 /* We use char because int might match the return type of a gcc2
25776 builtin and then its argument prototype would still apply. */
25777 char remove ();
25778 /* The GNU C library defines this for functions which it implements
25779 to always fail with ENOSYS. Some functions are actually named
25780 something starting with __ and the normal name is an alias. */
25781 #if defined (__stub_remove) || defined (__stub___remove)
25782 choke me
25783 #else
25784 char (*f) () = remove;
25785 #endif
25786 #ifdef __cplusplus
25787 }
25788 #endif
25789
25790 int
25791 main ()
25792 {
25793 return f != remove;
25794 ;
25795 return 0;
25796 }
25797 _ACEOF
25798 rm -f conftest.$ac_objext conftest$ac_exeext
25799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25800 (eval $ac_link) 2>conftest.er1
25801 ac_status=$?
25802 grep -v '^ *+' conftest.er1 >conftest.err
25803 rm -f conftest.er1
25804 cat conftest.err >&5
25805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25806 (exit $ac_status); } &&
25807 { ac_try='test -z "$ac_c_werror_flag"
25808 || test ! -s conftest.err'
25809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25810 (eval $ac_try) 2>&5
25811 ac_status=$?
25812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25813 (exit $ac_status); }; } &&
25814 { ac_try='test -s conftest$ac_exeext'
25815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25816 (eval $ac_try) 2>&5
25817 ac_status=$?
25818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25819 (exit $ac_status); }; }; then
25820 ac_cv_func_remove=yes
25821 else
25822 echo "$as_me: failed program was:" >&5
25823 sed 's/^/| /' conftest.$ac_ext >&5
25824
25825 ac_cv_func_remove=no
25826 fi
25827 rm -f conftest.err conftest.$ac_objext \
25828 conftest$ac_exeext conftest.$ac_ext
25829 fi
25830 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25831 echo "${ECHO_T}$ac_cv_func_remove" >&6
25832
25833 if test $ac_cv_func_remove = no; then
25834 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25835 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25836 if test "${ac_cv_lib_posix_remove+set}" = set; then
25837 echo $ECHO_N "(cached) $ECHO_C" >&6
25838 else
25839 ac_check_lib_save_LIBS=$LIBS
25840 LIBS="-lposix $LIBS"
25841 cat >conftest.$ac_ext <<_ACEOF
25842 /* confdefs.h. */
25843 _ACEOF
25844 cat confdefs.h >>conftest.$ac_ext
25845 cat >>conftest.$ac_ext <<_ACEOF
25846 /* end confdefs.h. */
25847
25848 /* Override any gcc2 internal prototype to avoid an error. */
25849 #ifdef __cplusplus
25850 extern "C"
25851 #endif
25852 /* We use char because int might match the return type of a gcc2
25853 builtin and then its argument prototype would still apply. */
25854 char remove ();
25855 int
25856 main ()
25857 {
25858 remove ();
25859 ;
25860 return 0;
25861 }
25862 _ACEOF
25863 rm -f conftest.$ac_objext conftest$ac_exeext
25864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25865 (eval $ac_link) 2>conftest.er1
25866 ac_status=$?
25867 grep -v '^ *+' conftest.er1 >conftest.err
25868 rm -f conftest.er1
25869 cat conftest.err >&5
25870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25871 (exit $ac_status); } &&
25872 { ac_try='test -z "$ac_c_werror_flag"
25873 || test ! -s conftest.err'
25874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25875 (eval $ac_try) 2>&5
25876 ac_status=$?
25877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25878 (exit $ac_status); }; } &&
25879 { ac_try='test -s conftest$ac_exeext'
25880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25881 (eval $ac_try) 2>&5
25882 ac_status=$?
25883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25884 (exit $ac_status); }; }; then
25885 ac_cv_lib_posix_remove=yes
25886 else
25887 echo "$as_me: failed program was:" >&5
25888 sed 's/^/| /' conftest.$ac_ext >&5
25889
25890 ac_cv_lib_posix_remove=no
25891 fi
25892 rm -f conftest.err conftest.$ac_objext \
25893 conftest$ac_exeext conftest.$ac_ext
25894 LIBS=$ac_check_lib_save_LIBS
25895 fi
25896 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25897 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25898 if test $ac_cv_lib_posix_remove = yes; then
25899 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25900 fi
25901
25902 fi
25903
25904 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25905 echo "$as_me:$LINENO: checking for shmat" >&5
25906 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25907 if test "${ac_cv_func_shmat+set}" = set; then
25908 echo $ECHO_N "(cached) $ECHO_C" >&6
25909 else
25910 cat >conftest.$ac_ext <<_ACEOF
25911 /* confdefs.h. */
25912 _ACEOF
25913 cat confdefs.h >>conftest.$ac_ext
25914 cat >>conftest.$ac_ext <<_ACEOF
25915 /* end confdefs.h. */
25916 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25918 #define shmat innocuous_shmat
25919
25920 /* System header to define __stub macros and hopefully few prototypes,
25921 which can conflict with char shmat (); below.
25922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25923 <limits.h> exists even on freestanding compilers. */
25924
25925 #ifdef __STDC__
25926 # include <limits.h>
25927 #else
25928 # include <assert.h>
25929 #endif
25930
25931 #undef shmat
25932
25933 /* Override any gcc2 internal prototype to avoid an error. */
25934 #ifdef __cplusplus
25935 extern "C"
25936 {
25937 #endif
25938 /* We use char because int might match the return type of a gcc2
25939 builtin and then its argument prototype would still apply. */
25940 char shmat ();
25941 /* The GNU C library defines this for functions which it implements
25942 to always fail with ENOSYS. Some functions are actually named
25943 something starting with __ and the normal name is an alias. */
25944 #if defined (__stub_shmat) || defined (__stub___shmat)
25945 choke me
25946 #else
25947 char (*f) () = shmat;
25948 #endif
25949 #ifdef __cplusplus
25950 }
25951 #endif
25952
25953 int
25954 main ()
25955 {
25956 return f != shmat;
25957 ;
25958 return 0;
25959 }
25960 _ACEOF
25961 rm -f conftest.$ac_objext conftest$ac_exeext
25962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25963 (eval $ac_link) 2>conftest.er1
25964 ac_status=$?
25965 grep -v '^ *+' conftest.er1 >conftest.err
25966 rm -f conftest.er1
25967 cat conftest.err >&5
25968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25969 (exit $ac_status); } &&
25970 { ac_try='test -z "$ac_c_werror_flag"
25971 || test ! -s conftest.err'
25972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25973 (eval $ac_try) 2>&5
25974 ac_status=$?
25975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25976 (exit $ac_status); }; } &&
25977 { ac_try='test -s conftest$ac_exeext'
25978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25979 (eval $ac_try) 2>&5
25980 ac_status=$?
25981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25982 (exit $ac_status); }; }; then
25983 ac_cv_func_shmat=yes
25984 else
25985 echo "$as_me: failed program was:" >&5
25986 sed 's/^/| /' conftest.$ac_ext >&5
25987
25988 ac_cv_func_shmat=no
25989 fi
25990 rm -f conftest.err conftest.$ac_objext \
25991 conftest$ac_exeext conftest.$ac_ext
25992 fi
25993 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25994 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25995
25996 if test $ac_cv_func_shmat = no; then
25997 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25998 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25999 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
26000 echo $ECHO_N "(cached) $ECHO_C" >&6
26001 else
26002 ac_check_lib_save_LIBS=$LIBS
26003 LIBS="-lipc $LIBS"
26004 cat >conftest.$ac_ext <<_ACEOF
26005 /* confdefs.h. */
26006 _ACEOF
26007 cat confdefs.h >>conftest.$ac_ext
26008 cat >>conftest.$ac_ext <<_ACEOF
26009 /* end confdefs.h. */
26010
26011 /* Override any gcc2 internal prototype to avoid an error. */
26012 #ifdef __cplusplus
26013 extern "C"
26014 #endif
26015 /* We use char because int might match the return type of a gcc2
26016 builtin and then its argument prototype would still apply. */
26017 char shmat ();
26018 int
26019 main ()
26020 {
26021 shmat ();
26022 ;
26023 return 0;
26024 }
26025 _ACEOF
26026 rm -f conftest.$ac_objext conftest$ac_exeext
26027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26028 (eval $ac_link) 2>conftest.er1
26029 ac_status=$?
26030 grep -v '^ *+' conftest.er1 >conftest.err
26031 rm -f conftest.er1
26032 cat conftest.err >&5
26033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26034 (exit $ac_status); } &&
26035 { ac_try='test -z "$ac_c_werror_flag"
26036 || test ! -s conftest.err'
26037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26038 (eval $ac_try) 2>&5
26039 ac_status=$?
26040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26041 (exit $ac_status); }; } &&
26042 { ac_try='test -s conftest$ac_exeext'
26043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26044 (eval $ac_try) 2>&5
26045 ac_status=$?
26046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26047 (exit $ac_status); }; }; then
26048 ac_cv_lib_ipc_shmat=yes
26049 else
26050 echo "$as_me: failed program was:" >&5
26051 sed 's/^/| /' conftest.$ac_ext >&5
26052
26053 ac_cv_lib_ipc_shmat=no
26054 fi
26055 rm -f conftest.err conftest.$ac_objext \
26056 conftest$ac_exeext conftest.$ac_ext
26057 LIBS=$ac_check_lib_save_LIBS
26058 fi
26059 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
26060 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
26061 if test $ac_cv_lib_ipc_shmat = yes; then
26062 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
26063 fi
26064
26065 fi
26066 fi
26067
26068 # Check for libraries that X11R6 Xt/Xaw programs need.
26069 ac_save_LDFLAGS=$LDFLAGS
26070 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
26071 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
26072 # check for ICE first), but we must link in the order -lSM -lICE or
26073 # we get undefined symbols. So assume we have SM if we have ICE.
26074 # These have to be linked with before -lX11, unlike the other
26075 # libraries we check for below, so use a different variable.
26076 # John Interrante, Karl Berry
26077 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
26078 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
26079 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
26080 echo $ECHO_N "(cached) $ECHO_C" >&6
26081 else
26082 ac_check_lib_save_LIBS=$LIBS
26083 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
26084 cat >conftest.$ac_ext <<_ACEOF
26085 /* confdefs.h. */
26086 _ACEOF
26087 cat confdefs.h >>conftest.$ac_ext
26088 cat >>conftest.$ac_ext <<_ACEOF
26089 /* end confdefs.h. */
26090
26091 /* Override any gcc2 internal prototype to avoid an error. */
26092 #ifdef __cplusplus
26093 extern "C"
26094 #endif
26095 /* We use char because int might match the return type of a gcc2
26096 builtin and then its argument prototype would still apply. */
26097 char IceConnectionNumber ();
26098 int
26099 main ()
26100 {
26101 IceConnectionNumber ();
26102 ;
26103 return 0;
26104 }
26105 _ACEOF
26106 rm -f conftest.$ac_objext conftest$ac_exeext
26107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26108 (eval $ac_link) 2>conftest.er1
26109 ac_status=$?
26110 grep -v '^ *+' conftest.er1 >conftest.err
26111 rm -f conftest.er1
26112 cat conftest.err >&5
26113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26114 (exit $ac_status); } &&
26115 { ac_try='test -z "$ac_c_werror_flag"
26116 || test ! -s conftest.err'
26117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26118 (eval $ac_try) 2>&5
26119 ac_status=$?
26120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26121 (exit $ac_status); }; } &&
26122 { ac_try='test -s conftest$ac_exeext'
26123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26124 (eval $ac_try) 2>&5
26125 ac_status=$?
26126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26127 (exit $ac_status); }; }; then
26128 ac_cv_lib_ICE_IceConnectionNumber=yes
26129 else
26130 echo "$as_me: failed program was:" >&5
26131 sed 's/^/| /' conftest.$ac_ext >&5
26132
26133 ac_cv_lib_ICE_IceConnectionNumber=no
26134 fi
26135 rm -f conftest.err conftest.$ac_objext \
26136 conftest$ac_exeext conftest.$ac_ext
26137 LIBS=$ac_check_lib_save_LIBS
26138 fi
26139 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26140 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
26141 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
26142 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
26143 fi
26144
26145 LDFLAGS=$ac_save_LDFLAGS
26146
26147 fi
26148
26149
26150 if test "$no_x" = "yes"; then
26151 { { echo "$as_me:$LINENO: error: X11 not found" >&5
26152 echo "$as_me: error: X11 not found" >&2;}
26153 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
26154 fi
26155
26156 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
26157 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
26158 AFMINSTALL=afminstall
26159 COMPILED_X_PROGRAM=0
26160
26161 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
26162 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
26163
26164 ac_find_includes=
26165 for ac_dir in $SEARCH_INCLUDE /usr/include;
26166 do
26167 if test -f "$ac_dir/Xm/Xm.h"; then
26168 ac_find_includes=$ac_dir
26169 break
26170 fi
26171 done
26172
26173 if test "$ac_find_includes" != "" ; then
26174 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26175 echo "${ECHO_T}found in $ac_find_includes" >&6
26176
26177 if test "x$ac_find_includes" = "x/usr/include"; then
26178 ac_path_to_include=""
26179 else
26180 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
26181 result=$?
26182 if test $result = 0; then
26183 ac_path_to_include=""
26184 else
26185 ac_path_to_include=" -I$ac_find_includes"
26186 fi
26187 fi
26188
26189 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
26190 else
26191 cat >conftest.$ac_ext <<_ACEOF
26192 /* confdefs.h. */
26193 _ACEOF
26194 cat confdefs.h >>conftest.$ac_ext
26195 cat >>conftest.$ac_ext <<_ACEOF
26196 /* end confdefs.h. */
26197
26198 #include <Xm/Xm.h>
26199
26200 int
26201 main ()
26202 {
26203
26204 int version;
26205 version = xmUseVersion;
26206
26207 ;
26208 return 0;
26209 }
26210 _ACEOF
26211 rm -f conftest.$ac_objext
26212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26213 (eval $ac_compile) 2>conftest.er1
26214 ac_status=$?
26215 grep -v '^ *+' conftest.er1 >conftest.err
26216 rm -f conftest.er1
26217 cat conftest.err >&5
26218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26219 (exit $ac_status); } &&
26220 { ac_try='test -z "$ac_c_werror_flag"
26221 || test ! -s conftest.err'
26222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26223 (eval $ac_try) 2>&5
26224 ac_status=$?
26225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26226 (exit $ac_status); }; } &&
26227 { ac_try='test -s conftest.$ac_objext'
26228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26229 (eval $ac_try) 2>&5
26230 ac_status=$?
26231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26232 (exit $ac_status); }; }; then
26233
26234 echo "$as_me:$LINENO: result: found in default search path" >&5
26235 echo "${ECHO_T}found in default search path" >&6
26236 COMPILED_X_PROGRAM=1
26237
26238 else
26239 echo "$as_me: failed program was:" >&5
26240 sed 's/^/| /' conftest.$ac_ext >&5
26241
26242
26243 echo "$as_me:$LINENO: result: no" >&5
26244 echo "${ECHO_T}no" >&6
26245 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26246 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26247 { (exit 1); exit 1; }; }
26248
26249
26250 fi
26251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26252 fi
26253
26254 if test "$COMPILED_X_PROGRAM" = 0; then
26255 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26256 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26257
26258 ac_find_libraries=
26259 for ac_dir in $SEARCH_LIB /usr/lib;
26260 do
26261 for ac_extension in a so sl dylib; do
26262 if test -f "$ac_dir/libXm.$ac_extension"; then
26263 ac_find_libraries=$ac_dir
26264 break 2
26265 fi
26266 done
26267 done
26268
26269 if test "$ac_find_libraries" != "" ; then
26270 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26271 echo "${ECHO_T}found at $ac_find_libraries" >&6
26272
26273
26274 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26275 result=$?
26276 if test $result = 0; then
26277 ac_path_to_link=""
26278 else
26279 ac_path_to_link=" -L$ac_find_libraries"
26280 fi
26281
26282 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26283 else
26284 save_CFLAGS=$CFLAGS
26285 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26286
26287 cat >conftest.$ac_ext <<_ACEOF
26288 /* confdefs.h. */
26289 _ACEOF
26290 cat confdefs.h >>conftest.$ac_ext
26291 cat >>conftest.$ac_ext <<_ACEOF
26292 /* end confdefs.h. */
26293
26294 #include <Xm/Xm.h>
26295
26296 int
26297 main ()
26298 {
26299
26300 int version;
26301 version = xmUseVersion;
26302
26303 ;
26304 return 0;
26305 }
26306 _ACEOF
26307 rm -f conftest.$ac_objext
26308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26309 (eval $ac_compile) 2>conftest.er1
26310 ac_status=$?
26311 grep -v '^ *+' conftest.er1 >conftest.err
26312 rm -f conftest.er1
26313 cat conftest.err >&5
26314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26315 (exit $ac_status); } &&
26316 { ac_try='test -z "$ac_c_werror_flag"
26317 || test ! -s conftest.err'
26318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26319 (eval $ac_try) 2>&5
26320 ac_status=$?
26321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26322 (exit $ac_status); }; } &&
26323 { ac_try='test -s conftest.$ac_objext'
26324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26325 (eval $ac_try) 2>&5
26326 ac_status=$?
26327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26328 (exit $ac_status); }; }; then
26329
26330 echo "$as_me:$LINENO: result: found in default search path" >&5
26331 echo "${ECHO_T}found in default search path" >&6
26332 COMPILED_X_PROGRAM=1
26333
26334 else
26335 echo "$as_me: failed program was:" >&5
26336 sed 's/^/| /' conftest.$ac_ext >&5
26337
26338
26339 echo "$as_me:$LINENO: result: no" >&5
26340 echo "${ECHO_T}no" >&6
26341 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26342 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26343 { (exit 1); exit 1; }; }
26344
26345
26346 fi
26347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26348
26349 CFLAGS=$save_CFLAGS
26350 fi
26351 fi
26352
26353 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26354 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26355 libp_link=""
26356 libsm_ice_link=""
26357 libs_found=0
26358 for libp in "" " -lXp"; do
26359 if test "$libs_found" = "0"; then
26360 for libsm_ice in "" " -lSM -lICE"; do
26361 if test "$libs_found" = "0"; then
26362 save_LIBS="$LIBS"
26363 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26364 save_CFLAGS=$CFLAGS
26365 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26366
26367 cat >conftest.$ac_ext <<_ACEOF
26368 /* confdefs.h. */
26369 _ACEOF
26370 cat confdefs.h >>conftest.$ac_ext
26371 cat >>conftest.$ac_ext <<_ACEOF
26372 /* end confdefs.h. */
26373
26374 #include <Xm/Xm.h>
26375 #include <Xm/List.h>
26376
26377 int
26378 main ()
26379 {
26380
26381 XmString string = NULL;
26382 Widget w = NULL;
26383 int position = 0;
26384 XmListAddItem(w, string, position);
26385
26386 ;
26387 return 0;
26388 }
26389 _ACEOF
26390 rm -f conftest.$ac_objext conftest$ac_exeext
26391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26392 (eval $ac_link) 2>conftest.er1
26393 ac_status=$?
26394 grep -v '^ *+' conftest.er1 >conftest.err
26395 rm -f conftest.er1
26396 cat conftest.err >&5
26397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26398 (exit $ac_status); } &&
26399 { ac_try='test -z "$ac_c_werror_flag"
26400 || test ! -s conftest.err'
26401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26402 (eval $ac_try) 2>&5
26403 ac_status=$?
26404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26405 (exit $ac_status); }; } &&
26406 { ac_try='test -s conftest$ac_exeext'
26407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26408 (eval $ac_try) 2>&5
26409 ac_status=$?
26410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26411 (exit $ac_status); }; }; then
26412
26413 libp_link="$libp"
26414 libsm_ice_link="$libsm_ice"
26415 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26416 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26417 libs_found=1
26418
26419 else
26420 echo "$as_me: failed program was:" >&5
26421 sed 's/^/| /' conftest.$ac_ext >&5
26422
26423
26424
26425 fi
26426 rm -f conftest.err conftest.$ac_objext \
26427 conftest$ac_exeext conftest.$ac_ext
26428
26429 LIBS="$save_LIBS"
26430 CFLAGS=$save_CFLAGS
26431 fi
26432 done
26433 fi
26434 done
26435
26436 if test "$libs_found" = "0"; then
26437 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26438 echo "${ECHO_T}can't find the right libraries" >&6
26439 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26440 echo "$as_me: error: can't link a simple motif program" >&2;}
26441 { (exit 1); exit 1; }; }
26442 fi
26443
26444 save_CFLAGS=$CFLAGS
26445 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26446 echo "$as_me:$LINENO: checking for Motif 2" >&5
26447 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26448 cat >conftest.$ac_ext <<_ACEOF
26449 /* confdefs.h. */
26450 _ACEOF
26451 cat confdefs.h >>conftest.$ac_ext
26452 cat >>conftest.$ac_ext <<_ACEOF
26453 /* end confdefs.h. */
26454
26455 #include <Xm/Xm.h>
26456
26457 int
26458 main ()
26459 {
26460
26461 #if XmVersion < 2000
26462 #error "Not Motif 2"
26463 #endif
26464
26465 ;
26466 return 0;
26467 }
26468 _ACEOF
26469 rm -f conftest.$ac_objext
26470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26471 (eval $ac_compile) 2>conftest.er1
26472 ac_status=$?
26473 grep -v '^ *+' conftest.er1 >conftest.err
26474 rm -f conftest.er1
26475 cat conftest.err >&5
26476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26477 (exit $ac_status); } &&
26478 { ac_try='test -z "$ac_c_werror_flag"
26479 || test ! -s conftest.err'
26480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26481 (eval $ac_try) 2>&5
26482 ac_status=$?
26483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26484 (exit $ac_status); }; } &&
26485 { ac_try='test -s conftest.$ac_objext'
26486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26487 (eval $ac_try) 2>&5
26488 ac_status=$?
26489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26490 (exit $ac_status); }; }; then
26491
26492 cat >>confdefs.h <<\_ACEOF
26493 #define __WXMOTIF20__ 1
26494 _ACEOF
26495
26496 echo "$as_me:$LINENO: result: found" >&5
26497 echo "${ECHO_T}found" >&6
26498
26499 else
26500 echo "$as_me: failed program was:" >&5
26501 sed 's/^/| /' conftest.$ac_ext >&5
26502
26503
26504 cat >>confdefs.h <<\_ACEOF
26505 #define __WXMOTIF20__ 0
26506 _ACEOF
26507
26508 echo "$as_me:$LINENO: result: not found" >&5
26509 echo "${ECHO_T}not found" >&6
26510
26511 fi
26512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26513 CFLAGS=$save_CFLAGS
26514
26515 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26516 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
26517 TOOLKIT=MOTIF
26518 GUIDIST=MOTIF_DIST
26519 fi
26520
26521 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26522 if test "$wxUSE_LIBXPM" = "sys"; then
26523 echo "$as_me:$LINENO: checking for Xpm library" >&5
26524 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26525
26526 ac_find_libraries=
26527 for ac_dir in $SEARCH_LIB /usr/lib;
26528 do
26529 for ac_extension in a so sl dylib; do
26530 if test -f "$ac_dir/libXpm.$ac_extension"; then
26531 ac_find_libraries=$ac_dir
26532 break 2
26533 fi
26534 done
26535 done
26536
26537 if test "$ac_find_libraries" != "" ; then
26538
26539 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26540 result=$?
26541 if test $result = 0; then
26542 ac_path_to_link=""
26543 else
26544 ac_path_to_link=" -L$ac_find_libraries"
26545 fi
26546
26547 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26548 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26549 echo "${ECHO_T}found at $ac_find_libraries" >&6
26550
26551 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26552 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26553 if test "${wx_cv_x11_xpm_h+set}" = set; then
26554 echo $ECHO_N "(cached) $ECHO_C" >&6
26555 else
26556
26557 save_CFLAGS=$CFLAGS
26558 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26559
26560 cat >conftest.$ac_ext <<_ACEOF
26561 /* confdefs.h. */
26562 _ACEOF
26563 cat confdefs.h >>conftest.$ac_ext
26564 cat >>conftest.$ac_ext <<_ACEOF
26565 /* end confdefs.h. */
26566
26567 #include <X11/xpm.h>
26568
26569 int
26570 main ()
26571 {
26572
26573 int version;
26574 version = XpmLibraryVersion();
26575
26576 ;
26577 return 0;
26578 }
26579 _ACEOF
26580 rm -f conftest.$ac_objext
26581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26582 (eval $ac_compile) 2>conftest.er1
26583 ac_status=$?
26584 grep -v '^ *+' conftest.er1 >conftest.err
26585 rm -f conftest.er1
26586 cat conftest.err >&5
26587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26588 (exit $ac_status); } &&
26589 { ac_try='test -z "$ac_c_werror_flag"
26590 || test ! -s conftest.err'
26591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26592 (eval $ac_try) 2>&5
26593 ac_status=$?
26594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26595 (exit $ac_status); }; } &&
26596 { ac_try='test -s conftest.$ac_objext'
26597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26598 (eval $ac_try) 2>&5
26599 ac_status=$?
26600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26601 (exit $ac_status); }; }; then
26602 wx_cv_x11_xpm_h=yes
26603 else
26604 echo "$as_me: failed program was:" >&5
26605 sed 's/^/| /' conftest.$ac_ext >&5
26606
26607 wx_cv_x11_xpm_h=no
26608
26609 fi
26610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26611
26612 CFLAGS=$save_CFLAGS
26613
26614
26615 fi
26616 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26617 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26618
26619 if test $wx_cv_x11_xpm_h = "yes"; then
26620 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26621 cat >>confdefs.h <<\_ACEOF
26622 #define wxHAVE_LIB_XPM 1
26623 _ACEOF
26624
26625 else
26626 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26627 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26628 fi
26629 fi
26630
26631 fi
26632
26633 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26634 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26635 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26636 echo $ECHO_N "(cached) $ECHO_C" >&6
26637 else
26638 ac_check_lib_save_LIBS=$LIBS
26639 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26640 cat >conftest.$ac_ext <<_ACEOF
26641 /* confdefs.h. */
26642 _ACEOF
26643 cat confdefs.h >>conftest.$ac_ext
26644 cat >>conftest.$ac_ext <<_ACEOF
26645 /* end confdefs.h. */
26646
26647 /* Override any gcc2 internal prototype to avoid an error. */
26648 #ifdef __cplusplus
26649 extern "C"
26650 #endif
26651 /* We use char because int might match the return type of a gcc2
26652 builtin and then its argument prototype would still apply. */
26653 char XShapeQueryExtension ();
26654 int
26655 main ()
26656 {
26657 XShapeQueryExtension ();
26658 ;
26659 return 0;
26660 }
26661 _ACEOF
26662 rm -f conftest.$ac_objext conftest$ac_exeext
26663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26664 (eval $ac_link) 2>conftest.er1
26665 ac_status=$?
26666 grep -v '^ *+' conftest.er1 >conftest.err
26667 rm -f conftest.er1
26668 cat conftest.err >&5
26669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26670 (exit $ac_status); } &&
26671 { ac_try='test -z "$ac_c_werror_flag"
26672 || test ! -s conftest.err'
26673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26674 (eval $ac_try) 2>&5
26675 ac_status=$?
26676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26677 (exit $ac_status); }; } &&
26678 { ac_try='test -s conftest$ac_exeext'
26679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26680 (eval $ac_try) 2>&5
26681 ac_status=$?
26682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26683 (exit $ac_status); }; }; then
26684 ac_cv_lib_Xext_XShapeQueryExtension=yes
26685 else
26686 echo "$as_me: failed program was:" >&5
26687 sed 's/^/| /' conftest.$ac_ext >&5
26688
26689 ac_cv_lib_Xext_XShapeQueryExtension=no
26690 fi
26691 rm -f conftest.err conftest.$ac_objext \
26692 conftest$ac_exeext conftest.$ac_ext
26693 LIBS=$ac_check_lib_save_LIBS
26694 fi
26695 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26696 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26697 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26698
26699 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26700 wxHAVE_XEXT_LIB=1
26701
26702 fi
26703
26704
26705 if test "$wxHAVE_XEXT_LIB" = 1; then
26706 save_CFLAGS="$CFLAGS"
26707 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26708
26709 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26710 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26711 cat >conftest.$ac_ext <<_ACEOF
26712 /* confdefs.h. */
26713 _ACEOF
26714 cat confdefs.h >>conftest.$ac_ext
26715 cat >>conftest.$ac_ext <<_ACEOF
26716 /* end confdefs.h. */
26717
26718 #include <X11/Xlib.h>
26719 #include <X11/extensions/shape.h>
26720
26721 int
26722 main ()
26723 {
26724
26725 int dummy1, dummy2;
26726 XShapeQueryExtension((Display*)NULL,
26727 (int*)NULL, (int*)NULL);
26728
26729 ;
26730 return 0;
26731 }
26732 _ACEOF
26733 rm -f conftest.$ac_objext
26734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26735 (eval $ac_compile) 2>conftest.er1
26736 ac_status=$?
26737 grep -v '^ *+' conftest.er1 >conftest.err
26738 rm -f conftest.er1
26739 cat conftest.err >&5
26740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26741 (exit $ac_status); } &&
26742 { ac_try='test -z "$ac_c_werror_flag"
26743 || test ! -s conftest.err'
26744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26745 (eval $ac_try) 2>&5
26746 ac_status=$?
26747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26748 (exit $ac_status); }; } &&
26749 { ac_try='test -s conftest.$ac_objext'
26750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26751 (eval $ac_try) 2>&5
26752 ac_status=$?
26753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26754 (exit $ac_status); }; }; then
26755
26756 cat >>confdefs.h <<\_ACEOF
26757 #define HAVE_XSHAPE 1
26758 _ACEOF
26759
26760 echo "$as_me:$LINENO: result: found" >&5
26761 echo "${ECHO_T}found" >&6
26762
26763 else
26764 echo "$as_me: failed program was:" >&5
26765 sed 's/^/| /' conftest.$ac_ext >&5
26766
26767
26768 echo "$as_me:$LINENO: result: not found" >&5
26769 echo "${ECHO_T}not found" >&6
26770
26771 fi
26772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26773 CFLAGS="$save_CFLAGS"
26774
26775 fi
26776 fi
26777
26778 if test "$wxUSE_MAC" = 1; then
26779 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26780 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26781 if test "$GCC" = yes; then
26782 echo "$as_me:$LINENO: result: gcc" >&5
26783 echo "${ECHO_T}gcc" >&6
26784 CPPFLAGS_PASCAL="-fpascal-strings"
26785 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26786 echo "$as_me:$LINENO: result: xlc" >&5
26787 echo "${ECHO_T}xlc" >&6
26788 CPPFLAGS_PASCAL="-qmacpstr"
26789 else
26790 echo "$as_me:$LINENO: result: none" >&5
26791 echo "${ECHO_T}none" >&6
26792 fi
26793
26794 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
26795
26796 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
26797 TOOLKIT=MAC
26798 GUIDIST=MACX_DIST
26799 WXBASEPORT="_carbon"
26800 fi
26801
26802 if test "$wxUSE_COCOA" = 1; then
26803 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
26804 TOOLKIT=COCOA
26805 GUIDIST=COCOA_DIST
26806 fi
26807
26808 if test "$wxUSE_PM" = 1; then
26809 TOOLKIT=PM
26810 GUIDIST=GTK_DIST
26811 fi
26812
26813 if test "$TOOLKIT" = "PM" ; then
26814 TOOLKIT_DIR="os2"
26815 else
26816 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26817 fi
26818
26819 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
26820
26821 if test "$wxUSE_UNIVERSAL" = "yes"; then
26822 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
26823
26824 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
26825 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
26826
26827 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
26828 if test "$wxUSE_X11" = 1; then
26829 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
26830 else
26831 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
26832 fi
26833 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26834 WIDGET_SET=univ
26835 else
26836 ALL_OBJECTS="\$(GUIOBJS)"
26837 ALL_SOURCES="\$(ALL_SOURCES)"
26838 ALL_HEADERS="\$(ALL_HEADERS)"
26839 fi
26840
26841 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
26842
26843 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
26844 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
26845 fi
26846
26847 if test "$wxUSE_HTML" = "yes"; then
26848 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
26849 fi
26850
26851 if test "$wxUSE_LIBJPEG" = "builtin" ; then
26852 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
26853 fi
26854 if test "$wxUSE_LIBTIFF" = "builtin" ; then
26855 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
26856 fi
26857 if test "$wxUSE_LIBPNG" = "builtin" ; then
26858 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
26859 fi
26860
26861 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26862 DISTDIR="wx\$(TOOLKIT)"
26863 else
26864 USE_GUI=0
26865
26866 TOOLKIT_DIR="base"
26867
26868 if test "$USE_WIN32" = 1 ; then
26869 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
26870 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
26871
26872 TOOLKIT="MSW"
26873 else
26874 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
26875 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
26876 fi
26877
26878 ALL_SOURCES="\$(ALL_SOURCES)"
26879 ALL_HEADERS="\$(ALL_HEADERS)"
26880
26881 PORT_FILES="\${top_srcdir}/src/files.lst"
26882
26883 GUIDIST="BASE_DIST"
26884 DISTDIR="wxBase"
26885 fi
26886
26887
26888
26889
26890 IODBC_C_SRC=""
26891
26892
26893 if test "$TOOLKIT" != "MSW" ; then
26894
26895 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26896
26897 if test "${ac_cv_header_sql_h+set}" = set; then
26898 echo "$as_me:$LINENO: checking for sql.h" >&5
26899 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26900 if test "${ac_cv_header_sql_h+set}" = set; then
26901 echo $ECHO_N "(cached) $ECHO_C" >&6
26902 fi
26903 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26904 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26905 else
26906 # Is the header compilable?
26907 echo "$as_me:$LINENO: checking sql.h usability" >&5
26908 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26909 cat >conftest.$ac_ext <<_ACEOF
26910 /* confdefs.h. */
26911 _ACEOF
26912 cat confdefs.h >>conftest.$ac_ext
26913 cat >>conftest.$ac_ext <<_ACEOF
26914 /* end confdefs.h. */
26915 $ac_includes_default
26916 #include <sql.h>
26917 _ACEOF
26918 rm -f conftest.$ac_objext
26919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26920 (eval $ac_compile) 2>conftest.er1
26921 ac_status=$?
26922 grep -v '^ *+' conftest.er1 >conftest.err
26923 rm -f conftest.er1
26924 cat conftest.err >&5
26925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26926 (exit $ac_status); } &&
26927 { ac_try='test -z "$ac_c_werror_flag"
26928 || test ! -s conftest.err'
26929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26930 (eval $ac_try) 2>&5
26931 ac_status=$?
26932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26933 (exit $ac_status); }; } &&
26934 { ac_try='test -s conftest.$ac_objext'
26935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26936 (eval $ac_try) 2>&5
26937 ac_status=$?
26938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26939 (exit $ac_status); }; }; then
26940 ac_header_compiler=yes
26941 else
26942 echo "$as_me: failed program was:" >&5
26943 sed 's/^/| /' conftest.$ac_ext >&5
26944
26945 ac_header_compiler=no
26946 fi
26947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26948 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26949 echo "${ECHO_T}$ac_header_compiler" >&6
26950
26951 # Is the header present?
26952 echo "$as_me:$LINENO: checking sql.h presence" >&5
26953 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26954 cat >conftest.$ac_ext <<_ACEOF
26955 /* confdefs.h. */
26956 _ACEOF
26957 cat confdefs.h >>conftest.$ac_ext
26958 cat >>conftest.$ac_ext <<_ACEOF
26959 /* end confdefs.h. */
26960 #include <sql.h>
26961 _ACEOF
26962 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26963 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26964 ac_status=$?
26965 grep -v '^ *+' conftest.er1 >conftest.err
26966 rm -f conftest.er1
26967 cat conftest.err >&5
26968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26969 (exit $ac_status); } >/dev/null; then
26970 if test -s conftest.err; then
26971 ac_cpp_err=$ac_c_preproc_warn_flag
26972 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26973 else
26974 ac_cpp_err=
26975 fi
26976 else
26977 ac_cpp_err=yes
26978 fi
26979 if test -z "$ac_cpp_err"; then
26980 ac_header_preproc=yes
26981 else
26982 echo "$as_me: failed program was:" >&5
26983 sed 's/^/| /' conftest.$ac_ext >&5
26984
26985 ac_header_preproc=no
26986 fi
26987 rm -f conftest.err conftest.$ac_ext
26988 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26989 echo "${ECHO_T}$ac_header_preproc" >&6
26990
26991 # So? What about this header?
26992 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26993 yes:no: )
26994 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26995 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26996 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26997 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26998 ac_header_preproc=yes
26999 ;;
27000 no:yes:* )
27001 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
27002 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
27003 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
27004 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
27005 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
27006 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
27007 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
27008 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
27009 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
27010 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
27011 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
27012 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
27013 (
27014 cat <<\_ASBOX
27015 ## ----------------------------------------- ##
27016 ## Report this to wx-dev@lists.wxwindows.org ##
27017 ## ----------------------------------------- ##
27018 _ASBOX
27019 ) |
27020 sed "s/^/$as_me: WARNING: /" >&2
27021 ;;
27022 esac
27023 echo "$as_me:$LINENO: checking for sql.h" >&5
27024 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27025 if test "${ac_cv_header_sql_h+set}" = set; then
27026 echo $ECHO_N "(cached) $ECHO_C" >&6
27027 else
27028 ac_cv_header_sql_h=$ac_header_preproc
27029 fi
27030 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27031 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27032
27033 fi
27034 if test $ac_cv_header_sql_h = yes; then
27035 found_sql_h=1
27036 fi
27037
27038
27039 if test "x$found_sql_h" = "x1" ; then
27040 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
27041 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
27042 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
27043 echo $ECHO_N "(cached) $ECHO_C" >&6
27044 else
27045 ac_check_lib_save_LIBS=$LIBS
27046 LIBS="-liodbc $LIBS"
27047 cat >conftest.$ac_ext <<_ACEOF
27048 /* confdefs.h. */
27049 _ACEOF
27050 cat confdefs.h >>conftest.$ac_ext
27051 cat >>conftest.$ac_ext <<_ACEOF
27052 /* end confdefs.h. */
27053
27054 /* Override any gcc2 internal prototype to avoid an error. */
27055 #ifdef __cplusplus
27056 extern "C"
27057 #endif
27058 /* We use char because int might match the return type of a gcc2
27059 builtin and then its argument prototype would still apply. */
27060 char SQLAllocEnv ();
27061 int
27062 main ()
27063 {
27064 SQLAllocEnv ();
27065 ;
27066 return 0;
27067 }
27068 _ACEOF
27069 rm -f conftest.$ac_objext conftest$ac_exeext
27070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27071 (eval $ac_link) 2>conftest.er1
27072 ac_status=$?
27073 grep -v '^ *+' conftest.er1 >conftest.err
27074 rm -f conftest.er1
27075 cat conftest.err >&5
27076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27077 (exit $ac_status); } &&
27078 { ac_try='test -z "$ac_c_werror_flag"
27079 || test ! -s conftest.err'
27080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27081 (eval $ac_try) 2>&5
27082 ac_status=$?
27083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27084 (exit $ac_status); }; } &&
27085 { ac_try='test -s conftest$ac_exeext'
27086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27087 (eval $ac_try) 2>&5
27088 ac_status=$?
27089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27090 (exit $ac_status); }; }; then
27091 ac_cv_lib_iodbc_SQLAllocEnv=yes
27092 else
27093 echo "$as_me: failed program was:" >&5
27094 sed 's/^/| /' conftest.$ac_ext >&5
27095
27096 ac_cv_lib_iodbc_SQLAllocEnv=no
27097 fi
27098 rm -f conftest.err conftest.$ac_objext \
27099 conftest$ac_exeext conftest.$ac_ext
27100 LIBS=$ac_check_lib_save_LIBS
27101 fi
27102 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
27103 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
27104 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
27105 ODBC_LINK=" -liodbc"
27106 else
27107
27108 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
27109 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
27110 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
27111 echo $ECHO_N "(cached) $ECHO_C" >&6
27112 else
27113 ac_check_lib_save_LIBS=$LIBS
27114 LIBS="-lunixodbc $LIBS"
27115 cat >conftest.$ac_ext <<_ACEOF
27116 /* confdefs.h. */
27117 _ACEOF
27118 cat confdefs.h >>conftest.$ac_ext
27119 cat >>conftest.$ac_ext <<_ACEOF
27120 /* end confdefs.h. */
27121
27122 /* Override any gcc2 internal prototype to avoid an error. */
27123 #ifdef __cplusplus
27124 extern "C"
27125 #endif
27126 /* We use char because int might match the return type of a gcc2
27127 builtin and then its argument prototype would still apply. */
27128 char SQLAllocEnv ();
27129 int
27130 main ()
27131 {
27132 SQLAllocEnv ();
27133 ;
27134 return 0;
27135 }
27136 _ACEOF
27137 rm -f conftest.$ac_objext conftest$ac_exeext
27138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27139 (eval $ac_link) 2>conftest.er1
27140 ac_status=$?
27141 grep -v '^ *+' conftest.er1 >conftest.err
27142 rm -f conftest.er1
27143 cat conftest.err >&5
27144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27145 (exit $ac_status); } &&
27146 { ac_try='test -z "$ac_c_werror_flag"
27147 || test ! -s conftest.err'
27148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27149 (eval $ac_try) 2>&5
27150 ac_status=$?
27151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27152 (exit $ac_status); }; } &&
27153 { ac_try='test -s conftest$ac_exeext'
27154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27155 (eval $ac_try) 2>&5
27156 ac_status=$?
27157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27158 (exit $ac_status); }; }; then
27159 ac_cv_lib_unixodbc_SQLAllocEnv=yes
27160 else
27161 echo "$as_me: failed program was:" >&5
27162 sed 's/^/| /' conftest.$ac_ext >&5
27163
27164 ac_cv_lib_unixodbc_SQLAllocEnv=no
27165 fi
27166 rm -f conftest.err conftest.$ac_objext \
27167 conftest$ac_exeext conftest.$ac_ext
27168 LIBS=$ac_check_lib_save_LIBS
27169 fi
27170 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27171 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27172 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27173 ODBC_LINK=" -lunixodbc"
27174 else
27175
27176 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27177 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27178 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27179 echo $ECHO_N "(cached) $ECHO_C" >&6
27180 else
27181 ac_check_lib_save_LIBS=$LIBS
27182 LIBS="-lodbc $LIBS"
27183 cat >conftest.$ac_ext <<_ACEOF
27184 /* confdefs.h. */
27185 _ACEOF
27186 cat confdefs.h >>conftest.$ac_ext
27187 cat >>conftest.$ac_ext <<_ACEOF
27188 /* end confdefs.h. */
27189
27190 /* Override any gcc2 internal prototype to avoid an error. */
27191 #ifdef __cplusplus
27192 extern "C"
27193 #endif
27194 /* We use char because int might match the return type of a gcc2
27195 builtin and then its argument prototype would still apply. */
27196 char SQLAllocEnv ();
27197 int
27198 main ()
27199 {
27200 SQLAllocEnv ();
27201 ;
27202 return 0;
27203 }
27204 _ACEOF
27205 rm -f conftest.$ac_objext conftest$ac_exeext
27206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27207 (eval $ac_link) 2>conftest.er1
27208 ac_status=$?
27209 grep -v '^ *+' conftest.er1 >conftest.err
27210 rm -f conftest.er1
27211 cat conftest.err >&5
27212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27213 (exit $ac_status); } &&
27214 { ac_try='test -z "$ac_c_werror_flag"
27215 || test ! -s conftest.err'
27216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27217 (eval $ac_try) 2>&5
27218 ac_status=$?
27219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27220 (exit $ac_status); }; } &&
27221 { ac_try='test -s conftest$ac_exeext'
27222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27223 (eval $ac_try) 2>&5
27224 ac_status=$?
27225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27226 (exit $ac_status); }; }; then
27227 ac_cv_lib_odbc_SQLAllocEnv=yes
27228 else
27229 echo "$as_me: failed program was:" >&5
27230 sed 's/^/| /' conftest.$ac_ext >&5
27231
27232 ac_cv_lib_odbc_SQLAllocEnv=no
27233 fi
27234 rm -f conftest.err conftest.$ac_objext \
27235 conftest$ac_exeext conftest.$ac_ext
27236 LIBS=$ac_check_lib_save_LIBS
27237 fi
27238 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27239 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27240 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27241 ODBC_LINK=" -lodbc"
27242 fi
27243
27244
27245 fi
27246
27247
27248 fi
27249
27250 fi
27251 if test "x$ODBC_LINK" = "x" ; then
27252 if test "$wxUSE_ODBC" = "sys" ; then
27253 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27254 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27255 { (exit 1); exit 1; }; }
27256 else
27257 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27258 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27259 wxUSE_ODBC=builtin
27260 fi
27261 else
27262 wxUSE_ODBC=sys
27263 fi
27264 fi
27265 if test "$wxUSE_ODBC" != "no" ; then
27266 cat >>confdefs.h <<\_ACEOF
27267 #define wxUSE_ODBC 1
27268 _ACEOF
27269
27270 if test "$wxUSE_ODBC" = "builtin" ; then
27271 cat >>confdefs.h <<\_ACEOF
27272 #define wxUSE_BUILTIN_IODBC 1
27273 _ACEOF
27274
27275 fi
27276 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
27277
27278 WXODBCFLAG="-D_IODBC_"
27279 fi
27280 fi
27281
27282 if test "$wxUSE_REGEX" = "builtin" ; then
27283 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
27284 fi
27285 if test "$wxUSE_ZLIB" = "builtin" ; then
27286 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
27287 fi
27288
27289 if test "$wxUSE_DISPLAY" = "yes"; then
27290 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1; then
27291 echo "$as_me:$LINENO: checking for Xinerama" >&5
27292 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27293
27294 ac_find_libraries=
27295 for ac_dir in $SEARCH_LIB /usr/lib;
27296 do
27297 for ac_extension in a so sl dylib; do
27298 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27299 ac_find_libraries=$ac_dir
27300 break 2
27301 fi
27302 done
27303 done
27304
27305 if test "$ac_find_libraries" != "" ; then
27306
27307 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27308 result=$?
27309 if test $result = 0; then
27310 ac_path_to_link=""
27311 else
27312 ac_path_to_link=" -L$ac_find_libraries"
27313 fi
27314
27315 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27316 LDFLAGS="$LDFLAGS $ac_path_to_link"
27317 fi
27318 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
27319 echo "$as_me:$LINENO: result: yes" >&5
27320 echo "${ECHO_T}yes" >&6
27321
27322 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27323 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27324
27325 ac_find_libraries=
27326 for ac_dir in $SEARCH_LIB /usr/lib;
27327 do
27328 for ac_extension in a so sl dylib; do
27329 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27330 ac_find_libraries=$ac_dir
27331 break 2
27332 fi
27333 done
27334 done
27335
27336 if test "$ac_find_libraries" != "" ; then
27337 echo "$as_me:$LINENO: result: yes" >&5
27338 echo "${ECHO_T}yes" >&6
27339
27340 for ac_header in X11/extensions/xf86vmode.h
27341 do
27342 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27343 echo "$as_me:$LINENO: checking for $ac_header" >&5
27344 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27346 echo $ECHO_N "(cached) $ECHO_C" >&6
27347 else
27348 cat >conftest.$ac_ext <<_ACEOF
27349 /* confdefs.h. */
27350 _ACEOF
27351 cat confdefs.h >>conftest.$ac_ext
27352 cat >>conftest.$ac_ext <<_ACEOF
27353 /* end confdefs.h. */
27354
27355 #if HAVE_X11_XLIB_H
27356 #include <X11/Xlib.h>
27357 #endif
27358
27359
27360 #include <$ac_header>
27361 _ACEOF
27362 rm -f conftest.$ac_objext
27363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27364 (eval $ac_compile) 2>conftest.er1
27365 ac_status=$?
27366 grep -v '^ *+' conftest.er1 >conftest.err
27367 rm -f conftest.er1
27368 cat conftest.err >&5
27369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27370 (exit $ac_status); } &&
27371 { ac_try='test -z "$ac_c_werror_flag"
27372 || test ! -s conftest.err'
27373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27374 (eval $ac_try) 2>&5
27375 ac_status=$?
27376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27377 (exit $ac_status); }; } &&
27378 { ac_try='test -s conftest.$ac_objext'
27379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27380 (eval $ac_try) 2>&5
27381 ac_status=$?
27382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27383 (exit $ac_status); }; }; then
27384 eval "$as_ac_Header=yes"
27385 else
27386 echo "$as_me: failed program was:" >&5
27387 sed 's/^/| /' conftest.$ac_ext >&5
27388
27389 eval "$as_ac_Header=no"
27390 fi
27391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27392 fi
27393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27394 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27395 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27396 cat >>confdefs.h <<_ACEOF
27397 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27398 _ACEOF
27399
27400 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27401
27402 fi
27403
27404 done
27405
27406 else
27407 echo "$as_me:$LINENO: result: no" >&5
27408 echo "${ECHO_T}no" >&6
27409 fi
27410
27411 else
27412 echo "$as_me:$LINENO: result: no" >&5
27413 echo "${ECHO_T}no" >&6
27414 { echo "$as_me:$LINENO: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&5
27415 echo "$as_me: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&2;}
27416 wxUSE_DISPLAY="no"
27417 fi
27418 fi
27419 fi
27420
27421
27422 USE_OPENGL=0
27423 if test "$wxUSE_OPENGL" = "yes"; then
27424 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27425 OPENGL_LIBS="-framework OpenGL -framework AGL"
27426 elif test "$wxUSE_MSW" = 1; then
27427 OPENGL_LIBS="-lopengl32 -lglu32"
27428 else
27429
27430
27431 ac_find_includes=
27432 for ac_dir in $SEARCH_INCLUDE /usr/include;
27433 do
27434 if test -f "$ac_dir/GL/gl.h"; then
27435 ac_find_includes=$ac_dir
27436 break
27437 fi
27438 done
27439
27440 if test "$ac_find_includes" != "" ; then
27441 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27442 echo "${ECHO_T}found in $ac_find_includes" >&6
27443
27444 if test "x$ac_find_includes" = "x/usr/include"; then
27445 ac_path_to_include=""
27446 else
27447 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27448 result=$?
27449 if test $result = 0; then
27450 ac_path_to_include=""
27451 else
27452 ac_path_to_include=" -I$ac_find_includes"
27453 fi
27454 fi
27455
27456 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
27457 fi
27458
27459 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27460 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27461 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27462 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27463 echo $ECHO_N "(cached) $ECHO_C" >&6
27464 fi
27465 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27466 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27467 else
27468 # Is the header compilable?
27469 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27470 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27471 cat >conftest.$ac_ext <<_ACEOF
27472 /* confdefs.h. */
27473 _ACEOF
27474 cat confdefs.h >>conftest.$ac_ext
27475 cat >>conftest.$ac_ext <<_ACEOF
27476 /* end confdefs.h. */
27477 $ac_includes_default
27478 #include <GL/gl.h>
27479 _ACEOF
27480 rm -f conftest.$ac_objext
27481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27482 (eval $ac_compile) 2>conftest.er1
27483 ac_status=$?
27484 grep -v '^ *+' conftest.er1 >conftest.err
27485 rm -f conftest.er1
27486 cat conftest.err >&5
27487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27488 (exit $ac_status); } &&
27489 { ac_try='test -z "$ac_c_werror_flag"
27490 || test ! -s conftest.err'
27491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27492 (eval $ac_try) 2>&5
27493 ac_status=$?
27494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27495 (exit $ac_status); }; } &&
27496 { ac_try='test -s conftest.$ac_objext'
27497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27498 (eval $ac_try) 2>&5
27499 ac_status=$?
27500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27501 (exit $ac_status); }; }; then
27502 ac_header_compiler=yes
27503 else
27504 echo "$as_me: failed program was:" >&5
27505 sed 's/^/| /' conftest.$ac_ext >&5
27506
27507 ac_header_compiler=no
27508 fi
27509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27510 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27511 echo "${ECHO_T}$ac_header_compiler" >&6
27512
27513 # Is the header present?
27514 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27515 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27516 cat >conftest.$ac_ext <<_ACEOF
27517 /* confdefs.h. */
27518 _ACEOF
27519 cat confdefs.h >>conftest.$ac_ext
27520 cat >>conftest.$ac_ext <<_ACEOF
27521 /* end confdefs.h. */
27522 #include <GL/gl.h>
27523 _ACEOF
27524 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27525 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27526 ac_status=$?
27527 grep -v '^ *+' conftest.er1 >conftest.err
27528 rm -f conftest.er1
27529 cat conftest.err >&5
27530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27531 (exit $ac_status); } >/dev/null; then
27532 if test -s conftest.err; then
27533 ac_cpp_err=$ac_c_preproc_warn_flag
27534 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27535 else
27536 ac_cpp_err=
27537 fi
27538 else
27539 ac_cpp_err=yes
27540 fi
27541 if test -z "$ac_cpp_err"; then
27542 ac_header_preproc=yes
27543 else
27544 echo "$as_me: failed program was:" >&5
27545 sed 's/^/| /' conftest.$ac_ext >&5
27546
27547 ac_header_preproc=no
27548 fi
27549 rm -f conftest.err conftest.$ac_ext
27550 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27551 echo "${ECHO_T}$ac_header_preproc" >&6
27552
27553 # So? What about this header?
27554 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27555 yes:no: )
27556 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27557 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27558 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27559 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27560 ac_header_preproc=yes
27561 ;;
27562 no:yes:* )
27563 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27564 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27565 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27566 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27567 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27568 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27569 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27570 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27571 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27572 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27573 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27574 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27575 (
27576 cat <<\_ASBOX
27577 ## ----------------------------------------- ##
27578 ## Report this to wx-dev@lists.wxwindows.org ##
27579 ## ----------------------------------------- ##
27580 _ASBOX
27581 ) |
27582 sed "s/^/$as_me: WARNING: /" >&2
27583 ;;
27584 esac
27585 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27586 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27587 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27588 echo $ECHO_N "(cached) $ECHO_C" >&6
27589 else
27590 ac_cv_header_GL_gl_h=$ac_header_preproc
27591 fi
27592 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27593 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27594
27595 fi
27596 if test $ac_cv_header_GL_gl_h = yes; then
27597
27598 found_gl=0
27599
27600 echo "$as_me:$LINENO: checking for -lGL" >&5
27601 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27602
27603 ac_find_libraries=
27604 for ac_dir in $SEARCH_LIB /usr/lib;
27605 do
27606 for ac_extension in a so sl dylib; do
27607 if test -f "$ac_dir/libGL.$ac_extension"; then
27608 ac_find_libraries=$ac_dir
27609 break 2
27610 fi
27611 done
27612 done
27613
27614 if test "$ac_find_libraries" != "" ; then
27615
27616 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27617 result=$?
27618 if test $result = 0; then
27619 ac_path_to_link=""
27620 else
27621 ac_path_to_link=" -L$ac_find_libraries"
27622 fi
27623
27624 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27625 LDFLAGS_GL="$ac_path_to_link"
27626 fi
27627
27628
27629 ac_find_libraries=
27630 for ac_dir in $SEARCH_LIB /usr/lib;
27631 do
27632 for ac_extension in a so sl dylib; do
27633 if test -f "$ac_dir/libGLU.$ac_extension"; then
27634 ac_find_libraries=$ac_dir
27635 break 2
27636 fi
27637 done
27638 done
27639
27640 if test "$ac_find_libraries" != "" ; then
27641
27642 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27643 result=$?
27644 if test $result = 0; then
27645 ac_path_to_link=""
27646 else
27647 ac_path_to_link=" -L$ac_find_libraries"
27648 fi
27649
27650 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27651 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27652 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
27653 fi
27654
27655 found_gl=1
27656 OPENGL_LIBS="-lGL -lGLU"
27657 echo "$as_me:$LINENO: result: yes" >&5
27658 echo "${ECHO_T}yes" >&6
27659 fi
27660 fi
27661
27662 if test "$found_gl" != 1; then
27663 echo "$as_me:$LINENO: result: no" >&5
27664 echo "${ECHO_T}no" >&6
27665 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27666 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27667
27668 ac_find_libraries=
27669 for ac_dir in $SEARCH_LIB /usr/lib;
27670 do
27671 for ac_extension in a so sl dylib; do
27672 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27673 ac_find_libraries=$ac_dir
27674 break 2
27675 fi
27676 done
27677 done
27678
27679 if test "$ac_find_libraries" != "" ; then
27680
27681 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27682 result=$?
27683 if test $result = 0; then
27684 ac_path_to_link=""
27685 else
27686 ac_path_to_link=" -L$ac_find_libraries"
27687 fi
27688
27689 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
27690 OPENGL_LIBS="-lMesaGL -lMesaGLU"
27691 echo "$as_me:$LINENO: result: yes" >&5
27692 echo "${ECHO_T}yes" >&6
27693 else
27694 echo "$as_me:$LINENO: result: no" >&5
27695 echo "${ECHO_T}no" >&6
27696 fi
27697 fi
27698
27699 fi
27700
27701
27702
27703 if test "x$OPENGL_LIBS" = "x"; then
27704 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27705 echo "$as_me: error: OpenGL libraries not available" >&2;}
27706 { (exit 1); exit 1; }; }
27707 fi
27708 fi
27709
27710 if test "$wxUSE_OPENGL" = "yes"; then
27711 USE_OPENGL=1
27712 cat >>confdefs.h <<\_ACEOF
27713 #define wxUSE_OPENGL 1
27714 _ACEOF
27715
27716 cat >>confdefs.h <<\_ACEOF
27717 #define wxUSE_GLCANVAS 1
27718 _ACEOF
27719
27720 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27721 fi
27722 fi
27723
27724 if test -z "$TOOLKIT_VPATH" ; then
27725 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
27726 fi
27727
27728 if test -n "$TOOLKIT" ; then
27729 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27730 fi
27731
27732 UNICODE=0
27733 lib_unicode_suffix=
27734 if test "$wxUSE_UNICODE" = "yes"; then
27735 lib_unicode_suffix=u
27736 UNICODE=1
27737 fi
27738
27739 lib_debug_suffix=
27740 DEBUG_FLAG=0
27741 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27742 lib_debug_suffix=d
27743 DEBUG_FLAG=1
27744 fi
27745
27746 DEBUG_INFO=0
27747 if test "$wxUSE_DEBUG_INFO" = "yes"; then
27748 DEBUG_INFO=1
27749 fi
27750
27751 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27752
27753 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
27754 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
27755
27756 if test "$cross_compiling" = "yes"; then
27757 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
27758 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
27759 HOST_SUFFIX="-${host_alias}"
27760 fi
27761
27762 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
27763 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
27764 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
27765 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
27766
27767 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27768 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27769
27770 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
27771 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
27772 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
27773 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27774
27775 case "${host}" in
27776 *-*-cygwin* | *-*-mingw32* )
27777 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
27778 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27779 ;;
27780
27781 *-*-darwin* )
27782
27783 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27784 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27785
27786 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
27787 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
27788 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
27789 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27790
27791 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27792 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
27793 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
27794 fi
27795 ;;
27796 esac
27797
27798 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
27799 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
27800
27801 WXCONFIG_LIBS="-l${WX_LIBRARY}"
27802 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
27803
27804 if test "$wxUSE_OPENGL" = "yes"; then
27805 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
27806 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
27807 fi
27808
27809
27810
27811 if test "$wxUSE_SHARED" = "yes"; then
27812 case "${host}" in
27813 *-pc-os2_emx | *-pc-os2-emx | \
27814 *-pc-msdosdjgpp )
27815 wxUSE_SHARED=no
27816 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27817 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27818 ;;
27819 esac
27820 fi
27821
27822 SHARED=0
27823 if test "$wxUSE_SHARED" = "yes"; then
27824 SHARED=1
27825
27826
27827 found_versioning=no
27828
27829
27830 if test $found_versioning = no ; then
27831 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27832 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27833 if test "${wx_cv_version_script+set}" = set; then
27834 echo $ECHO_N "(cached) $ECHO_C" >&6
27835 else
27836
27837 echo "VER_1 { *; };" >conftest.sym
27838 echo "int main() { return 0; }" >conftest.cpp
27839
27840 if { ac_try='
27841 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27842 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27844 (eval $ac_try) 2>&5
27845 ac_status=$?
27846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27847 (exit $ac_status); }; } ; then
27848 if test -s conftest.stderr ; then
27849 wx_cv_version_script=no
27850 else
27851 wx_cv_version_script=yes
27852 fi
27853 else
27854 wx_cv_version_script=no
27855 fi
27856 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27857
27858 fi
27859 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27860 echo "${ECHO_T}$wx_cv_version_script" >&6
27861 if test $wx_cv_version_script = yes ; then
27862 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
27863 fi
27864 fi
27865
27866
27867 case "${host}" in
27868 *-*-linux* | *-*-gnu* )
27869 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
27870 ;;
27871
27872 *-*-solaris2* )
27873 if test "$GCC" = yes ; then
27874 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
27875
27876 saveLdflags="$LDFLAGS"
27877 LDFLAGS="$saveLdflags -Wl,-rpath,/"
27878 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27879 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27880 cat >conftest.$ac_ext <<_ACEOF
27881 /* confdefs.h. */
27882 _ACEOF
27883 cat confdefs.h >>conftest.$ac_ext
27884 cat >>conftest.$ac_ext <<_ACEOF
27885 /* end confdefs.h. */
27886
27887 int
27888 main ()
27889 {
27890
27891 ;
27892 return 0;
27893 }
27894 _ACEOF
27895 rm -f conftest.$ac_objext conftest$ac_exeext
27896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27897 (eval $ac_link) 2>conftest.er1
27898 ac_status=$?
27899 grep -v '^ *+' conftest.er1 >conftest.err
27900 rm -f conftest.er1
27901 cat conftest.err >&5
27902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27903 (exit $ac_status); } &&
27904 { ac_try='test -z "$ac_c_werror_flag"
27905 || test ! -s conftest.err'
27906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27907 (eval $ac_try) 2>&5
27908 ac_status=$?
27909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27910 (exit $ac_status); }; } &&
27911 { ac_try='test -s conftest$ac_exeext'
27912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27913 (eval $ac_try) 2>&5
27914 ac_status=$?
27915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27916 (exit $ac_status); }; }; then
27917
27918 echo "$as_me:$LINENO: result: yes" >&5
27919 echo "${ECHO_T}yes" >&6
27920 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
27921
27922 else
27923 echo "$as_me: failed program was:" >&5
27924 sed 's/^/| /' conftest.$ac_ext >&5
27925
27926
27927 echo "$as_me:$LINENO: result: no" >&5
27928 echo "${ECHO_T}no" >&6
27929 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27930 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27931 LDFLAGS="$saveLdflags -Wl,-R,/"
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
27939 int
27940 main ()
27941 {
27942
27943 ;
27944 return 0;
27945 }
27946 _ACEOF
27947 rm -f conftest.$ac_objext conftest$ac_exeext
27948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27949 (eval $ac_link) 2>conftest.er1
27950 ac_status=$?
27951 grep -v '^ *+' conftest.er1 >conftest.err
27952 rm -f conftest.er1
27953 cat conftest.err >&5
27954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27955 (exit $ac_status); } &&
27956 { ac_try='test -z "$ac_c_werror_flag"
27957 || test ! -s conftest.err'
27958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27959 (eval $ac_try) 2>&5
27960 ac_status=$?
27961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27962 (exit $ac_status); }; } &&
27963 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
27969
27970 echo "$as_me:$LINENO: result: yes" >&5
27971 echo "${ECHO_T}yes" >&6
27972 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
27973 else
27974 echo "$as_me: failed program was:" >&5
27975 sed 's/^/| /' conftest.$ac_ext >&5
27976
27977
27978 echo "$as_me:$LINENO: result: no" >&5
27979 echo "${ECHO_T}no" >&6
27980
27981 fi
27982 rm -f conftest.err conftest.$ac_objext \
27983 conftest$ac_exeext conftest.$ac_ext
27984
27985 fi
27986 rm -f conftest.err conftest.$ac_objext \
27987 conftest$ac_exeext conftest.$ac_ext
27988 LDFLAGS="$saveLdflags"
27989 else
27990 SHARED_LD="${CXX} -G -o"
27991 PIC_FLAG="-KPIC"
27992 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
27993 fi
27994 ;;
27995
27996 powerpc-*-darwin* )
27997 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
27998 cat <<EOF >change-install-names
27999 #!/bin/sh
28000 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
28001 inst_cmd="install_name_tool "
28002 for i in \${libnames} ; do
28003 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
28004 done
28005 \${inst_cmd} \${3}
28006 EOF
28007 chmod +x change-install-names
28008 ;;
28009
28010 esac
28011
28012 if test "x$WX_TARGET_LIBRARY" = "x"; then
28013 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
28014 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
28015 fi
28016
28017 WX_TARGET_LIBRARY_TYPE="so"
28018 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
28019 fi
28020
28021 if test "$wxUSE_SHARED" = "no"; then
28022
28023 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
28024 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
28025 fi
28026
28027 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
28028 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
28029 fi
28030
28031 if test "$wxUSE_OPENGL" = "yes"; then
28032 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
28033 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
28034 else
28035 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
28036 fi
28037
28038 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
28039 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
28040
28041 WX_TARGET_LIBRARY_TYPE="a"
28042 INSTALL_LIBRARY='$(INSTALL_DATA)'
28043
28044 STATIC_FLAG="yes"
28045 else
28046 STATIC_FLAG="no"
28047 fi
28048
28049 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
28050 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
28051 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
28052 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
28053
28054 # Extract the first word of "Rez", so it can be a program name with args.
28055 set dummy Rez; ac_word=$2
28056 echo "$as_me:$LINENO: checking for $ac_word" >&5
28057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28058 if test "${ac_cv_prog_RESCOMP+set}" = set; then
28059 echo $ECHO_N "(cached) $ECHO_C" >&6
28060 else
28061 if test -n "$RESCOMP"; then
28062 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
28063 else
28064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28065 for as_dir in $PATH
28066 do
28067 IFS=$as_save_IFS
28068 test -z "$as_dir" && as_dir=.
28069 for ac_exec_ext in '' $ac_executable_extensions; do
28070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28071 ac_cv_prog_RESCOMP="Rez"
28072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28073 break 2
28074 fi
28075 done
28076 done
28077
28078 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
28079 fi
28080 fi
28081 RESCOMP=$ac_cv_prog_RESCOMP
28082 if test -n "$RESCOMP"; then
28083 echo "$as_me:$LINENO: result: $RESCOMP" >&5
28084 echo "${ECHO_T}$RESCOMP" >&6
28085 else
28086 echo "$as_me:$LINENO: result: no" >&5
28087 echo "${ECHO_T}no" >&6
28088 fi
28089
28090 # Extract the first word of "DeRez", so it can be a program name with args.
28091 set dummy DeRez; ac_word=$2
28092 echo "$as_me:$LINENO: checking for $ac_word" >&5
28093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28094 if test "${ac_cv_prog_DEREZ+set}" = set; then
28095 echo $ECHO_N "(cached) $ECHO_C" >&6
28096 else
28097 if test -n "$DEREZ"; then
28098 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
28099 else
28100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28101 for as_dir in $PATH
28102 do
28103 IFS=$as_save_IFS
28104 test -z "$as_dir" && as_dir=.
28105 for ac_exec_ext in '' $ac_executable_extensions; do
28106 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28107 ac_cv_prog_DEREZ="DeRez"
28108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28109 break 2
28110 fi
28111 done
28112 done
28113
28114 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
28115 fi
28116 fi
28117 DEREZ=$ac_cv_prog_DEREZ
28118 if test -n "$DEREZ"; then
28119 echo "$as_me:$LINENO: result: $DEREZ" >&5
28120 echo "${ECHO_T}$DEREZ" >&6
28121 else
28122 echo "$as_me:$LINENO: result: no" >&5
28123 echo "${ECHO_T}no" >&6
28124 fi
28125
28126 # Extract the first word of "SetFile", so it can be a program name with args.
28127 set dummy SetFile; ac_word=$2
28128 echo "$as_me:$LINENO: checking for $ac_word" >&5
28129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28130 if test "${ac_cv_prog_SETFILE+set}" = set; then
28131 echo $ECHO_N "(cached) $ECHO_C" >&6
28132 else
28133 if test -n "$SETFILE"; then
28134 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
28135 else
28136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28137 for as_dir in $PATH
28138 do
28139 IFS=$as_save_IFS
28140 test -z "$as_dir" && as_dir=.
28141 for ac_exec_ext in '' $ac_executable_extensions; do
28142 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28143 ac_cv_prog_SETFILE="SetFile"
28144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28145 break 2
28146 fi
28147 done
28148 done
28149
28150 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
28151 fi
28152 fi
28153 SETFILE=$ac_cv_prog_SETFILE
28154 if test -n "$SETFILE"; then
28155 echo "$as_me:$LINENO: result: $SETFILE" >&5
28156 echo "${ECHO_T}$SETFILE" >&6
28157 else
28158 echo "$as_me:$LINENO: result: no" >&5
28159 echo "${ECHO_T}no" >&6
28160 fi
28161
28162
28163 MACSETFILE="\$(SETFILE)"
28164
28165 if test "$wxUSE_MAC" = 1; then
28166 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28167
28168 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28169 else
28170 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28171 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28172 fi
28173 else
28174 MACSETFILE="@#"
28175 MACRESWXCONFIG="#"
28176
28177 if test "$wxUSE_PM" = 1; then
28178 MACRESCOMP="emxbind -ep"
28179 else
28180 MACRESCOMP="@#"
28181 fi
28182 fi
28183
28184
28185
28186 echo "$as_me:$LINENO: checking for mode_t" >&5
28187 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28188 if test "${ac_cv_type_mode_t+set}" = set; then
28189 echo $ECHO_N "(cached) $ECHO_C" >&6
28190 else
28191 cat >conftest.$ac_ext <<_ACEOF
28192 /* confdefs.h. */
28193 _ACEOF
28194 cat confdefs.h >>conftest.$ac_ext
28195 cat >>conftest.$ac_ext <<_ACEOF
28196 /* end confdefs.h. */
28197 $ac_includes_default
28198 int
28199 main ()
28200 {
28201 if ((mode_t *) 0)
28202 return 0;
28203 if (sizeof (mode_t))
28204 return 0;
28205 ;
28206 return 0;
28207 }
28208 _ACEOF
28209 rm -f conftest.$ac_objext
28210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28211 (eval $ac_compile) 2>conftest.er1
28212 ac_status=$?
28213 grep -v '^ *+' conftest.er1 >conftest.err
28214 rm -f conftest.er1
28215 cat conftest.err >&5
28216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28217 (exit $ac_status); } &&
28218 { ac_try='test -z "$ac_c_werror_flag"
28219 || test ! -s conftest.err'
28220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28221 (eval $ac_try) 2>&5
28222 ac_status=$?
28223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28224 (exit $ac_status); }; } &&
28225 { ac_try='test -s conftest.$ac_objext'
28226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28227 (eval $ac_try) 2>&5
28228 ac_status=$?
28229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28230 (exit $ac_status); }; }; then
28231 ac_cv_type_mode_t=yes
28232 else
28233 echo "$as_me: failed program was:" >&5
28234 sed 's/^/| /' conftest.$ac_ext >&5
28235
28236 ac_cv_type_mode_t=no
28237 fi
28238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28239 fi
28240 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28241 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28242 if test $ac_cv_type_mode_t = yes; then
28243 :
28244 else
28245
28246 cat >>confdefs.h <<_ACEOF
28247 #define mode_t int
28248 _ACEOF
28249
28250 fi
28251
28252 echo "$as_me:$LINENO: checking for off_t" >&5
28253 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28254 if test "${ac_cv_type_off_t+set}" = set; then
28255 echo $ECHO_N "(cached) $ECHO_C" >&6
28256 else
28257 cat >conftest.$ac_ext <<_ACEOF
28258 /* confdefs.h. */
28259 _ACEOF
28260 cat confdefs.h >>conftest.$ac_ext
28261 cat >>conftest.$ac_ext <<_ACEOF
28262 /* end confdefs.h. */
28263 $ac_includes_default
28264 int
28265 main ()
28266 {
28267 if ((off_t *) 0)
28268 return 0;
28269 if (sizeof (off_t))
28270 return 0;
28271 ;
28272 return 0;
28273 }
28274 _ACEOF
28275 rm -f conftest.$ac_objext
28276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28277 (eval $ac_compile) 2>conftest.er1
28278 ac_status=$?
28279 grep -v '^ *+' conftest.er1 >conftest.err
28280 rm -f conftest.er1
28281 cat conftest.err >&5
28282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28283 (exit $ac_status); } &&
28284 { ac_try='test -z "$ac_c_werror_flag"
28285 || test ! -s conftest.err'
28286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28287 (eval $ac_try) 2>&5
28288 ac_status=$?
28289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28290 (exit $ac_status); }; } &&
28291 { ac_try='test -s conftest.$ac_objext'
28292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28293 (eval $ac_try) 2>&5
28294 ac_status=$?
28295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28296 (exit $ac_status); }; }; then
28297 ac_cv_type_off_t=yes
28298 else
28299 echo "$as_me: failed program was:" >&5
28300 sed 's/^/| /' conftest.$ac_ext >&5
28301
28302 ac_cv_type_off_t=no
28303 fi
28304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28305 fi
28306 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28307 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28308 if test $ac_cv_type_off_t = yes; then
28309 :
28310 else
28311
28312 cat >>confdefs.h <<_ACEOF
28313 #define off_t long
28314 _ACEOF
28315
28316 fi
28317
28318 echo "$as_me:$LINENO: checking for pid_t" >&5
28319 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28320 if test "${ac_cv_type_pid_t+set}" = set; then
28321 echo $ECHO_N "(cached) $ECHO_C" >&6
28322 else
28323 cat >conftest.$ac_ext <<_ACEOF
28324 /* confdefs.h. */
28325 _ACEOF
28326 cat confdefs.h >>conftest.$ac_ext
28327 cat >>conftest.$ac_ext <<_ACEOF
28328 /* end confdefs.h. */
28329 $ac_includes_default
28330 int
28331 main ()
28332 {
28333 if ((pid_t *) 0)
28334 return 0;
28335 if (sizeof (pid_t))
28336 return 0;
28337 ;
28338 return 0;
28339 }
28340 _ACEOF
28341 rm -f conftest.$ac_objext
28342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28343 (eval $ac_compile) 2>conftest.er1
28344 ac_status=$?
28345 grep -v '^ *+' conftest.er1 >conftest.err
28346 rm -f conftest.er1
28347 cat conftest.err >&5
28348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28349 (exit $ac_status); } &&
28350 { ac_try='test -z "$ac_c_werror_flag"
28351 || test ! -s conftest.err'
28352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28353 (eval $ac_try) 2>&5
28354 ac_status=$?
28355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28356 (exit $ac_status); }; } &&
28357 { ac_try='test -s conftest.$ac_objext'
28358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28359 (eval $ac_try) 2>&5
28360 ac_status=$?
28361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28362 (exit $ac_status); }; }; then
28363 ac_cv_type_pid_t=yes
28364 else
28365 echo "$as_me: failed program was:" >&5
28366 sed 's/^/| /' conftest.$ac_ext >&5
28367
28368 ac_cv_type_pid_t=no
28369 fi
28370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28371 fi
28372 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28373 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28374 if test $ac_cv_type_pid_t = yes; then
28375 :
28376 else
28377
28378 cat >>confdefs.h <<_ACEOF
28379 #define pid_t int
28380 _ACEOF
28381
28382 fi
28383
28384 echo "$as_me:$LINENO: checking for size_t" >&5
28385 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28386 if test "${ac_cv_type_size_t+set}" = set; then
28387 echo $ECHO_N "(cached) $ECHO_C" >&6
28388 else
28389 cat >conftest.$ac_ext <<_ACEOF
28390 /* confdefs.h. */
28391 _ACEOF
28392 cat confdefs.h >>conftest.$ac_ext
28393 cat >>conftest.$ac_ext <<_ACEOF
28394 /* end confdefs.h. */
28395 $ac_includes_default
28396 int
28397 main ()
28398 {
28399 if ((size_t *) 0)
28400 return 0;
28401 if (sizeof (size_t))
28402 return 0;
28403 ;
28404 return 0;
28405 }
28406 _ACEOF
28407 rm -f conftest.$ac_objext
28408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28409 (eval $ac_compile) 2>conftest.er1
28410 ac_status=$?
28411 grep -v '^ *+' conftest.er1 >conftest.err
28412 rm -f conftest.er1
28413 cat conftest.err >&5
28414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28415 (exit $ac_status); } &&
28416 { ac_try='test -z "$ac_c_werror_flag"
28417 || test ! -s conftest.err'
28418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28419 (eval $ac_try) 2>&5
28420 ac_status=$?
28421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28422 (exit $ac_status); }; } &&
28423 { ac_try='test -s conftest.$ac_objext'
28424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28425 (eval $ac_try) 2>&5
28426 ac_status=$?
28427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28428 (exit $ac_status); }; }; then
28429 ac_cv_type_size_t=yes
28430 else
28431 echo "$as_me: failed program was:" >&5
28432 sed 's/^/| /' conftest.$ac_ext >&5
28433
28434 ac_cv_type_size_t=no
28435 fi
28436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28437 fi
28438 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28439 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28440 if test $ac_cv_type_size_t = yes; then
28441 :
28442 else
28443
28444 cat >>confdefs.h <<_ACEOF
28445 #define size_t unsigned
28446 _ACEOF
28447
28448 fi
28449
28450 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28451 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28452 if test "${ac_cv_type_uid_t+set}" = set; then
28453 echo $ECHO_N "(cached) $ECHO_C" >&6
28454 else
28455 cat >conftest.$ac_ext <<_ACEOF
28456 /* confdefs.h. */
28457 _ACEOF
28458 cat confdefs.h >>conftest.$ac_ext
28459 cat >>conftest.$ac_ext <<_ACEOF
28460 /* end confdefs.h. */
28461 #include <sys/types.h>
28462
28463 _ACEOF
28464 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28465 $EGREP "uid_t" >/dev/null 2>&1; then
28466 ac_cv_type_uid_t=yes
28467 else
28468 ac_cv_type_uid_t=no
28469 fi
28470 rm -f conftest*
28471
28472 fi
28473 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28474 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28475 if test $ac_cv_type_uid_t = no; then
28476
28477 cat >>confdefs.h <<\_ACEOF
28478 #define uid_t int
28479 _ACEOF
28480
28481
28482 cat >>confdefs.h <<\_ACEOF
28483 #define gid_t int
28484 _ACEOF
28485
28486 fi
28487
28488
28489
28490
28491 ac_ext=cc
28492 ac_cpp='$CXXCPP $CPPFLAGS'
28493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28496
28497 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28498 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28499 if test "${wx_cv_size_t_is_uint+set}" = set; then
28500 echo $ECHO_N "(cached) $ECHO_C" >&6
28501 else
28502
28503 cat >conftest.$ac_ext <<_ACEOF
28504 /* confdefs.h. */
28505 _ACEOF
28506 cat confdefs.h >>conftest.$ac_ext
28507 cat >>conftest.$ac_ext <<_ACEOF
28508 /* end confdefs.h. */
28509 #include <stddef.h>
28510 int
28511 main ()
28512 {
28513
28514 return 0; }
28515
28516 struct Foo { void foo(size_t); void foo(unsigned int); };
28517
28518 int bar() {
28519
28520 ;
28521 return 0;
28522 }
28523 _ACEOF
28524 rm -f conftest.$ac_objext
28525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28526 (eval $ac_compile) 2>conftest.er1
28527 ac_status=$?
28528 grep -v '^ *+' conftest.er1 >conftest.err
28529 rm -f conftest.er1
28530 cat conftest.err >&5
28531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28532 (exit $ac_status); } &&
28533 { ac_try='test -z "$ac_cxx_werror_flag"
28534 || test ! -s conftest.err'
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); }; } &&
28540 { ac_try='test -s conftest.$ac_objext'
28541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28542 (eval $ac_try) 2>&5
28543 ac_status=$?
28544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28545 (exit $ac_status); }; }; then
28546 wx_cv_size_t_is_uint=no
28547 else
28548 echo "$as_me: failed program was:" >&5
28549 sed 's/^/| /' conftest.$ac_ext >&5
28550
28551 wx_cv_size_t_is_uint=yes
28552
28553 fi
28554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28555
28556
28557 fi
28558 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28559 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28560
28561 if test "$wx_cv_size_t_is_uint" = "yes"; then
28562 cat >>confdefs.h <<\_ACEOF
28563 #define wxSIZE_T_IS_UINT 1
28564 _ACEOF
28565
28566 else
28567 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28568 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28569 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28570 echo $ECHO_N "(cached) $ECHO_C" >&6
28571 else
28572 cat >conftest.$ac_ext <<_ACEOF
28573 /* confdefs.h. */
28574 _ACEOF
28575 cat confdefs.h >>conftest.$ac_ext
28576 cat >>conftest.$ac_ext <<_ACEOF
28577 /* end confdefs.h. */
28578 #include <stddef.h>
28579 int
28580 main ()
28581 {
28582
28583 return 0; }
28584
28585 struct Foo { void foo(size_t); void foo(unsigned long); };
28586
28587 int bar() {
28588
28589 ;
28590 return 0;
28591 }
28592 _ACEOF
28593 rm -f conftest.$ac_objext
28594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28595 (eval $ac_compile) 2>conftest.er1
28596 ac_status=$?
28597 grep -v '^ *+' conftest.er1 >conftest.err
28598 rm -f conftest.er1
28599 cat conftest.err >&5
28600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28601 (exit $ac_status); } &&
28602 { ac_try='test -z "$ac_cxx_werror_flag"
28603 || test ! -s conftest.err'
28604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28605 (eval $ac_try) 2>&5
28606 ac_status=$?
28607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28608 (exit $ac_status); }; } &&
28609 { ac_try='test -s conftest.$ac_objext'
28610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28611 (eval $ac_try) 2>&5
28612 ac_status=$?
28613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28614 (exit $ac_status); }; }; then
28615 wx_cv_size_t_is_ulong=no
28616 else
28617 echo "$as_me: failed program was:" >&5
28618 sed 's/^/| /' conftest.$ac_ext >&5
28619
28620 wx_cv_size_t_is_ulong=yes
28621
28622 fi
28623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28624
28625 fi
28626 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28627 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28628
28629 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28630 cat >>confdefs.h <<\_ACEOF
28631 #define wxSIZE_T_IS_ULONG 1
28632 _ACEOF
28633
28634 fi
28635 fi
28636
28637 ac_ext=c
28638 ac_cpp='$CPP $CPPFLAGS'
28639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28642
28643
28644
28645 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28646 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28647 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28648 echo $ECHO_N "(cached) $ECHO_C" >&6
28649 else
28650
28651 cat >conftest.$ac_ext <<_ACEOF
28652 /* confdefs.h. */
28653 _ACEOF
28654 cat confdefs.h >>conftest.$ac_ext
28655 cat >>conftest.$ac_ext <<_ACEOF
28656 /* end confdefs.h. */
28657 #include <pwd.h>
28658 int
28659 main ()
28660 {
28661
28662 char *p;
28663 struct passwd *pw;
28664 p = pw->pw_gecos;
28665
28666 ;
28667 return 0;
28668 }
28669 _ACEOF
28670 rm -f conftest.$ac_objext
28671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28672 (eval $ac_compile) 2>conftest.er1
28673 ac_status=$?
28674 grep -v '^ *+' conftest.er1 >conftest.err
28675 rm -f conftest.er1
28676 cat conftest.err >&5
28677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28678 (exit $ac_status); } &&
28679 { ac_try='test -z "$ac_c_werror_flag"
28680 || test ! -s conftest.err'
28681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28682 (eval $ac_try) 2>&5
28683 ac_status=$?
28684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28685 (exit $ac_status); }; } &&
28686 { ac_try='test -s conftest.$ac_objext'
28687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28688 (eval $ac_try) 2>&5
28689 ac_status=$?
28690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28691 (exit $ac_status); }; }; then
28692
28693 wx_cv_struct_pw_gecos=yes
28694
28695 else
28696 echo "$as_me: failed program was:" >&5
28697 sed 's/^/| /' conftest.$ac_ext >&5
28698
28699
28700 wx_cv_struct_pw_gecos=no
28701
28702
28703 fi
28704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28705
28706
28707 fi
28708 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28709 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28710
28711 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28712 cat >>confdefs.h <<\_ACEOF
28713 #define HAVE_PW_GECOS 1
28714 _ACEOF
28715
28716 fi
28717
28718
28719 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28720 cat >>confdefs.h <<\_ACEOF
28721 #define wxUSE_WCHAR_T 1
28722 _ACEOF
28723
28724
28725 WCSLEN_FOUND=0
28726 WCHAR_LINK=
28727
28728 for ac_func in wcslen
28729 do
28730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28731 echo "$as_me:$LINENO: checking for $ac_func" >&5
28732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28733 if eval "test \"\${$as_ac_var+set}\" = set"; then
28734 echo $ECHO_N "(cached) $ECHO_C" >&6
28735 else
28736 cat >conftest.$ac_ext <<_ACEOF
28737 /* confdefs.h. */
28738 _ACEOF
28739 cat confdefs.h >>conftest.$ac_ext
28740 cat >>conftest.$ac_ext <<_ACEOF
28741 /* end confdefs.h. */
28742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28744 #define $ac_func innocuous_$ac_func
28745
28746 /* System header to define __stub macros and hopefully few prototypes,
28747 which can conflict with char $ac_func (); below.
28748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28749 <limits.h> exists even on freestanding compilers. */
28750
28751 #ifdef __STDC__
28752 # include <limits.h>
28753 #else
28754 # include <assert.h>
28755 #endif
28756
28757 #undef $ac_func
28758
28759 /* Override any gcc2 internal prototype to avoid an error. */
28760 #ifdef __cplusplus
28761 extern "C"
28762 {
28763 #endif
28764 /* We use char because int might match the return type of a gcc2
28765 builtin and then its argument prototype would still apply. */
28766 char $ac_func ();
28767 /* The GNU C library defines this for functions which it implements
28768 to always fail with ENOSYS. Some functions are actually named
28769 something starting with __ and the normal name is an alias. */
28770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28771 choke me
28772 #else
28773 char (*f) () = $ac_func;
28774 #endif
28775 #ifdef __cplusplus
28776 }
28777 #endif
28778
28779 int
28780 main ()
28781 {
28782 return f != $ac_func;
28783 ;
28784 return 0;
28785 }
28786 _ACEOF
28787 rm -f conftest.$ac_objext conftest$ac_exeext
28788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28789 (eval $ac_link) 2>conftest.er1
28790 ac_status=$?
28791 grep -v '^ *+' conftest.er1 >conftest.err
28792 rm -f conftest.er1
28793 cat conftest.err >&5
28794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28795 (exit $ac_status); } &&
28796 { ac_try='test -z "$ac_c_werror_flag"
28797 || test ! -s conftest.err'
28798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28799 (eval $ac_try) 2>&5
28800 ac_status=$?
28801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28802 (exit $ac_status); }; } &&
28803 { ac_try='test -s conftest$ac_exeext'
28804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28805 (eval $ac_try) 2>&5
28806 ac_status=$?
28807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28808 (exit $ac_status); }; }; then
28809 eval "$as_ac_var=yes"
28810 else
28811 echo "$as_me: failed program was:" >&5
28812 sed 's/^/| /' conftest.$ac_ext >&5
28813
28814 eval "$as_ac_var=no"
28815 fi
28816 rm -f conftest.err conftest.$ac_objext \
28817 conftest$ac_exeext conftest.$ac_ext
28818 fi
28819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28821 if test `eval echo '${'$as_ac_var'}'` = yes; then
28822 cat >>confdefs.h <<_ACEOF
28823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28824 _ACEOF
28825 WCSLEN_FOUND=1
28826 fi
28827 done
28828
28829
28830 if test "$WCSLEN_FOUND" = 0; then
28831 if test "$TOOLKIT" = "MSW"; then
28832 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28833 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28834 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28835 echo $ECHO_N "(cached) $ECHO_C" >&6
28836 else
28837 ac_check_lib_save_LIBS=$LIBS
28838 LIBS="-lmsvcrt $LIBS"
28839 cat >conftest.$ac_ext <<_ACEOF
28840 /* confdefs.h. */
28841 _ACEOF
28842 cat confdefs.h >>conftest.$ac_ext
28843 cat >>conftest.$ac_ext <<_ACEOF
28844 /* end confdefs.h. */
28845
28846 /* Override any gcc2 internal prototype to avoid an error. */
28847 #ifdef __cplusplus
28848 extern "C"
28849 #endif
28850 /* We use char because int might match the return type of a gcc2
28851 builtin and then its argument prototype would still apply. */
28852 char wcslen ();
28853 int
28854 main ()
28855 {
28856 wcslen ();
28857 ;
28858 return 0;
28859 }
28860 _ACEOF
28861 rm -f conftest.$ac_objext conftest$ac_exeext
28862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28863 (eval $ac_link) 2>conftest.er1
28864 ac_status=$?
28865 grep -v '^ *+' conftest.er1 >conftest.err
28866 rm -f conftest.er1
28867 cat conftest.err >&5
28868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28869 (exit $ac_status); } &&
28870 { ac_try='test -z "$ac_c_werror_flag"
28871 || test ! -s conftest.err'
28872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28873 (eval $ac_try) 2>&5
28874 ac_status=$?
28875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28876 (exit $ac_status); }; } &&
28877 { ac_try='test -s conftest$ac_exeext'
28878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28879 (eval $ac_try) 2>&5
28880 ac_status=$?
28881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28882 (exit $ac_status); }; }; then
28883 ac_cv_lib_msvcrt_wcslen=yes
28884 else
28885 echo "$as_me: failed program was:" >&5
28886 sed 's/^/| /' conftest.$ac_ext >&5
28887
28888 ac_cv_lib_msvcrt_wcslen=no
28889 fi
28890 rm -f conftest.err conftest.$ac_objext \
28891 conftest$ac_exeext conftest.$ac_ext
28892 LIBS=$ac_check_lib_save_LIBS
28893 fi
28894 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28895 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28896 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28897 WCHAR_OK=1
28898 fi
28899
28900 else
28901 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28902 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28903 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28904 echo $ECHO_N "(cached) $ECHO_C" >&6
28905 else
28906 ac_check_lib_save_LIBS=$LIBS
28907 LIBS="-lw $LIBS"
28908 cat >conftest.$ac_ext <<_ACEOF
28909 /* confdefs.h. */
28910 _ACEOF
28911 cat confdefs.h >>conftest.$ac_ext
28912 cat >>conftest.$ac_ext <<_ACEOF
28913 /* end confdefs.h. */
28914
28915 /* Override any gcc2 internal prototype to avoid an error. */
28916 #ifdef __cplusplus
28917 extern "C"
28918 #endif
28919 /* We use char because int might match the return type of a gcc2
28920 builtin and then its argument prototype would still apply. */
28921 char wcslen ();
28922 int
28923 main ()
28924 {
28925 wcslen ();
28926 ;
28927 return 0;
28928 }
28929 _ACEOF
28930 rm -f conftest.$ac_objext conftest$ac_exeext
28931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28932 (eval $ac_link) 2>conftest.er1
28933 ac_status=$?
28934 grep -v '^ *+' conftest.er1 >conftest.err
28935 rm -f conftest.er1
28936 cat conftest.err >&5
28937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28938 (exit $ac_status); } &&
28939 { ac_try='test -z "$ac_c_werror_flag"
28940 || test ! -s conftest.err'
28941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28942 (eval $ac_try) 2>&5
28943 ac_status=$?
28944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28945 (exit $ac_status); }; } &&
28946 { ac_try='test -s conftest$ac_exeext'
28947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28948 (eval $ac_try) 2>&5
28949 ac_status=$?
28950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28951 (exit $ac_status); }; }; then
28952 ac_cv_lib_w_wcslen=yes
28953 else
28954 echo "$as_me: failed program was:" >&5
28955 sed 's/^/| /' conftest.$ac_ext >&5
28956
28957 ac_cv_lib_w_wcslen=no
28958 fi
28959 rm -f conftest.err conftest.$ac_objext \
28960 conftest$ac_exeext conftest.$ac_ext
28961 LIBS=$ac_check_lib_save_LIBS
28962 fi
28963 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
28964 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
28965 if test $ac_cv_lib_w_wcslen = yes; then
28966
28967 WCHAR_LINK=" -lw"
28968 WCSLEN_FOUND=1
28969
28970 fi
28971
28972 fi
28973 fi
28974
28975 if test "$WCSLEN_FOUND" = 1; then
28976 cat >>confdefs.h <<\_ACEOF
28977 #define HAVE_WCSLEN 1
28978 _ACEOF
28979
28980 fi
28981
28982
28983 for ac_func in wcsrtombs
28984 do
28985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28986 echo "$as_me:$LINENO: checking for $ac_func" >&5
28987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28988 if eval "test \"\${$as_ac_var+set}\" = set"; then
28989 echo $ECHO_N "(cached) $ECHO_C" >&6
28990 else
28991 cat >conftest.$ac_ext <<_ACEOF
28992 /* confdefs.h. */
28993 _ACEOF
28994 cat confdefs.h >>conftest.$ac_ext
28995 cat >>conftest.$ac_ext <<_ACEOF
28996 /* end confdefs.h. */
28997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28999 #define $ac_func innocuous_$ac_func
29000
29001 /* System header to define __stub macros and hopefully few prototypes,
29002 which can conflict with char $ac_func (); below.
29003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29004 <limits.h> exists even on freestanding compilers. */
29005
29006 #ifdef __STDC__
29007 # include <limits.h>
29008 #else
29009 # include <assert.h>
29010 #endif
29011
29012 #undef $ac_func
29013
29014 /* Override any gcc2 internal prototype to avoid an error. */
29015 #ifdef __cplusplus
29016 extern "C"
29017 {
29018 #endif
29019 /* We use char because int might match the return type of a gcc2
29020 builtin and then its argument prototype would still apply. */
29021 char $ac_func ();
29022 /* The GNU C library defines this for functions which it implements
29023 to always fail with ENOSYS. Some functions are actually named
29024 something starting with __ and the normal name is an alias. */
29025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29026 choke me
29027 #else
29028 char (*f) () = $ac_func;
29029 #endif
29030 #ifdef __cplusplus
29031 }
29032 #endif
29033
29034 int
29035 main ()
29036 {
29037 return f != $ac_func;
29038 ;
29039 return 0;
29040 }
29041 _ACEOF
29042 rm -f conftest.$ac_objext conftest$ac_exeext
29043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29044 (eval $ac_link) 2>conftest.er1
29045 ac_status=$?
29046 grep -v '^ *+' conftest.er1 >conftest.err
29047 rm -f conftest.er1
29048 cat conftest.err >&5
29049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29050 (exit $ac_status); } &&
29051 { ac_try='test -z "$ac_c_werror_flag"
29052 || test ! -s conftest.err'
29053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29054 (eval $ac_try) 2>&5
29055 ac_status=$?
29056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29057 (exit $ac_status); }; } &&
29058 { ac_try='test -s conftest$ac_exeext'
29059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29060 (eval $ac_try) 2>&5
29061 ac_status=$?
29062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29063 (exit $ac_status); }; }; then
29064 eval "$as_ac_var=yes"
29065 else
29066 echo "$as_me: failed program was:" >&5
29067 sed 's/^/| /' conftest.$ac_ext >&5
29068
29069 eval "$as_ac_var=no"
29070 fi
29071 rm -f conftest.err conftest.$ac_objext \
29072 conftest$ac_exeext conftest.$ac_ext
29073 fi
29074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29076 if test `eval echo '${'$as_ac_var'}'` = yes; then
29077 cat >>confdefs.h <<_ACEOF
29078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29079 _ACEOF
29080
29081 fi
29082 done
29083
29084 else
29085 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
29086 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
29087 fi
29088
29089
29090
29091 ac_ext=cc
29092 ac_cpp='$CXXCPP $CPPFLAGS'
29093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29096
29097
29098
29099 for ac_func in vsnprintf
29100 do
29101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29102 echo "$as_me:$LINENO: checking for $ac_func" >&5
29103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29104 if eval "test \"\${$as_ac_var+set}\" = set"; then
29105 echo $ECHO_N "(cached) $ECHO_C" >&6
29106 else
29107 cat >conftest.$ac_ext <<_ACEOF
29108 /* confdefs.h. */
29109 _ACEOF
29110 cat confdefs.h >>conftest.$ac_ext
29111 cat >>conftest.$ac_ext <<_ACEOF
29112 /* end confdefs.h. */
29113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29115 #define $ac_func innocuous_$ac_func
29116
29117 /* System header to define __stub macros and hopefully few prototypes,
29118 which can conflict with char $ac_func (); below.
29119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29120 <limits.h> exists even on freestanding compilers. */
29121
29122 #ifdef __STDC__
29123 # include <limits.h>
29124 #else
29125 # include <assert.h>
29126 #endif
29127
29128 #undef $ac_func
29129
29130 /* Override any gcc2 internal prototype to avoid an error. */
29131 #ifdef __cplusplus
29132 extern "C"
29133 {
29134 #endif
29135 /* We use char because int might match the return type of a gcc2
29136 builtin and then its argument prototype would still apply. */
29137 char $ac_func ();
29138 /* The GNU C library defines this for functions which it implements
29139 to always fail with ENOSYS. Some functions are actually named
29140 something starting with __ and the normal name is an alias. */
29141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29142 choke me
29143 #else
29144 char (*f) () = $ac_func;
29145 #endif
29146 #ifdef __cplusplus
29147 }
29148 #endif
29149
29150 int
29151 main ()
29152 {
29153 return f != $ac_func;
29154 ;
29155 return 0;
29156 }
29157 _ACEOF
29158 rm -f conftest.$ac_objext conftest$ac_exeext
29159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29160 (eval $ac_link) 2>conftest.er1
29161 ac_status=$?
29162 grep -v '^ *+' conftest.er1 >conftest.err
29163 rm -f conftest.er1
29164 cat conftest.err >&5
29165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29166 (exit $ac_status); } &&
29167 { ac_try='test -z "$ac_cxx_werror_flag"
29168 || test ! -s conftest.err'
29169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29170 (eval $ac_try) 2>&5
29171 ac_status=$?
29172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29173 (exit $ac_status); }; } &&
29174 { ac_try='test -s conftest$ac_exeext'
29175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29176 (eval $ac_try) 2>&5
29177 ac_status=$?
29178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29179 (exit $ac_status); }; }; then
29180 eval "$as_ac_var=yes"
29181 else
29182 echo "$as_me: failed program was:" >&5
29183 sed 's/^/| /' conftest.$ac_ext >&5
29184
29185 eval "$as_ac_var=no"
29186 fi
29187 rm -f conftest.err conftest.$ac_objext \
29188 conftest$ac_exeext conftest.$ac_ext
29189 fi
29190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29192 if test `eval echo '${'$as_ac_var'}'` = yes; then
29193 cat >>confdefs.h <<_ACEOF
29194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29195 _ACEOF
29196
29197 fi
29198 done
29199
29200
29201 if test "$ac_cv_func_vsnprintf" = "yes"; then
29202 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29203 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29204 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29205 echo $ECHO_N "(cached) $ECHO_C" >&6
29206 else
29207
29208 cat >conftest.$ac_ext <<_ACEOF
29209 /* confdefs.h. */
29210 _ACEOF
29211 cat confdefs.h >>conftest.$ac_ext
29212 cat >>conftest.$ac_ext <<_ACEOF
29213 /* end confdefs.h. */
29214
29215 #include <stdio.h>
29216 #include <stdarg.h>
29217
29218 int
29219 main ()
29220 {
29221
29222 char *buf;
29223 va_list ap;
29224 vsnprintf(buf, 10u, "%s", ap);
29225
29226 ;
29227 return 0;
29228 }
29229 _ACEOF
29230 rm -f conftest.$ac_objext
29231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29232 (eval $ac_compile) 2>conftest.er1
29233 ac_status=$?
29234 grep -v '^ *+' conftest.er1 >conftest.err
29235 rm -f conftest.er1
29236 cat conftest.err >&5
29237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29238 (exit $ac_status); } &&
29239 { ac_try='test -z "$ac_cxx_werror_flag"
29240 || test ! -s conftest.err'
29241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29242 (eval $ac_try) 2>&5
29243 ac_status=$?
29244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29245 (exit $ac_status); }; } &&
29246 { ac_try='test -s conftest.$ac_objext'
29247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29248 (eval $ac_try) 2>&5
29249 ac_status=$?
29250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29251 (exit $ac_status); }; }; then
29252 wx_cv_func_vsnprintf_decl=yes
29253 else
29254 echo "$as_me: failed program was:" >&5
29255 sed 's/^/| /' conftest.$ac_ext >&5
29256
29257 wx_cv_func_vsnprintf_decl=no
29258
29259 fi
29260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29261
29262
29263 fi
29264 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29265 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29266
29267 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29268 cat >>confdefs.h <<\_ACEOF
29269 #define HAVE_VSNPRINTF_DECL 1
29270 _ACEOF
29271
29272 fi
29273 fi
29274
29275 if test "$wxUSE_UNICODE" = yes; then
29276
29277
29278
29279 for ac_func in fputwc wprintf vswprintf
29280 do
29281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29282 echo "$as_me:$LINENO: checking for $ac_func" >&5
29283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29284 if eval "test \"\${$as_ac_var+set}\" = set"; then
29285 echo $ECHO_N "(cached) $ECHO_C" >&6
29286 else
29287 cat >conftest.$ac_ext <<_ACEOF
29288 /* confdefs.h. */
29289 _ACEOF
29290 cat confdefs.h >>conftest.$ac_ext
29291 cat >>conftest.$ac_ext <<_ACEOF
29292 /* end confdefs.h. */
29293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29295 #define $ac_func innocuous_$ac_func
29296
29297 /* System header to define __stub macros and hopefully few prototypes,
29298 which can conflict with char $ac_func (); below.
29299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29300 <limits.h> exists even on freestanding compilers. */
29301
29302 #ifdef __STDC__
29303 # include <limits.h>
29304 #else
29305 # include <assert.h>
29306 #endif
29307
29308 #undef $ac_func
29309
29310 /* Override any gcc2 internal prototype to avoid an error. */
29311 #ifdef __cplusplus
29312 extern "C"
29313 {
29314 #endif
29315 /* We use char because int might match the return type of a gcc2
29316 builtin and then its argument prototype would still apply. */
29317 char $ac_func ();
29318 /* The GNU C library defines this for functions which it implements
29319 to always fail with ENOSYS. Some functions are actually named
29320 something starting with __ and the normal name is an alias. */
29321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29322 choke me
29323 #else
29324 char (*f) () = $ac_func;
29325 #endif
29326 #ifdef __cplusplus
29327 }
29328 #endif
29329
29330 int
29331 main ()
29332 {
29333 return f != $ac_func;
29334 ;
29335 return 0;
29336 }
29337 _ACEOF
29338 rm -f conftest.$ac_objext conftest$ac_exeext
29339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29340 (eval $ac_link) 2>conftest.er1
29341 ac_status=$?
29342 grep -v '^ *+' conftest.er1 >conftest.err
29343 rm -f conftest.er1
29344 cat conftest.err >&5
29345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29346 (exit $ac_status); } &&
29347 { ac_try='test -z "$ac_cxx_werror_flag"
29348 || test ! -s conftest.err'
29349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29350 (eval $ac_try) 2>&5
29351 ac_status=$?
29352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29353 (exit $ac_status); }; } &&
29354 { ac_try='test -s conftest$ac_exeext'
29355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29356 (eval $ac_try) 2>&5
29357 ac_status=$?
29358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29359 (exit $ac_status); }; }; then
29360 eval "$as_ac_var=yes"
29361 else
29362 echo "$as_me: failed program was:" >&5
29363 sed 's/^/| /' conftest.$ac_ext >&5
29364
29365 eval "$as_ac_var=no"
29366 fi
29367 rm -f conftest.err conftest.$ac_objext \
29368 conftest$ac_exeext conftest.$ac_ext
29369 fi
29370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29372 if test `eval echo '${'$as_ac_var'}'` = yes; then
29373 cat >>confdefs.h <<_ACEOF
29374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29375 _ACEOF
29376
29377 fi
29378 done
29379
29380
29381 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29382 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29383 cat >conftest.$ac_ext <<_ACEOF
29384 /* confdefs.h. */
29385 _ACEOF
29386 cat confdefs.h >>conftest.$ac_ext
29387 cat >>conftest.$ac_ext <<_ACEOF
29388 /* end confdefs.h. */
29389 #include <wchar.h>
29390 int
29391 main ()
29392 {
29393 &_vsnwprintf;
29394 ;
29395 return 0;
29396 }
29397 _ACEOF
29398 rm -f conftest.$ac_objext
29399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29400 (eval $ac_compile) 2>conftest.er1
29401 ac_status=$?
29402 grep -v '^ *+' conftest.er1 >conftest.err
29403 rm -f conftest.er1
29404 cat conftest.err >&5
29405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29406 (exit $ac_status); } &&
29407 { ac_try='test -z "$ac_cxx_werror_flag"
29408 || test ! -s conftest.err'
29409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29410 (eval $ac_try) 2>&5
29411 ac_status=$?
29412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29413 (exit $ac_status); }; } &&
29414 { ac_try='test -s conftest.$ac_objext'
29415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29416 (eval $ac_try) 2>&5
29417 ac_status=$?
29418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29419 (exit $ac_status); }; }; then
29420 echo "$as_me:$LINENO: result: yes" >&5
29421 echo "${ECHO_T}yes" >&6
29422 cat >>confdefs.h <<\_ACEOF
29423 #define HAVE__VSNWPRINTF 1
29424 _ACEOF
29425
29426 else
29427 echo "$as_me: failed program was:" >&5
29428 sed 's/^/| /' conftest.$ac_ext >&5
29429
29430 echo "$as_me:$LINENO: result: no" >&5
29431 echo "${ECHO_T}no" >&6
29432 fi
29433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
29434 fi
29435
29436 ac_ext=c
29437 ac_cpp='$CPP $CPPFLAGS'
29438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29441
29442
29443
29444
29445 if test "$TOOLKIT" != "MSW"; then
29446
29447
29448
29449
29450 ac_ext=cc
29451 ac_cpp='$CXXCPP $CPPFLAGS'
29452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29455
29456
29457
29458
29459 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29460 if test "${with_libiconv_prefix+set}" = set; then
29461 withval="$with_libiconv_prefix"
29462
29463 for dir in `echo "$withval" | tr : ' '`; do
29464 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
29465 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
29466 done
29467
29468 fi;
29469
29470 echo "$as_me:$LINENO: checking for iconv" >&5
29471 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29472 if test "${am_cv_func_iconv+set}" = set; then
29473 echo $ECHO_N "(cached) $ECHO_C" >&6
29474 else
29475
29476 am_cv_func_iconv="no, consider installing GNU libiconv"
29477 am_cv_lib_iconv=no
29478 cat >conftest.$ac_ext <<_ACEOF
29479 /* confdefs.h. */
29480 _ACEOF
29481 cat confdefs.h >>conftest.$ac_ext
29482 cat >>conftest.$ac_ext <<_ACEOF
29483 /* end confdefs.h. */
29484 #include <stdlib.h>
29485 #include <iconv.h>
29486 int
29487 main ()
29488 {
29489 iconv_t cd = iconv_open("","");
29490 iconv(cd,NULL,NULL,NULL,NULL);
29491 iconv_close(cd);
29492 ;
29493 return 0;
29494 }
29495 _ACEOF
29496 rm -f conftest.$ac_objext conftest$ac_exeext
29497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29498 (eval $ac_link) 2>conftest.er1
29499 ac_status=$?
29500 grep -v '^ *+' conftest.er1 >conftest.err
29501 rm -f conftest.er1
29502 cat conftest.err >&5
29503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29504 (exit $ac_status); } &&
29505 { ac_try='test -z "$ac_cxx_werror_flag"
29506 || test ! -s conftest.err'
29507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29508 (eval $ac_try) 2>&5
29509 ac_status=$?
29510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29511 (exit $ac_status); }; } &&
29512 { ac_try='test -s conftest$ac_exeext'
29513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29514 (eval $ac_try) 2>&5
29515 ac_status=$?
29516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29517 (exit $ac_status); }; }; then
29518 am_cv_func_iconv=yes
29519 else
29520 echo "$as_me: failed program was:" >&5
29521 sed 's/^/| /' conftest.$ac_ext >&5
29522
29523 fi
29524 rm -f conftest.err conftest.$ac_objext \
29525 conftest$ac_exeext conftest.$ac_ext
29526 if test "$am_cv_func_iconv" != yes; then
29527 am_save_LIBS="$LIBS"
29528 LIBS="$LIBS -liconv"
29529 cat >conftest.$ac_ext <<_ACEOF
29530 /* confdefs.h. */
29531 _ACEOF
29532 cat confdefs.h >>conftest.$ac_ext
29533 cat >>conftest.$ac_ext <<_ACEOF
29534 /* end confdefs.h. */
29535 #include <stdlib.h>
29536 #include <iconv.h>
29537 int
29538 main ()
29539 {
29540 iconv_t cd = iconv_open("","");
29541 iconv(cd,NULL,NULL,NULL,NULL);
29542 iconv_close(cd);
29543 ;
29544 return 0;
29545 }
29546 _ACEOF
29547 rm -f conftest.$ac_objext conftest$ac_exeext
29548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29549 (eval $ac_link) 2>conftest.er1
29550 ac_status=$?
29551 grep -v '^ *+' conftest.er1 >conftest.err
29552 rm -f conftest.er1
29553 cat conftest.err >&5
29554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29555 (exit $ac_status); } &&
29556 { ac_try='test -z "$ac_cxx_werror_flag"
29557 || test ! -s conftest.err'
29558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29559 (eval $ac_try) 2>&5
29560 ac_status=$?
29561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29562 (exit $ac_status); }; } &&
29563 { ac_try='test -s conftest$ac_exeext'
29564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29565 (eval $ac_try) 2>&5
29566 ac_status=$?
29567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29568 (exit $ac_status); }; }; then
29569 am_cv_lib_iconv=yes
29570 am_cv_func_iconv=yes
29571 else
29572 echo "$as_me: failed program was:" >&5
29573 sed 's/^/| /' conftest.$ac_ext >&5
29574
29575 fi
29576 rm -f conftest.err conftest.$ac_objext \
29577 conftest$ac_exeext conftest.$ac_ext
29578 LIBS="$am_save_LIBS"
29579 fi
29580
29581 fi
29582 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29583 echo "${ECHO_T}$am_cv_func_iconv" >&6
29584 if test "$am_cv_func_iconv" = yes; then
29585
29586 cat >>confdefs.h <<\_ACEOF
29587 #define HAVE_ICONV 1
29588 _ACEOF
29589
29590 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29591 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29592 if test "${wx_cv_func_iconv_const+set}" = set; then
29593 echo $ECHO_N "(cached) $ECHO_C" >&6
29594 else
29595 cat >conftest.$ac_ext <<_ACEOF
29596 /* confdefs.h. */
29597 _ACEOF
29598 cat confdefs.h >>conftest.$ac_ext
29599 cat >>conftest.$ac_ext <<_ACEOF
29600 /* end confdefs.h. */
29601
29602 #include <stdlib.h>
29603 #include <iconv.h>
29604 extern
29605 #ifdef __cplusplus
29606 "C"
29607 #endif
29608 #if defined(__STDC__) || defined(__cplusplus)
29609 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29610 #else
29611 size_t iconv();
29612 #endif
29613
29614 int
29615 main ()
29616 {
29617
29618 ;
29619 return 0;
29620 }
29621 _ACEOF
29622 rm -f conftest.$ac_objext
29623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29624 (eval $ac_compile) 2>conftest.er1
29625 ac_status=$?
29626 grep -v '^ *+' conftest.er1 >conftest.err
29627 rm -f conftest.er1
29628 cat conftest.err >&5
29629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29630 (exit $ac_status); } &&
29631 { ac_try='test -z "$ac_cxx_werror_flag"
29632 || test ! -s conftest.err'
29633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29634 (eval $ac_try) 2>&5
29635 ac_status=$?
29636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29637 (exit $ac_status); }; } &&
29638 { ac_try='test -s conftest.$ac_objext'
29639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29640 (eval $ac_try) 2>&5
29641 ac_status=$?
29642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29643 (exit $ac_status); }; }; then
29644 wx_cv_func_iconv_const="no"
29645 else
29646 echo "$as_me: failed program was:" >&5
29647 sed 's/^/| /' conftest.$ac_ext >&5
29648
29649 wx_cv_func_iconv_const="yes"
29650
29651 fi
29652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29653
29654 fi
29655 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29656 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29657
29658 iconv_const=
29659 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29660 iconv_const="const"
29661 fi
29662
29663
29664 cat >>confdefs.h <<_ACEOF
29665 #define ICONV_CONST $iconv_const
29666 _ACEOF
29667
29668 fi
29669 LIBICONV=
29670 if test "$am_cv_lib_iconv" = yes; then
29671 LIBICONV="-liconv"
29672 fi
29673
29674
29675 LIBS="$LIBICONV $LIBS"
29676 ac_ext=c
29677 ac_cpp='$CPP $CPPFLAGS'
29678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29681
29682
29683 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29684
29685 for ac_func in sigaction
29686 do
29687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29688 echo "$as_me:$LINENO: checking for $ac_func" >&5
29689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29690 if eval "test \"\${$as_ac_var+set}\" = set"; then
29691 echo $ECHO_N "(cached) $ECHO_C" >&6
29692 else
29693 cat >conftest.$ac_ext <<_ACEOF
29694 /* confdefs.h. */
29695 _ACEOF
29696 cat confdefs.h >>conftest.$ac_ext
29697 cat >>conftest.$ac_ext <<_ACEOF
29698 /* end confdefs.h. */
29699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29701 #define $ac_func innocuous_$ac_func
29702
29703 /* System header to define __stub macros and hopefully few prototypes,
29704 which can conflict with char $ac_func (); below.
29705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29706 <limits.h> exists even on freestanding compilers. */
29707
29708 #ifdef __STDC__
29709 # include <limits.h>
29710 #else
29711 # include <assert.h>
29712 #endif
29713
29714 #undef $ac_func
29715
29716 /* Override any gcc2 internal prototype to avoid an error. */
29717 #ifdef __cplusplus
29718 extern "C"
29719 {
29720 #endif
29721 /* We use char because int might match the return type of a gcc2
29722 builtin and then its argument prototype would still apply. */
29723 char $ac_func ();
29724 /* The GNU C library defines this for functions which it implements
29725 to always fail with ENOSYS. Some functions are actually named
29726 something starting with __ and the normal name is an alias. */
29727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29728 choke me
29729 #else
29730 char (*f) () = $ac_func;
29731 #endif
29732 #ifdef __cplusplus
29733 }
29734 #endif
29735
29736 int
29737 main ()
29738 {
29739 return f != $ac_func;
29740 ;
29741 return 0;
29742 }
29743 _ACEOF
29744 rm -f conftest.$ac_objext conftest$ac_exeext
29745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29746 (eval $ac_link) 2>conftest.er1
29747 ac_status=$?
29748 grep -v '^ *+' conftest.er1 >conftest.err
29749 rm -f conftest.er1
29750 cat conftest.err >&5
29751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29752 (exit $ac_status); } &&
29753 { ac_try='test -z "$ac_c_werror_flag"
29754 || test ! -s conftest.err'
29755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29756 (eval $ac_try) 2>&5
29757 ac_status=$?
29758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29759 (exit $ac_status); }; } &&
29760 { ac_try='test -s conftest$ac_exeext'
29761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29762 (eval $ac_try) 2>&5
29763 ac_status=$?
29764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29765 (exit $ac_status); }; }; then
29766 eval "$as_ac_var=yes"
29767 else
29768 echo "$as_me: failed program was:" >&5
29769 sed 's/^/| /' conftest.$ac_ext >&5
29770
29771 eval "$as_ac_var=no"
29772 fi
29773 rm -f conftest.err conftest.$ac_objext \
29774 conftest$ac_exeext conftest.$ac_ext
29775 fi
29776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29778 if test `eval echo '${'$as_ac_var'}'` = yes; then
29779 cat >>confdefs.h <<_ACEOF
29780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29781 _ACEOF
29782
29783 fi
29784 done
29785
29786
29787 if test "$ac_cv_func_sigaction" = "no"; then
29788 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29789 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29790 wxUSE_ON_FATAL_EXCEPTION=no
29791 fi
29792
29793 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29794
29795
29796 ac_ext=cc
29797 ac_cpp='$CXXCPP $CPPFLAGS'
29798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29801
29802
29803 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29804 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29805 if test "${wx_cv_type_sa_handler+set}" = set; then
29806 echo $ECHO_N "(cached) $ECHO_C" >&6
29807 else
29808
29809 cat >conftest.$ac_ext <<_ACEOF
29810 /* confdefs.h. */
29811 _ACEOF
29812 cat confdefs.h >>conftest.$ac_ext
29813 cat >>conftest.$ac_ext <<_ACEOF
29814 /* end confdefs.h. */
29815 #include <signal.h>
29816 int
29817 main ()
29818 {
29819
29820 extern void testSigHandler(int);
29821
29822 struct sigaction sa;
29823 sa.sa_handler = testSigHandler;
29824
29825 ;
29826 return 0;
29827 }
29828 _ACEOF
29829 rm -f conftest.$ac_objext
29830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29831 (eval $ac_compile) 2>conftest.er1
29832 ac_status=$?
29833 grep -v '^ *+' conftest.er1 >conftest.err
29834 rm -f conftest.er1
29835 cat conftest.err >&5
29836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29837 (exit $ac_status); } &&
29838 { ac_try='test -z "$ac_cxx_werror_flag"
29839 || test ! -s conftest.err'
29840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29841 (eval $ac_try) 2>&5
29842 ac_status=$?
29843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29844 (exit $ac_status); }; } &&
29845 { ac_try='test -s conftest.$ac_objext'
29846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29847 (eval $ac_try) 2>&5
29848 ac_status=$?
29849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29850 (exit $ac_status); }; }; then
29851
29852 wx_cv_type_sa_handler=int
29853
29854 else
29855 echo "$as_me: failed program was:" >&5
29856 sed 's/^/| /' conftest.$ac_ext >&5
29857
29858
29859 wx_cv_type_sa_handler=void
29860
29861 fi
29862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29863
29864 fi
29865 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29866 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29867
29868 ac_ext=c
29869 ac_cpp='$CPP $CPPFLAGS'
29870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29873
29874
29875 cat >>confdefs.h <<_ACEOF
29876 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29877 _ACEOF
29878
29879 fi
29880 fi
29881
29882
29883
29884 for ac_func in mkstemp mktemp
29885 do
29886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29887 echo "$as_me:$LINENO: checking for $ac_func" >&5
29888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29889 if eval "test \"\${$as_ac_var+set}\" = set"; then
29890 echo $ECHO_N "(cached) $ECHO_C" >&6
29891 else
29892 cat >conftest.$ac_ext <<_ACEOF
29893 /* confdefs.h. */
29894 _ACEOF
29895 cat confdefs.h >>conftest.$ac_ext
29896 cat >>conftest.$ac_ext <<_ACEOF
29897 /* end confdefs.h. */
29898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29900 #define $ac_func innocuous_$ac_func
29901
29902 /* System header to define __stub macros and hopefully few prototypes,
29903 which can conflict with char $ac_func (); below.
29904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29905 <limits.h> exists even on freestanding compilers. */
29906
29907 #ifdef __STDC__
29908 # include <limits.h>
29909 #else
29910 # include <assert.h>
29911 #endif
29912
29913 #undef $ac_func
29914
29915 /* Override any gcc2 internal prototype to avoid an error. */
29916 #ifdef __cplusplus
29917 extern "C"
29918 {
29919 #endif
29920 /* We use char because int might match the return type of a gcc2
29921 builtin and then its argument prototype would still apply. */
29922 char $ac_func ();
29923 /* The GNU C library defines this for functions which it implements
29924 to always fail with ENOSYS. Some functions are actually named
29925 something starting with __ and the normal name is an alias. */
29926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29927 choke me
29928 #else
29929 char (*f) () = $ac_func;
29930 #endif
29931 #ifdef __cplusplus
29932 }
29933 #endif
29934
29935 int
29936 main ()
29937 {
29938 return f != $ac_func;
29939 ;
29940 return 0;
29941 }
29942 _ACEOF
29943 rm -f conftest.$ac_objext conftest$ac_exeext
29944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29945 (eval $ac_link) 2>conftest.er1
29946 ac_status=$?
29947 grep -v '^ *+' conftest.er1 >conftest.err
29948 rm -f conftest.er1
29949 cat conftest.err >&5
29950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29951 (exit $ac_status); } &&
29952 { ac_try='test -z "$ac_c_werror_flag"
29953 || test ! -s conftest.err'
29954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29955 (eval $ac_try) 2>&5
29956 ac_status=$?
29957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29958 (exit $ac_status); }; } &&
29959 { ac_try='test -s conftest$ac_exeext'
29960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29961 (eval $ac_try) 2>&5
29962 ac_status=$?
29963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29964 (exit $ac_status); }; }; then
29965 eval "$as_ac_var=yes"
29966 else
29967 echo "$as_me: failed program was:" >&5
29968 sed 's/^/| /' conftest.$ac_ext >&5
29969
29970 eval "$as_ac_var=no"
29971 fi
29972 rm -f conftest.err conftest.$ac_objext \
29973 conftest$ac_exeext conftest.$ac_ext
29974 fi
29975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29977 if test `eval echo '${'$as_ac_var'}'` = yes; then
29978 cat >>confdefs.h <<_ACEOF
29979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29980 _ACEOF
29981 break
29982 fi
29983 done
29984
29985
29986 echo "$as_me:$LINENO: checking for statfs" >&5
29987 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
29988 if test "${wx_cv_func_statfs+set}" = set; then
29989 echo $ECHO_N "(cached) $ECHO_C" >&6
29990 else
29991 cat >conftest.$ac_ext <<_ACEOF
29992 /* confdefs.h. */
29993 _ACEOF
29994 cat confdefs.h >>conftest.$ac_ext
29995 cat >>conftest.$ac_ext <<_ACEOF
29996 /* end confdefs.h. */
29997
29998 #if defined(__BSD__)
29999 #include <sys/param.h>
30000 #include <sys/mount.h>
30001 #else
30002 #include <sys/vfs.h>
30003 #endif
30004
30005 int
30006 main ()
30007 {
30008
30009 long l;
30010 struct statfs fs;
30011 statfs("/", &fs);
30012 l = fs.f_bsize;
30013 l += fs.f_blocks;
30014 l += fs.f_bavail;
30015
30016 ;
30017 return 0;
30018 }
30019 _ACEOF
30020 rm -f conftest.$ac_objext
30021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30022 (eval $ac_compile) 2>conftest.er1
30023 ac_status=$?
30024 grep -v '^ *+' conftest.er1 >conftest.err
30025 rm -f conftest.er1
30026 cat conftest.err >&5
30027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30028 (exit $ac_status); } &&
30029 { ac_try='test -z "$ac_c_werror_flag"
30030 || test ! -s conftest.err'
30031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30032 (eval $ac_try) 2>&5
30033 ac_status=$?
30034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30035 (exit $ac_status); }; } &&
30036 { ac_try='test -s conftest.$ac_objext'
30037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30038 (eval $ac_try) 2>&5
30039 ac_status=$?
30040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30041 (exit $ac_status); }; }; then
30042
30043 wx_cv_func_statfs=yes
30044
30045 else
30046 echo "$as_me: failed program was:" >&5
30047 sed 's/^/| /' conftest.$ac_ext >&5
30048
30049
30050 wx_cv_func_statfs=no
30051
30052
30053 fi
30054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30055
30056 fi
30057 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
30058 echo "${ECHO_T}$wx_cv_func_statfs" >&6
30059
30060 if test "$wx_cv_func_statfs" = "yes"; then
30061 wx_cv_type_statvfs_t="struct statfs"
30062 cat >>confdefs.h <<\_ACEOF
30063 #define HAVE_STATFS 1
30064 _ACEOF
30065
30066 else
30067 echo "$as_me:$LINENO: checking for statvfs" >&5
30068 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
30069 if test "${wx_cv_func_statvfs+set}" = set; then
30070 echo $ECHO_N "(cached) $ECHO_C" >&6
30071 else
30072 cat >conftest.$ac_ext <<_ACEOF
30073 /* confdefs.h. */
30074 _ACEOF
30075 cat confdefs.h >>conftest.$ac_ext
30076 cat >>conftest.$ac_ext <<_ACEOF
30077 /* end confdefs.h. */
30078
30079 #include <stddef.h>
30080 #include <sys/statvfs.h>
30081
30082 int
30083 main ()
30084 {
30085
30086 statvfs("/", NULL);
30087
30088 ;
30089 return 0;
30090 }
30091 _ACEOF
30092 rm -f conftest.$ac_objext
30093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30094 (eval $ac_compile) 2>conftest.er1
30095 ac_status=$?
30096 grep -v '^ *+' conftest.er1 >conftest.err
30097 rm -f conftest.er1
30098 cat conftest.err >&5
30099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30100 (exit $ac_status); } &&
30101 { ac_try='test -z "$ac_c_werror_flag"
30102 || test ! -s conftest.err'
30103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30104 (eval $ac_try) 2>&5
30105 ac_status=$?
30106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30107 (exit $ac_status); }; } &&
30108 { ac_try='test -s conftest.$ac_objext'
30109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30110 (eval $ac_try) 2>&5
30111 ac_status=$?
30112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30113 (exit $ac_status); }; }; then
30114 wx_cv_func_statvfs=yes
30115 else
30116 echo "$as_me: failed program was:" >&5
30117 sed 's/^/| /' conftest.$ac_ext >&5
30118
30119 wx_cv_func_statvfs=no
30120
30121 fi
30122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30123
30124 fi
30125 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
30126 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
30127
30128 if test "$wx_cv_func_statvfs" = "yes"; then
30129
30130
30131 ac_ext=cc
30132 ac_cpp='$CXXCPP $CPPFLAGS'
30133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30136
30137
30138 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
30139 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
30140 if test "${wx_cv_type_statvfs_t+set}" = set; then
30141 echo $ECHO_N "(cached) $ECHO_C" >&6
30142 else
30143 cat >conftest.$ac_ext <<_ACEOF
30144 /* confdefs.h. */
30145 _ACEOF
30146 cat confdefs.h >>conftest.$ac_ext
30147 cat >>conftest.$ac_ext <<_ACEOF
30148 /* end confdefs.h. */
30149
30150 #include <sys/statvfs.h>
30151
30152 int
30153 main ()
30154 {
30155
30156 long l;
30157 statvfs_t fs;
30158 statvfs("/", &fs);
30159 l = fs.f_bsize;
30160 l += fs.f_blocks;
30161 l += fs.f_bavail;
30162
30163 ;
30164 return 0;
30165 }
30166 _ACEOF
30167 rm -f conftest.$ac_objext
30168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30169 (eval $ac_compile) 2>conftest.er1
30170 ac_status=$?
30171 grep -v '^ *+' conftest.er1 >conftest.err
30172 rm -f conftest.er1
30173 cat conftest.err >&5
30174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30175 (exit $ac_status); } &&
30176 { ac_try='test -z "$ac_cxx_werror_flag"
30177 || test ! -s conftest.err'
30178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30179 (eval $ac_try) 2>&5
30180 ac_status=$?
30181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30182 (exit $ac_status); }; } &&
30183 { ac_try='test -s conftest.$ac_objext'
30184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30185 (eval $ac_try) 2>&5
30186 ac_status=$?
30187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30188 (exit $ac_status); }; }; then
30189 wx_cv_type_statvfs_t=statvfs_t
30190 else
30191 echo "$as_me: failed program was:" >&5
30192 sed 's/^/| /' conftest.$ac_ext >&5
30193
30194
30195 cat >conftest.$ac_ext <<_ACEOF
30196 /* confdefs.h. */
30197 _ACEOF
30198 cat confdefs.h >>conftest.$ac_ext
30199 cat >>conftest.$ac_ext <<_ACEOF
30200 /* end confdefs.h. */
30201
30202 #include <sys/statvfs.h>
30203
30204 int
30205 main ()
30206 {
30207
30208 long l;
30209 struct statvfs fs;
30210 statvfs("/", &fs);
30211 l = fs.f_bsize;
30212 l += fs.f_blocks;
30213 l += fs.f_bavail;
30214
30215 ;
30216 return 0;
30217 }
30218 _ACEOF
30219 rm -f conftest.$ac_objext
30220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30221 (eval $ac_compile) 2>conftest.er1
30222 ac_status=$?
30223 grep -v '^ *+' conftest.er1 >conftest.err
30224 rm -f conftest.er1
30225 cat conftest.err >&5
30226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30227 (exit $ac_status); } &&
30228 { ac_try='test -z "$ac_cxx_werror_flag"
30229 || test ! -s conftest.err'
30230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30231 (eval $ac_try) 2>&5
30232 ac_status=$?
30233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30234 (exit $ac_status); }; } &&
30235 { ac_try='test -s conftest.$ac_objext'
30236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30237 (eval $ac_try) 2>&5
30238 ac_status=$?
30239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30240 (exit $ac_status); }; }; then
30241 wx_cv_type_statvfs_t="struct statvfs"
30242 else
30243 echo "$as_me: failed program was:" >&5
30244 sed 's/^/| /' conftest.$ac_ext >&5
30245
30246 wx_cv_type_statvfs_t="unknown"
30247
30248 fi
30249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30250
30251
30252 fi
30253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30254
30255 fi
30256 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30257 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30258
30259 ac_ext=c
30260 ac_cpp='$CPP $CPPFLAGS'
30261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30264
30265
30266 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30267 cat >>confdefs.h <<\_ACEOF
30268 #define HAVE_STATVFS 1
30269 _ACEOF
30270
30271 fi
30272 else
30273 wx_cv_type_statvfs_t="unknown"
30274 fi
30275 fi
30276
30277 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30278 cat >>confdefs.h <<_ACEOF
30279 #define WX_STATFS_T $wx_cv_type_statvfs_t
30280 _ACEOF
30281
30282 else
30283 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30284 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30285 fi
30286
30287 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30288
30289
30290 for ac_func in fcntl flock
30291 do
30292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30293 echo "$as_me:$LINENO: checking for $ac_func" >&5
30294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30295 if eval "test \"\${$as_ac_var+set}\" = set"; then
30296 echo $ECHO_N "(cached) $ECHO_C" >&6
30297 else
30298 cat >conftest.$ac_ext <<_ACEOF
30299 /* confdefs.h. */
30300 _ACEOF
30301 cat confdefs.h >>conftest.$ac_ext
30302 cat >>conftest.$ac_ext <<_ACEOF
30303 /* end confdefs.h. */
30304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30306 #define $ac_func innocuous_$ac_func
30307
30308 /* System header to define __stub macros and hopefully few prototypes,
30309 which can conflict with char $ac_func (); below.
30310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30311 <limits.h> exists even on freestanding compilers. */
30312
30313 #ifdef __STDC__
30314 # include <limits.h>
30315 #else
30316 # include <assert.h>
30317 #endif
30318
30319 #undef $ac_func
30320
30321 /* Override any gcc2 internal prototype to avoid an error. */
30322 #ifdef __cplusplus
30323 extern "C"
30324 {
30325 #endif
30326 /* We use char because int might match the return type of a gcc2
30327 builtin and then its argument prototype would still apply. */
30328 char $ac_func ();
30329 /* The GNU C library defines this for functions which it implements
30330 to always fail with ENOSYS. Some functions are actually named
30331 something starting with __ and the normal name is an alias. */
30332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30333 choke me
30334 #else
30335 char (*f) () = $ac_func;
30336 #endif
30337 #ifdef __cplusplus
30338 }
30339 #endif
30340
30341 int
30342 main ()
30343 {
30344 return f != $ac_func;
30345 ;
30346 return 0;
30347 }
30348 _ACEOF
30349 rm -f conftest.$ac_objext conftest$ac_exeext
30350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30351 (eval $ac_link) 2>conftest.er1
30352 ac_status=$?
30353 grep -v '^ *+' conftest.er1 >conftest.err
30354 rm -f conftest.er1
30355 cat conftest.err >&5
30356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30357 (exit $ac_status); } &&
30358 { ac_try='test -z "$ac_c_werror_flag"
30359 || test ! -s conftest.err'
30360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30361 (eval $ac_try) 2>&5
30362 ac_status=$?
30363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30364 (exit $ac_status); }; } &&
30365 { ac_try='test -s conftest$ac_exeext'
30366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30367 (eval $ac_try) 2>&5
30368 ac_status=$?
30369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30370 (exit $ac_status); }; }; then
30371 eval "$as_ac_var=yes"
30372 else
30373 echo "$as_me: failed program was:" >&5
30374 sed 's/^/| /' conftest.$ac_ext >&5
30375
30376 eval "$as_ac_var=no"
30377 fi
30378 rm -f conftest.err conftest.$ac_objext \
30379 conftest$ac_exeext conftest.$ac_ext
30380 fi
30381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30383 if test `eval echo '${'$as_ac_var'}'` = yes; then
30384 cat >>confdefs.h <<_ACEOF
30385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30386 _ACEOF
30387 break
30388 fi
30389 done
30390
30391
30392 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30393 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30394 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30395 wxUSE_SNGLINST_CHECKER=no
30396 fi
30397 fi
30398
30399
30400 for ac_func in timegm
30401 do
30402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30403 echo "$as_me:$LINENO: checking for $ac_func" >&5
30404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30405 if eval "test \"\${$as_ac_var+set}\" = set"; then
30406 echo $ECHO_N "(cached) $ECHO_C" >&6
30407 else
30408 cat >conftest.$ac_ext <<_ACEOF
30409 /* confdefs.h. */
30410 _ACEOF
30411 cat confdefs.h >>conftest.$ac_ext
30412 cat >>conftest.$ac_ext <<_ACEOF
30413 /* end confdefs.h. */
30414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30416 #define $ac_func innocuous_$ac_func
30417
30418 /* System header to define __stub macros and hopefully few prototypes,
30419 which can conflict with char $ac_func (); below.
30420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30421 <limits.h> exists even on freestanding compilers. */
30422
30423 #ifdef __STDC__
30424 # include <limits.h>
30425 #else
30426 # include <assert.h>
30427 #endif
30428
30429 #undef $ac_func
30430
30431 /* Override any gcc2 internal prototype to avoid an error. */
30432 #ifdef __cplusplus
30433 extern "C"
30434 {
30435 #endif
30436 /* We use char because int might match the return type of a gcc2
30437 builtin and then its argument prototype would still apply. */
30438 char $ac_func ();
30439 /* The GNU C library defines this for functions which it implements
30440 to always fail with ENOSYS. Some functions are actually named
30441 something starting with __ and the normal name is an alias. */
30442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30443 choke me
30444 #else
30445 char (*f) () = $ac_func;
30446 #endif
30447 #ifdef __cplusplus
30448 }
30449 #endif
30450
30451 int
30452 main ()
30453 {
30454 return f != $ac_func;
30455 ;
30456 return 0;
30457 }
30458 _ACEOF
30459 rm -f conftest.$ac_objext conftest$ac_exeext
30460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30461 (eval $ac_link) 2>conftest.er1
30462 ac_status=$?
30463 grep -v '^ *+' conftest.er1 >conftest.err
30464 rm -f conftest.er1
30465 cat conftest.err >&5
30466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30467 (exit $ac_status); } &&
30468 { ac_try='test -z "$ac_c_werror_flag"
30469 || test ! -s conftest.err'
30470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30471 (eval $ac_try) 2>&5
30472 ac_status=$?
30473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30474 (exit $ac_status); }; } &&
30475 { ac_try='test -s conftest$ac_exeext'
30476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30477 (eval $ac_try) 2>&5
30478 ac_status=$?
30479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30480 (exit $ac_status); }; }; then
30481 eval "$as_ac_var=yes"
30482 else
30483 echo "$as_me: failed program was:" >&5
30484 sed 's/^/| /' conftest.$ac_ext >&5
30485
30486 eval "$as_ac_var=no"
30487 fi
30488 rm -f conftest.err conftest.$ac_objext \
30489 conftest$ac_exeext conftest.$ac_ext
30490 fi
30491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30493 if test `eval echo '${'$as_ac_var'}'` = yes; then
30494 cat >>confdefs.h <<_ACEOF
30495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30496 _ACEOF
30497
30498 fi
30499 done
30500
30501
30502
30503
30504 for ac_func in putenv setenv
30505 do
30506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30507 echo "$as_me:$LINENO: checking for $ac_func" >&5
30508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30509 if eval "test \"\${$as_ac_var+set}\" = set"; then
30510 echo $ECHO_N "(cached) $ECHO_C" >&6
30511 else
30512 cat >conftest.$ac_ext <<_ACEOF
30513 /* confdefs.h. */
30514 _ACEOF
30515 cat confdefs.h >>conftest.$ac_ext
30516 cat >>conftest.$ac_ext <<_ACEOF
30517 /* end confdefs.h. */
30518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30520 #define $ac_func innocuous_$ac_func
30521
30522 /* System header to define __stub macros and hopefully few prototypes,
30523 which can conflict with char $ac_func (); below.
30524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30525 <limits.h> exists even on freestanding compilers. */
30526
30527 #ifdef __STDC__
30528 # include <limits.h>
30529 #else
30530 # include <assert.h>
30531 #endif
30532
30533 #undef $ac_func
30534
30535 /* Override any gcc2 internal prototype to avoid an error. */
30536 #ifdef __cplusplus
30537 extern "C"
30538 {
30539 #endif
30540 /* We use char because int might match the return type of a gcc2
30541 builtin and then its argument prototype would still apply. */
30542 char $ac_func ();
30543 /* The GNU C library defines this for functions which it implements
30544 to always fail with ENOSYS. Some functions are actually named
30545 something starting with __ and the normal name is an alias. */
30546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30547 choke me
30548 #else
30549 char (*f) () = $ac_func;
30550 #endif
30551 #ifdef __cplusplus
30552 }
30553 #endif
30554
30555 int
30556 main ()
30557 {
30558 return f != $ac_func;
30559 ;
30560 return 0;
30561 }
30562 _ACEOF
30563 rm -f conftest.$ac_objext conftest$ac_exeext
30564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30565 (eval $ac_link) 2>conftest.er1
30566 ac_status=$?
30567 grep -v '^ *+' conftest.er1 >conftest.err
30568 rm -f conftest.er1
30569 cat conftest.err >&5
30570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30571 (exit $ac_status); } &&
30572 { ac_try='test -z "$ac_c_werror_flag"
30573 || test ! -s conftest.err'
30574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30575 (eval $ac_try) 2>&5
30576 ac_status=$?
30577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30578 (exit $ac_status); }; } &&
30579 { ac_try='test -s conftest$ac_exeext'
30580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30581 (eval $ac_try) 2>&5
30582 ac_status=$?
30583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30584 (exit $ac_status); }; }; then
30585 eval "$as_ac_var=yes"
30586 else
30587 echo "$as_me: failed program was:" >&5
30588 sed 's/^/| /' conftest.$ac_ext >&5
30589
30590 eval "$as_ac_var=no"
30591 fi
30592 rm -f conftest.err conftest.$ac_objext \
30593 conftest$ac_exeext conftest.$ac_ext
30594 fi
30595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30597 if test `eval echo '${'$as_ac_var'}'` = yes; then
30598 cat >>confdefs.h <<_ACEOF
30599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30600 _ACEOF
30601 break
30602 fi
30603 done
30604
30605
30606 HAVE_SOME_SLEEP_FUNC=0
30607 if test "$USE_BEOS" = 1; then
30608 cat >>confdefs.h <<\_ACEOF
30609 #define HAVE_SLEEP 1
30610 _ACEOF
30611
30612 HAVE_SOME_SLEEP_FUNC=1
30613 fi
30614
30615 if test "$USE_DARWIN" = 1; then
30616 cat >>confdefs.h <<\_ACEOF
30617 #define HAVE_USLEEP 1
30618 _ACEOF
30619
30620 HAVE_SOME_SLEEP_FUNC=1
30621 fi
30622
30623 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30624 POSIX4_LINK=
30625
30626 for ac_func in nanosleep
30627 do
30628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30629 echo "$as_me:$LINENO: checking for $ac_func" >&5
30630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30631 if eval "test \"\${$as_ac_var+set}\" = set"; then
30632 echo $ECHO_N "(cached) $ECHO_C" >&6
30633 else
30634 cat >conftest.$ac_ext <<_ACEOF
30635 /* confdefs.h. */
30636 _ACEOF
30637 cat confdefs.h >>conftest.$ac_ext
30638 cat >>conftest.$ac_ext <<_ACEOF
30639 /* end confdefs.h. */
30640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30642 #define $ac_func innocuous_$ac_func
30643
30644 /* System header to define __stub macros and hopefully few prototypes,
30645 which can conflict with char $ac_func (); below.
30646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30647 <limits.h> exists even on freestanding compilers. */
30648
30649 #ifdef __STDC__
30650 # include <limits.h>
30651 #else
30652 # include <assert.h>
30653 #endif
30654
30655 #undef $ac_func
30656
30657 /* Override any gcc2 internal prototype to avoid an error. */
30658 #ifdef __cplusplus
30659 extern "C"
30660 {
30661 #endif
30662 /* We use char because int might match the return type of a gcc2
30663 builtin and then its argument prototype would still apply. */
30664 char $ac_func ();
30665 /* The GNU C library defines this for functions which it implements
30666 to always fail with ENOSYS. Some functions are actually named
30667 something starting with __ and the normal name is an alias. */
30668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30669 choke me
30670 #else
30671 char (*f) () = $ac_func;
30672 #endif
30673 #ifdef __cplusplus
30674 }
30675 #endif
30676
30677 int
30678 main ()
30679 {
30680 return f != $ac_func;
30681 ;
30682 return 0;
30683 }
30684 _ACEOF
30685 rm -f conftest.$ac_objext conftest$ac_exeext
30686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30687 (eval $ac_link) 2>conftest.er1
30688 ac_status=$?
30689 grep -v '^ *+' conftest.er1 >conftest.err
30690 rm -f conftest.er1
30691 cat conftest.err >&5
30692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30693 (exit $ac_status); } &&
30694 { ac_try='test -z "$ac_c_werror_flag"
30695 || test ! -s conftest.err'
30696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30697 (eval $ac_try) 2>&5
30698 ac_status=$?
30699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30700 (exit $ac_status); }; } &&
30701 { ac_try='test -s conftest$ac_exeext'
30702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30703 (eval $ac_try) 2>&5
30704 ac_status=$?
30705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30706 (exit $ac_status); }; }; then
30707 eval "$as_ac_var=yes"
30708 else
30709 echo "$as_me: failed program was:" >&5
30710 sed 's/^/| /' conftest.$ac_ext >&5
30711
30712 eval "$as_ac_var=no"
30713 fi
30714 rm -f conftest.err conftest.$ac_objext \
30715 conftest$ac_exeext conftest.$ac_ext
30716 fi
30717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30719 if test `eval echo '${'$as_ac_var'}'` = yes; then
30720 cat >>confdefs.h <<_ACEOF
30721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30722 _ACEOF
30723 cat >>confdefs.h <<\_ACEOF
30724 #define HAVE_NANOSLEEP 1
30725 _ACEOF
30726
30727 else
30728
30729 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30730 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30731 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30732 echo $ECHO_N "(cached) $ECHO_C" >&6
30733 else
30734 ac_check_lib_save_LIBS=$LIBS
30735 LIBS="-lposix4 $LIBS"
30736 cat >conftest.$ac_ext <<_ACEOF
30737 /* confdefs.h. */
30738 _ACEOF
30739 cat confdefs.h >>conftest.$ac_ext
30740 cat >>conftest.$ac_ext <<_ACEOF
30741 /* end confdefs.h. */
30742
30743 /* Override any gcc2 internal prototype to avoid an error. */
30744 #ifdef __cplusplus
30745 extern "C"
30746 #endif
30747 /* We use char because int might match the return type of a gcc2
30748 builtin and then its argument prototype would still apply. */
30749 char nanosleep ();
30750 int
30751 main ()
30752 {
30753 nanosleep ();
30754 ;
30755 return 0;
30756 }
30757 _ACEOF
30758 rm -f conftest.$ac_objext conftest$ac_exeext
30759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30760 (eval $ac_link) 2>conftest.er1
30761 ac_status=$?
30762 grep -v '^ *+' conftest.er1 >conftest.err
30763 rm -f conftest.er1
30764 cat conftest.err >&5
30765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30766 (exit $ac_status); } &&
30767 { ac_try='test -z "$ac_c_werror_flag"
30768 || test ! -s conftest.err'
30769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30770 (eval $ac_try) 2>&5
30771 ac_status=$?
30772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30773 (exit $ac_status); }; } &&
30774 { ac_try='test -s conftest$ac_exeext'
30775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30776 (eval $ac_try) 2>&5
30777 ac_status=$?
30778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30779 (exit $ac_status); }; }; then
30780 ac_cv_lib_posix4_nanosleep=yes
30781 else
30782 echo "$as_me: failed program was:" >&5
30783 sed 's/^/| /' conftest.$ac_ext >&5
30784
30785 ac_cv_lib_posix4_nanosleep=no
30786 fi
30787 rm -f conftest.err conftest.$ac_objext \
30788 conftest$ac_exeext conftest.$ac_ext
30789 LIBS=$ac_check_lib_save_LIBS
30790 fi
30791 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30792 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30793 if test $ac_cv_lib_posix4_nanosleep = yes; then
30794
30795 cat >>confdefs.h <<\_ACEOF
30796 #define HAVE_NANOSLEEP 1
30797 _ACEOF
30798
30799 POSIX4_LINK=" -lposix4"
30800
30801 else
30802
30803
30804 for ac_func in usleep
30805 do
30806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30807 echo "$as_me:$LINENO: checking for $ac_func" >&5
30808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30809 if eval "test \"\${$as_ac_var+set}\" = set"; then
30810 echo $ECHO_N "(cached) $ECHO_C" >&6
30811 else
30812 cat >conftest.$ac_ext <<_ACEOF
30813 /* confdefs.h. */
30814 _ACEOF
30815 cat confdefs.h >>conftest.$ac_ext
30816 cat >>conftest.$ac_ext <<_ACEOF
30817 /* end confdefs.h. */
30818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30820 #define $ac_func innocuous_$ac_func
30821
30822 /* System header to define __stub macros and hopefully few prototypes,
30823 which can conflict with char $ac_func (); below.
30824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30825 <limits.h> exists even on freestanding compilers. */
30826
30827 #ifdef __STDC__
30828 # include <limits.h>
30829 #else
30830 # include <assert.h>
30831 #endif
30832
30833 #undef $ac_func
30834
30835 /* Override any gcc2 internal prototype to avoid an error. */
30836 #ifdef __cplusplus
30837 extern "C"
30838 {
30839 #endif
30840 /* We use char because int might match the return type of a gcc2
30841 builtin and then its argument prototype would still apply. */
30842 char $ac_func ();
30843 /* The GNU C library defines this for functions which it implements
30844 to always fail with ENOSYS. Some functions are actually named
30845 something starting with __ and the normal name is an alias. */
30846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30847 choke me
30848 #else
30849 char (*f) () = $ac_func;
30850 #endif
30851 #ifdef __cplusplus
30852 }
30853 #endif
30854
30855 int
30856 main ()
30857 {
30858 return f != $ac_func;
30859 ;
30860 return 0;
30861 }
30862 _ACEOF
30863 rm -f conftest.$ac_objext conftest$ac_exeext
30864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30865 (eval $ac_link) 2>conftest.er1
30866 ac_status=$?
30867 grep -v '^ *+' conftest.er1 >conftest.err
30868 rm -f conftest.er1
30869 cat conftest.err >&5
30870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30871 (exit $ac_status); } &&
30872 { ac_try='test -z "$ac_c_werror_flag"
30873 || test ! -s conftest.err'
30874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30875 (eval $ac_try) 2>&5
30876 ac_status=$?
30877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30878 (exit $ac_status); }; } &&
30879 { ac_try='test -s conftest$ac_exeext'
30880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30881 (eval $ac_try) 2>&5
30882 ac_status=$?
30883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30884 (exit $ac_status); }; }; then
30885 eval "$as_ac_var=yes"
30886 else
30887 echo "$as_me: failed program was:" >&5
30888 sed 's/^/| /' conftest.$ac_ext >&5
30889
30890 eval "$as_ac_var=no"
30891 fi
30892 rm -f conftest.err conftest.$ac_objext \
30893 conftest$ac_exeext conftest.$ac_ext
30894 fi
30895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30897 if test `eval echo '${'$as_ac_var'}'` = yes; then
30898 cat >>confdefs.h <<_ACEOF
30899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30900 _ACEOF
30901 cat >>confdefs.h <<\_ACEOF
30902 #define HAVE_USLEEP 1
30903 _ACEOF
30904
30905 else
30906 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30907 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30908
30909 fi
30910 done
30911
30912
30913
30914 fi
30915
30916
30917
30918 fi
30919 done
30920
30921 fi
30922
30923
30924
30925 for ac_func in uname gethostname
30926 do
30927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30928 echo "$as_me:$LINENO: checking for $ac_func" >&5
30929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30930 if eval "test \"\${$as_ac_var+set}\" = set"; then
30931 echo $ECHO_N "(cached) $ECHO_C" >&6
30932 else
30933 cat >conftest.$ac_ext <<_ACEOF
30934 /* confdefs.h. */
30935 _ACEOF
30936 cat confdefs.h >>conftest.$ac_ext
30937 cat >>conftest.$ac_ext <<_ACEOF
30938 /* end confdefs.h. */
30939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30941 #define $ac_func innocuous_$ac_func
30942
30943 /* System header to define __stub macros and hopefully few prototypes,
30944 which can conflict with char $ac_func (); below.
30945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30946 <limits.h> exists even on freestanding compilers. */
30947
30948 #ifdef __STDC__
30949 # include <limits.h>
30950 #else
30951 # include <assert.h>
30952 #endif
30953
30954 #undef $ac_func
30955
30956 /* Override any gcc2 internal prototype to avoid an error. */
30957 #ifdef __cplusplus
30958 extern "C"
30959 {
30960 #endif
30961 /* We use char because int might match the return type of a gcc2
30962 builtin and then its argument prototype would still apply. */
30963 char $ac_func ();
30964 /* The GNU C library defines this for functions which it implements
30965 to always fail with ENOSYS. Some functions are actually named
30966 something starting with __ and the normal name is an alias. */
30967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30968 choke me
30969 #else
30970 char (*f) () = $ac_func;
30971 #endif
30972 #ifdef __cplusplus
30973 }
30974 #endif
30975
30976 int
30977 main ()
30978 {
30979 return f != $ac_func;
30980 ;
30981 return 0;
30982 }
30983 _ACEOF
30984 rm -f conftest.$ac_objext conftest$ac_exeext
30985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30986 (eval $ac_link) 2>conftest.er1
30987 ac_status=$?
30988 grep -v '^ *+' conftest.er1 >conftest.err
30989 rm -f conftest.er1
30990 cat conftest.err >&5
30991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30992 (exit $ac_status); } &&
30993 { ac_try='test -z "$ac_c_werror_flag"
30994 || test ! -s conftest.err'
30995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30996 (eval $ac_try) 2>&5
30997 ac_status=$?
30998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30999 (exit $ac_status); }; } &&
31000 { ac_try='test -s conftest$ac_exeext'
31001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31002 (eval $ac_try) 2>&5
31003 ac_status=$?
31004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31005 (exit $ac_status); }; }; then
31006 eval "$as_ac_var=yes"
31007 else
31008 echo "$as_me: failed program was:" >&5
31009 sed 's/^/| /' conftest.$ac_ext >&5
31010
31011 eval "$as_ac_var=no"
31012 fi
31013 rm -f conftest.err conftest.$ac_objext \
31014 conftest$ac_exeext conftest.$ac_ext
31015 fi
31016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31018 if test `eval echo '${'$as_ac_var'}'` = yes; then
31019 cat >>confdefs.h <<_ACEOF
31020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31021 _ACEOF
31022 break
31023 fi
31024 done
31025
31026
31027
31028
31029 ac_ext=cc
31030 ac_cpp='$CXXCPP $CPPFLAGS'
31031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31034
31035
31036
31037 for ac_func in strtok_r
31038 do
31039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31040 echo "$as_me:$LINENO: checking for $ac_func" >&5
31041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31042 if eval "test \"\${$as_ac_var+set}\" = set"; then
31043 echo $ECHO_N "(cached) $ECHO_C" >&6
31044 else
31045 cat >conftest.$ac_ext <<_ACEOF
31046 /* confdefs.h. */
31047 _ACEOF
31048 cat confdefs.h >>conftest.$ac_ext
31049 cat >>conftest.$ac_ext <<_ACEOF
31050 /* end confdefs.h. */
31051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31053 #define $ac_func innocuous_$ac_func
31054
31055 /* System header to define __stub macros and hopefully few prototypes,
31056 which can conflict with char $ac_func (); below.
31057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31058 <limits.h> exists even on freestanding compilers. */
31059
31060 #ifdef __STDC__
31061 # include <limits.h>
31062 #else
31063 # include <assert.h>
31064 #endif
31065
31066 #undef $ac_func
31067
31068 /* Override any gcc2 internal prototype to avoid an error. */
31069 #ifdef __cplusplus
31070 extern "C"
31071 {
31072 #endif
31073 /* We use char because int might match the return type of a gcc2
31074 builtin and then its argument prototype would still apply. */
31075 char $ac_func ();
31076 /* The GNU C library defines this for functions which it implements
31077 to always fail with ENOSYS. Some functions are actually named
31078 something starting with __ and the normal name is an alias. */
31079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31080 choke me
31081 #else
31082 char (*f) () = $ac_func;
31083 #endif
31084 #ifdef __cplusplus
31085 }
31086 #endif
31087
31088 int
31089 main ()
31090 {
31091 return f != $ac_func;
31092 ;
31093 return 0;
31094 }
31095 _ACEOF
31096 rm -f conftest.$ac_objext conftest$ac_exeext
31097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31098 (eval $ac_link) 2>conftest.er1
31099 ac_status=$?
31100 grep -v '^ *+' conftest.er1 >conftest.err
31101 rm -f conftest.er1
31102 cat conftest.err >&5
31103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31104 (exit $ac_status); } &&
31105 { ac_try='test -z "$ac_cxx_werror_flag"
31106 || test ! -s conftest.err'
31107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31108 (eval $ac_try) 2>&5
31109 ac_status=$?
31110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31111 (exit $ac_status); }; } &&
31112 { ac_try='test -s conftest$ac_exeext'
31113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31114 (eval $ac_try) 2>&5
31115 ac_status=$?
31116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31117 (exit $ac_status); }; }; then
31118 eval "$as_ac_var=yes"
31119 else
31120 echo "$as_me: failed program was:" >&5
31121 sed 's/^/| /' conftest.$ac_ext >&5
31122
31123 eval "$as_ac_var=no"
31124 fi
31125 rm -f conftest.err conftest.$ac_objext \
31126 conftest$ac_exeext conftest.$ac_ext
31127 fi
31128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31130 if test `eval echo '${'$as_ac_var'}'` = yes; then
31131 cat >>confdefs.h <<_ACEOF
31132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31133 _ACEOF
31134
31135 fi
31136 done
31137
31138
31139 ac_ext=c
31140 ac_cpp='$CPP $CPPFLAGS'
31141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31144
31145
31146 INET_LINK=
31147
31148 for ac_func in inet_addr
31149 do
31150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31151 echo "$as_me:$LINENO: checking for $ac_func" >&5
31152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31153 if eval "test \"\${$as_ac_var+set}\" = set"; then
31154 echo $ECHO_N "(cached) $ECHO_C" >&6
31155 else
31156 cat >conftest.$ac_ext <<_ACEOF
31157 /* confdefs.h. */
31158 _ACEOF
31159 cat confdefs.h >>conftest.$ac_ext
31160 cat >>conftest.$ac_ext <<_ACEOF
31161 /* end confdefs.h. */
31162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31164 #define $ac_func innocuous_$ac_func
31165
31166 /* System header to define __stub macros and hopefully few prototypes,
31167 which can conflict with char $ac_func (); below.
31168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31169 <limits.h> exists even on freestanding compilers. */
31170
31171 #ifdef __STDC__
31172 # include <limits.h>
31173 #else
31174 # include <assert.h>
31175 #endif
31176
31177 #undef $ac_func
31178
31179 /* Override any gcc2 internal prototype to avoid an error. */
31180 #ifdef __cplusplus
31181 extern "C"
31182 {
31183 #endif
31184 /* We use char because int might match the return type of a gcc2
31185 builtin and then its argument prototype would still apply. */
31186 char $ac_func ();
31187 /* The GNU C library defines this for functions which it implements
31188 to always fail with ENOSYS. Some functions are actually named
31189 something starting with __ and the normal name is an alias. */
31190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31191 choke me
31192 #else
31193 char (*f) () = $ac_func;
31194 #endif
31195 #ifdef __cplusplus
31196 }
31197 #endif
31198
31199 int
31200 main ()
31201 {
31202 return f != $ac_func;
31203 ;
31204 return 0;
31205 }
31206 _ACEOF
31207 rm -f conftest.$ac_objext conftest$ac_exeext
31208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31209 (eval $ac_link) 2>conftest.er1
31210 ac_status=$?
31211 grep -v '^ *+' conftest.er1 >conftest.err
31212 rm -f conftest.er1
31213 cat conftest.err >&5
31214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31215 (exit $ac_status); } &&
31216 { ac_try='test -z "$ac_c_werror_flag"
31217 || test ! -s conftest.err'
31218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31219 (eval $ac_try) 2>&5
31220 ac_status=$?
31221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31222 (exit $ac_status); }; } &&
31223 { ac_try='test -s conftest$ac_exeext'
31224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31225 (eval $ac_try) 2>&5
31226 ac_status=$?
31227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31228 (exit $ac_status); }; }; then
31229 eval "$as_ac_var=yes"
31230 else
31231 echo "$as_me: failed program was:" >&5
31232 sed 's/^/| /' conftest.$ac_ext >&5
31233
31234 eval "$as_ac_var=no"
31235 fi
31236 rm -f conftest.err conftest.$ac_objext \
31237 conftest$ac_exeext conftest.$ac_ext
31238 fi
31239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31241 if test `eval echo '${'$as_ac_var'}'` = yes; then
31242 cat >>confdefs.h <<_ACEOF
31243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31244 _ACEOF
31245 cat >>confdefs.h <<\_ACEOF
31246 #define HAVE_INET_ADDR 1
31247 _ACEOF
31248
31249 else
31250
31251 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31252 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31253 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31254 echo $ECHO_N "(cached) $ECHO_C" >&6
31255 else
31256 ac_check_lib_save_LIBS=$LIBS
31257 LIBS="-lnsl $LIBS"
31258 cat >conftest.$ac_ext <<_ACEOF
31259 /* confdefs.h. */
31260 _ACEOF
31261 cat confdefs.h >>conftest.$ac_ext
31262 cat >>conftest.$ac_ext <<_ACEOF
31263 /* end confdefs.h. */
31264
31265 /* Override any gcc2 internal prototype to avoid an error. */
31266 #ifdef __cplusplus
31267 extern "C"
31268 #endif
31269 /* We use char because int might match the return type of a gcc2
31270 builtin and then its argument prototype would still apply. */
31271 char inet_addr ();
31272 int
31273 main ()
31274 {
31275 inet_addr ();
31276 ;
31277 return 0;
31278 }
31279 _ACEOF
31280 rm -f conftest.$ac_objext conftest$ac_exeext
31281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31282 (eval $ac_link) 2>conftest.er1
31283 ac_status=$?
31284 grep -v '^ *+' conftest.er1 >conftest.err
31285 rm -f conftest.er1
31286 cat conftest.err >&5
31287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31288 (exit $ac_status); } &&
31289 { ac_try='test -z "$ac_c_werror_flag"
31290 || test ! -s conftest.err'
31291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31292 (eval $ac_try) 2>&5
31293 ac_status=$?
31294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31295 (exit $ac_status); }; } &&
31296 { ac_try='test -s conftest$ac_exeext'
31297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31298 (eval $ac_try) 2>&5
31299 ac_status=$?
31300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31301 (exit $ac_status); }; }; then
31302 ac_cv_lib_nsl_inet_addr=yes
31303 else
31304 echo "$as_me: failed program was:" >&5
31305 sed 's/^/| /' conftest.$ac_ext >&5
31306
31307 ac_cv_lib_nsl_inet_addr=no
31308 fi
31309 rm -f conftest.err conftest.$ac_objext \
31310 conftest$ac_exeext conftest.$ac_ext
31311 LIBS=$ac_check_lib_save_LIBS
31312 fi
31313 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31314 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31315 if test $ac_cv_lib_nsl_inet_addr = yes; then
31316 INET_LINK="nsl"
31317 else
31318
31319 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31320 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31321 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31322 echo $ECHO_N "(cached) $ECHO_C" >&6
31323 else
31324 ac_check_lib_save_LIBS=$LIBS
31325 LIBS="-lresolv $LIBS"
31326 cat >conftest.$ac_ext <<_ACEOF
31327 /* confdefs.h. */
31328 _ACEOF
31329 cat confdefs.h >>conftest.$ac_ext
31330 cat >>conftest.$ac_ext <<_ACEOF
31331 /* end confdefs.h. */
31332
31333 /* Override any gcc2 internal prototype to avoid an error. */
31334 #ifdef __cplusplus
31335 extern "C"
31336 #endif
31337 /* We use char because int might match the return type of a gcc2
31338 builtin and then its argument prototype would still apply. */
31339 char inet_addr ();
31340 int
31341 main ()
31342 {
31343 inet_addr ();
31344 ;
31345 return 0;
31346 }
31347 _ACEOF
31348 rm -f conftest.$ac_objext conftest$ac_exeext
31349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31350 (eval $ac_link) 2>conftest.er1
31351 ac_status=$?
31352 grep -v '^ *+' conftest.er1 >conftest.err
31353 rm -f conftest.er1
31354 cat conftest.err >&5
31355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31356 (exit $ac_status); } &&
31357 { ac_try='test -z "$ac_c_werror_flag"
31358 || test ! -s conftest.err'
31359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31360 (eval $ac_try) 2>&5
31361 ac_status=$?
31362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31363 (exit $ac_status); }; } &&
31364 { ac_try='test -s conftest$ac_exeext'
31365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31366 (eval $ac_try) 2>&5
31367 ac_status=$?
31368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31369 (exit $ac_status); }; }; then
31370 ac_cv_lib_resolv_inet_addr=yes
31371 else
31372 echo "$as_me: failed program was:" >&5
31373 sed 's/^/| /' conftest.$ac_ext >&5
31374
31375 ac_cv_lib_resolv_inet_addr=no
31376 fi
31377 rm -f conftest.err conftest.$ac_objext \
31378 conftest$ac_exeext conftest.$ac_ext
31379 LIBS=$ac_check_lib_save_LIBS
31380 fi
31381 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31382 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31383 if test $ac_cv_lib_resolv_inet_addr = yes; then
31384 INET_LINK="resolv"
31385 else
31386
31387 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31388 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31389 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31390 echo $ECHO_N "(cached) $ECHO_C" >&6
31391 else
31392 ac_check_lib_save_LIBS=$LIBS
31393 LIBS="-lsocket $LIBS"
31394 cat >conftest.$ac_ext <<_ACEOF
31395 /* confdefs.h. */
31396 _ACEOF
31397 cat confdefs.h >>conftest.$ac_ext
31398 cat >>conftest.$ac_ext <<_ACEOF
31399 /* end confdefs.h. */
31400
31401 /* Override any gcc2 internal prototype to avoid an error. */
31402 #ifdef __cplusplus
31403 extern "C"
31404 #endif
31405 /* We use char because int might match the return type of a gcc2
31406 builtin and then its argument prototype would still apply. */
31407 char inet_addr ();
31408 int
31409 main ()
31410 {
31411 inet_addr ();
31412 ;
31413 return 0;
31414 }
31415 _ACEOF
31416 rm -f conftest.$ac_objext conftest$ac_exeext
31417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31418 (eval $ac_link) 2>conftest.er1
31419 ac_status=$?
31420 grep -v '^ *+' conftest.er1 >conftest.err
31421 rm -f conftest.er1
31422 cat conftest.err >&5
31423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31424 (exit $ac_status); } &&
31425 { ac_try='test -z "$ac_c_werror_flag"
31426 || test ! -s conftest.err'
31427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31428 (eval $ac_try) 2>&5
31429 ac_status=$?
31430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31431 (exit $ac_status); }; } &&
31432 { ac_try='test -s conftest$ac_exeext'
31433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31434 (eval $ac_try) 2>&5
31435 ac_status=$?
31436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31437 (exit $ac_status); }; }; then
31438 ac_cv_lib_socket_inet_addr=yes
31439 else
31440 echo "$as_me: failed program was:" >&5
31441 sed 's/^/| /' conftest.$ac_ext >&5
31442
31443 ac_cv_lib_socket_inet_addr=no
31444 fi
31445 rm -f conftest.err conftest.$ac_objext \
31446 conftest$ac_exeext conftest.$ac_ext
31447 LIBS=$ac_check_lib_save_LIBS
31448 fi
31449 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31450 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31451 if test $ac_cv_lib_socket_inet_addr = yes; then
31452 INET_LINK="socket"
31453
31454 fi
31455
31456
31457
31458 fi
31459
31460
31461
31462 fi
31463
31464
31465
31466 fi
31467 done
31468
31469
31470
31471 for ac_func in inet_aton
31472 do
31473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31474 echo "$as_me:$LINENO: checking for $ac_func" >&5
31475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31476 if eval "test \"\${$as_ac_var+set}\" = set"; then
31477 echo $ECHO_N "(cached) $ECHO_C" >&6
31478 else
31479 cat >conftest.$ac_ext <<_ACEOF
31480 /* confdefs.h. */
31481 _ACEOF
31482 cat confdefs.h >>conftest.$ac_ext
31483 cat >>conftest.$ac_ext <<_ACEOF
31484 /* end confdefs.h. */
31485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31487 #define $ac_func innocuous_$ac_func
31488
31489 /* System header to define __stub macros and hopefully few prototypes,
31490 which can conflict with char $ac_func (); below.
31491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31492 <limits.h> exists even on freestanding compilers. */
31493
31494 #ifdef __STDC__
31495 # include <limits.h>
31496 #else
31497 # include <assert.h>
31498 #endif
31499
31500 #undef $ac_func
31501
31502 /* Override any gcc2 internal prototype to avoid an error. */
31503 #ifdef __cplusplus
31504 extern "C"
31505 {
31506 #endif
31507 /* We use char because int might match the return type of a gcc2
31508 builtin and then its argument prototype would still apply. */
31509 char $ac_func ();
31510 /* The GNU C library defines this for functions which it implements
31511 to always fail with ENOSYS. Some functions are actually named
31512 something starting with __ and the normal name is an alias. */
31513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31514 choke me
31515 #else
31516 char (*f) () = $ac_func;
31517 #endif
31518 #ifdef __cplusplus
31519 }
31520 #endif
31521
31522 int
31523 main ()
31524 {
31525 return f != $ac_func;
31526 ;
31527 return 0;
31528 }
31529 _ACEOF
31530 rm -f conftest.$ac_objext conftest$ac_exeext
31531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31532 (eval $ac_link) 2>conftest.er1
31533 ac_status=$?
31534 grep -v '^ *+' conftest.er1 >conftest.err
31535 rm -f conftest.er1
31536 cat conftest.err >&5
31537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31538 (exit $ac_status); } &&
31539 { ac_try='test -z "$ac_c_werror_flag"
31540 || test ! -s conftest.err'
31541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31542 (eval $ac_try) 2>&5
31543 ac_status=$?
31544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31545 (exit $ac_status); }; } &&
31546 { ac_try='test -s conftest$ac_exeext'
31547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31548 (eval $ac_try) 2>&5
31549 ac_status=$?
31550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31551 (exit $ac_status); }; }; then
31552 eval "$as_ac_var=yes"
31553 else
31554 echo "$as_me: failed program was:" >&5
31555 sed 's/^/| /' conftest.$ac_ext >&5
31556
31557 eval "$as_ac_var=no"
31558 fi
31559 rm -f conftest.err conftest.$ac_objext \
31560 conftest$ac_exeext conftest.$ac_ext
31561 fi
31562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31564 if test `eval echo '${'$as_ac_var'}'` = yes; then
31565 cat >>confdefs.h <<_ACEOF
31566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31567 _ACEOF
31568 cat >>confdefs.h <<\_ACEOF
31569 #define HAVE_INET_ATON 1
31570 _ACEOF
31571
31572 else
31573
31574 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31575 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31576 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31577 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31578 echo $ECHO_N "(cached) $ECHO_C" >&6
31579 else
31580 ac_check_lib_save_LIBS=$LIBS
31581 LIBS="-l$INET_LINK $LIBS"
31582 cat >conftest.$ac_ext <<_ACEOF
31583 /* confdefs.h. */
31584 _ACEOF
31585 cat confdefs.h >>conftest.$ac_ext
31586 cat >>conftest.$ac_ext <<_ACEOF
31587 /* end confdefs.h. */
31588
31589 /* Override any gcc2 internal prototype to avoid an error. */
31590 #ifdef __cplusplus
31591 extern "C"
31592 #endif
31593 /* We use char because int might match the return type of a gcc2
31594 builtin and then its argument prototype would still apply. */
31595 char inet_aton ();
31596 int
31597 main ()
31598 {
31599 inet_aton ();
31600 ;
31601 return 0;
31602 }
31603 _ACEOF
31604 rm -f conftest.$ac_objext conftest$ac_exeext
31605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31606 (eval $ac_link) 2>conftest.er1
31607 ac_status=$?
31608 grep -v '^ *+' conftest.er1 >conftest.err
31609 rm -f conftest.er1
31610 cat conftest.err >&5
31611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31612 (exit $ac_status); } &&
31613 { ac_try='test -z "$ac_c_werror_flag"
31614 || test ! -s conftest.err'
31615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31616 (eval $ac_try) 2>&5
31617 ac_status=$?
31618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31619 (exit $ac_status); }; } &&
31620 { ac_try='test -s conftest$ac_exeext'
31621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31622 (eval $ac_try) 2>&5
31623 ac_status=$?
31624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31625 (exit $ac_status); }; }; then
31626 eval "$as_ac_Lib=yes"
31627 else
31628 echo "$as_me: failed program was:" >&5
31629 sed 's/^/| /' conftest.$ac_ext >&5
31630
31631 eval "$as_ac_Lib=no"
31632 fi
31633 rm -f conftest.err conftest.$ac_objext \
31634 conftest$ac_exeext conftest.$ac_ext
31635 LIBS=$ac_check_lib_save_LIBS
31636 fi
31637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31638 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31639 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31640 cat >>confdefs.h <<\_ACEOF
31641 #define HAVE_INET_ATON 1
31642 _ACEOF
31643
31644 fi
31645
31646
31647 fi
31648 done
31649
31650
31651 if test "x$INET_LINK" != "x"; then
31652 cat >>confdefs.h <<\_ACEOF
31653 #define HAVE_INET_ADDR 1
31654 _ACEOF
31655
31656 INET_LINK=" -l$INET_LINK"
31657 fi
31658
31659 fi
31660
31661
31662
31663 EXTRALIBS_ESD=
31664 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31665 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31666 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31667 echo $ECHO_N "(cached) $ECHO_C" >&6
31668 else
31669 ac_check_lib_save_LIBS=$LIBS
31670 LIBS="-lesd $LIBS"
31671 cat >conftest.$ac_ext <<_ACEOF
31672 /* confdefs.h. */
31673 _ACEOF
31674 cat confdefs.h >>conftest.$ac_ext
31675 cat >>conftest.$ac_ext <<_ACEOF
31676 /* end confdefs.h. */
31677
31678 /* Override any gcc2 internal prototype to avoid an error. */
31679 #ifdef __cplusplus
31680 extern "C"
31681 #endif
31682 /* We use char because int might match the return type of a gcc2
31683 builtin and then its argument prototype would still apply. */
31684 char esd_close ();
31685 int
31686 main ()
31687 {
31688 esd_close ();
31689 ;
31690 return 0;
31691 }
31692 _ACEOF
31693 rm -f conftest.$ac_objext conftest$ac_exeext
31694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31695 (eval $ac_link) 2>conftest.er1
31696 ac_status=$?
31697 grep -v '^ *+' conftest.er1 >conftest.err
31698 rm -f conftest.er1
31699 cat conftest.err >&5
31700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31701 (exit $ac_status); } &&
31702 { ac_try='test -z "$ac_c_werror_flag"
31703 || test ! -s conftest.err'
31704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31705 (eval $ac_try) 2>&5
31706 ac_status=$?
31707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31708 (exit $ac_status); }; } &&
31709 { ac_try='test -s conftest$ac_exeext'
31710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31711 (eval $ac_try) 2>&5
31712 ac_status=$?
31713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31714 (exit $ac_status); }; }; then
31715 ac_cv_lib_esd_esd_close=yes
31716 else
31717 echo "$as_me: failed program was:" >&5
31718 sed 's/^/| /' conftest.$ac_ext >&5
31719
31720 ac_cv_lib_esd_esd_close=no
31721 fi
31722 rm -f conftest.err conftest.$ac_objext \
31723 conftest$ac_exeext conftest.$ac_ext
31724 LIBS=$ac_check_lib_save_LIBS
31725 fi
31726 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31727 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31728 if test $ac_cv_lib_esd_esd_close = yes; then
31729
31730
31731 for ac_header in esd.h
31732 do
31733 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31734 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31735 echo "$as_me:$LINENO: checking for $ac_header" >&5
31736 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31737 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31738 echo $ECHO_N "(cached) $ECHO_C" >&6
31739 fi
31740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31741 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31742 else
31743 # Is the header compilable?
31744 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31745 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31746 cat >conftest.$ac_ext <<_ACEOF
31747 /* confdefs.h. */
31748 _ACEOF
31749 cat confdefs.h >>conftest.$ac_ext
31750 cat >>conftest.$ac_ext <<_ACEOF
31751 /* end confdefs.h. */
31752 $ac_includes_default
31753 #include <$ac_header>
31754 _ACEOF
31755 rm -f conftest.$ac_objext
31756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31757 (eval $ac_compile) 2>conftest.er1
31758 ac_status=$?
31759 grep -v '^ *+' conftest.er1 >conftest.err
31760 rm -f conftest.er1
31761 cat conftest.err >&5
31762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31763 (exit $ac_status); } &&
31764 { ac_try='test -z "$ac_c_werror_flag"
31765 || test ! -s conftest.err'
31766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31767 (eval $ac_try) 2>&5
31768 ac_status=$?
31769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31770 (exit $ac_status); }; } &&
31771 { ac_try='test -s conftest.$ac_objext'
31772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31773 (eval $ac_try) 2>&5
31774 ac_status=$?
31775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31776 (exit $ac_status); }; }; then
31777 ac_header_compiler=yes
31778 else
31779 echo "$as_me: failed program was:" >&5
31780 sed 's/^/| /' conftest.$ac_ext >&5
31781
31782 ac_header_compiler=no
31783 fi
31784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31785 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31786 echo "${ECHO_T}$ac_header_compiler" >&6
31787
31788 # Is the header present?
31789 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31790 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31791 cat >conftest.$ac_ext <<_ACEOF
31792 /* confdefs.h. */
31793 _ACEOF
31794 cat confdefs.h >>conftest.$ac_ext
31795 cat >>conftest.$ac_ext <<_ACEOF
31796 /* end confdefs.h. */
31797 #include <$ac_header>
31798 _ACEOF
31799 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31800 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31801 ac_status=$?
31802 grep -v '^ *+' conftest.er1 >conftest.err
31803 rm -f conftest.er1
31804 cat conftest.err >&5
31805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31806 (exit $ac_status); } >/dev/null; then
31807 if test -s conftest.err; then
31808 ac_cpp_err=$ac_c_preproc_warn_flag
31809 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31810 else
31811 ac_cpp_err=
31812 fi
31813 else
31814 ac_cpp_err=yes
31815 fi
31816 if test -z "$ac_cpp_err"; then
31817 ac_header_preproc=yes
31818 else
31819 echo "$as_me: failed program was:" >&5
31820 sed 's/^/| /' conftest.$ac_ext >&5
31821
31822 ac_header_preproc=no
31823 fi
31824 rm -f conftest.err conftest.$ac_ext
31825 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31826 echo "${ECHO_T}$ac_header_preproc" >&6
31827
31828 # So? What about this header?
31829 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31830 yes:no: )
31831 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31832 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31833 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31834 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31835 ac_header_preproc=yes
31836 ;;
31837 no:yes:* )
31838 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31839 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31840 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31841 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31842 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31843 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31844 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31845 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31846 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31847 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31848 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31849 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31850 (
31851 cat <<\_ASBOX
31852 ## ----------------------------------------- ##
31853 ## Report this to wx-dev@lists.wxwindows.org ##
31854 ## ----------------------------------------- ##
31855 _ASBOX
31856 ) |
31857 sed "s/^/$as_me: WARNING: /" >&2
31858 ;;
31859 esac
31860 echo "$as_me:$LINENO: checking for $ac_header" >&5
31861 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31862 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31863 echo $ECHO_N "(cached) $ECHO_C" >&6
31864 else
31865 eval "$as_ac_Header=\$ac_header_preproc"
31866 fi
31867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31868 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31869
31870 fi
31871 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31872 cat >>confdefs.h <<_ACEOF
31873 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31874 _ACEOF
31875
31876 EXTRALIBS_ESD="-lesd"
31877
31878 fi
31879
31880 done
31881
31882
31883 fi
31884
31885
31886
31887 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31888 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31889 cat >conftest.$ac_ext <<_ACEOF
31890 /* confdefs.h. */
31891 _ACEOF
31892 cat confdefs.h >>conftest.$ac_ext
31893 cat >>conftest.$ac_ext <<_ACEOF
31894 /* end confdefs.h. */
31895 #ifdef __linux__
31896 #include <linux/cdrom.h>
31897 #else
31898 /* For Solaris */
31899 #include <sys/cdio.h>
31900 #endif
31901
31902 int
31903 main ()
31904 {
31905 struct cdrom_tocentry entry, old_entry;
31906 ;
31907 return 0;
31908 }
31909 _ACEOF
31910 rm -f conftest.$ac_objext
31911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31912 (eval $ac_compile) 2>conftest.er1
31913 ac_status=$?
31914 grep -v '^ *+' conftest.er1 >conftest.err
31915 rm -f conftest.er1
31916 cat conftest.err >&5
31917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31918 (exit $ac_status); } &&
31919 { ac_try='test -z "$ac_c_werror_flag"
31920 || test ! -s conftest.err'
31921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31922 (eval $ac_try) 2>&5
31923 ac_status=$?
31924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31925 (exit $ac_status); }; } &&
31926 { ac_try='test -s conftest.$ac_objext'
31927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31928 (eval $ac_try) 2>&5
31929 ac_status=$?
31930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31931 (exit $ac_status); }; }; then
31932 echo "$as_me:$LINENO: result: yes" >&5
31933 echo "${ECHO_T}yes" >&6
31934 cat >>confdefs.h <<\_ACEOF
31935 #define HAVE_KNOWN_CDROM_INTERFACE 1
31936 _ACEOF
31937
31938 else
31939 echo "$as_me: failed program was:" >&5
31940 sed 's/^/| /' conftest.$ac_ext >&5
31941
31942 echo "$as_me:$LINENO: result: no" >&5
31943 echo "${ECHO_T}no" >&6
31944 fi
31945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31946
31947
31948 cat >confcache <<\_ACEOF
31949 # This file is a shell script that caches the results of configure
31950 # tests run on this system so they can be shared between configure
31951 # scripts and configure runs, see configure's option --config-cache.
31952 # It is not useful on other systems. If it contains results you don't
31953 # want to keep, you may remove or edit it.
31954 #
31955 # config.status only pays attention to the cache file if you give it
31956 # the --recheck option to rerun configure.
31957 #
31958 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31959 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31960 # following values.
31961
31962 _ACEOF
31963
31964 # The following way of writing the cache mishandles newlines in values,
31965 # but we know of no workaround that is simple, portable, and efficient.
31966 # So, don't put newlines in cache variables' values.
31967 # Ultrix sh set writes to stderr and can't be redirected directly,
31968 # and sets the high bit in the cache file unless we assign to the vars.
31969 {
31970 (set) 2>&1 |
31971 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31972 *ac_space=\ *)
31973 # `set' does not quote correctly, so add quotes (double-quote
31974 # substitution turns \\\\ into \\, and sed turns \\ into \).
31975 sed -n \
31976 "s/'/'\\\\''/g;
31977 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31978 ;;
31979 *)
31980 # `set' quotes correctly as required by POSIX, so do not add quotes.
31981 sed -n \
31982 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
31983 ;;
31984 esac;
31985 } |
31986 sed '
31987 t clear
31988 : clear
31989 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31990 t end
31991 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31992 : end' >>confcache
31993 if diff $cache_file confcache >/dev/null 2>&1; then :; else
31994 if test -w $cache_file; then
31995 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
31996 cat confcache >$cache_file
31997 else
31998 echo "not updating unwritable cache $cache_file"
31999 fi
32000 fi
32001 rm -f confcache
32002
32003
32004 CPP_MT_FLAG=
32005 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32006
32007
32008 THREADS_LINK=
32009 THREADS_CFLAGS=
32010
32011 if test "$wxUSE_THREADS" = "yes" ; then
32012 if test "$USE_BEOS" = 1; then
32013 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
32014 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
32015 wxUSE_THREADS="no"
32016 fi
32017 fi
32018
32019 if test "$wxUSE_THREADS" = "yes" ; then
32020
32021
32022 THREAD_OPTS="-pthread"
32023 case "${host}" in
32024 *-*-solaris2* | *-*-sunos4* )
32025 if test "x$GCC" = "xyes"; then
32026 THREAD_OPTS="-pthreads $THREAD_OPTS"
32027 else
32028 THREAD_OPTS="-mt $THREAD_OPTS"
32029 fi
32030 ;;
32031 *-*-freebsd*)
32032 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
32033 ;;
32034 *-*-darwin* | *-*-cygwin* )
32035 THREAD_OPTS=""
32036 ;;
32037 *-*-aix*)
32038 THREAD_OPTS="pthreads"
32039 ;;
32040 *-hp-hpux* )
32041 if test "x$GCC" != "xyes"; then
32042 THREAD_OPTS=""
32043 fi
32044 ;;
32045
32046 *-*-irix* )
32047 if test "x$GCC" = "xyes"; then
32048 THREAD_OPTS=""
32049 fi
32050 ;;
32051
32052 *-*-*UnixWare*)
32053 if test "x$GCC" != "xyes"; then
32054 THREAD_OPTS="-Ethread"
32055 fi
32056 ;;
32057 esac
32058
32059 THREAD_OPTS="$THREAD_OPTS pthread none"
32060
32061 THREADS_OK=no
32062 for flag in $THREAD_OPTS; do
32063 case $flag in
32064 none)
32065 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
32066 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
32067 ;;
32068
32069 -*)
32070 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
32071 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
32072 THREADS_CFLAGS="$flag"
32073 ;;
32074
32075 *)
32076 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
32077 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
32078 THREADS_LINK="-l$flag"
32079 ;;
32080 esac
32081
32082 save_LIBS="$LIBS"
32083 save_CFLAGS="$CFLAGS"
32084 LIBS="$THREADS_LINK $LIBS"
32085 CFLAGS="$THREADS_CFLAGS $CFLAGS"
32086
32087 cat >conftest.$ac_ext <<_ACEOF
32088 /* confdefs.h. */
32089 _ACEOF
32090 cat confdefs.h >>conftest.$ac_ext
32091 cat >>conftest.$ac_ext <<_ACEOF
32092 /* end confdefs.h. */
32093 #include <pthread.h>
32094 int
32095 main ()
32096 {
32097 pthread_create(0,0,0,0);
32098 ;
32099 return 0;
32100 }
32101 _ACEOF
32102 rm -f conftest.$ac_objext conftest$ac_exeext
32103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32104 (eval $ac_link) 2>conftest.er1
32105 ac_status=$?
32106 grep -v '^ *+' conftest.er1 >conftest.err
32107 rm -f conftest.er1
32108 cat conftest.err >&5
32109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32110 (exit $ac_status); } &&
32111 { ac_try='test -z "$ac_c_werror_flag"
32112 || test ! -s conftest.err'
32113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32114 (eval $ac_try) 2>&5
32115 ac_status=$?
32116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32117 (exit $ac_status); }; } &&
32118 { ac_try='test -s conftest$ac_exeext'
32119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32120 (eval $ac_try) 2>&5
32121 ac_status=$?
32122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32123 (exit $ac_status); }; }; then
32124 THREADS_OK=yes
32125 else
32126 echo "$as_me: failed program was:" >&5
32127 sed 's/^/| /' conftest.$ac_ext >&5
32128
32129 fi
32130 rm -f conftest.err conftest.$ac_objext \
32131 conftest$ac_exeext conftest.$ac_ext
32132
32133 LIBS="$save_LIBS"
32134 CFLAGS="$save_CFLAGS"
32135
32136 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
32137 echo "${ECHO_T}$THREADS_OK" >&6
32138 if test "x$THREADS_OK" = "xyes"; then
32139 break;
32140 fi
32141
32142 THREADS_LINK=""
32143 THREADS_CFLAGS=""
32144 done
32145
32146 if test "x$THREADS_OK" != "xyes"; then
32147 wxUSE_THREADS=no
32148 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
32149 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32150 else
32151 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
32152 LIBS="$THREADS_LINK $LIBS"
32153
32154 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
32155 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
32156 flag=no
32157 case "${host}" in
32158 *-aix*)
32159 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
32160 flag="-D_THREAD_SAFE"
32161 ;;
32162 *-freebsd*)
32163 flag="-D_THREAD_SAFE"
32164 ;;
32165 *-hp-hpux* )
32166 flag="-D_REENTRANT"
32167 if test "x$GCC" != "xyes"; then
32168 flag="$flag -D_RWSTD_MULTI_THREAD"
32169 fi
32170 ;;
32171 *solaris* | alpha*-osf*)
32172 flag="-D_REENTRANT"
32173 ;;
32174 esac
32175 echo "$as_me:$LINENO: result: ${flag}" >&5
32176 echo "${ECHO_T}${flag}" >&6
32177 if test "x$flag" != xno; then
32178 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
32179 fi
32180
32181 if test "x$THREADS_CFLAGS" != "x"; then
32182 CFLAGS="$CFLAGS $THREADS_CFLAGS"
32183 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
32184 fi
32185 fi
32186 fi
32187
32188 if test "$wxUSE_THREADS" = "yes" ; then
32189
32190 for ac_func in thr_setconcurrency
32191 do
32192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32193 echo "$as_me:$LINENO: checking for $ac_func" >&5
32194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32195 if eval "test \"\${$as_ac_var+set}\" = set"; then
32196 echo $ECHO_N "(cached) $ECHO_C" >&6
32197 else
32198 cat >conftest.$ac_ext <<_ACEOF
32199 /* confdefs.h. */
32200 _ACEOF
32201 cat confdefs.h >>conftest.$ac_ext
32202 cat >>conftest.$ac_ext <<_ACEOF
32203 /* end confdefs.h. */
32204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32206 #define $ac_func innocuous_$ac_func
32207
32208 /* System header to define __stub macros and hopefully few prototypes,
32209 which can conflict with char $ac_func (); below.
32210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32211 <limits.h> exists even on freestanding compilers. */
32212
32213 #ifdef __STDC__
32214 # include <limits.h>
32215 #else
32216 # include <assert.h>
32217 #endif
32218
32219 #undef $ac_func
32220
32221 /* Override any gcc2 internal prototype to avoid an error. */
32222 #ifdef __cplusplus
32223 extern "C"
32224 {
32225 #endif
32226 /* We use char because int might match the return type of a gcc2
32227 builtin and then its argument prototype would still apply. */
32228 char $ac_func ();
32229 /* The GNU C library defines this for functions which it implements
32230 to always fail with ENOSYS. Some functions are actually named
32231 something starting with __ and the normal name is an alias. */
32232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32233 choke me
32234 #else
32235 char (*f) () = $ac_func;
32236 #endif
32237 #ifdef __cplusplus
32238 }
32239 #endif
32240
32241 int
32242 main ()
32243 {
32244 return f != $ac_func;
32245 ;
32246 return 0;
32247 }
32248 _ACEOF
32249 rm -f conftest.$ac_objext conftest$ac_exeext
32250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32251 (eval $ac_link) 2>conftest.er1
32252 ac_status=$?
32253 grep -v '^ *+' conftest.er1 >conftest.err
32254 rm -f conftest.er1
32255 cat conftest.err >&5
32256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32257 (exit $ac_status); } &&
32258 { ac_try='test -z "$ac_c_werror_flag"
32259 || test ! -s conftest.err'
32260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32261 (eval $ac_try) 2>&5
32262 ac_status=$?
32263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32264 (exit $ac_status); }; } &&
32265 { ac_try='test -s conftest$ac_exeext'
32266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32267 (eval $ac_try) 2>&5
32268 ac_status=$?
32269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32270 (exit $ac_status); }; }; then
32271 eval "$as_ac_var=yes"
32272 else
32273 echo "$as_me: failed program was:" >&5
32274 sed 's/^/| /' conftest.$ac_ext >&5
32275
32276 eval "$as_ac_var=no"
32277 fi
32278 rm -f conftest.err conftest.$ac_objext \
32279 conftest$ac_exeext conftest.$ac_ext
32280 fi
32281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32283 if test `eval echo '${'$as_ac_var'}'` = yes; then
32284 cat >>confdefs.h <<_ACEOF
32285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32286 _ACEOF
32287
32288 fi
32289 done
32290
32291
32292
32293 for ac_header in sched.h
32294 do
32295 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32297 echo "$as_me:$LINENO: checking for $ac_header" >&5
32298 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32299 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32300 echo $ECHO_N "(cached) $ECHO_C" >&6
32301 fi
32302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32303 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32304 else
32305 # Is the header compilable?
32306 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32307 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32308 cat >conftest.$ac_ext <<_ACEOF
32309 /* confdefs.h. */
32310 _ACEOF
32311 cat confdefs.h >>conftest.$ac_ext
32312 cat >>conftest.$ac_ext <<_ACEOF
32313 /* end confdefs.h. */
32314 $ac_includes_default
32315 #include <$ac_header>
32316 _ACEOF
32317 rm -f conftest.$ac_objext
32318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32319 (eval $ac_compile) 2>conftest.er1
32320 ac_status=$?
32321 grep -v '^ *+' conftest.er1 >conftest.err
32322 rm -f conftest.er1
32323 cat conftest.err >&5
32324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32325 (exit $ac_status); } &&
32326 { ac_try='test -z "$ac_c_werror_flag"
32327 || test ! -s conftest.err'
32328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32329 (eval $ac_try) 2>&5
32330 ac_status=$?
32331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32332 (exit $ac_status); }; } &&
32333 { ac_try='test -s conftest.$ac_objext'
32334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32335 (eval $ac_try) 2>&5
32336 ac_status=$?
32337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32338 (exit $ac_status); }; }; then
32339 ac_header_compiler=yes
32340 else
32341 echo "$as_me: failed program was:" >&5
32342 sed 's/^/| /' conftest.$ac_ext >&5
32343
32344 ac_header_compiler=no
32345 fi
32346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32347 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32348 echo "${ECHO_T}$ac_header_compiler" >&6
32349
32350 # Is the header present?
32351 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32352 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
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 #include <$ac_header>
32360 _ACEOF
32361 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32362 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32363 ac_status=$?
32364 grep -v '^ *+' conftest.er1 >conftest.err
32365 rm -f conftest.er1
32366 cat conftest.err >&5
32367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32368 (exit $ac_status); } >/dev/null; then
32369 if test -s conftest.err; then
32370 ac_cpp_err=$ac_c_preproc_warn_flag
32371 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32372 else
32373 ac_cpp_err=
32374 fi
32375 else
32376 ac_cpp_err=yes
32377 fi
32378 if test -z "$ac_cpp_err"; then
32379 ac_header_preproc=yes
32380 else
32381 echo "$as_me: failed program was:" >&5
32382 sed 's/^/| /' conftest.$ac_ext >&5
32383
32384 ac_header_preproc=no
32385 fi
32386 rm -f conftest.err conftest.$ac_ext
32387 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32388 echo "${ECHO_T}$ac_header_preproc" >&6
32389
32390 # So? What about this header?
32391 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32392 yes:no: )
32393 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32394 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32395 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32396 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32397 ac_header_preproc=yes
32398 ;;
32399 no:yes:* )
32400 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32401 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32402 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32403 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32404 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32405 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32406 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32407 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32408 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32409 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32410 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32411 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32412 (
32413 cat <<\_ASBOX
32414 ## ----------------------------------------- ##
32415 ## Report this to wx-dev@lists.wxwindows.org ##
32416 ## ----------------------------------------- ##
32417 _ASBOX
32418 ) |
32419 sed "s/^/$as_me: WARNING: /" >&2
32420 ;;
32421 esac
32422 echo "$as_me:$LINENO: checking for $ac_header" >&5
32423 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32424 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32425 echo $ECHO_N "(cached) $ECHO_C" >&6
32426 else
32427 eval "$as_ac_Header=\$ac_header_preproc"
32428 fi
32429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32430 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32431
32432 fi
32433 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32434 cat >>confdefs.h <<_ACEOF
32435 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32436 _ACEOF
32437
32438 fi
32439
32440 done
32441
32442 if test "$ac_cv_header_sched_h" = "yes"; then
32443 echo "$as_me:$LINENO: checking for sched_yield" >&5
32444 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32445 if test "${ac_cv_func_sched_yield+set}" = set; then
32446 echo $ECHO_N "(cached) $ECHO_C" >&6
32447 else
32448 cat >conftest.$ac_ext <<_ACEOF
32449 /* confdefs.h. */
32450 _ACEOF
32451 cat confdefs.h >>conftest.$ac_ext
32452 cat >>conftest.$ac_ext <<_ACEOF
32453 /* end confdefs.h. */
32454 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32456 #define sched_yield innocuous_sched_yield
32457
32458 /* System header to define __stub macros and hopefully few prototypes,
32459 which can conflict with char sched_yield (); below.
32460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32461 <limits.h> exists even on freestanding compilers. */
32462
32463 #ifdef __STDC__
32464 # include <limits.h>
32465 #else
32466 # include <assert.h>
32467 #endif
32468
32469 #undef sched_yield
32470
32471 /* Override any gcc2 internal prototype to avoid an error. */
32472 #ifdef __cplusplus
32473 extern "C"
32474 {
32475 #endif
32476 /* We use char because int might match the return type of a gcc2
32477 builtin and then its argument prototype would still apply. */
32478 char sched_yield ();
32479 /* The GNU C library defines this for functions which it implements
32480 to always fail with ENOSYS. Some functions are actually named
32481 something starting with __ and the normal name is an alias. */
32482 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32483 choke me
32484 #else
32485 char (*f) () = sched_yield;
32486 #endif
32487 #ifdef __cplusplus
32488 }
32489 #endif
32490
32491 int
32492 main ()
32493 {
32494 return f != sched_yield;
32495 ;
32496 return 0;
32497 }
32498 _ACEOF
32499 rm -f conftest.$ac_objext conftest$ac_exeext
32500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32501 (eval $ac_link) 2>conftest.er1
32502 ac_status=$?
32503 grep -v '^ *+' conftest.er1 >conftest.err
32504 rm -f conftest.er1
32505 cat conftest.err >&5
32506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32507 (exit $ac_status); } &&
32508 { ac_try='test -z "$ac_c_werror_flag"
32509 || test ! -s conftest.err'
32510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32511 (eval $ac_try) 2>&5
32512 ac_status=$?
32513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32514 (exit $ac_status); }; } &&
32515 { ac_try='test -s conftest$ac_exeext'
32516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32517 (eval $ac_try) 2>&5
32518 ac_status=$?
32519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32520 (exit $ac_status); }; }; then
32521 ac_cv_func_sched_yield=yes
32522 else
32523 echo "$as_me: failed program was:" >&5
32524 sed 's/^/| /' conftest.$ac_ext >&5
32525
32526 ac_cv_func_sched_yield=no
32527 fi
32528 rm -f conftest.err conftest.$ac_objext \
32529 conftest$ac_exeext conftest.$ac_ext
32530 fi
32531 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32532 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32533 if test $ac_cv_func_sched_yield = yes; then
32534 cat >>confdefs.h <<\_ACEOF
32535 #define HAVE_SCHED_YIELD 1
32536 _ACEOF
32537
32538 else
32539
32540 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32541 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32542 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32543 echo $ECHO_N "(cached) $ECHO_C" >&6
32544 else
32545 ac_check_lib_save_LIBS=$LIBS
32546 LIBS="-lposix4 $LIBS"
32547 cat >conftest.$ac_ext <<_ACEOF
32548 /* confdefs.h. */
32549 _ACEOF
32550 cat confdefs.h >>conftest.$ac_ext
32551 cat >>conftest.$ac_ext <<_ACEOF
32552 /* end confdefs.h. */
32553
32554 /* Override any gcc2 internal prototype to avoid an error. */
32555 #ifdef __cplusplus
32556 extern "C"
32557 #endif
32558 /* We use char because int might match the return type of a gcc2
32559 builtin and then its argument prototype would still apply. */
32560 char sched_yield ();
32561 int
32562 main ()
32563 {
32564 sched_yield ();
32565 ;
32566 return 0;
32567 }
32568 _ACEOF
32569 rm -f conftest.$ac_objext conftest$ac_exeext
32570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32571 (eval $ac_link) 2>conftest.er1
32572 ac_status=$?
32573 grep -v '^ *+' conftest.er1 >conftest.err
32574 rm -f conftest.er1
32575 cat conftest.err >&5
32576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32577 (exit $ac_status); } &&
32578 { ac_try='test -z "$ac_c_werror_flag"
32579 || test ! -s conftest.err'
32580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32581 (eval $ac_try) 2>&5
32582 ac_status=$?
32583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32584 (exit $ac_status); }; } &&
32585 { ac_try='test -s conftest$ac_exeext'
32586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32587 (eval $ac_try) 2>&5
32588 ac_status=$?
32589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32590 (exit $ac_status); }; }; then
32591 ac_cv_lib_posix4_sched_yield=yes
32592 else
32593 echo "$as_me: failed program was:" >&5
32594 sed 's/^/| /' conftest.$ac_ext >&5
32595
32596 ac_cv_lib_posix4_sched_yield=no
32597 fi
32598 rm -f conftest.err conftest.$ac_objext \
32599 conftest$ac_exeext conftest.$ac_ext
32600 LIBS=$ac_check_lib_save_LIBS
32601 fi
32602 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32603 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32604 if test $ac_cv_lib_posix4_sched_yield = yes; then
32605 cat >>confdefs.h <<\_ACEOF
32606 #define HAVE_SCHED_YIELD 1
32607 _ACEOF
32608 POSIX4_LINK=" -lposix4"
32609 else
32610 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32611 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32612
32613 fi
32614
32615
32616
32617 fi
32618
32619 fi
32620
32621 HAVE_PRIOR_FUNCS=0
32622 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32623 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32624 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32625 echo $ECHO_N "(cached) $ECHO_C" >&6
32626 else
32627 cat >conftest.$ac_ext <<_ACEOF
32628 /* confdefs.h. */
32629 _ACEOF
32630 cat confdefs.h >>conftest.$ac_ext
32631 cat >>conftest.$ac_ext <<_ACEOF
32632 /* end confdefs.h. */
32633 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32635 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32636
32637 /* System header to define __stub macros and hopefully few prototypes,
32638 which can conflict with char pthread_attr_getschedpolicy (); below.
32639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32640 <limits.h> exists even on freestanding compilers. */
32641
32642 #ifdef __STDC__
32643 # include <limits.h>
32644 #else
32645 # include <assert.h>
32646 #endif
32647
32648 #undef pthread_attr_getschedpolicy
32649
32650 /* Override any gcc2 internal prototype to avoid an error. */
32651 #ifdef __cplusplus
32652 extern "C"
32653 {
32654 #endif
32655 /* We use char because int might match the return type of a gcc2
32656 builtin and then its argument prototype would still apply. */
32657 char pthread_attr_getschedpolicy ();
32658 /* The GNU C library defines this for functions which it implements
32659 to always fail with ENOSYS. Some functions are actually named
32660 something starting with __ and the normal name is an alias. */
32661 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32662 choke me
32663 #else
32664 char (*f) () = pthread_attr_getschedpolicy;
32665 #endif
32666 #ifdef __cplusplus
32667 }
32668 #endif
32669
32670 int
32671 main ()
32672 {
32673 return f != pthread_attr_getschedpolicy;
32674 ;
32675 return 0;
32676 }
32677 _ACEOF
32678 rm -f conftest.$ac_objext conftest$ac_exeext
32679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32680 (eval $ac_link) 2>conftest.er1
32681 ac_status=$?
32682 grep -v '^ *+' conftest.er1 >conftest.err
32683 rm -f conftest.er1
32684 cat conftest.err >&5
32685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32686 (exit $ac_status); } &&
32687 { ac_try='test -z "$ac_c_werror_flag"
32688 || test ! -s conftest.err'
32689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32690 (eval $ac_try) 2>&5
32691 ac_status=$?
32692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32693 (exit $ac_status); }; } &&
32694 { ac_try='test -s conftest$ac_exeext'
32695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32696 (eval $ac_try) 2>&5
32697 ac_status=$?
32698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32699 (exit $ac_status); }; }; then
32700 ac_cv_func_pthread_attr_getschedpolicy=yes
32701 else
32702 echo "$as_me: failed program was:" >&5
32703 sed 's/^/| /' conftest.$ac_ext >&5
32704
32705 ac_cv_func_pthread_attr_getschedpolicy=no
32706 fi
32707 rm -f conftest.err conftest.$ac_objext \
32708 conftest$ac_exeext conftest.$ac_ext
32709 fi
32710 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32711 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32712 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32713 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32714 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32715 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32716 echo $ECHO_N "(cached) $ECHO_C" >&6
32717 else
32718 cat >conftest.$ac_ext <<_ACEOF
32719 /* confdefs.h. */
32720 _ACEOF
32721 cat confdefs.h >>conftest.$ac_ext
32722 cat >>conftest.$ac_ext <<_ACEOF
32723 /* end confdefs.h. */
32724 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32726 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32727
32728 /* System header to define __stub macros and hopefully few prototypes,
32729 which can conflict with char pthread_attr_setschedparam (); below.
32730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32731 <limits.h> exists even on freestanding compilers. */
32732
32733 #ifdef __STDC__
32734 # include <limits.h>
32735 #else
32736 # include <assert.h>
32737 #endif
32738
32739 #undef pthread_attr_setschedparam
32740
32741 /* Override any gcc2 internal prototype to avoid an error. */
32742 #ifdef __cplusplus
32743 extern "C"
32744 {
32745 #endif
32746 /* We use char because int might match the return type of a gcc2
32747 builtin and then its argument prototype would still apply. */
32748 char pthread_attr_setschedparam ();
32749 /* The GNU C library defines this for functions which it implements
32750 to always fail with ENOSYS. Some functions are actually named
32751 something starting with __ and the normal name is an alias. */
32752 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32753 choke me
32754 #else
32755 char (*f) () = pthread_attr_setschedparam;
32756 #endif
32757 #ifdef __cplusplus
32758 }
32759 #endif
32760
32761 int
32762 main ()
32763 {
32764 return f != pthread_attr_setschedparam;
32765 ;
32766 return 0;
32767 }
32768 _ACEOF
32769 rm -f conftest.$ac_objext conftest$ac_exeext
32770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32771 (eval $ac_link) 2>conftest.er1
32772 ac_status=$?
32773 grep -v '^ *+' conftest.er1 >conftest.err
32774 rm -f conftest.er1
32775 cat conftest.err >&5
32776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32777 (exit $ac_status); } &&
32778 { ac_try='test -z "$ac_c_werror_flag"
32779 || test ! -s conftest.err'
32780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32781 (eval $ac_try) 2>&5
32782 ac_status=$?
32783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32784 (exit $ac_status); }; } &&
32785 { ac_try='test -s conftest$ac_exeext'
32786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32787 (eval $ac_try) 2>&5
32788 ac_status=$?
32789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32790 (exit $ac_status); }; }; then
32791 ac_cv_func_pthread_attr_setschedparam=yes
32792 else
32793 echo "$as_me: failed program was:" >&5
32794 sed 's/^/| /' conftest.$ac_ext >&5
32795
32796 ac_cv_func_pthread_attr_setschedparam=no
32797 fi
32798 rm -f conftest.err conftest.$ac_objext \
32799 conftest$ac_exeext conftest.$ac_ext
32800 fi
32801 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32802 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32803 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32804 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32805 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32806 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32807 echo $ECHO_N "(cached) $ECHO_C" >&6
32808 else
32809 cat >conftest.$ac_ext <<_ACEOF
32810 /* confdefs.h. */
32811 _ACEOF
32812 cat confdefs.h >>conftest.$ac_ext
32813 cat >>conftest.$ac_ext <<_ACEOF
32814 /* end confdefs.h. */
32815 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32817 #define sched_get_priority_max innocuous_sched_get_priority_max
32818
32819 /* System header to define __stub macros and hopefully few prototypes,
32820 which can conflict with char sched_get_priority_max (); below.
32821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32822 <limits.h> exists even on freestanding compilers. */
32823
32824 #ifdef __STDC__
32825 # include <limits.h>
32826 #else
32827 # include <assert.h>
32828 #endif
32829
32830 #undef sched_get_priority_max
32831
32832 /* Override any gcc2 internal prototype to avoid an error. */
32833 #ifdef __cplusplus
32834 extern "C"
32835 {
32836 #endif
32837 /* We use char because int might match the return type of a gcc2
32838 builtin and then its argument prototype would still apply. */
32839 char sched_get_priority_max ();
32840 /* The GNU C library defines this for functions which it implements
32841 to always fail with ENOSYS. Some functions are actually named
32842 something starting with __ and the normal name is an alias. */
32843 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32844 choke me
32845 #else
32846 char (*f) () = sched_get_priority_max;
32847 #endif
32848 #ifdef __cplusplus
32849 }
32850 #endif
32851
32852 int
32853 main ()
32854 {
32855 return f != sched_get_priority_max;
32856 ;
32857 return 0;
32858 }
32859 _ACEOF
32860 rm -f conftest.$ac_objext conftest$ac_exeext
32861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32862 (eval $ac_link) 2>conftest.er1
32863 ac_status=$?
32864 grep -v '^ *+' conftest.er1 >conftest.err
32865 rm -f conftest.er1
32866 cat conftest.err >&5
32867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32868 (exit $ac_status); } &&
32869 { ac_try='test -z "$ac_c_werror_flag"
32870 || test ! -s conftest.err'
32871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32872 (eval $ac_try) 2>&5
32873 ac_status=$?
32874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32875 (exit $ac_status); }; } &&
32876 { ac_try='test -s conftest$ac_exeext'
32877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32878 (eval $ac_try) 2>&5
32879 ac_status=$?
32880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32881 (exit $ac_status); }; }; then
32882 ac_cv_func_sched_get_priority_max=yes
32883 else
32884 echo "$as_me: failed program was:" >&5
32885 sed 's/^/| /' conftest.$ac_ext >&5
32886
32887 ac_cv_func_sched_get_priority_max=no
32888 fi
32889 rm -f conftest.err conftest.$ac_objext \
32890 conftest$ac_exeext conftest.$ac_ext
32891 fi
32892 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32893 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32894 if test $ac_cv_func_sched_get_priority_max = yes; then
32895 HAVE_PRIOR_FUNCS=1
32896 else
32897 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32898 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32899 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32900 echo $ECHO_N "(cached) $ECHO_C" >&6
32901 else
32902 ac_check_lib_save_LIBS=$LIBS
32903 LIBS="-lposix4 $LIBS"
32904 cat >conftest.$ac_ext <<_ACEOF
32905 /* confdefs.h. */
32906 _ACEOF
32907 cat confdefs.h >>conftest.$ac_ext
32908 cat >>conftest.$ac_ext <<_ACEOF
32909 /* end confdefs.h. */
32910
32911 /* Override any gcc2 internal prototype to avoid an error. */
32912 #ifdef __cplusplus
32913 extern "C"
32914 #endif
32915 /* We use char because int might match the return type of a gcc2
32916 builtin and then its argument prototype would still apply. */
32917 char sched_get_priority_max ();
32918 int
32919 main ()
32920 {
32921 sched_get_priority_max ();
32922 ;
32923 return 0;
32924 }
32925 _ACEOF
32926 rm -f conftest.$ac_objext conftest$ac_exeext
32927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32928 (eval $ac_link) 2>conftest.er1
32929 ac_status=$?
32930 grep -v '^ *+' conftest.er1 >conftest.err
32931 rm -f conftest.er1
32932 cat conftest.err >&5
32933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32934 (exit $ac_status); } &&
32935 { ac_try='test -z "$ac_c_werror_flag"
32936 || test ! -s conftest.err'
32937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32938 (eval $ac_try) 2>&5
32939 ac_status=$?
32940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32941 (exit $ac_status); }; } &&
32942 { ac_try='test -s conftest$ac_exeext'
32943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32944 (eval $ac_try) 2>&5
32945 ac_status=$?
32946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32947 (exit $ac_status); }; }; then
32948 ac_cv_lib_posix4_sched_get_priority_max=yes
32949 else
32950 echo "$as_me: failed program was:" >&5
32951 sed 's/^/| /' conftest.$ac_ext >&5
32952
32953 ac_cv_lib_posix4_sched_get_priority_max=no
32954 fi
32955 rm -f conftest.err conftest.$ac_objext \
32956 conftest$ac_exeext conftest.$ac_ext
32957 LIBS=$ac_check_lib_save_LIBS
32958 fi
32959 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32960 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32961 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32962
32963 HAVE_PRIOR_FUNCS=1
32964 POSIX4_LINK=" -lposix4"
32965
32966 fi
32967
32968
32969 fi
32970
32971
32972 fi
32973
32974
32975 fi
32976
32977
32978 if test "$HAVE_PRIOR_FUNCS" = 1; then
32979 cat >>confdefs.h <<\_ACEOF
32980 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32981 _ACEOF
32982
32983 else
32984 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32985 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32986 fi
32987
32988 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32989 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32990 if test "${ac_cv_func_pthread_cancel+set}" = set; then
32991 echo $ECHO_N "(cached) $ECHO_C" >&6
32992 else
32993 cat >conftest.$ac_ext <<_ACEOF
32994 /* confdefs.h. */
32995 _ACEOF
32996 cat confdefs.h >>conftest.$ac_ext
32997 cat >>conftest.$ac_ext <<_ACEOF
32998 /* end confdefs.h. */
32999 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
33000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33001 #define pthread_cancel innocuous_pthread_cancel
33002
33003 /* System header to define __stub macros and hopefully few prototypes,
33004 which can conflict with char pthread_cancel (); below.
33005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33006 <limits.h> exists even on freestanding compilers. */
33007
33008 #ifdef __STDC__
33009 # include <limits.h>
33010 #else
33011 # include <assert.h>
33012 #endif
33013
33014 #undef pthread_cancel
33015
33016 /* Override any gcc2 internal prototype to avoid an error. */
33017 #ifdef __cplusplus
33018 extern "C"
33019 {
33020 #endif
33021 /* We use char because int might match the return type of a gcc2
33022 builtin and then its argument prototype would still apply. */
33023 char pthread_cancel ();
33024 /* The GNU C library defines this for functions which it implements
33025 to always fail with ENOSYS. Some functions are actually named
33026 something starting with __ and the normal name is an alias. */
33027 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
33028 choke me
33029 #else
33030 char (*f) () = pthread_cancel;
33031 #endif
33032 #ifdef __cplusplus
33033 }
33034 #endif
33035
33036 int
33037 main ()
33038 {
33039 return f != pthread_cancel;
33040 ;
33041 return 0;
33042 }
33043 _ACEOF
33044 rm -f conftest.$ac_objext conftest$ac_exeext
33045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33046 (eval $ac_link) 2>conftest.er1
33047 ac_status=$?
33048 grep -v '^ *+' conftest.er1 >conftest.err
33049 rm -f conftest.er1
33050 cat conftest.err >&5
33051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33052 (exit $ac_status); } &&
33053 { ac_try='test -z "$ac_c_werror_flag"
33054 || test ! -s conftest.err'
33055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33056 (eval $ac_try) 2>&5
33057 ac_status=$?
33058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33059 (exit $ac_status); }; } &&
33060 { ac_try='test -s conftest$ac_exeext'
33061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33062 (eval $ac_try) 2>&5
33063 ac_status=$?
33064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33065 (exit $ac_status); }; }; then
33066 ac_cv_func_pthread_cancel=yes
33067 else
33068 echo "$as_me: failed program was:" >&5
33069 sed 's/^/| /' conftest.$ac_ext >&5
33070
33071 ac_cv_func_pthread_cancel=no
33072 fi
33073 rm -f conftest.err conftest.$ac_objext \
33074 conftest$ac_exeext conftest.$ac_ext
33075 fi
33076 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
33077 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
33078 if test $ac_cv_func_pthread_cancel = yes; then
33079 cat >>confdefs.h <<\_ACEOF
33080 #define HAVE_PTHREAD_CANCEL 1
33081 _ACEOF
33082
33083 else
33084 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
33085 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
33086 fi
33087
33088
33089
33090
33091 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
33092 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
33093 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
33094 echo $ECHO_N "(cached) $ECHO_C" >&6
33095 else
33096
33097 cat >conftest.$ac_ext <<_ACEOF
33098 /* confdefs.h. */
33099 _ACEOF
33100 cat confdefs.h >>conftest.$ac_ext
33101 cat >>conftest.$ac_ext <<_ACEOF
33102 /* end confdefs.h. */
33103 #include <pthread.h>
33104 int
33105 main ()
33106 {
33107
33108 pthread_mutexattr_t attr;
33109 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
33110
33111 ;
33112 return 0;
33113 }
33114 _ACEOF
33115 rm -f conftest.$ac_objext
33116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33117 (eval $ac_compile) 2>conftest.er1
33118 ac_status=$?
33119 grep -v '^ *+' conftest.er1 >conftest.err
33120 rm -f conftest.er1
33121 cat conftest.err >&5
33122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33123 (exit $ac_status); } &&
33124 { ac_try='test -z "$ac_c_werror_flag"
33125 || test ! -s conftest.err'
33126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33127 (eval $ac_try) 2>&5
33128 ac_status=$?
33129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33130 (exit $ac_status); }; } &&
33131 { ac_try='test -s conftest.$ac_objext'
33132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33133 (eval $ac_try) 2>&5
33134 ac_status=$?
33135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33136 (exit $ac_status); }; }; then
33137
33138 wx_cv_type_pthread_mutexattr_t=yes
33139
33140 else
33141 echo "$as_me: failed program was:" >&5
33142 sed 's/^/| /' conftest.$ac_ext >&5
33143
33144
33145 wx_cv_type_pthread_mutexattr_t=no
33146
33147
33148 fi
33149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33150
33151 fi
33152 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
33153 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
33154
33155 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
33156 cat >>confdefs.h <<\_ACEOF
33157 #define HAVE_PTHREAD_MUTEXATTR_T 1
33158 _ACEOF
33159
33160 else
33161 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
33162 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
33163 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
33164 echo $ECHO_N "(cached) $ECHO_C" >&6
33165 else
33166
33167 cat >conftest.$ac_ext <<_ACEOF
33168 /* confdefs.h. */
33169 _ACEOF
33170 cat confdefs.h >>conftest.$ac_ext
33171 cat >>conftest.$ac_ext <<_ACEOF
33172 /* end confdefs.h. */
33173 #include <pthread.h>
33174 int
33175 main ()
33176 {
33177
33178 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
33179
33180 ;
33181 return 0;
33182 }
33183 _ACEOF
33184 rm -f conftest.$ac_objext
33185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33186 (eval $ac_compile) 2>conftest.er1
33187 ac_status=$?
33188 grep -v '^ *+' conftest.er1 >conftest.err
33189 rm -f conftest.er1
33190 cat conftest.err >&5
33191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33192 (exit $ac_status); } &&
33193 { ac_try='test -z "$ac_c_werror_flag"
33194 || test ! -s conftest.err'
33195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33196 (eval $ac_try) 2>&5
33197 ac_status=$?
33198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33199 (exit $ac_status); }; } &&
33200 { ac_try='test -s conftest.$ac_objext'
33201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33202 (eval $ac_try) 2>&5
33203 ac_status=$?
33204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33205 (exit $ac_status); }; }; then
33206
33207 wx_cv_type_pthread_rec_mutex_init=yes
33208
33209 else
33210 echo "$as_me: failed program was:" >&5
33211 sed 's/^/| /' conftest.$ac_ext >&5
33212
33213
33214 wx_cv_type_pthread_rec_mutex_init=no
33215
33216
33217 fi
33218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33219
33220 fi
33221 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33222 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33223 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33224 cat >>confdefs.h <<\_ACEOF
33225 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33226 _ACEOF
33227
33228 else
33229 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33230 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33231 fi
33232 fi
33233 fi
33234
33235 else
33236 if test "$wxUSE_THREADS" = "yes" ; then
33237 case "${host}" in
33238 *-*-mingw32* )
33239 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33240 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33241 if test "${wx_cv_cflags_mthread+set}" = set; then
33242 echo $ECHO_N "(cached) $ECHO_C" >&6
33243 else
33244
33245 CFLAGS_OLD="$CFLAGS"
33246 CFLAGS="$CFLAGS -mthreads"
33247 cat >conftest.$ac_ext <<_ACEOF
33248 /* confdefs.h. */
33249 _ACEOF
33250 cat confdefs.h >>conftest.$ac_ext
33251 cat >>conftest.$ac_ext <<_ACEOF
33252 /* end confdefs.h. */
33253
33254 int
33255 main ()
33256 {
33257
33258 ;
33259 return 0;
33260 }
33261 _ACEOF
33262 rm -f conftest.$ac_objext
33263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33264 (eval $ac_compile) 2>conftest.er1
33265 ac_status=$?
33266 grep -v '^ *+' conftest.er1 >conftest.err
33267 rm -f conftest.er1
33268 cat conftest.err >&5
33269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33270 (exit $ac_status); } &&
33271 { ac_try='test -z "$ac_c_werror_flag"
33272 || test ! -s conftest.err'
33273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33274 (eval $ac_try) 2>&5
33275 ac_status=$?
33276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33277 (exit $ac_status); }; } &&
33278 { ac_try='test -s conftest.$ac_objext'
33279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33280 (eval $ac_try) 2>&5
33281 ac_status=$?
33282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33283 (exit $ac_status); }; }; then
33284 wx_cv_cflags_mthread=yes
33285 else
33286 echo "$as_me: failed program was:" >&5
33287 sed 's/^/| /' conftest.$ac_ext >&5
33288
33289 wx_cv_cflags_mthread=no
33290
33291 fi
33292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33293
33294
33295 fi
33296 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33297 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33298
33299 if test "$wx_cv_cflags_mthread" = "yes"; then
33300 CXXFLAGS="$CXXFLAGS -mthreads"
33301 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
33302 LDFLAGS="$LDFLAGS -mthreads"
33303 else
33304 CFLAGS="$CFLAGS_OLD"
33305 fi
33306 ;;
33307 *-pc-os2*emx )
33308 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33309 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33310 LDFLAGS="$LDFLAGS -Zmt"
33311 ;;
33312 esac
33313 fi
33314 fi
33315
33316 if test "$wxUSE_THREADS" = "yes"; then
33317 cat >>confdefs.h <<\_ACEOF
33318 #define wxUSE_THREADS 1
33319 _ACEOF
33320
33321
33322 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
33323 else
33324 if test "$ac_cv_func_strtok_r" = "yes"; then
33325 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33326 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33327 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33328 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
33329 echo "$as_me:$LINENO: result: yes" >&5
33330 echo "${ECHO_T}yes" >&6
33331 else
33332 echo "$as_me:$LINENO: result: no" >&5
33333 echo "${ECHO_T}no" >&6
33334 fi
33335 fi
33336 fi
33337
33338 if test "$WXGTK20" = 1 ; then
33339 cat >>confdefs.h <<_ACEOF
33340 #define __WXGTK20__ $WXGTK20
33341 _ACEOF
33342
33343 WXGTK12=1
33344 fi
33345
33346 if test "$WXGTK12" = 1 ; then
33347 cat >>confdefs.h <<_ACEOF
33348 #define __WXGTK12__ $WXGTK12
33349 _ACEOF
33350
33351 fi
33352
33353 if test "$WXGTK127" = 1 ; then
33354 cat >>confdefs.h <<_ACEOF
33355 #define __WXGTK127__ $WXGTK127
33356 _ACEOF
33357
33358 fi
33359
33360 if test "$WXGPE" = 1 ; then
33361 cat >>confdefs.h <<_ACEOF
33362 #define __WXGPE__ $WXGPE
33363 _ACEOF
33364
33365 fi
33366
33367 WXDEBUG=
33368
33369 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33370 WXDEBUG="-g"
33371 wxUSE_OPTIMISE=no
33372 fi
33373
33374 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33375 wxUSE_DEBUG_INFO=yes
33376 WXDEBUG="-ggdb"
33377 fi
33378
33379 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33380 cat >>confdefs.h <<\_ACEOF
33381 #define WXDEBUG 1
33382 _ACEOF
33383
33384 WXDEBUG_DEFINE="-D__WXDEBUG__"
33385 else
33386 if test "$wxUSE_GTK" = 1 ; then
33387 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
33388 fi
33389 fi
33390
33391 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33392 cat >>confdefs.h <<\_ACEOF
33393 #define wxUSE_MEMORY_TRACING 1
33394 _ACEOF
33395
33396 cat >>confdefs.h <<\_ACEOF
33397 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33398 _ACEOF
33399
33400 cat >>confdefs.h <<\_ACEOF
33401 #define wxUSE_DEBUG_NEW_ALWAYS 1
33402 _ACEOF
33403
33404 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
33405 fi
33406
33407 if test "$wxUSE_DMALLOC" = "yes" ; then
33408 DMALLOC_LIBS="-ldmalloc"
33409 fi
33410
33411 PROFILE=
33412 if test "$wxUSE_PROFILE" = "yes" ; then
33413 PROFILE=" -pg"
33414 fi
33415
33416 CODE_GEN_FLAGS=
33417 CODE_GEN_FLAGS_CXX=
33418 if test "$GCC" = "yes" ; then
33419 if test "$wxUSE_NO_RTTI" = "yes" ; then
33420 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
33421 fi
33422 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33423 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33424 fi
33425 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33426 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
33427 fi
33428
33429 case "${host}" in
33430 powerpc*-*-aix* )
33431 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
33432 ;;
33433 *-hppa* )
33434 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
33435 ;;
33436 esac
33437 fi
33438
33439 OPTIMISE=
33440 if test "$wxUSE_OPTIMISE" = "no" ; then
33441 if test "$GCC" = yes ; then
33442 OPTIMISE="-O0"
33443 fi
33444 else
33445 if test "$GCC" = yes ; then
33446 OPTIMISE="-O2"
33447
33448 case "${host}" in
33449 i586-*-*|i686-*-* )
33450 OPTIMISE="${OPTIMISE} "
33451 ;;
33452 esac
33453 else
33454 OPTIMISE="-O"
33455 fi
33456 fi
33457
33458
33459 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33460 cat >>confdefs.h <<\_ACEOF
33461 #define WXWIN_COMPATIBILITY_2_2 1
33462 _ACEOF
33463
33464
33465 WXWIN_COMPATIBILITY_2_4="yes"
33466 fi
33467
33468 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33469 cat >>confdefs.h <<\_ACEOF
33470 #define WXWIN_COMPATIBILITY_2_4 1
33471 _ACEOF
33472
33473 fi
33474
33475
33476 if test "$wxUSE_GUI" = "yes"; then
33477 cat >>confdefs.h <<\_ACEOF
33478 #define wxUSE_GUI 1
33479 _ACEOF
33480
33481
33482 else
33483 cat >>confdefs.h <<\_ACEOF
33484 #define wxUSE_NOGUI 1
33485 _ACEOF
33486
33487 fi
33488
33489
33490 if test "$wxUSE_UNIX" = "yes"; then
33491 cat >>confdefs.h <<\_ACEOF
33492 #define wxUSE_UNIX 1
33493 _ACEOF
33494
33495 fi
33496
33497
33498 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33499
33500 HAVE_DL_FUNCS=0
33501 HAVE_SHL_FUNCS=0
33502 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33503 if test "$USE_DARWIN" = 1; then
33504 HAVE_DL_FUNCS=1
33505 else
33506
33507 for ac_func in dlopen
33508 do
33509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33510 echo "$as_me:$LINENO: checking for $ac_func" >&5
33511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33512 if eval "test \"\${$as_ac_var+set}\" = set"; then
33513 echo $ECHO_N "(cached) $ECHO_C" >&6
33514 else
33515 cat >conftest.$ac_ext <<_ACEOF
33516 /* confdefs.h. */
33517 _ACEOF
33518 cat confdefs.h >>conftest.$ac_ext
33519 cat >>conftest.$ac_ext <<_ACEOF
33520 /* end confdefs.h. */
33521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33523 #define $ac_func innocuous_$ac_func
33524
33525 /* System header to define __stub macros and hopefully few prototypes,
33526 which can conflict with char $ac_func (); below.
33527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33528 <limits.h> exists even on freestanding compilers. */
33529
33530 #ifdef __STDC__
33531 # include <limits.h>
33532 #else
33533 # include <assert.h>
33534 #endif
33535
33536 #undef $ac_func
33537
33538 /* Override any gcc2 internal prototype to avoid an error. */
33539 #ifdef __cplusplus
33540 extern "C"
33541 {
33542 #endif
33543 /* We use char because int might match the return type of a gcc2
33544 builtin and then its argument prototype would still apply. */
33545 char $ac_func ();
33546 /* The GNU C library defines this for functions which it implements
33547 to always fail with ENOSYS. Some functions are actually named
33548 something starting with __ and the normal name is an alias. */
33549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33550 choke me
33551 #else
33552 char (*f) () = $ac_func;
33553 #endif
33554 #ifdef __cplusplus
33555 }
33556 #endif
33557
33558 int
33559 main ()
33560 {
33561 return f != $ac_func;
33562 ;
33563 return 0;
33564 }
33565 _ACEOF
33566 rm -f conftest.$ac_objext conftest$ac_exeext
33567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33568 (eval $ac_link) 2>conftest.er1
33569 ac_status=$?
33570 grep -v '^ *+' conftest.er1 >conftest.err
33571 rm -f conftest.er1
33572 cat conftest.err >&5
33573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33574 (exit $ac_status); } &&
33575 { ac_try='test -z "$ac_c_werror_flag"
33576 || test ! -s conftest.err'
33577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33578 (eval $ac_try) 2>&5
33579 ac_status=$?
33580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33581 (exit $ac_status); }; } &&
33582 { ac_try='test -s conftest$ac_exeext'
33583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33584 (eval $ac_try) 2>&5
33585 ac_status=$?
33586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33587 (exit $ac_status); }; }; then
33588 eval "$as_ac_var=yes"
33589 else
33590 echo "$as_me: failed program was:" >&5
33591 sed 's/^/| /' conftest.$ac_ext >&5
33592
33593 eval "$as_ac_var=no"
33594 fi
33595 rm -f conftest.err conftest.$ac_objext \
33596 conftest$ac_exeext conftest.$ac_ext
33597 fi
33598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33600 if test `eval echo '${'$as_ac_var'}'` = yes; then
33601 cat >>confdefs.h <<_ACEOF
33602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33603 _ACEOF
33604
33605 cat >>confdefs.h <<\_ACEOF
33606 #define HAVE_DLOPEN 1
33607 _ACEOF
33608
33609 HAVE_DL_FUNCS=1
33610
33611 else
33612
33613 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33614 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33615 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33616 echo $ECHO_N "(cached) $ECHO_C" >&6
33617 else
33618 ac_check_lib_save_LIBS=$LIBS
33619 LIBS="-ldl $LIBS"
33620 cat >conftest.$ac_ext <<_ACEOF
33621 /* confdefs.h. */
33622 _ACEOF
33623 cat confdefs.h >>conftest.$ac_ext
33624 cat >>conftest.$ac_ext <<_ACEOF
33625 /* end confdefs.h. */
33626
33627 /* Override any gcc2 internal prototype to avoid an error. */
33628 #ifdef __cplusplus
33629 extern "C"
33630 #endif
33631 /* We use char because int might match the return type of a gcc2
33632 builtin and then its argument prototype would still apply. */
33633 char dlopen ();
33634 int
33635 main ()
33636 {
33637 dlopen ();
33638 ;
33639 return 0;
33640 }
33641 _ACEOF
33642 rm -f conftest.$ac_objext conftest$ac_exeext
33643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33644 (eval $ac_link) 2>conftest.er1
33645 ac_status=$?
33646 grep -v '^ *+' conftest.er1 >conftest.err
33647 rm -f conftest.er1
33648 cat conftest.err >&5
33649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33650 (exit $ac_status); } &&
33651 { ac_try='test -z "$ac_c_werror_flag"
33652 || test ! -s conftest.err'
33653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33654 (eval $ac_try) 2>&5
33655 ac_status=$?
33656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33657 (exit $ac_status); }; } &&
33658 { ac_try='test -s conftest$ac_exeext'
33659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33660 (eval $ac_try) 2>&5
33661 ac_status=$?
33662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33663 (exit $ac_status); }; }; then
33664 ac_cv_lib_dl_dlopen=yes
33665 else
33666 echo "$as_me: failed program was:" >&5
33667 sed 's/^/| /' conftest.$ac_ext >&5
33668
33669 ac_cv_lib_dl_dlopen=no
33670 fi
33671 rm -f conftest.err conftest.$ac_objext \
33672 conftest$ac_exeext conftest.$ac_ext
33673 LIBS=$ac_check_lib_save_LIBS
33674 fi
33675 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33676 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33677 if test $ac_cv_lib_dl_dlopen = yes; then
33678
33679 cat >>confdefs.h <<\_ACEOF
33680 #define HAVE_DLOPEN 1
33681 _ACEOF
33682
33683 HAVE_DL_FUNCS=1
33684 DL_LINK=" -ldl$DL_LINK"
33685
33686 else
33687
33688
33689 for ac_func in shl_load
33690 do
33691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33692 echo "$as_me:$LINENO: checking for $ac_func" >&5
33693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33694 if eval "test \"\${$as_ac_var+set}\" = set"; then
33695 echo $ECHO_N "(cached) $ECHO_C" >&6
33696 else
33697 cat >conftest.$ac_ext <<_ACEOF
33698 /* confdefs.h. */
33699 _ACEOF
33700 cat confdefs.h >>conftest.$ac_ext
33701 cat >>conftest.$ac_ext <<_ACEOF
33702 /* end confdefs.h. */
33703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33705 #define $ac_func innocuous_$ac_func
33706
33707 /* System header to define __stub macros and hopefully few prototypes,
33708 which can conflict with char $ac_func (); below.
33709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33710 <limits.h> exists even on freestanding compilers. */
33711
33712 #ifdef __STDC__
33713 # include <limits.h>
33714 #else
33715 # include <assert.h>
33716 #endif
33717
33718 #undef $ac_func
33719
33720 /* Override any gcc2 internal prototype to avoid an error. */
33721 #ifdef __cplusplus
33722 extern "C"
33723 {
33724 #endif
33725 /* We use char because int might match the return type of a gcc2
33726 builtin and then its argument prototype would still apply. */
33727 char $ac_func ();
33728 /* The GNU C library defines this for functions which it implements
33729 to always fail with ENOSYS. Some functions are actually named
33730 something starting with __ and the normal name is an alias. */
33731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33732 choke me
33733 #else
33734 char (*f) () = $ac_func;
33735 #endif
33736 #ifdef __cplusplus
33737 }
33738 #endif
33739
33740 int
33741 main ()
33742 {
33743 return f != $ac_func;
33744 ;
33745 return 0;
33746 }
33747 _ACEOF
33748 rm -f conftest.$ac_objext conftest$ac_exeext
33749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33750 (eval $ac_link) 2>conftest.er1
33751 ac_status=$?
33752 grep -v '^ *+' conftest.er1 >conftest.err
33753 rm -f conftest.er1
33754 cat conftest.err >&5
33755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33756 (exit $ac_status); } &&
33757 { ac_try='test -z "$ac_c_werror_flag"
33758 || test ! -s conftest.err'
33759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33760 (eval $ac_try) 2>&5
33761 ac_status=$?
33762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33763 (exit $ac_status); }; } &&
33764 { ac_try='test -s conftest$ac_exeext'
33765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33766 (eval $ac_try) 2>&5
33767 ac_status=$?
33768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33769 (exit $ac_status); }; }; then
33770 eval "$as_ac_var=yes"
33771 else
33772 echo "$as_me: failed program was:" >&5
33773 sed 's/^/| /' conftest.$ac_ext >&5
33774
33775 eval "$as_ac_var=no"
33776 fi
33777 rm -f conftest.err conftest.$ac_objext \
33778 conftest$ac_exeext conftest.$ac_ext
33779 fi
33780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33782 if test `eval echo '${'$as_ac_var'}'` = yes; then
33783 cat >>confdefs.h <<_ACEOF
33784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33785 _ACEOF
33786
33787 cat >>confdefs.h <<\_ACEOF
33788 #define HAVE_SHL_LOAD 1
33789 _ACEOF
33790
33791 HAVE_SHL_FUNCS=1
33792
33793 else
33794
33795 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33796 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33797 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33798 echo $ECHO_N "(cached) $ECHO_C" >&6
33799 else
33800 ac_check_lib_save_LIBS=$LIBS
33801 LIBS="-lshl_load $LIBS"
33802 cat >conftest.$ac_ext <<_ACEOF
33803 /* confdefs.h. */
33804 _ACEOF
33805 cat confdefs.h >>conftest.$ac_ext
33806 cat >>conftest.$ac_ext <<_ACEOF
33807 /* end confdefs.h. */
33808
33809 /* Override any gcc2 internal prototype to avoid an error. */
33810 #ifdef __cplusplus
33811 extern "C"
33812 #endif
33813 /* We use char because int might match the return type of a gcc2
33814 builtin and then its argument prototype would still apply. */
33815 char dld ();
33816 int
33817 main ()
33818 {
33819 dld ();
33820 ;
33821 return 0;
33822 }
33823 _ACEOF
33824 rm -f conftest.$ac_objext conftest$ac_exeext
33825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33826 (eval $ac_link) 2>conftest.er1
33827 ac_status=$?
33828 grep -v '^ *+' conftest.er1 >conftest.err
33829 rm -f conftest.er1
33830 cat conftest.err >&5
33831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33832 (exit $ac_status); } &&
33833 { ac_try='test -z "$ac_c_werror_flag"
33834 || test ! -s conftest.err'
33835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33836 (eval $ac_try) 2>&5
33837 ac_status=$?
33838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33839 (exit $ac_status); }; } &&
33840 { ac_try='test -s conftest$ac_exeext'
33841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33842 (eval $ac_try) 2>&5
33843 ac_status=$?
33844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33845 (exit $ac_status); }; }; then
33846 ac_cv_lib_shl_load_dld=yes
33847 else
33848 echo "$as_me: failed program was:" >&5
33849 sed 's/^/| /' conftest.$ac_ext >&5
33850
33851 ac_cv_lib_shl_load_dld=no
33852 fi
33853 rm -f conftest.err conftest.$ac_objext \
33854 conftest$ac_exeext conftest.$ac_ext
33855 LIBS=$ac_check_lib_save_LIBS
33856 fi
33857 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33858 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33859 if test $ac_cv_lib_shl_load_dld = yes; then
33860
33861 HAVE_SHL_FUNCS=1
33862 DL_LINK=" -ldld$DL_LINK"
33863
33864 fi
33865
33866
33867 fi
33868 done
33869
33870
33871 fi
33872
33873
33874 fi
33875 done
33876
33877
33878 if test "$HAVE_DL_FUNCS" = 1; then
33879
33880 for ac_func in dlerror
33881 do
33882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33883 echo "$as_me:$LINENO: checking for $ac_func" >&5
33884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33885 if eval "test \"\${$as_ac_var+set}\" = set"; then
33886 echo $ECHO_N "(cached) $ECHO_C" >&6
33887 else
33888 cat >conftest.$ac_ext <<_ACEOF
33889 /* confdefs.h. */
33890 _ACEOF
33891 cat confdefs.h >>conftest.$ac_ext
33892 cat >>conftest.$ac_ext <<_ACEOF
33893 /* end confdefs.h. */
33894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33896 #define $ac_func innocuous_$ac_func
33897
33898 /* System header to define __stub macros and hopefully few prototypes,
33899 which can conflict with char $ac_func (); below.
33900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33901 <limits.h> exists even on freestanding compilers. */
33902
33903 #ifdef __STDC__
33904 # include <limits.h>
33905 #else
33906 # include <assert.h>
33907 #endif
33908
33909 #undef $ac_func
33910
33911 /* Override any gcc2 internal prototype to avoid an error. */
33912 #ifdef __cplusplus
33913 extern "C"
33914 {
33915 #endif
33916 /* We use char because int might match the return type of a gcc2
33917 builtin and then its argument prototype would still apply. */
33918 char $ac_func ();
33919 /* The GNU C library defines this for functions which it implements
33920 to always fail with ENOSYS. Some functions are actually named
33921 something starting with __ and the normal name is an alias. */
33922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33923 choke me
33924 #else
33925 char (*f) () = $ac_func;
33926 #endif
33927 #ifdef __cplusplus
33928 }
33929 #endif
33930
33931 int
33932 main ()
33933 {
33934 return f != $ac_func;
33935 ;
33936 return 0;
33937 }
33938 _ACEOF
33939 rm -f conftest.$ac_objext conftest$ac_exeext
33940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33941 (eval $ac_link) 2>conftest.er1
33942 ac_status=$?
33943 grep -v '^ *+' conftest.er1 >conftest.err
33944 rm -f conftest.er1
33945 cat conftest.err >&5
33946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33947 (exit $ac_status); } &&
33948 { ac_try='test -z "$ac_c_werror_flag"
33949 || test ! -s conftest.err'
33950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33951 (eval $ac_try) 2>&5
33952 ac_status=$?
33953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33954 (exit $ac_status); }; } &&
33955 { ac_try='test -s conftest$ac_exeext'
33956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33957 (eval $ac_try) 2>&5
33958 ac_status=$?
33959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33960 (exit $ac_status); }; }; then
33961 eval "$as_ac_var=yes"
33962 else
33963 echo "$as_me: failed program was:" >&5
33964 sed 's/^/| /' conftest.$ac_ext >&5
33965
33966 eval "$as_ac_var=no"
33967 fi
33968 rm -f conftest.err conftest.$ac_objext \
33969 conftest$ac_exeext conftest.$ac_ext
33970 fi
33971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33973 if test `eval echo '${'$as_ac_var'}'` = yes; then
33974 cat >>confdefs.h <<_ACEOF
33975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33976 _ACEOF
33977 cat >>confdefs.h <<\_ACEOF
33978 #define HAVE_DLERROR 1
33979 _ACEOF
33980
33981 else
33982
33983 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
33984 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
33985 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
33986 echo $ECHO_N "(cached) $ECHO_C" >&6
33987 else
33988 ac_check_lib_save_LIBS=$LIBS
33989 LIBS="-ldl $LIBS"
33990 cat >conftest.$ac_ext <<_ACEOF
33991 /* confdefs.h. */
33992 _ACEOF
33993 cat confdefs.h >>conftest.$ac_ext
33994 cat >>conftest.$ac_ext <<_ACEOF
33995 /* end confdefs.h. */
33996
33997 /* Override any gcc2 internal prototype to avoid an error. */
33998 #ifdef __cplusplus
33999 extern "C"
34000 #endif
34001 /* We use char because int might match the return type of a gcc2
34002 builtin and then its argument prototype would still apply. */
34003 char dlerror ();
34004 int
34005 main ()
34006 {
34007 dlerror ();
34008 ;
34009 return 0;
34010 }
34011 _ACEOF
34012 rm -f conftest.$ac_objext conftest$ac_exeext
34013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34014 (eval $ac_link) 2>conftest.er1
34015 ac_status=$?
34016 grep -v '^ *+' conftest.er1 >conftest.err
34017 rm -f conftest.er1
34018 cat conftest.err >&5
34019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34020 (exit $ac_status); } &&
34021 { ac_try='test -z "$ac_c_werror_flag"
34022 || test ! -s conftest.err'
34023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34024 (eval $ac_try) 2>&5
34025 ac_status=$?
34026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34027 (exit $ac_status); }; } &&
34028 { ac_try='test -s conftest$ac_exeext'
34029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34030 (eval $ac_try) 2>&5
34031 ac_status=$?
34032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34033 (exit $ac_status); }; }; then
34034 ac_cv_lib_dl_dlerror=yes
34035 else
34036 echo "$as_me: failed program was:" >&5
34037 sed 's/^/| /' conftest.$ac_ext >&5
34038
34039 ac_cv_lib_dl_dlerror=no
34040 fi
34041 rm -f conftest.err conftest.$ac_objext \
34042 conftest$ac_exeext conftest.$ac_ext
34043 LIBS=$ac_check_lib_save_LIBS
34044 fi
34045 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34046 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34047 if test $ac_cv_lib_dl_dlerror = yes; then
34048 cat >>confdefs.h <<\_ACEOF
34049 #define HAVE_DLERROR 1
34050 _ACEOF
34051
34052 fi
34053
34054
34055
34056 fi
34057 done
34058
34059 fi
34060 fi
34061
34062 if test "$HAVE_DL_FUNCS" = 0; then
34063 if test "$HAVE_SHL_FUNCS" = 0; then
34064 if test "$USE_UNIX" = 1; then
34065 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
34066 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
34067 wxUSE_DYNAMIC_LOADER=no
34068 wxUSE_DYNLIB_CLASS=no
34069 else
34070 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
34071 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34072 fi
34073 fi
34074 fi
34075 fi
34076 fi
34077
34078 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
34079 cat >>confdefs.h <<\_ACEOF
34080 #define wxUSE_DYNAMIC_LOADER 1
34081 _ACEOF
34082
34083 fi
34084 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34085 cat >>confdefs.h <<\_ACEOF
34086 #define wxUSE_DYNLIB_CLASS 1
34087 _ACEOF
34088
34089 fi
34090
34091
34092
34093 if test "$wxUSE_PLUGINS" = "yes" ; then
34094 if test "$wxUSE_SHARED" = "no" ; then
34095 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
34096 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
34097 wxUSE_PLUGINS=no
34098 fi
34099 if test "$wxUSE_MONOLITHIC" = "yes" ; then
34100 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
34101 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
34102 wxUSE_PLUGINS=no
34103 fi
34104 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
34105 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
34106 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
34107 wxUSE_PLUGINS=no
34108 fi
34109 if test "$wxUSE_PLUGINS" = "yes" ; then
34110 cat >>confdefs.h <<\_ACEOF
34111 #define wxUSE_PLUGINS 1
34112 _ACEOF
34113
34114 fi
34115 fi
34116
34117
34118 if test "$wxUSE_STL" = "yes"; then
34119 cat >>confdefs.h <<\_ACEOF
34120 #define wxUSE_STL 1
34121 _ACEOF
34122
34123 fi
34124
34125 if test "$wxUSE_APPLE_IEEE" = "yes"; then
34126 cat >>confdefs.h <<\_ACEOF
34127 #define wxUSE_APPLE_IEEE 1
34128 _ACEOF
34129
34130 fi
34131
34132 if test "$wxUSE_TIMER" = "yes"; then
34133 cat >>confdefs.h <<\_ACEOF
34134 #define wxUSE_TIMER 1
34135 _ACEOF
34136
34137 fi
34138
34139 WITH_PLUGIN_SDL=0
34140 if test "$wxUSE_SOUND" = "yes"; then
34141 if test "$USE_UNIX" = "1" ; then
34142
34143 for ac_header in sys/soundcard.h
34144 do
34145 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34147 echo "$as_me:$LINENO: checking for $ac_header" >&5
34148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34150 echo $ECHO_N "(cached) $ECHO_C" >&6
34151 fi
34152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34153 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34154 else
34155 # Is the header compilable?
34156 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34157 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34158 cat >conftest.$ac_ext <<_ACEOF
34159 /* confdefs.h. */
34160 _ACEOF
34161 cat confdefs.h >>conftest.$ac_ext
34162 cat >>conftest.$ac_ext <<_ACEOF
34163 /* end confdefs.h. */
34164 $ac_includes_default
34165 #include <$ac_header>
34166 _ACEOF
34167 rm -f conftest.$ac_objext
34168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34169 (eval $ac_compile) 2>conftest.er1
34170 ac_status=$?
34171 grep -v '^ *+' conftest.er1 >conftest.err
34172 rm -f conftest.er1
34173 cat conftest.err >&5
34174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34175 (exit $ac_status); } &&
34176 { ac_try='test -z "$ac_c_werror_flag"
34177 || test ! -s conftest.err'
34178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34179 (eval $ac_try) 2>&5
34180 ac_status=$?
34181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34182 (exit $ac_status); }; } &&
34183 { ac_try='test -s conftest.$ac_objext'
34184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34185 (eval $ac_try) 2>&5
34186 ac_status=$?
34187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34188 (exit $ac_status); }; }; then
34189 ac_header_compiler=yes
34190 else
34191 echo "$as_me: failed program was:" >&5
34192 sed 's/^/| /' conftest.$ac_ext >&5
34193
34194 ac_header_compiler=no
34195 fi
34196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34197 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34198 echo "${ECHO_T}$ac_header_compiler" >&6
34199
34200 # Is the header present?
34201 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34202 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34203 cat >conftest.$ac_ext <<_ACEOF
34204 /* confdefs.h. */
34205 _ACEOF
34206 cat confdefs.h >>conftest.$ac_ext
34207 cat >>conftest.$ac_ext <<_ACEOF
34208 /* end confdefs.h. */
34209 #include <$ac_header>
34210 _ACEOF
34211 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34212 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34213 ac_status=$?
34214 grep -v '^ *+' conftest.er1 >conftest.err
34215 rm -f conftest.er1
34216 cat conftest.err >&5
34217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34218 (exit $ac_status); } >/dev/null; then
34219 if test -s conftest.err; then
34220 ac_cpp_err=$ac_c_preproc_warn_flag
34221 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34222 else
34223 ac_cpp_err=
34224 fi
34225 else
34226 ac_cpp_err=yes
34227 fi
34228 if test -z "$ac_cpp_err"; then
34229 ac_header_preproc=yes
34230 else
34231 echo "$as_me: failed program was:" >&5
34232 sed 's/^/| /' conftest.$ac_ext >&5
34233
34234 ac_header_preproc=no
34235 fi
34236 rm -f conftest.err conftest.$ac_ext
34237 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34238 echo "${ECHO_T}$ac_header_preproc" >&6
34239
34240 # So? What about this header?
34241 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34242 yes:no: )
34243 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34244 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34245 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34246 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34247 ac_header_preproc=yes
34248 ;;
34249 no:yes:* )
34250 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34251 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34252 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34253 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34254 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34255 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34256 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34257 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34258 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34259 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34260 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34261 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34262 (
34263 cat <<\_ASBOX
34264 ## ----------------------------------------- ##
34265 ## Report this to wx-dev@lists.wxwindows.org ##
34266 ## ----------------------------------------- ##
34267 _ASBOX
34268 ) |
34269 sed "s/^/$as_me: WARNING: /" >&2
34270 ;;
34271 esac
34272 echo "$as_me:$LINENO: checking for $ac_header" >&5
34273 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34274 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34275 echo $ECHO_N "(cached) $ECHO_C" >&6
34276 else
34277 eval "$as_ac_Header=\$ac_header_preproc"
34278 fi
34279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34280 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34281
34282 fi
34283 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34284 cat >>confdefs.h <<_ACEOF
34285 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34286 _ACEOF
34287
34288 fi
34289
34290 done
34291
34292
34293 if test "$wxUSE_LIBSDL" != "no"; then
34294
34295 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34296 if test "${with_sdl_prefix+set}" = set; then
34297 withval="$with_sdl_prefix"
34298 sdl_prefix="$withval"
34299 else
34300 sdl_prefix=""
34301 fi;
34302
34303 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34304 if test "${with_sdl_exec_prefix+set}" = set; then
34305 withval="$with_sdl_exec_prefix"
34306 sdl_exec_prefix="$withval"
34307 else
34308 sdl_exec_prefix=""
34309 fi;
34310 # Check whether --enable-sdltest or --disable-sdltest was given.
34311 if test "${enable_sdltest+set}" = set; then
34312 enableval="$enable_sdltest"
34313
34314 else
34315 enable_sdltest=yes
34316 fi;
34317
34318 if test x$sdl_exec_prefix != x ; then
34319 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
34320 if test x${SDL_CONFIG+set} != xset ; then
34321 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
34322 fi
34323 fi
34324 if test x$sdl_prefix != x ; then
34325 sdl_args="$sdl_args --prefix=$sdl_prefix"
34326 if test x${SDL_CONFIG+set} != xset ; then
34327 SDL_CONFIG=$sdl_prefix/bin/sdl-config
34328 fi
34329 fi
34330
34331
34332 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
34333 # Extract the first word of "sdl-config", so it can be a program name with args.
34334 set dummy sdl-config; ac_word=$2
34335 echo "$as_me:$LINENO: checking for $ac_word" >&5
34336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34337 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34338 echo $ECHO_N "(cached) $ECHO_C" >&6
34339 else
34340 case $SDL_CONFIG in
34341 [\\/]* | ?:[\\/]*)
34342 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
34343 ;;
34344 *)
34345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34346 for as_dir in $PATH
34347 do
34348 IFS=$as_save_IFS
34349 test -z "$as_dir" && as_dir=.
34350 for ac_exec_ext in '' $ac_executable_extensions; do
34351 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34352 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34354 break 2
34355 fi
34356 done
34357 done
34358
34359 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
34360 ;;
34361 esac
34362 fi
34363 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
34364
34365 if test -n "$SDL_CONFIG"; then
34366 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34367 echo "${ECHO_T}$SDL_CONFIG" >&6
34368 else
34369 echo "$as_me:$LINENO: result: no" >&5
34370 echo "${ECHO_T}no" >&6
34371 fi
34372
34373 min_sdl_version=1.2.0
34374 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34375 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34376 no_sdl=""
34377 if test "$SDL_CONFIG" = "no" ; then
34378 no_sdl=yes
34379 else
34380 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
34381 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
34382
34383 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
34384 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34385 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
34386 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34387 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
34388 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34389 if test "x$enable_sdltest" = "xyes" ; then
34390 ac_save_CFLAGS="$CFLAGS"
34391 ac_save_LIBS="$LIBS"
34392 CFLAGS="$CFLAGS $SDL_CFLAGS"
34393 LIBS="$LIBS $SDL_LIBS"
34394 rm -f conf.sdltest
34395 if test "$cross_compiling" = yes; then
34396 echo $ac_n "cross compiling; assumed OK... $ac_c"
34397 else
34398 cat >conftest.$ac_ext <<_ACEOF
34399 /* confdefs.h. */
34400 _ACEOF
34401 cat confdefs.h >>conftest.$ac_ext
34402 cat >>conftest.$ac_ext <<_ACEOF
34403 /* end confdefs.h. */
34404
34405 #include <stdio.h>
34406 #include <stdlib.h>
34407 #include <string.h>
34408 #include "SDL.h"
34409
34410 char*
34411 my_strdup (char *str)
34412 {
34413 char *new_str;
34414
34415 if (str)
34416 {
34417 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34418 strcpy (new_str, str);
34419 }
34420 else
34421 new_str = NULL;
34422
34423 return new_str;
34424 }
34425
34426 int main (int argc, char *argv[])
34427 {
34428 int major, minor, micro;
34429 char *tmp_version;
34430
34431 /* This hangs on some systems (?)
34432 system ("touch conf.sdltest");
34433 */
34434 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34435
34436 /* HP/UX 9 (%@#!) writes to sscanf strings */
34437 tmp_version = my_strdup("$min_sdl_version");
34438 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
34439 printf("%s, bad version string\n", "$min_sdl_version");
34440 exit(1);
34441 }
34442
34443 if (($sdl_major_version > major) ||
34444 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34445 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34446 {
34447 return 0;
34448 }
34449 else
34450 {
34451 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34452 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34453 printf("*** best to upgrade to the required version.\n");
34454 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34455 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34456 printf("*** config.cache before re-running configure\n");
34457 return 1;
34458 }
34459 }
34460
34461
34462 _ACEOF
34463 rm -f conftest$ac_exeext
34464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34465 (eval $ac_link) 2>&5
34466 ac_status=$?
34467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34468 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34470 (eval $ac_try) 2>&5
34471 ac_status=$?
34472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34473 (exit $ac_status); }; }; then
34474 :
34475 else
34476 echo "$as_me: program exited with status $ac_status" >&5
34477 echo "$as_me: failed program was:" >&5
34478 sed 's/^/| /' conftest.$ac_ext >&5
34479
34480 ( exit $ac_status )
34481 no_sdl=yes
34482 fi
34483 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34484 fi
34485 CFLAGS="$ac_save_CFLAGS"
34486 LIBS="$ac_save_LIBS"
34487 fi
34488 fi
34489 if test "x$no_sdl" = x ; then
34490 echo "$as_me:$LINENO: result: yes" >&5
34491 echo "${ECHO_T}yes" >&6
34492
34493 EXTRALIBS_SDL="$SDL_LIBS"
34494 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
34495 cat >>confdefs.h <<\_ACEOF
34496 #define wxUSE_LIBSDL 1
34497 _ACEOF
34498
34499
34500 else
34501 echo "$as_me:$LINENO: result: no" >&5
34502 echo "${ECHO_T}no" >&6
34503 if test "$SDL_CONFIG" = "no" ; then
34504 echo "*** The sdl-config script installed by SDL could not be found"
34505 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34506 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34507 echo "*** full path to sdl-config."
34508 else
34509 if test -f conf.sdltest ; then
34510 :
34511 else
34512 echo "*** Could not run SDL test program, checking why..."
34513 CFLAGS="$CFLAGS $SDL_CFLAGS"
34514 LIBS="$LIBS $SDL_LIBS"
34515 cat >conftest.$ac_ext <<_ACEOF
34516 /* confdefs.h. */
34517 _ACEOF
34518 cat confdefs.h >>conftest.$ac_ext
34519 cat >>conftest.$ac_ext <<_ACEOF
34520 /* end confdefs.h. */
34521
34522 #include <stdio.h>
34523 #include "SDL.h"
34524
34525 int main(int argc, char *argv[])
34526 { return 0; }
34527 #undef main
34528 #define main K_and_R_C_main
34529
34530 int
34531 main ()
34532 {
34533 return 0;
34534 ;
34535 return 0;
34536 }
34537 _ACEOF
34538 rm -f conftest.$ac_objext conftest$ac_exeext
34539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34540 (eval $ac_link) 2>conftest.er1
34541 ac_status=$?
34542 grep -v '^ *+' conftest.er1 >conftest.err
34543 rm -f conftest.er1
34544 cat conftest.err >&5
34545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34546 (exit $ac_status); } &&
34547 { ac_try='test -z "$ac_c_werror_flag"
34548 || test ! -s conftest.err'
34549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34550 (eval $ac_try) 2>&5
34551 ac_status=$?
34552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34553 (exit $ac_status); }; } &&
34554 { ac_try='test -s conftest$ac_exeext'
34555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34556 (eval $ac_try) 2>&5
34557 ac_status=$?
34558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34559 (exit $ac_status); }; }; then
34560 echo "*** The test program compiled, but did not run. This usually means"
34561 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34562 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34563 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34564 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34565 echo "*** is required on your system"
34566 echo "***"
34567 echo "*** If you have an old version installed, it is best to remove it, although"
34568 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34569 else
34570 echo "$as_me: failed program was:" >&5
34571 sed 's/^/| /' conftest.$ac_ext >&5
34572
34573 echo "*** The test program failed to compile or link. See the file config.log for the"
34574 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34575 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34576 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34577 fi
34578 rm -f conftest.err conftest.$ac_objext \
34579 conftest$ac_exeext conftest.$ac_ext
34580 CFLAGS="$ac_save_CFLAGS"
34581 LIBS="$ac_save_LIBS"
34582 fi
34583 fi
34584 SDL_CFLAGS=""
34585 SDL_LIBS=""
34586 wxUSE_LIBSDL="no"
34587 fi
34588
34589
34590 rm -f conf.sdltest
34591
34592 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34593 WITH_PLUGIN_SDL=1
34594 fi
34595 fi
34596 fi
34597
34598 cat >>confdefs.h <<\_ACEOF
34599 #define wxUSE_SOUND 1
34600 _ACEOF
34601
34602 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
34603 fi
34604
34605 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34606 cat >>confdefs.h <<\_ACEOF
34607 #define wxUSE_CMDLINE_PARSER 1
34608 _ACEOF
34609
34610 fi
34611
34612 if test "$wxUSE_STOPWATCH" = "yes"; then
34613 cat >>confdefs.h <<\_ACEOF
34614 #define wxUSE_STOPWATCH 1
34615 _ACEOF
34616
34617 fi
34618
34619 if test "$wxUSE_DATETIME" = "yes"; then
34620 cat >>confdefs.h <<\_ACEOF
34621 #define wxUSE_DATETIME 1
34622 _ACEOF
34623
34624 fi
34625
34626 if test "$wxUSE_FILE" = "yes"; then
34627 cat >>confdefs.h <<\_ACEOF
34628 #define wxUSE_FILE 1
34629 _ACEOF
34630
34631 fi
34632
34633 if test "$wxUSE_FFILE" = "yes"; then
34634 cat >>confdefs.h <<\_ACEOF
34635 #define wxUSE_FFILE 1
34636 _ACEOF
34637
34638 fi
34639
34640 if test "$wxUSE_FILESYSTEM" = "yes"; then
34641 cat >>confdefs.h <<\_ACEOF
34642 #define wxUSE_FILESYSTEM 1
34643 _ACEOF
34644
34645 fi
34646
34647 if test "$wxUSE_FS_ZIP" = "yes"; then
34648 cat >>confdefs.h <<\_ACEOF
34649 #define wxUSE_FS_ZIP 1
34650 _ACEOF
34651
34652 fi
34653
34654 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34655 cat >>confdefs.h <<\_ACEOF
34656 #define wxUSE_ZIPSTREAM 1
34657 _ACEOF
34658
34659 fi
34660
34661 if test "$wxUSE_GZSTREAM" = "yes"; then
34662 cat >>confdefs.h <<\_ACEOF
34663 #define wxUSE_GZSTREAM 1
34664 _ACEOF
34665
34666 fi
34667
34668 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34669 cat >>confdefs.h <<\_ACEOF
34670 #define wxUSE_ON_FATAL_EXCEPTION 1
34671 _ACEOF
34672
34673 fi
34674
34675 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34676 cat >>confdefs.h <<\_ACEOF
34677 #define wxUSE_SNGLINST_CHECKER 1
34678 _ACEOF
34679
34680 fi
34681
34682 if test "$wxUSE_BUSYINFO" = "yes"; then
34683 cat >>confdefs.h <<\_ACEOF
34684 #define wxUSE_BUSYINFO 1
34685 _ACEOF
34686
34687 fi
34688
34689 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34690 cat >>confdefs.h <<\_ACEOF
34691 #define wxUSE_STD_IOSTREAM 1
34692 _ACEOF
34693
34694 fi
34695
34696 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34697 cat >>confdefs.h <<\_ACEOF
34698 #define wxUSE_TEXTBUFFER 1
34699 _ACEOF
34700
34701 fi
34702
34703 if test "$wxUSE_TEXTFILE" = "yes"; then
34704 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34705 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34706 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34707 else
34708 cat >>confdefs.h <<\_ACEOF
34709 #define wxUSE_TEXTFILE 1
34710 _ACEOF
34711
34712 fi
34713 fi
34714
34715 if test "$wxUSE_CONFIG" = "yes" ; then
34716 if test "$wxUSE_TEXTFILE" != "yes"; then
34717 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34718 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34719 else
34720 cat >>confdefs.h <<\_ACEOF
34721 #define wxUSE_CONFIG 1
34722 _ACEOF
34723
34724 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34725 fi
34726 fi
34727
34728 if test "$wxUSE_INTL" = "yes" ; then
34729 if test "$wxUSE_FILE" != "yes"; then
34730 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34731 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34732 else
34733 cat >>confdefs.h <<\_ACEOF
34734 #define wxUSE_INTL 1
34735 _ACEOF
34736
34737 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
34738 GUIDIST="$GUIDIST INTL_DIST"
34739 fi
34740 fi
34741
34742 if test "$wxUSE_LOG" = "yes"; then
34743 cat >>confdefs.h <<\_ACEOF
34744 #define wxUSE_LOG 1
34745 _ACEOF
34746
34747
34748 if test "$wxUSE_LOGGUI" = "yes"; then
34749 cat >>confdefs.h <<\_ACEOF
34750 #define wxUSE_LOGGUI 1
34751 _ACEOF
34752
34753 fi
34754
34755 if test "$wxUSE_LOGWINDOW" = "yes"; then
34756 cat >>confdefs.h <<\_ACEOF
34757 #define wxUSE_LOGWINDOW 1
34758 _ACEOF
34759
34760 fi
34761
34762 if test "$wxUSE_LOGDIALOG" = "yes"; then
34763 cat >>confdefs.h <<\_ACEOF
34764 #define wxUSE_LOG_DIALOG 1
34765 _ACEOF
34766
34767 fi
34768 fi
34769
34770 if test "$wxUSE_LONGLONG" = "yes"; then
34771 cat >>confdefs.h <<\_ACEOF
34772 #define wxUSE_LONGLONG 1
34773 _ACEOF
34774
34775 fi
34776
34777 if test "$wxUSE_GEOMETRY" = "yes"; then
34778 cat >>confdefs.h <<\_ACEOF
34779 #define wxUSE_GEOMETRY 1
34780 _ACEOF
34781
34782 fi
34783
34784 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34785 cat >>confdefs.h <<\_ACEOF
34786 #define wxUSE_DIALUP_MANAGER 1
34787 _ACEOF
34788
34789 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
34790 fi
34791
34792 if test "$wxUSE_STREAMS" = "yes" ; then
34793 cat >>confdefs.h <<\_ACEOF
34794 #define wxUSE_STREAMS 1
34795 _ACEOF
34796
34797 fi
34798
34799
34800 if test "$wxUSE_DATETIME" = "yes"; then
34801
34802 for ac_func in strptime
34803 do
34804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34805 echo "$as_me:$LINENO: checking for $ac_func" >&5
34806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34807 if eval "test \"\${$as_ac_var+set}\" = set"; then
34808 echo $ECHO_N "(cached) $ECHO_C" >&6
34809 else
34810 cat >conftest.$ac_ext <<_ACEOF
34811 /* confdefs.h. */
34812 _ACEOF
34813 cat confdefs.h >>conftest.$ac_ext
34814 cat >>conftest.$ac_ext <<_ACEOF
34815 /* end confdefs.h. */
34816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34818 #define $ac_func innocuous_$ac_func
34819
34820 /* System header to define __stub macros and hopefully few prototypes,
34821 which can conflict with char $ac_func (); below.
34822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34823 <limits.h> exists even on freestanding compilers. */
34824
34825 #ifdef __STDC__
34826 # include <limits.h>
34827 #else
34828 # include <assert.h>
34829 #endif
34830
34831 #undef $ac_func
34832
34833 /* Override any gcc2 internal prototype to avoid an error. */
34834 #ifdef __cplusplus
34835 extern "C"
34836 {
34837 #endif
34838 /* We use char because int might match the return type of a gcc2
34839 builtin and then its argument prototype would still apply. */
34840 char $ac_func ();
34841 /* The GNU C library defines this for functions which it implements
34842 to always fail with ENOSYS. Some functions are actually named
34843 something starting with __ and the normal name is an alias. */
34844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34845 choke me
34846 #else
34847 char (*f) () = $ac_func;
34848 #endif
34849 #ifdef __cplusplus
34850 }
34851 #endif
34852
34853 int
34854 main ()
34855 {
34856 return f != $ac_func;
34857 ;
34858 return 0;
34859 }
34860 _ACEOF
34861 rm -f conftest.$ac_objext conftest$ac_exeext
34862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34863 (eval $ac_link) 2>conftest.er1
34864 ac_status=$?
34865 grep -v '^ *+' conftest.er1 >conftest.err
34866 rm -f conftest.er1
34867 cat conftest.err >&5
34868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34869 (exit $ac_status); } &&
34870 { ac_try='test -z "$ac_c_werror_flag"
34871 || test ! -s conftest.err'
34872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34873 (eval $ac_try) 2>&5
34874 ac_status=$?
34875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34876 (exit $ac_status); }; } &&
34877 { ac_try='test -s conftest$ac_exeext'
34878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34879 (eval $ac_try) 2>&5
34880 ac_status=$?
34881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34882 (exit $ac_status); }; }; then
34883 eval "$as_ac_var=yes"
34884 else
34885 echo "$as_me: failed program was:" >&5
34886 sed 's/^/| /' conftest.$ac_ext >&5
34887
34888 eval "$as_ac_var=no"
34889 fi
34890 rm -f conftest.err conftest.$ac_objext \
34891 conftest$ac_exeext conftest.$ac_ext
34892 fi
34893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34895 if test `eval echo '${'$as_ac_var'}'` = yes; then
34896 cat >>confdefs.h <<_ACEOF
34897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34898 _ACEOF
34899
34900 fi
34901 done
34902
34903
34904 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34905 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34906 if test "${wx_cv_var_timezone+set}" = set; then
34907 echo $ECHO_N "(cached) $ECHO_C" >&6
34908 else
34909
34910 cat >conftest.$ac_ext <<_ACEOF
34911 /* confdefs.h. */
34912 _ACEOF
34913 cat confdefs.h >>conftest.$ac_ext
34914 cat >>conftest.$ac_ext <<_ACEOF
34915 /* end confdefs.h. */
34916
34917 #include <time.h>
34918
34919 int
34920 main ()
34921 {
34922
34923 int tz;
34924 tz = timezone;
34925
34926 ;
34927 return 0;
34928 }
34929 _ACEOF
34930 rm -f conftest.$ac_objext
34931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34932 (eval $ac_compile) 2>conftest.er1
34933 ac_status=$?
34934 grep -v '^ *+' conftest.er1 >conftest.err
34935 rm -f conftest.er1
34936 cat conftest.err >&5
34937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34938 (exit $ac_status); } &&
34939 { ac_try='test -z "$ac_c_werror_flag"
34940 || test ! -s conftest.err'
34941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34942 (eval $ac_try) 2>&5
34943 ac_status=$?
34944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34945 (exit $ac_status); }; } &&
34946 { ac_try='test -s conftest.$ac_objext'
34947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34948 (eval $ac_try) 2>&5
34949 ac_status=$?
34950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34951 (exit $ac_status); }; }; then
34952
34953 wx_cv_var_timezone=timezone
34954
34955 else
34956 echo "$as_me: failed program was:" >&5
34957 sed 's/^/| /' conftest.$ac_ext >&5
34958
34959
34960 cat >conftest.$ac_ext <<_ACEOF
34961 /* confdefs.h. */
34962 _ACEOF
34963 cat confdefs.h >>conftest.$ac_ext
34964 cat >>conftest.$ac_ext <<_ACEOF
34965 /* end confdefs.h. */
34966
34967 #include <time.h>
34968
34969 int
34970 main ()
34971 {
34972
34973 int tz;
34974 tz = _timezone;
34975
34976 ;
34977 return 0;
34978 }
34979 _ACEOF
34980 rm -f conftest.$ac_objext
34981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34982 (eval $ac_compile) 2>conftest.er1
34983 ac_status=$?
34984 grep -v '^ *+' conftest.er1 >conftest.err
34985 rm -f conftest.er1
34986 cat conftest.err >&5
34987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34988 (exit $ac_status); } &&
34989 { ac_try='test -z "$ac_c_werror_flag"
34990 || test ! -s conftest.err'
34991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34992 (eval $ac_try) 2>&5
34993 ac_status=$?
34994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34995 (exit $ac_status); }; } &&
34996 { ac_try='test -s conftest.$ac_objext'
34997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34998 (eval $ac_try) 2>&5
34999 ac_status=$?
35000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35001 (exit $ac_status); }; }; then
35002
35003 wx_cv_var_timezone=_timezone
35004
35005 else
35006 echo "$as_me: failed program was:" >&5
35007 sed 's/^/| /' conftest.$ac_ext >&5
35008
35009
35010 cat >conftest.$ac_ext <<_ACEOF
35011 /* confdefs.h. */
35012 _ACEOF
35013 cat confdefs.h >>conftest.$ac_ext
35014 cat >>conftest.$ac_ext <<_ACEOF
35015 /* end confdefs.h. */
35016
35017 #include <time.h>
35018
35019 int
35020 main ()
35021 {
35022
35023 int tz;
35024 tz = __timezone;
35025
35026 ;
35027 return 0;
35028 }
35029 _ACEOF
35030 rm -f conftest.$ac_objext
35031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35032 (eval $ac_compile) 2>conftest.er1
35033 ac_status=$?
35034 grep -v '^ *+' conftest.er1 >conftest.err
35035 rm -f conftest.er1
35036 cat conftest.err >&5
35037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35038 (exit $ac_status); } &&
35039 { ac_try='test -z "$ac_c_werror_flag"
35040 || test ! -s conftest.err'
35041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35042 (eval $ac_try) 2>&5
35043 ac_status=$?
35044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35045 (exit $ac_status); }; } &&
35046 { ac_try='test -s conftest.$ac_objext'
35047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35048 (eval $ac_try) 2>&5
35049 ac_status=$?
35050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35051 (exit $ac_status); }; }; then
35052
35053 wx_cv_var_timezone=__timezone
35054
35055 else
35056 echo "$as_me: failed program was:" >&5
35057 sed 's/^/| /' conftest.$ac_ext >&5
35058
35059
35060 if test "$USE_DOS" = 0 ; then
35061 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
35062 echo "$as_me: WARNING: no timezone variable" >&2;}
35063 fi
35064
35065
35066 fi
35067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35068
35069
35070 fi
35071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35072
35073
35074 fi
35075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35076
35077
35078 fi
35079 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
35080 echo "${ECHO_T}$wx_cv_var_timezone" >&6
35081
35082 if test "x$wx_cv_var_timezone" != x ; then
35083 cat >>confdefs.h <<_ACEOF
35084 #define WX_TIMEZONE $wx_cv_var_timezone
35085 _ACEOF
35086
35087 fi
35088
35089
35090 for ac_func in localtime
35091 do
35092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35093 echo "$as_me:$LINENO: checking for $ac_func" >&5
35094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35095 if eval "test \"\${$as_ac_var+set}\" = set"; then
35096 echo $ECHO_N "(cached) $ECHO_C" >&6
35097 else
35098 cat >conftest.$ac_ext <<_ACEOF
35099 /* confdefs.h. */
35100 _ACEOF
35101 cat confdefs.h >>conftest.$ac_ext
35102 cat >>conftest.$ac_ext <<_ACEOF
35103 /* end confdefs.h. */
35104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35106 #define $ac_func innocuous_$ac_func
35107
35108 /* System header to define __stub macros and hopefully few prototypes,
35109 which can conflict with char $ac_func (); below.
35110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35111 <limits.h> exists even on freestanding compilers. */
35112
35113 #ifdef __STDC__
35114 # include <limits.h>
35115 #else
35116 # include <assert.h>
35117 #endif
35118
35119 #undef $ac_func
35120
35121 /* Override any gcc2 internal prototype to avoid an error. */
35122 #ifdef __cplusplus
35123 extern "C"
35124 {
35125 #endif
35126 /* We use char because int might match the return type of a gcc2
35127 builtin and then its argument prototype would still apply. */
35128 char $ac_func ();
35129 /* The GNU C library defines this for functions which it implements
35130 to always fail with ENOSYS. Some functions are actually named
35131 something starting with __ and the normal name is an alias. */
35132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35133 choke me
35134 #else
35135 char (*f) () = $ac_func;
35136 #endif
35137 #ifdef __cplusplus
35138 }
35139 #endif
35140
35141 int
35142 main ()
35143 {
35144 return f != $ac_func;
35145 ;
35146 return 0;
35147 }
35148 _ACEOF
35149 rm -f conftest.$ac_objext conftest$ac_exeext
35150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35151 (eval $ac_link) 2>conftest.er1
35152 ac_status=$?
35153 grep -v '^ *+' conftest.er1 >conftest.err
35154 rm -f conftest.er1
35155 cat conftest.err >&5
35156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35157 (exit $ac_status); } &&
35158 { ac_try='test -z "$ac_c_werror_flag"
35159 || test ! -s conftest.err'
35160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35161 (eval $ac_try) 2>&5
35162 ac_status=$?
35163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35164 (exit $ac_status); }; } &&
35165 { ac_try='test -s conftest$ac_exeext'
35166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35167 (eval $ac_try) 2>&5
35168 ac_status=$?
35169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35170 (exit $ac_status); }; }; then
35171 eval "$as_ac_var=yes"
35172 else
35173 echo "$as_me: failed program was:" >&5
35174 sed 's/^/| /' conftest.$ac_ext >&5
35175
35176 eval "$as_ac_var=no"
35177 fi
35178 rm -f conftest.err conftest.$ac_objext \
35179 conftest$ac_exeext conftest.$ac_ext
35180 fi
35181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35183 if test `eval echo '${'$as_ac_var'}'` = yes; then
35184 cat >>confdefs.h <<_ACEOF
35185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35186 _ACEOF
35187
35188 fi
35189 done
35190
35191
35192 if test "$ac_cv_func_localtime" = "yes"; then
35193 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
35194 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
35195 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
35196 echo $ECHO_N "(cached) $ECHO_C" >&6
35197 else
35198
35199 cat >conftest.$ac_ext <<_ACEOF
35200 /* confdefs.h. */
35201 _ACEOF
35202 cat confdefs.h >>conftest.$ac_ext
35203 cat >>conftest.$ac_ext <<_ACEOF
35204 /* end confdefs.h. */
35205
35206 #include <time.h>
35207
35208 int
35209 main ()
35210 {
35211
35212 struct tm tm;
35213 tm.tm_gmtoff++;
35214
35215 ;
35216 return 0;
35217 }
35218 _ACEOF
35219 rm -f conftest.$ac_objext
35220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35221 (eval $ac_compile) 2>conftest.er1
35222 ac_status=$?
35223 grep -v '^ *+' conftest.er1 >conftest.err
35224 rm -f conftest.er1
35225 cat conftest.err >&5
35226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35227 (exit $ac_status); } &&
35228 { ac_try='test -z "$ac_c_werror_flag"
35229 || test ! -s conftest.err'
35230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35231 (eval $ac_try) 2>&5
35232 ac_status=$?
35233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35234 (exit $ac_status); }; } &&
35235 { ac_try='test -s conftest.$ac_objext'
35236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35237 (eval $ac_try) 2>&5
35238 ac_status=$?
35239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35240 (exit $ac_status); }; }; then
35241
35242 wx_cv_struct_tm_has_gmtoff=yes
35243
35244 else
35245 echo "$as_me: failed program was:" >&5
35246 sed 's/^/| /' conftest.$ac_ext >&5
35247
35248 wx_cv_struct_tm_has_gmtoff=no
35249
35250 fi
35251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35252
35253 fi
35254 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35255 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35256 fi
35257
35258 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35259 cat >>confdefs.h <<\_ACEOF
35260 #define WX_GMTOFF_IN_TM 1
35261 _ACEOF
35262
35263 fi
35264
35265
35266
35267 for ac_func in gettimeofday ftime
35268 do
35269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35270 echo "$as_me:$LINENO: checking for $ac_func" >&5
35271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35272 if eval "test \"\${$as_ac_var+set}\" = set"; then
35273 echo $ECHO_N "(cached) $ECHO_C" >&6
35274 else
35275 cat >conftest.$ac_ext <<_ACEOF
35276 /* confdefs.h. */
35277 _ACEOF
35278 cat confdefs.h >>conftest.$ac_ext
35279 cat >>conftest.$ac_ext <<_ACEOF
35280 /* end confdefs.h. */
35281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35283 #define $ac_func innocuous_$ac_func
35284
35285 /* System header to define __stub macros and hopefully few prototypes,
35286 which can conflict with char $ac_func (); below.
35287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35288 <limits.h> exists even on freestanding compilers. */
35289
35290 #ifdef __STDC__
35291 # include <limits.h>
35292 #else
35293 # include <assert.h>
35294 #endif
35295
35296 #undef $ac_func
35297
35298 /* Override any gcc2 internal prototype to avoid an error. */
35299 #ifdef __cplusplus
35300 extern "C"
35301 {
35302 #endif
35303 /* We use char because int might match the return type of a gcc2
35304 builtin and then its argument prototype would still apply. */
35305 char $ac_func ();
35306 /* The GNU C library defines this for functions which it implements
35307 to always fail with ENOSYS. Some functions are actually named
35308 something starting with __ and the normal name is an alias. */
35309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35310 choke me
35311 #else
35312 char (*f) () = $ac_func;
35313 #endif
35314 #ifdef __cplusplus
35315 }
35316 #endif
35317
35318 int
35319 main ()
35320 {
35321 return f != $ac_func;
35322 ;
35323 return 0;
35324 }
35325 _ACEOF
35326 rm -f conftest.$ac_objext conftest$ac_exeext
35327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35328 (eval $ac_link) 2>conftest.er1
35329 ac_status=$?
35330 grep -v '^ *+' conftest.er1 >conftest.err
35331 rm -f conftest.er1
35332 cat conftest.err >&5
35333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35334 (exit $ac_status); } &&
35335 { ac_try='test -z "$ac_c_werror_flag"
35336 || test ! -s conftest.err'
35337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35338 (eval $ac_try) 2>&5
35339 ac_status=$?
35340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35341 (exit $ac_status); }; } &&
35342 { ac_try='test -s conftest$ac_exeext'
35343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35344 (eval $ac_try) 2>&5
35345 ac_status=$?
35346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35347 (exit $ac_status); }; }; then
35348 eval "$as_ac_var=yes"
35349 else
35350 echo "$as_me: failed program was:" >&5
35351 sed 's/^/| /' conftest.$ac_ext >&5
35352
35353 eval "$as_ac_var=no"
35354 fi
35355 rm -f conftest.err conftest.$ac_objext \
35356 conftest$ac_exeext conftest.$ac_ext
35357 fi
35358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35360 if test `eval echo '${'$as_ac_var'}'` = yes; then
35361 cat >>confdefs.h <<_ACEOF
35362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35363 _ACEOF
35364 break
35365 fi
35366 done
35367
35368
35369 if test "$ac_cv_func_gettimeofday" = "yes"; then
35370 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35371 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35372 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35373 echo $ECHO_N "(cached) $ECHO_C" >&6
35374 else
35375
35376
35377
35378 ac_ext=cc
35379 ac_cpp='$CXXCPP $CPPFLAGS'
35380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35383
35384
35385 cat >conftest.$ac_ext <<_ACEOF
35386 /* confdefs.h. */
35387 _ACEOF
35388 cat confdefs.h >>conftest.$ac_ext
35389 cat >>conftest.$ac_ext <<_ACEOF
35390 /* end confdefs.h. */
35391
35392 #include <sys/time.h>
35393 #include <unistd.h>
35394
35395 int
35396 main ()
35397 {
35398
35399 struct timeval tv;
35400 gettimeofday(&tv, NULL);
35401
35402 ;
35403 return 0;
35404 }
35405 _ACEOF
35406 rm -f conftest.$ac_objext
35407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35408 (eval $ac_compile) 2>conftest.er1
35409 ac_status=$?
35410 grep -v '^ *+' conftest.er1 >conftest.err
35411 rm -f conftest.er1
35412 cat conftest.err >&5
35413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35414 (exit $ac_status); } &&
35415 { ac_try='test -z "$ac_cxx_werror_flag"
35416 || test ! -s conftest.err'
35417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35418 (eval $ac_try) 2>&5
35419 ac_status=$?
35420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35421 (exit $ac_status); }; } &&
35422 { ac_try='test -s conftest.$ac_objext'
35423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35424 (eval $ac_try) 2>&5
35425 ac_status=$?
35426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35427 (exit $ac_status); }; }; then
35428 wx_cv_func_gettimeofday_has_2_args=yes
35429 else
35430 echo "$as_me: failed program was:" >&5
35431 sed 's/^/| /' conftest.$ac_ext >&5
35432
35433 cat >conftest.$ac_ext <<_ACEOF
35434 /* confdefs.h. */
35435 _ACEOF
35436 cat confdefs.h >>conftest.$ac_ext
35437 cat >>conftest.$ac_ext <<_ACEOF
35438 /* end confdefs.h. */
35439
35440 #include <sys/time.h>
35441 #include <unistd.h>
35442
35443 int
35444 main ()
35445 {
35446
35447 struct timeval tv;
35448 gettimeofday(&tv);
35449
35450 ;
35451 return 0;
35452 }
35453 _ACEOF
35454 rm -f conftest.$ac_objext
35455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35456 (eval $ac_compile) 2>conftest.er1
35457 ac_status=$?
35458 grep -v '^ *+' conftest.er1 >conftest.err
35459 rm -f conftest.er1
35460 cat conftest.err >&5
35461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35462 (exit $ac_status); } &&
35463 { ac_try='test -z "$ac_cxx_werror_flag"
35464 || test ! -s conftest.err'
35465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35466 (eval $ac_try) 2>&5
35467 ac_status=$?
35468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35469 (exit $ac_status); }; } &&
35470 { ac_try='test -s conftest.$ac_objext'
35471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35472 (eval $ac_try) 2>&5
35473 ac_status=$?
35474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35475 (exit $ac_status); }; }; then
35476 wx_cv_func_gettimeofday_has_2_args=no
35477 else
35478 echo "$as_me: failed program was:" >&5
35479 sed 's/^/| /' conftest.$ac_ext >&5
35480
35481
35482 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35483 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35484 wx_cv_func_gettimeofday_has_2_args=unknown
35485
35486
35487 fi
35488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35489
35490 fi
35491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35492 ac_ext=c
35493 ac_cpp='$CPP $CPPFLAGS'
35494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35497
35498
35499 fi
35500 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35501 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35502
35503 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35504 cat >>confdefs.h <<\_ACEOF
35505 #define WX_GETTIMEOFDAY_NO_TZ 1
35506 _ACEOF
35507
35508 fi
35509 fi
35510
35511 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
35512 fi
35513
35514
35515 if test "$wxUSE_SOCKETS" = "yes"; then
35516 if test "$wxUSE_MGL" = "1"; then
35517 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35518 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35519 wxUSE_SOCKETS="no"
35520 fi
35521 fi
35522
35523 if test "$wxUSE_SOCKETS" = "yes"; then
35524 if test "$TOOLKIT" != "MSW"; then
35525 echo "$as_me:$LINENO: checking for socket" >&5
35526 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35527 if test "${ac_cv_func_socket+set}" = set; then
35528 echo $ECHO_N "(cached) $ECHO_C" >&6
35529 else
35530 cat >conftest.$ac_ext <<_ACEOF
35531 /* confdefs.h. */
35532 _ACEOF
35533 cat confdefs.h >>conftest.$ac_ext
35534 cat >>conftest.$ac_ext <<_ACEOF
35535 /* end confdefs.h. */
35536 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35538 #define socket innocuous_socket
35539
35540 /* System header to define __stub macros and hopefully few prototypes,
35541 which can conflict with char socket (); below.
35542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35543 <limits.h> exists even on freestanding compilers. */
35544
35545 #ifdef __STDC__
35546 # include <limits.h>
35547 #else
35548 # include <assert.h>
35549 #endif
35550
35551 #undef socket
35552
35553 /* Override any gcc2 internal prototype to avoid an error. */
35554 #ifdef __cplusplus
35555 extern "C"
35556 {
35557 #endif
35558 /* We use char because int might match the return type of a gcc2
35559 builtin and then its argument prototype would still apply. */
35560 char socket ();
35561 /* The GNU C library defines this for functions which it implements
35562 to always fail with ENOSYS. Some functions are actually named
35563 something starting with __ and the normal name is an alias. */
35564 #if defined (__stub_socket) || defined (__stub___socket)
35565 choke me
35566 #else
35567 char (*f) () = socket;
35568 #endif
35569 #ifdef __cplusplus
35570 }
35571 #endif
35572
35573 int
35574 main ()
35575 {
35576 return f != socket;
35577 ;
35578 return 0;
35579 }
35580 _ACEOF
35581 rm -f conftest.$ac_objext conftest$ac_exeext
35582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35583 (eval $ac_link) 2>conftest.er1
35584 ac_status=$?
35585 grep -v '^ *+' conftest.er1 >conftest.err
35586 rm -f conftest.er1
35587 cat conftest.err >&5
35588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35589 (exit $ac_status); } &&
35590 { ac_try='test -z "$ac_c_werror_flag"
35591 || test ! -s conftest.err'
35592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35593 (eval $ac_try) 2>&5
35594 ac_status=$?
35595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35596 (exit $ac_status); }; } &&
35597 { ac_try='test -s conftest$ac_exeext'
35598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35599 (eval $ac_try) 2>&5
35600 ac_status=$?
35601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35602 (exit $ac_status); }; }; then
35603 ac_cv_func_socket=yes
35604 else
35605 echo "$as_me: failed program was:" >&5
35606 sed 's/^/| /' conftest.$ac_ext >&5
35607
35608 ac_cv_func_socket=no
35609 fi
35610 rm -f conftest.err conftest.$ac_objext \
35611 conftest$ac_exeext conftest.$ac_ext
35612 fi
35613 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35614 echo "${ECHO_T}$ac_cv_func_socket" >&6
35615 if test $ac_cv_func_socket = yes; then
35616 :
35617 else
35618
35619 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35620 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35621 if test "${ac_cv_lib_socket_socket+set}" = set; then
35622 echo $ECHO_N "(cached) $ECHO_C" >&6
35623 else
35624 ac_check_lib_save_LIBS=$LIBS
35625 LIBS="-lsocket $LIBS"
35626 cat >conftest.$ac_ext <<_ACEOF
35627 /* confdefs.h. */
35628 _ACEOF
35629 cat confdefs.h >>conftest.$ac_ext
35630 cat >>conftest.$ac_ext <<_ACEOF
35631 /* end confdefs.h. */
35632
35633 /* Override any gcc2 internal prototype to avoid an error. */
35634 #ifdef __cplusplus
35635 extern "C"
35636 #endif
35637 /* We use char because int might match the return type of a gcc2
35638 builtin and then its argument prototype would still apply. */
35639 char socket ();
35640 int
35641 main ()
35642 {
35643 socket ();
35644 ;
35645 return 0;
35646 }
35647 _ACEOF
35648 rm -f conftest.$ac_objext conftest$ac_exeext
35649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35650 (eval $ac_link) 2>conftest.er1
35651 ac_status=$?
35652 grep -v '^ *+' conftest.er1 >conftest.err
35653 rm -f conftest.er1
35654 cat conftest.err >&5
35655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35656 (exit $ac_status); } &&
35657 { ac_try='test -z "$ac_c_werror_flag"
35658 || test ! -s conftest.err'
35659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35660 (eval $ac_try) 2>&5
35661 ac_status=$?
35662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35663 (exit $ac_status); }; } &&
35664 { ac_try='test -s conftest$ac_exeext'
35665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35666 (eval $ac_try) 2>&5
35667 ac_status=$?
35668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35669 (exit $ac_status); }; }; then
35670 ac_cv_lib_socket_socket=yes
35671 else
35672 echo "$as_me: failed program was:" >&5
35673 sed 's/^/| /' conftest.$ac_ext >&5
35674
35675 ac_cv_lib_socket_socket=no
35676 fi
35677 rm -f conftest.err conftest.$ac_objext \
35678 conftest$ac_exeext conftest.$ac_ext
35679 LIBS=$ac_check_lib_save_LIBS
35680 fi
35681 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35682 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35683 if test $ac_cv_lib_socket_socket = yes; then
35684 if test "$INET_LINK" != " -lsocket"; then
35685 INET_LINK="$INET_LINK -lsocket"
35686 fi
35687 else
35688
35689 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35690 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35691 wxUSE_SOCKETS=no
35692
35693
35694 fi
35695
35696
35697
35698 fi
35699
35700 fi
35701 fi
35702
35703 if test "$wxUSE_SOCKETS" = "yes" ; then
35704 if test "$TOOLKIT" != "MSW"; then
35705 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35706 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35707 if test "${wx_cv_type_getsockname3+set}" = set; then
35708 echo $ECHO_N "(cached) $ECHO_C" >&6
35709 else
35710
35711 cat >conftest.$ac_ext <<_ACEOF
35712 /* confdefs.h. */
35713 _ACEOF
35714 cat confdefs.h >>conftest.$ac_ext
35715 cat >>conftest.$ac_ext <<_ACEOF
35716 /* end confdefs.h. */
35717
35718 #include <sys/types.h>
35719 #include <sys/socket.h>
35720
35721 int
35722 main ()
35723 {
35724
35725 socklen_t len;
35726 getsockname(0, 0, &len);
35727
35728 ;
35729 return 0;
35730 }
35731 _ACEOF
35732 rm -f conftest.$ac_objext
35733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35734 (eval $ac_compile) 2>conftest.er1
35735 ac_status=$?
35736 grep -v '^ *+' conftest.er1 >conftest.err
35737 rm -f conftest.er1
35738 cat conftest.err >&5
35739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35740 (exit $ac_status); } &&
35741 { ac_try='test -z "$ac_c_werror_flag"
35742 || test ! -s conftest.err'
35743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35744 (eval $ac_try) 2>&5
35745 ac_status=$?
35746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35747 (exit $ac_status); }; } &&
35748 { ac_try='test -s conftest.$ac_objext'
35749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35750 (eval $ac_try) 2>&5
35751 ac_status=$?
35752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35753 (exit $ac_status); }; }; then
35754 wx_cv_type_getsockname3=socklen_t
35755 else
35756 echo "$as_me: failed program was:" >&5
35757 sed 's/^/| /' conftest.$ac_ext >&5
35758
35759
35760 CFLAGS_OLD="$CFLAGS"
35761 if test "$GCC" = yes ; then
35762 CFLAGS="$CFLAGS -Werror"
35763 fi
35764
35765 cat >conftest.$ac_ext <<_ACEOF
35766 /* confdefs.h. */
35767 _ACEOF
35768 cat confdefs.h >>conftest.$ac_ext
35769 cat >>conftest.$ac_ext <<_ACEOF
35770 /* end confdefs.h. */
35771
35772 #include <sys/types.h>
35773 #include <sys/socket.h>
35774
35775 int
35776 main ()
35777 {
35778
35779 size_t len;
35780 getsockname(0, 0, &len);
35781
35782 ;
35783 return 0;
35784 }
35785 _ACEOF
35786 rm -f conftest.$ac_objext
35787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35788 (eval $ac_compile) 2>conftest.er1
35789 ac_status=$?
35790 grep -v '^ *+' conftest.er1 >conftest.err
35791 rm -f conftest.er1
35792 cat conftest.err >&5
35793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35794 (exit $ac_status); } &&
35795 { ac_try='test -z "$ac_c_werror_flag"
35796 || test ! -s conftest.err'
35797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35798 (eval $ac_try) 2>&5
35799 ac_status=$?
35800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35801 (exit $ac_status); }; } &&
35802 { ac_try='test -s conftest.$ac_objext'
35803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35804 (eval $ac_try) 2>&5
35805 ac_status=$?
35806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35807 (exit $ac_status); }; }; then
35808 wx_cv_type_getsockname3=size_t
35809 else
35810 echo "$as_me: failed program was:" >&5
35811 sed 's/^/| /' conftest.$ac_ext >&5
35812
35813 cat >conftest.$ac_ext <<_ACEOF
35814 /* confdefs.h. */
35815 _ACEOF
35816 cat confdefs.h >>conftest.$ac_ext
35817 cat >>conftest.$ac_ext <<_ACEOF
35818 /* end confdefs.h. */
35819
35820 #include <sys/types.h>
35821 #include <sys/socket.h>
35822
35823 int
35824 main ()
35825 {
35826
35827 int len;
35828 getsockname(0, 0, &len);
35829
35830 ;
35831 return 0;
35832 }
35833 _ACEOF
35834 rm -f conftest.$ac_objext
35835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35836 (eval $ac_compile) 2>conftest.er1
35837 ac_status=$?
35838 grep -v '^ *+' conftest.er1 >conftest.err
35839 rm -f conftest.er1
35840 cat conftest.err >&5
35841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35842 (exit $ac_status); } &&
35843 { ac_try='test -z "$ac_c_werror_flag"
35844 || test ! -s conftest.err'
35845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35846 (eval $ac_try) 2>&5
35847 ac_status=$?
35848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35849 (exit $ac_status); }; } &&
35850 { ac_try='test -s conftest.$ac_objext'
35851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35852 (eval $ac_try) 2>&5
35853 ac_status=$?
35854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35855 (exit $ac_status); }; }; then
35856 wx_cv_type_getsockname3=int
35857 else
35858 echo "$as_me: failed program was:" >&5
35859 sed 's/^/| /' conftest.$ac_ext >&5
35860
35861 wx_cv_type_getsockname3=unknown
35862
35863 fi
35864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35865
35866 fi
35867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35868
35869 CFLAGS="$CFLAGS_OLD"
35870
35871
35872 fi
35873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35874
35875 fi
35876 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35877 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35878
35879 if test "$wx_cv_type_getsockname3" = "unknown"; then
35880 wxUSE_SOCKETS=no
35881 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35882 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35883 else
35884 cat >>confdefs.h <<_ACEOF
35885 #define SOCKLEN_T $wx_cv_type_getsockname3
35886 _ACEOF
35887
35888 fi
35889 fi
35890 fi
35891
35892 if test "$wxUSE_SOCKETS" = "yes" ; then
35893 cat >>confdefs.h <<\_ACEOF
35894 #define wxUSE_SOCKETS 1
35895 _ACEOF
35896
35897 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35898 fi
35899
35900 if test "$wxUSE_PROTOCOL" = "yes"; then
35901 if test "$wxUSE_SOCKETS" != "yes"; then
35902 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35903 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35904 wxUSE_PROTOCOL=no
35905 fi
35906 fi
35907
35908 if test "$wxUSE_PROTOCOL" = "yes"; then
35909 cat >>confdefs.h <<\_ACEOF
35910 #define wxUSE_PROTOCOL 1
35911 _ACEOF
35912
35913
35914 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35915 cat >>confdefs.h <<\_ACEOF
35916 #define wxUSE_PROTOCOL_HTTP 1
35917 _ACEOF
35918
35919 fi
35920 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35921 cat >>confdefs.h <<\_ACEOF
35922 #define wxUSE_PROTOCOL_FTP 1
35923 _ACEOF
35924
35925 fi
35926 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35927 cat >>confdefs.h <<\_ACEOF
35928 #define wxUSE_PROTOCOL_FILE 1
35929 _ACEOF
35930
35931 fi
35932 else
35933 if test "$wxUSE_FS_INET" = "yes"; then
35934 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35935 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35936 wxUSE_FS_INET="no"
35937 fi
35938 fi
35939
35940 if test "$wxUSE_URL" = "yes"; then
35941 if test "$wxUSE_PROTOCOL" != "yes"; then
35942 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35943 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35944 wxUSE_URL=no
35945 fi
35946 if test "$wxUSE_URL" = "yes"; then
35947 cat >>confdefs.h <<\_ACEOF
35948 #define wxUSE_URL 1
35949 _ACEOF
35950
35951 fi
35952 fi
35953
35954 if test "$wxUSE_FS_INET" = "yes"; then
35955 cat >>confdefs.h <<\_ACEOF
35956 #define wxUSE_FS_INET 1
35957 _ACEOF
35958
35959 fi
35960
35961
35962 if test "$wxUSE_GUI" = "yes"; then
35963
35964 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
35965 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
35966 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
35967 wxUSE_JOYSTICK=no
35968 fi
35969
35970 if test "$TOOLKIT" != "MSW"; then
35971 if test "$wxUSE_JOYSTICK" = "yes"; then
35972
35973 for ac_header in linux/joystick.h
35974 do
35975 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35976 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35977 echo "$as_me:$LINENO: checking for $ac_header" >&5
35978 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35979 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35980 echo $ECHO_N "(cached) $ECHO_C" >&6
35981 fi
35982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35983 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35984 else
35985 # Is the header compilable?
35986 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35987 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35988 cat >conftest.$ac_ext <<_ACEOF
35989 /* confdefs.h. */
35990 _ACEOF
35991 cat confdefs.h >>conftest.$ac_ext
35992 cat >>conftest.$ac_ext <<_ACEOF
35993 /* end confdefs.h. */
35994 $ac_includes_default
35995 #include <$ac_header>
35996 _ACEOF
35997 rm -f conftest.$ac_objext
35998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35999 (eval $ac_compile) 2>conftest.er1
36000 ac_status=$?
36001 grep -v '^ *+' conftest.er1 >conftest.err
36002 rm -f conftest.er1
36003 cat conftest.err >&5
36004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36005 (exit $ac_status); } &&
36006 { ac_try='test -z "$ac_c_werror_flag"
36007 || test ! -s conftest.err'
36008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36009 (eval $ac_try) 2>&5
36010 ac_status=$?
36011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36012 (exit $ac_status); }; } &&
36013 { ac_try='test -s conftest.$ac_objext'
36014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36015 (eval $ac_try) 2>&5
36016 ac_status=$?
36017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36018 (exit $ac_status); }; }; then
36019 ac_header_compiler=yes
36020 else
36021 echo "$as_me: failed program was:" >&5
36022 sed 's/^/| /' conftest.$ac_ext >&5
36023
36024 ac_header_compiler=no
36025 fi
36026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36027 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36028 echo "${ECHO_T}$ac_header_compiler" >&6
36029
36030 # Is the header present?
36031 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36032 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36033 cat >conftest.$ac_ext <<_ACEOF
36034 /* confdefs.h. */
36035 _ACEOF
36036 cat confdefs.h >>conftest.$ac_ext
36037 cat >>conftest.$ac_ext <<_ACEOF
36038 /* end confdefs.h. */
36039 #include <$ac_header>
36040 _ACEOF
36041 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36042 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36043 ac_status=$?
36044 grep -v '^ *+' conftest.er1 >conftest.err
36045 rm -f conftest.er1
36046 cat conftest.err >&5
36047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36048 (exit $ac_status); } >/dev/null; then
36049 if test -s conftest.err; then
36050 ac_cpp_err=$ac_c_preproc_warn_flag
36051 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36052 else
36053 ac_cpp_err=
36054 fi
36055 else
36056 ac_cpp_err=yes
36057 fi
36058 if test -z "$ac_cpp_err"; then
36059 ac_header_preproc=yes
36060 else
36061 echo "$as_me: failed program was:" >&5
36062 sed 's/^/| /' conftest.$ac_ext >&5
36063
36064 ac_header_preproc=no
36065 fi
36066 rm -f conftest.err conftest.$ac_ext
36067 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36068 echo "${ECHO_T}$ac_header_preproc" >&6
36069
36070 # So? What about this header?
36071 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36072 yes:no: )
36073 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36074 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36075 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36076 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36077 ac_header_preproc=yes
36078 ;;
36079 no:yes:* )
36080 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36081 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36082 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36083 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36084 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36085 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36086 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36087 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36088 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36089 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36090 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36091 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36092 (
36093 cat <<\_ASBOX
36094 ## ----------------------------------------- ##
36095 ## Report this to wx-dev@lists.wxwindows.org ##
36096 ## ----------------------------------------- ##
36097 _ASBOX
36098 ) |
36099 sed "s/^/$as_me: WARNING: /" >&2
36100 ;;
36101 esac
36102 echo "$as_me:$LINENO: checking for $ac_header" >&5
36103 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36104 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36105 echo $ECHO_N "(cached) $ECHO_C" >&6
36106 else
36107 eval "$as_ac_Header=\$ac_header_preproc"
36108 fi
36109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36110 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36111
36112 fi
36113 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36114 cat >>confdefs.h <<_ACEOF
36115 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36116 _ACEOF
36117
36118 fi
36119
36120 done
36121
36122 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
36123 wxUSE_JOYSTICK=no
36124 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
36125 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
36126 fi
36127 fi
36128 fi
36129
36130 if test "$wxUSE_JOYSTICK" = "yes"; then
36131 cat >>confdefs.h <<\_ACEOF
36132 #define wxUSE_JOYSTICK 1
36133 _ACEOF
36134
36135 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
36136 fi
36137 fi
36138
36139
36140
36141
36142 if test "$wxUSE_FONTMAP" = "yes" ; then
36143 cat >>confdefs.h <<\_ACEOF
36144 #define wxUSE_FONTMAP 1
36145 _ACEOF
36146
36147 fi
36148
36149 if test "$wxUSE_UNICODE" = "yes" ; then
36150 cat >>confdefs.h <<\_ACEOF
36151 #define wxUSE_UNICODE 1
36152 _ACEOF
36153
36154
36155 if test "$USE_WIN32" != 1; then
36156 wxUSE_UNICODE_MSLU=no
36157 fi
36158
36159 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
36160 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
36161 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
36162 if test "${ac_cv_lib_unicows_main+set}" = set; then
36163 echo $ECHO_N "(cached) $ECHO_C" >&6
36164 else
36165 ac_check_lib_save_LIBS=$LIBS
36166 LIBS="-lunicows $LIBS"
36167 cat >conftest.$ac_ext <<_ACEOF
36168 /* confdefs.h. */
36169 _ACEOF
36170 cat confdefs.h >>conftest.$ac_ext
36171 cat >>conftest.$ac_ext <<_ACEOF
36172 /* end confdefs.h. */
36173
36174
36175 int
36176 main ()
36177 {
36178 main ();
36179 ;
36180 return 0;
36181 }
36182 _ACEOF
36183 rm -f conftest.$ac_objext conftest$ac_exeext
36184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36185 (eval $ac_link) 2>conftest.er1
36186 ac_status=$?
36187 grep -v '^ *+' conftest.er1 >conftest.err
36188 rm -f conftest.er1
36189 cat conftest.err >&5
36190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36191 (exit $ac_status); } &&
36192 { ac_try='test -z "$ac_c_werror_flag"
36193 || test ! -s conftest.err'
36194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36195 (eval $ac_try) 2>&5
36196 ac_status=$?
36197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36198 (exit $ac_status); }; } &&
36199 { ac_try='test -s conftest$ac_exeext'
36200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36201 (eval $ac_try) 2>&5
36202 ac_status=$?
36203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36204 (exit $ac_status); }; }; then
36205 ac_cv_lib_unicows_main=yes
36206 else
36207 echo "$as_me: failed program was:" >&5
36208 sed 's/^/| /' conftest.$ac_ext >&5
36209
36210 ac_cv_lib_unicows_main=no
36211 fi
36212 rm -f conftest.err conftest.$ac_objext \
36213 conftest$ac_exeext conftest.$ac_ext
36214 LIBS=$ac_check_lib_save_LIBS
36215 fi
36216 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
36217 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
36218 if test $ac_cv_lib_unicows_main = yes; then
36219
36220 cat >>confdefs.h <<\_ACEOF
36221 #define wxUSE_UNICODE_MSLU 1
36222 _ACEOF
36223
36224
36225 else
36226
36227 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36228 Applications will only run on Windows NT/2000/XP!" >&5
36229 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36230 Applications will only run on Windows NT/2000/XP!" >&2;}
36231 wxUSE_UNICODE_MSLU=no
36232
36233 fi
36234
36235 fi
36236 fi
36237
36238 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
36239 cat >>confdefs.h <<\_ACEOF
36240 #define wxUSE_EXPERIMENTAL_PRINTF 1
36241 _ACEOF
36242
36243 fi
36244
36245
36246 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36247 cat >>confdefs.h <<\_ACEOF
36248 #define wxUSE_POSTSCRIPT 1
36249 _ACEOF
36250
36251 fi
36252
36253 cat >>confdefs.h <<\_ACEOF
36254 #define wxUSE_AFM_FOR_POSTSCRIPT 1
36255 _ACEOF
36256
36257
36258 cat >>confdefs.h <<\_ACEOF
36259 #define wxUSE_NORMALIZED_PS_FONTS 1
36260 _ACEOF
36261
36262
36263
36264 if test "$wxUSE_CONSTRAINTS" = "yes"; then
36265 cat >>confdefs.h <<\_ACEOF
36266 #define wxUSE_CONSTRAINTS 1
36267 _ACEOF
36268
36269 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
36270 fi
36271
36272 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36273 cat >>confdefs.h <<\_ACEOF
36274 #define wxUSE_MDI_ARCHITECTURE 1
36275 _ACEOF
36276
36277 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
36278 fi
36279
36280 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36281 cat >>confdefs.h <<\_ACEOF
36282 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
36283 _ACEOF
36284
36285 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
36286 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36287 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
36288 fi
36289 fi
36290
36291 if test "$wxUSE_HELP" = "yes"; then
36292 cat >>confdefs.h <<\_ACEOF
36293 #define wxUSE_HELP 1
36294 _ACEOF
36295
36296 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
36297
36298 if test "$wxUSE_MSW" = 1; then
36299 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36300 cat >>confdefs.h <<\_ACEOF
36301 #define wxUSE_MS_HTML_HELP 1
36302 _ACEOF
36303
36304 fi
36305 fi
36306
36307 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36308 if test "$wxUSE_HTML" = "yes"; then
36309 cat >>confdefs.h <<\_ACEOF
36310 #define wxUSE_WXHTML_HELP 1
36311 _ACEOF
36312
36313 else
36314 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36315 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36316 wxUSE_WXHTML_HELP=no
36317 fi
36318 fi
36319 fi
36320
36321 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36322 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36323 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36324 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36325 else
36326 cat >>confdefs.h <<\_ACEOF
36327 #define wxUSE_PRINTING_ARCHITECTURE 1
36328 _ACEOF
36329
36330 fi
36331 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
36332 fi
36333
36334 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36335 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36336 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36337 { (exit 1); exit 1; }; }
36338 fi
36339
36340
36341 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
36342 -o "$wxUSE_CLIPBOARD" = "yes" \
36343 -o "$wxUSE_OLE" = "yes" \
36344 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
36345
36346 for ac_header in ole2.h
36347 do
36348 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36349 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36350 echo "$as_me:$LINENO: checking for $ac_header" >&5
36351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36352 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36353 echo $ECHO_N "(cached) $ECHO_C" >&6
36354 fi
36355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36356 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36357 else
36358 # Is the header compilable?
36359 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36360 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36361 cat >conftest.$ac_ext <<_ACEOF
36362 /* confdefs.h. */
36363 _ACEOF
36364 cat confdefs.h >>conftest.$ac_ext
36365 cat >>conftest.$ac_ext <<_ACEOF
36366 /* end confdefs.h. */
36367 $ac_includes_default
36368 #include <$ac_header>
36369 _ACEOF
36370 rm -f conftest.$ac_objext
36371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36372 (eval $ac_compile) 2>conftest.er1
36373 ac_status=$?
36374 grep -v '^ *+' conftest.er1 >conftest.err
36375 rm -f conftest.er1
36376 cat conftest.err >&5
36377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36378 (exit $ac_status); } &&
36379 { ac_try='test -z "$ac_c_werror_flag"
36380 || test ! -s conftest.err'
36381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36382 (eval $ac_try) 2>&5
36383 ac_status=$?
36384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36385 (exit $ac_status); }; } &&
36386 { ac_try='test -s conftest.$ac_objext'
36387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36388 (eval $ac_try) 2>&5
36389 ac_status=$?
36390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36391 (exit $ac_status); }; }; then
36392 ac_header_compiler=yes
36393 else
36394 echo "$as_me: failed program was:" >&5
36395 sed 's/^/| /' conftest.$ac_ext >&5
36396
36397 ac_header_compiler=no
36398 fi
36399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36400 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36401 echo "${ECHO_T}$ac_header_compiler" >&6
36402
36403 # Is the header present?
36404 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36405 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36406 cat >conftest.$ac_ext <<_ACEOF
36407 /* confdefs.h. */
36408 _ACEOF
36409 cat confdefs.h >>conftest.$ac_ext
36410 cat >>conftest.$ac_ext <<_ACEOF
36411 /* end confdefs.h. */
36412 #include <$ac_header>
36413 _ACEOF
36414 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36415 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36416 ac_status=$?
36417 grep -v '^ *+' conftest.er1 >conftest.err
36418 rm -f conftest.er1
36419 cat conftest.err >&5
36420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36421 (exit $ac_status); } >/dev/null; then
36422 if test -s conftest.err; then
36423 ac_cpp_err=$ac_c_preproc_warn_flag
36424 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36425 else
36426 ac_cpp_err=
36427 fi
36428 else
36429 ac_cpp_err=yes
36430 fi
36431 if test -z "$ac_cpp_err"; then
36432 ac_header_preproc=yes
36433 else
36434 echo "$as_me: failed program was:" >&5
36435 sed 's/^/| /' conftest.$ac_ext >&5
36436
36437 ac_header_preproc=no
36438 fi
36439 rm -f conftest.err conftest.$ac_ext
36440 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36441 echo "${ECHO_T}$ac_header_preproc" >&6
36442
36443 # So? What about this header?
36444 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36445 yes:no: )
36446 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36447 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36448 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36449 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36450 ac_header_preproc=yes
36451 ;;
36452 no:yes:* )
36453 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36454 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36455 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36456 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36457 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36458 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36459 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36460 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36461 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36462 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36463 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36464 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36465 (
36466 cat <<\_ASBOX
36467 ## ----------------------------------------- ##
36468 ## Report this to wx-dev@lists.wxwindows.org ##
36469 ## ----------------------------------------- ##
36470 _ASBOX
36471 ) |
36472 sed "s/^/$as_me: WARNING: /" >&2
36473 ;;
36474 esac
36475 echo "$as_me:$LINENO: checking for $ac_header" >&5
36476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36478 echo $ECHO_N "(cached) $ECHO_C" >&6
36479 else
36480 eval "$as_ac_Header=\$ac_header_preproc"
36481 fi
36482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36484
36485 fi
36486 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36487 cat >>confdefs.h <<_ACEOF
36488 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36489 _ACEOF
36490
36491 fi
36492
36493 done
36494
36495
36496 if test "$ac_cv_header_ole2_h" = "yes" ; then
36497 if test "$GCC" = yes ; then
36498
36499
36500 ac_ext=cc
36501 ac_cpp='$CXXCPP $CPPFLAGS'
36502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36505
36506
36507 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36508 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36509 cat >conftest.$ac_ext <<_ACEOF
36510 /* confdefs.h. */
36511 _ACEOF
36512 cat confdefs.h >>conftest.$ac_ext
36513 cat >>conftest.$ac_ext <<_ACEOF
36514 /* end confdefs.h. */
36515 #include <windows.h>
36516 #include <ole2.h>
36517 int
36518 main ()
36519 {
36520
36521 ;
36522 return 0;
36523 }
36524 _ACEOF
36525 rm -f conftest.$ac_objext
36526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36527 (eval $ac_compile) 2>conftest.er1
36528 ac_status=$?
36529 grep -v '^ *+' conftest.er1 >conftest.err
36530 rm -f conftest.er1
36531 cat conftest.err >&5
36532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36533 (exit $ac_status); } &&
36534 { ac_try='test -z "$ac_cxx_werror_flag"
36535 || test ! -s conftest.err'
36536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36537 (eval $ac_try) 2>&5
36538 ac_status=$?
36539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36540 (exit $ac_status); }; } &&
36541 { ac_try='test -s conftest.$ac_objext'
36542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36543 (eval $ac_try) 2>&5
36544 ac_status=$?
36545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36546 (exit $ac_status); }; }; then
36547 echo "$as_me:$LINENO: result: no" >&5
36548 echo "${ECHO_T}no" >&6
36549 else
36550 echo "$as_me: failed program was:" >&5
36551 sed 's/^/| /' conftest.$ac_ext >&5
36552
36553 echo "$as_me:$LINENO: result: yes" >&5
36554 echo "${ECHO_T}yes" >&6
36555 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36556 fi
36557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36558 ac_ext=c
36559 ac_cpp='$CPP $CPPFLAGS'
36560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36563
36564 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
36565 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36566 if test "$wxUSE_OLE" = "yes" ; then
36567 cat >>confdefs.h <<\_ACEOF
36568 #define wxUSE_OLE 1
36569 _ACEOF
36570
36571 fi
36572 fi
36573
36574 if test "$wxUSE_DATAOBJ" = "yes" ; then
36575 cat >>confdefs.h <<\_ACEOF
36576 #define wxUSE_DATAOBJ 1
36577 _ACEOF
36578
36579 fi
36580 else
36581 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36582 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36583
36584 wxUSE_CLIPBOARD=no
36585 wxUSE_DRAG_AND_DROP=no
36586 wxUSE_DATAOBJ=no
36587 wxUSE_OLE=no
36588 fi
36589
36590 if test "$wxUSE_METAFILE" = "yes"; then
36591 cat >>confdefs.h <<\_ACEOF
36592 #define wxUSE_METAFILE 1
36593 _ACEOF
36594
36595
36596 cat >>confdefs.h <<\_ACEOF
36597 #define wxUSE_ENH_METAFILE 1
36598 _ACEOF
36599
36600 fi
36601 fi
36602
36603 if test "$wxUSE_IPC" = "yes"; then
36604 if test "$wxUSE_SOCKETS" != "yes"; then
36605 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
36606 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
36607 fi
36608
36609 cat >>confdefs.h <<\_ACEOF
36610 #define wxUSE_IPC 1
36611 _ACEOF
36612
36613 fi
36614
36615 if test "$wxUSE_CLIPBOARD" = "yes"; then
36616 if test "$wxUSE_MGL" = 1; then
36617 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36618 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36619 wxUSE_CLIPBOARD=no
36620 fi
36621
36622 if test "$wxUSE_CLIPBOARD" = "yes"; then
36623 cat >>confdefs.h <<\_ACEOF
36624 #define wxUSE_CLIPBOARD 1
36625 _ACEOF
36626
36627
36628 cat >>confdefs.h <<\_ACEOF
36629 #define wxUSE_DATAOBJ 1
36630 _ACEOF
36631
36632 fi
36633 fi
36634
36635 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36636 if test "$wxUSE_GTK" = 1; then
36637 if test "$WXGTK12" != 1; then
36638 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36639 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36640 wxUSE_DRAG_AND_DROP=no
36641 fi
36642 fi
36643
36644 if test "$wxUSE_MOTIF" = 1; then
36645 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36646 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36647 wxUSE_DRAG_AND_DROP=no
36648 fi
36649
36650 if test "$wxUSE_X11" = 1; then
36651 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36652 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36653 wxUSE_DRAG_AND_DROP=no
36654 fi
36655
36656 if test "$wxUSE_MGL" = 1; then
36657 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36658 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36659 wxUSE_DRAG_AND_DROP=no
36660 fi
36661
36662 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36663 cat >>confdefs.h <<\_ACEOF
36664 #define wxUSE_DRAG_AND_DROP 1
36665 _ACEOF
36666
36667 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
36668 fi
36669
36670 fi
36671
36672 if test "$wxUSE_SPLINES" = "yes" ; then
36673 cat >>confdefs.h <<\_ACEOF
36674 #define wxUSE_SPLINES 1
36675 _ACEOF
36676
36677 fi
36678
36679
36680 USES_CONTROLS=0
36681 if test "$wxUSE_CONTROLS" = "yes"; then
36682 USES_CONTROLS=1
36683 fi
36684
36685 if test "$wxUSE_ACCEL" = "yes"; then
36686 cat >>confdefs.h <<\_ACEOF
36687 #define wxUSE_ACCEL 1
36688 _ACEOF
36689
36690 USES_CONTROLS=1
36691 fi
36692
36693 if test "$wxUSE_BUTTON" = "yes"; then
36694 cat >>confdefs.h <<\_ACEOF
36695 #define wxUSE_BUTTON 1
36696 _ACEOF
36697
36698 USES_CONTROLS=1
36699 fi
36700
36701 if test "$wxUSE_BMPBUTTON" = "yes"; then
36702 cat >>confdefs.h <<\_ACEOF
36703 #define wxUSE_BMPBUTTON 1
36704 _ACEOF
36705
36706 USES_CONTROLS=1
36707 fi
36708
36709 if test "$wxUSE_CALCTRL" = "yes"; then
36710 cat >>confdefs.h <<\_ACEOF
36711 #define wxUSE_CALENDARCTRL 1
36712 _ACEOF
36713
36714 USES_CONTROLS=1
36715 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
36716 fi
36717
36718 if test "$wxUSE_CARET" = "yes"; then
36719 cat >>confdefs.h <<\_ACEOF
36720 #define wxUSE_CARET 1
36721 _ACEOF
36722
36723 USES_CONTROLS=1
36724 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
36725 fi
36726
36727 if test "$wxUSE_COMBOBOX" = "yes"; then
36728 cat >>confdefs.h <<\_ACEOF
36729 #define wxUSE_COMBOBOX 1
36730 _ACEOF
36731
36732 USES_CONTROLS=1
36733 fi
36734
36735 if test "$wxUSE_CHOICE" = "yes"; then
36736 cat >>confdefs.h <<\_ACEOF
36737 #define wxUSE_CHOICE 1
36738 _ACEOF
36739
36740 USES_CONTROLS=1
36741 fi
36742
36743 if test "$wxUSE_CHECKBOX" = "yes"; then
36744 cat >>confdefs.h <<\_ACEOF
36745 #define wxUSE_CHECKBOX 1
36746 _ACEOF
36747
36748 USES_CONTROLS=1
36749 fi
36750
36751 if test "$wxUSE_CHECKLST" = "yes"; then
36752 cat >>confdefs.h <<\_ACEOF
36753 #define wxUSE_CHECKLISTBOX 1
36754 _ACEOF
36755
36756 USES_CONTROLS=1
36757 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
36758 fi
36759
36760 if test "$wxUSE_DISPLAY" = "yes"; then
36761 cat >>confdefs.h <<\_ACEOF
36762 #define wxUSE_DISPLAY 1
36763 _ACEOF
36764
36765 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
36766 fi
36767
36768 if test "$wxUSE_GAUGE" = "yes"; then
36769 cat >>confdefs.h <<\_ACEOF
36770 #define wxUSE_GAUGE 1
36771 _ACEOF
36772
36773 USES_CONTROLS=1
36774 fi
36775
36776 if test "$wxUSE_GRID" = "yes"; then
36777 cat >>confdefs.h <<\_ACEOF
36778 #define wxUSE_GRID 1
36779 _ACEOF
36780
36781 USES_CONTROLS=1
36782 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
36783 fi
36784
36785 if test "$wxUSE_IMAGLIST" = "yes"; then
36786 cat >>confdefs.h <<\_ACEOF
36787 #define wxUSE_IMAGLIST 1
36788 _ACEOF
36789
36790 fi
36791
36792 if test "$wxUSE_LISTBOOK" = "yes"; then
36793 cat >>confdefs.h <<\_ACEOF
36794 #define wxUSE_LISTBOOK 1
36795 _ACEOF
36796
36797 USES_CONTROLS=1
36798 fi
36799
36800 if test "$wxUSE_LISTBOX" = "yes"; then
36801 cat >>confdefs.h <<\_ACEOF
36802 #define wxUSE_LISTBOX 1
36803 _ACEOF
36804
36805 USES_CONTROLS=1
36806 fi
36807
36808 if test "$wxUSE_LISTCTRL" = "yes"; then
36809 if test "$wxUSE_IMAGLIST" = "yes"; then
36810 cat >>confdefs.h <<\_ACEOF
36811 #define wxUSE_LISTCTRL 1
36812 _ACEOF
36813
36814 USES_CONTROLS=1
36815 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
36816 else
36817 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36818 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36819 fi
36820 fi
36821
36822 if test "$wxUSE_NOTEBOOK" = "yes"; then
36823 cat >>confdefs.h <<\_ACEOF
36824 #define wxUSE_NOTEBOOK 1
36825 _ACEOF
36826
36827 USES_CONTROLS=1
36828 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
36829 fi
36830
36831
36832 if test "$wxUSE_RADIOBOX" = "yes"; then
36833 cat >>confdefs.h <<\_ACEOF
36834 #define wxUSE_RADIOBOX 1
36835 _ACEOF
36836
36837 USES_CONTROLS=1
36838 fi
36839
36840 if test "$wxUSE_RADIOBTN" = "yes"; then
36841 cat >>confdefs.h <<\_ACEOF
36842 #define wxUSE_RADIOBTN 1
36843 _ACEOF
36844
36845 USES_CONTROLS=1
36846 fi
36847
36848 if test "$wxUSE_SASH" = "yes"; then
36849 cat >>confdefs.h <<\_ACEOF
36850 #define wxUSE_SASH 1
36851 _ACEOF
36852
36853 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
36854 fi
36855
36856 if test "$wxUSE_SCROLLBAR" = "yes"; then
36857 cat >>confdefs.h <<\_ACEOF
36858 #define wxUSE_SCROLLBAR 1
36859 _ACEOF
36860
36861 USES_CONTROLS=1
36862 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
36863 fi
36864
36865 if test "$wxUSE_SLIDER" = "yes"; then
36866 cat >>confdefs.h <<\_ACEOF
36867 #define wxUSE_SLIDER 1
36868 _ACEOF
36869
36870 USES_CONTROLS=1
36871 fi
36872
36873 if test "$wxUSE_SPINBTN" = "yes"; then
36874 cat >>confdefs.h <<\_ACEOF
36875 #define wxUSE_SPINBTN 1
36876 _ACEOF
36877
36878 USES_CONTROLS=1
36879 fi
36880
36881 if test "$wxUSE_SPINCTRL" = "yes"; then
36882 cat >>confdefs.h <<\_ACEOF
36883 #define wxUSE_SPINCTRL 1
36884 _ACEOF
36885
36886 USES_CONTROLS=1
36887 fi
36888
36889 if test "$wxUSE_SPLITTER" = "yes"; then
36890 cat >>confdefs.h <<\_ACEOF
36891 #define wxUSE_SPLITTER 1
36892 _ACEOF
36893
36894 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
36895 fi
36896
36897 if test "$wxUSE_STATBMP" = "yes"; then
36898 cat >>confdefs.h <<\_ACEOF
36899 #define wxUSE_STATBMP 1
36900 _ACEOF
36901
36902 USES_CONTROLS=1
36903 fi
36904
36905 if test "$wxUSE_STATBOX" = "yes"; then
36906 cat >>confdefs.h <<\_ACEOF
36907 #define wxUSE_STATBOX 1
36908 _ACEOF
36909
36910 USES_CONTROLS=1
36911 fi
36912
36913 if test "$wxUSE_STATTEXT" = "yes"; then
36914 cat >>confdefs.h <<\_ACEOF
36915 #define wxUSE_STATTEXT 1
36916 _ACEOF
36917
36918 USES_CONTROLS=1
36919 fi
36920
36921 if test "$wxUSE_STATLINE" = "yes"; then
36922 cat >>confdefs.h <<\_ACEOF
36923 #define wxUSE_STATLINE 1
36924 _ACEOF
36925
36926 USES_CONTROLS=1
36927 fi
36928
36929 if test "$wxUSE_STATUSBAR" = "yes"; then
36930 cat >>confdefs.h <<\_ACEOF
36931 #define wxUSE_STATUSBAR 1
36932 _ACEOF
36933
36934 USES_CONTROLS=1
36935
36936 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
36937 fi
36938
36939 if test "$wxUSE_TABDIALOG" = "yes"; then
36940 cat >>confdefs.h <<\_ACEOF
36941 #define wxUSE_TAB_DIALOG 1
36942 _ACEOF
36943
36944 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
36945 fi
36946
36947 if test "$wxUSE_TEXTCTRL" = "yes"; then
36948 cat >>confdefs.h <<\_ACEOF
36949 #define wxUSE_TEXTCTRL 1
36950 _ACEOF
36951
36952 USES_CONTROLS=1
36953 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
36954 fi
36955
36956 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36957 if test "$wxUSE_COCOA" = 1 ; then
36958 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36959 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36960 wxUSE_TOGGLEBTN=no
36961 fi
36962 if test "$wxUSE_UNIVERSAL" = "yes"; then
36963 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
36964 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
36965 wxUSE_TOGGLEBTN=no
36966 fi
36967
36968 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36969 cat >>confdefs.h <<\_ACEOF
36970 #define wxUSE_TOGGLEBTN 1
36971 _ACEOF
36972
36973 USES_CONTROLS=1
36974 fi
36975 fi
36976
36977 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
36978 cat >>confdefs.h <<\_ACEOF
36979 #define wxUSE_TOOLBAR_SIMPLE 1
36980 _ACEOF
36981
36982 wxUSE_TOOLBAR="yes"
36983 USES_CONTROLS=1
36984 fi
36985
36986 if test "$wxUSE_TOOLBAR" = "yes"; then
36987 cat >>confdefs.h <<\_ACEOF
36988 #define wxUSE_TOOLBAR 1
36989 _ACEOF
36990
36991 USES_CONTROLS=1
36992
36993 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
36994 wxUSE_TOOLBAR_NATIVE="yes"
36995 fi
36996
36997 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
36998 cat >>confdefs.h <<\_ACEOF
36999 #define wxUSE_TOOLBAR_NATIVE 1
37000 _ACEOF
37001
37002 USES_CONTROLS=1
37003 fi
37004
37005 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
37006 fi
37007
37008 if test "$wxUSE_TOOLTIPS" = "yes"; then
37009 if test "$wxUSE_MOTIF" = 1; then
37010 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
37011 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
37012 else
37013 if test "$wxUSE_UNIVERSAL" = "yes"; then
37014 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
37015 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
37016 else
37017 cat >>confdefs.h <<\_ACEOF
37018 #define wxUSE_TOOLTIPS 1
37019 _ACEOF
37020
37021 fi
37022 fi
37023 fi
37024
37025 if test "$wxUSE_TREECTRL" = "yes"; then
37026 if test "$wxUSE_IMAGLIST" = "yes"; then
37027 cat >>confdefs.h <<\_ACEOF
37028 #define wxUSE_TREECTRL 1
37029 _ACEOF
37030
37031 USES_CONTROLS=1
37032 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
37033 else
37034 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
37035 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
37036 fi
37037 fi
37038
37039 if test "$wxUSE_POPUPWIN" = "yes"; then
37040 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
37041 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
37042 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
37043 else
37044 if test "$wxUSE_PM" = 1; then
37045 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
37046 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
37047 else
37048 cat >>confdefs.h <<\_ACEOF
37049 #define wxUSE_POPUPWIN 1
37050 _ACEOF
37051
37052
37053 USES_CONTROLS=1
37054 fi
37055 fi
37056 fi
37057
37058 if test "$wxUSE_TIPWINDOW" = "yes"; then
37059 if test "$wxUSE_PM" = 1; then
37060 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
37061 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
37062 else
37063 cat >>confdefs.h <<\_ACEOF
37064 #define wxUSE_TIPWINDOW 1
37065 _ACEOF
37066
37067 fi
37068 fi
37069
37070 if test "$USES_CONTROLS" = 1; then
37071 cat >>confdefs.h <<\_ACEOF
37072 #define wxUSE_CONTROLS 1
37073 _ACEOF
37074
37075 fi
37076
37077
37078 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
37079 cat >>confdefs.h <<\_ACEOF
37080 #define wxUSE_ACCESSIBILITY 1
37081 _ACEOF
37082
37083 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
37084 fi
37085
37086 if test "$wxUSE_DRAGIMAGE" = "yes"; then
37087 cat >>confdefs.h <<\_ACEOF
37088 #define wxUSE_DRAGIMAGE 1
37089 _ACEOF
37090
37091 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
37092 fi
37093
37094 if test "$wxUSE_EXCEPTIONS" = "yes"; then
37095 cat >>confdefs.h <<\_ACEOF
37096 #define wxUSE_EXCEPTIONS 1
37097 _ACEOF
37098
37099 fi
37100
37101 USE_HTML=0
37102 if test "$wxUSE_HTML" = "yes"; then
37103 cat >>confdefs.h <<\_ACEOF
37104 #define wxUSE_HTML 1
37105 _ACEOF
37106
37107 USE_HTML=1
37108 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
37109 fi
37110
37111 if test "$wxUSE_MENUS" = "yes"; then
37112 cat >>confdefs.h <<\_ACEOF
37113 #define wxUSE_MENUS 1
37114 _ACEOF
37115
37116 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
37117 fi
37118
37119 if test "$wxUSE_METAFILE" = "yes"; then
37120 cat >>confdefs.h <<\_ACEOF
37121 #define wxUSE_METAFILE 1
37122 _ACEOF
37123
37124 fi
37125
37126 if test "$wxUSE_MIMETYPE" = "yes"; then
37127 cat >>confdefs.h <<\_ACEOF
37128 #define wxUSE_MIMETYPE 1
37129 _ACEOF
37130
37131 fi
37132
37133 if test "$wxUSE_MINIFRAME" = "yes"; then
37134 cat >>confdefs.h <<\_ACEOF
37135 #define wxUSE_MINIFRAME 1
37136 _ACEOF
37137
37138 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
37139 fi
37140
37141 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
37142 cat >>confdefs.h <<\_ACEOF
37143 #define wxUSE_SYSTEM_OPTIONS 1
37144 _ACEOF
37145
37146 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
37147 "$TOOLKIT" = "MOTIF"; then
37148 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
37149 fi
37150 fi
37151
37152
37153 if test "$wxUSE_VALIDATORS" = "yes"; then
37154 cat >>confdefs.h <<\_ACEOF
37155 #define wxUSE_VALIDATORS 1
37156 _ACEOF
37157
37158 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
37159 fi
37160
37161 if test "$wxUSE_PALETTE" = "yes" ; then
37162 cat >>confdefs.h <<\_ACEOF
37163 #define wxUSE_PALETTE 1
37164 _ACEOF
37165
37166 fi
37167
37168 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
37169 LIBS=" -lunicows $LIBS"
37170 fi
37171
37172
37173 if test "$wxUSE_IMAGE" = "yes" ; then
37174 cat >>confdefs.h <<\_ACEOF
37175 #define wxUSE_IMAGE 1
37176 _ACEOF
37177
37178
37179 if test "$wxUSE_GIF" = "yes" ; then
37180 cat >>confdefs.h <<\_ACEOF
37181 #define wxUSE_GIF 1
37182 _ACEOF
37183
37184 fi
37185
37186 if test "$wxUSE_PCX" = "yes" ; then
37187 cat >>confdefs.h <<\_ACEOF
37188 #define wxUSE_PCX 1
37189 _ACEOF
37190
37191 fi
37192
37193 if test "$wxUSE_IFF" = "yes" ; then
37194 cat >>confdefs.h <<\_ACEOF
37195 #define wxUSE_IFF 1
37196 _ACEOF
37197
37198 fi
37199
37200 if test "$wxUSE_PNM" = "yes" ; then
37201 cat >>confdefs.h <<\_ACEOF
37202 #define wxUSE_PNM 1
37203 _ACEOF
37204
37205 fi
37206
37207 if test "$wxUSE_XPM" = "yes" ; then
37208 cat >>confdefs.h <<\_ACEOF
37209 #define wxUSE_XPM 1
37210 _ACEOF
37211
37212 fi
37213
37214 if test "$wxUSE_ICO_CUR" = "yes" ; then
37215 cat >>confdefs.h <<\_ACEOF
37216 #define wxUSE_ICO_CUR 1
37217 _ACEOF
37218
37219 fi
37220 fi
37221
37222
37223 if test "$wxUSE_CHOICEDLG" = "yes"; then
37224 cat >>confdefs.h <<\_ACEOF
37225 #define wxUSE_CHOICEDLG 1
37226 _ACEOF
37227
37228 fi
37229
37230 if test "$wxUSE_COLOURDLG" = "yes"; then
37231 cat >>confdefs.h <<\_ACEOF
37232 #define wxUSE_COLOURDLG 1
37233 _ACEOF
37234
37235 fi
37236
37237 if test "$wxUSE_FILEDLG" = "yes"; then
37238 cat >>confdefs.h <<\_ACEOF
37239 #define wxUSE_FILEDLG 1
37240 _ACEOF
37241
37242 fi
37243
37244 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37245 cat >>confdefs.h <<\_ACEOF
37246 #define wxUSE_FINDREPLDLG 1
37247 _ACEOF
37248
37249 fi
37250
37251 if test "$wxUSE_FONTDLG" = "yes"; then
37252 cat >>confdefs.h <<\_ACEOF
37253 #define wxUSE_FONTDLG 1
37254 _ACEOF
37255
37256 fi
37257
37258 if test "$wxUSE_DIRDLG" = "yes"; then
37259 if test "$wxUSE_TREECTRL" != "yes"; then
37260 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37261 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37262 else
37263 cat >>confdefs.h <<\_ACEOF
37264 #define wxUSE_DIRDLG 1
37265 _ACEOF
37266
37267 fi
37268 fi
37269
37270 if test "$wxUSE_MSGDLG" = "yes"; then
37271 cat >>confdefs.h <<\_ACEOF
37272 #define wxUSE_MSGDLG 1
37273 _ACEOF
37274
37275 fi
37276
37277 if test "$wxUSE_NUMBERDLG" = "yes"; then
37278 cat >>confdefs.h <<\_ACEOF
37279 #define wxUSE_NUMBERDLG 1
37280 _ACEOF
37281
37282 fi
37283
37284 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37285 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37286 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37287 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37288 else
37289 cat >>confdefs.h <<\_ACEOF
37290 #define wxUSE_PROGRESSDLG 1
37291 _ACEOF
37292
37293 fi
37294 fi
37295
37296 if test "$wxUSE_SPLASH" = "yes"; then
37297 cat >>confdefs.h <<\_ACEOF
37298 #define wxUSE_SPLASH 1
37299 _ACEOF
37300
37301 fi
37302
37303 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37304 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37305 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37306 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37307 else
37308 cat >>confdefs.h <<\_ACEOF
37309 #define wxUSE_STARTUP_TIPS 1
37310 _ACEOF
37311
37312 fi
37313 fi
37314
37315 if test "$wxUSE_TEXTDLG" = "yes"; then
37316 cat >>confdefs.h <<\_ACEOF
37317 #define wxUSE_TEXTDLG 1
37318 _ACEOF
37319
37320 fi
37321
37322 if test "$wxUSE_WIZARDDLG" = "yes"; then
37323 cat >>confdefs.h <<\_ACEOF
37324 #define wxUSE_WIZARDDLG 1
37325 _ACEOF
37326
37327 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
37328 fi
37329
37330
37331 if test "$cross_compiling" = "yes"; then
37332 OSINFO="\"$host\""
37333 else
37334 OSINFO=`uname -s -r -m`
37335 OSINFO="\"$OSINFO\""
37336 fi
37337
37338 cat >>confdefs.h <<_ACEOF
37339 #define WXWIN_OS_DESCRIPTION $OSINFO
37340 _ACEOF
37341
37342
37343
37344 if test "x$prefix" != "xNONE"; then
37345 wxPREFIX=$prefix
37346 else
37347 wxPREFIX=$ac_default_prefix
37348 fi
37349
37350 cat >>confdefs.h <<_ACEOF
37351 #define wxINSTALL_PREFIX "$wxPREFIX"
37352 _ACEOF
37353
37354
37355 top_builddir_wxconfig=`pwd`
37356
37357
37358
37359 CORE_BASE_LIBS="net base"
37360 CORE_GUI_LIBS="adv core"
37361
37362 if test "$wxUSE_XML" = "yes" ; then
37363 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
37364 fi
37365 if test "$wxUSE_ODBC" != "no" ; then
37366 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
37367 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
37368 fi
37369 if test "$wxUSE_HTML" = "yes" ; then
37370 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
37371 fi
37372
37373 if test "$wxUSE_GUI" != "yes"; then
37374 CORE_GUI_LIBS=""
37375 fi
37376
37377
37378
37379
37380
37381
37382
37383
37384 if test "$wxUSE_MAC" = 1 ; then
37385 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
37386 fi
37387 if test "$wxUSE_COCOA" = 1 ; then
37388 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
37389 fi
37390
37391
37392 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37393
37394 have_cos=0
37395 have_floor=0
37396
37397 for ac_func in cos
37398 do
37399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37400 echo "$as_me:$LINENO: checking for $ac_func" >&5
37401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37402 if eval "test \"\${$as_ac_var+set}\" = set"; then
37403 echo $ECHO_N "(cached) $ECHO_C" >&6
37404 else
37405 cat >conftest.$ac_ext <<_ACEOF
37406 /* confdefs.h. */
37407 _ACEOF
37408 cat confdefs.h >>conftest.$ac_ext
37409 cat >>conftest.$ac_ext <<_ACEOF
37410 /* end confdefs.h. */
37411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37413 #define $ac_func innocuous_$ac_func
37414
37415 /* System header to define __stub macros and hopefully few prototypes,
37416 which can conflict with char $ac_func (); below.
37417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37418 <limits.h> exists even on freestanding compilers. */
37419
37420 #ifdef __STDC__
37421 # include <limits.h>
37422 #else
37423 # include <assert.h>
37424 #endif
37425
37426 #undef $ac_func
37427
37428 /* Override any gcc2 internal prototype to avoid an error. */
37429 #ifdef __cplusplus
37430 extern "C"
37431 {
37432 #endif
37433 /* We use char because int might match the return type of a gcc2
37434 builtin and then its argument prototype would still apply. */
37435 char $ac_func ();
37436 /* The GNU C library defines this for functions which it implements
37437 to always fail with ENOSYS. Some functions are actually named
37438 something starting with __ and the normal name is an alias. */
37439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37440 choke me
37441 #else
37442 char (*f) () = $ac_func;
37443 #endif
37444 #ifdef __cplusplus
37445 }
37446 #endif
37447
37448 int
37449 main ()
37450 {
37451 return f != $ac_func;
37452 ;
37453 return 0;
37454 }
37455 _ACEOF
37456 rm -f conftest.$ac_objext conftest$ac_exeext
37457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37458 (eval $ac_link) 2>conftest.er1
37459 ac_status=$?
37460 grep -v '^ *+' conftest.er1 >conftest.err
37461 rm -f conftest.er1
37462 cat conftest.err >&5
37463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37464 (exit $ac_status); } &&
37465 { ac_try='test -z "$ac_c_werror_flag"
37466 || test ! -s conftest.err'
37467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37468 (eval $ac_try) 2>&5
37469 ac_status=$?
37470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37471 (exit $ac_status); }; } &&
37472 { ac_try='test -s conftest$ac_exeext'
37473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37474 (eval $ac_try) 2>&5
37475 ac_status=$?
37476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37477 (exit $ac_status); }; }; then
37478 eval "$as_ac_var=yes"
37479 else
37480 echo "$as_me: failed program was:" >&5
37481 sed 's/^/| /' conftest.$ac_ext >&5
37482
37483 eval "$as_ac_var=no"
37484 fi
37485 rm -f conftest.err conftest.$ac_objext \
37486 conftest$ac_exeext conftest.$ac_ext
37487 fi
37488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37490 if test `eval echo '${'$as_ac_var'}'` = yes; then
37491 cat >>confdefs.h <<_ACEOF
37492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37493 _ACEOF
37494 have_cos=1
37495 fi
37496 done
37497
37498
37499 for ac_func in floor
37500 do
37501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37502 echo "$as_me:$LINENO: checking for $ac_func" >&5
37503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37504 if eval "test \"\${$as_ac_var+set}\" = set"; then
37505 echo $ECHO_N "(cached) $ECHO_C" >&6
37506 else
37507 cat >conftest.$ac_ext <<_ACEOF
37508 /* confdefs.h. */
37509 _ACEOF
37510 cat confdefs.h >>conftest.$ac_ext
37511 cat >>conftest.$ac_ext <<_ACEOF
37512 /* end confdefs.h. */
37513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37515 #define $ac_func innocuous_$ac_func
37516
37517 /* System header to define __stub macros and hopefully few prototypes,
37518 which can conflict with char $ac_func (); below.
37519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37520 <limits.h> exists even on freestanding compilers. */
37521
37522 #ifdef __STDC__
37523 # include <limits.h>
37524 #else
37525 # include <assert.h>
37526 #endif
37527
37528 #undef $ac_func
37529
37530 /* Override any gcc2 internal prototype to avoid an error. */
37531 #ifdef __cplusplus
37532 extern "C"
37533 {
37534 #endif
37535 /* We use char because int might match the return type of a gcc2
37536 builtin and then its argument prototype would still apply. */
37537 char $ac_func ();
37538 /* The GNU C library defines this for functions which it implements
37539 to always fail with ENOSYS. Some functions are actually named
37540 something starting with __ and the normal name is an alias. */
37541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37542 choke me
37543 #else
37544 char (*f) () = $ac_func;
37545 #endif
37546 #ifdef __cplusplus
37547 }
37548 #endif
37549
37550 int
37551 main ()
37552 {
37553 return f != $ac_func;
37554 ;
37555 return 0;
37556 }
37557 _ACEOF
37558 rm -f conftest.$ac_objext conftest$ac_exeext
37559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37560 (eval $ac_link) 2>conftest.er1
37561 ac_status=$?
37562 grep -v '^ *+' conftest.er1 >conftest.err
37563 rm -f conftest.er1
37564 cat conftest.err >&5
37565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37566 (exit $ac_status); } &&
37567 { ac_try='test -z "$ac_c_werror_flag"
37568 || test ! -s conftest.err'
37569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37570 (eval $ac_try) 2>&5
37571 ac_status=$?
37572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37573 (exit $ac_status); }; } &&
37574 { ac_try='test -s conftest$ac_exeext'
37575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37576 (eval $ac_try) 2>&5
37577 ac_status=$?
37578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37579 (exit $ac_status); }; }; then
37580 eval "$as_ac_var=yes"
37581 else
37582 echo "$as_me: failed program was:" >&5
37583 sed 's/^/| /' conftest.$ac_ext >&5
37584
37585 eval "$as_ac_var=no"
37586 fi
37587 rm -f conftest.err conftest.$ac_objext \
37588 conftest$ac_exeext conftest.$ac_ext
37589 fi
37590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37592 if test `eval echo '${'$as_ac_var'}'` = yes; then
37593 cat >>confdefs.h <<_ACEOF
37594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37595 _ACEOF
37596 have_floor=1
37597 fi
37598 done
37599
37600 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37601 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37602 if test "$have_cos" = 1 -a "$have_floor" = 1; then
37603 echo "$as_me:$LINENO: result: yes" >&5
37604 echo "${ECHO_T}yes" >&6
37605 else
37606 echo "$as_me:$LINENO: result: no" >&5
37607 echo "${ECHO_T}no" >&6
37608 LIBS="$LIBS -lm"
37609 # use different functions to avoid configure caching
37610 have_sin=0
37611 have_ceil=0
37612
37613 for ac_func in sin
37614 do
37615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37616 echo "$as_me:$LINENO: checking for $ac_func" >&5
37617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37618 if eval "test \"\${$as_ac_var+set}\" = set"; then
37619 echo $ECHO_N "(cached) $ECHO_C" >&6
37620 else
37621 cat >conftest.$ac_ext <<_ACEOF
37622 /* confdefs.h. */
37623 _ACEOF
37624 cat confdefs.h >>conftest.$ac_ext
37625 cat >>conftest.$ac_ext <<_ACEOF
37626 /* end confdefs.h. */
37627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37629 #define $ac_func innocuous_$ac_func
37630
37631 /* System header to define __stub macros and hopefully few prototypes,
37632 which can conflict with char $ac_func (); below.
37633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37634 <limits.h> exists even on freestanding compilers. */
37635
37636 #ifdef __STDC__
37637 # include <limits.h>
37638 #else
37639 # include <assert.h>
37640 #endif
37641
37642 #undef $ac_func
37643
37644 /* Override any gcc2 internal prototype to avoid an error. */
37645 #ifdef __cplusplus
37646 extern "C"
37647 {
37648 #endif
37649 /* We use char because int might match the return type of a gcc2
37650 builtin and then its argument prototype would still apply. */
37651 char $ac_func ();
37652 /* The GNU C library defines this for functions which it implements
37653 to always fail with ENOSYS. Some functions are actually named
37654 something starting with __ and the normal name is an alias. */
37655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37656 choke me
37657 #else
37658 char (*f) () = $ac_func;
37659 #endif
37660 #ifdef __cplusplus
37661 }
37662 #endif
37663
37664 int
37665 main ()
37666 {
37667 return f != $ac_func;
37668 ;
37669 return 0;
37670 }
37671 _ACEOF
37672 rm -f conftest.$ac_objext conftest$ac_exeext
37673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37674 (eval $ac_link) 2>conftest.er1
37675 ac_status=$?
37676 grep -v '^ *+' conftest.er1 >conftest.err
37677 rm -f conftest.er1
37678 cat conftest.err >&5
37679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37680 (exit $ac_status); } &&
37681 { ac_try='test -z "$ac_c_werror_flag"
37682 || test ! -s conftest.err'
37683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37684 (eval $ac_try) 2>&5
37685 ac_status=$?
37686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37687 (exit $ac_status); }; } &&
37688 { ac_try='test -s conftest$ac_exeext'
37689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37690 (eval $ac_try) 2>&5
37691 ac_status=$?
37692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37693 (exit $ac_status); }; }; then
37694 eval "$as_ac_var=yes"
37695 else
37696 echo "$as_me: failed program was:" >&5
37697 sed 's/^/| /' conftest.$ac_ext >&5
37698
37699 eval "$as_ac_var=no"
37700 fi
37701 rm -f conftest.err conftest.$ac_objext \
37702 conftest$ac_exeext conftest.$ac_ext
37703 fi
37704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37706 if test `eval echo '${'$as_ac_var'}'` = yes; then
37707 cat >>confdefs.h <<_ACEOF
37708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37709 _ACEOF
37710 have_sin=1
37711 fi
37712 done
37713
37714
37715 for ac_func in ceil
37716 do
37717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37718 echo "$as_me:$LINENO: checking for $ac_func" >&5
37719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37720 if eval "test \"\${$as_ac_var+set}\" = set"; then
37721 echo $ECHO_N "(cached) $ECHO_C" >&6
37722 else
37723 cat >conftest.$ac_ext <<_ACEOF
37724 /* confdefs.h. */
37725 _ACEOF
37726 cat confdefs.h >>conftest.$ac_ext
37727 cat >>conftest.$ac_ext <<_ACEOF
37728 /* end confdefs.h. */
37729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37731 #define $ac_func innocuous_$ac_func
37732
37733 /* System header to define __stub macros and hopefully few prototypes,
37734 which can conflict with char $ac_func (); below.
37735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37736 <limits.h> exists even on freestanding compilers. */
37737
37738 #ifdef __STDC__
37739 # include <limits.h>
37740 #else
37741 # include <assert.h>
37742 #endif
37743
37744 #undef $ac_func
37745
37746 /* Override any gcc2 internal prototype to avoid an error. */
37747 #ifdef __cplusplus
37748 extern "C"
37749 {
37750 #endif
37751 /* We use char because int might match the return type of a gcc2
37752 builtin and then its argument prototype would still apply. */
37753 char $ac_func ();
37754 /* The GNU C library defines this for functions which it implements
37755 to always fail with ENOSYS. Some functions are actually named
37756 something starting with __ and the normal name is an alias. */
37757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37758 choke me
37759 #else
37760 char (*f) () = $ac_func;
37761 #endif
37762 #ifdef __cplusplus
37763 }
37764 #endif
37765
37766 int
37767 main ()
37768 {
37769 return f != $ac_func;
37770 ;
37771 return 0;
37772 }
37773 _ACEOF
37774 rm -f conftest.$ac_objext conftest$ac_exeext
37775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37776 (eval $ac_link) 2>conftest.er1
37777 ac_status=$?
37778 grep -v '^ *+' conftest.er1 >conftest.err
37779 rm -f conftest.er1
37780 cat conftest.err >&5
37781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37782 (exit $ac_status); } &&
37783 { ac_try='test -z "$ac_c_werror_flag"
37784 || test ! -s conftest.err'
37785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37786 (eval $ac_try) 2>&5
37787 ac_status=$?
37788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37789 (exit $ac_status); }; } &&
37790 { ac_try='test -s conftest$ac_exeext'
37791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37792 (eval $ac_try) 2>&5
37793 ac_status=$?
37794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37795 (exit $ac_status); }; }; then
37796 eval "$as_ac_var=yes"
37797 else
37798 echo "$as_me: failed program was:" >&5
37799 sed 's/^/| /' conftest.$ac_ext >&5
37800
37801 eval "$as_ac_var=no"
37802 fi
37803 rm -f conftest.err conftest.$ac_objext \
37804 conftest$ac_exeext conftest.$ac_ext
37805 fi
37806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37808 if test `eval echo '${'$as_ac_var'}'` = yes; then
37809 cat >>confdefs.h <<_ACEOF
37810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37811 _ACEOF
37812 have_ceil=1
37813 fi
37814 done
37815
37816 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37817 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37818 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37819 echo "$as_me:$LINENO: result: yes" >&5
37820 echo "${ECHO_T}yes" >&6
37821 else
37822 echo "$as_me:$LINENO: result: no" >&5
37823 echo "${ECHO_T}no" >&6
37824 # not sure we should warn the user, crash, etc.
37825 fi
37826 fi
37827
37828 if test "$wxUSE_GUI" = "yes"; then
37829
37830
37831 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
37832 drawing dynamic erase event exec font image \
37833 minimal propsize rotate shaped widgets render"
37834
37835 if test "$wxUSE_MONOLITHIC" != "yes"; then
37836 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37837 fi
37838 else
37839 SAMPLES_SUBDIRS="console"
37840 fi
37841
37842
37843 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
37844 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37845
37846 if test "$GXX" = yes ; then
37847 CXXWARNINGS="-Wall"
37848 fi
37849
37850 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37851
37852 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
37853 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
37854 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
37855
37856
37857 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
37858 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37859 EXTRALIBS_XML="$EXPAT_LINK"
37860 EXTRALIBS_HTML="$MSPACK_LINK"
37861 EXTRALIBS_ODBC="$ODBC_LINK"
37862 if test "$wxUSE_GUI" = "yes"; then
37863 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
37864 fi
37865 if test "$wxUSE_OPENGL" = "yes"; then
37866 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
37867 fi
37868
37869 LDFLAGS="$LDFLAGS $PROFILE"
37870
37871 if test "$wxUSE_GTK" = 1; then
37872 WXCONFIG_INCLUDE=
37873 else
37874 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
37875 fi
37876
37877 WXCONFIG_EXTRALIBS="$LIBS"
37878
37879 if test "$wxUSE_REGEX" = "builtin" ; then
37880 wxconfig_3rdparty="$wxconfig_3rdparty regex${lib_unicode_suffix}"
37881 fi
37882 if test "$wxUSE_EXPAT" = "builtin" ; then
37883 wxconfig_3rdparty="$wxconfig_3rdparty expat"
37884 fi
37885 if test "$wxUSE_ODBC" = "builtin" ; then
37886 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
37887 fi
37888 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37889 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
37890 fi
37891 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37892 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
37893 fi
37894 if test "$wxUSE_LIBPNG" = "builtin" ; then
37895 wxconfig_3rdparty="$wxconfig_3rdparty png"
37896 fi
37897 if test "$wxUSE_ZLIB" = "builtin" ; then
37898 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
37899 fi
37900 if test "$wxUSE_ODBC" = "builtin" ; then
37901 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
37902 fi
37903
37904 for i in $wxconfig_3rdparty ; do
37905 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
37906 done
37907
37908
37909 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37910 WXUNIV=1
37911 else
37912 WXUNIV=0
37913 fi
37914
37915
37916
37917
37918
37919
37920
37921
37922
37923 if test $wxUSE_MONOLITHIC = "yes" ; then
37924 MONOLITHIC=1
37925 else
37926 MONOLITHIC=0
37927 fi
37928
37929 if test $wxUSE_PLUGINS = "yes" ; then
37930 USE_PLUGINS=1
37931 else
37932 USE_PLUGINS=0
37933 fi
37934
37935 if test $wxUSE_ODBC != "no" ; then
37936 USE_ODBC=1
37937 else
37938 USE_ODBC=0
37939 fi
37940
37941 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37942 OFFICIAL_BUILD=1
37943 else
37944 OFFICIAL_BUILD=0
37945 fi
37946
37947
37948
37949
37950
37951
37952
37953
37954
37955
37956
37957
37958
37959
37960
37961
37962
37963
37964
37965
37966
37967 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
37968
37969
37970
37971
37972
37973
37974
37975 if test "x$BAKEFILE_HOST" = "x"; then
37976 BAKEFILE_HOST="${host}"
37977 fi
37978
37979 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37980
37981 if test -n "$ac_tool_prefix"; then
37982 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37983 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
37984 echo "$as_me:$LINENO: checking for $ac_word" >&5
37985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37986 if test "${ac_cv_prog_RANLIB+set}" = set; then
37987 echo $ECHO_N "(cached) $ECHO_C" >&6
37988 else
37989 if test -n "$RANLIB"; then
37990 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
37991 else
37992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37993 for as_dir in $PATH
37994 do
37995 IFS=$as_save_IFS
37996 test -z "$as_dir" && as_dir=.
37997 for ac_exec_ext in '' $ac_executable_extensions; do
37998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37999 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
38000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38001 break 2
38002 fi
38003 done
38004 done
38005
38006 fi
38007 fi
38008 RANLIB=$ac_cv_prog_RANLIB
38009 if test -n "$RANLIB"; then
38010 echo "$as_me:$LINENO: result: $RANLIB" >&5
38011 echo "${ECHO_T}$RANLIB" >&6
38012 else
38013 echo "$as_me:$LINENO: result: no" >&5
38014 echo "${ECHO_T}no" >&6
38015 fi
38016
38017 fi
38018 if test -z "$ac_cv_prog_RANLIB"; then
38019 ac_ct_RANLIB=$RANLIB
38020 # Extract the first word of "ranlib", so it can be a program name with args.
38021 set dummy ranlib; ac_word=$2
38022 echo "$as_me:$LINENO: checking for $ac_word" >&5
38023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38024 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
38025 echo $ECHO_N "(cached) $ECHO_C" >&6
38026 else
38027 if test -n "$ac_ct_RANLIB"; then
38028 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
38029 else
38030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38031 for as_dir in $PATH
38032 do
38033 IFS=$as_save_IFS
38034 test -z "$as_dir" && as_dir=.
38035 for ac_exec_ext in '' $ac_executable_extensions; do
38036 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38037 ac_cv_prog_ac_ct_RANLIB="ranlib"
38038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38039 break 2
38040 fi
38041 done
38042 done
38043
38044 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
38045 fi
38046 fi
38047 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
38048 if test -n "$ac_ct_RANLIB"; then
38049 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
38050 echo "${ECHO_T}$ac_ct_RANLIB" >&6
38051 else
38052 echo "$as_me:$LINENO: result: no" >&5
38053 echo "${ECHO_T}no" >&6
38054 fi
38055
38056 RANLIB=$ac_ct_RANLIB
38057 else
38058 RANLIB="$ac_cv_prog_RANLIB"
38059 fi
38060
38061 # Find a good install program. We prefer a C program (faster),
38062 # so one script is as good as another. But avoid the broken or
38063 # incompatible versions:
38064 # SysV /etc/install, /usr/sbin/install
38065 # SunOS /usr/etc/install
38066 # IRIX /sbin/install
38067 # AIX /bin/install
38068 # AmigaOS /C/install, which installs bootblocks on floppy discs
38069 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38070 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38071 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38072 # OS/2's system install, which has a completely different semantic
38073 # ./install, which can be erroneously created by make from ./install.sh.
38074 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
38075 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
38076 if test -z "$INSTALL"; then
38077 if test "${ac_cv_path_install+set}" = set; then
38078 echo $ECHO_N "(cached) $ECHO_C" >&6
38079 else
38080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38081 for as_dir in $PATH
38082 do
38083 IFS=$as_save_IFS
38084 test -z "$as_dir" && as_dir=.
38085 # Account for people who put trailing slashes in PATH elements.
38086 case $as_dir/ in
38087 ./ | .// | /cC/* | \
38088 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
38089 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
38090 /usr/ucb/* ) ;;
38091 *)
38092 # OSF1 and SCO ODT 3.0 have their own names for install.
38093 # Don't use installbsd from OSF since it installs stuff as root
38094 # by default.
38095 for ac_prog in ginstall scoinst install; do
38096 for ac_exec_ext in '' $ac_executable_extensions; do
38097 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
38098 if test $ac_prog = install &&
38099 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38100 # AIX install. It has an incompatible calling convention.
38101 :
38102 elif test $ac_prog = install &&
38103 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38104 # program-specific install script used by HP pwplus--don't use.
38105 :
38106 else
38107 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
38108 break 3
38109 fi
38110 fi
38111 done
38112 done
38113 ;;
38114 esac
38115 done
38116
38117
38118 fi
38119 if test "${ac_cv_path_install+set}" = set; then
38120 INSTALL=$ac_cv_path_install
38121 else
38122 # As a last resort, use the slow shell script. We don't cache a
38123 # path for INSTALL within a source directory, because that will
38124 # break other packages using the cache if that directory is
38125 # removed, or if the path is relative.
38126 INSTALL=$ac_install_sh
38127 fi
38128 fi
38129 echo "$as_me:$LINENO: result: $INSTALL" >&5
38130 echo "${ECHO_T}$INSTALL" >&6
38131
38132 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38133 # It thinks the first close brace ends the variable substitution.
38134 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
38135
38136 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
38137
38138 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
38139
38140 echo "$as_me:$LINENO: checking whether ln -s works" >&5
38141 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
38142 LN_S=$as_ln_s
38143 if test "$LN_S" = "ln -s"; then
38144 echo "$as_me:$LINENO: result: yes" >&5
38145 echo "${ECHO_T}yes" >&6
38146 else
38147 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
38148 echo "${ECHO_T}no, using $LN_S" >&6
38149 fi
38150
38151
38152 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38153 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
38154 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
38155 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
38156 echo $ECHO_N "(cached) $ECHO_C" >&6
38157 else
38158 cat >conftest.make <<\_ACEOF
38159 all:
38160 @echo 'ac_maketemp="$(MAKE)"'
38161 _ACEOF
38162 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38163 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38164 if test -n "$ac_maketemp"; then
38165 eval ac_cv_prog_make_${ac_make}_set=yes
38166 else
38167 eval ac_cv_prog_make_${ac_make}_set=no
38168 fi
38169 rm -f conftest.make
38170 fi
38171 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38172 echo "$as_me:$LINENO: result: yes" >&5
38173 echo "${ECHO_T}yes" >&6
38174 SET_MAKE=
38175 else
38176 echo "$as_me:$LINENO: result: no" >&5
38177 echo "${ECHO_T}no" >&6
38178 SET_MAKE="MAKE=${MAKE-make}"
38179 fi
38180
38181
38182
38183 if test -n "$ac_tool_prefix"; then
38184 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38185 set dummy ${ac_tool_prefix}ar; ac_word=$2
38186 echo "$as_me:$LINENO: checking for $ac_word" >&5
38187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38188 if test "${ac_cv_prog_AR+set}" = set; then
38189 echo $ECHO_N "(cached) $ECHO_C" >&6
38190 else
38191 if test -n "$AR"; then
38192 ac_cv_prog_AR="$AR" # Let the user override the test.
38193 else
38194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38195 for as_dir in $PATH
38196 do
38197 IFS=$as_save_IFS
38198 test -z "$as_dir" && as_dir=.
38199 for ac_exec_ext in '' $ac_executable_extensions; do
38200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38201 ac_cv_prog_AR="${ac_tool_prefix}ar"
38202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38203 break 2
38204 fi
38205 done
38206 done
38207
38208 fi
38209 fi
38210 AR=$ac_cv_prog_AR
38211 if test -n "$AR"; then
38212 echo "$as_me:$LINENO: result: $AR" >&5
38213 echo "${ECHO_T}$AR" >&6
38214 else
38215 echo "$as_me:$LINENO: result: no" >&5
38216 echo "${ECHO_T}no" >&6
38217 fi
38218
38219 fi
38220 if test -z "$ac_cv_prog_AR"; then
38221 ac_ct_AR=$AR
38222 # Extract the first word of "ar", so it can be a program name with args.
38223 set dummy ar; ac_word=$2
38224 echo "$as_me:$LINENO: checking for $ac_word" >&5
38225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38226 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38227 echo $ECHO_N "(cached) $ECHO_C" >&6
38228 else
38229 if test -n "$ac_ct_AR"; then
38230 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
38231 else
38232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38233 for as_dir in $PATH
38234 do
38235 IFS=$as_save_IFS
38236 test -z "$as_dir" && as_dir=.
38237 for ac_exec_ext in '' $ac_executable_extensions; do
38238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38239 ac_cv_prog_ac_ct_AR="ar"
38240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38241 break 2
38242 fi
38243 done
38244 done
38245
38246 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
38247 fi
38248 fi
38249 ac_ct_AR=$ac_cv_prog_ac_ct_AR
38250 if test -n "$ac_ct_AR"; then
38251 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
38252 echo "${ECHO_T}$ac_ct_AR" >&6
38253 else
38254 echo "$as_me:$LINENO: result: no" >&5
38255 echo "${ECHO_T}no" >&6
38256 fi
38257
38258 AR=$ac_ct_AR
38259 else
38260 AR="$ac_cv_prog_AR"
38261 fi
38262
38263 if test -n "$ac_tool_prefix"; then
38264 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38265 set dummy ${ac_tool_prefix}strip; ac_word=$2
38266 echo "$as_me:$LINENO: checking for $ac_word" >&5
38267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38268 if test "${ac_cv_prog_STRIP+set}" = set; then
38269 echo $ECHO_N "(cached) $ECHO_C" >&6
38270 else
38271 if test -n "$STRIP"; then
38272 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
38273 else
38274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38275 for as_dir in $PATH
38276 do
38277 IFS=$as_save_IFS
38278 test -z "$as_dir" && as_dir=.
38279 for ac_exec_ext in '' $ac_executable_extensions; do
38280 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38281 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
38282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38283 break 2
38284 fi
38285 done
38286 done
38287
38288 fi
38289 fi
38290 STRIP=$ac_cv_prog_STRIP
38291 if test -n "$STRIP"; then
38292 echo "$as_me:$LINENO: result: $STRIP" >&5
38293 echo "${ECHO_T}$STRIP" >&6
38294 else
38295 echo "$as_me:$LINENO: result: no" >&5
38296 echo "${ECHO_T}no" >&6
38297 fi
38298
38299 fi
38300 if test -z "$ac_cv_prog_STRIP"; then
38301 ac_ct_STRIP=$STRIP
38302 # Extract the first word of "strip", so it can be a program name with args.
38303 set dummy strip; ac_word=$2
38304 echo "$as_me:$LINENO: checking for $ac_word" >&5
38305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38306 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38307 echo $ECHO_N "(cached) $ECHO_C" >&6
38308 else
38309 if test -n "$ac_ct_STRIP"; then
38310 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
38311 else
38312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38313 for as_dir in $PATH
38314 do
38315 IFS=$as_save_IFS
38316 test -z "$as_dir" && as_dir=.
38317 for ac_exec_ext in '' $ac_executable_extensions; do
38318 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38319 ac_cv_prog_ac_ct_STRIP="strip"
38320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38321 break 2
38322 fi
38323 done
38324 done
38325
38326 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
38327 fi
38328 fi
38329 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
38330 if test -n "$ac_ct_STRIP"; then
38331 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38332 echo "${ECHO_T}$ac_ct_STRIP" >&6
38333 else
38334 echo "$as_me:$LINENO: result: no" >&5
38335 echo "${ECHO_T}no" >&6
38336 fi
38337
38338 STRIP=$ac_ct_STRIP
38339 else
38340 STRIP="$ac_cv_prog_STRIP"
38341 fi
38342
38343 if test -n "$ac_tool_prefix"; then
38344 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38345 set dummy ${ac_tool_prefix}nm; ac_word=$2
38346 echo "$as_me:$LINENO: checking for $ac_word" >&5
38347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38348 if test "${ac_cv_prog_NM+set}" = set; then
38349 echo $ECHO_N "(cached) $ECHO_C" >&6
38350 else
38351 if test -n "$NM"; then
38352 ac_cv_prog_NM="$NM" # Let the user override the test.
38353 else
38354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38355 for as_dir in $PATH
38356 do
38357 IFS=$as_save_IFS
38358 test -z "$as_dir" && as_dir=.
38359 for ac_exec_ext in '' $ac_executable_extensions; do
38360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38361 ac_cv_prog_NM="${ac_tool_prefix}nm"
38362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38363 break 2
38364 fi
38365 done
38366 done
38367
38368 fi
38369 fi
38370 NM=$ac_cv_prog_NM
38371 if test -n "$NM"; then
38372 echo "$as_me:$LINENO: result: $NM" >&5
38373 echo "${ECHO_T}$NM" >&6
38374 else
38375 echo "$as_me:$LINENO: result: no" >&5
38376 echo "${ECHO_T}no" >&6
38377 fi
38378
38379 fi
38380 if test -z "$ac_cv_prog_NM"; then
38381 ac_ct_NM=$NM
38382 # Extract the first word of "nm", so it can be a program name with args.
38383 set dummy nm; ac_word=$2
38384 echo "$as_me:$LINENO: checking for $ac_word" >&5
38385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38386 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38387 echo $ECHO_N "(cached) $ECHO_C" >&6
38388 else
38389 if test -n "$ac_ct_NM"; then
38390 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
38391 else
38392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38393 for as_dir in $PATH
38394 do
38395 IFS=$as_save_IFS
38396 test -z "$as_dir" && as_dir=.
38397 for ac_exec_ext in '' $ac_executable_extensions; do
38398 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38399 ac_cv_prog_ac_ct_NM="nm"
38400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38401 break 2
38402 fi
38403 done
38404 done
38405
38406 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
38407 fi
38408 fi
38409 ac_ct_NM=$ac_cv_prog_ac_ct_NM
38410 if test -n "$ac_ct_NM"; then
38411 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38412 echo "${ECHO_T}$ac_ct_NM" >&6
38413 else
38414 echo "$as_me:$LINENO: result: no" >&5
38415 echo "${ECHO_T}no" >&6
38416 fi
38417
38418 NM=$ac_ct_NM
38419 else
38420 NM="$ac_cv_prog_NM"
38421 fi
38422
38423
38424 case ${BAKEFILE_HOST} in
38425 *-hp-hpux* )
38426 INSTALL_DIR="mkdir"
38427 ;;
38428 *) INSTALL_DIR="$INSTALL -d"
38429 ;;
38430 esac
38431
38432
38433 LDFLAGS_GUI=
38434 case ${BAKEFILE_HOST} in
38435 *-*-cygwin* | *-*-mingw32* )
38436 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
38437 esac
38438
38439
38440 fi
38441
38442 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38443 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38444 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38445 echo $ECHO_N "(cached) $ECHO_C" >&6
38446 else
38447
38448 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
38449 egrep -s GNU > /dev/null); then
38450 bakefile_cv_prog_makeisgnu="yes"
38451 else
38452 bakefile_cv_prog_makeisgnu="no"
38453 fi
38454
38455 fi
38456 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38457 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38458
38459 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38460 IF_GNU_MAKE=""
38461 else
38462 IF_GNU_MAKE="#"
38463 fi
38464
38465
38466
38467 PLATFORM_UNIX=0
38468 PLATFORM_WIN32=0
38469 PLATFORM_MSDOS=0
38470 PLATFORM_MAC=0
38471 PLATFORM_MACOSX=0
38472 PLATFORM_OS2=0
38473
38474 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38475 case "${BAKEFILE_HOST}" in
38476 *-*-cygwin* | *-*-mingw32* )
38477 PLATFORM_WIN32=1
38478 ;;
38479 *-pc-msdosdjgpp )
38480 PLATFORM_MSDOS=1
38481 ;;
38482 *-pc-os2_emx | *-pc-os2-emx )
38483 PLATFORM_OS2=1
38484 ;;
38485 powerpc-*-darwin* )
38486 PLATFORM_MAC=1
38487 PLATFORM_MACOSX=1
38488 ;;
38489 * )
38490 PLATFORM_UNIX=1
38491 ;;
38492 esac
38493 else
38494 case "$BAKEFILE_FORCE_PLATFORM" in
38495 win32 )
38496 PLATFORM_WIN32=1
38497 ;;
38498 msdos )
38499 PLATFORM_MSDOS=1
38500 ;;
38501 os2 )
38502 PLATFORM_OS2=1
38503 ;;
38504 darwin )
38505 PLATFORM_MAC=1
38506 PLATFORM_MACOSX=1
38507 ;;
38508 unix )
38509 PLATFORM_UNIX=1
38510 ;;
38511 * )
38512 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38513 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38514 { (exit 1); exit 1; }; }
38515 ;;
38516 esac
38517 fi
38518
38519
38520
38521
38522
38523
38524
38525
38526
38527 SO_SUFFIX="so"
38528 SO_SUFFIX_MODULE="so"
38529 EXEEXT=""
38530 LIBPREFIX=lib
38531 DLLPREFIX=lib
38532 DLLPREFIX_MODULE=
38533
38534 case "${BAKEFILE_HOST}" in
38535 *-hp-hpux* )
38536 SO_SUFFIX="sl"
38537 SO_SUFFIX_MODULE="sl"
38538 ;;
38539 *-*-aix* )
38540 SO_SUFFIX="a"
38541 SO_SUFFIX_MODULE="a"
38542 ;;
38543 *-*-cygwin* | *-*-mingw32* )
38544 SO_SUFFIX="dll"
38545 SO_SUFFIX_MODULE="dll"
38546 EXEEXT=".exe"
38547 DLLPREFIX=""
38548 ;;
38549 *-pc-msdosdjgpp )
38550 EXEEXT=".exe"
38551 DLLPREFIX=""
38552 ;;
38553 *-pc-os2_emx | *-pc-os2-emx )
38554 EXEEXT=".exe"
38555 DLLPREFIX=""
38556 LIBPREFIX=""
38557 ;;
38558 powerpc-*-darwin* )
38559 SO_SUFFIX="dylib"
38560 SO_SUFFIX_MODULE="bundle"
38561 ;;
38562 esac
38563
38564
38565
38566
38567
38568
38569
38570
38571
38572 SHARED_LD_CC="\$(CC) -shared -o"
38573 SHARED_LD_CXX="\$(CXX) -shared -o"
38574
38575 if test "x$GCC" = "xyes"; then
38576 PIC_FLAG="-fPIC"
38577 fi
38578
38579 case "${BAKEFILE_HOST}" in
38580 *-hp-hpux* )
38581 if test "x$GCC" = "xyes"; then
38582 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
38583 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
38584 else
38585 LDFLAGS="$LDFLAGS -L/usr/lib"
38586
38587 SHARED_LD_CC="${CC} -b -o"
38588 SHARED_LD_CXX="${CXX} -b -o"
38589 PIC_FLAG="+Z"
38590 fi
38591 ;;
38592
38593 *-*-linux* )
38594 if test "x$GCC" != "xyes"; then
38595 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38596 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38597 if test "${bakefile_cv_prog_icc+set}" = set; then
38598 echo $ECHO_N "(cached) $ECHO_C" >&6
38599 else
38600
38601 cat >conftest.$ac_ext <<_ACEOF
38602 /* confdefs.h. */
38603 _ACEOF
38604 cat confdefs.h >>conftest.$ac_ext
38605 cat >>conftest.$ac_ext <<_ACEOF
38606 /* end confdefs.h. */
38607
38608 int
38609 main ()
38610 {
38611
38612 #ifndef __INTEL_COMPILER
38613 #error Not icc
38614 #endif
38615
38616 ;
38617 return 0;
38618 }
38619 _ACEOF
38620 rm -f conftest.$ac_objext
38621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38622 (eval $ac_compile) 2>conftest.er1
38623 ac_status=$?
38624 grep -v '^ *+' conftest.er1 >conftest.err
38625 rm -f conftest.er1
38626 cat conftest.err >&5
38627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38628 (exit $ac_status); } &&
38629 { ac_try='test -z "$ac_c_werror_flag"
38630 || test ! -s conftest.err'
38631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38632 (eval $ac_try) 2>&5
38633 ac_status=$?
38634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38635 (exit $ac_status); }; } &&
38636 { ac_try='test -s conftest.$ac_objext'
38637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38638 (eval $ac_try) 2>&5
38639 ac_status=$?
38640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38641 (exit $ac_status); }; }; then
38642 bakefile_cv_prog_icc=yes
38643 else
38644 echo "$as_me: failed program was:" >&5
38645 sed 's/^/| /' conftest.$ac_ext >&5
38646
38647 bakefile_cv_prog_icc=no
38648
38649 fi
38650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38651
38652 fi
38653 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38654 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38655 if test "$bakefile_cv_prog_icc" = "yes"; then
38656 PIC_FLAG="-KPIC"
38657 fi
38658 fi
38659 ;;
38660
38661 *-*-solaris2* )
38662 if test "x$GCC" != xyes ; then
38663 SHARED_LD_CC="${CC} -G -o"
38664 SHARED_LD_CXX="${CXX} -G -o"
38665 PIC_FLAG="-KPIC"
38666 fi
38667 ;;
38668
38669 *-*-darwin* )
38670 CFLAGS="$CFLAGS -fno-common"
38671 CXXFLAGS="$CXXFLAGS -fno-common"
38672
38673
38674 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38675 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38676 if test "${wx_cv_gcc31+set}" = set; then
38677 echo $ECHO_N "(cached) $ECHO_C" >&6
38678 else
38679
38680 cat >conftest.$ac_ext <<_ACEOF
38681 /* confdefs.h. */
38682 _ACEOF
38683 cat confdefs.h >>conftest.$ac_ext
38684 cat >>conftest.$ac_ext <<_ACEOF
38685 /* end confdefs.h. */
38686
38687 int
38688 main ()
38689 {
38690
38691 #if (__GNUC__ < 3) || \
38692 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38693 #error old gcc
38694 #endif
38695
38696 ;
38697 return 0;
38698 }
38699 _ACEOF
38700 rm -f conftest.$ac_objext
38701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38702 (eval $ac_compile) 2>conftest.er1
38703 ac_status=$?
38704 grep -v '^ *+' conftest.er1 >conftest.err
38705 rm -f conftest.er1
38706 cat conftest.err >&5
38707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38708 (exit $ac_status); } &&
38709 { ac_try='test -z "$ac_c_werror_flag"
38710 || test ! -s conftest.err'
38711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38712 (eval $ac_try) 2>&5
38713 ac_status=$?
38714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38715 (exit $ac_status); }; } &&
38716 { ac_try='test -s conftest.$ac_objext'
38717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38718 (eval $ac_try) 2>&5
38719 ac_status=$?
38720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38721 (exit $ac_status); }; }; then
38722
38723 wx_cv_gcc31=yes
38724
38725 else
38726 echo "$as_me: failed program was:" >&5
38727 sed 's/^/| /' conftest.$ac_ext >&5
38728
38729
38730 wx_cv_gcc31=no
38731
38732
38733 fi
38734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38735
38736 fi
38737 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38738 echo "${ECHO_T}$wx_cv_gcc31" >&6
38739 if test "$wx_cv_gcc31" = "no"; then
38740 cat <<EOF >shared-ld-sh
38741 #!/bin/sh
38742 #-----------------------------------------------------------------------------
38743 #-- Name: distrib/mac/shared-ld-sh
38744 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38745 #-- Author: Gilles Depeyrot
38746 #-- Copyright: (c) 2002 Gilles Depeyrot
38747 #-- Licence: any use permitted
38748 #-----------------------------------------------------------------------------
38749
38750 verbose=0
38751 args=""
38752 objects=""
38753 linking_flag="-dynamiclib"
38754
38755 while test \${#} -gt 0; do
38756 case \${1} in
38757
38758 -v)
38759 verbose=1
38760 ;;
38761
38762 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38763 # collect these options and values
38764 args="\${args} \${1} \${2}"
38765 shift
38766 ;;
38767
38768 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38769 # collect these options
38770 args="\${args} \${1}"
38771 ;;
38772
38773 -dynamiclib|-bundle)
38774 linking_flag="\${1}"
38775 ;;
38776
38777 -*)
38778 echo "shared-ld: unhandled option '\${1}'"
38779 exit 1
38780 ;;
38781
38782 *.o | *.a | *.dylib)
38783 # collect object files
38784 objects="\${objects} \${1}"
38785 ;;
38786
38787 *)
38788 echo "shared-ld: unhandled argument '\${1}'"
38789 exit 1
38790 ;;
38791
38792 esac
38793 shift
38794 done
38795
38796 #
38797 # Link one module containing all the others
38798 #
38799 if test \${verbose} = 1; then
38800 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
38801 fi
38802 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
38803 status=\$?
38804 if test \${status} != 0; then
38805 exit \${status}
38806 fi
38807
38808 #
38809 # Link the shared library from the single module created
38810 #
38811 if test \${verbose} = 1; then
38812 echo "cc \${linking_flag} master.\$\$.o \${args}"
38813 fi
38814 c++ \${linking_flag} master.\$\$.o \${args}
38815 status=\$?
38816 if test \${status} != 0; then
38817 exit \${status}
38818 fi
38819
38820 #
38821 # Remove intermediate module
38822 #
38823 rm -f master.\$\$.o
38824
38825 exit 0
38826 EOF
38827 chmod +x shared-ld-sh
38828
38829 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38830 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38831 SHARED_LD_CXX="$SHARED_LD_CC"
38832 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
38833 else
38834 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38835 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
38836 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38837 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
38838 fi
38839
38840 PIC_FLAG="-dynamic -fPIC"
38841 ;;
38842
38843 *-*-aix* )
38844 if test "x$GCC" != "xyes"; then
38845 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38846 set dummy makeC++SharedLib; ac_word=$2
38847 echo "$as_me:$LINENO: checking for $ac_word" >&5
38848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38849 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
38850 echo $ECHO_N "(cached) $ECHO_C" >&6
38851 else
38852 if test -n "$AIX_CXX_LD"; then
38853 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
38854 else
38855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38856 for as_dir in $PATH
38857 do
38858 IFS=$as_save_IFS
38859 test -z "$as_dir" && as_dir=.
38860 for ac_exec_ext in '' $ac_executable_extensions; do
38861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38862 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
38863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38864 break 2
38865 fi
38866 done
38867 done
38868
38869 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
38870 fi
38871 fi
38872 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
38873 if test -n "$AIX_CXX_LD"; then
38874 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
38875 echo "${ECHO_T}$AIX_CXX_LD" >&6
38876 else
38877 echo "$as_me:$LINENO: result: no" >&5
38878 echo "${ECHO_T}no" >&6
38879 fi
38880
38881 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
38882 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
38883 fi
38884 ;;
38885
38886 *-*-beos* )
38887 SHARED_LD_CC="${LD} -shared -o"
38888 SHARED_LD_CXX="${LD} -shared -o"
38889 ;;
38890
38891 *-*-irix* )
38892 if test "x$GCC" != "xyes"; then
38893 PIC_FLAG="-KPIC"
38894 fi
38895 ;;
38896
38897 *-*-cygwin* | *-*-mingw32* )
38898 PIC_FLAG=""
38899 ;;
38900
38901 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
38902 *-*-sunos4* | \
38903 *-*-osf* | \
38904 *-*-dgux5* | \
38905 *-pc-os2_emx | *-pc-os2-emx | \
38906 *-*-sysv5* )
38907 ;;
38908
38909 *)
38910 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
38911 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
38912 { (exit 1); exit 1; }; }
38913 esac
38914
38915 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
38916 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
38917 fi
38918 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
38919 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
38920 fi
38921
38922
38923
38924
38925
38926
38927
38928
38929 USE_SOVERSION=0
38930 USE_SOVERLINUX=0
38931 USE_SOVERSOLARIS=0
38932 USE_SOSYMLINKS=0
38933 USE_MACVERSION=0
38934 SONAME_FLAG=
38935
38936 case "${BAKEFILE_HOST}" in
38937 *-*-linux* )
38938 SONAME_FLAG="-Wl,-soname,"
38939 USE_SOVERSION=1
38940 USE_SOVERLINUX=1
38941 USE_SOSYMLINKS=1
38942 ;;
38943
38944 *-*-solaris2* )
38945 SONAME_FLAG="-h "
38946 USE_SOVERSION=1
38947 USE_SOVERSOLARIS=1
38948 USE_SOSYMLINKS=1
38949 ;;
38950
38951 *-*-darwin* )
38952 USE_MACVERSION=1
38953 USE_SOVERSION=1
38954 USE_SOSYMLINKS=1
38955 ;;
38956 esac
38957
38958
38959
38960
38961
38962
38963
38964
38965
38966 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
38967 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
38968 DEPS_TRACKING=0
38969
38970 if test "x$GCC" = "xyes"; then
38971 DEPSMODE=gcc
38972 DEPS_TRACKING=1
38973 case "${BAKEFILE_HOST}" in
38974 powerpc-*-darwin* )
38975 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
38976 ;;
38977 * )
38978 DEPSFLAG_GCC="-MMD"
38979 ;;
38980 esac
38981 echo "$as_me:$LINENO: result: gcc" >&5
38982 echo "${ECHO_T}gcc" >&6
38983 else
38984 echo "$as_me:$LINENO: result: none" >&5
38985 echo "${ECHO_T}none" >&6
38986 fi
38987
38988 if test $DEPS_TRACKING = 1 ; then
38989 cat <<EOF >bk-deps
38990 #!/bin/sh
38991
38992 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
38993 # script. It is used to track C/C++ files dependencies in portable way.
38994 #
38995 # Permission is given to use this file in any way.
38996
38997 DEPSMODE=$DEPSMODE
38998 DEPSDIR=.deps
38999 DEPSFLAG_GCC="$DEPSFLAG_GCC"
39000
39001 mkdir -p \$DEPSDIR
39002
39003 if test \$DEPSMODE = gcc ; then
39004 \${*} \${DEPSFLAG_GCC}
39005 status=\${?}
39006 if test \${status} != 0 ; then
39007 exit \${status}
39008 fi
39009 # move created file to the location we want it in:
39010 while test \${#} -gt 0; do
39011 case "\${1}" in
39012 -o )
39013 shift
39014 objfile=\${1}
39015 ;;
39016 -* )
39017 ;;
39018 * )
39019 srcfile=\${1}
39020 ;;
39021 esac
39022 shift
39023 done
39024 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
39025 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
39026 if test -f \$depfile ; then
39027 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
39028 rm -f \$depfile
39029 else
39030 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
39031 if test -f \$depfile ; then
39032 sed -e "/^\$objfile/!s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
39033 rm -f \$depfile
39034 fi
39035 fi
39036 exit 0
39037 else
39038 \${*}
39039 exit \${?}
39040 fi
39041 EOF
39042 chmod +x bk-deps
39043 fi
39044
39045
39046
39047
39048 RESCOMP=
39049 SETFILE=
39050
39051 case ${BAKEFILE_HOST} in
39052 *-*-cygwin* | *-*-mingw32* )
39053 if test "$build" != "$host" ; then
39054 RESCOMP=$host_alias-windres
39055 else
39056 # Extract the first word of "windres", so it can be a program name with args.
39057 set dummy windres; ac_word=$2
39058 echo "$as_me:$LINENO: checking for $ac_word" >&5
39059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39060 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39061 echo $ECHO_N "(cached) $ECHO_C" >&6
39062 else
39063 if test -n "$RESCOMP"; then
39064 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
39065 else
39066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39067 for as_dir in $PATH
39068 do
39069 IFS=$as_save_IFS
39070 test -z "$as_dir" && as_dir=.
39071 for ac_exec_ext in '' $ac_executable_extensions; do
39072 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39073 ac_cv_prog_RESCOMP="windres"
39074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39075 break 2
39076 fi
39077 done
39078 done
39079
39080 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
39081 fi
39082 fi
39083 RESCOMP=$ac_cv_prog_RESCOMP
39084 if test -n "$RESCOMP"; then
39085 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39086 echo "${ECHO_T}$RESCOMP" >&6
39087 else
39088 echo "$as_me:$LINENO: result: no" >&5
39089 echo "${ECHO_T}no" >&6
39090 fi
39091
39092 fi
39093 ;;
39094
39095 *-*-darwin* )
39096 # Extract the first word of "Rez", so it can be a program name with args.
39097 set dummy Rez; ac_word=$2
39098 echo "$as_me:$LINENO: checking for $ac_word" >&5
39099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39100 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39101 echo $ECHO_N "(cached) $ECHO_C" >&6
39102 else
39103 if test -n "$RESCOMP"; then
39104 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
39105 else
39106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39107 for as_dir in $PATH
39108 do
39109 IFS=$as_save_IFS
39110 test -z "$as_dir" && as_dir=.
39111 for ac_exec_ext in '' $ac_executable_extensions; do
39112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39113 ac_cv_prog_RESCOMP="Rez"
39114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39115 break 2
39116 fi
39117 done
39118 done
39119
39120 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
39121 fi
39122 fi
39123 RESCOMP=$ac_cv_prog_RESCOMP
39124 if test -n "$RESCOMP"; then
39125 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39126 echo "${ECHO_T}$RESCOMP" >&6
39127 else
39128 echo "$as_me:$LINENO: result: no" >&5
39129 echo "${ECHO_T}no" >&6
39130 fi
39131
39132 # Extract the first word of "SetFile", so it can be a program name with args.
39133 set dummy SetFile; ac_word=$2
39134 echo "$as_me:$LINENO: checking for $ac_word" >&5
39135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39136 if test "${ac_cv_prog_SETFILE+set}" = set; then
39137 echo $ECHO_N "(cached) $ECHO_C" >&6
39138 else
39139 if test -n "$SETFILE"; then
39140 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
39141 else
39142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39143 for as_dir in $PATH
39144 do
39145 IFS=$as_save_IFS
39146 test -z "$as_dir" && as_dir=.
39147 for ac_exec_ext in '' $ac_executable_extensions; do
39148 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39149 ac_cv_prog_SETFILE="SetFile"
39150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39151 break 2
39152 fi
39153 done
39154 done
39155
39156 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
39157 fi
39158 fi
39159 SETFILE=$ac_cv_prog_SETFILE
39160 if test -n "$SETFILE"; then
39161 echo "$as_me:$LINENO: result: $SETFILE" >&5
39162 echo "${ECHO_T}$SETFILE" >&6
39163 else
39164 echo "$as_me:$LINENO: result: no" >&5
39165 echo "${ECHO_T}no" >&6
39166 fi
39167
39168 ;;
39169 esac
39170
39171
39172
39173
39174
39175
39176
39177
39178
39179
39180 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39181 if test "${enable_precomp_headers+set}" = set; then
39182 enableval="$enable_precomp_headers"
39183 bk_use_pch="$enableval"
39184 fi;
39185
39186 GCC_PCH=0
39187
39188 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39189 if test "x$GCC" = "xyes"; then
39190 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39191 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39192 cat >conftest.$ac_ext <<_ACEOF
39193 /* confdefs.h. */
39194 _ACEOF
39195 cat confdefs.h >>conftest.$ac_ext
39196 cat >>conftest.$ac_ext <<_ACEOF
39197 /* end confdefs.h. */
39198
39199 int
39200 main ()
39201 {
39202
39203 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39204 #error "no pch support"
39205 #endif
39206 #if (__GNUC__ < 3)
39207 #error "no pch support"
39208 #endif
39209 #if (__GNUC__ == 3) && \
39210 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39211 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39212 #error "no pch support"
39213 #endif
39214
39215 ;
39216 return 0;
39217 }
39218 _ACEOF
39219 rm -f conftest.$ac_objext
39220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39221 (eval $ac_compile) 2>conftest.er1
39222 ac_status=$?
39223 grep -v '^ *+' conftest.er1 >conftest.err
39224 rm -f conftest.er1
39225 cat conftest.err >&5
39226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39227 (exit $ac_status); } &&
39228 { ac_try='test -z "$ac_c_werror_flag"
39229 || test ! -s conftest.err'
39230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39231 (eval $ac_try) 2>&5
39232 ac_status=$?
39233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39234 (exit $ac_status); }; } &&
39235 { ac_try='test -s conftest.$ac_objext'
39236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39237 (eval $ac_try) 2>&5
39238 ac_status=$?
39239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39240 (exit $ac_status); }; }; then
39241
39242 echo "$as_me:$LINENO: result: yes" >&5
39243 echo "${ECHO_T}yes" >&6
39244 CPPFLAGS="-fpch-deps $CPPFLAGS"
39245 GCC_PCH=1
39246
39247 else
39248 echo "$as_me: failed program was:" >&5
39249 sed 's/^/| /' conftest.$ac_ext >&5
39250
39251
39252 echo "$as_me:$LINENO: result: no" >&5
39253 echo "${ECHO_T}no" >&6
39254
39255 fi
39256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39257 if test $GCC_PCH = 1 ; then
39258 cat <<EOF >bk-make-pch
39259 #!/bin/sh
39260
39261 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39262 # script. It is used to generated precompiled headers.
39263 #
39264 # Permission is given to use this file in any way.
39265
39266 outfile="\${1}"
39267 header="\${2}"
39268 shift
39269 shift
39270
39271 compiler=
39272 headerfile=
39273 while test \${#} -gt 0; do
39274 case "\${1}" in
39275 -I* )
39276 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39277 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39278 headerfile="\${incdir}/\${header}"
39279 fi
39280 ;;
39281 esac
39282 compiler="\${compiler} \${1}"
39283 shift
39284 done
39285
39286 if test "x\${headerfile}" = "x" ; then
39287 echo "error: can't find header \${header} in include paths" >2
39288 else
39289 if test -f \${outfile} ; then
39290 rm -f \${outfile}
39291 else
39292 mkdir -p \`dirname \${outfile}\`
39293 fi
39294 depsfile=".deps/\`basename \${outfile}\`.d"
39295 mkdir -p .deps
39296 # can do this because gcc is >= 3.4:
39297 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39298 exit \${?}
39299 fi
39300 EOF
39301 chmod +x bk-make-pch
39302 fi
39303 fi
39304 fi
39305
39306
39307
39308
39309
39310 COND_BUILD_DEBUG="#"
39311 if test "x$BUILD" = "xdebug" ; then
39312 COND_BUILD_DEBUG=""
39313 fi
39314
39315 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
39316 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39317 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
39318 fi
39319
39320 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
39321 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39322 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
39323 fi
39324
39325 COND_BUILD_DEBUG_UNICODE_0="#"
39326 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39327 COND_BUILD_DEBUG_UNICODE_0=""
39328 fi
39329
39330 COND_BUILD_DEBUG_UNICODE_1="#"
39331 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39332 COND_BUILD_DEBUG_UNICODE_1=""
39333 fi
39334
39335 COND_BUILD_RELEASE="#"
39336 if test "x$BUILD" = "xrelease" ; then
39337 COND_BUILD_RELEASE=""
39338 fi
39339
39340 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
39341 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39342 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
39343 fi
39344
39345 COND_BUILD_RELEASE_UNICODE_0="#"
39346 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39347 COND_BUILD_RELEASE_UNICODE_0=""
39348 fi
39349
39350 COND_BUILD_RELEASE_UNICODE_1="#"
39351 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39352 COND_BUILD_RELEASE_UNICODE_1=""
39353 fi
39354
39355 COND_DEBUG_FLAG_1="#"
39356 if test "x$DEBUG_FLAG" = "x1" ; then
39357 COND_DEBUG_FLAG_1=""
39358 fi
39359
39360 COND_DEBUG_INFO_0="#"
39361 if test "x$DEBUG_INFO" = "x0" ; then
39362 COND_DEBUG_INFO_0=""
39363 fi
39364
39365 COND_DEBUG_INFO_1="#"
39366 if test "x$DEBUG_INFO" = "x1" ; then
39367 COND_DEBUG_INFO_1=""
39368 fi
39369
39370 COND_DEPS_TRACKING_0="#"
39371 if test "x$DEPS_TRACKING" = "x0" ; then
39372 COND_DEPS_TRACKING_0=""
39373 fi
39374
39375 COND_DEPS_TRACKING_1="#"
39376 if test "x$DEPS_TRACKING" = "x1" ; then
39377 COND_DEPS_TRACKING_1=""
39378 fi
39379
39380 COND_GCC_PCH_1="#"
39381 if test "x$GCC_PCH" = "x1" ; then
39382 COND_GCC_PCH_1=""
39383 fi
39384
39385 COND_MONOLITHIC_0="#"
39386 if test "x$MONOLITHIC" = "x0" ; then
39387 COND_MONOLITHIC_0=""
39388 fi
39389
39390 COND_MONOLITHIC_0_SHARED_0="#"
39391 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39392 COND_MONOLITHIC_0_SHARED_0=""
39393 fi
39394
39395 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
39396 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39397 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
39398 fi
39399
39400 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
39401 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39402 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
39403 fi
39404
39405 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
39406 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
39407 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
39408 fi
39409
39410 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
39411 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
39412 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
39413 fi
39414
39415 COND_MONOLITHIC_0_SHARED_1="#"
39416 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39417 COND_MONOLITHIC_0_SHARED_1=""
39418 fi
39419
39420 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
39421 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39422 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
39423 fi
39424
39425 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
39426 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39427 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
39428 fi
39429
39430 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
39431 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
39432 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
39433 fi
39434
39435 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
39436 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
39437 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
39438 fi
39439
39440 COND_MONOLITHIC_0_USE_ODBC_1="#"
39441 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
39442 COND_MONOLITHIC_0_USE_ODBC_1=""
39443 fi
39444
39445 COND_MONOLITHIC_1="#"
39446 if test "x$MONOLITHIC" = "x1" ; then
39447 COND_MONOLITHIC_1=""
39448 fi
39449
39450 COND_MONOLITHIC_1_SHARED_0="#"
39451 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39452 COND_MONOLITHIC_1_SHARED_0=""
39453 fi
39454
39455 COND_MONOLITHIC_1_SHARED_1="#"
39456 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39457 COND_MONOLITHIC_1_SHARED_1=""
39458 fi
39459
39460 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
39461 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39462 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
39463 fi
39464
39465 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
39466 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
39467 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
39468 fi
39469
39470 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
39471 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39472 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
39473 fi
39474
39475 COND_PLATFORM_MACOSX_1="#"
39476 if test "x$PLATFORM_MACOSX" = "x1" ; then
39477 COND_PLATFORM_MACOSX_1=""
39478 fi
39479
39480 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
39481 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
39482 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
39483 fi
39484
39485 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
39486 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
39487 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
39488 fi
39489
39490 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
39491 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
39492 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
39493 fi
39494
39495 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
39496 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
39497 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
39498 fi
39499
39500 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
39501 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
39502 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
39503 fi
39504
39505 COND_PLATFORM_MAC_1="#"
39506 if test "x$PLATFORM_MAC" = "x1" ; then
39507 COND_PLATFORM_MAC_1=""
39508 fi
39509
39510 COND_PLATFORM_OS2_1="#"
39511 if test "x$PLATFORM_OS2" = "x1" ; then
39512 COND_PLATFORM_OS2_1=""
39513 fi
39514
39515 COND_PLATFORM_UNIX_0="#"
39516 if test "x$PLATFORM_UNIX" = "x0" ; then
39517 COND_PLATFORM_UNIX_0=""
39518 fi
39519
39520 COND_PLATFORM_UNIX_1="#"
39521 if test "x$PLATFORM_UNIX" = "x1" ; then
39522 COND_PLATFORM_UNIX_1=""
39523 fi
39524
39525 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
39526 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
39527 COND_PLATFORM_UNIX_1_USE_GUI_1=""
39528 fi
39529
39530 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
39531 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
39532 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
39533 fi
39534
39535 COND_PLATFORM_WIN32_0="#"
39536 if test "x$PLATFORM_WIN32" = "x0" ; then
39537 COND_PLATFORM_WIN32_0=""
39538 fi
39539
39540 COND_PLATFORM_WIN32_1="#"
39541 if test "x$PLATFORM_WIN32" = "x1" ; then
39542 COND_PLATFORM_WIN32_1=""
39543 fi
39544
39545 COND_SHARED_0="#"
39546 if test "x$SHARED" = "x0" ; then
39547 COND_SHARED_0=""
39548 fi
39549
39550 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
39551 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39552 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
39553 fi
39554
39555 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
39556 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39557 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
39558 fi
39559
39560 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
39561 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39562 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
39563 fi
39564
39565 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
39566 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39567 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
39568 fi
39569
39570 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
39571 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
39572 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
39573 fi
39574
39575 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
39576 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
39577 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
39578 fi
39579
39580 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
39581 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
39582 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
39583 fi
39584
39585 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
39586 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
39587 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
39588 fi
39589
39590 COND_SHARED_1="#"
39591 if test "x$SHARED" = "x1" ; then
39592 COND_SHARED_1=""
39593 fi
39594
39595 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
39596 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39597 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
39598 fi
39599
39600 COND_TOOLKIT_COCOA="#"
39601 if test "x$TOOLKIT" = "xCOCOA" ; then
39602 COND_TOOLKIT_COCOA=""
39603 fi
39604
39605 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
39606 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39607 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
39608 fi
39609
39610 COND_TOOLKIT_GTK="#"
39611 if test "x$TOOLKIT" = "xGTK" ; then
39612 COND_TOOLKIT_GTK=""
39613 fi
39614
39615 COND_TOOLKIT_GTK_USE_GUI_1="#"
39616 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
39617 COND_TOOLKIT_GTK_USE_GUI_1=""
39618 fi
39619
39620 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
39621 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39622 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
39623 fi
39624
39625 COND_TOOLKIT_MAC="#"
39626 if test "x$TOOLKIT" = "xMAC" ; then
39627 COND_TOOLKIT_MAC=""
39628 fi
39629
39630 COND_TOOLKIT_MAC_USE_GUI_1="#"
39631 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
39632 COND_TOOLKIT_MAC_USE_GUI_1=""
39633 fi
39634
39635 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
39636 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39637 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
39638 fi
39639
39640 COND_TOOLKIT_MGL="#"
39641 if test "x$TOOLKIT" = "xMGL" ; then
39642 COND_TOOLKIT_MGL=""
39643 fi
39644
39645 COND_TOOLKIT_MGL_USE_GUI_1="#"
39646 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
39647 COND_TOOLKIT_MGL_USE_GUI_1=""
39648 fi
39649
39650 COND_TOOLKIT_MOTIF="#"
39651 if test "x$TOOLKIT" = "xMOTIF" ; then
39652 COND_TOOLKIT_MOTIF=""
39653 fi
39654
39655 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
39656 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
39657 COND_TOOLKIT_MOTIF_USE_GUI_1=""
39658 fi
39659
39660 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
39661 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39662 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
39663 fi
39664
39665 COND_TOOLKIT_MSW="#"
39666 if test "x$TOOLKIT" = "xMSW" ; then
39667 COND_TOOLKIT_MSW=""
39668 fi
39669
39670 COND_TOOLKIT_MSW_USE_GUI_1="#"
39671 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
39672 COND_TOOLKIT_MSW_USE_GUI_1=""
39673 fi
39674
39675 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
39676 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39677 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
39678 fi
39679
39680 COND_TOOLKIT_PM="#"
39681 if test "x$TOOLKIT" = "xPM" ; then
39682 COND_TOOLKIT_PM=""
39683 fi
39684
39685 COND_TOOLKIT_PM_USE_GUI_1="#"
39686 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
39687 COND_TOOLKIT_PM_USE_GUI_1=""
39688 fi
39689
39690 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
39691 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39692 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
39693 fi
39694
39695 COND_TOOLKIT_X11="#"
39696 if test "x$TOOLKIT" = "xX11" ; then
39697 COND_TOOLKIT_X11=""
39698 fi
39699
39700 COND_TOOLKIT_X11_USE_GUI_1="#"
39701 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
39702 COND_TOOLKIT_X11_USE_GUI_1=""
39703 fi
39704
39705 COND_UNICODE_1="#"
39706 if test "x$UNICODE" = "x1" ; then
39707 COND_UNICODE_1=""
39708 fi
39709
39710 COND_USE_EXCEPTIONS_0="#"
39711 if test "x$USE_EXCEPTIONS" = "x0" ; then
39712 COND_USE_EXCEPTIONS_0=""
39713 fi
39714
39715 COND_USE_EXCEPTIONS_1="#"
39716 if test "x$USE_EXCEPTIONS" = "x1" ; then
39717 COND_USE_EXCEPTIONS_1=""
39718 fi
39719
39720 COND_USE_GUI_0="#"
39721 if test "x$USE_GUI" = "x0" ; then
39722 COND_USE_GUI_0=""
39723 fi
39724
39725 COND_USE_GUI_1="#"
39726 if test "x$USE_GUI" = "x1" ; then
39727 COND_USE_GUI_1=""
39728 fi
39729
39730 COND_USE_GUI_1_WXUNIV_0="#"
39731 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39732 COND_USE_GUI_1_WXUNIV_0=""
39733 fi
39734
39735 COND_USE_GUI_1_WXUNIV_1="#"
39736 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
39737 COND_USE_GUI_1_WXUNIV_1=""
39738 fi
39739
39740 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
39741 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39742 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
39743 fi
39744
39745 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
39746 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39747 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
39748 fi
39749
39750 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
39751 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39752 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
39753 fi
39754
39755 COND_USE_ODBC_1="#"
39756 if test "x$USE_ODBC" = "x1" ; then
39757 COND_USE_ODBC_1=""
39758 fi
39759
39760 COND_USE_PLUGINS_0="#"
39761 if test "x$USE_PLUGINS" = "x0" ; then
39762 COND_USE_PLUGINS_0=""
39763 fi
39764
39765 COND_USE_SOSYMLINKS_1="#"
39766 if test "x$USE_SOSYMLINKS" = "x1" ; then
39767 COND_USE_SOSYMLINKS_1=""
39768 fi
39769
39770 COND_USE_SOVERLINUX_1="#"
39771 if test "x$USE_SOVERLINUX" = "x1" ; then
39772 COND_USE_SOVERLINUX_1=""
39773 fi
39774
39775 COND_USE_SOVERSION_0="#"
39776 if test "x$USE_SOVERSION" = "x0" ; then
39777 COND_USE_SOVERSION_0=""
39778 fi
39779
39780 COND_USE_SOVERSOLARIS_1="#"
39781 if test "x$USE_SOVERSOLARIS" = "x1" ; then
39782 COND_USE_SOVERSOLARIS_1=""
39783 fi
39784
39785 COND_WITH_PLUGIN_SDL_1="#"
39786 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
39787 COND_WITH_PLUGIN_SDL_1=""
39788 fi
39789
39790 COND_WITH_SDL_1="#"
39791 if test "x$WITH_SDL" = "x1" ; then
39792 COND_WITH_SDL_1=""
39793 fi
39794
39795 COND_WXUNIV_1="#"
39796 if test "x$WXUNIV" = "x1" ; then
39797 COND_WXUNIV_1=""
39798 fi
39799
39800 COND_WXUSE_EXPAT_BUILTIN="#"
39801 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
39802 COND_WXUSE_EXPAT_BUILTIN=""
39803 fi
39804
39805 COND_WXUSE_LIBJPEG_BUILTIN="#"
39806 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39807 COND_WXUSE_LIBJPEG_BUILTIN=""
39808 fi
39809
39810 COND_WXUSE_LIBPNG_BUILTIN="#"
39811 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39812 COND_WXUSE_LIBPNG_BUILTIN=""
39813 fi
39814
39815 COND_WXUSE_LIBTIFF_BUILTIN="#"
39816 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39817 COND_WXUSE_LIBTIFF_BUILTIN=""
39818 fi
39819
39820 COND_WXUSE_ODBC_BUILTIN="#"
39821 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
39822 COND_WXUSE_ODBC_BUILTIN=""
39823 fi
39824
39825 COND_WXUSE_REGEX_BUILTIN="#"
39826 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
39827 COND_WXUSE_REGEX_BUILTIN=""
39828 fi
39829
39830 COND_WXUSE_ZLIB_BUILTIN="#"
39831 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
39832 COND_WXUSE_ZLIB_BUILTIN=""
39833 fi
39834
39835
39836
39837
39838
39839 if test $GCC_PCH = 1 ; then
39840 CODE_GEN_FLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
39841 CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
39842 else
39843 case "${host}" in
39844 powerpc-*-darwin* )
39845 CODE_GEN_FLAGS="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
39846 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
39847 ;;
39848 esac
39849 fi
39850
39851
39852 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
39853
39854
39855
39856
39857
39858
39859
39860
39861
39862
39863
39864
39865
39866
39867
39868
39869
39870
39871
39872
39873
39874
39875
39876
39877
39878
39879
39880
39881
39882
39883
39884
39885
39886
39887
39888
39889
39890
39891
39892
39893
39894
39895
39896
39897
39898
39899
39900
39901
39902
39903
39904
39905
39906
39907
39908
39909
39910
39911
39912
39913
39914
39915
39916
39917
39918
39919
39920
39921
39922
39923
39924
39925
39926
39927
39928
39929
39930
39931
39932
39933
39934
39935
39936
39937
39938
39939
39940
39941
39942
39943
39944
39945
39946
39947
39948
39949
39950
39951
39952
39953 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
39954 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
39955 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
39956 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
39957 echo $ECHO_N "(cached) $ECHO_C" >&6
39958 else
39959 cat >conftest.make <<\_ACEOF
39960 all:
39961 @echo 'ac_maketemp="$(MAKE)"'
39962 _ACEOF
39963 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
39964 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
39965 if test -n "$ac_maketemp"; then
39966 eval ac_cv_prog_make_${ac_make}_set=yes
39967 else
39968 eval ac_cv_prog_make_${ac_make}_set=no
39969 fi
39970 rm -f conftest.make
39971 fi
39972 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
39973 echo "$as_me:$LINENO: result: yes" >&5
39974 echo "${ECHO_T}yes" >&6
39975 SET_MAKE=
39976 else
39977 echo "$as_me:$LINENO: result: no" >&5
39978 echo "${ECHO_T}no" >&6
39979 SET_MAKE="MAKE=${MAKE-make}"
39980 fi
39981
39982
39983 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
39984 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
39985 fi
39986
39987 ac_config_headers="$ac_config_headers setup.h"
39988
39989
39990 ac_config_files="$ac_config_files wx-config version-script Makefile"
39991
39992
39993 ac_config_commands="$ac_config_commands default"
39994
39995
39996
39997 if test "$wxUSE_GUI" = "yes"; then
39998 SUBDIRS="samples demos utils contrib"
39999 else SUBDIRS="samples utils"
40000 fi
40001
40002 for subdir in `echo $SUBDIRS`; do
40003 if test -d ${srcdir}/${subdir} ; then
40004 if test "$wxUSE_GUI" = "yes"; then
40005 if test ${subdir} = "samples"; then
40006 makefiles="samples/Makefile.in $makefiles"
40007 for sample in `echo $SAMPLES_SUBDIRS`; do
40008 if test -d $srcdir/samples/$sample; then
40009 makefiles="samples/$sample/Makefile.in $makefiles"
40010 fi
40011 done
40012 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
40013 fi
40014 else if test ${subdir} = "samples"; then
40015 makefiles="samples/Makefile.in samples/console/Makefile.in"
40016 else makefiles="utils/HelpGen/Makefile.in \
40017 utils/HelpGen/src/Makefile.in \
40018 utils/tex2rtf/Makefile.in \
40019 utils/tex2rtf/src/Makefile.in"
40020 fi
40021 fi
40022
40023 for mkin in $makefiles ; do
40024 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
40025 ac_config_files="$ac_config_files $mk"
40026
40027 done
40028 fi
40029 done
40030
40031
40032 cat >confcache <<\_ACEOF
40033 # This file is a shell script that caches the results of configure
40034 # tests run on this system so they can be shared between configure
40035 # scripts and configure runs, see configure's option --config-cache.
40036 # It is not useful on other systems. If it contains results you don't
40037 # want to keep, you may remove or edit it.
40038 #
40039 # config.status only pays attention to the cache file if you give it
40040 # the --recheck option to rerun configure.
40041 #
40042 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40043 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40044 # following values.
40045
40046 _ACEOF
40047
40048 # The following way of writing the cache mishandles newlines in values,
40049 # but we know of no workaround that is simple, portable, and efficient.
40050 # So, don't put newlines in cache variables' values.
40051 # Ultrix sh set writes to stderr and can't be redirected directly,
40052 # and sets the high bit in the cache file unless we assign to the vars.
40053 {
40054 (set) 2>&1 |
40055 case `(ac_space=' '; set | grep ac_space) 2>&1` in
40056 *ac_space=\ *)
40057 # `set' does not quote correctly, so add quotes (double-quote
40058 # substitution turns \\\\ into \\, and sed turns \\ into \).
40059 sed -n \
40060 "s/'/'\\\\''/g;
40061 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40062 ;;
40063 *)
40064 # `set' quotes correctly as required by POSIX, so do not add quotes.
40065 sed -n \
40066 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
40067 ;;
40068 esac;
40069 } |
40070 sed '
40071 t clear
40072 : clear
40073 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40074 t end
40075 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40076 : end' >>confcache
40077 if diff $cache_file confcache >/dev/null 2>&1; then :; else
40078 if test -w $cache_file; then
40079 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
40080 cat confcache >$cache_file
40081 else
40082 echo "not updating unwritable cache $cache_file"
40083 fi
40084 fi
40085 rm -f confcache
40086
40087 test "x$prefix" = xNONE && prefix=$ac_default_prefix
40088 # Let make expand exec_prefix.
40089 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
40090
40091 # VPATH may cause trouble with some makes, so we remove $(srcdir),
40092 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
40093 # trailing colons and then remove the whole line if VPATH becomes empty
40094 # (actually we leave an empty line to preserve line numbers).
40095 if test "x$srcdir" = x.; then
40096 ac_vpsub='/^[ ]*VPATH[ ]*=/{
40097 s/:*\$(srcdir):*/:/;
40098 s/:*\${srcdir}:*/:/;
40099 s/:*@srcdir@:*/:/;
40100 s/^\([^=]*=[ ]*\):*/\1/;
40101 s/:*$//;
40102 s/^[^=]*=[ ]*$//;
40103 }'
40104 fi
40105
40106 DEFS=-DHAVE_CONFIG_H
40107
40108 ac_libobjs=
40109 ac_ltlibobjs=
40110 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
40111 # 1. Remove the extension, and $U if already installed.
40112 ac_i=`echo "$ac_i" |
40113 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
40114 # 2. Add them.
40115 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
40116 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
40117 done
40118 LIBOBJS=$ac_libobjs
40119
40120 LTLIBOBJS=$ac_ltlibobjs
40121
40122
40123
40124 : ${CONFIG_STATUS=./config.status}
40125 ac_clean_files_save=$ac_clean_files
40126 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
40127 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
40128 echo "$as_me: creating $CONFIG_STATUS" >&6;}
40129 cat >$CONFIG_STATUS <<_ACEOF
40130 #! $SHELL
40131 # Generated by $as_me.
40132 # Run this file to recreate the current configuration.
40133 # Compiler output produced by configure, useful for debugging
40134 # configure, is in config.log if it exists.
40135
40136 debug=false
40137 ac_cs_recheck=false
40138 ac_cs_silent=false
40139 SHELL=\${CONFIG_SHELL-$SHELL}
40140 _ACEOF
40141
40142 cat >>$CONFIG_STATUS <<\_ACEOF
40143 ## --------------------- ##
40144 ## M4sh Initialization. ##
40145 ## --------------------- ##
40146
40147 # Be Bourne compatible
40148 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
40149 emulate sh
40150 NULLCMD=:
40151 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
40152 # is contrary to our usage. Disable this feature.
40153 alias -g '${1+"$@"}'='"$@"'
40154 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
40155 set -o posix
40156 fi
40157 DUALCASE=1; export DUALCASE # for MKS sh
40158
40159 # Support unset when possible.
40160 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
40161 as_unset=unset
40162 else
40163 as_unset=false
40164 fi
40165
40166
40167 # Work around bugs in pre-3.0 UWIN ksh.
40168 $as_unset ENV MAIL MAILPATH
40169 PS1='$ '
40170 PS2='> '
40171 PS4='+ '
40172
40173 # NLS nuisances.
40174 for as_var in \
40175 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
40176 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
40177 LC_TELEPHONE LC_TIME
40178 do
40179 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
40180 eval $as_var=C; export $as_var
40181 else
40182 $as_unset $as_var
40183 fi
40184 done
40185
40186 # Required to use basename.
40187 if expr a : '\(a\)' >/dev/null 2>&1; then
40188 as_expr=expr
40189 else
40190 as_expr=false
40191 fi
40192
40193 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
40194 as_basename=basename
40195 else
40196 as_basename=false
40197 fi
40198
40199
40200 # Name of the executable.
40201 as_me=`$as_basename "$0" ||
40202 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
40203 X"$0" : 'X\(//\)$' \| \
40204 X"$0" : 'X\(/\)$' \| \
40205 . : '\(.\)' 2>/dev/null ||
40206 echo X/"$0" |
40207 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
40208 /^X\/\(\/\/\)$/{ s//\1/; q; }
40209 /^X\/\(\/\).*/{ s//\1/; q; }
40210 s/.*/./; q'`
40211
40212
40213 # PATH needs CR, and LINENO needs CR and PATH.
40214 # Avoid depending upon Character Ranges.
40215 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
40216 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
40217 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40218 as_cr_digits='0123456789'
40219 as_cr_alnum=$as_cr_Letters$as_cr_digits
40220
40221 # The user is always right.
40222 if test "${PATH_SEPARATOR+set}" != set; then
40223 echo "#! /bin/sh" >conf$$.sh
40224 echo "exit 0" >>conf$$.sh
40225 chmod +x conf$$.sh
40226 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
40227 PATH_SEPARATOR=';'
40228 else
40229 PATH_SEPARATOR=:
40230 fi
40231 rm -f conf$$.sh
40232 fi
40233
40234
40235 as_lineno_1=$LINENO
40236 as_lineno_2=$LINENO
40237 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
40238 test "x$as_lineno_1" != "x$as_lineno_2" &&
40239 test "x$as_lineno_3" = "x$as_lineno_2" || {
40240 # Find who we are. Look in the path if we contain no path at all
40241 # relative or not.
40242 case $0 in
40243 *[\\/]* ) as_myself=$0 ;;
40244 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40245 for as_dir in $PATH
40246 do
40247 IFS=$as_save_IFS
40248 test -z "$as_dir" && as_dir=.
40249 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
40250 done
40251
40252 ;;
40253 esac
40254 # We did not find ourselves, most probably we were run as `sh COMMAND'
40255 # in which case we are not to be found in the path.
40256 if test "x$as_myself" = x; then
40257 as_myself=$0
40258 fi
40259 if test ! -f "$as_myself"; then
40260 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
40261 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
40262 { (exit 1); exit 1; }; }
40263 fi
40264 case $CONFIG_SHELL in
40265 '')
40266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40267 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
40268 do
40269 IFS=$as_save_IFS
40270 test -z "$as_dir" && as_dir=.
40271 for as_base in sh bash ksh sh5; do
40272 case $as_dir in
40273 /*)
40274 if ("$as_dir/$as_base" -c '
40275 as_lineno_1=$LINENO
40276 as_lineno_2=$LINENO
40277 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
40278 test "x$as_lineno_1" != "x$as_lineno_2" &&
40279 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
40280 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
40281 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
40282 CONFIG_SHELL=$as_dir/$as_base
40283 export CONFIG_SHELL
40284 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
40285 fi;;
40286 esac
40287 done
40288 done
40289 ;;
40290 esac
40291
40292 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
40293 # uniformly replaced by the line number. The first 'sed' inserts a
40294 # line-number line before each line; the second 'sed' does the real
40295 # work. The second script uses 'N' to pair each line-number line
40296 # with the numbered line, and appends trailing '-' during
40297 # substitution so that $LINENO is not a special case at line end.
40298 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
40299 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
40300 sed '=' <$as_myself |
40301 sed '
40302 N
40303 s,$,-,
40304 : loop
40305 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
40306 t loop
40307 s,-$,,
40308 s,^['$as_cr_digits']*\n,,
40309 ' >$as_me.lineno &&
40310 chmod +x $as_me.lineno ||
40311 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
40312 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
40313 { (exit 1); exit 1; }; }
40314
40315 # Don't try to exec as it changes $[0], causing all sort of problems
40316 # (the dirname of $[0] is not the place where we might find the
40317 # original and so on. Autoconf is especially sensible to this).
40318 . ./$as_me.lineno
40319 # Exit status is that of the last command.
40320 exit
40321 }
40322
40323
40324 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
40325 *c*,-n*) ECHO_N= ECHO_C='
40326 ' ECHO_T=' ' ;;
40327 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
40328 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
40329 esac
40330
40331 if expr a : '\(a\)' >/dev/null 2>&1; then
40332 as_expr=expr
40333 else
40334 as_expr=false
40335 fi
40336
40337 rm -f conf$$ conf$$.exe conf$$.file
40338 echo >conf$$.file
40339 if ln -s conf$$.file conf$$ 2>/dev/null; then
40340 # We could just check for DJGPP; but this test a) works b) is more generic
40341 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
40342 if test -f conf$$.exe; then
40343 # Don't use ln at all; we don't have any links
40344 as_ln_s='cp -p'
40345 else
40346 as_ln_s='ln -s'
40347 fi
40348 elif ln conf$$.file conf$$ 2>/dev/null; then
40349 as_ln_s=ln
40350 else
40351 as_ln_s='cp -p'
40352 fi
40353 rm -f conf$$ conf$$.exe conf$$.file
40354
40355 if mkdir -p . 2>/dev/null; then
40356 as_mkdir_p=:
40357 else
40358 test -d ./-p && rmdir ./-p
40359 as_mkdir_p=false
40360 fi
40361
40362 as_executable_p="test -f"
40363
40364 # Sed expression to map a string onto a valid CPP name.
40365 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
40366
40367 # Sed expression to map a string onto a valid variable name.
40368 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
40369
40370
40371 # IFS
40372 # We need space, tab and new line, in precisely that order.
40373 as_nl='
40374 '
40375 IFS=" $as_nl"
40376
40377 # CDPATH.
40378 $as_unset CDPATH
40379
40380 exec 6>&1
40381
40382 # Open the log real soon, to keep \$[0] and so on meaningful, and to
40383 # report actual input values of CONFIG_FILES etc. instead of their
40384 # values after options handling. Logging --version etc. is OK.
40385 exec 5>>config.log
40386 {
40387 echo
40388 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
40389 ## Running $as_me. ##
40390 _ASBOX
40391 } >&5
40392 cat >&5 <<_CSEOF
40393
40394 This file was extended by wxWindows $as_me 2.5.1, which was
40395 generated by GNU Autoconf 2.59. Invocation command line was
40396
40397 CONFIG_FILES = $CONFIG_FILES
40398 CONFIG_HEADERS = $CONFIG_HEADERS
40399 CONFIG_LINKS = $CONFIG_LINKS
40400 CONFIG_COMMANDS = $CONFIG_COMMANDS
40401 $ $0 $@
40402
40403 _CSEOF
40404 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
40405 echo >&5
40406 _ACEOF
40407
40408 # Files that config.status was made for.
40409 if test -n "$ac_config_files"; then
40410 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
40411 fi
40412
40413 if test -n "$ac_config_headers"; then
40414 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
40415 fi
40416
40417 if test -n "$ac_config_links"; then
40418 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
40419 fi
40420
40421 if test -n "$ac_config_commands"; then
40422 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
40423 fi
40424
40425 cat >>$CONFIG_STATUS <<\_ACEOF
40426
40427 ac_cs_usage="\
40428 \`$as_me' instantiates files from templates according to the
40429 current configuration.
40430
40431 Usage: $0 [OPTIONS] [FILE]...
40432
40433 -h, --help print this help, then exit
40434 -V, --version print version number, then exit
40435 -q, --quiet do not print progress messages
40436 -d, --debug don't remove temporary files
40437 --recheck update $as_me by reconfiguring in the same conditions
40438 --file=FILE[:TEMPLATE]
40439 instantiate the configuration file FILE
40440 --header=FILE[:TEMPLATE]
40441 instantiate the configuration header FILE
40442
40443 Configuration files:
40444 $config_files
40445
40446 Configuration headers:
40447 $config_headers
40448
40449 Configuration commands:
40450 $config_commands
40451
40452 Report bugs to <bug-autoconf@gnu.org>."
40453 _ACEOF
40454
40455 cat >>$CONFIG_STATUS <<_ACEOF
40456 ac_cs_version="\\
40457 wxWindows config.status 2.5.1
40458 configured by $0, generated by GNU Autoconf 2.59,
40459 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
40460
40461 Copyright (C) 2003 Free Software Foundation, Inc.
40462 This config.status script is free software; the Free Software Foundation
40463 gives unlimited permission to copy, distribute and modify it."
40464 srcdir=$srcdir
40465 INSTALL="$INSTALL"
40466 _ACEOF
40467
40468 cat >>$CONFIG_STATUS <<\_ACEOF
40469 # If no file are specified by the user, then we need to provide default
40470 # value. By we need to know if files were specified by the user.
40471 ac_need_defaults=:
40472 while test $# != 0
40473 do
40474 case $1 in
40475 --*=*)
40476 ac_option=`expr "x$1" : 'x\([^=]*\)='`
40477 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
40478 ac_shift=:
40479 ;;
40480 -*)
40481 ac_option=$1
40482 ac_optarg=$2
40483 ac_shift=shift
40484 ;;
40485 *) # This is not an option, so the user has probably given explicit
40486 # arguments.
40487 ac_option=$1
40488 ac_need_defaults=false;;
40489 esac
40490
40491 case $ac_option in
40492 # Handling of the options.
40493 _ACEOF
40494 cat >>$CONFIG_STATUS <<\_ACEOF
40495 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
40496 ac_cs_recheck=: ;;
40497 --version | --vers* | -V )
40498 echo "$ac_cs_version"; exit 0 ;;
40499 --he | --h)
40500 # Conflict between --help and --header
40501 { { echo "$as_me:$LINENO: error: ambiguous option: $1
40502 Try \`$0 --help' for more information." >&5
40503 echo "$as_me: error: ambiguous option: $1
40504 Try \`$0 --help' for more information." >&2;}
40505 { (exit 1); exit 1; }; };;
40506 --help | --hel | -h )
40507 echo "$ac_cs_usage"; exit 0 ;;
40508 --debug | --d* | -d )
40509 debug=: ;;
40510 --file | --fil | --fi | --f )
40511 $ac_shift
40512 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
40513 ac_need_defaults=false;;
40514 --header | --heade | --head | --hea )
40515 $ac_shift
40516 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
40517 ac_need_defaults=false;;
40518 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
40519 | -silent | --silent | --silen | --sile | --sil | --si | --s)
40520 ac_cs_silent=: ;;
40521
40522 # This is an error.
40523 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
40524 Try \`$0 --help' for more information." >&5
40525 echo "$as_me: error: unrecognized option: $1
40526 Try \`$0 --help' for more information." >&2;}
40527 { (exit 1); exit 1; }; } ;;
40528
40529 *) ac_config_targets="$ac_config_targets $1" ;;
40530
40531 esac
40532 shift
40533 done
40534
40535 ac_configure_extra_args=
40536
40537 if $ac_cs_silent; then
40538 exec 6>/dev/null
40539 ac_configure_extra_args="$ac_configure_extra_args --silent"
40540 fi
40541
40542 _ACEOF
40543 cat >>$CONFIG_STATUS <<_ACEOF
40544 if \$ac_cs_recheck; then
40545 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
40546 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
40547 fi
40548
40549 _ACEOF
40550
40551 cat >>$CONFIG_STATUS <<_ACEOF
40552 #
40553 # INIT-COMMANDS section.
40554 #
40555
40556
40557 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
40558 LN_S="${LN_S}"
40559
40560
40561
40562 _ACEOF
40563
40564
40565
40566 cat >>$CONFIG_STATUS <<\_ACEOF
40567 for ac_config_target in $ac_config_targets
40568 do
40569 case "$ac_config_target" in
40570 # Handling of arguments.
40571 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
40572 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
40573 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
40574 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
40575 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
40576 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
40577 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
40578 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
40579 { (exit 1); exit 1; }; };;
40580 esac
40581 done
40582
40583 # If the user did not use the arguments to specify the items to instantiate,
40584 # then the envvar interface is used. Set only those that are not.
40585 # We use the long form for the default assignment because of an extremely
40586 # bizarre bug on SunOS 4.1.3.
40587 if $ac_need_defaults; then
40588 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
40589 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
40590 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
40591 fi
40592
40593 # Have a temporary directory for convenience. Make it in the build tree
40594 # simply because there is no reason to put it here, and in addition,
40595 # creating and moving files from /tmp can sometimes cause problems.
40596 # Create a temporary directory, and hook for its removal unless debugging.
40597 $debug ||
40598 {
40599 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
40600 trap '{ (exit 1); exit 1; }' 1 2 13 15
40601 }
40602
40603 # Create a (secure) tmp directory for tmp files.
40604
40605 {
40606 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
40607 test -n "$tmp" && test -d "$tmp"
40608 } ||
40609 {
40610 tmp=./confstat$$-$RANDOM
40611 (umask 077 && mkdir $tmp)
40612 } ||
40613 {
40614 echo "$me: cannot create a temporary directory in ." >&2
40615 { (exit 1); exit 1; }
40616 }
40617
40618 _ACEOF
40619
40620 cat >>$CONFIG_STATUS <<_ACEOF
40621
40622 #
40623 # CONFIG_FILES section.
40624 #
40625
40626 # No need to generate the scripts if there are no CONFIG_FILES.
40627 # This happens for instance when ./config.status config.h
40628 if test -n "\$CONFIG_FILES"; then
40629 # Protect against being on the right side of a sed subst in config.status.
40630 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
40631 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
40632 s,@SHELL@,$SHELL,;t t
40633 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
40634 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
40635 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
40636 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
40637 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
40638 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
40639 s,@exec_prefix@,$exec_prefix,;t t
40640 s,@prefix@,$prefix,;t t
40641 s,@program_transform_name@,$program_transform_name,;t t
40642 s,@bindir@,$bindir,;t t
40643 s,@sbindir@,$sbindir,;t t
40644 s,@libexecdir@,$libexecdir,;t t
40645 s,@datadir@,$datadir,;t t
40646 s,@sysconfdir@,$sysconfdir,;t t
40647 s,@sharedstatedir@,$sharedstatedir,;t t
40648 s,@localstatedir@,$localstatedir,;t t
40649 s,@libdir@,$libdir,;t t
40650 s,@includedir@,$includedir,;t t
40651 s,@oldincludedir@,$oldincludedir,;t t
40652 s,@infodir@,$infodir,;t t
40653 s,@mandir@,$mandir,;t t
40654 s,@build_alias@,$build_alias,;t t
40655 s,@host_alias@,$host_alias,;t t
40656 s,@target_alias@,$target_alias,;t t
40657 s,@DEFS@,$DEFS,;t t
40658 s,@ECHO_C@,$ECHO_C,;t t
40659 s,@ECHO_N@,$ECHO_N,;t t
40660 s,@ECHO_T@,$ECHO_T,;t t
40661 s,@LIBS@,$LIBS,;t t
40662 s,@build@,$build,;t t
40663 s,@build_cpu@,$build_cpu,;t t
40664 s,@build_vendor@,$build_vendor,;t t
40665 s,@build_os@,$build_os,;t t
40666 s,@host@,$host,;t t
40667 s,@host_cpu@,$host_cpu,;t t
40668 s,@host_vendor@,$host_vendor,;t t
40669 s,@host_os@,$host_os,;t t
40670 s,@target@,$target,;t t
40671 s,@target_cpu@,$target_cpu,;t t
40672 s,@target_vendor@,$target_vendor,;t t
40673 s,@target_os@,$target_os,;t t
40674 s,@CC@,$CC,;t t
40675 s,@CFLAGS@,$CFLAGS,;t t
40676 s,@LDFLAGS@,$LDFLAGS,;t t
40677 s,@CPPFLAGS@,$CPPFLAGS,;t t
40678 s,@ac_ct_CC@,$ac_ct_CC,;t t
40679 s,@EXEEXT@,$EXEEXT,;t t
40680 s,@OBJEXT@,$OBJEXT,;t t
40681 s,@CPP@,$CPP,;t t
40682 s,@EGREP@,$EGREP,;t t
40683 s,@CXX@,$CXX,;t t
40684 s,@CXXFLAGS@,$CXXFLAGS,;t t
40685 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
40686 s,@RANLIB@,$RANLIB,;t t
40687 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
40688 s,@AR@,$AR,;t t
40689 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
40690 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
40691 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
40692 s,@STRIP@,$STRIP,;t t
40693 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
40694 s,@LN_S@,$LN_S,;t t
40695 s,@CXXCPP@,$CXXCPP,;t t
40696 s,@subdirs@,$subdirs,;t t
40697 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
40698 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
40699 s,@GTK_LIBS@,$GTK_LIBS,;t t
40700 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
40701 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
40702 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
40703 s,@X_CFLAGS@,$X_CFLAGS,;t t
40704 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
40705 s,@X_LIBS@,$X_LIBS,;t t
40706 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
40707 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
40708 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
40709 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
40710 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
40711 s,@RESCOMP@,$RESCOMP,;t t
40712 s,@DEREZ@,$DEREZ,;t t
40713 s,@SETFILE@,$SETFILE,;t t
40714 s,@LIBICONV@,$LIBICONV,;t t
40715 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
40716 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
40717 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
40718 s,@SDL_LIBS@,$SDL_LIBS,;t t
40719 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
40720 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
40721 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
40722 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
40723 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
40724 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
40725 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
40726 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
40727 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
40728 s,@VENDOR@,$VENDOR,;t t
40729 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
40730 s,@WXUNIV@,$WXUNIV,;t t
40731 s,@MONOLITHIC@,$MONOLITHIC,;t t
40732 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
40733 s,@EXTRALIBS@,$EXTRALIBS,;t t
40734 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
40735 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
40736 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
40737 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
40738 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
40739 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
40740 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
40741 s,@UNICODE@,$UNICODE,;t t
40742 s,@BUILD@,$BUILD,;t t
40743 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
40744 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
40745 s,@SHARED@,$SHARED,;t t
40746 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
40747 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
40748 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
40749 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
40750 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
40751 s,@SET_MAKE@,$SET_MAKE,;t t
40752 s,@MAKE_SET@,$MAKE_SET,;t t
40753 s,@ac_ct_AR@,$ac_ct_AR,;t t
40754 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
40755 s,@NM@,$NM,;t t
40756 s,@ac_ct_NM@,$ac_ct_NM,;t t
40757 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
40758 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
40759 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
40760 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
40761 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
40762 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
40763 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
40764 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
40765 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
40766 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
40767 s,@LIBPREFIX@,$LIBPREFIX,;t t
40768 s,@DLLPREFIX@,$DLLPREFIX,;t t
40769 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
40770 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
40771 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
40772 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
40773 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
40774 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
40775 s,@PIC_FLAG@,$PIC_FLAG,;t t
40776 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
40777 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
40778 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
40779 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
40780 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
40781 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
40782 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
40783 s,@GCC_PCH@,$GCC_PCH,;t t
40784 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
40785 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
40786 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
40787 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
40788 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
40789 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
40790 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
40791 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
40792 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
40793 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
40794 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
40795 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
40796 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
40797 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
40798 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
40799 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
40800 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
40801 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
40802 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
40803 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
40804 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
40805 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
40806 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
40807 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
40808 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
40809 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
40810 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
40811 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
40812 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
40813 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
40814 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
40815 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
40816 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
40817 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
40818 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
40819 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
40820 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
40821 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
40822 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
40823 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
40824 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
40825 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
40826 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
40827 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
40828 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
40829 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
40830 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
40831 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
40832 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
40833 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
40834 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
40835 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
40836 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
40837 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
40838 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
40839 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
40840 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
40841 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
40842 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
40843 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
40844 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
40845 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
40846 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
40847 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
40848 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
40849 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
40850 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
40851 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
40852 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
40853 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
40854 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
40855 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
40856 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
40857 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
40858 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
40859 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
40860 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
40861 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
40862 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
40863 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
40864 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
40865 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
40866 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
40867 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
40868 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
40869 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
40870 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
40871 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
40872 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
40873 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
40874 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
40875 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
40876 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
40877 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
40878 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
40879 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
40880 s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
40881 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
40882 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
40883 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
40884 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
40885 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
40886 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
40887 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
40888 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
40889 s,@PATH_IFS@,$PATH_IFS,;t t
40890 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
40891 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
40892 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
40893 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
40894 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
40895 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
40896 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
40897 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
40898 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
40899 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
40900 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
40901 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
40902 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
40903 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
40904 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
40905 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
40906 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
40907 s,@WX_ALL@,$WX_ALL,;t t
40908 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
40909 s,@SHARED_LD@,$SHARED_LD,;t t
40910 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
40911 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
40912 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
40913 s,@USE_GUI@,$USE_GUI,;t t
40914 s,@AFMINSTALL@,$AFMINSTALL,;t t
40915 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
40916 s,@TOOLKIT@,$TOOLKIT,;t t
40917 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
40918 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
40919 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
40920 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
40921 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
40922 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
40923 s,@cross_compiling@,$cross_compiling,;t t
40924 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
40925 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
40926 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
40927 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
40928 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
40929 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
40930 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
40931 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
40932 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
40933 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
40934 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
40935 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
40936 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
40937 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
40938 s,@GUIDIST@,$GUIDIST,;t t
40939 s,@PORT_FILES@,$PORT_FILES,;t t
40940 s,@DISTDIR@,$DISTDIR,;t t
40941 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
40942 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
40943 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
40944 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
40945 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
40946 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
40947 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
40948 s,@RESFLAGS@,$RESFLAGS,;t t
40949 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
40950 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
40951 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
40952 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
40953 s,@MACRESCOMP@,$MACRESCOMP,;t t
40954 s,@MACSETFILE@,$MACSETFILE,;t t
40955 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
40956 s,@GCC@,$GCC,;t t
40957 s,@GCC_SEARCHES_USR_LOCAL_INCLUDE@,$GCC_SEARCHES_USR_LOCAL_INCLUDE,;t t
40958 s,@DLLTOOL@,$DLLTOOL,;t t
40959 s,@AS@,$AS,;t t
40960 s,@LD@,$LD,;t t
40961 s,@MAKEINFO@,$MAKEINFO,;t t
40962 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
40963 s,@LIBOBJS@,$LIBOBJS,;t t
40964 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
40965 CEOF
40966
40967 _ACEOF
40968
40969 cat >>$CONFIG_STATUS <<\_ACEOF
40970 # Split the substitutions into bite-sized pieces for seds with
40971 # small command number limits, like on Digital OSF/1 and HP-UX.
40972 ac_max_sed_lines=48
40973 ac_sed_frag=1 # Number of current file.
40974 ac_beg=1 # First line for current file.
40975 ac_end=$ac_max_sed_lines # Line after last line for current file.
40976 ac_more_lines=:
40977 ac_sed_cmds=
40978 while $ac_more_lines; do
40979 if test $ac_beg -gt 1; then
40980 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
40981 else
40982 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
40983 fi
40984 if test ! -s $tmp/subs.frag; then
40985 ac_more_lines=false
40986 else
40987 # The purpose of the label and of the branching condition is to
40988 # speed up the sed processing (if there are no `@' at all, there
40989 # is no need to browse any of the substitutions).
40990 # These are the two extra sed commands mentioned above.
40991 (echo ':t
40992 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
40993 if test -z "$ac_sed_cmds"; then
40994 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
40995 else
40996 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
40997 fi
40998 ac_sed_frag=`expr $ac_sed_frag + 1`
40999 ac_beg=$ac_end
41000 ac_end=`expr $ac_end + $ac_max_sed_lines`
41001 fi
41002 done
41003 if test -z "$ac_sed_cmds"; then
41004 ac_sed_cmds=cat
41005 fi
41006 fi # test -n "$CONFIG_FILES"
41007
41008 _ACEOF
41009 cat >>$CONFIG_STATUS <<\_ACEOF
41010 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
41011 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
41012 case $ac_file in
41013 - | *:- | *:-:* ) # input from stdin
41014 cat >$tmp/stdin
41015 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
41016 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
41017 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
41018 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
41019 * ) ac_file_in=$ac_file.in ;;
41020 esac
41021
41022 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
41023 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
41024 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41025 X"$ac_file" : 'X\(//\)[^/]' \| \
41026 X"$ac_file" : 'X\(//\)$' \| \
41027 X"$ac_file" : 'X\(/\)' \| \
41028 . : '\(.\)' 2>/dev/null ||
41029 echo X"$ac_file" |
41030 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41031 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41032 /^X\(\/\/\)$/{ s//\1/; q; }
41033 /^X\(\/\).*/{ s//\1/; q; }
41034 s/.*/./; q'`
41035 { if $as_mkdir_p; then
41036 mkdir -p "$ac_dir"
41037 else
41038 as_dir="$ac_dir"
41039 as_dirs=
41040 while test ! -d "$as_dir"; do
41041 as_dirs="$as_dir $as_dirs"
41042 as_dir=`(dirname "$as_dir") 2>/dev/null ||
41043 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41044 X"$as_dir" : 'X\(//\)[^/]' \| \
41045 X"$as_dir" : 'X\(//\)$' \| \
41046 X"$as_dir" : 'X\(/\)' \| \
41047 . : '\(.\)' 2>/dev/null ||
41048 echo X"$as_dir" |
41049 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41050 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41051 /^X\(\/\/\)$/{ s//\1/; q; }
41052 /^X\(\/\).*/{ s//\1/; q; }
41053 s/.*/./; q'`
41054 done
41055 test ! -n "$as_dirs" || mkdir $as_dirs
41056 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41057 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41058 { (exit 1); exit 1; }; }; }
41059
41060 ac_builddir=.
41061
41062 if test "$ac_dir" != .; then
41063 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
41064 # A "../" for each directory in $ac_dir_suffix.
41065 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
41066 else
41067 ac_dir_suffix= ac_top_builddir=
41068 fi
41069
41070 case $srcdir in
41071 .) # No --srcdir option. We are building in place.
41072 ac_srcdir=.
41073 if test -z "$ac_top_builddir"; then
41074 ac_top_srcdir=.
41075 else
41076 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
41077 fi ;;
41078 [\\/]* | ?:[\\/]* ) # Absolute path.
41079 ac_srcdir=$srcdir$ac_dir_suffix;
41080 ac_top_srcdir=$srcdir ;;
41081 *) # Relative path.
41082 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
41083 ac_top_srcdir=$ac_top_builddir$srcdir ;;
41084 esac
41085
41086 # Do not use `cd foo && pwd` to compute absolute paths, because
41087 # the directories may not exist.
41088 case `pwd` in
41089 .) ac_abs_builddir="$ac_dir";;
41090 *)
41091 case "$ac_dir" in
41092 .) ac_abs_builddir=`pwd`;;
41093 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
41094 *) ac_abs_builddir=`pwd`/"$ac_dir";;
41095 esac;;
41096 esac
41097 case $ac_abs_builddir in
41098 .) ac_abs_top_builddir=${ac_top_builddir}.;;
41099 *)
41100 case ${ac_top_builddir}. in
41101 .) ac_abs_top_builddir=$ac_abs_builddir;;
41102 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
41103 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
41104 esac;;
41105 esac
41106 case $ac_abs_builddir in
41107 .) ac_abs_srcdir=$ac_srcdir;;
41108 *)
41109 case $ac_srcdir in
41110 .) ac_abs_srcdir=$ac_abs_builddir;;
41111 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
41112 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
41113 esac;;
41114 esac
41115 case $ac_abs_builddir in
41116 .) ac_abs_top_srcdir=$ac_top_srcdir;;
41117 *)
41118 case $ac_top_srcdir in
41119 .) ac_abs_top_srcdir=$ac_abs_builddir;;
41120 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
41121 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
41122 esac;;
41123 esac
41124
41125
41126 case $INSTALL in
41127 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
41128 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
41129 esac
41130
41131 if test x"$ac_file" != x-; then
41132 { echo "$as_me:$LINENO: creating $ac_file" >&5
41133 echo "$as_me: creating $ac_file" >&6;}
41134 rm -f "$ac_file"
41135 fi
41136 # Let's still pretend it is `configure' which instantiates (i.e., don't
41137 # use $as_me), people would be surprised to read:
41138 # /* config.h. Generated by config.status. */
41139 if test x"$ac_file" = x-; then
41140 configure_input=
41141 else
41142 configure_input="$ac_file. "
41143 fi
41144 configure_input=$configure_input"Generated from `echo $ac_file_in |
41145 sed 's,.*/,,'` by configure."
41146
41147 # First look for the input files in the build tree, otherwise in the
41148 # src tree.
41149 ac_file_inputs=`IFS=:
41150 for f in $ac_file_in; do
41151 case $f in
41152 -) echo $tmp/stdin ;;
41153 [\\/$]*)
41154 # Absolute (can't be DOS-style, as IFS=:)
41155 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41156 echo "$as_me: error: cannot find input file: $f" >&2;}
41157 { (exit 1); exit 1; }; }
41158 echo "$f";;
41159 *) # Relative
41160 if test -f "$f"; then
41161 # Build tree
41162 echo "$f"
41163 elif test -f "$srcdir/$f"; then
41164 # Source tree
41165 echo "$srcdir/$f"
41166 else
41167 # /dev/null tree
41168 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41169 echo "$as_me: error: cannot find input file: $f" >&2;}
41170 { (exit 1); exit 1; }; }
41171 fi;;
41172 esac
41173 done` || { (exit 1); exit 1; }
41174 _ACEOF
41175 cat >>$CONFIG_STATUS <<_ACEOF
41176 sed "$ac_vpsub
41177 $extrasub
41178 _ACEOF
41179 cat >>$CONFIG_STATUS <<\_ACEOF
41180 :t
41181 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
41182 s,@configure_input@,$configure_input,;t t
41183 s,@srcdir@,$ac_srcdir,;t t
41184 s,@abs_srcdir@,$ac_abs_srcdir,;t t
41185 s,@top_srcdir@,$ac_top_srcdir,;t t
41186 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
41187 s,@builddir@,$ac_builddir,;t t
41188 s,@abs_builddir@,$ac_abs_builddir,;t t
41189 s,@top_builddir@,$ac_top_builddir,;t t
41190 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
41191 s,@INSTALL@,$ac_INSTALL,;t t
41192 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
41193 rm -f $tmp/stdin
41194 if test x"$ac_file" != x-; then
41195 mv $tmp/out $ac_file
41196 else
41197 cat $tmp/out
41198 rm -f $tmp/out
41199 fi
41200
41201 done
41202 _ACEOF
41203 cat >>$CONFIG_STATUS <<\_ACEOF
41204
41205 #
41206 # CONFIG_HEADER section.
41207 #
41208
41209 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
41210 # NAME is the cpp macro being defined and VALUE is the value it is being given.
41211 #
41212 # ac_d sets the value in "#define NAME VALUE" lines.
41213 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
41214 ac_dB='[ ].*$,\1#\2'
41215 ac_dC=' '
41216 ac_dD=',;t'
41217 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
41218 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
41219 ac_uB='$,\1#\2define\3'
41220 ac_uC=' '
41221 ac_uD=',;t'
41222
41223 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
41224 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
41225 case $ac_file in
41226 - | *:- | *:-:* ) # input from stdin
41227 cat >$tmp/stdin
41228 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
41229 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
41230 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
41231 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
41232 * ) ac_file_in=$ac_file.in ;;
41233 esac
41234
41235 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
41236 echo "$as_me: creating $ac_file" >&6;}
41237
41238 # First look for the input files in the build tree, otherwise in the
41239 # src tree.
41240 ac_file_inputs=`IFS=:
41241 for f in $ac_file_in; do
41242 case $f in
41243 -) echo $tmp/stdin ;;
41244 [\\/$]*)
41245 # Absolute (can't be DOS-style, as IFS=:)
41246 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41247 echo "$as_me: error: cannot find input file: $f" >&2;}
41248 { (exit 1); exit 1; }; }
41249 # Do quote $f, to prevent DOS paths from being IFS'd.
41250 echo "$f";;
41251 *) # Relative
41252 if test -f "$f"; then
41253 # Build tree
41254 echo "$f"
41255 elif test -f "$srcdir/$f"; then
41256 # Source tree
41257 echo "$srcdir/$f"
41258 else
41259 # /dev/null tree
41260 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41261 echo "$as_me: error: cannot find input file: $f" >&2;}
41262 { (exit 1); exit 1; }; }
41263 fi;;
41264 esac
41265 done` || { (exit 1); exit 1; }
41266 # Remove the trailing spaces.
41267 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
41268
41269 _ACEOF
41270
41271 # Transform confdefs.h into two sed scripts, `conftest.defines' and
41272 # `conftest.undefs', that substitutes the proper values into
41273 # config.h.in to produce config.h. The first handles `#define'
41274 # templates, and the second `#undef' templates.
41275 # And first: Protect against being on the right side of a sed subst in
41276 # config.status. Protect against being in an unquoted here document
41277 # in config.status.
41278 rm -f conftest.defines conftest.undefs
41279 # Using a here document instead of a string reduces the quoting nightmare.
41280 # Putting comments in sed scripts is not portable.
41281 #
41282 # `end' is used to avoid that the second main sed command (meant for
41283 # 0-ary CPP macros) applies to n-ary macro definitions.
41284 # See the Autoconf documentation for `clear'.
41285 cat >confdef2sed.sed <<\_ACEOF
41286 s/[\\&,]/\\&/g
41287 s,[\\$`],\\&,g
41288 t clear
41289 : clear
41290 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
41291 t end
41292 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
41293 : end
41294 _ACEOF
41295 # If some macros were called several times there might be several times
41296 # the same #defines, which is useless. Nevertheless, we may not want to
41297 # sort them, since we want the *last* AC-DEFINE to be honored.
41298 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
41299 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
41300 rm -f confdef2sed.sed
41301
41302 # This sed command replaces #undef with comments. This is necessary, for
41303 # example, in the case of _POSIX_SOURCE, which is predefined and required
41304 # on some systems where configure will not decide to define it.
41305 cat >>conftest.undefs <<\_ACEOF
41306 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
41307 _ACEOF
41308
41309 # Break up conftest.defines because some shells have a limit on the size
41310 # of here documents, and old seds have small limits too (100 cmds).
41311 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
41312 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
41313 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
41314 echo ' :' >>$CONFIG_STATUS
41315 rm -f conftest.tail
41316 while grep . conftest.defines >/dev/null
41317 do
41318 # Write a limited-size here document to $tmp/defines.sed.
41319 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
41320 # Speed up: don't consider the non `#define' lines.
41321 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
41322 # Work around the forget-to-reset-the-flag bug.
41323 echo 't clr' >>$CONFIG_STATUS
41324 echo ': clr' >>$CONFIG_STATUS
41325 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
41326 echo 'CEOF
41327 sed -f $tmp/defines.sed $tmp/in >$tmp/out
41328 rm -f $tmp/in
41329 mv $tmp/out $tmp/in
41330 ' >>$CONFIG_STATUS
41331 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
41332 rm -f conftest.defines
41333 mv conftest.tail conftest.defines
41334 done
41335 rm -f conftest.defines
41336 echo ' fi # grep' >>$CONFIG_STATUS
41337 echo >>$CONFIG_STATUS
41338
41339 # Break up conftest.undefs because some shells have a limit on the size
41340 # of here documents, and old seds have small limits too (100 cmds).
41341 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
41342 rm -f conftest.tail
41343 while grep . conftest.undefs >/dev/null
41344 do
41345 # Write a limited-size here document to $tmp/undefs.sed.
41346 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
41347 # Speed up: don't consider the non `#undef'
41348 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
41349 # Work around the forget-to-reset-the-flag bug.
41350 echo 't clr' >>$CONFIG_STATUS
41351 echo ': clr' >>$CONFIG_STATUS
41352 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
41353 echo 'CEOF
41354 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
41355 rm -f $tmp/in
41356 mv $tmp/out $tmp/in
41357 ' >>$CONFIG_STATUS
41358 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
41359 rm -f conftest.undefs
41360 mv conftest.tail conftest.undefs
41361 done
41362 rm -f conftest.undefs
41363
41364 cat >>$CONFIG_STATUS <<\_ACEOF
41365 # Let's still pretend it is `configure' which instantiates (i.e., don't
41366 # use $as_me), people would be surprised to read:
41367 # /* config.h. Generated by config.status. */
41368 if test x"$ac_file" = x-; then
41369 echo "/* Generated by configure. */" >$tmp/config.h
41370 else
41371 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
41372 fi
41373 cat $tmp/in >>$tmp/config.h
41374 rm -f $tmp/in
41375 if test x"$ac_file" != x-; then
41376 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
41377 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
41378 echo "$as_me: $ac_file is unchanged" >&6;}
41379 else
41380 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
41381 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41382 X"$ac_file" : 'X\(//\)[^/]' \| \
41383 X"$ac_file" : 'X\(//\)$' \| \
41384 X"$ac_file" : 'X\(/\)' \| \
41385 . : '\(.\)' 2>/dev/null ||
41386 echo X"$ac_file" |
41387 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41388 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41389 /^X\(\/\/\)$/{ s//\1/; q; }
41390 /^X\(\/\).*/{ s//\1/; q; }
41391 s/.*/./; q'`
41392 { if $as_mkdir_p; then
41393 mkdir -p "$ac_dir"
41394 else
41395 as_dir="$ac_dir"
41396 as_dirs=
41397 while test ! -d "$as_dir"; do
41398 as_dirs="$as_dir $as_dirs"
41399 as_dir=`(dirname "$as_dir") 2>/dev/null ||
41400 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41401 X"$as_dir" : 'X\(//\)[^/]' \| \
41402 X"$as_dir" : 'X\(//\)$' \| \
41403 X"$as_dir" : 'X\(/\)' \| \
41404 . : '\(.\)' 2>/dev/null ||
41405 echo X"$as_dir" |
41406 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41407 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41408 /^X\(\/\/\)$/{ s//\1/; q; }
41409 /^X\(\/\).*/{ s//\1/; q; }
41410 s/.*/./; q'`
41411 done
41412 test ! -n "$as_dirs" || mkdir $as_dirs
41413 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41414 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41415 { (exit 1); exit 1; }; }; }
41416
41417 rm -f $ac_file
41418 mv $tmp/config.h $ac_file
41419 fi
41420 else
41421 cat $tmp/config.h
41422 rm -f $tmp/config.h
41423 fi
41424 done
41425 _ACEOF
41426 cat >>$CONFIG_STATUS <<\_ACEOF
41427
41428 #
41429 # CONFIG_COMMANDS section.
41430 #
41431 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
41432 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
41433 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
41434 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
41435 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41436 X"$ac_dest" : 'X\(//\)[^/]' \| \
41437 X"$ac_dest" : 'X\(//\)$' \| \
41438 X"$ac_dest" : 'X\(/\)' \| \
41439 . : '\(.\)' 2>/dev/null ||
41440 echo X"$ac_dest" |
41441 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41442 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41443 /^X\(\/\/\)$/{ s//\1/; q; }
41444 /^X\(\/\).*/{ s//\1/; q; }
41445 s/.*/./; q'`
41446 { if $as_mkdir_p; then
41447 mkdir -p "$ac_dir"
41448 else
41449 as_dir="$ac_dir"
41450 as_dirs=
41451 while test ! -d "$as_dir"; do
41452 as_dirs="$as_dir $as_dirs"
41453 as_dir=`(dirname "$as_dir") 2>/dev/null ||
41454 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41455 X"$as_dir" : 'X\(//\)[^/]' \| \
41456 X"$as_dir" : 'X\(//\)$' \| \
41457 X"$as_dir" : 'X\(/\)' \| \
41458 . : '\(.\)' 2>/dev/null ||
41459 echo X"$as_dir" |
41460 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41461 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41462 /^X\(\/\/\)$/{ s//\1/; q; }
41463 /^X\(\/\).*/{ s//\1/; q; }
41464 s/.*/./; q'`
41465 done
41466 test ! -n "$as_dirs" || mkdir $as_dirs
41467 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41468 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41469 { (exit 1); exit 1; }; }; }
41470
41471 ac_builddir=.
41472
41473 if test "$ac_dir" != .; then
41474 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
41475 # A "../" for each directory in $ac_dir_suffix.
41476 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
41477 else
41478 ac_dir_suffix= ac_top_builddir=
41479 fi
41480
41481 case $srcdir in
41482 .) # No --srcdir option. We are building in place.
41483 ac_srcdir=.
41484 if test -z "$ac_top_builddir"; then
41485 ac_top_srcdir=.
41486 else
41487 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
41488 fi ;;
41489 [\\/]* | ?:[\\/]* ) # Absolute path.
41490 ac_srcdir=$srcdir$ac_dir_suffix;
41491 ac_top_srcdir=$srcdir ;;
41492 *) # Relative path.
41493 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
41494 ac_top_srcdir=$ac_top_builddir$srcdir ;;
41495 esac
41496
41497 # Do not use `cd foo && pwd` to compute absolute paths, because
41498 # the directories may not exist.
41499 case `pwd` in
41500 .) ac_abs_builddir="$ac_dir";;
41501 *)
41502 case "$ac_dir" in
41503 .) ac_abs_builddir=`pwd`;;
41504 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
41505 *) ac_abs_builddir=`pwd`/"$ac_dir";;
41506 esac;;
41507 esac
41508 case $ac_abs_builddir in
41509 .) ac_abs_top_builddir=${ac_top_builddir}.;;
41510 *)
41511 case ${ac_top_builddir}. in
41512 .) ac_abs_top_builddir=$ac_abs_builddir;;
41513 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
41514 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
41515 esac;;
41516 esac
41517 case $ac_abs_builddir in
41518 .) ac_abs_srcdir=$ac_srcdir;;
41519 *)
41520 case $ac_srcdir in
41521 .) ac_abs_srcdir=$ac_abs_builddir;;
41522 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
41523 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
41524 esac;;
41525 esac
41526 case $ac_abs_builddir in
41527 .) ac_abs_top_srcdir=$ac_top_srcdir;;
41528 *)
41529 case $ac_top_srcdir in
41530 .) ac_abs_top_srcdir=$ac_abs_builddir;;
41531 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
41532 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
41533 esac;;
41534 esac
41535
41536
41537 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
41538 echo "$as_me: executing $ac_dest commands" >&6;}
41539 case $ac_dest in
41540 default )
41541 if test ! -h wx-config; then
41542 chmod +x wx-config
41543 mv wx-config wx${TOOLCHAIN_NAME}-config
41544 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
41545 fi
41546
41547 if test ! -d lib; then
41548 mkdir lib
41549 fi
41550 if test ! -d lib/wx; then
41551 mkdir lib/wx
41552 fi
41553 if test ! -d lib/wx/include; then
41554 mkdir lib/wx/include
41555 fi
41556 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
41557 mkdir lib/wx/include/${TOOLCHAIN_NAME}
41558 fi
41559 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
41560 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
41561 fi
41562 if test -f setup.h; then
41563 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
41564 fi
41565 ;;
41566 esac
41567 done
41568 _ACEOF
41569
41570 cat >>$CONFIG_STATUS <<\_ACEOF
41571
41572 { (exit 0); exit 0; }
41573 _ACEOF
41574 chmod +x $CONFIG_STATUS
41575 ac_clean_files=$ac_clean_files_save
41576
41577
41578 # configure is writing to config.log, and then calls config.status.
41579 # config.status does its own redirection, appending to config.log.
41580 # Unfortunately, on DOS this fails, as config.log is still kept open
41581 # by configure, so config.status won't be able to write to it; its
41582 # output is simply discarded. So we exec the FD to /dev/null,
41583 # effectively closing config.log, so it can be properly (re)opened and
41584 # appended to by config.status. When coming back to configure, we
41585 # need to make the FD available again.
41586 if test "$no_create" != yes; then
41587 ac_cs_success=:
41588 ac_config_status_args=
41589 test "$silent" = yes &&
41590 ac_config_status_args="$ac_config_status_args --quiet"
41591 exec 5>/dev/null
41592 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
41593 exec 5>>config.log
41594 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
41595 # would make configure fail if this is the last instruction.
41596 $ac_cs_success || { (exit 1); exit 1; }
41597 fi
41598
41599 #
41600 # CONFIG_SUBDIRS section.
41601 #
41602 if test "$no_recursion" != yes; then
41603
41604 # Remove --cache-file and --srcdir arguments so they do not pile up.
41605 ac_sub_configure_args=
41606 ac_prev=
41607 for ac_arg in $ac_configure_args; do
41608 if test -n "$ac_prev"; then
41609 ac_prev=
41610 continue
41611 fi
41612 case $ac_arg in
41613 -cache-file | --cache-file | --cache-fil | --cache-fi \
41614 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
41615 ac_prev=cache_file ;;
41616 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
41617 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
41618 | --c=*)
41619 ;;
41620 --config-cache | -C)
41621 ;;
41622 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
41623 ac_prev=srcdir ;;
41624 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
41625 ;;
41626 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
41627 ac_prev=prefix ;;
41628 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
41629 ;;
41630 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
41631 esac
41632 done
41633
41634 # Always prepend --prefix to ensure using the same prefix
41635 # in subdir configurations.
41636 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
41637
41638 ac_popdir=`pwd`
41639 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
41640
41641 # Do not complain, so a configure script can configure whichever
41642 # parts of a large source tree are present.
41643 test -d $srcdir/$ac_dir || continue
41644
41645 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
41646 echo "$as_me: configuring in $ac_dir" >&6;}
41647 { if $as_mkdir_p; then
41648 mkdir -p "$ac_dir"
41649 else
41650 as_dir="$ac_dir"
41651 as_dirs=
41652 while test ! -d "$as_dir"; do
41653 as_dirs="$as_dir $as_dirs"
41654 as_dir=`(dirname "$as_dir") 2>/dev/null ||
41655 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41656 X"$as_dir" : 'X\(//\)[^/]' \| \
41657 X"$as_dir" : 'X\(//\)$' \| \
41658 X"$as_dir" : 'X\(/\)' \| \
41659 . : '\(.\)' 2>/dev/null ||
41660 echo X"$as_dir" |
41661 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41662 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41663 /^X\(\/\/\)$/{ s//\1/; q; }
41664 /^X\(\/\).*/{ s//\1/; q; }
41665 s/.*/./; q'`
41666 done
41667 test ! -n "$as_dirs" || mkdir $as_dirs
41668 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41669 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41670 { (exit 1); exit 1; }; }; }
41671
41672 ac_builddir=.
41673
41674 if test "$ac_dir" != .; then
41675 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
41676 # A "../" for each directory in $ac_dir_suffix.
41677 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
41678 else
41679 ac_dir_suffix= ac_top_builddir=
41680 fi
41681
41682 case $srcdir in
41683 .) # No --srcdir option. We are building in place.
41684 ac_srcdir=.
41685 if test -z "$ac_top_builddir"; then
41686 ac_top_srcdir=.
41687 else
41688 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
41689 fi ;;
41690 [\\/]* | ?:[\\/]* ) # Absolute path.
41691 ac_srcdir=$srcdir$ac_dir_suffix;
41692 ac_top_srcdir=$srcdir ;;
41693 *) # Relative path.
41694 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
41695 ac_top_srcdir=$ac_top_builddir$srcdir ;;
41696 esac
41697
41698 # Do not use `cd foo && pwd` to compute absolute paths, because
41699 # the directories may not exist.
41700 case `pwd` in
41701 .) ac_abs_builddir="$ac_dir";;
41702 *)
41703 case "$ac_dir" in
41704 .) ac_abs_builddir=`pwd`;;
41705 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
41706 *) ac_abs_builddir=`pwd`/"$ac_dir";;
41707 esac;;
41708 esac
41709 case $ac_abs_builddir in
41710 .) ac_abs_top_builddir=${ac_top_builddir}.;;
41711 *)
41712 case ${ac_top_builddir}. in
41713 .) ac_abs_top_builddir=$ac_abs_builddir;;
41714 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
41715 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
41716 esac;;
41717 esac
41718 case $ac_abs_builddir in
41719 .) ac_abs_srcdir=$ac_srcdir;;
41720 *)
41721 case $ac_srcdir in
41722 .) ac_abs_srcdir=$ac_abs_builddir;;
41723 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
41724 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
41725 esac;;
41726 esac
41727 case $ac_abs_builddir in
41728 .) ac_abs_top_srcdir=$ac_top_srcdir;;
41729 *)
41730 case $ac_top_srcdir in
41731 .) ac_abs_top_srcdir=$ac_abs_builddir;;
41732 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
41733 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
41734 esac;;
41735 esac
41736
41737
41738 cd $ac_dir
41739
41740 # Check for guested configure; otherwise get Cygnus style configure.
41741 if test -f $ac_srcdir/configure.gnu; then
41742 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
41743 elif test -f $ac_srcdir/configure; then
41744 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
41745 elif test -f $ac_srcdir/configure.in; then
41746 ac_sub_configure=$ac_configure
41747 else
41748 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
41749 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
41750 ac_sub_configure=
41751 fi
41752
41753 # The recursion is here.
41754 if test -n "$ac_sub_configure"; then
41755 # Make the cache file name correct relative to the subdirectory.
41756 case $cache_file in
41757 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
41758 *) # Relative path.
41759 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
41760 esac
41761
41762 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
41763 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
41764 # The eval makes quoting arguments work.
41765 eval $ac_sub_configure $ac_sub_configure_args \
41766 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
41767 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
41768 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
41769 { (exit 1); exit 1; }; }
41770 fi
41771
41772 cd $ac_popdir
41773 done
41774 fi
41775
41776
41777 echo
41778 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
41779 echo ""
41780 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT_LOWERCASE:-base only}"
41781 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
41782
41783 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
41784 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
41785 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
41786
41787 echo " What level of wxWindows compatibility should be enabled?"
41788 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
41789 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
41790
41791 echo " Which libraries should wxWindows use?"
41792 echo " jpeg ${wxUSE_LIBJPEG-none}"
41793 echo " png ${wxUSE_LIBPNG-none}"
41794 echo " regex ${wxUSE_REGEX}"
41795 echo " tiff ${wxUSE_LIBTIFF-none}"
41796 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
41797 echo " xpm ${wxUSE_LIBXPM-none}"
41798 fi
41799 echo " zlib ${wxUSE_ZLIB}"
41800 echo " odbc ${wxUSE_ODBC}"
41801 echo " expat ${wxUSE_EXPAT}"
41802 echo " libmspack ${wxUSE_LIBMSPACK}"
41803 echo " sdl ${wxUSE_LIBSDL}"
41804
41805 echo ""
41806