]> git.saurik.com Git - wxWidgets.git/blob - configure
Add --with-sdl to the build doc and RPM spec
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWindows 2.5.1.
5 #
6 # Report bugs to <wx-dev@lists.wxwindows.org>.
7 #
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24 fi
25 DUALCASE=1; export DUALCASE # for MKS sh
26
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46 do
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100 fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155 done
156 ;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187 }
188
189
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192 ' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226 fi
227
228 as_executable_p="test -f"
229
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
236
237 # IFS
238 # We need space, tab and new line, in precisely that order.
239 as_nl='
240 '
241 IFS=" $as_nl"
242
243 # CDPATH.
244 $as_unset CDPATH
245
246
247 # Name of the host.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252 exec 6>&1
253
254 #
255 # Initializations.
256 #
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
259 cross_compiling=no
260 subdirs=
261 MFLAGS=
262 MAKEFLAGS=
263 SHELL=${CONFIG_SHELL-/bin/sh}
264
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
269
270 # Identity of this package.
271 PACKAGE_NAME='wxWindows'
272 PACKAGE_TARNAME='wxwindows'
273 PACKAGE_VERSION='2.5.1'
274 PACKAGE_STRING='wxWindows 2.5.1'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwindows.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX PLATFORM_OS2 SO_SUFFIX SO_SUFFIX_MODULE LIBPREFIX DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_PLUGINS_0 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WITH_PLUGIN_SDL_1 COND_WITH_SDL_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC GCC_SEARCHES_USR_LOCAL_INCLUDE DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
317 ac_subst_files=''
318
319 # Initialize some variables set by options.
320 ac_init_help=
321 ac_init_version=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
324 cache_file=/dev/null
325 exec_prefix=NONE
326 no_create=
327 no_recursion=
328 prefix=NONE
329 program_prefix=NONE
330 program_suffix=NONE
331 program_transform_name=s,x,x,
332 silent=
333 site=
334 srcdir=
335 verbose=
336 x_includes=NONE
337 x_libraries=NONE
338
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir='${exec_prefix}/bin'
345 sbindir='${exec_prefix}/sbin'
346 libexecdir='${exec_prefix}/libexec'
347 datadir='${prefix}/share'
348 sysconfdir='${prefix}/etc'
349 sharedstatedir='${prefix}/com'
350 localstatedir='${prefix}/var'
351 libdir='${exec_prefix}/lib'
352 includedir='${prefix}/include'
353 oldincludedir='/usr/include'
354 infodir='${prefix}/info'
355 mandir='${prefix}/man'
356
357 ac_prev=
358 for ac_option
359 do
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
363 ac_prev=
364 continue
365 fi
366
367 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368
369 # Accept the important Cygnus configure options, so we can diagnose typos.
370
371 case $ac_option in
372
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 ac_prev=bindir ;;
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 bindir=$ac_optarg ;;
377
378 -build | --build | --buil | --bui | --bu)
379 ac_prev=build_alias ;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias=$ac_optarg ;;
382
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev=cache_file ;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file=$ac_optarg ;;
389
390 --config-cache | -C)
391 cache_file=config.cache ;;
392
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 ac_prev=datadir ;;
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 | --da=*)
397 datadir=$ac_optarg ;;
398
399 -disable-* | --disable-*)
400 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
407
408 -enable-* | --enable-*)
409 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415 case $ac_option in
416 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 *) ac_optarg=yes ;;
418 esac
419 eval "enable_$ac_feature='$ac_optarg'" ;;
420
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev=exec_prefix ;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix=$ac_optarg ;;
429
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
432 with_gas=yes ;;
433
434 -help | --help | --hel | --he | -h)
435 ac_init_help=long ;;
436 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
437 ac_init_help=recursive ;;
438 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
439 ac_init_help=short ;;
440
441 -host | --host | --hos | --ho)
442 ac_prev=host_alias ;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias=$ac_optarg ;;
445
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev=includedir ;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir=$ac_optarg ;;
452
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 ac_prev=infodir ;;
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir=$ac_optarg ;;
457
458 -libdir | --libdir | --libdi | --libd)
459 ac_prev=libdir ;;
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 libdir=$ac_optarg ;;
462
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev=libexecdir ;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir=$ac_optarg ;;
469
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev=localstatedir ;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir=$ac_optarg ;;
478
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 ac_prev=mandir ;;
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 mandir=$ac_optarg ;;
483
484 -nfp | --nfp | --nf)
485 # Obsolete; use --without-fp.
486 with_fp=no ;;
487
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
490 no_create=yes ;;
491
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 no_recursion=yes ;;
495
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev=oldincludedir ;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir=$ac_optarg ;;
504
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 ac_prev=prefix ;;
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 prefix=$ac_optarg ;;
509
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev=program_prefix ;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix=$ac_optarg ;;
516
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev=program_suffix ;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix=$ac_optarg ;;
523
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev=program_transform_name ;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name=$ac_optarg ;;
540
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
543 silent=yes ;;
544
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 ac_prev=sbindir ;;
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 | --sbi=* | --sb=*)
549 sbindir=$ac_optarg ;;
550
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
554 | --sha | --sh)
555 ac_prev=sharedstatedir ;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 | --sha=* | --sh=*)
560 sharedstatedir=$ac_optarg ;;
561
562 -site | --site | --sit)
563 ac_prev=site ;;
564 -site=* | --site=* | --sit=*)
565 site=$ac_optarg ;;
566
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 ac_prev=srcdir ;;
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 srcdir=$ac_optarg ;;
571
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev=sysconfdir ;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir=$ac_optarg ;;
578
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev=target_alias ;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias=$ac_optarg ;;
583
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 verbose=yes ;;
586
587 -version | --version | --versio | --versi | --vers | -V)
588 ac_init_version=: ;;
589
590 -with-* | --with-*)
591 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package=`echo $ac_package| sed 's/-/_/g'`
597 case $ac_option in
598 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 *) ac_optarg=yes ;;
600 esac
601 eval "with_$ac_package='$ac_optarg'" ;;
602
603 -without-* | --without-*)
604 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
611
612 --x)
613 # Obsolete; use --with-x.
614 with_x=yes ;;
615
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev=x_includes ;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes=$ac_optarg ;;
622
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev=x_libraries ;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries=$ac_optarg ;;
629
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
633 ;;
634
635 *=*)
636 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
643 export $ac_envvar ;;
644
645 *)
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 ;;
652
653 esac
654 done
655
656 if test -n "$ac_prev"; then
657 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
660 fi
661
662 # Be sure to have absolute paths.
663 for ac_var in exec_prefix prefix
664 do
665 eval ac_val=$`echo $ac_var`
666 case $ac_val in
667 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
670 esac
671 done
672
673 # Be sure to have absolute paths.
674 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
676 do
677 eval ac_val=$`echo $ac_var`
678 case $ac_val in
679 [\\/$]* | ?:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
682 esac
683 done
684
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
688 build=$build_alias
689 host=$host_alias
690 target=$target_alias
691
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x; then
694 if test "x$build_alias" = x; then
695 cross_compiling=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
699 cross_compiling=yes
700 fi
701 fi
702
703 ac_tool_prefix=
704 test -n "$host_alias" && ac_tool_prefix=$host_alias-
705
706 test "$silent" = yes && exec 6>/dev/null
707
708
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
719 echo X"$0" |
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
724 s/.*/./; q'`
725 srcdir=$ac_confdir
726 if test ! -r $srcdir/$ac_unique_file; then
727 srcdir=..
728 fi
729 else
730 ac_srcdir_defaulted=no
731 fi
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
736 else
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
739 fi
740 fi
741 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set=${build_alias+set}
746 ac_env_build_alias_value=$build_alias
747 ac_cv_env_build_alias_set=${build_alias+set}
748 ac_cv_env_build_alias_value=$build_alias
749 ac_env_host_alias_set=${host_alias+set}
750 ac_env_host_alias_value=$host_alias
751 ac_cv_env_host_alias_set=${host_alias+set}
752 ac_cv_env_host_alias_value=$host_alias
753 ac_env_target_alias_set=${target_alias+set}
754 ac_env_target_alias_value=$target_alias
755 ac_cv_env_target_alias_set=${target_alias+set}
756 ac_cv_env_target_alias_value=$target_alias
757 ac_env_CC_set=${CC+set}
758 ac_env_CC_value=$CC
759 ac_cv_env_CC_set=${CC+set}
760 ac_cv_env_CC_value=$CC
761 ac_env_CFLAGS_set=${CFLAGS+set}
762 ac_env_CFLAGS_value=$CFLAGS
763 ac_cv_env_CFLAGS_set=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value=$CFLAGS
765 ac_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_env_LDFLAGS_value=$LDFLAGS
767 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value=$LDFLAGS
769 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
773 ac_env_CPP_set=${CPP+set}
774 ac_env_CPP_value=$CPP
775 ac_cv_env_CPP_set=${CPP+set}
776 ac_cv_env_CPP_value=$CPP
777 ac_env_CXX_set=${CXX+set}
778 ac_env_CXX_value=$CXX
779 ac_cv_env_CXX_set=${CXX+set}
780 ac_cv_env_CXX_value=$CXX
781 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
785 ac_env_CXXCPP_set=${CXXCPP+set}
786 ac_env_CXXCPP_value=$CXXCPP
787 ac_cv_env_CXXCPP_set=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value=$CXXCPP
789
790 #
791 # Report the --help message.
792 #
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
796 cat <<_ACEOF
797 \`configure' configures wxWindows 2.5.1 to adapt to many kinds of systems.
798
799 Usage: $0 [OPTION]... [VAR=VALUE]...
800
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
803
804 Defaults for the options are specified in brackets.
805
806 Configuration:
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
816
817 _ACEOF
818
819 cat <<_ACEOF
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
822 [$ac_default_prefix]
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
824 [PREFIX]
825
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
830
831 For better control, use the options below.
832
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
846 _ACEOF
847
848 cat <<\_ACEOF
849
850 X features:
851 --x-includes=DIR X include files are in DIR
852 --x-libraries=DIR X library files are in DIR
853
854 System types:
855 --build=BUILD configure for building on BUILD [guessed]
856 --host=HOST cross-compile to build programs to run on HOST [BUILD]
857 --target=TARGET configure for building compilers for TARGET [HOST]
858 _ACEOF
859 fi
860
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short | recursive ) echo "Configuration of wxWindows 2.5.1:";;
864 esac
865 cat <<\_ACEOF
866
867 Optional Features:
868 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
869 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWindows as single library
872 --enable-plugins build parts of wxWindows as loadable components
873 --enable-universal use wxWindows GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
876 --enable-gpe use GNOME PDA Environment features if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL for containers
881 --enable-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 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1071 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1072
1073 Some influential environment variables:
1074 CC C compiler command
1075 CFLAGS C compiler flags
1076 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1077 nonstandard directory <lib dir>
1078 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1079 headers in a nonstandard directory <include dir>
1080 CPP C preprocessor
1081 CXX C++ compiler command
1082 CXXFLAGS C++ compiler flags
1083 CXXCPP C++ preprocessor
1084
1085 Use these variables to override the choices made by `configure' or to help
1086 it to find libraries and programs with nonstandard names/locations.
1087
1088 Report bugs to <wx-dev@lists.wxwindows.org>.
1089 _ACEOF
1090 fi
1091
1092 if test "$ac_init_help" = "recursive"; then
1093 # If there are subdirs, report their specific --help.
1094 ac_popdir=`pwd`
1095 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1096 test -d $ac_dir || continue
1097 ac_builddir=.
1098
1099 if test "$ac_dir" != .; then
1100 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1101 # A "../" for each directory in $ac_dir_suffix.
1102 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1103 else
1104 ac_dir_suffix= ac_top_builddir=
1105 fi
1106
1107 case $srcdir in
1108 .) # No --srcdir option. We are building in place.
1109 ac_srcdir=.
1110 if test -z "$ac_top_builddir"; then
1111 ac_top_srcdir=.
1112 else
1113 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1114 fi ;;
1115 [\\/]* | ?:[\\/]* ) # Absolute path.
1116 ac_srcdir=$srcdir$ac_dir_suffix;
1117 ac_top_srcdir=$srcdir ;;
1118 *) # Relative path.
1119 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1120 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1121 esac
1122
1123 # Do not use `cd foo && pwd` to compute absolute paths, because
1124 # the directories may not exist.
1125 case `pwd` in
1126 .) ac_abs_builddir="$ac_dir";;
1127 *)
1128 case "$ac_dir" in
1129 .) ac_abs_builddir=`pwd`;;
1130 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1131 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1132 esac;;
1133 esac
1134 case $ac_abs_builddir in
1135 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1136 *)
1137 case ${ac_top_builddir}. in
1138 .) ac_abs_top_builddir=$ac_abs_builddir;;
1139 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1140 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1141 esac;;
1142 esac
1143 case $ac_abs_builddir in
1144 .) ac_abs_srcdir=$ac_srcdir;;
1145 *)
1146 case $ac_srcdir in
1147 .) ac_abs_srcdir=$ac_abs_builddir;;
1148 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1149 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1150 esac;;
1151 esac
1152 case $ac_abs_builddir in
1153 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1154 *)
1155 case $ac_top_srcdir in
1156 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1157 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1158 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1159 esac;;
1160 esac
1161
1162 cd $ac_dir
1163 # Check for guested configure; otherwise get Cygnus style configure.
1164 if test -f $ac_srcdir/configure.gnu; then
1165 echo
1166 $SHELL $ac_srcdir/configure.gnu --help=recursive
1167 elif test -f $ac_srcdir/configure; then
1168 echo
1169 $SHELL $ac_srcdir/configure --help=recursive
1170 elif test -f $ac_srcdir/configure.ac ||
1171 test -f $ac_srcdir/configure.in; then
1172 echo
1173 $ac_configure --help
1174 else
1175 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1176 fi
1177 cd "$ac_popdir"
1178 done
1179 fi
1180
1181 test -n "$ac_init_help" && exit 0
1182 if $ac_init_version; then
1183 cat <<\_ACEOF
1184 wxWindows configure 2.5.1
1185 generated by GNU Autoconf 2.59
1186
1187 Copyright (C) 2003 Free Software Foundation, Inc.
1188 This configure script is free software; the Free Software Foundation
1189 gives unlimited permission to copy, distribute and modify it.
1190 _ACEOF
1191 exit 0
1192 fi
1193 exec 5>config.log
1194 cat >&5 <<_ACEOF
1195 This file contains any messages produced by compilers while
1196 running configure, to aid debugging if configure makes a mistake.
1197
1198 It was created by wxWindows $as_me 2.5.1, which was
1199 generated by GNU Autoconf 2.59. Invocation command line was
1200
1201 $ $0 $@
1202
1203 _ACEOF
1204 {
1205 cat <<_ASUNAME
1206 ## --------- ##
1207 ## Platform. ##
1208 ## --------- ##
1209
1210 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1211 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1212 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1213 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1214 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1215
1216 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1217 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1218
1219 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1220 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1221 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1222 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1223 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1224 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1225 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1226
1227 _ASUNAME
1228
1229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1230 for as_dir in $PATH
1231 do
1232 IFS=$as_save_IFS
1233 test -z "$as_dir" && as_dir=.
1234 echo "PATH: $as_dir"
1235 done
1236
1237 } >&5
1238
1239 cat >&5 <<_ACEOF
1240
1241
1242 ## ----------- ##
1243 ## Core tests. ##
1244 ## ----------- ##
1245
1246 _ACEOF
1247
1248
1249 # Keep a trace of the command line.
1250 # Strip out --no-create and --no-recursion so they do not pile up.
1251 # Strip out --silent because we don't want to record it for future runs.
1252 # Also quote any args containing shell meta-characters.
1253 # Make two passes to allow for proper duplicate-argument suppression.
1254 ac_configure_args=
1255 ac_configure_args0=
1256 ac_configure_args1=
1257 ac_sep=
1258 ac_must_keep_next=false
1259 for ac_pass in 1 2
1260 do
1261 for ac_arg
1262 do
1263 case $ac_arg in
1264 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1265 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1266 | -silent | --silent | --silen | --sile | --sil)
1267 continue ;;
1268 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1269 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1270 esac
1271 case $ac_pass in
1272 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1273 2)
1274 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1275 if test $ac_must_keep_next = true; then
1276 ac_must_keep_next=false # Got value, back to normal.
1277 else
1278 case $ac_arg in
1279 *=* | --config-cache | -C | -disable-* | --disable-* \
1280 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1281 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1282 | -with-* | --with-* | -without-* | --without-* | --x)
1283 case "$ac_configure_args0 " in
1284 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1285 esac
1286 ;;
1287 -* ) ac_must_keep_next=true ;;
1288 esac
1289 fi
1290 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1291 # Get rid of the leading space.
1292 ac_sep=" "
1293 ;;
1294 esac
1295 done
1296 done
1297 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1298 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1299
1300 # When interrupted or exit'd, cleanup temporary files, and complete
1301 # config.log. We remove comments because anyway the quotes in there
1302 # would cause problems or look ugly.
1303 # WARNING: Be sure not to use single quotes in there, as some shells,
1304 # such as our DU 5.0 friend, will then `close' the trap.
1305 trap 'exit_status=$?
1306 # Save into config.log some information that might help in debugging.
1307 {
1308 echo
1309
1310 cat <<\_ASBOX
1311 ## ---------------- ##
1312 ## Cache variables. ##
1313 ## ---------------- ##
1314 _ASBOX
1315 echo
1316 # The following way of writing the cache mishandles newlines in values,
1317 {
1318 (set) 2>&1 |
1319 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1320 *ac_space=\ *)
1321 sed -n \
1322 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1323 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1324 ;;
1325 *)
1326 sed -n \
1327 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1328 ;;
1329 esac;
1330 }
1331 echo
1332
1333 cat <<\_ASBOX
1334 ## ----------------- ##
1335 ## Output variables. ##
1336 ## ----------------- ##
1337 _ASBOX
1338 echo
1339 for ac_var in $ac_subst_vars
1340 do
1341 eval ac_val=$`echo $ac_var`
1342 echo "$ac_var='"'"'$ac_val'"'"'"
1343 done | sort
1344 echo
1345
1346 if test -n "$ac_subst_files"; then
1347 cat <<\_ASBOX
1348 ## ------------- ##
1349 ## Output files. ##
1350 ## ------------- ##
1351 _ASBOX
1352 echo
1353 for ac_var in $ac_subst_files
1354 do
1355 eval ac_val=$`echo $ac_var`
1356 echo "$ac_var='"'"'$ac_val'"'"'"
1357 done | sort
1358 echo
1359 fi
1360
1361 if test -s confdefs.h; then
1362 cat <<\_ASBOX
1363 ## ----------- ##
1364 ## confdefs.h. ##
1365 ## ----------- ##
1366 _ASBOX
1367 echo
1368 sed "/^$/d" confdefs.h | sort
1369 echo
1370 fi
1371 test "$ac_signal" != 0 &&
1372 echo "$as_me: caught signal $ac_signal"
1373 echo "$as_me: exit $exit_status"
1374 } >&5
1375 rm -f core *.core &&
1376 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1377 exit $exit_status
1378 ' 0
1379 for ac_signal in 1 2 13 15; do
1380 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1381 done
1382 ac_signal=0
1383
1384 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1385 rm -rf conftest* confdefs.h
1386 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1387 echo >confdefs.h
1388
1389 # Predefined preprocessor variables.
1390
1391 cat >>confdefs.h <<_ACEOF
1392 #define PACKAGE_NAME "$PACKAGE_NAME"
1393 _ACEOF
1394
1395
1396 cat >>confdefs.h <<_ACEOF
1397 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1398 _ACEOF
1399
1400
1401 cat >>confdefs.h <<_ACEOF
1402 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1403 _ACEOF
1404
1405
1406 cat >>confdefs.h <<_ACEOF
1407 #define PACKAGE_STRING "$PACKAGE_STRING"
1408 _ACEOF
1409
1410
1411 cat >>confdefs.h <<_ACEOF
1412 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1413 _ACEOF
1414
1415
1416 # Let the site file select an alternate cache file if it wants to.
1417 # Prefer explicitly selected file to automatically selected ones.
1418 if test -z "$CONFIG_SITE"; then
1419 if test "x$prefix" != xNONE; then
1420 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1421 else
1422 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1423 fi
1424 fi
1425 for ac_site_file in $CONFIG_SITE; do
1426 if test -r "$ac_site_file"; then
1427 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1428 echo "$as_me: loading site script $ac_site_file" >&6;}
1429 sed 's/^/| /' "$ac_site_file" >&5
1430 . "$ac_site_file"
1431 fi
1432 done
1433
1434 if test -r "$cache_file"; then
1435 # Some versions of bash will fail to source /dev/null (special
1436 # files actually), so we avoid doing that.
1437 if test -f "$cache_file"; then
1438 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1439 echo "$as_me: loading cache $cache_file" >&6;}
1440 case $cache_file in
1441 [\\/]* | ?:[\\/]* ) . $cache_file;;
1442 *) . ./$cache_file;;
1443 esac
1444 fi
1445 else
1446 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1447 echo "$as_me: creating cache $cache_file" >&6;}
1448 >$cache_file
1449 fi
1450
1451 # Check that the precious variables saved in the cache have kept the same
1452 # value.
1453 ac_cache_corrupted=false
1454 for ac_var in `(set) 2>&1 |
1455 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1456 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1457 eval ac_new_set=\$ac_env_${ac_var}_set
1458 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1459 eval ac_new_val="\$ac_env_${ac_var}_value"
1460 case $ac_old_set,$ac_new_set in
1461 set,)
1462 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1463 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1464 ac_cache_corrupted=: ;;
1465 ,set)
1466 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1467 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1468 ac_cache_corrupted=: ;;
1469 ,);;
1470 *)
1471 if test "x$ac_old_val" != "x$ac_new_val"; then
1472 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1473 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1474 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1475 echo "$as_me: former value: $ac_old_val" >&2;}
1476 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1477 echo "$as_me: current value: $ac_new_val" >&2;}
1478 ac_cache_corrupted=:
1479 fi;;
1480 esac
1481 # Pass precious variables to config.status.
1482 if test "$ac_new_set" = set; then
1483 case $ac_new_val in
1484 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1485 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1486 *) ac_arg=$ac_var=$ac_new_val ;;
1487 esac
1488 case " $ac_configure_args " in
1489 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1490 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1491 esac
1492 fi
1493 done
1494 if $ac_cache_corrupted; then
1495 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1496 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1497 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1498 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1499 { (exit 1); exit 1; }; }
1500 fi
1501
1502 ac_ext=c
1503 ac_cpp='$CPP $CPPFLAGS'
1504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
1536
1537 ac_aux_dir=
1538 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1539 if test -f $ac_dir/install-sh; then
1540 ac_aux_dir=$ac_dir
1541 ac_install_sh="$ac_aux_dir/install-sh -c"
1542 break
1543 elif test -f $ac_dir/install.sh; then
1544 ac_aux_dir=$ac_dir
1545 ac_install_sh="$ac_aux_dir/install.sh -c"
1546 break
1547 elif test -f $ac_dir/shtool; then
1548 ac_aux_dir=$ac_dir
1549 ac_install_sh="$ac_aux_dir/shtool install -c"
1550 break
1551 fi
1552 done
1553 if test -z "$ac_aux_dir"; then
1554 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1555 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1556 { (exit 1); exit 1; }; }
1557 fi
1558 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1559 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1560 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1561
1562 # Make sure we can run config.sub.
1563 $ac_config_sub sun4 >/dev/null 2>&1 ||
1564 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1565 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1566 { (exit 1); exit 1; }; }
1567
1568 echo "$as_me:$LINENO: checking build system type" >&5
1569 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1570 if test "${ac_cv_build+set}" = set; then
1571 echo $ECHO_N "(cached) $ECHO_C" >&6
1572 else
1573 ac_cv_build_alias=$build_alias
1574 test -z "$ac_cv_build_alias" &&
1575 ac_cv_build_alias=`$ac_config_guess`
1576 test -z "$ac_cv_build_alias" &&
1577 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1578 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1579 { (exit 1); exit 1; }; }
1580 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1581 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1582 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1583 { (exit 1); exit 1; }; }
1584
1585 fi
1586 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1587 echo "${ECHO_T}$ac_cv_build" >&6
1588 build=$ac_cv_build
1589 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1590 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1591 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1592
1593
1594 echo "$as_me:$LINENO: checking host system type" >&5
1595 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1596 if test "${ac_cv_host+set}" = set; then
1597 echo $ECHO_N "(cached) $ECHO_C" >&6
1598 else
1599 ac_cv_host_alias=$host_alias
1600 test -z "$ac_cv_host_alias" &&
1601 ac_cv_host_alias=$ac_cv_build_alias
1602 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1603 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1604 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1605 { (exit 1); exit 1; }; }
1606
1607 fi
1608 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1609 echo "${ECHO_T}$ac_cv_host" >&6
1610 host=$ac_cv_host
1611 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1612 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1613 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1614
1615
1616 echo "$as_me:$LINENO: checking target system type" >&5
1617 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1618 if test "${ac_cv_target+set}" = set; then
1619 echo $ECHO_N "(cached) $ECHO_C" >&6
1620 else
1621 ac_cv_target_alias=$target_alias
1622 test "x$ac_cv_target_alias" = "x" &&
1623 ac_cv_target_alias=$ac_cv_host_alias
1624 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1625 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1626 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1627 { (exit 1); exit 1; }; }
1628
1629 fi
1630 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1631 echo "${ECHO_T}$ac_cv_target" >&6
1632 target=$ac_cv_target
1633 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1634 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1635 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1636
1637
1638 # The aliases save the names the user supplied, while $host etc.
1639 # will get canonicalized.
1640 test -n "$target_alias" &&
1641 test "$program_prefix$program_suffix$program_transform_name" = \
1642 NONENONEs,x,x, &&
1643 program_prefix=${target_alias}-
1644
1645
1646
1647 WX_MAJOR_VERSION_NUMBER=2
1648 WX_MINOR_VERSION_NUMBER=5
1649 WX_RELEASE_NUMBER=1
1650
1651 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1652 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1653
1654 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1655
1656 WX_CURRENT=1
1657 WX_REVISION=0
1658 WX_AGE=0
1659
1660
1661
1662 USE_UNIX=1
1663 USE_OS2=0
1664 USE_WIN32=0
1665 USE_DOS=0
1666 USE_BEOS=0
1667 USE_MAC=0
1668
1669 USE_AIX=
1670 USE_BSD= USE_DARWIN= USE_FREEBSD=
1671 USE_GNU= USE_HPUX=
1672 USE_LINUX=
1673 USE_NETBSD=
1674 USE_OPENBSD=
1675 USE_OSF= USE_SGI=
1676 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1677 USE_ULTRIX=
1678 USE_UNIXWARE=
1679
1680 USE_ALPHA=
1681
1682 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1683
1684 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1685
1686 DEFAULT_wxUSE_COCOA=0
1687 DEFAULT_wxUSE_GTK=0
1688 DEFAULT_wxUSE_MAC=0
1689 DEFAULT_wxUSE_MGL=0
1690 DEFAULT_wxUSE_MICROWIN=0
1691 DEFAULT_wxUSE_MOTIF=0
1692 DEFAULT_wxUSE_MSW=0
1693 DEFAULT_wxUSE_PM=0
1694 DEFAULT_wxUSE_X11=0
1695
1696 DEFAULT_DEFAULT_wxUSE_COCOA=0
1697 DEFAULT_DEFAULT_wxUSE_GTK=0
1698 DEFAULT_DEFAULT_wxUSE_MAC=0
1699 DEFAULT_DEFAULT_wxUSE_MGL=0
1700 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1701 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1702 DEFAULT_DEFAULT_wxUSE_MSW=0
1703 DEFAULT_DEFAULT_wxUSE_PM=0
1704 DEFAULT_DEFAULT_wxUSE_X11=0
1705
1706 PROGRAM_EXT=
1707 SO_SUFFIX=so
1708 SAMPLES_RPATH_FLAG=
1709 SAMPLES_RPATH_POSTLINK=
1710
1711 case "${host}" in
1712 *-hp-hpux* )
1713 USE_HPUX=1
1714 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1715 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1716 SO_SUFFIX=sl
1717 cat >>confdefs.h <<\_ACEOF
1718 #define __HPUX__ 1
1719 _ACEOF
1720
1721 ;;
1722 *-*-linux* )
1723 USE_LINUX=1
1724 cat >>confdefs.h <<\_ACEOF
1725 #define __LINUX__ 1
1726 _ACEOF
1727
1728 TMP=`uname -m`
1729 if test "x$TMP" = "xalpha"; then
1730 USE_ALPHA=1
1731 cat >>confdefs.h <<\_ACEOF
1732 #define __ALPHA__ 1
1733 _ACEOF
1734
1735 fi
1736 DEFAULT_DEFAULT_wxUSE_GTK=1
1737 ;;
1738 *-*-gnu* | *-*-k*bsd*-gnu )
1739 USE_GNU=1
1740 TMP=`uname -m`
1741 if test "x$TMP" = "xalpha"; then
1742 USE_ALPHA=1
1743 cat >>confdefs.h <<\_ACEOF
1744 #define __ALPHA__ 1
1745 _ACEOF
1746
1747 fi
1748 DEFAULT_DEFAULT_wxUSE_GTK=1
1749 ;;
1750 *-*-irix5* | *-*-irix6* )
1751 USE_SGI=1
1752 USE_SVR4=1
1753 cat >>confdefs.h <<\_ACEOF
1754 #define __SGI__ 1
1755 _ACEOF
1756
1757 cat >>confdefs.h <<\_ACEOF
1758 #define __SVR4__ 1
1759 _ACEOF
1760
1761 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1762 ;;
1763 *-*-solaris2* )
1764 USE_SUN=1
1765 USE_SOLARIS=1
1766 USE_SVR4=1
1767 cat >>confdefs.h <<\_ACEOF
1768 #define __SUN__ 1
1769 _ACEOF
1770
1771 cat >>confdefs.h <<\_ACEOF
1772 #define __SOLARIS__ 1
1773 _ACEOF
1774
1775 cat >>confdefs.h <<\_ACEOF
1776 #define __SVR4__ 1
1777 _ACEOF
1778
1779 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1780 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1781 ;;
1782 *-*-sunos4* )
1783 USE_SUN=1
1784 USE_SUNOS=1
1785 USE_BSD=1
1786 cat >>confdefs.h <<\_ACEOF
1787 #define __SUN__ 1
1788 _ACEOF
1789
1790 cat >>confdefs.h <<\_ACEOF
1791 #define __SUNOS__ 1
1792 _ACEOF
1793
1794 cat >>confdefs.h <<\_ACEOF
1795 #define __BSD__ 1
1796 _ACEOF
1797
1798 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1799 ;;
1800 *-*-freebsd*)
1801 USE_BSD=1
1802 USE_FREEBSD=1
1803 cat >>confdefs.h <<\_ACEOF
1804 #define __FREEBSD__ 1
1805 _ACEOF
1806
1807 cat >>confdefs.h <<\_ACEOF
1808 #define __BSD__ 1
1809 _ACEOF
1810
1811 DEFAULT_DEFAULT_wxUSE_GTK=1
1812 ;;
1813 *-*-openbsd*)
1814 USE_BSD=1
1815 USE_OPENBSD=1
1816 cat >>confdefs.h <<\_ACEOF
1817 #define __OPENBSD__ 1
1818 _ACEOF
1819
1820 cat >>confdefs.h <<\_ACEOF
1821 #define __BSD__ 1
1822 _ACEOF
1823
1824 DEFAULT_DEFAULT_wxUSE_GTK=1
1825 ;;
1826 *-*-netbsd*)
1827 USE_BSD=1
1828 USE_NETBSD=1
1829 cat >>confdefs.h <<\_ACEOF
1830 #define __NETBSD__ 1
1831 _ACEOF
1832
1833 cat >>confdefs.h <<\_ACEOF
1834 #define __BSD__ 1
1835 _ACEOF
1836
1837 DEFAULT_DEFAULT_wxUSE_GTK=1
1838 ;;
1839 *-*-osf* )
1840 USE_ALPHA=1
1841 USE_OSF=1
1842 cat >>confdefs.h <<\_ACEOF
1843 #define __ALPHA__ 1
1844 _ACEOF
1845
1846 cat >>confdefs.h <<\_ACEOF
1847 #define __OSF__ 1
1848 _ACEOF
1849
1850 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1851 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1852 ;;
1853 *-*-dgux5* )
1854 USE_ALPHA=1
1855 USE_SVR4=1
1856 cat >>confdefs.h <<\_ACEOF
1857 #define __ALPHA__ 1
1858 _ACEOF
1859
1860 cat >>confdefs.h <<\_ACEOF
1861 #define __SVR4__ 1
1862 _ACEOF
1863
1864 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1865 ;;
1866 *-*-sysv5* )
1867 USE_SYSV=1
1868 USE_SVR4=1
1869 cat >>confdefs.h <<\_ACEOF
1870 #define __SYSV__ 1
1871 _ACEOF
1872
1873 cat >>confdefs.h <<\_ACEOF
1874 #define __SVR4__ 1
1875 _ACEOF
1876
1877 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1878 ;;
1879 *-*-aix* )
1880 USE_AIX=1
1881 USE_SYSV=1
1882 USE_SVR4=1
1883 SO_SUFFIX=a
1884 cat >>confdefs.h <<\_ACEOF
1885 #define __AIX__ 1
1886 _ACEOF
1887
1888 cat >>confdefs.h <<\_ACEOF
1889 #define __SYSV__ 1
1890 _ACEOF
1891
1892 cat >>confdefs.h <<\_ACEOF
1893 #define __SVR4__ 1
1894 _ACEOF
1895
1896 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1897 ;;
1898
1899 *-*-*UnixWare*)
1900 USE_SYSV=1
1901 USE_SVR4=1
1902 USE_UNIXWARE=1
1903 cat >>confdefs.h <<\_ACEOF
1904 #define __UNIXWARE__ 1
1905 _ACEOF
1906
1907 ;;
1908
1909 *-*-cygwin* | *-*-mingw32* )
1910 SO_SUFFIX=dll
1911 PROGRAM_EXT=".exe"
1912 RESCOMP=windres
1913 DEFAULT_DEFAULT_wxUSE_MSW=1
1914 ;;
1915
1916 *-pc-msdosdjgpp )
1917 USE_UNIX=0
1918 USE_DOS=1
1919 cat >>confdefs.h <<\_ACEOF
1920 #define __DOS__ 1
1921 _ACEOF
1922
1923 PROGRAM_EXT=".exe"
1924 DEFAULT_DEFAULT_wxUSE_MGL=1
1925 LIBS="$LIBS -lstdc++"
1926 ;;
1927
1928 *-pc-os2_emx | *-pc-os2-emx )
1929 cat >>confdefs.h <<\_ACEOF
1930 #define __EMX__ 1
1931 _ACEOF
1932
1933 USE_OS2=1
1934 cat >>confdefs.h <<\_ACEOF
1935 #define __OS2__ 1
1936 _ACEOF
1937
1938 PROGRAM_EXT=".exe"
1939 DEFAULT_DEFAULT_wxUSE_PM=1
1940 CXX=gcc
1941 LDFLAGS="$LDFLAGS -Zcrtdll"
1942 ac_executable_extensions=".exe"
1943 export ac_executable_extensions
1944 ac_save_IFS="$IFS"
1945 IFS='\\'
1946 ac_TEMP_PATH=
1947 for ac_dir in $PATH; do
1948 IFS=$ac_save_IFS
1949 if test -z "$ac_TEMP_PATH"; then
1950 ac_TEMP_PATH="$ac_dir"
1951 else
1952 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1953 fi
1954 done
1955 export PATH="$ac_TEMP_PATH"
1956 unset ac_TEMP_PATH
1957 ;;
1958
1959 powerpc-*-darwin* )
1960 USE_BSD=1
1961 USE_DARWIN=1
1962 SO_SUFFIX=dylib
1963 cat >>confdefs.h <<\_ACEOF
1964 #define __BSD__ 1
1965 _ACEOF
1966
1967 cat >>confdefs.h <<\_ACEOF
1968 #define __DARWIN__ 1
1969 _ACEOF
1970
1971 cat >>confdefs.h <<\_ACEOF
1972 #define __POWERPC__ 1
1973 _ACEOF
1974
1975 cat >>confdefs.h <<\_ACEOF
1976 #define TARGET_CARBON 1
1977 _ACEOF
1978
1979 DEFAULT_DEFAULT_wxUSE_MAC=1
1980 ;;
1981
1982 *-*-beos* )
1983 USE_BEOS=1
1984 cat >>confdefs.h <<\_ACEOF
1985 #define __BEOS__ 1
1986 _ACEOF
1987
1988 ;;
1989
1990 *)
1991 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1992 echo "$as_me: error: unknown system type ${host}." >&2;}
1993 { (exit 1); exit 1; }; }
1994 esac
1995
1996
1997
1998
1999 wx_arg_cache_file="configarg.cache"
2000 echo "loading argument cache $wx_arg_cache_file"
2001 rm -f ${wx_arg_cache_file}.tmp
2002 touch ${wx_arg_cache_file}.tmp
2003 touch ${wx_arg_cache_file}
2004
2005
2006 DEBUG_CONFIGURE=0
2007 if test $DEBUG_CONFIGURE = 1; then
2008 DEFAULT_wxUSE_UNIVERSAL=no
2009 DEFAULT_wxUSE_STL=no
2010
2011 DEFAULT_wxUSE_NANOX=no
2012
2013 DEFAULT_wxUSE_THREADS=yes
2014
2015 DEFAULT_wxUSE_SHARED=yes
2016 DEFAULT_wxUSE_OPTIMISE=no
2017 DEFAULT_wxUSE_PROFILE=no
2018 DEFAULT_wxUSE_NO_DEPS=no
2019 DEFAULT_wxUSE_NO_RTTI=no
2020 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2021 DEFAULT_wxUSE_PERMISSIVE=no
2022 DEFAULT_wxUSE_DEBUG_FLAG=yes
2023 DEFAULT_wxUSE_DEBUG_INFO=yes
2024 DEFAULT_wxUSE_DEBUG_GDB=yes
2025 DEFAULT_wxUSE_MEM_TRACING=no
2026 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2027 DEFAULT_wxUSE_DMALLOC=no
2028 DEFAULT_wxUSE_APPLE_IEEE=no
2029
2030 DEFAULT_wxUSE_EXCEPTIONS=no
2031 DEFAULT_wxUSE_LOG=yes
2032 DEFAULT_wxUSE_LOGWINDOW=no
2033 DEFAULT_wxUSE_LOGGUI=no
2034 DEFAULT_wxUSE_LOGDIALOG=no
2035
2036 DEFAULT_wxUSE_GUI=yes
2037 DEFAULT_wxUSE_CONTROLS=no
2038
2039 DEFAULT_wxUSE_REGEX=no
2040 DEFAULT_wxUSE_XML=no
2041 DEFAULT_wxUSE_EXPAT=no
2042 DEFAULT_wxUSE_ZLIB=no
2043 DEFAULT_wxUSE_LIBPNG=no
2044 DEFAULT_wxUSE_LIBJPEG=no
2045 DEFAULT_wxUSE_LIBTIFF=no
2046 DEFAULT_wxUSE_LIBXPM=no
2047 DEFAULT_wxUSE_LIBMSPACK=no
2048 DEFAULT_wxUSE_LIBSDL=no
2049 DEFAULT_wxUSE_ODBC=no
2050 DEFAULT_wxUSE_OPENGL=no
2051
2052 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2053 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2054 DEFAULT_wxUSE_STD_IOSTREAM=no
2055 DEFAULT_wxUSE_CMDLINE_PARSER=no
2056 DEFAULT_wxUSE_DATETIME=no
2057 DEFAULT_wxUSE_TIMER=no
2058 DEFAULT_wxUSE_STOPWATCH=no
2059 DEFAULT_wxUSE_FILE=no
2060 DEFAULT_wxUSE_FFILE=no
2061 DEFAULT_wxUSE_TEXTBUFFER=no
2062 DEFAULT_wxUSE_TEXTFILE=no
2063 DEFAULT_wxUSE_SOUND=no
2064 DEFAULT_wxUSE_INTL=no
2065 DEFAULT_wxUSE_CONFIG=no
2066 DEFAULT_wxUSE_FONTMAP=no
2067 DEFAULT_wxUSE_STREAMS=no
2068 DEFAULT_wxUSE_SOCKETS=no
2069 DEFAULT_wxUSE_OLE=no
2070 DEFAULT_wxUSE_DATAOBJ=no
2071 DEFAULT_wxUSE_DIALUP_MANAGER=no
2072 DEFAULT_wxUSE_JOYSTICK=no
2073 DEFAULT_wxUSE_DYNLIB_CLASS=no
2074 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2075 DEFAULT_wxUSE_LONGLONG=no
2076 DEFAULT_wxUSE_GEOMETRY=no
2077
2078 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2079 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2080 DEFAULT_wxUSE_POSTSCRIPT=no
2081
2082 DEFAULT_wxUSE_CLIPBOARD=no
2083 DEFAULT_wxUSE_TOOLTIPS=no
2084 DEFAULT_wxUSE_DRAG_AND_DROP=no
2085 DEFAULT_wxUSE_DRAGIMAGE=no
2086 DEFAULT_wxUSE_SPLINES=no
2087
2088 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2089 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2090 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2091
2092 DEFAULT_wxUSE_RESOURCES=no
2093 DEFAULT_wxUSE_CONSTRAINTS=no
2094 DEFAULT_wxUSE_IPC=no
2095 DEFAULT_wxUSE_HELP=no
2096 DEFAULT_wxUSE_MS_HTML_HELP=no
2097 DEFAULT_wxUSE_WXHTML_HELP=no
2098 DEFAULT_wxUSE_TREELAYOUT=no
2099 DEFAULT_wxUSE_METAFILE=no
2100 DEFAULT_wxUSE_MIMETYPE=no
2101 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2102 DEFAULT_wxUSE_PROTOCOL=no
2103 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2104 DEFAULT_wxUSE_PROTOCOL_FTP=no
2105 DEFAULT_wxUSE_PROTOCOL_FILE=no
2106 DEFAULT_wxUSE_URL=no
2107
2108 DEFAULT_wxUSE_COMMONDLGS=no
2109 DEFAULT_wxUSE_CHOICEDLG=no
2110 DEFAULT_wxUSE_COLOURDLG=no
2111 DEFAULT_wxUSE_DIRDLG=no
2112 DEFAULT_wxUSE_FILEDLG=no
2113 DEFAULT_wxUSE_FINDREPLDLG=no
2114 DEFAULT_wxUSE_FONTDLG=no
2115 DEFAULT_wxUSE_MSGDLG=no
2116 DEFAULT_wxUSE_NUMBERDLG=no
2117 DEFAULT_wxUSE_TEXTDLG=no
2118 DEFAULT_wxUSE_SPLASH=no
2119 DEFAULT_wxUSE_STARTUP_TIPS=no
2120 DEFAULT_wxUSE_PROGRESSDLG=no
2121 DEFAULT_wxUSE_WIZARDDLG=no
2122
2123 DEFAULT_wxUSE_MENUS=no
2124 DEFAULT_wxUSE_MINIFRAME=no
2125 DEFAULT_wxUSE_HTML=no
2126 DEFAULT_wxUSE_FILESYSTEM=no
2127 DEFAULT_wxUSE_FS_INET=no
2128 DEFAULT_wxUSE_FS_ZIP=no
2129 DEFAULT_wxUSE_BUSYINFO=no
2130 DEFAULT_wxUSE_ZIPSTREAM=no
2131 DEFAULT_wxUSE_GZSTREAM=no
2132 DEFAULT_wxUSE_VALIDATORS=no
2133
2134 DEFAULT_wxUSE_ACCEL=no
2135 DEFAULT_wxUSE_BUTTON=no
2136 DEFAULT_wxUSE_BMPBUTTON=no
2137 DEFAULT_wxUSE_CALCTRL=no
2138 DEFAULT_wxUSE_CARET=no
2139 DEFAULT_wxUSE_CHECKBOX=no
2140 DEFAULT_wxUSE_CHECKLST=no
2141 DEFAULT_wxUSE_CHOICE=no
2142 DEFAULT_wxUSE_COMBOBOX=no
2143 DEFAULT_wxUSE_DISPLAY=no
2144 DEFAULT_wxUSE_GAUGE=no
2145 DEFAULT_wxUSE_GRID=no
2146 DEFAULT_wxUSE_IMAGLIST=no
2147 DEFAULT_wxUSE_LISTBOOK=no
2148 DEFAULT_wxUSE_LISTBOX=no
2149 DEFAULT_wxUSE_LISTCTRL=no
2150 DEFAULT_wxUSE_NOTEBOOK=no
2151 DEFAULT_wxUSE_RADIOBOX=no
2152 DEFAULT_wxUSE_RADIOBTN=no
2153 DEFAULT_wxUSE_SASH=no
2154 DEFAULT_wxUSE_SCROLLBAR=no
2155 DEFAULT_wxUSE_SLIDER=no
2156 DEFAULT_wxUSE_SPINBTN=no
2157 DEFAULT_wxUSE_SPINCTRL=no
2158 DEFAULT_wxUSE_SPLITTER=no
2159 DEFAULT_wxUSE_STATBMP=no
2160 DEFAULT_wxUSE_STATBOX=no
2161 DEFAULT_wxUSE_STATLINE=no
2162 DEFAULT_wxUSE_STATTEXT=no
2163 DEFAULT_wxUSE_STATUSBAR=yes
2164 DEFAULT_wxUSE_TABDIALOG=no
2165 DEFAULT_wxUSE_TEXTCTRL=no
2166 DEFAULT_wxUSE_TOGGLEBTN=no
2167 DEFAULT_wxUSE_TOOLBAR=no
2168 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2169 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2170 DEFAULT_wxUSE_TREECTRL=no
2171 DEFAULT_wxUSE_POPUPWIN=no
2172 DEFAULT_wxUSE_TIPWINDOW=no
2173
2174 DEFAULT_wxUSE_UNICODE=no
2175 DEFAULT_wxUSE_UNICODE_MSLU=no
2176 DEFAULT_wxUSE_WCSRTOMBS=no
2177
2178 DEFAULT_wxUSE_PALETTE=no
2179 DEFAULT_wxUSE_IMAGE=no
2180 DEFAULT_wxUSE_GIF=no
2181 DEFAULT_wxUSE_PCX=no
2182 DEFAULT_wxUSE_PNM=no
2183 DEFAULT_wxUSE_IFF=no
2184 DEFAULT_wxUSE_XPM=no
2185 DEFAULT_wxUSE_ICO_CUR=no
2186 DEFAULT_wxUSE_ACCESSIBILITY=no
2187
2188 DEFAULT_wxUSE_MONOLITHIC=no
2189 DEFAULT_wxUSE_PLUGINS=no
2190 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2191 else
2192 DEFAULT_wxUSE_UNIVERSAL=no
2193 DEFAULT_wxUSE_STL=no
2194
2195 DEFAULT_wxUSE_NANOX=no
2196
2197 DEFAULT_wxUSE_THREADS=yes
2198
2199 DEFAULT_wxUSE_SHARED=yes
2200 DEFAULT_wxUSE_OPTIMISE=yes
2201 DEFAULT_wxUSE_PROFILE=no
2202 DEFAULT_wxUSE_NO_DEPS=no
2203 DEFAULT_wxUSE_NO_RTTI=no
2204 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2205 DEFAULT_wxUSE_PERMISSIVE=no
2206 DEFAULT_wxUSE_DEBUG_FLAG=no
2207 DEFAULT_wxUSE_DEBUG_INFO=no
2208 DEFAULT_wxUSE_DEBUG_GDB=no
2209 DEFAULT_wxUSE_MEM_TRACING=no
2210 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2211 DEFAULT_wxUSE_DMALLOC=no
2212 DEFAULT_wxUSE_APPLE_IEEE=yes
2213
2214 DEFAULT_wxUSE_EXCEPTIONS=yes
2215 DEFAULT_wxUSE_LOG=yes
2216 DEFAULT_wxUSE_LOGWINDOW=yes
2217 DEFAULT_wxUSE_LOGGUI=yes
2218 DEFAULT_wxUSE_LOGDIALOG=yes
2219
2220 DEFAULT_wxUSE_GUI=yes
2221
2222 DEFAULT_wxUSE_REGEX=yes
2223 DEFAULT_wxUSE_XML=yes
2224 DEFAULT_wxUSE_EXPAT=yes
2225 DEFAULT_wxUSE_ZLIB=yes
2226 DEFAULT_wxUSE_LIBPNG=yes
2227 DEFAULT_wxUSE_LIBJPEG=yes
2228 DEFAULT_wxUSE_LIBTIFF=yes
2229 DEFAULT_wxUSE_LIBXPM=yes
2230 DEFAULT_wxUSE_LIBMSPACK=yes
2231 DEFAULT_wxUSE_LIBSDL=no
2232 DEFAULT_wxUSE_ODBC=no
2233 DEFAULT_wxUSE_OPENGL=no
2234
2235 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2236 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2237 DEFAULT_wxUSE_STD_IOSTREAM=no
2238 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2239 DEFAULT_wxUSE_DATETIME=yes
2240 DEFAULT_wxUSE_TIMER=yes
2241 DEFAULT_wxUSE_STOPWATCH=yes
2242 DEFAULT_wxUSE_FILE=yes
2243 DEFAULT_wxUSE_FFILE=yes
2244 DEFAULT_wxUSE_TEXTBUFFER=yes
2245 DEFAULT_wxUSE_TEXTFILE=yes
2246 DEFAULT_wxUSE_SOUND=yes
2247 DEFAULT_wxUSE_INTL=yes
2248 DEFAULT_wxUSE_CONFIG=yes
2249 DEFAULT_wxUSE_FONTMAP=yes
2250 DEFAULT_wxUSE_STREAMS=yes
2251 DEFAULT_wxUSE_SOCKETS=yes
2252 DEFAULT_wxUSE_OLE=yes
2253 DEFAULT_wxUSE_DATAOBJ=yes
2254 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2255 DEFAULT_wxUSE_JOYSTICK=yes
2256 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2257 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2258 DEFAULT_wxUSE_LONGLONG=yes
2259 DEFAULT_wxUSE_GEOMETRY=yes
2260
2261 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2262 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2263 DEFAULT_wxUSE_POSTSCRIPT=yes
2264
2265 DEFAULT_wxUSE_CLIPBOARD=yes
2266 DEFAULT_wxUSE_TOOLTIPS=yes
2267 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2268 DEFAULT_wxUSE_DRAGIMAGE=yes
2269 DEFAULT_wxUSE_SPLINES=yes
2270
2271 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2272 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2273 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2274
2275 DEFAULT_wxUSE_RESOURCES=no
2276 DEFAULT_wxUSE_CONSTRAINTS=yes
2277 DEFAULT_wxUSE_IPC=yes
2278 DEFAULT_wxUSE_HELP=yes
2279 DEFAULT_wxUSE_MS_HTML_HELP=yes
2280 DEFAULT_wxUSE_WXHTML_HELP=yes
2281 DEFAULT_wxUSE_TREELAYOUT=yes
2282 DEFAULT_wxUSE_METAFILE=yes
2283 DEFAULT_wxUSE_MIMETYPE=yes
2284 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2285 DEFAULT_wxUSE_PROTOCOL=yes
2286 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2287 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2288 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2289 DEFAULT_wxUSE_URL=yes
2290
2291 DEFAULT_wxUSE_COMMONDLGS=yes
2292 DEFAULT_wxUSE_CHOICEDLG=yes
2293 DEFAULT_wxUSE_COLOURDLG=yes
2294 DEFAULT_wxUSE_DIRDLG=yes
2295 DEFAULT_wxUSE_FILEDLG=yes
2296 DEFAULT_wxUSE_FINDREPLDLG=yes
2297 DEFAULT_wxUSE_FONTDLG=yes
2298 DEFAULT_wxUSE_MSGDLG=yes
2299 DEFAULT_wxUSE_NUMBERDLG=yes
2300 DEFAULT_wxUSE_TEXTDLG=yes
2301 DEFAULT_wxUSE_SPLASH=yes
2302 DEFAULT_wxUSE_STARTUP_TIPS=yes
2303 DEFAULT_wxUSE_PROGRESSDLG=yes
2304 DEFAULT_wxUSE_WIZARDDLG=yes
2305
2306 DEFAULT_wxUSE_MENUS=yes
2307 DEFAULT_wxUSE_MINIFRAME=yes
2308 DEFAULT_wxUSE_HTML=yes
2309 DEFAULT_wxUSE_FILESYSTEM=yes
2310 DEFAULT_wxUSE_FS_INET=yes
2311 DEFAULT_wxUSE_FS_ZIP=yes
2312 DEFAULT_wxUSE_BUSYINFO=yes
2313 DEFAULT_wxUSE_ZIPSTREAM=yes
2314 DEFAULT_wxUSE_GZSTREAM=yes
2315 DEFAULT_wxUSE_VALIDATORS=yes
2316
2317 DEFAULT_wxUSE_ACCEL=yes
2318 DEFAULT_wxUSE_BUTTON=yes
2319 DEFAULT_wxUSE_BMPBUTTON=yes
2320 DEFAULT_wxUSE_CALCTRL=yes
2321 DEFAULT_wxUSE_CARET=yes
2322 DEFAULT_wxUSE_CHECKBOX=yes
2323 DEFAULT_wxUSE_CHECKLST=yes
2324 DEFAULT_wxUSE_CHOICE=yes
2325 DEFAULT_wxUSE_COMBOBOX=yes
2326 DEFAULT_wxUSE_DISPLAY=no
2327 DEFAULT_wxUSE_GAUGE=yes
2328 DEFAULT_wxUSE_GRID=yes
2329 DEFAULT_wxUSE_IMAGLIST=yes
2330 DEFAULT_wxUSE_LISTBOOK=yes
2331 DEFAULT_wxUSE_LISTBOX=yes
2332 DEFAULT_wxUSE_LISTCTRL=yes
2333 DEFAULT_wxUSE_NOTEBOOK=yes
2334 DEFAULT_wxUSE_RADIOBOX=yes
2335 DEFAULT_wxUSE_RADIOBTN=yes
2336 DEFAULT_wxUSE_SASH=yes
2337 DEFAULT_wxUSE_SCROLLBAR=yes
2338 DEFAULT_wxUSE_SLIDER=yes
2339 DEFAULT_wxUSE_SPINBTN=yes
2340 DEFAULT_wxUSE_SPINCTRL=yes
2341 DEFAULT_wxUSE_SPLITTER=yes
2342 DEFAULT_wxUSE_STATBMP=yes
2343 DEFAULT_wxUSE_STATBOX=yes
2344 DEFAULT_wxUSE_STATLINE=yes
2345 DEFAULT_wxUSE_STATTEXT=yes
2346 DEFAULT_wxUSE_STATUSBAR=yes
2347 DEFAULT_wxUSE_TABDIALOG=no
2348 DEFAULT_wxUSE_TEXTCTRL=yes
2349 DEFAULT_wxUSE_TOGGLEBTN=yes
2350 DEFAULT_wxUSE_TOOLBAR=yes
2351 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2352 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2353 DEFAULT_wxUSE_TREECTRL=yes
2354 DEFAULT_wxUSE_POPUPWIN=yes
2355 DEFAULT_wxUSE_TIPWINDOW=yes
2356
2357 DEFAULT_wxUSE_UNICODE=no
2358 DEFAULT_wxUSE_UNICODE_MSLU=yes
2359 DEFAULT_wxUSE_WCSRTOMBS=no
2360
2361 DEFAULT_wxUSE_PALETTE=yes
2362 DEFAULT_wxUSE_IMAGE=yes
2363 DEFAULT_wxUSE_GIF=yes
2364 DEFAULT_wxUSE_PCX=yes
2365 DEFAULT_wxUSE_IFF=no
2366 DEFAULT_wxUSE_PNM=yes
2367 DEFAULT_wxUSE_XPM=yes
2368 DEFAULT_wxUSE_ICO_CUR=yes
2369 DEFAULT_wxUSE_ACCESSIBILITY=no
2370
2371 DEFAULT_wxUSE_MONOLITHIC=no
2372 DEFAULT_wxUSE_PLUGINS=no
2373 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2374 fi
2375
2376
2377
2378 for toolkit in `echo $ALL_TOOLKITS`; do
2379 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2380 if test "x$LINE" != "x" ; then
2381 has_toolkit_in_cache=1
2382 eval "DEFAULT_$LINE"
2383 eval "CACHE_$toolkit=1"
2384 fi
2385 done
2386
2387
2388
2389 enablestring=
2390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2391 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2392 no_cache=0
2393 # Check whether --enable-gui or --disable-gui was given.
2394 if test "${enable_gui+set}" = set; then
2395 enableval="$enable_gui"
2396
2397 if test "$enableval" = yes; then
2398 ac_cv_use_gui='wxUSE_GUI=yes'
2399 else
2400 ac_cv_use_gui='wxUSE_GUI=no'
2401 fi
2402
2403 else
2404
2405 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2406 if test "x$LINE" != x ; then
2407 eval "DEFAULT_$LINE"
2408 else
2409 no_cache=1
2410 fi
2411
2412 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2413
2414 fi;
2415
2416 eval "$ac_cv_use_gui"
2417 if test "$no_cache" != 1; then
2418 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2419 fi
2420
2421 if test "$wxUSE_GUI" = yes; then
2422 echo "$as_me:$LINENO: result: yes" >&5
2423 echo "${ECHO_T}yes" >&6
2424 else
2425 echo "$as_me:$LINENO: result: no" >&5
2426 echo "${ECHO_T}no" >&6
2427 fi
2428
2429
2430 enablestring=
2431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2432 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2433 no_cache=0
2434 # Check whether --enable-monolithic or --disable-monolithic was given.
2435 if test "${enable_monolithic+set}" = set; then
2436 enableval="$enable_monolithic"
2437
2438 if test "$enableval" = yes; then
2439 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2440 else
2441 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2442 fi
2443
2444 else
2445
2446 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2447 if test "x$LINE" != x ; then
2448 eval "DEFAULT_$LINE"
2449 else
2450 no_cache=1
2451 fi
2452
2453 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2454
2455 fi;
2456
2457 eval "$ac_cv_use_monolithic"
2458 if test "$no_cache" != 1; then
2459 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2460 fi
2461
2462 if test "$wxUSE_MONOLITHIC" = yes; then
2463 echo "$as_me:$LINENO: result: yes" >&5
2464 echo "${ECHO_T}yes" >&6
2465 else
2466 echo "$as_me:$LINENO: result: no" >&5
2467 echo "${ECHO_T}no" >&6
2468 fi
2469
2470
2471 enablestring=
2472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2473 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2474 no_cache=0
2475 # Check whether --enable-plugins or --disable-plugins was given.
2476 if test "${enable_plugins+set}" = set; then
2477 enableval="$enable_plugins"
2478
2479 if test "$enableval" = yes; then
2480 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2481 else
2482 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2483 fi
2484
2485 else
2486
2487 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2488 if test "x$LINE" != x ; then
2489 eval "DEFAULT_$LINE"
2490 else
2491 no_cache=1
2492 fi
2493
2494 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2495
2496 fi;
2497
2498 eval "$ac_cv_use_plugins"
2499 if test "$no_cache" != 1; then
2500 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2501 fi
2502
2503 if test "$wxUSE_PLUGINS" = yes; then
2504 echo "$as_me:$LINENO: result: yes" >&5
2505 echo "${ECHO_T}yes" >&6
2506 else
2507 echo "$as_me:$LINENO: result: no" >&5
2508 echo "${ECHO_T}no" >&6
2509 fi
2510
2511
2512 if test "$wxUSE_GUI" = "yes"; then
2513
2514
2515 enablestring=
2516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2517 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2518 no_cache=0
2519 # Check whether --enable-universal or --disable-universal was given.
2520 if test "${enable_universal+set}" = set; then
2521 enableval="$enable_universal"
2522
2523 if test "$enableval" = yes; then
2524 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2525 else
2526 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2527 fi
2528
2529 else
2530
2531 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2532 if test "x$LINE" != x ; then
2533 eval "DEFAULT_$LINE"
2534 else
2535 no_cache=1
2536 fi
2537
2538 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2539
2540 fi;
2541
2542 eval "$ac_cv_use_universal"
2543 if test "$no_cache" != 1; then
2544 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2545 fi
2546
2547 if test "$wxUSE_UNIVERSAL" = yes; then
2548 echo "$as_me:$LINENO: result: yes" >&5
2549 echo "${ECHO_T}yes" >&6
2550 else
2551 echo "$as_me:$LINENO: result: no" >&5
2552 echo "${ECHO_T}no" >&6
2553 fi
2554
2555
2556 # Check whether --with-gtk or --without-gtk was given.
2557 if test "${with_gtk+set}" = set; then
2558 withval="$with_gtk"
2559 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2560 fi;
2561
2562 # Check whether --with-motif or --without-motif was given.
2563 if test "${with_motif+set}" = set; then
2564 withval="$with_motif"
2565 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2566 fi;
2567
2568 # Check whether --with-mac or --without-mac was given.
2569 if test "${with_mac+set}" = set; then
2570 withval="$with_mac"
2571 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2572 fi;
2573
2574 # Check whether --with-cocoa or --without-cocoa was given.
2575 if test "${with_cocoa+set}" = set; then
2576 withval="$with_cocoa"
2577 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2578 fi;
2579
2580 # Check whether --with-wine or --without-wine was given.
2581 if test "${with_wine+set}" = set; then
2582 withval="$with_wine"
2583 wxUSE_WINE="$withval" CACHE_WINE=1
2584 fi;
2585
2586 # Check whether --with-msw or --without-msw was given.
2587 if test "${with_msw+set}" = set; then
2588 withval="$with_msw"
2589 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2590 fi;
2591
2592 # Check whether --with-pm or --without-pm was given.
2593 if test "${with_pm+set}" = set; then
2594 withval="$with_pm"
2595 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2596 fi;
2597
2598 # Check whether --with-mgl or --without-mgl was given.
2599 if test "${with_mgl+set}" = set; then
2600 withval="$with_mgl"
2601 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2602 fi;
2603
2604 # Check whether --with-microwin or --without-microwin was given.
2605 if test "${with_microwin+set}" = set; then
2606 withval="$with_microwin"
2607 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2608 fi;
2609
2610 # Check whether --with-x11 or --without-x11 was given.
2611 if test "${with_x11+set}" = set; then
2612 withval="$with_x11"
2613 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2614 fi;
2615
2616 enablestring=
2617 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2618 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2619 no_cache=0
2620 # Check whether --enable-nanox or --disable-nanox was given.
2621 if test "${enable_nanox+set}" = set; then
2622 enableval="$enable_nanox"
2623
2624 if test "$enableval" = yes; then
2625 ac_cv_use_nanox='wxUSE_NANOX=yes'
2626 else
2627 ac_cv_use_nanox='wxUSE_NANOX=no'
2628 fi
2629
2630 else
2631
2632 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2633 if test "x$LINE" != x ; then
2634 eval "DEFAULT_$LINE"
2635 else
2636 no_cache=1
2637 fi
2638
2639 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2640
2641 fi;
2642
2643 eval "$ac_cv_use_nanox"
2644 if test "$no_cache" != 1; then
2645 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2646 fi
2647
2648 if test "$wxUSE_NANOX" = yes; then
2649 echo "$as_me:$LINENO: result: yes" >&5
2650 echo "${ECHO_T}yes" >&6
2651 else
2652 echo "$as_me:$LINENO: result: no" >&5
2653 echo "${ECHO_T}no" >&6
2654 fi
2655
2656
2657
2658 enablestring=
2659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2660 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2661 no_cache=0
2662 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2663 if test "${enable_gtk2+set}" = set; then
2664 enableval="$enable_gtk2"
2665
2666 if test "$enableval" = yes; then
2667 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2668 else
2669 ac_cv_use_gtk2='wxUSE_GTK2=no'
2670 fi
2671
2672 else
2673
2674 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2675 if test "x$LINE" != x ; then
2676 eval "DEFAULT_$LINE"
2677 else
2678 no_cache=1
2679 fi
2680
2681 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2682
2683 fi;
2684
2685 eval "$ac_cv_use_gtk2"
2686 if test "$no_cache" != 1; then
2687 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2688 fi
2689
2690 if test "$wxUSE_GTK2" = yes; then
2691 echo "$as_me:$LINENO: result: yes" >&5
2692 echo "${ECHO_T}yes" >&6
2693 else
2694 echo "$as_me:$LINENO: result: no" >&5
2695 echo "${ECHO_T}no" >&6
2696 fi
2697
2698
2699 enablestring=
2700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2701 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2702 no_cache=0
2703 # Check whether --enable-gpe or --disable-gpe was given.
2704 if test "${enable_gpe+set}" = set; then
2705 enableval="$enable_gpe"
2706
2707 if test "$enableval" = yes; then
2708 ac_cv_use_gpe='wxUSE_GPE=yes'
2709 else
2710 ac_cv_use_gpe='wxUSE_GPE=no'
2711 fi
2712
2713 else
2714
2715 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2716 if test "x$LINE" != x ; then
2717 eval "DEFAULT_$LINE"
2718 else
2719 no_cache=1
2720 fi
2721
2722 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2723
2724 fi;
2725
2726 eval "$ac_cv_use_gpe"
2727 if test "$no_cache" != 1; then
2728 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2729 fi
2730
2731 if test "$wxUSE_GPE" = yes; then
2732 echo "$as_me:$LINENO: result: yes" >&5
2733 echo "${ECHO_T}yes" >&6
2734 else
2735 echo "$as_me:$LINENO: result: no" >&5
2736 echo "${ECHO_T}no" >&6
2737 fi
2738
2739
2740
2741 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2742 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2743 no_cache=0
2744
2745 # Check whether --with-libpng or --without-libpng was given.
2746 if test "${with_libpng+set}" = set; then
2747 withval="$with_libpng"
2748
2749 if test "$withval" = yes; then
2750 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2751 elif test "$withval" = no; then
2752 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2753 elif test "$withval" = sys; then
2754 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2755 elif test "$withval" = builtin; then
2756 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2757 else
2758 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2759 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2760 { (exit 1); exit 1; }; }
2761 fi
2762
2763 else
2764
2765 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2766 if test "x$LINE" != x ; then
2767 eval "DEFAULT_$LINE"
2768 else
2769 no_cache=1
2770 fi
2771
2772 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2773
2774 fi;
2775
2776 eval "$ac_cv_use_libpng"
2777 if test "$no_cache" != 1; then
2778 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2779 fi
2780
2781 if test "$wxUSE_LIBPNG" = yes; then
2782 echo "$as_me:$LINENO: result: yes" >&5
2783 echo "${ECHO_T}yes" >&6
2784 elif test "$wxUSE_LIBPNG" = no; then
2785 echo "$as_me:$LINENO: result: no" >&5
2786 echo "${ECHO_T}no" >&6
2787 elif test "$wxUSE_LIBPNG" = sys; then
2788 echo "$as_me:$LINENO: result: system version" >&5
2789 echo "${ECHO_T}system version" >&6
2790 elif test "$wxUSE_LIBPNG" = builtin; then
2791 echo "$as_me:$LINENO: result: builtin version" >&5
2792 echo "${ECHO_T}builtin version" >&6
2793 else
2794 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2795 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2796 { (exit 1); exit 1; }; }
2797 fi
2798
2799
2800 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2801 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2802 no_cache=0
2803
2804 # Check whether --with-libjpeg or --without-libjpeg was given.
2805 if test "${with_libjpeg+set}" = set; then
2806 withval="$with_libjpeg"
2807
2808 if test "$withval" = yes; then
2809 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2810 elif test "$withval" = no; then
2811 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2812 elif test "$withval" = sys; then
2813 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2814 elif test "$withval" = builtin; then
2815 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2816 else
2817 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2818 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2819 { (exit 1); exit 1; }; }
2820 fi
2821
2822 else
2823
2824 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2825 if test "x$LINE" != x ; then
2826 eval "DEFAULT_$LINE"
2827 else
2828 no_cache=1
2829 fi
2830
2831 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2832
2833 fi;
2834
2835 eval "$ac_cv_use_libjpeg"
2836 if test "$no_cache" != 1; then
2837 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2838 fi
2839
2840 if test "$wxUSE_LIBJPEG" = yes; then
2841 echo "$as_me:$LINENO: result: yes" >&5
2842 echo "${ECHO_T}yes" >&6
2843 elif test "$wxUSE_LIBJPEG" = no; then
2844 echo "$as_me:$LINENO: result: no" >&5
2845 echo "${ECHO_T}no" >&6
2846 elif test "$wxUSE_LIBJPEG" = sys; then
2847 echo "$as_me:$LINENO: result: system version" >&5
2848 echo "${ECHO_T}system version" >&6
2849 elif test "$wxUSE_LIBJPEG" = builtin; then
2850 echo "$as_me:$LINENO: result: builtin version" >&5
2851 echo "${ECHO_T}builtin version" >&6
2852 else
2853 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2854 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2855 { (exit 1); exit 1; }; }
2856 fi
2857
2858
2859 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2860 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2861 no_cache=0
2862
2863 # Check whether --with-libtiff or --without-libtiff was given.
2864 if test "${with_libtiff+set}" = set; then
2865 withval="$with_libtiff"
2866
2867 if test "$withval" = yes; then
2868 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2869 elif test "$withval" = no; then
2870 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2871 elif test "$withval" = sys; then
2872 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2873 elif test "$withval" = builtin; then
2874 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2875 else
2876 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2877 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2878 { (exit 1); exit 1; }; }
2879 fi
2880
2881 else
2882
2883 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2884 if test "x$LINE" != x ; then
2885 eval "DEFAULT_$LINE"
2886 else
2887 no_cache=1
2888 fi
2889
2890 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2891
2892 fi;
2893
2894 eval "$ac_cv_use_libtiff"
2895 if test "$no_cache" != 1; then
2896 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2897 fi
2898
2899 if test "$wxUSE_LIBTIFF" = yes; then
2900 echo "$as_me:$LINENO: result: yes" >&5
2901 echo "${ECHO_T}yes" >&6
2902 elif test "$wxUSE_LIBTIFF" = no; then
2903 echo "$as_me:$LINENO: result: no" >&5
2904 echo "${ECHO_T}no" >&6
2905 elif test "$wxUSE_LIBTIFF" = sys; then
2906 echo "$as_me:$LINENO: result: system version" >&5
2907 echo "${ECHO_T}system version" >&6
2908 elif test "$wxUSE_LIBTIFF" = builtin; then
2909 echo "$as_me:$LINENO: result: builtin version" >&5
2910 echo "${ECHO_T}builtin version" >&6
2911 else
2912 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2913 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2914 { (exit 1); exit 1; }; }
2915 fi
2916
2917
2918 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2919 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2920 no_cache=0
2921
2922 # Check whether --with-libxpm or --without-libxpm was given.
2923 if test "${with_libxpm+set}" = set; then
2924 withval="$with_libxpm"
2925
2926 if test "$withval" = yes; then
2927 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2928 elif test "$withval" = no; then
2929 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2930 elif test "$withval" = sys; then
2931 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2932 elif test "$withval" = builtin; then
2933 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2934 else
2935 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2936 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2937 { (exit 1); exit 1; }; }
2938 fi
2939
2940 else
2941
2942 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2943 if test "x$LINE" != x ; then
2944 eval "DEFAULT_$LINE"
2945 else
2946 no_cache=1
2947 fi
2948
2949 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2950
2951 fi;
2952
2953 eval "$ac_cv_use_libxpm"
2954 if test "$no_cache" != 1; then
2955 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2956 fi
2957
2958 if test "$wxUSE_LIBXPM" = yes; then
2959 echo "$as_me:$LINENO: result: yes" >&5
2960 echo "${ECHO_T}yes" >&6
2961 elif test "$wxUSE_LIBXPM" = no; then
2962 echo "$as_me:$LINENO: result: no" >&5
2963 echo "${ECHO_T}no" >&6
2964 elif test "$wxUSE_LIBXPM" = sys; then
2965 echo "$as_me:$LINENO: result: system version" >&5
2966 echo "${ECHO_T}system version" >&6
2967 elif test "$wxUSE_LIBXPM" = builtin; then
2968 echo "$as_me:$LINENO: result: builtin version" >&5
2969 echo "${ECHO_T}builtin version" >&6
2970 else
2971 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2972 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2973 { (exit 1); exit 1; }; }
2974 fi
2975
2976
2977 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2978 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2979 no_cache=0
2980
2981 # Check whether --with-libmspack or --without-libmspack was given.
2982 if test "${with_libmspack+set}" = set; then
2983 withval="$with_libmspack"
2984
2985 if test "$withval" = yes; then
2986 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
2987 else
2988 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
2989 fi
2990
2991 else
2992
2993 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
2994 if test "x$LINE" != x ; then
2995 eval "DEFAULT_$LINE"
2996 else
2997 no_cache=1
2998 fi
2999
3000 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3001
3002 fi;
3003
3004 eval "$ac_cv_use_libmspack"
3005 if test "$no_cache" != 1; then
3006 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3007 fi
3008
3009 if test "$wxUSE_LIBMSPACK" = yes; then
3010 echo "$as_me:$LINENO: result: yes" >&5
3011 echo "${ECHO_T}yes" >&6
3012 else
3013 echo "$as_me:$LINENO: result: no" >&5
3014 echo "${ECHO_T}no" >&6
3015 fi
3016
3017
3018 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3019 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3020 no_cache=0
3021
3022 # Check whether --with-sdl or --without-sdl was given.
3023 if test "${with_sdl+set}" = set; then
3024 withval="$with_sdl"
3025
3026 if test "$withval" = yes; then
3027 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3028 else
3029 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3030 fi
3031
3032 else
3033
3034 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3035 if test "x$LINE" != x ; then
3036 eval "DEFAULT_$LINE"
3037 else
3038 no_cache=1
3039 fi
3040
3041 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3042
3043 fi;
3044
3045 eval "$ac_cv_use_sdl"
3046 if test "$no_cache" != 1; then
3047 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3048 fi
3049
3050 if test "$wxUSE_LIBSDL" = yes; then
3051 echo "$as_me:$LINENO: result: yes" >&5
3052 echo "${ECHO_T}yes" >&6
3053 else
3054 echo "$as_me:$LINENO: result: no" >&5
3055 echo "${ECHO_T}no" >&6
3056 fi
3057
3058
3059 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3060 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3061 no_cache=0
3062
3063 # Check whether --with-opengl or --without-opengl was given.
3064 if test "${with_opengl+set}" = set; then
3065 withval="$with_opengl"
3066
3067 if test "$withval" = yes; then
3068 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3069 else
3070 ac_cv_use_opengl='wxUSE_OPENGL=no'
3071 fi
3072
3073 else
3074
3075 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3076 if test "x$LINE" != x ; then
3077 eval "DEFAULT_$LINE"
3078 else
3079 no_cache=1
3080 fi
3081
3082 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3083
3084 fi;
3085
3086 eval "$ac_cv_use_opengl"
3087 if test "$no_cache" != 1; then
3088 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3089 fi
3090
3091 if test "$wxUSE_OPENGL" = yes; then
3092 echo "$as_me:$LINENO: result: yes" >&5
3093 echo "${ECHO_T}yes" >&6
3094 else
3095 echo "$as_me:$LINENO: result: no" >&5
3096 echo "${ECHO_T}no" >&6
3097 fi
3098
3099
3100 fi
3101
3102
3103 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3104 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3105 no_cache=0
3106
3107 # Check whether --with-dmalloc or --without-dmalloc was given.
3108 if test "${with_dmalloc+set}" = set; then
3109 withval="$with_dmalloc"
3110
3111 if test "$withval" = yes; then
3112 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3113 else
3114 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3115 fi
3116
3117 else
3118
3119 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3120 if test "x$LINE" != x ; then
3121 eval "DEFAULT_$LINE"
3122 else
3123 no_cache=1
3124 fi
3125
3126 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3127
3128 fi;
3129
3130 eval "$ac_cv_use_dmalloc"
3131 if test "$no_cache" != 1; then
3132 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3133 fi
3134
3135 if test "$wxUSE_DMALLOC" = yes; then
3136 echo "$as_me:$LINENO: result: yes" >&5
3137 echo "${ECHO_T}yes" >&6
3138 else
3139 echo "$as_me:$LINENO: result: no" >&5
3140 echo "${ECHO_T}no" >&6
3141 fi
3142
3143
3144 echo "$as_me:$LINENO: checking for --with-regex" >&5
3145 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3146 no_cache=0
3147
3148 # Check whether --with-regex or --without-regex was given.
3149 if test "${with_regex+set}" = set; then
3150 withval="$with_regex"
3151
3152 if test "$withval" = yes; then
3153 ac_cv_use_regex='wxUSE_REGEX=yes'
3154 elif test "$withval" = no; then
3155 ac_cv_use_regex='wxUSE_REGEX=no'
3156 elif test "$withval" = sys; then
3157 ac_cv_use_regex='wxUSE_REGEX=sys'
3158 elif test "$withval" = builtin; then
3159 ac_cv_use_regex='wxUSE_REGEX=builtin'
3160 else
3161 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3162 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3163 { (exit 1); exit 1; }; }
3164 fi
3165
3166 else
3167
3168 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3169 if test "x$LINE" != x ; then
3170 eval "DEFAULT_$LINE"
3171 else
3172 no_cache=1
3173 fi
3174
3175 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3176
3177 fi;
3178
3179 eval "$ac_cv_use_regex"
3180 if test "$no_cache" != 1; then
3181 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3182 fi
3183
3184 if test "$wxUSE_REGEX" = yes; then
3185 echo "$as_me:$LINENO: result: yes" >&5
3186 echo "${ECHO_T}yes" >&6
3187 elif test "$wxUSE_REGEX" = no; then
3188 echo "$as_me:$LINENO: result: no" >&5
3189 echo "${ECHO_T}no" >&6
3190 elif test "$wxUSE_REGEX" = sys; then
3191 echo "$as_me:$LINENO: result: system version" >&5
3192 echo "${ECHO_T}system version" >&6
3193 elif test "$wxUSE_REGEX" = builtin; then
3194 echo "$as_me:$LINENO: result: builtin version" >&5
3195 echo "${ECHO_T}builtin version" >&6
3196 else
3197 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3198 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3199 { (exit 1); exit 1; }; }
3200 fi
3201
3202
3203 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3204 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3205 no_cache=0
3206
3207 # Check whether --with-zlib or --without-zlib was given.
3208 if test "${with_zlib+set}" = set; then
3209 withval="$with_zlib"
3210
3211 if test "$withval" = yes; then
3212 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3213 elif test "$withval" = no; then
3214 ac_cv_use_zlib='wxUSE_ZLIB=no'
3215 elif test "$withval" = sys; then
3216 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3217 elif test "$withval" = builtin; then
3218 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3219 else
3220 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3221 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3222 { (exit 1); exit 1; }; }
3223 fi
3224
3225 else
3226
3227 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3228 if test "x$LINE" != x ; then
3229 eval "DEFAULT_$LINE"
3230 else
3231 no_cache=1
3232 fi
3233
3234 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3235
3236 fi;
3237
3238 eval "$ac_cv_use_zlib"
3239 if test "$no_cache" != 1; then
3240 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3241 fi
3242
3243 if test "$wxUSE_ZLIB" = yes; then
3244 echo "$as_me:$LINENO: result: yes" >&5
3245 echo "${ECHO_T}yes" >&6
3246 elif test "$wxUSE_ZLIB" = no; then
3247 echo "$as_me:$LINENO: result: no" >&5
3248 echo "${ECHO_T}no" >&6
3249 elif test "$wxUSE_ZLIB" = sys; then
3250 echo "$as_me:$LINENO: result: system version" >&5
3251 echo "${ECHO_T}system version" >&6
3252 elif test "$wxUSE_ZLIB" = builtin; then
3253 echo "$as_me:$LINENO: result: builtin version" >&5
3254 echo "${ECHO_T}builtin version" >&6
3255 else
3256 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3257 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3258 { (exit 1); exit 1; }; }
3259 fi
3260
3261
3262 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3263 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3264 no_cache=0
3265
3266 # Check whether --with-odbc or --without-odbc was given.
3267 if test "${with_odbc+set}" = set; then
3268 withval="$with_odbc"
3269
3270 if test "$withval" = yes; then
3271 ac_cv_use_odbc='wxUSE_ODBC=yes'
3272 elif test "$withval" = no; then
3273 ac_cv_use_odbc='wxUSE_ODBC=no'
3274 elif test "$withval" = sys; then
3275 ac_cv_use_odbc='wxUSE_ODBC=sys'
3276 elif test "$withval" = builtin; then
3277 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3278 else
3279 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3280 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3281 { (exit 1); exit 1; }; }
3282 fi
3283
3284 else
3285
3286 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3287 if test "x$LINE" != x ; then
3288 eval "DEFAULT_$LINE"
3289 else
3290 no_cache=1
3291 fi
3292
3293 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3294
3295 fi;
3296
3297 eval "$ac_cv_use_odbc"
3298 if test "$no_cache" != 1; then
3299 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3300 fi
3301
3302 if test "$wxUSE_ODBC" = yes; then
3303 echo "$as_me:$LINENO: result: yes" >&5
3304 echo "${ECHO_T}yes" >&6
3305 elif test "$wxUSE_ODBC" = no; then
3306 echo "$as_me:$LINENO: result: no" >&5
3307 echo "${ECHO_T}no" >&6
3308 elif test "$wxUSE_ODBC" = sys; then
3309 echo "$as_me:$LINENO: result: system version" >&5
3310 echo "${ECHO_T}system version" >&6
3311 elif test "$wxUSE_ODBC" = builtin; then
3312 echo "$as_me:$LINENO: result: builtin version" >&5
3313 echo "${ECHO_T}builtin version" >&6
3314 else
3315 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3316 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3317 { (exit 1); exit 1; }; }
3318 fi
3319
3320
3321 echo "$as_me:$LINENO: checking for --with-expat" >&5
3322 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3323 no_cache=0
3324
3325 # Check whether --with-expat or --without-expat was given.
3326 if test "${with_expat+set}" = set; then
3327 withval="$with_expat"
3328
3329 if test "$withval" = yes; then
3330 ac_cv_use_expat='wxUSE_EXPAT=yes'
3331 elif test "$withval" = no; then
3332 ac_cv_use_expat='wxUSE_EXPAT=no'
3333 elif test "$withval" = sys; then
3334 ac_cv_use_expat='wxUSE_EXPAT=sys'
3335 elif test "$withval" = builtin; then
3336 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3337 else
3338 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3339 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3340 { (exit 1); exit 1; }; }
3341 fi
3342
3343 else
3344
3345 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3346 if test "x$LINE" != x ; then
3347 eval "DEFAULT_$LINE"
3348 else
3349 no_cache=1
3350 fi
3351
3352 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3353
3354 fi;
3355
3356 eval "$ac_cv_use_expat"
3357 if test "$no_cache" != 1; then
3358 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3359 fi
3360
3361 if test "$wxUSE_EXPAT" = yes; then
3362 echo "$as_me:$LINENO: result: yes" >&5
3363 echo "${ECHO_T}yes" >&6
3364 elif test "$wxUSE_EXPAT" = no; then
3365 echo "$as_me:$LINENO: result: no" >&5
3366 echo "${ECHO_T}no" >&6
3367 elif test "$wxUSE_EXPAT" = sys; then
3368 echo "$as_me:$LINENO: result: system version" >&5
3369 echo "${ECHO_T}system version" >&6
3370 elif test "$wxUSE_EXPAT" = builtin; then
3371 echo "$as_me:$LINENO: result: builtin version" >&5
3372 echo "${ECHO_T}builtin version" >&6
3373 else
3374 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3375 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3376 { (exit 1); exit 1; }; }
3377 fi
3378
3379
3380
3381
3382 enablestring=
3383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3384 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3385 no_cache=0
3386 # Check whether --enable-shared or --disable-shared was given.
3387 if test "${enable_shared+set}" = set; then
3388 enableval="$enable_shared"
3389
3390 if test "$enableval" = yes; then
3391 ac_cv_use_shared='wxUSE_SHARED=yes'
3392 else
3393 ac_cv_use_shared='wxUSE_SHARED=no'
3394 fi
3395
3396 else
3397
3398 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3399 if test "x$LINE" != x ; then
3400 eval "DEFAULT_$LINE"
3401 else
3402 no_cache=1
3403 fi
3404
3405 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3406
3407 fi;
3408
3409 eval "$ac_cv_use_shared"
3410 if test "$no_cache" != 1; then
3411 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3412 fi
3413
3414 if test "$wxUSE_SHARED" = yes; then
3415 echo "$as_me:$LINENO: result: yes" >&5
3416 echo "${ECHO_T}yes" >&6
3417 else
3418 echo "$as_me:$LINENO: result: no" >&5
3419 echo "${ECHO_T}no" >&6
3420 fi
3421
3422
3423 enablestring=
3424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3425 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3426 no_cache=0
3427 # Check whether --enable-optimise or --disable-optimise was given.
3428 if test "${enable_optimise+set}" = set; then
3429 enableval="$enable_optimise"
3430
3431 if test "$enableval" = yes; then
3432 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3433 else
3434 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3435 fi
3436
3437 else
3438
3439 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3440 if test "x$LINE" != x ; then
3441 eval "DEFAULT_$LINE"
3442 else
3443 no_cache=1
3444 fi
3445
3446 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3447
3448 fi;
3449
3450 eval "$ac_cv_use_optimise"
3451 if test "$no_cache" != 1; then
3452 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3453 fi
3454
3455 if test "$wxUSE_OPTIMISE" = yes; then
3456 echo "$as_me:$LINENO: result: yes" >&5
3457 echo "${ECHO_T}yes" >&6
3458 else
3459 echo "$as_me:$LINENO: result: no" >&5
3460 echo "${ECHO_T}no" >&6
3461 fi
3462
3463
3464 enablestring=
3465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3466 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3467 no_cache=0
3468 # Check whether --enable-debug or --disable-debug was given.
3469 if test "${enable_debug+set}" = set; then
3470 enableval="$enable_debug"
3471
3472 if test "$enableval" = yes; then
3473 ac_cv_use_debug='wxUSE_DEBUG=yes'
3474 else
3475 ac_cv_use_debug='wxUSE_DEBUG=no'
3476 fi
3477
3478 else
3479
3480 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3481 if test "x$LINE" != x ; then
3482 eval "DEFAULT_$LINE"
3483 else
3484 no_cache=1
3485 fi
3486
3487 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3488
3489 fi;
3490
3491 eval "$ac_cv_use_debug"
3492 if test "$no_cache" != 1; then
3493 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3494 fi
3495
3496 if test "$wxUSE_DEBUG" = yes; then
3497 echo "$as_me:$LINENO: result: yes" >&5
3498 echo "${ECHO_T}yes" >&6
3499 else
3500 echo "$as_me:$LINENO: result: no" >&5
3501 echo "${ECHO_T}no" >&6
3502 fi
3503
3504
3505 enablestring=
3506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3507 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3508 no_cache=0
3509 # Check whether --enable-stl or --disable-stl was given.
3510 if test "${enable_stl+set}" = set; then
3511 enableval="$enable_stl"
3512
3513 if test "$enableval" = yes; then
3514 ac_cv_use_stl='wxUSE_STL=yes'
3515 else
3516 ac_cv_use_stl='wxUSE_STL=no'
3517 fi
3518
3519 else
3520
3521 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3522 if test "x$LINE" != x ; then
3523 eval "DEFAULT_$LINE"
3524 else
3525 no_cache=1
3526 fi
3527
3528 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3529
3530 fi;
3531
3532 eval "$ac_cv_use_stl"
3533 if test "$no_cache" != 1; then
3534 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3535 fi
3536
3537 if test "$wxUSE_STL" = yes; then
3538 echo "$as_me:$LINENO: result: yes" >&5
3539 echo "${ECHO_T}yes" >&6
3540 else
3541 echo "$as_me:$LINENO: result: no" >&5
3542 echo "${ECHO_T}no" >&6
3543 fi
3544
3545
3546 if test "$wxUSE_DEBUG" = "yes"; then
3547 DEFAULT_wxUSE_DEBUG_FLAG=yes
3548 DEFAULT_wxUSE_DEBUG_INFO=yes
3549 BUILD=debug
3550 elif test "$wxUSE_DEBUG" = "no"; then
3551 DEFAULT_wxUSE_DEBUG_FLAG=no
3552 DEFAULT_wxUSE_DEBUG_INFO=no
3553 BUILD=release
3554 fi
3555
3556
3557 enablestring=
3558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3559 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3560 no_cache=0
3561 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3562 if test "${enable_debug_flag+set}" = set; then
3563 enableval="$enable_debug_flag"
3564
3565 if test "$enableval" = yes; then
3566 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3567 else
3568 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3569 fi
3570
3571 else
3572
3573 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3574 if test "x$LINE" != x ; then
3575 eval "DEFAULT_$LINE"
3576 else
3577 no_cache=1
3578 fi
3579
3580 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3581
3582 fi;
3583
3584 eval "$ac_cv_use_debug_flag"
3585 if test "$no_cache" != 1; then
3586 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3587 fi
3588
3589 if test "$wxUSE_DEBUG_FLAG" = yes; then
3590 echo "$as_me:$LINENO: result: yes" >&5
3591 echo "${ECHO_T}yes" >&6
3592 else
3593 echo "$as_me:$LINENO: result: no" >&5
3594 echo "${ECHO_T}no" >&6
3595 fi
3596
3597
3598 enablestring=
3599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3600 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3601 no_cache=0
3602 # Check whether --enable-debug_info or --disable-debug_info was given.
3603 if test "${enable_debug_info+set}" = set; then
3604 enableval="$enable_debug_info"
3605
3606 if test "$enableval" = yes; then
3607 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3608 else
3609 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3610 fi
3611
3612 else
3613
3614 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3615 if test "x$LINE" != x ; then
3616 eval "DEFAULT_$LINE"
3617 else
3618 no_cache=1
3619 fi
3620
3621 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3622
3623 fi;
3624
3625 eval "$ac_cv_use_debug_info"
3626 if test "$no_cache" != 1; then
3627 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3628 fi
3629
3630 if test "$wxUSE_DEBUG_INFO" = yes; then
3631 echo "$as_me:$LINENO: result: yes" >&5
3632 echo "${ECHO_T}yes" >&6
3633 else
3634 echo "$as_me:$LINENO: result: no" >&5
3635 echo "${ECHO_T}no" >&6
3636 fi
3637
3638
3639 enablestring=
3640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3641 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3642 no_cache=0
3643 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3644 if test "${enable_debug_gdb+set}" = set; then
3645 enableval="$enable_debug_gdb"
3646
3647 if test "$enableval" = yes; then
3648 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3649 else
3650 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3651 fi
3652
3653 else
3654
3655 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3656 if test "x$LINE" != x ; then
3657 eval "DEFAULT_$LINE"
3658 else
3659 no_cache=1
3660 fi
3661
3662 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3663
3664 fi;
3665
3666 eval "$ac_cv_use_debug_gdb"
3667 if test "$no_cache" != 1; then
3668 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3669 fi
3670
3671 if test "$wxUSE_DEBUG_GDB" = yes; then
3672 echo "$as_me:$LINENO: result: yes" >&5
3673 echo "${ECHO_T}yes" >&6
3674 else
3675 echo "$as_me:$LINENO: result: no" >&5
3676 echo "${ECHO_T}no" >&6
3677 fi
3678
3679
3680 enablestring=
3681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3682 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3683 no_cache=0
3684 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3685 if test "${enable_debug_cntxt+set}" = set; then
3686 enableval="$enable_debug_cntxt"
3687
3688 if test "$enableval" = yes; then
3689 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3690 else
3691 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3692 fi
3693
3694 else
3695
3696 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3697 if test "x$LINE" != x ; then
3698 eval "DEFAULT_$LINE"
3699 else
3700 no_cache=1
3701 fi
3702
3703 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3704
3705 fi;
3706
3707 eval "$ac_cv_use_debug_cntxt"
3708 if test "$no_cache" != 1; then
3709 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3710 fi
3711
3712 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3713 echo "$as_me:$LINENO: result: yes" >&5
3714 echo "${ECHO_T}yes" >&6
3715 else
3716 echo "$as_me:$LINENO: result: no" >&5
3717 echo "${ECHO_T}no" >&6
3718 fi
3719
3720
3721 enablestring=
3722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3723 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3724 no_cache=0
3725 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3726 if test "${enable_mem_tracing+set}" = set; then
3727 enableval="$enable_mem_tracing"
3728
3729 if test "$enableval" = yes; then
3730 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3731 else
3732 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3733 fi
3734
3735 else
3736
3737 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3738 if test "x$LINE" != x ; then
3739 eval "DEFAULT_$LINE"
3740 else
3741 no_cache=1
3742 fi
3743
3744 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3745
3746 fi;
3747
3748 eval "$ac_cv_use_mem_tracing"
3749 if test "$no_cache" != 1; then
3750 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3751 fi
3752
3753 if test "$wxUSE_MEM_TRACING" = yes; then
3754 echo "$as_me:$LINENO: result: yes" >&5
3755 echo "${ECHO_T}yes" >&6
3756 else
3757 echo "$as_me:$LINENO: result: no" >&5
3758 echo "${ECHO_T}no" >&6
3759 fi
3760
3761
3762 enablestring=
3763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3764 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3765 no_cache=0
3766 # Check whether --enable-profile or --disable-profile was given.
3767 if test "${enable_profile+set}" = set; then
3768 enableval="$enable_profile"
3769
3770 if test "$enableval" = yes; then
3771 ac_cv_use_profile='wxUSE_PROFILE=yes'
3772 else
3773 ac_cv_use_profile='wxUSE_PROFILE=no'
3774 fi
3775
3776 else
3777
3778 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3779 if test "x$LINE" != x ; then
3780 eval "DEFAULT_$LINE"
3781 else
3782 no_cache=1
3783 fi
3784
3785 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3786
3787 fi;
3788
3789 eval "$ac_cv_use_profile"
3790 if test "$no_cache" != 1; then
3791 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3792 fi
3793
3794 if test "$wxUSE_PROFILE" = yes; then
3795 echo "$as_me:$LINENO: result: yes" >&5
3796 echo "${ECHO_T}yes" >&6
3797 else
3798 echo "$as_me:$LINENO: result: no" >&5
3799 echo "${ECHO_T}no" >&6
3800 fi
3801
3802
3803 enablestring=
3804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3805 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3806 no_cache=0
3807 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3808 if test "${enable_no_rtti+set}" = set; then
3809 enableval="$enable_no_rtti"
3810
3811 if test "$enableval" = yes; then
3812 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3813 else
3814 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3815 fi
3816
3817 else
3818
3819 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3820 if test "x$LINE" != x ; then
3821 eval "DEFAULT_$LINE"
3822 else
3823 no_cache=1
3824 fi
3825
3826 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3827
3828 fi;
3829
3830 eval "$ac_cv_use_no_rtti"
3831 if test "$no_cache" != 1; then
3832 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3833 fi
3834
3835 if test "$wxUSE_NO_RTTI" = yes; then
3836 echo "$as_me:$LINENO: result: yes" >&5
3837 echo "${ECHO_T}yes" >&6
3838 else
3839 echo "$as_me:$LINENO: result: no" >&5
3840 echo "${ECHO_T}no" >&6
3841 fi
3842
3843
3844 enablestring=
3845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3846 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3847 no_cache=0
3848 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3849 if test "${enable_no_exceptions+set}" = set; then
3850 enableval="$enable_no_exceptions"
3851
3852 if test "$enableval" = yes; then
3853 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3854 else
3855 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3856 fi
3857
3858 else
3859
3860 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3861 if test "x$LINE" != x ; then
3862 eval "DEFAULT_$LINE"
3863 else
3864 no_cache=1
3865 fi
3866
3867 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3868
3869 fi;
3870
3871 eval "$ac_cv_use_no_exceptions"
3872 if test "$no_cache" != 1; then
3873 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3874 fi
3875
3876 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3877 echo "$as_me:$LINENO: result: yes" >&5
3878 echo "${ECHO_T}yes" >&6
3879 else
3880 echo "$as_me:$LINENO: result: no" >&5
3881 echo "${ECHO_T}no" >&6
3882 fi
3883
3884
3885 enablestring=
3886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3887 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3888 no_cache=0
3889 # Check whether --enable-permissive or --disable-permissive was given.
3890 if test "${enable_permissive+set}" = set; then
3891 enableval="$enable_permissive"
3892
3893 if test "$enableval" = yes; then
3894 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3895 else
3896 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3897 fi
3898
3899 else
3900
3901 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3902 if test "x$LINE" != x ; then
3903 eval "DEFAULT_$LINE"
3904 else
3905 no_cache=1
3906 fi
3907
3908 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3909
3910 fi;
3911
3912 eval "$ac_cv_use_permissive"
3913 if test "$no_cache" != 1; then
3914 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3915 fi
3916
3917 if test "$wxUSE_PERMISSIVE" = yes; then
3918 echo "$as_me:$LINENO: result: yes" >&5
3919 echo "${ECHO_T}yes" >&6
3920 else
3921 echo "$as_me:$LINENO: result: no" >&5
3922 echo "${ECHO_T}no" >&6
3923 fi
3924
3925
3926 enablestring=
3927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3928 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3929 no_cache=0
3930 # Check whether --enable-no_deps or --disable-no_deps was given.
3931 if test "${enable_no_deps+set}" = set; then
3932 enableval="$enable_no_deps"
3933
3934 if test "$enableval" = yes; then
3935 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3936 else
3937 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3938 fi
3939
3940 else
3941
3942 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3943 if test "x$LINE" != x ; then
3944 eval "DEFAULT_$LINE"
3945 else
3946 no_cache=1
3947 fi
3948
3949 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3950
3951 fi;
3952
3953 eval "$ac_cv_use_no_deps"
3954 if test "$no_cache" != 1; then
3955 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3956 fi
3957
3958 if test "$wxUSE_NO_DEPS" = yes; then
3959 echo "$as_me:$LINENO: result: yes" >&5
3960 echo "${ECHO_T}yes" >&6
3961 else
3962 echo "$as_me:$LINENO: result: no" >&5
3963 echo "${ECHO_T}no" >&6
3964 fi
3965
3966
3967
3968 enablestring=
3969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3970 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3971 no_cache=0
3972 # Check whether --enable-compat22 or --disable-compat22 was given.
3973 if test "${enable_compat22+set}" = set; then
3974 enableval="$enable_compat22"
3975
3976 if test "$enableval" = yes; then
3977 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3978 else
3979 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3980 fi
3981
3982 else
3983
3984 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3985 if test "x$LINE" != x ; then
3986 eval "DEFAULT_$LINE"
3987 else
3988 no_cache=1
3989 fi
3990
3991 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3992
3993 fi;
3994
3995 eval "$ac_cv_use_compat22"
3996 if test "$no_cache" != 1; then
3997 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3998 fi
3999
4000 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4001 echo "$as_me:$LINENO: result: yes" >&5
4002 echo "${ECHO_T}yes" >&6
4003 else
4004 echo "$as_me:$LINENO: result: no" >&5
4005 echo "${ECHO_T}no" >&6
4006 fi
4007
4008
4009 enablestring=disable
4010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4011 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4012 no_cache=0
4013 # Check whether --enable-compat24 or --disable-compat24 was given.
4014 if test "${enable_compat24+set}" = set; then
4015 enableval="$enable_compat24"
4016
4017 if test "$enableval" = yes; then
4018 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4019 else
4020 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4021 fi
4022
4023 else
4024
4025 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4026 if test "x$LINE" != x ; then
4027 eval "DEFAULT_$LINE"
4028 else
4029 no_cache=1
4030 fi
4031
4032 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4033
4034 fi;
4035
4036 eval "$ac_cv_use_compat24"
4037 if test "$no_cache" != 1; then
4038 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4039 fi
4040
4041 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4042 echo "$as_me:$LINENO: result: yes" >&5
4043 echo "${ECHO_T}yes" >&6
4044 else
4045 echo "$as_me:$LINENO: result: no" >&5
4046 echo "${ECHO_T}no" >&6
4047 fi
4048
4049
4050 # Check whether --enable-rpath or --disable-rpath was given.
4051 if test "${enable_rpath+set}" = set; then
4052 enableval="$enable_rpath"
4053 wxRPATH_DIR="$enableval"
4054 fi;
4055
4056 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
4057 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
4058 fi
4059
4060
4061
4062
4063 enablestring=
4064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4065 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4066 no_cache=0
4067 # Check whether --enable-intl or --disable-intl was given.
4068 if test "${enable_intl+set}" = set; then
4069 enableval="$enable_intl"
4070
4071 if test "$enableval" = yes; then
4072 ac_cv_use_intl='wxUSE_INTL=yes'
4073 else
4074 ac_cv_use_intl='wxUSE_INTL=no'
4075 fi
4076
4077 else
4078
4079 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4080 if test "x$LINE" != x ; then
4081 eval "DEFAULT_$LINE"
4082 else
4083 no_cache=1
4084 fi
4085
4086 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4087
4088 fi;
4089
4090 eval "$ac_cv_use_intl"
4091 if test "$no_cache" != 1; then
4092 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4093 fi
4094
4095 if test "$wxUSE_INTL" = yes; then
4096 echo "$as_me:$LINENO: result: yes" >&5
4097 echo "${ECHO_T}yes" >&6
4098 else
4099 echo "$as_me:$LINENO: result: no" >&5
4100 echo "${ECHO_T}no" >&6
4101 fi
4102
4103
4104 enablestring=
4105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4106 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4107 no_cache=0
4108 # Check whether --enable-config or --disable-config was given.
4109 if test "${enable_config+set}" = set; then
4110 enableval="$enable_config"
4111
4112 if test "$enableval" = yes; then
4113 ac_cv_use_config='wxUSE_CONFIG=yes'
4114 else
4115 ac_cv_use_config='wxUSE_CONFIG=no'
4116 fi
4117
4118 else
4119
4120 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4121 if test "x$LINE" != x ; then
4122 eval "DEFAULT_$LINE"
4123 else
4124 no_cache=1
4125 fi
4126
4127 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4128
4129 fi;
4130
4131 eval "$ac_cv_use_config"
4132 if test "$no_cache" != 1; then
4133 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4134 fi
4135
4136 if test "$wxUSE_CONFIG" = yes; then
4137 echo "$as_me:$LINENO: result: yes" >&5
4138 echo "${ECHO_T}yes" >&6
4139 else
4140 echo "$as_me:$LINENO: result: no" >&5
4141 echo "${ECHO_T}no" >&6
4142 fi
4143
4144
4145
4146 enablestring=
4147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4148 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4149 no_cache=0
4150 # Check whether --enable-protocols or --disable-protocols was given.
4151 if test "${enable_protocols+set}" = set; then
4152 enableval="$enable_protocols"
4153
4154 if test "$enableval" = yes; then
4155 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4156 else
4157 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4158 fi
4159
4160 else
4161
4162 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4163 if test "x$LINE" != x ; then
4164 eval "DEFAULT_$LINE"
4165 else
4166 no_cache=1
4167 fi
4168
4169 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4170
4171 fi;
4172
4173 eval "$ac_cv_use_protocols"
4174 if test "$no_cache" != 1; then
4175 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4176 fi
4177
4178 if test "$wxUSE_PROTOCOL" = yes; then
4179 echo "$as_me:$LINENO: result: yes" >&5
4180 echo "${ECHO_T}yes" >&6
4181 else
4182 echo "$as_me:$LINENO: result: no" >&5
4183 echo "${ECHO_T}no" >&6
4184 fi
4185
4186
4187 enablestring=
4188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4189 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4190 no_cache=0
4191 # Check whether --enable-ftp or --disable-ftp was given.
4192 if test "${enable_ftp+set}" = set; then
4193 enableval="$enable_ftp"
4194
4195 if test "$enableval" = yes; then
4196 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4197 else
4198 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4199 fi
4200
4201 else
4202
4203 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4204 if test "x$LINE" != x ; then
4205 eval "DEFAULT_$LINE"
4206 else
4207 no_cache=1
4208 fi
4209
4210 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4211
4212 fi;
4213
4214 eval "$ac_cv_use_ftp"
4215 if test "$no_cache" != 1; then
4216 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4217 fi
4218
4219 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4220 echo "$as_me:$LINENO: result: yes" >&5
4221 echo "${ECHO_T}yes" >&6
4222 else
4223 echo "$as_me:$LINENO: result: no" >&5
4224 echo "${ECHO_T}no" >&6
4225 fi
4226
4227
4228 enablestring=
4229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4230 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4231 no_cache=0
4232 # Check whether --enable-http or --disable-http was given.
4233 if test "${enable_http+set}" = set; then
4234 enableval="$enable_http"
4235
4236 if test "$enableval" = yes; then
4237 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4238 else
4239 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4240 fi
4241
4242 else
4243
4244 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4245 if test "x$LINE" != x ; then
4246 eval "DEFAULT_$LINE"
4247 else
4248 no_cache=1
4249 fi
4250
4251 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4252
4253 fi;
4254
4255 eval "$ac_cv_use_http"
4256 if test "$no_cache" != 1; then
4257 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4258 fi
4259
4260 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4261 echo "$as_me:$LINENO: result: yes" >&5
4262 echo "${ECHO_T}yes" >&6
4263 else
4264 echo "$as_me:$LINENO: result: no" >&5
4265 echo "${ECHO_T}no" >&6
4266 fi
4267
4268
4269 enablestring=
4270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4271 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4272 no_cache=0
4273 # Check whether --enable-fileproto or --disable-fileproto was given.
4274 if test "${enable_fileproto+set}" = set; then
4275 enableval="$enable_fileproto"
4276
4277 if test "$enableval" = yes; then
4278 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4279 else
4280 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4281 fi
4282
4283 else
4284
4285 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4286 if test "x$LINE" != x ; then
4287 eval "DEFAULT_$LINE"
4288 else
4289 no_cache=1
4290 fi
4291
4292 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4293
4294 fi;
4295
4296 eval "$ac_cv_use_fileproto"
4297 if test "$no_cache" != 1; then
4298 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4299 fi
4300
4301 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4302 echo "$as_me:$LINENO: result: yes" >&5
4303 echo "${ECHO_T}yes" >&6
4304 else
4305 echo "$as_me:$LINENO: result: no" >&5
4306 echo "${ECHO_T}no" >&6
4307 fi
4308
4309
4310 enablestring=
4311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4312 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4313 no_cache=0
4314 # Check whether --enable-sockets or --disable-sockets was given.
4315 if test "${enable_sockets+set}" = set; then
4316 enableval="$enable_sockets"
4317
4318 if test "$enableval" = yes; then
4319 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4320 else
4321 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4322 fi
4323
4324 else
4325
4326 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4327 if test "x$LINE" != x ; then
4328 eval "DEFAULT_$LINE"
4329 else
4330 no_cache=1
4331 fi
4332
4333 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4334
4335 fi;
4336
4337 eval "$ac_cv_use_sockets"
4338 if test "$no_cache" != 1; then
4339 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4340 fi
4341
4342 if test "$wxUSE_SOCKETS" = yes; then
4343 echo "$as_me:$LINENO: result: yes" >&5
4344 echo "${ECHO_T}yes" >&6
4345 else
4346 echo "$as_me:$LINENO: result: no" >&5
4347 echo "${ECHO_T}no" >&6
4348 fi
4349
4350
4351 enablestring=
4352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4353 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4354 no_cache=0
4355 # Check whether --enable-ole or --disable-ole was given.
4356 if test "${enable_ole+set}" = set; then
4357 enableval="$enable_ole"
4358
4359 if test "$enableval" = yes; then
4360 ac_cv_use_ole='wxUSE_OLE=yes'
4361 else
4362 ac_cv_use_ole='wxUSE_OLE=no'
4363 fi
4364
4365 else
4366
4367 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4368 if test "x$LINE" != x ; then
4369 eval "DEFAULT_$LINE"
4370 else
4371 no_cache=1
4372 fi
4373
4374 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4375
4376 fi;
4377
4378 eval "$ac_cv_use_ole"
4379 if test "$no_cache" != 1; then
4380 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4381 fi
4382
4383 if test "$wxUSE_OLE" = yes; then
4384 echo "$as_me:$LINENO: result: yes" >&5
4385 echo "${ECHO_T}yes" >&6
4386 else
4387 echo "$as_me:$LINENO: result: no" >&5
4388 echo "${ECHO_T}no" >&6
4389 fi
4390
4391
4392 enablestring=
4393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4394 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4395 no_cache=0
4396 # Check whether --enable-dataobj or --disable-dataobj was given.
4397 if test "${enable_dataobj+set}" = set; then
4398 enableval="$enable_dataobj"
4399
4400 if test "$enableval" = yes; then
4401 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4402 else
4403 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4404 fi
4405
4406 else
4407
4408 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4409 if test "x$LINE" != x ; then
4410 eval "DEFAULT_$LINE"
4411 else
4412 no_cache=1
4413 fi
4414
4415 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4416
4417 fi;
4418
4419 eval "$ac_cv_use_dataobj"
4420 if test "$no_cache" != 1; then
4421 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4422 fi
4423
4424 if test "$wxUSE_DATAOBJ" = yes; then
4425 echo "$as_me:$LINENO: result: yes" >&5
4426 echo "${ECHO_T}yes" >&6
4427 else
4428 echo "$as_me:$LINENO: result: no" >&5
4429 echo "${ECHO_T}no" >&6
4430 fi
4431
4432
4433
4434 enablestring=
4435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4436 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4437 no_cache=0
4438 # Check whether --enable-ipc or --disable-ipc was given.
4439 if test "${enable_ipc+set}" = set; then
4440 enableval="$enable_ipc"
4441
4442 if test "$enableval" = yes; then
4443 ac_cv_use_ipc='wxUSE_IPC=yes'
4444 else
4445 ac_cv_use_ipc='wxUSE_IPC=no'
4446 fi
4447
4448 else
4449
4450 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4451 if test "x$LINE" != x ; then
4452 eval "DEFAULT_$LINE"
4453 else
4454 no_cache=1
4455 fi
4456
4457 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4458
4459 fi;
4460
4461 eval "$ac_cv_use_ipc"
4462 if test "$no_cache" != 1; then
4463 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4464 fi
4465
4466 if test "$wxUSE_IPC" = yes; then
4467 echo "$as_me:$LINENO: result: yes" >&5
4468 echo "${ECHO_T}yes" >&6
4469 else
4470 echo "$as_me:$LINENO: result: no" >&5
4471 echo "${ECHO_T}no" >&6
4472 fi
4473
4474
4475
4476 enablestring=
4477 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4478 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4479 no_cache=0
4480 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4481 if test "${enable_apple_ieee+set}" = set; then
4482 enableval="$enable_apple_ieee"
4483
4484 if test "$enableval" = yes; then
4485 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4486 else
4487 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4488 fi
4489
4490 else
4491
4492 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4493 if test "x$LINE" != x ; then
4494 eval "DEFAULT_$LINE"
4495 else
4496 no_cache=1
4497 fi
4498
4499 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4500
4501 fi;
4502
4503 eval "$ac_cv_use_apple_ieee"
4504 if test "$no_cache" != 1; then
4505 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4506 fi
4507
4508 if test "$wxUSE_APPLE_IEEE" = yes; then
4509 echo "$as_me:$LINENO: result: yes" >&5
4510 echo "${ECHO_T}yes" >&6
4511 else
4512 echo "$as_me:$LINENO: result: no" >&5
4513 echo "${ECHO_T}no" >&6
4514 fi
4515
4516
4517 enablestring=
4518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4519 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4520 no_cache=0
4521 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4522 if test "${enable_catch_segvs+set}" = set; then
4523 enableval="$enable_catch_segvs"
4524
4525 if test "$enableval" = yes; then
4526 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4527 else
4528 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4529 fi
4530
4531 else
4532
4533 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4534 if test "x$LINE" != x ; then
4535 eval "DEFAULT_$LINE"
4536 else
4537 no_cache=1
4538 fi
4539
4540 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4541
4542 fi;
4543
4544 eval "$ac_cv_use_catch_segvs"
4545 if test "$no_cache" != 1; then
4546 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4547 fi
4548
4549 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4550 echo "$as_me:$LINENO: result: yes" >&5
4551 echo "${ECHO_T}yes" >&6
4552 else
4553 echo "$as_me:$LINENO: result: no" >&5
4554 echo "${ECHO_T}no" >&6
4555 fi
4556
4557
4558 enablestring=
4559 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4560 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4561 no_cache=0
4562 # Check whether --enable-cmdline or --disable-cmdline was given.
4563 if test "${enable_cmdline+set}" = set; then
4564 enableval="$enable_cmdline"
4565
4566 if test "$enableval" = yes; then
4567 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4568 else
4569 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4570 fi
4571
4572 else
4573
4574 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4575 if test "x$LINE" != x ; then
4576 eval "DEFAULT_$LINE"
4577 else
4578 no_cache=1
4579 fi
4580
4581 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4582
4583 fi;
4584
4585 eval "$ac_cv_use_cmdline"
4586 if test "$no_cache" != 1; then
4587 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4588 fi
4589
4590 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4591 echo "$as_me:$LINENO: result: yes" >&5
4592 echo "${ECHO_T}yes" >&6
4593 else
4594 echo "$as_me:$LINENO: result: no" >&5
4595 echo "${ECHO_T}no" >&6
4596 fi
4597
4598
4599 enablestring=
4600 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4601 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4602 no_cache=0
4603 # Check whether --enable-datetime or --disable-datetime was given.
4604 if test "${enable_datetime+set}" = set; then
4605 enableval="$enable_datetime"
4606
4607 if test "$enableval" = yes; then
4608 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4609 else
4610 ac_cv_use_datetime='wxUSE_DATETIME=no'
4611 fi
4612
4613 else
4614
4615 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4616 if test "x$LINE" != x ; then
4617 eval "DEFAULT_$LINE"
4618 else
4619 no_cache=1
4620 fi
4621
4622 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4623
4624 fi;
4625
4626 eval "$ac_cv_use_datetime"
4627 if test "$no_cache" != 1; then
4628 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4629 fi
4630
4631 if test "$wxUSE_DATETIME" = yes; then
4632 echo "$as_me:$LINENO: result: yes" >&5
4633 echo "${ECHO_T}yes" >&6
4634 else
4635 echo "$as_me:$LINENO: result: no" >&5
4636 echo "${ECHO_T}no" >&6
4637 fi
4638
4639
4640 enablestring=
4641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4642 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4643 no_cache=0
4644 # Check whether --enable-dialupman or --disable-dialupman was given.
4645 if test "${enable_dialupman+set}" = set; then
4646 enableval="$enable_dialupman"
4647
4648 if test "$enableval" = yes; then
4649 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4650 else
4651 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4652 fi
4653
4654 else
4655
4656 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4657 if test "x$LINE" != x ; then
4658 eval "DEFAULT_$LINE"
4659 else
4660 no_cache=1
4661 fi
4662
4663 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4664
4665 fi;
4666
4667 eval "$ac_cv_use_dialupman"
4668 if test "$no_cache" != 1; then
4669 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4670 fi
4671
4672 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4673 echo "$as_me:$LINENO: result: yes" >&5
4674 echo "${ECHO_T}yes" >&6
4675 else
4676 echo "$as_me:$LINENO: result: no" >&5
4677 echo "${ECHO_T}no" >&6
4678 fi
4679
4680
4681 enablestring=
4682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4683 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4684 no_cache=0
4685 # Check whether --enable-dynlib or --disable-dynlib was given.
4686 if test "${enable_dynlib+set}" = set; then
4687 enableval="$enable_dynlib"
4688
4689 if test "$enableval" = yes; then
4690 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4691 else
4692 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4693 fi
4694
4695 else
4696
4697 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4698 if test "x$LINE" != x ; then
4699 eval "DEFAULT_$LINE"
4700 else
4701 no_cache=1
4702 fi
4703
4704 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4705
4706 fi;
4707
4708 eval "$ac_cv_use_dynlib"
4709 if test "$no_cache" != 1; then
4710 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4711 fi
4712
4713 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4714 echo "$as_me:$LINENO: result: yes" >&5
4715 echo "${ECHO_T}yes" >&6
4716 else
4717 echo "$as_me:$LINENO: result: no" >&5
4718 echo "${ECHO_T}no" >&6
4719 fi
4720
4721
4722 enablestring=
4723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4724 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4725 no_cache=0
4726 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4727 if test "${enable_dynamicloader+set}" = set; then
4728 enableval="$enable_dynamicloader"
4729
4730 if test "$enableval" = yes; then
4731 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4732 else
4733 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4734 fi
4735
4736 else
4737
4738 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4739 if test "x$LINE" != x ; then
4740 eval "DEFAULT_$LINE"
4741 else
4742 no_cache=1
4743 fi
4744
4745 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4746
4747 fi;
4748
4749 eval "$ac_cv_use_dynamicloader"
4750 if test "$no_cache" != 1; then
4751 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4752 fi
4753
4754 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4755 echo "$as_me:$LINENO: result: yes" >&5
4756 echo "${ECHO_T}yes" >&6
4757 else
4758 echo "$as_me:$LINENO: result: no" >&5
4759 echo "${ECHO_T}no" >&6
4760 fi
4761
4762
4763 enablestring=
4764 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4765 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4766 no_cache=0
4767 # Check whether --enable-exceptions or --disable-exceptions was given.
4768 if test "${enable_exceptions+set}" = set; then
4769 enableval="$enable_exceptions"
4770
4771 if test "$enableval" = yes; then
4772 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
4773 else
4774 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
4775 fi
4776
4777 else
4778
4779 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4780 if test "x$LINE" != x ; then
4781 eval "DEFAULT_$LINE"
4782 else
4783 no_cache=1
4784 fi
4785
4786 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4787
4788 fi;
4789
4790 eval "$ac_cv_use_exceptions"
4791 if test "$no_cache" != 1; then
4792 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4793 fi
4794
4795 if test "$wxUSE_EXCEPTIONS" = yes; then
4796 echo "$as_me:$LINENO: result: yes" >&5
4797 echo "${ECHO_T}yes" >&6
4798 else
4799 echo "$as_me:$LINENO: result: no" >&5
4800 echo "${ECHO_T}no" >&6
4801 fi
4802
4803
4804 enablestring=
4805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4806 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4807 no_cache=0
4808 # Check whether --enable-ffile or --disable-ffile was given.
4809 if test "${enable_ffile+set}" = set; then
4810 enableval="$enable_ffile"
4811
4812 if test "$enableval" = yes; then
4813 ac_cv_use_ffile='wxUSE_FFILE=yes'
4814 else
4815 ac_cv_use_ffile='wxUSE_FFILE=no'
4816 fi
4817
4818 else
4819
4820 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4821 if test "x$LINE" != x ; then
4822 eval "DEFAULT_$LINE"
4823 else
4824 no_cache=1
4825 fi
4826
4827 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4828
4829 fi;
4830
4831 eval "$ac_cv_use_ffile"
4832 if test "$no_cache" != 1; then
4833 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4834 fi
4835
4836 if test "$wxUSE_FFILE" = yes; then
4837 echo "$as_me:$LINENO: result: yes" >&5
4838 echo "${ECHO_T}yes" >&6
4839 else
4840 echo "$as_me:$LINENO: result: no" >&5
4841 echo "${ECHO_T}no" >&6
4842 fi
4843
4844
4845 enablestring=
4846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4847 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4848 no_cache=0
4849 # Check whether --enable-file or --disable-file was given.
4850 if test "${enable_file+set}" = set; then
4851 enableval="$enable_file"
4852
4853 if test "$enableval" = yes; then
4854 ac_cv_use_file='wxUSE_FILE=yes'
4855 else
4856 ac_cv_use_file='wxUSE_FILE=no'
4857 fi
4858
4859 else
4860
4861 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4862 if test "x$LINE" != x ; then
4863 eval "DEFAULT_$LINE"
4864 else
4865 no_cache=1
4866 fi
4867
4868 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4869
4870 fi;
4871
4872 eval "$ac_cv_use_file"
4873 if test "$no_cache" != 1; then
4874 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4875 fi
4876
4877 if test "$wxUSE_FILE" = yes; then
4878 echo "$as_me:$LINENO: result: yes" >&5
4879 echo "${ECHO_T}yes" >&6
4880 else
4881 echo "$as_me:$LINENO: result: no" >&5
4882 echo "${ECHO_T}no" >&6
4883 fi
4884
4885
4886 enablestring=
4887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4888 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4889 no_cache=0
4890 # Check whether --enable-filesystem or --disable-filesystem was given.
4891 if test "${enable_filesystem+set}" = set; then
4892 enableval="$enable_filesystem"
4893
4894 if test "$enableval" = yes; then
4895 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4896 else
4897 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4898 fi
4899
4900 else
4901
4902 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4903 if test "x$LINE" != x ; then
4904 eval "DEFAULT_$LINE"
4905 else
4906 no_cache=1
4907 fi
4908
4909 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4910
4911 fi;
4912
4913 eval "$ac_cv_use_filesystem"
4914 if test "$no_cache" != 1; then
4915 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4916 fi
4917
4918 if test "$wxUSE_FILESYSTEM" = yes; then
4919 echo "$as_me:$LINENO: result: yes" >&5
4920 echo "${ECHO_T}yes" >&6
4921 else
4922 echo "$as_me:$LINENO: result: no" >&5
4923 echo "${ECHO_T}no" >&6
4924 fi
4925
4926
4927 enablestring=
4928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4929 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4930 no_cache=0
4931 # Check whether --enable-fontmap or --disable-fontmap was given.
4932 if test "${enable_fontmap+set}" = set; then
4933 enableval="$enable_fontmap"
4934
4935 if test "$enableval" = yes; then
4936 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4937 else
4938 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4939 fi
4940
4941 else
4942
4943 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4944 if test "x$LINE" != x ; then
4945 eval "DEFAULT_$LINE"
4946 else
4947 no_cache=1
4948 fi
4949
4950 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4951
4952 fi;
4953
4954 eval "$ac_cv_use_fontmap"
4955 if test "$no_cache" != 1; then
4956 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4957 fi
4958
4959 if test "$wxUSE_FONTMAP" = yes; then
4960 echo "$as_me:$LINENO: result: yes" >&5
4961 echo "${ECHO_T}yes" >&6
4962 else
4963 echo "$as_me:$LINENO: result: no" >&5
4964 echo "${ECHO_T}no" >&6
4965 fi
4966
4967
4968 enablestring=
4969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
4970 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
4971 no_cache=0
4972 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4973 if test "${enable_fs_inet+set}" = set; then
4974 enableval="$enable_fs_inet"
4975
4976 if test "$enableval" = yes; then
4977 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
4978 else
4979 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
4980 fi
4981
4982 else
4983
4984 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4985 if test "x$LINE" != x ; then
4986 eval "DEFAULT_$LINE"
4987 else
4988 no_cache=1
4989 fi
4990
4991 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4992
4993 fi;
4994
4995 eval "$ac_cv_use_fs_inet"
4996 if test "$no_cache" != 1; then
4997 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4998 fi
4999
5000 if test "$wxUSE_FS_INET" = yes; then
5001 echo "$as_me:$LINENO: result: yes" >&5
5002 echo "${ECHO_T}yes" >&6
5003 else
5004 echo "$as_me:$LINENO: result: no" >&5
5005 echo "${ECHO_T}no" >&6
5006 fi
5007
5008
5009 enablestring=
5010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5011 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5012 no_cache=0
5013 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5014 if test "${enable_fs_zip+set}" = set; then
5015 enableval="$enable_fs_zip"
5016
5017 if test "$enableval" = yes; then
5018 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5019 else
5020 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5021 fi
5022
5023 else
5024
5025 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5026 if test "x$LINE" != x ; then
5027 eval "DEFAULT_$LINE"
5028 else
5029 no_cache=1
5030 fi
5031
5032 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5033
5034 fi;
5035
5036 eval "$ac_cv_use_fs_zip"
5037 if test "$no_cache" != 1; then
5038 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5039 fi
5040
5041 if test "$wxUSE_FS_ZIP" = yes; then
5042 echo "$as_me:$LINENO: result: yes" >&5
5043 echo "${ECHO_T}yes" >&6
5044 else
5045 echo "$as_me:$LINENO: result: no" >&5
5046 echo "${ECHO_T}no" >&6
5047 fi
5048
5049
5050 enablestring=
5051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5052 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5053 no_cache=0
5054 # Check whether --enable-geometry or --disable-geometry was given.
5055 if test "${enable_geometry+set}" = set; then
5056 enableval="$enable_geometry"
5057
5058 if test "$enableval" = yes; then
5059 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5060 else
5061 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5062 fi
5063
5064 else
5065
5066 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5067 if test "x$LINE" != x ; then
5068 eval "DEFAULT_$LINE"
5069 else
5070 no_cache=1
5071 fi
5072
5073 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5074
5075 fi;
5076
5077 eval "$ac_cv_use_geometry"
5078 if test "$no_cache" != 1; then
5079 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5080 fi
5081
5082 if test "$wxUSE_GEOMETRY" = yes; then
5083 echo "$as_me:$LINENO: result: yes" >&5
5084 echo "${ECHO_T}yes" >&6
5085 else
5086 echo "$as_me:$LINENO: result: no" >&5
5087 echo "${ECHO_T}no" >&6
5088 fi
5089
5090
5091 enablestring=
5092 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5093 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5094 no_cache=0
5095 # Check whether --enable-log or --disable-log was given.
5096 if test "${enable_log+set}" = set; then
5097 enableval="$enable_log"
5098
5099 if test "$enableval" = yes; then
5100 ac_cv_use_log='wxUSE_LOG=yes'
5101 else
5102 ac_cv_use_log='wxUSE_LOG=no'
5103 fi
5104
5105 else
5106
5107 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5108 if test "x$LINE" != x ; then
5109 eval "DEFAULT_$LINE"
5110 else
5111 no_cache=1
5112 fi
5113
5114 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5115
5116 fi;
5117
5118 eval "$ac_cv_use_log"
5119 if test "$no_cache" != 1; then
5120 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5121 fi
5122
5123 if test "$wxUSE_LOG" = yes; then
5124 echo "$as_me:$LINENO: result: yes" >&5
5125 echo "${ECHO_T}yes" >&6
5126 else
5127 echo "$as_me:$LINENO: result: no" >&5
5128 echo "${ECHO_T}no" >&6
5129 fi
5130
5131
5132 enablestring=
5133 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5134 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5135 no_cache=0
5136 # Check whether --enable-longlong or --disable-longlong was given.
5137 if test "${enable_longlong+set}" = set; then
5138 enableval="$enable_longlong"
5139
5140 if test "$enableval" = yes; then
5141 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5142 else
5143 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5144 fi
5145
5146 else
5147
5148 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5149 if test "x$LINE" != x ; then
5150 eval "DEFAULT_$LINE"
5151 else
5152 no_cache=1
5153 fi
5154
5155 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5156
5157 fi;
5158
5159 eval "$ac_cv_use_longlong"
5160 if test "$no_cache" != 1; then
5161 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5162 fi
5163
5164 if test "$wxUSE_LONGLONG" = yes; then
5165 echo "$as_me:$LINENO: result: yes" >&5
5166 echo "${ECHO_T}yes" >&6
5167 else
5168 echo "$as_me:$LINENO: result: no" >&5
5169 echo "${ECHO_T}no" >&6
5170 fi
5171
5172
5173 enablestring=
5174 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5175 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5176 no_cache=0
5177 # Check whether --enable-mimetype or --disable-mimetype was given.
5178 if test "${enable_mimetype+set}" = set; then
5179 enableval="$enable_mimetype"
5180
5181 if test "$enableval" = yes; then
5182 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5183 else
5184 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5185 fi
5186
5187 else
5188
5189 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5190 if test "x$LINE" != x ; then
5191 eval "DEFAULT_$LINE"
5192 else
5193 no_cache=1
5194 fi
5195
5196 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5197
5198 fi;
5199
5200 eval "$ac_cv_use_mimetype"
5201 if test "$no_cache" != 1; then
5202 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5203 fi
5204
5205 if test "$wxUSE_MIMETYPE" = yes; then
5206 echo "$as_me:$LINENO: result: yes" >&5
5207 echo "${ECHO_T}yes" >&6
5208 else
5209 echo "$as_me:$LINENO: result: no" >&5
5210 echo "${ECHO_T}no" >&6
5211 fi
5212
5213
5214 enablestring=
5215 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5216 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5217 no_cache=0
5218 # Check whether --enable-mslu or --disable-mslu was given.
5219 if test "${enable_mslu+set}" = set; then
5220 enableval="$enable_mslu"
5221
5222 if test "$enableval" = yes; then
5223 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5224 else
5225 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5226 fi
5227
5228 else
5229
5230 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5231 if test "x$LINE" != x ; then
5232 eval "DEFAULT_$LINE"
5233 else
5234 no_cache=1
5235 fi
5236
5237 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5238
5239 fi;
5240
5241 eval "$ac_cv_use_mslu"
5242 if test "$no_cache" != 1; then
5243 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5244 fi
5245
5246 if test "$wxUSE_UNICODE_MSLU" = yes; then
5247 echo "$as_me:$LINENO: result: yes" >&5
5248 echo "${ECHO_T}yes" >&6
5249 else
5250 echo "$as_me:$LINENO: result: no" >&5
5251 echo "${ECHO_T}no" >&6
5252 fi
5253
5254
5255 enablestring=
5256 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5257 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5258 no_cache=0
5259 # Check whether --enable-snglinst or --disable-snglinst was given.
5260 if test "${enable_snglinst+set}" = set; then
5261 enableval="$enable_snglinst"
5262
5263 if test "$enableval" = yes; then
5264 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5265 else
5266 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5267 fi
5268
5269 else
5270
5271 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5272 if test "x$LINE" != x ; then
5273 eval "DEFAULT_$LINE"
5274 else
5275 no_cache=1
5276 fi
5277
5278 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5279
5280 fi;
5281
5282 eval "$ac_cv_use_snglinst"
5283 if test "$no_cache" != 1; then
5284 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5285 fi
5286
5287 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5288 echo "$as_me:$LINENO: result: yes" >&5
5289 echo "${ECHO_T}yes" >&6
5290 else
5291 echo "$as_me:$LINENO: result: no" >&5
5292 echo "${ECHO_T}no" >&6
5293 fi
5294
5295
5296 enablestring=
5297 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5298 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5299 no_cache=0
5300 # Check whether --enable-streams or --disable-streams was given.
5301 if test "${enable_streams+set}" = set; then
5302 enableval="$enable_streams"
5303
5304 if test "$enableval" = yes; then
5305 ac_cv_use_streams='wxUSE_STREAMS=yes'
5306 else
5307 ac_cv_use_streams='wxUSE_STREAMS=no'
5308 fi
5309
5310 else
5311
5312 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5313 if test "x$LINE" != x ; then
5314 eval "DEFAULT_$LINE"
5315 else
5316 no_cache=1
5317 fi
5318
5319 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5320
5321 fi;
5322
5323 eval "$ac_cv_use_streams"
5324 if test "$no_cache" != 1; then
5325 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5326 fi
5327
5328 if test "$wxUSE_STREAMS" = yes; then
5329 echo "$as_me:$LINENO: result: yes" >&5
5330 echo "${ECHO_T}yes" >&6
5331 else
5332 echo "$as_me:$LINENO: result: no" >&5
5333 echo "${ECHO_T}no" >&6
5334 fi
5335
5336
5337 enablestring=
5338 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5339 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5340 no_cache=0
5341 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5342 if test "${enable_std_iostreams+set}" = set; then
5343 enableval="$enable_std_iostreams"
5344
5345 if test "$enableval" = yes; then
5346 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5347 else
5348 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5349 fi
5350
5351 else
5352
5353 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5354 if test "x$LINE" != x ; then
5355 eval "DEFAULT_$LINE"
5356 else
5357 no_cache=1
5358 fi
5359
5360 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5361
5362 fi;
5363
5364 eval "$ac_cv_use_std_iostreams"
5365 if test "$no_cache" != 1; then
5366 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5367 fi
5368
5369 if test "$wxUSE_STD_IOSTREAM" = yes; then
5370 echo "$as_me:$LINENO: result: yes" >&5
5371 echo "${ECHO_T}yes" >&6
5372 else
5373 echo "$as_me:$LINENO: result: no" >&5
5374 echo "${ECHO_T}no" >&6
5375 fi
5376
5377
5378 enablestring=
5379 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5380 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5381 no_cache=0
5382 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5383 if test "${enable_stopwatch+set}" = set; then
5384 enableval="$enable_stopwatch"
5385
5386 if test "$enableval" = yes; then
5387 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5388 else
5389 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5390 fi
5391
5392 else
5393
5394 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5395 if test "x$LINE" != x ; then
5396 eval "DEFAULT_$LINE"
5397 else
5398 no_cache=1
5399 fi
5400
5401 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5402
5403 fi;
5404
5405 eval "$ac_cv_use_stopwatch"
5406 if test "$no_cache" != 1; then
5407 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5408 fi
5409
5410 if test "$wxUSE_STOPWATCH" = yes; then
5411 echo "$as_me:$LINENO: result: yes" >&5
5412 echo "${ECHO_T}yes" >&6
5413 else
5414 echo "$as_me:$LINENO: result: no" >&5
5415 echo "${ECHO_T}no" >&6
5416 fi
5417
5418
5419 enablestring=
5420 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5421 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5422 no_cache=0
5423 # Check whether --enable-system_options or --disable-system_options was given.
5424 if test "${enable_system_options+set}" = set; then
5425 enableval="$enable_system_options"
5426
5427 if test "$enableval" = yes; then
5428 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5429 else
5430 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5431 fi
5432
5433 else
5434
5435 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5436 if test "x$LINE" != x ; then
5437 eval "DEFAULT_$LINE"
5438 else
5439 no_cache=1
5440 fi
5441
5442 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5443
5444 fi;
5445
5446 eval "$ac_cv_use_system_options"
5447 if test "$no_cache" != 1; then
5448 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5449 fi
5450
5451 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5452 echo "$as_me:$LINENO: result: yes" >&5
5453 echo "${ECHO_T}yes" >&6
5454 else
5455 echo "$as_me:$LINENO: result: no" >&5
5456 echo "${ECHO_T}no" >&6
5457 fi
5458
5459
5460 enablestring=
5461 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5462 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5463 no_cache=0
5464 # Check whether --enable-textbuf or --disable-textbuf was given.
5465 if test "${enable_textbuf+set}" = set; then
5466 enableval="$enable_textbuf"
5467
5468 if test "$enableval" = yes; then
5469 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5470 else
5471 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5472 fi
5473
5474 else
5475
5476 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5477 if test "x$LINE" != x ; then
5478 eval "DEFAULT_$LINE"
5479 else
5480 no_cache=1
5481 fi
5482
5483 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5484
5485 fi;
5486
5487 eval "$ac_cv_use_textbuf"
5488 if test "$no_cache" != 1; then
5489 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5490 fi
5491
5492 if test "$wxUSE_TEXTBUFFER" = yes; then
5493 echo "$as_me:$LINENO: result: yes" >&5
5494 echo "${ECHO_T}yes" >&6
5495 else
5496 echo "$as_me:$LINENO: result: no" >&5
5497 echo "${ECHO_T}no" >&6
5498 fi
5499
5500
5501 enablestring=
5502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5503 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5504 no_cache=0
5505 # Check whether --enable-textfile or --disable-textfile was given.
5506 if test "${enable_textfile+set}" = set; then
5507 enableval="$enable_textfile"
5508
5509 if test "$enableval" = yes; then
5510 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5511 else
5512 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5513 fi
5514
5515 else
5516
5517 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5518 if test "x$LINE" != x ; then
5519 eval "DEFAULT_$LINE"
5520 else
5521 no_cache=1
5522 fi
5523
5524 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5525
5526 fi;
5527
5528 eval "$ac_cv_use_textfile"
5529 if test "$no_cache" != 1; then
5530 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5531 fi
5532
5533 if test "$wxUSE_TEXTFILE" = yes; then
5534 echo "$as_me:$LINENO: result: yes" >&5
5535 echo "${ECHO_T}yes" >&6
5536 else
5537 echo "$as_me:$LINENO: result: no" >&5
5538 echo "${ECHO_T}no" >&6
5539 fi
5540
5541
5542 enablestring=
5543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5544 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5545 no_cache=0
5546 # Check whether --enable-timer or --disable-timer was given.
5547 if test "${enable_timer+set}" = set; then
5548 enableval="$enable_timer"
5549
5550 if test "$enableval" = yes; then
5551 ac_cv_use_timer='wxUSE_TIMER=yes'
5552 else
5553 ac_cv_use_timer='wxUSE_TIMER=no'
5554 fi
5555
5556 else
5557
5558 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5559 if test "x$LINE" != x ; then
5560 eval "DEFAULT_$LINE"
5561 else
5562 no_cache=1
5563 fi
5564
5565 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5566
5567 fi;
5568
5569 eval "$ac_cv_use_timer"
5570 if test "$no_cache" != 1; then
5571 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5572 fi
5573
5574 if test "$wxUSE_TIMER" = yes; then
5575 echo "$as_me:$LINENO: result: yes" >&5
5576 echo "${ECHO_T}yes" >&6
5577 else
5578 echo "$as_me:$LINENO: result: no" >&5
5579 echo "${ECHO_T}no" >&6
5580 fi
5581
5582
5583 enablestring=
5584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5585 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5586 no_cache=0
5587 # Check whether --enable-unicode or --disable-unicode was given.
5588 if test "${enable_unicode+set}" = set; then
5589 enableval="$enable_unicode"
5590
5591 if test "$enableval" = yes; then
5592 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5593 else
5594 ac_cv_use_unicode='wxUSE_UNICODE=no'
5595 fi
5596
5597 else
5598
5599 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5600 if test "x$LINE" != x ; then
5601 eval "DEFAULT_$LINE"
5602 else
5603 no_cache=1
5604 fi
5605
5606 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5607
5608 fi;
5609
5610 eval "$ac_cv_use_unicode"
5611 if test "$no_cache" != 1; then
5612 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5613 fi
5614
5615 if test "$wxUSE_UNICODE" = yes; then
5616 echo "$as_me:$LINENO: result: yes" >&5
5617 echo "${ECHO_T}yes" >&6
5618 else
5619 echo "$as_me:$LINENO: result: no" >&5
5620 echo "${ECHO_T}no" >&6
5621 fi
5622
5623
5624 enablestring=
5625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5626 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5627 no_cache=0
5628 # Check whether --enable-sound or --disable-sound was given.
5629 if test "${enable_sound+set}" = set; then
5630 enableval="$enable_sound"
5631
5632 if test "$enableval" = yes; then
5633 ac_cv_use_sound='wxUSE_SOUND=yes'
5634 else
5635 ac_cv_use_sound='wxUSE_SOUND=no'
5636 fi
5637
5638 else
5639
5640 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5641 if test "x$LINE" != x ; then
5642 eval "DEFAULT_$LINE"
5643 else
5644 no_cache=1
5645 fi
5646
5647 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5648
5649 fi;
5650
5651 eval "$ac_cv_use_sound"
5652 if test "$no_cache" != 1; then
5653 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5654 fi
5655
5656 if test "$wxUSE_SOUND" = yes; then
5657 echo "$as_me:$LINENO: result: yes" >&5
5658 echo "${ECHO_T}yes" >&6
5659 else
5660 echo "$as_me:$LINENO: result: no" >&5
5661 echo "${ECHO_T}no" >&6
5662 fi
5663
5664
5665 enablestring=
5666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5667 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5668 no_cache=0
5669 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5670 if test "${enable_wxprintfv+set}" = set; then
5671 enableval="$enable_wxprintfv"
5672
5673 if test "$enableval" = yes; then
5674 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5675 else
5676 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5677 fi
5678
5679 else
5680
5681 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5682 if test "x$LINE" != x ; then
5683 eval "DEFAULT_$LINE"
5684 else
5685 no_cache=1
5686 fi
5687
5688 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5689
5690 fi;
5691
5692 eval "$ac_cv_use_wxprintfv"
5693 if test "$no_cache" != 1; then
5694 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5695 fi
5696
5697 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5698 echo "$as_me:$LINENO: result: yes" >&5
5699 echo "${ECHO_T}yes" >&6
5700 else
5701 echo "$as_me:$LINENO: result: no" >&5
5702 echo "${ECHO_T}no" >&6
5703 fi
5704
5705
5706 enablestring=
5707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5708 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5709 no_cache=0
5710 # Check whether --enable-zipstream or --disable-zipstream was given.
5711 if test "${enable_zipstream+set}" = set; then
5712 enableval="$enable_zipstream"
5713
5714 if test "$enableval" = yes; then
5715 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5716 else
5717 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5718 fi
5719
5720 else
5721
5722 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5723 if test "x$LINE" != x ; then
5724 eval "DEFAULT_$LINE"
5725 else
5726 no_cache=1
5727 fi
5728
5729 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5730
5731 fi;
5732
5733 eval "$ac_cv_use_zipstream"
5734 if test "$no_cache" != 1; then
5735 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5736 fi
5737
5738 if test "$wxUSE_ZIPSTREAM" = yes; then
5739 echo "$as_me:$LINENO: result: yes" >&5
5740 echo "${ECHO_T}yes" >&6
5741 else
5742 echo "$as_me:$LINENO: result: no" >&5
5743 echo "${ECHO_T}no" >&6
5744 fi
5745
5746
5747 enablestring=
5748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gzstream" >&5
5749 echo $ECHO_N "checking for --${enablestring:-enable}-gzstream... $ECHO_C" >&6
5750 no_cache=0
5751 # Check whether --enable-gzstream or --disable-gzstream was given.
5752 if test "${enable_gzstream+set}" = set; then
5753 enableval="$enable_gzstream"
5754
5755 if test "$enableval" = yes; then
5756 ac_cv_use_gzstream='wxUSE_GZSTREAM=yes'
5757 else
5758 ac_cv_use_gzstream='wxUSE_GZSTREAM=no'
5759 fi
5760
5761 else
5762
5763 LINE=`grep "wxUSE_GZSTREAM" ${wx_arg_cache_file}`
5764 if test "x$LINE" != x ; then
5765 eval "DEFAULT_$LINE"
5766 else
5767 no_cache=1
5768 fi
5769
5770 ac_cv_use_gzstream='wxUSE_GZSTREAM='$DEFAULT_wxUSE_GZSTREAM
5771
5772 fi;
5773
5774 eval "$ac_cv_use_gzstream"
5775 if test "$no_cache" != 1; then
5776 echo $ac_cv_use_gzstream >> ${wx_arg_cache_file}.tmp
5777 fi
5778
5779 if test "$wxUSE_GZSTREAM" = yes; then
5780 echo "$as_me:$LINENO: result: yes" >&5
5781 echo "${ECHO_T}yes" >&6
5782 else
5783 echo "$as_me:$LINENO: result: no" >&5
5784 echo "${ECHO_T}no" >&6
5785 fi
5786
5787
5788
5789 enablestring=
5790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5791 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5792 no_cache=0
5793 # Check whether --enable-url or --disable-url was given.
5794 if test "${enable_url+set}" = set; then
5795 enableval="$enable_url"
5796
5797 if test "$enableval" = yes; then
5798 ac_cv_use_url='wxUSE_URL=yes'
5799 else
5800 ac_cv_use_url='wxUSE_URL=no'
5801 fi
5802
5803 else
5804
5805 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5806 if test "x$LINE" != x ; then
5807 eval "DEFAULT_$LINE"
5808 else
5809 no_cache=1
5810 fi
5811
5812 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5813
5814 fi;
5815
5816 eval "$ac_cv_use_url"
5817 if test "$no_cache" != 1; then
5818 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5819 fi
5820
5821 if test "$wxUSE_URL" = yes; then
5822 echo "$as_me:$LINENO: result: yes" >&5
5823 echo "${ECHO_T}yes" >&6
5824 else
5825 echo "$as_me:$LINENO: result: no" >&5
5826 echo "${ECHO_T}no" >&6
5827 fi
5828
5829
5830 enablestring=
5831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5832 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5833 no_cache=0
5834 # Check whether --enable-protocol or --disable-protocol was given.
5835 if test "${enable_protocol+set}" = set; then
5836 enableval="$enable_protocol"
5837
5838 if test "$enableval" = yes; then
5839 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5840 else
5841 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5842 fi
5843
5844 else
5845
5846 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5847 if test "x$LINE" != x ; then
5848 eval "DEFAULT_$LINE"
5849 else
5850 no_cache=1
5851 fi
5852
5853 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5854
5855 fi;
5856
5857 eval "$ac_cv_use_protocol"
5858 if test "$no_cache" != 1; then
5859 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5860 fi
5861
5862 if test "$wxUSE_PROTOCOL" = yes; then
5863 echo "$as_me:$LINENO: result: yes" >&5
5864 echo "${ECHO_T}yes" >&6
5865 else
5866 echo "$as_me:$LINENO: result: no" >&5
5867 echo "${ECHO_T}no" >&6
5868 fi
5869
5870
5871 enablestring=
5872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5873 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5874 no_cache=0
5875 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5876 if test "${enable_protocol_http+set}" = set; then
5877 enableval="$enable_protocol_http"
5878
5879 if test "$enableval" = yes; then
5880 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5881 else
5882 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5883 fi
5884
5885 else
5886
5887 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5888 if test "x$LINE" != x ; then
5889 eval "DEFAULT_$LINE"
5890 else
5891 no_cache=1
5892 fi
5893
5894 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5895
5896 fi;
5897
5898 eval "$ac_cv_use_protocol_http"
5899 if test "$no_cache" != 1; then
5900 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5901 fi
5902
5903 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5904 echo "$as_me:$LINENO: result: yes" >&5
5905 echo "${ECHO_T}yes" >&6
5906 else
5907 echo "$as_me:$LINENO: result: no" >&5
5908 echo "${ECHO_T}no" >&6
5909 fi
5910
5911
5912 enablestring=
5913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5914 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5915 no_cache=0
5916 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5917 if test "${enable_protocol_ftp+set}" = set; then
5918 enableval="$enable_protocol_ftp"
5919
5920 if test "$enableval" = yes; then
5921 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5922 else
5923 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5924 fi
5925
5926 else
5927
5928 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5929 if test "x$LINE" != x ; then
5930 eval "DEFAULT_$LINE"
5931 else
5932 no_cache=1
5933 fi
5934
5935 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5936
5937 fi;
5938
5939 eval "$ac_cv_use_protocol_ftp"
5940 if test "$no_cache" != 1; then
5941 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5942 fi
5943
5944 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5945 echo "$as_me:$LINENO: result: yes" >&5
5946 echo "${ECHO_T}yes" >&6
5947 else
5948 echo "$as_me:$LINENO: result: no" >&5
5949 echo "${ECHO_T}no" >&6
5950 fi
5951
5952
5953 enablestring=
5954 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5955 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5956 no_cache=0
5957 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5958 if test "${enable_protocol_file+set}" = set; then
5959 enableval="$enable_protocol_file"
5960
5961 if test "$enableval" = yes; then
5962 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5963 else
5964 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5965 fi
5966
5967 else
5968
5969 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5970 if test "x$LINE" != x ; then
5971 eval "DEFAULT_$LINE"
5972 else
5973 no_cache=1
5974 fi
5975
5976 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5977
5978 fi;
5979
5980 eval "$ac_cv_use_protocol_file"
5981 if test "$no_cache" != 1; then
5982 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5983 fi
5984
5985 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5986 echo "$as_me:$LINENO: result: yes" >&5
5987 echo "${ECHO_T}yes" >&6
5988 else
5989 echo "$as_me:$LINENO: result: no" >&5
5990 echo "${ECHO_T}no" >&6
5991 fi
5992
5993
5994
5995
5996
5997 enablestring=
5998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5999 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6000 no_cache=0
6001 # Check whether --enable-threads or --disable-threads was given.
6002 if test "${enable_threads+set}" = set; then
6003 enableval="$enable_threads"
6004
6005 if test "$enableval" = yes; then
6006 ac_cv_use_threads='wxUSE_THREADS=yes'
6007 else
6008 ac_cv_use_threads='wxUSE_THREADS=no'
6009 fi
6010
6011 else
6012
6013 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6014 if test "x$LINE" != x ; then
6015 eval "DEFAULT_$LINE"
6016 else
6017 no_cache=1
6018 fi
6019
6020 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6021
6022 fi;
6023
6024 eval "$ac_cv_use_threads"
6025 if test "$no_cache" != 1; then
6026 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6027 fi
6028
6029 if test "$wxUSE_THREADS" = yes; then
6030 echo "$as_me:$LINENO: result: yes" >&5
6031 echo "${ECHO_T}yes" >&6
6032 else
6033 echo "$as_me:$LINENO: result: no" >&5
6034 echo "${ECHO_T}no" >&6
6035 fi
6036
6037
6038 if test "$wxUSE_GUI" = "yes"; then
6039
6040
6041
6042 enablestring=
6043 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6044 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6045 no_cache=0
6046 # Check whether --enable-docview or --disable-docview was given.
6047 if test "${enable_docview+set}" = set; then
6048 enableval="$enable_docview"
6049
6050 if test "$enableval" = yes; then
6051 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6052 else
6053 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6054 fi
6055
6056 else
6057
6058 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6059 if test "x$LINE" != x ; then
6060 eval "DEFAULT_$LINE"
6061 else
6062 no_cache=1
6063 fi
6064
6065 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6066
6067 fi;
6068
6069 eval "$ac_cv_use_docview"
6070 if test "$no_cache" != 1; then
6071 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6072 fi
6073
6074 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6075 echo "$as_me:$LINENO: result: yes" >&5
6076 echo "${ECHO_T}yes" >&6
6077 else
6078 echo "$as_me:$LINENO: result: no" >&5
6079 echo "${ECHO_T}no" >&6
6080 fi
6081
6082
6083 enablestring=
6084 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6085 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6086 no_cache=0
6087 # Check whether --enable-help or --disable-help was given.
6088 if test "${enable_help+set}" = set; then
6089 enableval="$enable_help"
6090
6091 if test "$enableval" = yes; then
6092 ac_cv_use_help='wxUSE_HELP=yes'
6093 else
6094 ac_cv_use_help='wxUSE_HELP=no'
6095 fi
6096
6097 else
6098
6099 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6100 if test "x$LINE" != x ; then
6101 eval "DEFAULT_$LINE"
6102 else
6103 no_cache=1
6104 fi
6105
6106 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6107
6108 fi;
6109
6110 eval "$ac_cv_use_help"
6111 if test "$no_cache" != 1; then
6112 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6113 fi
6114
6115 if test "$wxUSE_HELP" = yes; then
6116 echo "$as_me:$LINENO: result: yes" >&5
6117 echo "${ECHO_T}yes" >&6
6118 else
6119 echo "$as_me:$LINENO: result: no" >&5
6120 echo "${ECHO_T}no" >&6
6121 fi
6122
6123
6124 enablestring=
6125 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6126 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6127 no_cache=0
6128 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6129 if test "${enable_mshtmlhelp+set}" = set; then
6130 enableval="$enable_mshtmlhelp"
6131
6132 if test "$enableval" = yes; then
6133 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6134 else
6135 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6136 fi
6137
6138 else
6139
6140 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6141 if test "x$LINE" != x ; then
6142 eval "DEFAULT_$LINE"
6143 else
6144 no_cache=1
6145 fi
6146
6147 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6148
6149 fi;
6150
6151 eval "$ac_cv_use_mshtmlhelp"
6152 if test "$no_cache" != 1; then
6153 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6154 fi
6155
6156 if test "$wxUSE_MS_HTML_HELP" = yes; then
6157 echo "$as_me:$LINENO: result: yes" >&5
6158 echo "${ECHO_T}yes" >&6
6159 else
6160 echo "$as_me:$LINENO: result: no" >&5
6161 echo "${ECHO_T}no" >&6
6162 fi
6163
6164
6165 enablestring=
6166 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6167 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6168 no_cache=0
6169 # Check whether --enable-html or --disable-html was given.
6170 if test "${enable_html+set}" = set; then
6171 enableval="$enable_html"
6172
6173 if test "$enableval" = yes; then
6174 ac_cv_use_html='wxUSE_HTML=yes'
6175 else
6176 ac_cv_use_html='wxUSE_HTML=no'
6177 fi
6178
6179 else
6180
6181 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6182 if test "x$LINE" != x ; then
6183 eval "DEFAULT_$LINE"
6184 else
6185 no_cache=1
6186 fi
6187
6188 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6189
6190 fi;
6191
6192 eval "$ac_cv_use_html"
6193 if test "$no_cache" != 1; then
6194 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6195 fi
6196
6197 if test "$wxUSE_HTML" = yes; then
6198 echo "$as_me:$LINENO: result: yes" >&5
6199 echo "${ECHO_T}yes" >&6
6200 else
6201 echo "$as_me:$LINENO: result: no" >&5
6202 echo "${ECHO_T}no" >&6
6203 fi
6204
6205
6206 enablestring=
6207 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6208 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6209 no_cache=0
6210 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6211 if test "${enable_htmlhelp+set}" = set; then
6212 enableval="$enable_htmlhelp"
6213
6214 if test "$enableval" = yes; then
6215 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6216 else
6217 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6218 fi
6219
6220 else
6221
6222 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6223 if test "x$LINE" != x ; then
6224 eval "DEFAULT_$LINE"
6225 else
6226 no_cache=1
6227 fi
6228
6229 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6230
6231 fi;
6232
6233 eval "$ac_cv_use_htmlhelp"
6234 if test "$no_cache" != 1; then
6235 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6236 fi
6237
6238 if test "$wxUSE_WXHTML_HELP" = yes; then
6239 echo "$as_me:$LINENO: result: yes" >&5
6240 echo "${ECHO_T}yes" >&6
6241 else
6242 echo "$as_me:$LINENO: result: no" >&5
6243 echo "${ECHO_T}no" >&6
6244 fi
6245
6246
6247 enablestring=
6248 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6249 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6250 no_cache=0
6251 # Check whether --enable-constraints or --disable-constraints was given.
6252 if test "${enable_constraints+set}" = set; then
6253 enableval="$enable_constraints"
6254
6255 if test "$enableval" = yes; then
6256 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6257 else
6258 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6259 fi
6260
6261 else
6262
6263 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6264 if test "x$LINE" != x ; then
6265 eval "DEFAULT_$LINE"
6266 else
6267 no_cache=1
6268 fi
6269
6270 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6271
6272 fi;
6273
6274 eval "$ac_cv_use_constraints"
6275 if test "$no_cache" != 1; then
6276 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6277 fi
6278
6279 if test "$wxUSE_CONSTRAINTS" = yes; then
6280 echo "$as_me:$LINENO: result: yes" >&5
6281 echo "${ECHO_T}yes" >&6
6282 else
6283 echo "$as_me:$LINENO: result: no" >&5
6284 echo "${ECHO_T}no" >&6
6285 fi
6286
6287
6288 enablestring=
6289 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6290 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6291 no_cache=0
6292 # Check whether --enable-printarch or --disable-printarch was given.
6293 if test "${enable_printarch+set}" = set; then
6294 enableval="$enable_printarch"
6295
6296 if test "$enableval" = yes; then
6297 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6298 else
6299 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6300 fi
6301
6302 else
6303
6304 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6305 if test "x$LINE" != x ; then
6306 eval "DEFAULT_$LINE"
6307 else
6308 no_cache=1
6309 fi
6310
6311 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6312
6313 fi;
6314
6315 eval "$ac_cv_use_printarch"
6316 if test "$no_cache" != 1; then
6317 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6318 fi
6319
6320 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6321 echo "$as_me:$LINENO: result: yes" >&5
6322 echo "${ECHO_T}yes" >&6
6323 else
6324 echo "$as_me:$LINENO: result: no" >&5
6325 echo "${ECHO_T}no" >&6
6326 fi
6327
6328
6329 enablestring=
6330 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6331 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6332 no_cache=0
6333 # Check whether --enable-mdi or --disable-mdi was given.
6334 if test "${enable_mdi+set}" = set; then
6335 enableval="$enable_mdi"
6336
6337 if test "$enableval" = yes; then
6338 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
6339 else
6340 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
6341 fi
6342
6343 else
6344
6345 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6346 if test "x$LINE" != x ; then
6347 eval "DEFAULT_$LINE"
6348 else
6349 no_cache=1
6350 fi
6351
6352 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6353
6354 fi;
6355
6356 eval "$ac_cv_use_mdi"
6357 if test "$no_cache" != 1; then
6358 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6359 fi
6360
6361 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6362 echo "$as_me:$LINENO: result: yes" >&5
6363 echo "${ECHO_T}yes" >&6
6364 else
6365 echo "$as_me:$LINENO: result: no" >&5
6366 echo "${ECHO_T}no" >&6
6367 fi
6368
6369
6370 enablestring=
6371 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6372 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6373 no_cache=0
6374 # Check whether --enable-loggui or --disable-loggui was given.
6375 if test "${enable_loggui+set}" = set; then
6376 enableval="$enable_loggui"
6377
6378 if test "$enableval" = yes; then
6379 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6380 else
6381 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6382 fi
6383
6384 else
6385
6386 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6387 if test "x$LINE" != x ; then
6388 eval "DEFAULT_$LINE"
6389 else
6390 no_cache=1
6391 fi
6392
6393 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6394
6395 fi;
6396
6397 eval "$ac_cv_use_loggui"
6398 if test "$no_cache" != 1; then
6399 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6400 fi
6401
6402 if test "$wxUSE_LOGGUI" = yes; then
6403 echo "$as_me:$LINENO: result: yes" >&5
6404 echo "${ECHO_T}yes" >&6
6405 else
6406 echo "$as_me:$LINENO: result: no" >&5
6407 echo "${ECHO_T}no" >&6
6408 fi
6409
6410
6411 enablestring=
6412 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6413 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6414 no_cache=0
6415 # Check whether --enable-logwin or --disable-logwin was given.
6416 if test "${enable_logwin+set}" = set; then
6417 enableval="$enable_logwin"
6418
6419 if test "$enableval" = yes; then
6420 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6421 else
6422 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6423 fi
6424
6425 else
6426
6427 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6428 if test "x$LINE" != x ; then
6429 eval "DEFAULT_$LINE"
6430 else
6431 no_cache=1
6432 fi
6433
6434 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6435
6436 fi;
6437
6438 eval "$ac_cv_use_logwin"
6439 if test "$no_cache" != 1; then
6440 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6441 fi
6442
6443 if test "$wxUSE_LOGWINDOW" = yes; then
6444 echo "$as_me:$LINENO: result: yes" >&5
6445 echo "${ECHO_T}yes" >&6
6446 else
6447 echo "$as_me:$LINENO: result: no" >&5
6448 echo "${ECHO_T}no" >&6
6449 fi
6450
6451
6452 enablestring=
6453 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6454 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6455 no_cache=0
6456 # Check whether --enable-logdialog or --disable-logdialog was given.
6457 if test "${enable_logdialog+set}" = set; then
6458 enableval="$enable_logdialog"
6459
6460 if test "$enableval" = yes; then
6461 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6462 else
6463 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6464 fi
6465
6466 else
6467
6468 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6469 if test "x$LINE" != x ; then
6470 eval "DEFAULT_$LINE"
6471 else
6472 no_cache=1
6473 fi
6474
6475 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6476
6477 fi;
6478
6479 eval "$ac_cv_use_logdialog"
6480 if test "$no_cache" != 1; then
6481 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6482 fi
6483
6484 if test "$wxUSE_LOGDIALOG" = yes; then
6485 echo "$as_me:$LINENO: result: yes" >&5
6486 echo "${ECHO_T}yes" >&6
6487 else
6488 echo "$as_me:$LINENO: result: no" >&5
6489 echo "${ECHO_T}no" >&6
6490 fi
6491
6492
6493
6494 enablestring=
6495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6496 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6497 no_cache=0
6498 # Check whether --enable-postscript or --disable-postscript was given.
6499 if test "${enable_postscript+set}" = set; then
6500 enableval="$enable_postscript"
6501
6502 if test "$enableval" = yes; then
6503 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6504 else
6505 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6506 fi
6507
6508 else
6509
6510 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6511 if test "x$LINE" != x ; then
6512 eval "DEFAULT_$LINE"
6513 else
6514 no_cache=1
6515 fi
6516
6517 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6518
6519 fi;
6520
6521 eval "$ac_cv_use_postscript"
6522 if test "$no_cache" != 1; then
6523 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6524 fi
6525
6526 if test "$wxUSE_POSTSCRIPT" = yes; then
6527 echo "$as_me:$LINENO: result: yes" >&5
6528 echo "${ECHO_T}yes" >&6
6529 else
6530 echo "$as_me:$LINENO: result: no" >&5
6531 echo "${ECHO_T}no" >&6
6532 fi
6533
6534
6535
6536
6537
6538 enablestring=
6539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6540 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6541 no_cache=0
6542 # Check whether --enable-prologio or --disable-prologio was given.
6543 if test "${enable_prologio+set}" = set; then
6544 enableval="$enable_prologio"
6545
6546 if test "$enableval" = yes; then
6547 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6548 else
6549 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6550 fi
6551
6552 else
6553
6554 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6555 if test "x$LINE" != x ; then
6556 eval "DEFAULT_$LINE"
6557 else
6558 no_cache=1
6559 fi
6560
6561 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6562
6563 fi;
6564
6565 eval "$ac_cv_use_prologio"
6566 if test "$no_cache" != 1; then
6567 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6568 fi
6569
6570 if test "$wxUSE_PROLOGIO" = yes; then
6571 echo "$as_me:$LINENO: result: yes" >&5
6572 echo "${ECHO_T}yes" >&6
6573 else
6574 echo "$as_me:$LINENO: result: no" >&5
6575 echo "${ECHO_T}no" >&6
6576 fi
6577
6578
6579 enablestring=
6580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6581 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6582 no_cache=0
6583 # Check whether --enable-resources or --disable-resources was given.
6584 if test "${enable_resources+set}" = set; then
6585 enableval="$enable_resources"
6586
6587 if test "$enableval" = yes; then
6588 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6589 else
6590 ac_cv_use_resources='wxUSE_RESOURCES=no'
6591 fi
6592
6593 else
6594
6595 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6596 if test "x$LINE" != x ; then
6597 eval "DEFAULT_$LINE"
6598 else
6599 no_cache=1
6600 fi
6601
6602 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6603
6604 fi;
6605
6606 eval "$ac_cv_use_resources"
6607 if test "$no_cache" != 1; then
6608 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6609 fi
6610
6611 if test "$wxUSE_RESOURCES" = yes; then
6612 echo "$as_me:$LINENO: result: yes" >&5
6613 echo "${ECHO_T}yes" >&6
6614 else
6615 echo "$as_me:$LINENO: result: no" >&5
6616 echo "${ECHO_T}no" >&6
6617 fi
6618
6619
6620
6621
6622 enablestring=
6623 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6624 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6625 no_cache=0
6626 # Check whether --enable-clipboard or --disable-clipboard was given.
6627 if test "${enable_clipboard+set}" = set; then
6628 enableval="$enable_clipboard"
6629
6630 if test "$enableval" = yes; then
6631 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6632 else
6633 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6634 fi
6635
6636 else
6637
6638 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6639 if test "x$LINE" != x ; then
6640 eval "DEFAULT_$LINE"
6641 else
6642 no_cache=1
6643 fi
6644
6645 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6646
6647 fi;
6648
6649 eval "$ac_cv_use_clipboard"
6650 if test "$no_cache" != 1; then
6651 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6652 fi
6653
6654 if test "$wxUSE_CLIPBOARD" = yes; then
6655 echo "$as_me:$LINENO: result: yes" >&5
6656 echo "${ECHO_T}yes" >&6
6657 else
6658 echo "$as_me:$LINENO: result: no" >&5
6659 echo "${ECHO_T}no" >&6
6660 fi
6661
6662
6663 enablestring=
6664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6665 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6666 no_cache=0
6667 # Check whether --enable-dnd or --disable-dnd was given.
6668 if test "${enable_dnd+set}" = set; then
6669 enableval="$enable_dnd"
6670
6671 if test "$enableval" = yes; then
6672 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6673 else
6674 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6675 fi
6676
6677 else
6678
6679 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6680 if test "x$LINE" != x ; then
6681 eval "DEFAULT_$LINE"
6682 else
6683 no_cache=1
6684 fi
6685
6686 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6687
6688 fi;
6689
6690 eval "$ac_cv_use_dnd"
6691 if test "$no_cache" != 1; then
6692 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6693 fi
6694
6695 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6696 echo "$as_me:$LINENO: result: yes" >&5
6697 echo "${ECHO_T}yes" >&6
6698 else
6699 echo "$as_me:$LINENO: result: no" >&5
6700 echo "${ECHO_T}no" >&6
6701 fi
6702
6703
6704 enablestring=
6705 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6706 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6707 no_cache=0
6708 # Check whether --enable-metafile or --disable-metafile was given.
6709 if test "${enable_metafile+set}" = set; then
6710 enableval="$enable_metafile"
6711
6712 if test "$enableval" = yes; then
6713 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6714 else
6715 ac_cv_use_metafile='wxUSE_METAFILE=no'
6716 fi
6717
6718 else
6719
6720 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6721 if test "x$LINE" != x ; then
6722 eval "DEFAULT_$LINE"
6723 else
6724 no_cache=1
6725 fi
6726
6727 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6728
6729 fi;
6730
6731 eval "$ac_cv_use_metafile"
6732 if test "$no_cache" != 1; then
6733 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6734 fi
6735
6736 if test "$wxUSE_METAFILE" = yes; then
6737 echo "$as_me:$LINENO: result: yes" >&5
6738 echo "${ECHO_T}yes" >&6
6739 else
6740 echo "$as_me:$LINENO: result: no" >&5
6741 echo "${ECHO_T}no" >&6
6742 fi
6743
6744
6745
6746
6747
6748 enablestring=
6749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6750 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6751 no_cache=0
6752 # Check whether --enable-controls or --disable-controls was given.
6753 if test "${enable_controls+set}" = set; then
6754 enableval="$enable_controls"
6755
6756 if test "$enableval" = yes; then
6757 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6758 else
6759 ac_cv_use_controls='wxUSE_CONTROLS=no'
6760 fi
6761
6762 else
6763
6764 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6765 if test "x$LINE" != x ; then
6766 eval "DEFAULT_$LINE"
6767 else
6768 no_cache=1
6769 fi
6770
6771 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6772
6773 fi;
6774
6775 eval "$ac_cv_use_controls"
6776 if test "$no_cache" != 1; then
6777 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6778 fi
6779
6780 if test "$wxUSE_CONTROLS" = yes; then
6781 echo "$as_me:$LINENO: result: yes" >&5
6782 echo "${ECHO_T}yes" >&6
6783 else
6784 echo "$as_me:$LINENO: result: no" >&5
6785 echo "${ECHO_T}no" >&6
6786 fi
6787
6788
6789 if test "$wxUSE_CONTROLS" = "yes"; then
6790 DEFAULT_wxUSE_ACCEL=yes
6791 DEFAULT_wxUSE_BMPBUTTON=yes
6792 DEFAULT_wxUSE_BUTTON=yes
6793 DEFAULT_wxUSE_CALCTRL=no
6794 DEFAULT_wxUSE_CARET=yes
6795 DEFAULT_wxUSE_COMBOBOX=yes
6796 DEFAULT_wxUSE_CHECKBOX=yes
6797 DEFAULT_wxUSE_CHECKLISTBOX=yes
6798 DEFAULT_wxUSE_CHOICE=yes
6799 DEFAULT_wxUSE_GAUGE=yes
6800 DEFAULT_wxUSE_GRID=yes
6801 DEFAULT_wxUSE_IMAGLIST=yes
6802 DEFAULT_wxUSE_LISTBOOK=yes
6803 DEFAULT_wxUSE_LISTBOX=yes
6804 DEFAULT_wxUSE_LISTCTRL=yes
6805 DEFAULT_wxUSE_NOTEBOOK=yes
6806 DEFAULT_wxUSE_RADIOBOX=yes
6807 DEFAULT_wxUSE_RADIOBTN=yes
6808 DEFAULT_wxUSE_SASH=yes
6809 DEFAULT_wxUSE_SCROLLBAR=yes
6810 DEFAULT_wxUSE_SLIDER=yes
6811 DEFAULT_wxUSE_SPINBTN=yes
6812 DEFAULT_wxUSE_SPINCTRL=yes
6813 DEFAULT_wxUSE_SPLITTER=yes
6814 DEFAULT_wxUSE_STATBMP=yes
6815 DEFAULT_wxUSE_STATBOX=yes
6816 DEFAULT_wxUSE_STATLINE=yes
6817 DEFAULT_wxUSE_STATUSBAR=yes
6818 DEFAULT_wxUSE_TAB_DIALOG=yes
6819 DEFAULT_wxUSE_TOGGLEBTN=yes
6820 DEFAULT_wxUSE_TOOLBAR=yes
6821 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6822 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6823 DEFAULT_wxUSE_TOOLTIPS=yes
6824 DEFAULT_wxUSE_TREECTRL=yes
6825 DEFAULT_wxUSE_POPUPWIN=yes
6826 DEFAULT_wxUSE_TIPWINDOW=yes
6827 elif test "$wxUSE_CONTROLS" = "no"; then
6828 DEFAULT_wxUSE_ACCEL=no
6829 DEFAULT_wxUSE_BMPBUTTON=no
6830 DEFAULT_wxUSE_BUTTON=no
6831 DEFAULT_wxUSE_CALCTRL=no
6832 DEFAULT_wxUSE_CARET=no
6833 DEFAULT_wxUSE_COMBOBOX=no
6834 DEFAULT_wxUSE_CHECKBOX=no
6835 DEFAULT_wxUSE_CHECKLISTBOX=no
6836 DEFAULT_wxUSE_CHOICE=no
6837 DEFAULT_wxUSE_GAUGE=no
6838 DEFAULT_wxUSE_GRID=no
6839 DEFAULT_wxUSE_IMAGLIST=no
6840 DEFAULT_wxUSE_LISTBOOK=no
6841 DEFAULT_wxUSE_LISTBOX=no
6842 DEFAULT_wxUSE_LISTCTRL=no
6843 DEFAULT_wxUSE_NOTEBOOK=no
6844 DEFAULT_wxUSE_RADIOBOX=no
6845 DEFAULT_wxUSE_RADIOBTN=no
6846 DEFAULT_wxUSE_SASH=no
6847 DEFAULT_wxUSE_SCROLLBAR=no
6848 DEFAULT_wxUSE_SLIDER=no
6849 DEFAULT_wxUSE_SPINBTN=no
6850 DEFAULT_wxUSE_SPINCTRL=no
6851 DEFAULT_wxUSE_SPLITTER=no
6852 DEFAULT_wxUSE_STATBMP=no
6853 DEFAULT_wxUSE_STATBOX=no
6854 DEFAULT_wxUSE_STATLINE=no
6855 DEFAULT_wxUSE_STATUSBAR=no
6856 DEFAULT_wxUSE_TAB_DIALOG=no
6857 DEFAULT_wxUSE_TOGGLEBTN=no
6858 DEFAULT_wxUSE_TOOLBAR=no
6859 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6860 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6861 DEFAULT_wxUSE_TOOLTIPS=no
6862 DEFAULT_wxUSE_TREECTRL=no
6863 DEFAULT_wxUSE_POPUPWIN=no
6864 DEFAULT_wxUSE_TIPWINDOW=no
6865 fi
6866
6867 ## FIXME: This is a blatant hack
6868 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6869 wxUSE_PRINTING_ARCHITECTURE=no
6870 wxUSE_DRAG_AND_DROP=no
6871 # Generic notebook requires tab dialog
6872 DEFAULT_wxUSE_TABDIALOG=yes
6873 DEFAULT_wxUSE_SCROLLBAR=no
6874 DEFAULT_wxUSE_TOOLTIPS=no
6875 DEFAULT_wxUSE_DRAGIMAGE=no
6876 fi
6877
6878
6879 enablestring=
6880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6881 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6882 no_cache=0
6883 # Check whether --enable-accel or --disable-accel was given.
6884 if test "${enable_accel+set}" = set; then
6885 enableval="$enable_accel"
6886
6887 if test "$enableval" = yes; then
6888 ac_cv_use_accel='wxUSE_ACCEL=yes'
6889 else
6890 ac_cv_use_accel='wxUSE_ACCEL=no'
6891 fi
6892
6893 else
6894
6895 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6896 if test "x$LINE" != x ; then
6897 eval "DEFAULT_$LINE"
6898 else
6899 no_cache=1
6900 fi
6901
6902 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6903
6904 fi;
6905
6906 eval "$ac_cv_use_accel"
6907 if test "$no_cache" != 1; then
6908 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6909 fi
6910
6911 if test "$wxUSE_ACCEL" = yes; then
6912 echo "$as_me:$LINENO: result: yes" >&5
6913 echo "${ECHO_T}yes" >&6
6914 else
6915 echo "$as_me:$LINENO: result: no" >&5
6916 echo "${ECHO_T}no" >&6
6917 fi
6918
6919
6920 enablestring=
6921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6922 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6923 no_cache=0
6924 # Check whether --enable-button or --disable-button was given.
6925 if test "${enable_button+set}" = set; then
6926 enableval="$enable_button"
6927
6928 if test "$enableval" = yes; then
6929 ac_cv_use_button='wxUSE_BUTTON=yes'
6930 else
6931 ac_cv_use_button='wxUSE_BUTTON=no'
6932 fi
6933
6934 else
6935
6936 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6937 if test "x$LINE" != x ; then
6938 eval "DEFAULT_$LINE"
6939 else
6940 no_cache=1
6941 fi
6942
6943 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6944
6945 fi;
6946
6947 eval "$ac_cv_use_button"
6948 if test "$no_cache" != 1; then
6949 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6950 fi
6951
6952 if test "$wxUSE_BUTTON" = yes; then
6953 echo "$as_me:$LINENO: result: yes" >&5
6954 echo "${ECHO_T}yes" >&6
6955 else
6956 echo "$as_me:$LINENO: result: no" >&5
6957 echo "${ECHO_T}no" >&6
6958 fi
6959
6960
6961 enablestring=
6962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6963 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6964 no_cache=0
6965 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6966 if test "${enable_bmpbutton+set}" = set; then
6967 enableval="$enable_bmpbutton"
6968
6969 if test "$enableval" = yes; then
6970 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6971 else
6972 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6973 fi
6974
6975 else
6976
6977 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6978 if test "x$LINE" != x ; then
6979 eval "DEFAULT_$LINE"
6980 else
6981 no_cache=1
6982 fi
6983
6984 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6985
6986 fi;
6987
6988 eval "$ac_cv_use_bmpbutton"
6989 if test "$no_cache" != 1; then
6990 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6991 fi
6992
6993 if test "$wxUSE_BMPBUTTON" = yes; then
6994 echo "$as_me:$LINENO: result: yes" >&5
6995 echo "${ECHO_T}yes" >&6
6996 else
6997 echo "$as_me:$LINENO: result: no" >&5
6998 echo "${ECHO_T}no" >&6
6999 fi
7000
7001
7002 enablestring=
7003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7004 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7005 no_cache=0
7006 # Check whether --enable-calendar or --disable-calendar was given.
7007 if test "${enable_calendar+set}" = set; then
7008 enableval="$enable_calendar"
7009
7010 if test "$enableval" = yes; then
7011 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7012 else
7013 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7014 fi
7015
7016 else
7017
7018 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7019 if test "x$LINE" != x ; then
7020 eval "DEFAULT_$LINE"
7021 else
7022 no_cache=1
7023 fi
7024
7025 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7026
7027 fi;
7028
7029 eval "$ac_cv_use_calendar"
7030 if test "$no_cache" != 1; then
7031 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7032 fi
7033
7034 if test "$wxUSE_CALCTRL" = yes; then
7035 echo "$as_me:$LINENO: result: yes" >&5
7036 echo "${ECHO_T}yes" >&6
7037 else
7038 echo "$as_me:$LINENO: result: no" >&5
7039 echo "${ECHO_T}no" >&6
7040 fi
7041
7042
7043 enablestring=
7044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7045 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7046 no_cache=0
7047 # Check whether --enable-caret or --disable-caret was given.
7048 if test "${enable_caret+set}" = set; then
7049 enableval="$enable_caret"
7050
7051 if test "$enableval" = yes; then
7052 ac_cv_use_caret='wxUSE_CARET=yes'
7053 else
7054 ac_cv_use_caret='wxUSE_CARET=no'
7055 fi
7056
7057 else
7058
7059 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7060 if test "x$LINE" != x ; then
7061 eval "DEFAULT_$LINE"
7062 else
7063 no_cache=1
7064 fi
7065
7066 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7067
7068 fi;
7069
7070 eval "$ac_cv_use_caret"
7071 if test "$no_cache" != 1; then
7072 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7073 fi
7074
7075 if test "$wxUSE_CARET" = yes; then
7076 echo "$as_me:$LINENO: result: yes" >&5
7077 echo "${ECHO_T}yes" >&6
7078 else
7079 echo "$as_me:$LINENO: result: no" >&5
7080 echo "${ECHO_T}no" >&6
7081 fi
7082
7083
7084 enablestring=
7085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7086 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7087 no_cache=0
7088 # Check whether --enable-checkbox or --disable-checkbox was given.
7089 if test "${enable_checkbox+set}" = set; then
7090 enableval="$enable_checkbox"
7091
7092 if test "$enableval" = yes; then
7093 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7094 else
7095 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7096 fi
7097
7098 else
7099
7100 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7101 if test "x$LINE" != x ; then
7102 eval "DEFAULT_$LINE"
7103 else
7104 no_cache=1
7105 fi
7106
7107 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7108
7109 fi;
7110
7111 eval "$ac_cv_use_checkbox"
7112 if test "$no_cache" != 1; then
7113 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7114 fi
7115
7116 if test "$wxUSE_CHECKBOX" = yes; then
7117 echo "$as_me:$LINENO: result: yes" >&5
7118 echo "${ECHO_T}yes" >&6
7119 else
7120 echo "$as_me:$LINENO: result: no" >&5
7121 echo "${ECHO_T}no" >&6
7122 fi
7123
7124
7125 enablestring=
7126 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7127 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7128 no_cache=0
7129 # Check whether --enable-checklst or --disable-checklst was given.
7130 if test "${enable_checklst+set}" = set; then
7131 enableval="$enable_checklst"
7132
7133 if test "$enableval" = yes; then
7134 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7135 else
7136 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7137 fi
7138
7139 else
7140
7141 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7142 if test "x$LINE" != x ; then
7143 eval "DEFAULT_$LINE"
7144 else
7145 no_cache=1
7146 fi
7147
7148 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7149
7150 fi;
7151
7152 eval "$ac_cv_use_checklst"
7153 if test "$no_cache" != 1; then
7154 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7155 fi
7156
7157 if test "$wxUSE_CHECKLST" = yes; then
7158 echo "$as_me:$LINENO: result: yes" >&5
7159 echo "${ECHO_T}yes" >&6
7160 else
7161 echo "$as_me:$LINENO: result: no" >&5
7162 echo "${ECHO_T}no" >&6
7163 fi
7164
7165
7166 enablestring=
7167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7168 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7169 no_cache=0
7170 # Check whether --enable-choice or --disable-choice was given.
7171 if test "${enable_choice+set}" = set; then
7172 enableval="$enable_choice"
7173
7174 if test "$enableval" = yes; then
7175 ac_cv_use_choice='wxUSE_CHOICE=yes'
7176 else
7177 ac_cv_use_choice='wxUSE_CHOICE=no'
7178 fi
7179
7180 else
7181
7182 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7183 if test "x$LINE" != x ; then
7184 eval "DEFAULT_$LINE"
7185 else
7186 no_cache=1
7187 fi
7188
7189 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7190
7191 fi;
7192
7193 eval "$ac_cv_use_choice"
7194 if test "$no_cache" != 1; then
7195 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7196 fi
7197
7198 if test "$wxUSE_CHOICE" = yes; then
7199 echo "$as_me:$LINENO: result: yes" >&5
7200 echo "${ECHO_T}yes" >&6
7201 else
7202 echo "$as_me:$LINENO: result: no" >&5
7203 echo "${ECHO_T}no" >&6
7204 fi
7205
7206
7207 enablestring=
7208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7209 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7210 no_cache=0
7211 # Check whether --enable-combobox or --disable-combobox was given.
7212 if test "${enable_combobox+set}" = set; then
7213 enableval="$enable_combobox"
7214
7215 if test "$enableval" = yes; then
7216 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7217 else
7218 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7219 fi
7220
7221 else
7222
7223 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7224 if test "x$LINE" != x ; then
7225 eval "DEFAULT_$LINE"
7226 else
7227 no_cache=1
7228 fi
7229
7230 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7231
7232 fi;
7233
7234 eval "$ac_cv_use_combobox"
7235 if test "$no_cache" != 1; then
7236 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7237 fi
7238
7239 if test "$wxUSE_COMBOBOX" = yes; then
7240 echo "$as_me:$LINENO: result: yes" >&5
7241 echo "${ECHO_T}yes" >&6
7242 else
7243 echo "$as_me:$LINENO: result: no" >&5
7244 echo "${ECHO_T}no" >&6
7245 fi
7246
7247
7248 enablestring=
7249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7250 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7251 no_cache=0
7252 # Check whether --enable-display or --disable-display was given.
7253 if test "${enable_display+set}" = set; then
7254 enableval="$enable_display"
7255
7256 if test "$enableval" = yes; then
7257 ac_cv_use_display='wxUSE_DISPLAY=yes'
7258 else
7259 ac_cv_use_display='wxUSE_DISPLAY=no'
7260 fi
7261
7262 else
7263
7264 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7265 if test "x$LINE" != x ; then
7266 eval "DEFAULT_$LINE"
7267 else
7268 no_cache=1
7269 fi
7270
7271 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7272
7273 fi;
7274
7275 eval "$ac_cv_use_display"
7276 if test "$no_cache" != 1; then
7277 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7278 fi
7279
7280 if test "$wxUSE_DISPLAY" = yes; then
7281 echo "$as_me:$LINENO: result: yes" >&5
7282 echo "${ECHO_T}yes" >&6
7283 else
7284 echo "$as_me:$LINENO: result: no" >&5
7285 echo "${ECHO_T}no" >&6
7286 fi
7287
7288
7289 enablestring=
7290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7291 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7292 no_cache=0
7293 # Check whether --enable-gauge or --disable-gauge was given.
7294 if test "${enable_gauge+set}" = set; then
7295 enableval="$enable_gauge"
7296
7297 if test "$enableval" = yes; then
7298 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7299 else
7300 ac_cv_use_gauge='wxUSE_GAUGE=no'
7301 fi
7302
7303 else
7304
7305 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7306 if test "x$LINE" != x ; then
7307 eval "DEFAULT_$LINE"
7308 else
7309 no_cache=1
7310 fi
7311
7312 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7313
7314 fi;
7315
7316 eval "$ac_cv_use_gauge"
7317 if test "$no_cache" != 1; then
7318 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7319 fi
7320
7321 if test "$wxUSE_GAUGE" = yes; then
7322 echo "$as_me:$LINENO: result: yes" >&5
7323 echo "${ECHO_T}yes" >&6
7324 else
7325 echo "$as_me:$LINENO: result: no" >&5
7326 echo "${ECHO_T}no" >&6
7327 fi
7328
7329
7330 enablestring=
7331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7332 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7333 no_cache=0
7334 # Check whether --enable-grid or --disable-grid was given.
7335 if test "${enable_grid+set}" = set; then
7336 enableval="$enable_grid"
7337
7338 if test "$enableval" = yes; then
7339 ac_cv_use_grid='wxUSE_GRID=yes'
7340 else
7341 ac_cv_use_grid='wxUSE_GRID=no'
7342 fi
7343
7344 else
7345
7346 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7347 if test "x$LINE" != x ; then
7348 eval "DEFAULT_$LINE"
7349 else
7350 no_cache=1
7351 fi
7352
7353 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7354
7355 fi;
7356
7357 eval "$ac_cv_use_grid"
7358 if test "$no_cache" != 1; then
7359 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7360 fi
7361
7362 if test "$wxUSE_GRID" = yes; then
7363 echo "$as_me:$LINENO: result: yes" >&5
7364 echo "${ECHO_T}yes" >&6
7365 else
7366 echo "$as_me:$LINENO: result: no" >&5
7367 echo "${ECHO_T}no" >&6
7368 fi
7369
7370
7371 enablestring=
7372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7373 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7374 no_cache=0
7375 # Check whether --enable-imaglist or --disable-imaglist was given.
7376 if test "${enable_imaglist+set}" = set; then
7377 enableval="$enable_imaglist"
7378
7379 if test "$enableval" = yes; then
7380 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7381 else
7382 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7383 fi
7384
7385 else
7386
7387 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7388 if test "x$LINE" != x ; then
7389 eval "DEFAULT_$LINE"
7390 else
7391 no_cache=1
7392 fi
7393
7394 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7395
7396 fi;
7397
7398 eval "$ac_cv_use_imaglist"
7399 if test "$no_cache" != 1; then
7400 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7401 fi
7402
7403 if test "$wxUSE_IMAGLIST" = yes; then
7404 echo "$as_me:$LINENO: result: yes" >&5
7405 echo "${ECHO_T}yes" >&6
7406 else
7407 echo "$as_me:$LINENO: result: no" >&5
7408 echo "${ECHO_T}no" >&6
7409 fi
7410
7411
7412 enablestring=
7413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7414 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7415 no_cache=0
7416 # Check whether --enable-listbook or --disable-listbook was given.
7417 if test "${enable_listbook+set}" = set; then
7418 enableval="$enable_listbook"
7419
7420 if test "$enableval" = yes; then
7421 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7422 else
7423 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7424 fi
7425
7426 else
7427
7428 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7429 if test "x$LINE" != x ; then
7430 eval "DEFAULT_$LINE"
7431 else
7432 no_cache=1
7433 fi
7434
7435 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7436
7437 fi;
7438
7439 eval "$ac_cv_use_listbook"
7440 if test "$no_cache" != 1; then
7441 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7442 fi
7443
7444 if test "$wxUSE_LISTBOOK" = yes; then
7445 echo "$as_me:$LINENO: result: yes" >&5
7446 echo "${ECHO_T}yes" >&6
7447 else
7448 echo "$as_me:$LINENO: result: no" >&5
7449 echo "${ECHO_T}no" >&6
7450 fi
7451
7452
7453 enablestring=
7454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7455 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7456 no_cache=0
7457 # Check whether --enable-listbox or --disable-listbox was given.
7458 if test "${enable_listbox+set}" = set; then
7459 enableval="$enable_listbox"
7460
7461 if test "$enableval" = yes; then
7462 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7463 else
7464 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7465 fi
7466
7467 else
7468
7469 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7470 if test "x$LINE" != x ; then
7471 eval "DEFAULT_$LINE"
7472 else
7473 no_cache=1
7474 fi
7475
7476 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7477
7478 fi;
7479
7480 eval "$ac_cv_use_listbox"
7481 if test "$no_cache" != 1; then
7482 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7483 fi
7484
7485 if test "$wxUSE_LISTBOX" = yes; then
7486 echo "$as_me:$LINENO: result: yes" >&5
7487 echo "${ECHO_T}yes" >&6
7488 else
7489 echo "$as_me:$LINENO: result: no" >&5
7490 echo "${ECHO_T}no" >&6
7491 fi
7492
7493
7494 enablestring=
7495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7496 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7497 no_cache=0
7498 # Check whether --enable-listctrl or --disable-listctrl was given.
7499 if test "${enable_listctrl+set}" = set; then
7500 enableval="$enable_listctrl"
7501
7502 if test "$enableval" = yes; then
7503 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7504 else
7505 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7506 fi
7507
7508 else
7509
7510 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7511 if test "x$LINE" != x ; then
7512 eval "DEFAULT_$LINE"
7513 else
7514 no_cache=1
7515 fi
7516
7517 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7518
7519 fi;
7520
7521 eval "$ac_cv_use_listctrl"
7522 if test "$no_cache" != 1; then
7523 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7524 fi
7525
7526 if test "$wxUSE_LISTCTRL" = yes; then
7527 echo "$as_me:$LINENO: result: yes" >&5
7528 echo "${ECHO_T}yes" >&6
7529 else
7530 echo "$as_me:$LINENO: result: no" >&5
7531 echo "${ECHO_T}no" >&6
7532 fi
7533
7534
7535 enablestring=
7536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7537 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7538 no_cache=0
7539 # Check whether --enable-notebook or --disable-notebook was given.
7540 if test "${enable_notebook+set}" = set; then
7541 enableval="$enable_notebook"
7542
7543 if test "$enableval" = yes; then
7544 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7545 else
7546 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7547 fi
7548
7549 else
7550
7551 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7552 if test "x$LINE" != x ; then
7553 eval "DEFAULT_$LINE"
7554 else
7555 no_cache=1
7556 fi
7557
7558 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7559
7560 fi;
7561
7562 eval "$ac_cv_use_notebook"
7563 if test "$no_cache" != 1; then
7564 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7565 fi
7566
7567 if test "$wxUSE_NOTEBOOK" = yes; then
7568 echo "$as_me:$LINENO: result: yes" >&5
7569 echo "${ECHO_T}yes" >&6
7570 else
7571 echo "$as_me:$LINENO: result: no" >&5
7572 echo "${ECHO_T}no" >&6
7573 fi
7574
7575
7576 enablestring=
7577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7578 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7579 no_cache=0
7580 # Check whether --enable-radiobox or --disable-radiobox was given.
7581 if test "${enable_radiobox+set}" = set; then
7582 enableval="$enable_radiobox"
7583
7584 if test "$enableval" = yes; then
7585 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7586 else
7587 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7588 fi
7589
7590 else
7591
7592 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7593 if test "x$LINE" != x ; then
7594 eval "DEFAULT_$LINE"
7595 else
7596 no_cache=1
7597 fi
7598
7599 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7600
7601 fi;
7602
7603 eval "$ac_cv_use_radiobox"
7604 if test "$no_cache" != 1; then
7605 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7606 fi
7607
7608 if test "$wxUSE_RADIOBOX" = yes; then
7609 echo "$as_me:$LINENO: result: yes" >&5
7610 echo "${ECHO_T}yes" >&6
7611 else
7612 echo "$as_me:$LINENO: result: no" >&5
7613 echo "${ECHO_T}no" >&6
7614 fi
7615
7616
7617 enablestring=
7618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7619 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7620 no_cache=0
7621 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7622 if test "${enable_radiobtn+set}" = set; then
7623 enableval="$enable_radiobtn"
7624
7625 if test "$enableval" = yes; then
7626 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7627 else
7628 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7629 fi
7630
7631 else
7632
7633 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7634 if test "x$LINE" != x ; then
7635 eval "DEFAULT_$LINE"
7636 else
7637 no_cache=1
7638 fi
7639
7640 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7641
7642 fi;
7643
7644 eval "$ac_cv_use_radiobtn"
7645 if test "$no_cache" != 1; then
7646 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7647 fi
7648
7649 if test "$wxUSE_RADIOBTN" = yes; then
7650 echo "$as_me:$LINENO: result: yes" >&5
7651 echo "${ECHO_T}yes" >&6
7652 else
7653 echo "$as_me:$LINENO: result: no" >&5
7654 echo "${ECHO_T}no" >&6
7655 fi
7656
7657
7658 enablestring=
7659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7660 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7661 no_cache=0
7662 # Check whether --enable-sash or --disable-sash was given.
7663 if test "${enable_sash+set}" = set; then
7664 enableval="$enable_sash"
7665
7666 if test "$enableval" = yes; then
7667 ac_cv_use_sash='wxUSE_SASH=yes'
7668 else
7669 ac_cv_use_sash='wxUSE_SASH=no'
7670 fi
7671
7672 else
7673
7674 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7675 if test "x$LINE" != x ; then
7676 eval "DEFAULT_$LINE"
7677 else
7678 no_cache=1
7679 fi
7680
7681 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7682
7683 fi;
7684
7685 eval "$ac_cv_use_sash"
7686 if test "$no_cache" != 1; then
7687 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7688 fi
7689
7690 if test "$wxUSE_SASH" = yes; then
7691 echo "$as_me:$LINENO: result: yes" >&5
7692 echo "${ECHO_T}yes" >&6
7693 else
7694 echo "$as_me:$LINENO: result: no" >&5
7695 echo "${ECHO_T}no" >&6
7696 fi
7697
7698
7699 enablestring=
7700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7701 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7702 no_cache=0
7703 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7704 if test "${enable_scrollbar+set}" = set; then
7705 enableval="$enable_scrollbar"
7706
7707 if test "$enableval" = yes; then
7708 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7709 else
7710 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7711 fi
7712
7713 else
7714
7715 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7716 if test "x$LINE" != x ; then
7717 eval "DEFAULT_$LINE"
7718 else
7719 no_cache=1
7720 fi
7721
7722 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7723
7724 fi;
7725
7726 eval "$ac_cv_use_scrollbar"
7727 if test "$no_cache" != 1; then
7728 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7729 fi
7730
7731 if test "$wxUSE_SCROLLBAR" = yes; then
7732 echo "$as_me:$LINENO: result: yes" >&5
7733 echo "${ECHO_T}yes" >&6
7734 else
7735 echo "$as_me:$LINENO: result: no" >&5
7736 echo "${ECHO_T}no" >&6
7737 fi
7738
7739
7740 enablestring=
7741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7742 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7743 no_cache=0
7744 # Check whether --enable-slider or --disable-slider was given.
7745 if test "${enable_slider+set}" = set; then
7746 enableval="$enable_slider"
7747
7748 if test "$enableval" = yes; then
7749 ac_cv_use_slider='wxUSE_SLIDER=yes'
7750 else
7751 ac_cv_use_slider='wxUSE_SLIDER=no'
7752 fi
7753
7754 else
7755
7756 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7757 if test "x$LINE" != x ; then
7758 eval "DEFAULT_$LINE"
7759 else
7760 no_cache=1
7761 fi
7762
7763 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7764
7765 fi;
7766
7767 eval "$ac_cv_use_slider"
7768 if test "$no_cache" != 1; then
7769 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7770 fi
7771
7772 if test "$wxUSE_SLIDER" = yes; then
7773 echo "$as_me:$LINENO: result: yes" >&5
7774 echo "${ECHO_T}yes" >&6
7775 else
7776 echo "$as_me:$LINENO: result: no" >&5
7777 echo "${ECHO_T}no" >&6
7778 fi
7779
7780
7781 enablestring=
7782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7783 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7784 no_cache=0
7785 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7786 if test "${enable_spinbtn+set}" = set; then
7787 enableval="$enable_spinbtn"
7788
7789 if test "$enableval" = yes; then
7790 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7791 else
7792 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7793 fi
7794
7795 else
7796
7797 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7798 if test "x$LINE" != x ; then
7799 eval "DEFAULT_$LINE"
7800 else
7801 no_cache=1
7802 fi
7803
7804 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7805
7806 fi;
7807
7808 eval "$ac_cv_use_spinbtn"
7809 if test "$no_cache" != 1; then
7810 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7811 fi
7812
7813 if test "$wxUSE_SPINBTN" = yes; then
7814 echo "$as_me:$LINENO: result: yes" >&5
7815 echo "${ECHO_T}yes" >&6
7816 else
7817 echo "$as_me:$LINENO: result: no" >&5
7818 echo "${ECHO_T}no" >&6
7819 fi
7820
7821
7822 enablestring=
7823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7824 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7825 no_cache=0
7826 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7827 if test "${enable_spinctrl+set}" = set; then
7828 enableval="$enable_spinctrl"
7829
7830 if test "$enableval" = yes; then
7831 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7832 else
7833 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7834 fi
7835
7836 else
7837
7838 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7839 if test "x$LINE" != x ; then
7840 eval "DEFAULT_$LINE"
7841 else
7842 no_cache=1
7843 fi
7844
7845 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7846
7847 fi;
7848
7849 eval "$ac_cv_use_spinctrl"
7850 if test "$no_cache" != 1; then
7851 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7852 fi
7853
7854 if test "$wxUSE_SPINCTRL" = yes; then
7855 echo "$as_me:$LINENO: result: yes" >&5
7856 echo "${ECHO_T}yes" >&6
7857 else
7858 echo "$as_me:$LINENO: result: no" >&5
7859 echo "${ECHO_T}no" >&6
7860 fi
7861
7862
7863 enablestring=
7864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7865 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7866 no_cache=0
7867 # Check whether --enable-splitter or --disable-splitter was given.
7868 if test "${enable_splitter+set}" = set; then
7869 enableval="$enable_splitter"
7870
7871 if test "$enableval" = yes; then
7872 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7873 else
7874 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7875 fi
7876
7877 else
7878
7879 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7880 if test "x$LINE" != x ; then
7881 eval "DEFAULT_$LINE"
7882 else
7883 no_cache=1
7884 fi
7885
7886 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7887
7888 fi;
7889
7890 eval "$ac_cv_use_splitter"
7891 if test "$no_cache" != 1; then
7892 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7893 fi
7894
7895 if test "$wxUSE_SPLITTER" = yes; then
7896 echo "$as_me:$LINENO: result: yes" >&5
7897 echo "${ECHO_T}yes" >&6
7898 else
7899 echo "$as_me:$LINENO: result: no" >&5
7900 echo "${ECHO_T}no" >&6
7901 fi
7902
7903
7904 enablestring=
7905 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7906 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7907 no_cache=0
7908 # Check whether --enable-statbmp or --disable-statbmp was given.
7909 if test "${enable_statbmp+set}" = set; then
7910 enableval="$enable_statbmp"
7911
7912 if test "$enableval" = yes; then
7913 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7914 else
7915 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7916 fi
7917
7918 else
7919
7920 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7921 if test "x$LINE" != x ; then
7922 eval "DEFAULT_$LINE"
7923 else
7924 no_cache=1
7925 fi
7926
7927 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7928
7929 fi;
7930
7931 eval "$ac_cv_use_statbmp"
7932 if test "$no_cache" != 1; then
7933 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7934 fi
7935
7936 if test "$wxUSE_STATBMP" = yes; then
7937 echo "$as_me:$LINENO: result: yes" >&5
7938 echo "${ECHO_T}yes" >&6
7939 else
7940 echo "$as_me:$LINENO: result: no" >&5
7941 echo "${ECHO_T}no" >&6
7942 fi
7943
7944
7945 enablestring=
7946 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7947 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7948 no_cache=0
7949 # Check whether --enable-statbox or --disable-statbox was given.
7950 if test "${enable_statbox+set}" = set; then
7951 enableval="$enable_statbox"
7952
7953 if test "$enableval" = yes; then
7954 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7955 else
7956 ac_cv_use_statbox='wxUSE_STATBOX=no'
7957 fi
7958
7959 else
7960
7961 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7962 if test "x$LINE" != x ; then
7963 eval "DEFAULT_$LINE"
7964 else
7965 no_cache=1
7966 fi
7967
7968 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7969
7970 fi;
7971
7972 eval "$ac_cv_use_statbox"
7973 if test "$no_cache" != 1; then
7974 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7975 fi
7976
7977 if test "$wxUSE_STATBOX" = yes; then
7978 echo "$as_me:$LINENO: result: yes" >&5
7979 echo "${ECHO_T}yes" >&6
7980 else
7981 echo "$as_me:$LINENO: result: no" >&5
7982 echo "${ECHO_T}no" >&6
7983 fi
7984
7985
7986 enablestring=
7987 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7988 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7989 no_cache=0
7990 # Check whether --enable-statline or --disable-statline was given.
7991 if test "${enable_statline+set}" = set; then
7992 enableval="$enable_statline"
7993
7994 if test "$enableval" = yes; then
7995 ac_cv_use_statline='wxUSE_STATLINE=yes'
7996 else
7997 ac_cv_use_statline='wxUSE_STATLINE=no'
7998 fi
7999
8000 else
8001
8002 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8003 if test "x$LINE" != x ; then
8004 eval "DEFAULT_$LINE"
8005 else
8006 no_cache=1
8007 fi
8008
8009 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8010
8011 fi;
8012
8013 eval "$ac_cv_use_statline"
8014 if test "$no_cache" != 1; then
8015 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8016 fi
8017
8018 if test "$wxUSE_STATLINE" = yes; then
8019 echo "$as_me:$LINENO: result: yes" >&5
8020 echo "${ECHO_T}yes" >&6
8021 else
8022 echo "$as_me:$LINENO: result: no" >&5
8023 echo "${ECHO_T}no" >&6
8024 fi
8025
8026
8027 enablestring=
8028 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8029 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8030 no_cache=0
8031 # Check whether --enable-stattext or --disable-stattext was given.
8032 if test "${enable_stattext+set}" = set; then
8033 enableval="$enable_stattext"
8034
8035 if test "$enableval" = yes; then
8036 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8037 else
8038 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8039 fi
8040
8041 else
8042
8043 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8044 if test "x$LINE" != x ; then
8045 eval "DEFAULT_$LINE"
8046 else
8047 no_cache=1
8048 fi
8049
8050 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8051
8052 fi;
8053
8054 eval "$ac_cv_use_stattext"
8055 if test "$no_cache" != 1; then
8056 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8057 fi
8058
8059 if test "$wxUSE_STATTEXT" = yes; then
8060 echo "$as_me:$LINENO: result: yes" >&5
8061 echo "${ECHO_T}yes" >&6
8062 else
8063 echo "$as_me:$LINENO: result: no" >&5
8064 echo "${ECHO_T}no" >&6
8065 fi
8066
8067
8068 enablestring=
8069 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8070 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8071 no_cache=0
8072 # Check whether --enable-statusbar or --disable-statusbar was given.
8073 if test "${enable_statusbar+set}" = set; then
8074 enableval="$enable_statusbar"
8075
8076 if test "$enableval" = yes; then
8077 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8078 else
8079 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8080 fi
8081
8082 else
8083
8084 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8085 if test "x$LINE" != x ; then
8086 eval "DEFAULT_$LINE"
8087 else
8088 no_cache=1
8089 fi
8090
8091 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8092
8093 fi;
8094
8095 eval "$ac_cv_use_statusbar"
8096 if test "$no_cache" != 1; then
8097 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8098 fi
8099
8100 if test "$wxUSE_STATUSBAR" = yes; then
8101 echo "$as_me:$LINENO: result: yes" >&5
8102 echo "${ECHO_T}yes" >&6
8103 else
8104 echo "$as_me:$LINENO: result: no" >&5
8105 echo "${ECHO_T}no" >&6
8106 fi
8107
8108
8109 enablestring=
8110 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8111 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8112 no_cache=0
8113 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8114 if test "${enable_tabdialog+set}" = set; then
8115 enableval="$enable_tabdialog"
8116
8117 if test "$enableval" = yes; then
8118 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8119 else
8120 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8121 fi
8122
8123 else
8124
8125 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8126 if test "x$LINE" != x ; then
8127 eval "DEFAULT_$LINE"
8128 else
8129 no_cache=1
8130 fi
8131
8132 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8133
8134 fi;
8135
8136 eval "$ac_cv_use_tabdialog"
8137 if test "$no_cache" != 1; then
8138 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8139 fi
8140
8141 if test "$wxUSE_TABDIALOG" = yes; then
8142 echo "$as_me:$LINENO: result: yes" >&5
8143 echo "${ECHO_T}yes" >&6
8144 else
8145 echo "$as_me:$LINENO: result: no" >&5
8146 echo "${ECHO_T}no" >&6
8147 fi
8148
8149
8150 enablestring=
8151 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8152 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8153 no_cache=0
8154 # Check whether --enable-textctrl or --disable-textctrl was given.
8155 if test "${enable_textctrl+set}" = set; then
8156 enableval="$enable_textctrl"
8157
8158 if test "$enableval" = yes; then
8159 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8160 else
8161 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8162 fi
8163
8164 else
8165
8166 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8167 if test "x$LINE" != x ; then
8168 eval "DEFAULT_$LINE"
8169 else
8170 no_cache=1
8171 fi
8172
8173 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8174
8175 fi;
8176
8177 eval "$ac_cv_use_textctrl"
8178 if test "$no_cache" != 1; then
8179 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8180 fi
8181
8182 if test "$wxUSE_TEXTCTRL" = yes; then
8183 echo "$as_me:$LINENO: result: yes" >&5
8184 echo "${ECHO_T}yes" >&6
8185 else
8186 echo "$as_me:$LINENO: result: no" >&5
8187 echo "${ECHO_T}no" >&6
8188 fi
8189
8190
8191 enablestring=
8192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8193 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8194 no_cache=0
8195 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8196 if test "${enable_togglebtn+set}" = set; then
8197 enableval="$enable_togglebtn"
8198
8199 if test "$enableval" = yes; then
8200 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8201 else
8202 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8203 fi
8204
8205 else
8206
8207 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8208 if test "x$LINE" != x ; then
8209 eval "DEFAULT_$LINE"
8210 else
8211 no_cache=1
8212 fi
8213
8214 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8215
8216 fi;
8217
8218 eval "$ac_cv_use_togglebtn"
8219 if test "$no_cache" != 1; then
8220 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8221 fi
8222
8223 if test "$wxUSE_TOGGLEBTN" = yes; then
8224 echo "$as_me:$LINENO: result: yes" >&5
8225 echo "${ECHO_T}yes" >&6
8226 else
8227 echo "$as_me:$LINENO: result: no" >&5
8228 echo "${ECHO_T}no" >&6
8229 fi
8230
8231
8232 enablestring=
8233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8234 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8235 no_cache=0
8236 # Check whether --enable-toolbar or --disable-toolbar was given.
8237 if test "${enable_toolbar+set}" = set; then
8238 enableval="$enable_toolbar"
8239
8240 if test "$enableval" = yes; then
8241 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8242 else
8243 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8244 fi
8245
8246 else
8247
8248 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8249 if test "x$LINE" != x ; then
8250 eval "DEFAULT_$LINE"
8251 else
8252 no_cache=1
8253 fi
8254
8255 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8256
8257 fi;
8258
8259 eval "$ac_cv_use_toolbar"
8260 if test "$no_cache" != 1; then
8261 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8262 fi
8263
8264 if test "$wxUSE_TOOLBAR" = yes; then
8265 echo "$as_me:$LINENO: result: yes" >&5
8266 echo "${ECHO_T}yes" >&6
8267 else
8268 echo "$as_me:$LINENO: result: no" >&5
8269 echo "${ECHO_T}no" >&6
8270 fi
8271
8272
8273 enablestring=
8274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8275 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8276 no_cache=0
8277 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8278 if test "${enable_tbarnative+set}" = set; then
8279 enableval="$enable_tbarnative"
8280
8281 if test "$enableval" = yes; then
8282 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8283 else
8284 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8285 fi
8286
8287 else
8288
8289 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8290 if test "x$LINE" != x ; then
8291 eval "DEFAULT_$LINE"
8292 else
8293 no_cache=1
8294 fi
8295
8296 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8297
8298 fi;
8299
8300 eval "$ac_cv_use_tbarnative"
8301 if test "$no_cache" != 1; then
8302 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8303 fi
8304
8305 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8306 echo "$as_me:$LINENO: result: yes" >&5
8307 echo "${ECHO_T}yes" >&6
8308 else
8309 echo "$as_me:$LINENO: result: no" >&5
8310 echo "${ECHO_T}no" >&6
8311 fi
8312
8313
8314 enablestring=
8315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8316 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8317 no_cache=0
8318 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8319 if test "${enable_tbarsmpl+set}" = set; then
8320 enableval="$enable_tbarsmpl"
8321
8322 if test "$enableval" = yes; then
8323 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8324 else
8325 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8326 fi
8327
8328 else
8329
8330 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8331 if test "x$LINE" != x ; then
8332 eval "DEFAULT_$LINE"
8333 else
8334 no_cache=1
8335 fi
8336
8337 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8338
8339 fi;
8340
8341 eval "$ac_cv_use_tbarsmpl"
8342 if test "$no_cache" != 1; then
8343 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8344 fi
8345
8346 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8347 echo "$as_me:$LINENO: result: yes" >&5
8348 echo "${ECHO_T}yes" >&6
8349 else
8350 echo "$as_me:$LINENO: result: no" >&5
8351 echo "${ECHO_T}no" >&6
8352 fi
8353
8354
8355 enablestring=
8356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8357 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8358 no_cache=0
8359 # Check whether --enable-treectrl or --disable-treectrl was given.
8360 if test "${enable_treectrl+set}" = set; then
8361 enableval="$enable_treectrl"
8362
8363 if test "$enableval" = yes; then
8364 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8365 else
8366 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8367 fi
8368
8369 else
8370
8371 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8372 if test "x$LINE" != x ; then
8373 eval "DEFAULT_$LINE"
8374 else
8375 no_cache=1
8376 fi
8377
8378 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8379
8380 fi;
8381
8382 eval "$ac_cv_use_treectrl"
8383 if test "$no_cache" != 1; then
8384 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8385 fi
8386
8387 if test "$wxUSE_TREECTRL" = yes; then
8388 echo "$as_me:$LINENO: result: yes" >&5
8389 echo "${ECHO_T}yes" >&6
8390 else
8391 echo "$as_me:$LINENO: result: no" >&5
8392 echo "${ECHO_T}no" >&6
8393 fi
8394
8395
8396 enablestring=
8397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8398 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8399 no_cache=0
8400 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8401 if test "${enable_tipwindow+set}" = set; then
8402 enableval="$enable_tipwindow"
8403
8404 if test "$enableval" = yes; then
8405 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8406 else
8407 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8408 fi
8409
8410 else
8411
8412 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8413 if test "x$LINE" != x ; then
8414 eval "DEFAULT_$LINE"
8415 else
8416 no_cache=1
8417 fi
8418
8419 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8420
8421 fi;
8422
8423 eval "$ac_cv_use_tipwindow"
8424 if test "$no_cache" != 1; then
8425 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8426 fi
8427
8428 if test "$wxUSE_TIPWINDOW" = yes; then
8429 echo "$as_me:$LINENO: result: yes" >&5
8430 echo "${ECHO_T}yes" >&6
8431 else
8432 echo "$as_me:$LINENO: result: no" >&5
8433 echo "${ECHO_T}no" >&6
8434 fi
8435
8436
8437 enablestring=
8438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8439 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8440 no_cache=0
8441 # Check whether --enable-popupwin or --disable-popupwin was given.
8442 if test "${enable_popupwin+set}" = set; then
8443 enableval="$enable_popupwin"
8444
8445 if test "$enableval" = yes; then
8446 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8447 else
8448 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8449 fi
8450
8451 else
8452
8453 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8454 if test "x$LINE" != x ; then
8455 eval "DEFAULT_$LINE"
8456 else
8457 no_cache=1
8458 fi
8459
8460 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8461
8462 fi;
8463
8464 eval "$ac_cv_use_popupwin"
8465 if test "$no_cache" != 1; then
8466 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8467 fi
8468
8469 if test "$wxUSE_POPUPWIN" = yes; then
8470 echo "$as_me:$LINENO: result: yes" >&5
8471 echo "${ECHO_T}yes" >&6
8472 else
8473 echo "$as_me:$LINENO: result: no" >&5
8474 echo "${ECHO_T}no" >&6
8475 fi
8476
8477
8478
8479
8480 enablestring=
8481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8482 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8483 no_cache=0
8484 # Check whether --enable-commondlg or --disable-commondlg was given.
8485 if test "${enable_commondlg+set}" = set; then
8486 enableval="$enable_commondlg"
8487
8488 if test "$enableval" = yes; then
8489 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8490 else
8491 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8492 fi
8493
8494 else
8495
8496 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8497 if test "x$LINE" != x ; then
8498 eval "DEFAULT_$LINE"
8499 else
8500 no_cache=1
8501 fi
8502
8503 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8504
8505 fi;
8506
8507 eval "$ac_cv_use_commondlg"
8508 if test "$no_cache" != 1; then
8509 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8510 fi
8511
8512 if test "$wxUSE_COMMONDLGS" = yes; then
8513 echo "$as_me:$LINENO: result: yes" >&5
8514 echo "${ECHO_T}yes" >&6
8515 else
8516 echo "$as_me:$LINENO: result: no" >&5
8517 echo "${ECHO_T}no" >&6
8518 fi
8519
8520
8521 enablestring=
8522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8523 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8524 no_cache=0
8525 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8526 if test "${enable_choicedlg+set}" = set; then
8527 enableval="$enable_choicedlg"
8528
8529 if test "$enableval" = yes; then
8530 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8531 else
8532 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8533 fi
8534
8535 else
8536
8537 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8538 if test "x$LINE" != x ; then
8539 eval "DEFAULT_$LINE"
8540 else
8541 no_cache=1
8542 fi
8543
8544 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8545
8546 fi;
8547
8548 eval "$ac_cv_use_choicedlg"
8549 if test "$no_cache" != 1; then
8550 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8551 fi
8552
8553 if test "$wxUSE_CHOICEDLG" = yes; then
8554 echo "$as_me:$LINENO: result: yes" >&5
8555 echo "${ECHO_T}yes" >&6
8556 else
8557 echo "$as_me:$LINENO: result: no" >&5
8558 echo "${ECHO_T}no" >&6
8559 fi
8560
8561
8562 enablestring=
8563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8564 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8565 no_cache=0
8566 # Check whether --enable-coldlg or --disable-coldlg was given.
8567 if test "${enable_coldlg+set}" = set; then
8568 enableval="$enable_coldlg"
8569
8570 if test "$enableval" = yes; then
8571 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8572 else
8573 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8574 fi
8575
8576 else
8577
8578 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8579 if test "x$LINE" != x ; then
8580 eval "DEFAULT_$LINE"
8581 else
8582 no_cache=1
8583 fi
8584
8585 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8586
8587 fi;
8588
8589 eval "$ac_cv_use_coldlg"
8590 if test "$no_cache" != 1; then
8591 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8592 fi
8593
8594 if test "$wxUSE_COLOURDLG" = yes; then
8595 echo "$as_me:$LINENO: result: yes" >&5
8596 echo "${ECHO_T}yes" >&6
8597 else
8598 echo "$as_me:$LINENO: result: no" >&5
8599 echo "${ECHO_T}no" >&6
8600 fi
8601
8602
8603 enablestring=
8604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8605 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8606 no_cache=0
8607 # Check whether --enable-filedlg or --disable-filedlg was given.
8608 if test "${enable_filedlg+set}" = set; then
8609 enableval="$enable_filedlg"
8610
8611 if test "$enableval" = yes; then
8612 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8613 else
8614 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8615 fi
8616
8617 else
8618
8619 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8620 if test "x$LINE" != x ; then
8621 eval "DEFAULT_$LINE"
8622 else
8623 no_cache=1
8624 fi
8625
8626 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8627
8628 fi;
8629
8630 eval "$ac_cv_use_filedlg"
8631 if test "$no_cache" != 1; then
8632 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8633 fi
8634
8635 if test "$wxUSE_FILEDLG" = yes; then
8636 echo "$as_me:$LINENO: result: yes" >&5
8637 echo "${ECHO_T}yes" >&6
8638 else
8639 echo "$as_me:$LINENO: result: no" >&5
8640 echo "${ECHO_T}no" >&6
8641 fi
8642
8643
8644 enablestring=
8645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8646 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8647 no_cache=0
8648 # Check whether --enable-finddlg or --disable-finddlg was given.
8649 if test "${enable_finddlg+set}" = set; then
8650 enableval="$enable_finddlg"
8651
8652 if test "$enableval" = yes; then
8653 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8654 else
8655 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8656 fi
8657
8658 else
8659
8660 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8661 if test "x$LINE" != x ; then
8662 eval "DEFAULT_$LINE"
8663 else
8664 no_cache=1
8665 fi
8666
8667 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8668
8669 fi;
8670
8671 eval "$ac_cv_use_finddlg"
8672 if test "$no_cache" != 1; then
8673 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8674 fi
8675
8676 if test "$wxUSE_FINDREPLDLG" = yes; then
8677 echo "$as_me:$LINENO: result: yes" >&5
8678 echo "${ECHO_T}yes" >&6
8679 else
8680 echo "$as_me:$LINENO: result: no" >&5
8681 echo "${ECHO_T}no" >&6
8682 fi
8683
8684
8685 enablestring=
8686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8687 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8688 no_cache=0
8689 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8690 if test "${enable_fontdlg+set}" = set; then
8691 enableval="$enable_fontdlg"
8692
8693 if test "$enableval" = yes; then
8694 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8695 else
8696 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8697 fi
8698
8699 else
8700
8701 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8702 if test "x$LINE" != x ; then
8703 eval "DEFAULT_$LINE"
8704 else
8705 no_cache=1
8706 fi
8707
8708 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8709
8710 fi;
8711
8712 eval "$ac_cv_use_fontdlg"
8713 if test "$no_cache" != 1; then
8714 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8715 fi
8716
8717 if test "$wxUSE_FONTDLG" = yes; then
8718 echo "$as_me:$LINENO: result: yes" >&5
8719 echo "${ECHO_T}yes" >&6
8720 else
8721 echo "$as_me:$LINENO: result: no" >&5
8722 echo "${ECHO_T}no" >&6
8723 fi
8724
8725
8726 enablestring=
8727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8728 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8729 no_cache=0
8730 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8731 if test "${enable_dirdlg+set}" = set; then
8732 enableval="$enable_dirdlg"
8733
8734 if test "$enableval" = yes; then
8735 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8736 else
8737 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8738 fi
8739
8740 else
8741
8742 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8743 if test "x$LINE" != x ; then
8744 eval "DEFAULT_$LINE"
8745 else
8746 no_cache=1
8747 fi
8748
8749 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8750
8751 fi;
8752
8753 eval "$ac_cv_use_dirdlg"
8754 if test "$no_cache" != 1; then
8755 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8756 fi
8757
8758 if test "$wxUSE_DIRDLG" = yes; then
8759 echo "$as_me:$LINENO: result: yes" >&5
8760 echo "${ECHO_T}yes" >&6
8761 else
8762 echo "$as_me:$LINENO: result: no" >&5
8763 echo "${ECHO_T}no" >&6
8764 fi
8765
8766
8767 enablestring=
8768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8769 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8770 no_cache=0
8771 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8772 if test "${enable_msgdlg+set}" = set; then
8773 enableval="$enable_msgdlg"
8774
8775 if test "$enableval" = yes; then
8776 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8777 else
8778 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8779 fi
8780
8781 else
8782
8783 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8784 if test "x$LINE" != x ; then
8785 eval "DEFAULT_$LINE"
8786 else
8787 no_cache=1
8788 fi
8789
8790 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8791
8792 fi;
8793
8794 eval "$ac_cv_use_msgdlg"
8795 if test "$no_cache" != 1; then
8796 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8797 fi
8798
8799 if test "$wxUSE_MSGDLG" = yes; then
8800 echo "$as_me:$LINENO: result: yes" >&5
8801 echo "${ECHO_T}yes" >&6
8802 else
8803 echo "$as_me:$LINENO: result: no" >&5
8804 echo "${ECHO_T}no" >&6
8805 fi
8806
8807
8808 enablestring=
8809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8810 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8811 no_cache=0
8812 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8813 if test "${enable_numberdlg+set}" = set; then
8814 enableval="$enable_numberdlg"
8815
8816 if test "$enableval" = yes; then
8817 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8818 else
8819 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8820 fi
8821
8822 else
8823
8824 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8825 if test "x$LINE" != x ; then
8826 eval "DEFAULT_$LINE"
8827 else
8828 no_cache=1
8829 fi
8830
8831 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8832
8833 fi;
8834
8835 eval "$ac_cv_use_numberdlg"
8836 if test "$no_cache" != 1; then
8837 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8838 fi
8839
8840 if test "$wxUSE_NUMBERDLG" = yes; then
8841 echo "$as_me:$LINENO: result: yes" >&5
8842 echo "${ECHO_T}yes" >&6
8843 else
8844 echo "$as_me:$LINENO: result: no" >&5
8845 echo "${ECHO_T}no" >&6
8846 fi
8847
8848
8849 enablestring=
8850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8851 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8852 no_cache=0
8853 # Check whether --enable-splash or --disable-splash was given.
8854 if test "${enable_splash+set}" = set; then
8855 enableval="$enable_splash"
8856
8857 if test "$enableval" = yes; then
8858 ac_cv_use_splash='wxUSE_SPLASH=yes'
8859 else
8860 ac_cv_use_splash='wxUSE_SPLASH=no'
8861 fi
8862
8863 else
8864
8865 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8866 if test "x$LINE" != x ; then
8867 eval "DEFAULT_$LINE"
8868 else
8869 no_cache=1
8870 fi
8871
8872 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8873
8874 fi;
8875
8876 eval "$ac_cv_use_splash"
8877 if test "$no_cache" != 1; then
8878 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8879 fi
8880
8881 if test "$wxUSE_SPLASH" = yes; then
8882 echo "$as_me:$LINENO: result: yes" >&5
8883 echo "${ECHO_T}yes" >&6
8884 else
8885 echo "$as_me:$LINENO: result: no" >&5
8886 echo "${ECHO_T}no" >&6
8887 fi
8888
8889
8890 enablestring=
8891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8892 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8893 no_cache=0
8894 # Check whether --enable-textdlg or --disable-textdlg was given.
8895 if test "${enable_textdlg+set}" = set; then
8896 enableval="$enable_textdlg"
8897
8898 if test "$enableval" = yes; then
8899 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8900 else
8901 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8902 fi
8903
8904 else
8905
8906 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8907 if test "x$LINE" != x ; then
8908 eval "DEFAULT_$LINE"
8909 else
8910 no_cache=1
8911 fi
8912
8913 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8914
8915 fi;
8916
8917 eval "$ac_cv_use_textdlg"
8918 if test "$no_cache" != 1; then
8919 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8920 fi
8921
8922 if test "$wxUSE_TEXTDLG" = yes; then
8923 echo "$as_me:$LINENO: result: yes" >&5
8924 echo "${ECHO_T}yes" >&6
8925 else
8926 echo "$as_me:$LINENO: result: no" >&5
8927 echo "${ECHO_T}no" >&6
8928 fi
8929
8930
8931 enablestring=
8932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8933 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8934 no_cache=0
8935 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8936 if test "${enable_tipdlg+set}" = set; then
8937 enableval="$enable_tipdlg"
8938
8939 if test "$enableval" = yes; then
8940 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8941 else
8942 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8943 fi
8944
8945 else
8946
8947 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8948 if test "x$LINE" != x ; then
8949 eval "DEFAULT_$LINE"
8950 else
8951 no_cache=1
8952 fi
8953
8954 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8955
8956 fi;
8957
8958 eval "$ac_cv_use_tipdlg"
8959 if test "$no_cache" != 1; then
8960 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8961 fi
8962
8963 if test "$wxUSE_STARTUP_TIPS" = yes; then
8964 echo "$as_me:$LINENO: result: yes" >&5
8965 echo "${ECHO_T}yes" >&6
8966 else
8967 echo "$as_me:$LINENO: result: no" >&5
8968 echo "${ECHO_T}no" >&6
8969 fi
8970
8971
8972 enablestring=
8973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8974 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8975 no_cache=0
8976 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8977 if test "${enable_progressdlg+set}" = set; then
8978 enableval="$enable_progressdlg"
8979
8980 if test "$enableval" = yes; then
8981 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8982 else
8983 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8984 fi
8985
8986 else
8987
8988 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8989 if test "x$LINE" != x ; then
8990 eval "DEFAULT_$LINE"
8991 else
8992 no_cache=1
8993 fi
8994
8995 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8996
8997 fi;
8998
8999 eval "$ac_cv_use_progressdlg"
9000 if test "$no_cache" != 1; then
9001 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9002 fi
9003
9004 if test "$wxUSE_PROGRESSDLG" = yes; then
9005 echo "$as_me:$LINENO: result: yes" >&5
9006 echo "${ECHO_T}yes" >&6
9007 else
9008 echo "$as_me:$LINENO: result: no" >&5
9009 echo "${ECHO_T}no" >&6
9010 fi
9011
9012
9013 enablestring=
9014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9015 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9016 no_cache=0
9017 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9018 if test "${enable_wizarddlg+set}" = set; then
9019 enableval="$enable_wizarddlg"
9020
9021 if test "$enableval" = yes; then
9022 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9023 else
9024 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9025 fi
9026
9027 else
9028
9029 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9030 if test "x$LINE" != x ; then
9031 eval "DEFAULT_$LINE"
9032 else
9033 no_cache=1
9034 fi
9035
9036 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9037
9038 fi;
9039
9040 eval "$ac_cv_use_wizarddlg"
9041 if test "$no_cache" != 1; then
9042 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9043 fi
9044
9045 if test "$wxUSE_WIZARDDLG" = yes; then
9046 echo "$as_me:$LINENO: result: yes" >&5
9047 echo "${ECHO_T}yes" >&6
9048 else
9049 echo "$as_me:$LINENO: result: no" >&5
9050 echo "${ECHO_T}no" >&6
9051 fi
9052
9053
9054
9055
9056 enablestring=
9057 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9058 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9059 no_cache=0
9060 # Check whether --enable-menus or --disable-menus was given.
9061 if test "${enable_menus+set}" = set; then
9062 enableval="$enable_menus"
9063
9064 if test "$enableval" = yes; then
9065 ac_cv_use_menus='wxUSE_MENUS=yes'
9066 else
9067 ac_cv_use_menus='wxUSE_MENUS=no'
9068 fi
9069
9070 else
9071
9072 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9073 if test "x$LINE" != x ; then
9074 eval "DEFAULT_$LINE"
9075 else
9076 no_cache=1
9077 fi
9078
9079 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9080
9081 fi;
9082
9083 eval "$ac_cv_use_menus"
9084 if test "$no_cache" != 1; then
9085 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9086 fi
9087
9088 if test "$wxUSE_MENUS" = yes; then
9089 echo "$as_me:$LINENO: result: yes" >&5
9090 echo "${ECHO_T}yes" >&6
9091 else
9092 echo "$as_me:$LINENO: result: no" >&5
9093 echo "${ECHO_T}no" >&6
9094 fi
9095
9096
9097 enablestring=
9098 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9099 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9100 no_cache=0
9101 # Check whether --enable-miniframe or --disable-miniframe was given.
9102 if test "${enable_miniframe+set}" = set; then
9103 enableval="$enable_miniframe"
9104
9105 if test "$enableval" = yes; then
9106 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9107 else
9108 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9109 fi
9110
9111 else
9112
9113 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9114 if test "x$LINE" != x ; then
9115 eval "DEFAULT_$LINE"
9116 else
9117 no_cache=1
9118 fi
9119
9120 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9121
9122 fi;
9123
9124 eval "$ac_cv_use_miniframe"
9125 if test "$no_cache" != 1; then
9126 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9127 fi
9128
9129 if test "$wxUSE_MINIFRAME" = yes; then
9130 echo "$as_me:$LINENO: result: yes" >&5
9131 echo "${ECHO_T}yes" >&6
9132 else
9133 echo "$as_me:$LINENO: result: no" >&5
9134 echo "${ECHO_T}no" >&6
9135 fi
9136
9137
9138 enablestring=
9139 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9140 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9141 no_cache=0
9142 # Check whether --enable-tooltips or --disable-tooltips was given.
9143 if test "${enable_tooltips+set}" = set; then
9144 enableval="$enable_tooltips"
9145
9146 if test "$enableval" = yes; then
9147 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9148 else
9149 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9150 fi
9151
9152 else
9153
9154 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9155 if test "x$LINE" != x ; then
9156 eval "DEFAULT_$LINE"
9157 else
9158 no_cache=1
9159 fi
9160
9161 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9162
9163 fi;
9164
9165 eval "$ac_cv_use_tooltips"
9166 if test "$no_cache" != 1; then
9167 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9168 fi
9169
9170 if test "$wxUSE_TOOLTIPS" = yes; then
9171 echo "$as_me:$LINENO: result: yes" >&5
9172 echo "${ECHO_T}yes" >&6
9173 else
9174 echo "$as_me:$LINENO: result: no" >&5
9175 echo "${ECHO_T}no" >&6
9176 fi
9177
9178
9179 enablestring=
9180 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9181 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9182 no_cache=0
9183 # Check whether --enable-splines or --disable-splines was given.
9184 if test "${enable_splines+set}" = set; then
9185 enableval="$enable_splines"
9186
9187 if test "$enableval" = yes; then
9188 ac_cv_use_splines='wxUSE_SPLINES=yes'
9189 else
9190 ac_cv_use_splines='wxUSE_SPLINES=no'
9191 fi
9192
9193 else
9194
9195 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9196 if test "x$LINE" != x ; then
9197 eval "DEFAULT_$LINE"
9198 else
9199 no_cache=1
9200 fi
9201
9202 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9203
9204 fi;
9205
9206 eval "$ac_cv_use_splines"
9207 if test "$no_cache" != 1; then
9208 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9209 fi
9210
9211 if test "$wxUSE_SPLINES" = yes; then
9212 echo "$as_me:$LINENO: result: yes" >&5
9213 echo "${ECHO_T}yes" >&6
9214 else
9215 echo "$as_me:$LINENO: result: no" >&5
9216 echo "${ECHO_T}no" >&6
9217 fi
9218
9219
9220 enablestring=
9221 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9222 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9223 no_cache=0
9224 # Check whether --enable-validators or --disable-validators was given.
9225 if test "${enable_validators+set}" = set; then
9226 enableval="$enable_validators"
9227
9228 if test "$enableval" = yes; then
9229 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9230 else
9231 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9232 fi
9233
9234 else
9235
9236 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9237 if test "x$LINE" != x ; then
9238 eval "DEFAULT_$LINE"
9239 else
9240 no_cache=1
9241 fi
9242
9243 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9244
9245 fi;
9246
9247 eval "$ac_cv_use_validators"
9248 if test "$no_cache" != 1; then
9249 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9250 fi
9251
9252 if test "$wxUSE_VALIDATORS" = yes; then
9253 echo "$as_me:$LINENO: result: yes" >&5
9254 echo "${ECHO_T}yes" >&6
9255 else
9256 echo "$as_me:$LINENO: result: no" >&5
9257 echo "${ECHO_T}no" >&6
9258 fi
9259
9260
9261 enablestring=
9262 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9263 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9264 no_cache=0
9265 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9266 if test "${enable_busyinfo+set}" = set; then
9267 enableval="$enable_busyinfo"
9268
9269 if test "$enableval" = yes; then
9270 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9271 else
9272 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9273 fi
9274
9275 else
9276
9277 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9278 if test "x$LINE" != x ; then
9279 eval "DEFAULT_$LINE"
9280 else
9281 no_cache=1
9282 fi
9283
9284 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9285
9286 fi;
9287
9288 eval "$ac_cv_use_busyinfo"
9289 if test "$no_cache" != 1; then
9290 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9291 fi
9292
9293 if test "$wxUSE_BUSYINFO" = yes; then
9294 echo "$as_me:$LINENO: result: yes" >&5
9295 echo "${ECHO_T}yes" >&6
9296 else
9297 echo "$as_me:$LINENO: result: no" >&5
9298 echo "${ECHO_T}no" >&6
9299 fi
9300
9301
9302 enablestring=
9303 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9304 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9305 no_cache=0
9306 # Check whether --enable-joystick or --disable-joystick was given.
9307 if test "${enable_joystick+set}" = set; then
9308 enableval="$enable_joystick"
9309
9310 if test "$enableval" = yes; then
9311 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9312 else
9313 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9314 fi
9315
9316 else
9317
9318 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9319 if test "x$LINE" != x ; then
9320 eval "DEFAULT_$LINE"
9321 else
9322 no_cache=1
9323 fi
9324
9325 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9326
9327 fi;
9328
9329 eval "$ac_cv_use_joystick"
9330 if test "$no_cache" != 1; then
9331 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9332 fi
9333
9334 if test "$wxUSE_JOYSTICK" = yes; then
9335 echo "$as_me:$LINENO: result: yes" >&5
9336 echo "${ECHO_T}yes" >&6
9337 else
9338 echo "$as_me:$LINENO: result: no" >&5
9339 echo "${ECHO_T}no" >&6
9340 fi
9341
9342
9343 enablestring=
9344 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9345 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9346 no_cache=0
9347 # Check whether --enable-metafile or --disable-metafile was given.
9348 if test "${enable_metafile+set}" = set; then
9349 enableval="$enable_metafile"
9350
9351 if test "$enableval" = yes; then
9352 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9353 else
9354 ac_cv_use_metafile='wxUSE_METAFILE=no'
9355 fi
9356
9357 else
9358
9359 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9360 if test "x$LINE" != x ; then
9361 eval "DEFAULT_$LINE"
9362 else
9363 no_cache=1
9364 fi
9365
9366 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9367
9368 fi;
9369
9370 eval "$ac_cv_use_metafile"
9371 if test "$no_cache" != 1; then
9372 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9373 fi
9374
9375 if test "$wxUSE_METAFILE" = yes; then
9376 echo "$as_me:$LINENO: result: yes" >&5
9377 echo "${ECHO_T}yes" >&6
9378 else
9379 echo "$as_me:$LINENO: result: no" >&5
9380 echo "${ECHO_T}no" >&6
9381 fi
9382
9383
9384 enablestring=
9385 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9386 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9387 no_cache=0
9388 # Check whether --enable-dragimage or --disable-dragimage was given.
9389 if test "${enable_dragimage+set}" = set; then
9390 enableval="$enable_dragimage"
9391
9392 if test "$enableval" = yes; then
9393 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9394 else
9395 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9396 fi
9397
9398 else
9399
9400 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9401 if test "x$LINE" != x ; then
9402 eval "DEFAULT_$LINE"
9403 else
9404 no_cache=1
9405 fi
9406
9407 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9408
9409 fi;
9410
9411 eval "$ac_cv_use_dragimage"
9412 if test "$no_cache" != 1; then
9413 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9414 fi
9415
9416 if test "$wxUSE_DRAGIMAGE" = yes; then
9417 echo "$as_me:$LINENO: result: yes" >&5
9418 echo "${ECHO_T}yes" >&6
9419 else
9420 echo "$as_me:$LINENO: result: no" >&5
9421 echo "${ECHO_T}no" >&6
9422 fi
9423
9424
9425 enablestring=
9426 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9427 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9428 no_cache=0
9429 # Check whether --enable-accessibility or --disable-accessibility was given.
9430 if test "${enable_accessibility+set}" = set; then
9431 enableval="$enable_accessibility"
9432
9433 if test "$enableval" = yes; then
9434 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9435 else
9436 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9437 fi
9438
9439 else
9440
9441 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9442 if test "x$LINE" != x ; then
9443 eval "DEFAULT_$LINE"
9444 else
9445 no_cache=1
9446 fi
9447
9448 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9449
9450 fi;
9451
9452 eval "$ac_cv_use_accessibility"
9453 if test "$no_cache" != 1; then
9454 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9455 fi
9456
9457 if test "$wxUSE_ACCESSIBILITY" = yes; then
9458 echo "$as_me:$LINENO: result: yes" >&5
9459 echo "${ECHO_T}yes" >&6
9460 else
9461 echo "$as_me:$LINENO: result: no" >&5
9462 echo "${ECHO_T}no" >&6
9463 fi
9464
9465
9466
9467
9468 enablestring=
9469 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9470 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9471 no_cache=0
9472 # Check whether --enable-palette or --disable-palette was given.
9473 if test "${enable_palette+set}" = set; then
9474 enableval="$enable_palette"
9475
9476 if test "$enableval" = yes; then
9477 ac_cv_use_palette='wxUSE_PALETTE=yes'
9478 else
9479 ac_cv_use_palette='wxUSE_PALETTE=no'
9480 fi
9481
9482 else
9483
9484 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9485 if test "x$LINE" != x ; then
9486 eval "DEFAULT_$LINE"
9487 else
9488 no_cache=1
9489 fi
9490
9491 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9492
9493 fi;
9494
9495 eval "$ac_cv_use_palette"
9496 if test "$no_cache" != 1; then
9497 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9498 fi
9499
9500 if test "$wxUSE_PALETTE" = yes; then
9501 echo "$as_me:$LINENO: result: yes" >&5
9502 echo "${ECHO_T}yes" >&6
9503 else
9504 echo "$as_me:$LINENO: result: no" >&5
9505 echo "${ECHO_T}no" >&6
9506 fi
9507
9508
9509 enablestring=
9510 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9511 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9512 no_cache=0
9513 # Check whether --enable-image or --disable-image was given.
9514 if test "${enable_image+set}" = set; then
9515 enableval="$enable_image"
9516
9517 if test "$enableval" = yes; then
9518 ac_cv_use_image='wxUSE_IMAGE=yes'
9519 else
9520 ac_cv_use_image='wxUSE_IMAGE=no'
9521 fi
9522
9523 else
9524
9525 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9526 if test "x$LINE" != x ; then
9527 eval "DEFAULT_$LINE"
9528 else
9529 no_cache=1
9530 fi
9531
9532 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9533
9534 fi;
9535
9536 eval "$ac_cv_use_image"
9537 if test "$no_cache" != 1; then
9538 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9539 fi
9540
9541 if test "$wxUSE_IMAGE" = yes; then
9542 echo "$as_me:$LINENO: result: yes" >&5
9543 echo "${ECHO_T}yes" >&6
9544 else
9545 echo "$as_me:$LINENO: result: no" >&5
9546 echo "${ECHO_T}no" >&6
9547 fi
9548
9549
9550 enablestring=
9551 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9552 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9553 no_cache=0
9554 # Check whether --enable-gif or --disable-gif was given.
9555 if test "${enable_gif+set}" = set; then
9556 enableval="$enable_gif"
9557
9558 if test "$enableval" = yes; then
9559 ac_cv_use_gif='wxUSE_GIF=yes'
9560 else
9561 ac_cv_use_gif='wxUSE_GIF=no'
9562 fi
9563
9564 else
9565
9566 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9567 if test "x$LINE" != x ; then
9568 eval "DEFAULT_$LINE"
9569 else
9570 no_cache=1
9571 fi
9572
9573 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9574
9575 fi;
9576
9577 eval "$ac_cv_use_gif"
9578 if test "$no_cache" != 1; then
9579 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9580 fi
9581
9582 if test "$wxUSE_GIF" = yes; then
9583 echo "$as_me:$LINENO: result: yes" >&5
9584 echo "${ECHO_T}yes" >&6
9585 else
9586 echo "$as_me:$LINENO: result: no" >&5
9587 echo "${ECHO_T}no" >&6
9588 fi
9589
9590
9591 enablestring=
9592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9593 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9594 no_cache=0
9595 # Check whether --enable-pcx or --disable-pcx was given.
9596 if test "${enable_pcx+set}" = set; then
9597 enableval="$enable_pcx"
9598
9599 if test "$enableval" = yes; then
9600 ac_cv_use_pcx='wxUSE_PCX=yes'
9601 else
9602 ac_cv_use_pcx='wxUSE_PCX=no'
9603 fi
9604
9605 else
9606
9607 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9608 if test "x$LINE" != x ; then
9609 eval "DEFAULT_$LINE"
9610 else
9611 no_cache=1
9612 fi
9613
9614 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9615
9616 fi;
9617
9618 eval "$ac_cv_use_pcx"
9619 if test "$no_cache" != 1; then
9620 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9621 fi
9622
9623 if test "$wxUSE_PCX" = yes; then
9624 echo "$as_me:$LINENO: result: yes" >&5
9625 echo "${ECHO_T}yes" >&6
9626 else
9627 echo "$as_me:$LINENO: result: no" >&5
9628 echo "${ECHO_T}no" >&6
9629 fi
9630
9631
9632 enablestring=
9633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9634 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9635 no_cache=0
9636 # Check whether --enable-iff or --disable-iff was given.
9637 if test "${enable_iff+set}" = set; then
9638 enableval="$enable_iff"
9639
9640 if test "$enableval" = yes; then
9641 ac_cv_use_iff='wxUSE_IFF=yes'
9642 else
9643 ac_cv_use_iff='wxUSE_IFF=no'
9644 fi
9645
9646 else
9647
9648 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9649 if test "x$LINE" != x ; then
9650 eval "DEFAULT_$LINE"
9651 else
9652 no_cache=1
9653 fi
9654
9655 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9656
9657 fi;
9658
9659 eval "$ac_cv_use_iff"
9660 if test "$no_cache" != 1; then
9661 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9662 fi
9663
9664 if test "$wxUSE_IFF" = yes; then
9665 echo "$as_me:$LINENO: result: yes" >&5
9666 echo "${ECHO_T}yes" >&6
9667 else
9668 echo "$as_me:$LINENO: result: no" >&5
9669 echo "${ECHO_T}no" >&6
9670 fi
9671
9672
9673 enablestring=
9674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9675 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9676 no_cache=0
9677 # Check whether --enable-pnm or --disable-pnm was given.
9678 if test "${enable_pnm+set}" = set; then
9679 enableval="$enable_pnm"
9680
9681 if test "$enableval" = yes; then
9682 ac_cv_use_pnm='wxUSE_PNM=yes'
9683 else
9684 ac_cv_use_pnm='wxUSE_PNM=no'
9685 fi
9686
9687 else
9688
9689 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9690 if test "x$LINE" != x ; then
9691 eval "DEFAULT_$LINE"
9692 else
9693 no_cache=1
9694 fi
9695
9696 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9697
9698 fi;
9699
9700 eval "$ac_cv_use_pnm"
9701 if test "$no_cache" != 1; then
9702 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9703 fi
9704
9705 if test "$wxUSE_PNM" = yes; then
9706 echo "$as_me:$LINENO: result: yes" >&5
9707 echo "${ECHO_T}yes" >&6
9708 else
9709 echo "$as_me:$LINENO: result: no" >&5
9710 echo "${ECHO_T}no" >&6
9711 fi
9712
9713
9714 enablestring=
9715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9716 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9717 no_cache=0
9718 # Check whether --enable-xpm or --disable-xpm was given.
9719 if test "${enable_xpm+set}" = set; then
9720 enableval="$enable_xpm"
9721
9722 if test "$enableval" = yes; then
9723 ac_cv_use_xpm='wxUSE_XPM=yes'
9724 else
9725 ac_cv_use_xpm='wxUSE_XPM=no'
9726 fi
9727
9728 else
9729
9730 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9731 if test "x$LINE" != x ; then
9732 eval "DEFAULT_$LINE"
9733 else
9734 no_cache=1
9735 fi
9736
9737 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9738
9739 fi;
9740
9741 eval "$ac_cv_use_xpm"
9742 if test "$no_cache" != 1; then
9743 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9744 fi
9745
9746 if test "$wxUSE_XPM" = yes; then
9747 echo "$as_me:$LINENO: result: yes" >&5
9748 echo "${ECHO_T}yes" >&6
9749 else
9750 echo "$as_me:$LINENO: result: no" >&5
9751 echo "${ECHO_T}no" >&6
9752 fi
9753
9754
9755 enablestring=
9756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9757 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9758 no_cache=0
9759 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9760 if test "${enable_ico_cur+set}" = set; then
9761 enableval="$enable_ico_cur"
9762
9763 if test "$enableval" = yes; then
9764 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9765 else
9766 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9767 fi
9768
9769 else
9770
9771 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9772 if test "x$LINE" != x ; then
9773 eval "DEFAULT_$LINE"
9774 else
9775 no_cache=1
9776 fi
9777
9778 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9779
9780 fi;
9781
9782 eval "$ac_cv_use_ico_cur"
9783 if test "$no_cache" != 1; then
9784 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9785 fi
9786
9787 if test "$wxUSE_ICO_CUR" = yes; then
9788 echo "$as_me:$LINENO: result: yes" >&5
9789 echo "${ECHO_T}yes" >&6
9790 else
9791 echo "$as_me:$LINENO: result: no" >&5
9792 echo "${ECHO_T}no" >&6
9793 fi
9794
9795
9796 fi
9797
9798
9799
9800 enablestring=
9801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9802 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9803 no_cache=0
9804 # Check whether --enable-official_build or --disable-official_build was given.
9805 if test "${enable_official_build+set}" = set; then
9806 enableval="$enable_official_build"
9807
9808 if test "$enableval" = yes; then
9809 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9810 else
9811 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9812 fi
9813
9814 else
9815
9816 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9817 if test "x$LINE" != x ; then
9818 eval "DEFAULT_$LINE"
9819 else
9820 no_cache=1
9821 fi
9822
9823 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9824
9825 fi;
9826
9827 eval "$ac_cv_use_official_build"
9828 if test "$no_cache" != 1; then
9829 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9830 fi
9831
9832 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9833 echo "$as_me:$LINENO: result: yes" >&5
9834 echo "${ECHO_T}yes" >&6
9835 else
9836 echo "$as_me:$LINENO: result: no" >&5
9837 echo "${ECHO_T}no" >&6
9838 fi
9839
9840 # Check whether --enable-vendor or --disable-vendor was given.
9841 if test "${enable_vendor+set}" = set; then
9842 enableval="$enable_vendor"
9843 VENDOR="$enableval"
9844 fi;
9845 if test "x$VENDOR" = "x"; then
9846 VENDOR="custom"
9847 fi
9848
9849 case "${host}" in
9850 *-pc-os2_emx | *-pc-os2-emx )
9851 PATH_IFS=';'
9852 ;;
9853 *)
9854 PATH_IFS=':'
9855 ;;
9856 esac
9857
9858
9859
9860 echo "saving argument cache $wx_arg_cache_file"
9861 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9862
9863
9864
9865 echo "$as_me:$LINENO: checking for toolkit" >&5
9866 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9867
9868 # In Wine, we need to default to MSW, not GTK or MOTIF
9869 if test "$wxUSE_WINE" = "yes"; then
9870 DEFAULT_DEFAULT_wxUSE_GTK=0
9871 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9872 DEFAULT_DEFAULT_wxUSE_MSW=1
9873 wxUSE_SHARED=no
9874 fi
9875
9876 if test "$wxUSE_GUI" = "yes"; then
9877
9878 if test "$USE_BEOS" = 1; then
9879 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9880 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9881 { (exit 1); exit 1; }; }
9882 fi
9883
9884 if test "$TOOLKIT_GIVEN" = 1; then
9885 for toolkit in `echo $ALL_TOOLKITS`; do
9886 var=wxUSE_$toolkit
9887 eval "value=\$${var}"
9888 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9889 done
9890 else
9891 for toolkit in `echo $ALL_TOOLKITS`; do
9892 if test "$has_toolkit_in_cache" != 1; then
9893 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9894 else
9895 var=DEFAULT_wxUSE_$toolkit
9896 fi
9897 eval "wxUSE_$toolkit=\$${var}"
9898 done
9899 fi
9900
9901 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9902 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9903 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9904
9905 case "${host}" in
9906 *-pc-os2_emx | *-pc-os2-emx )
9907 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9908 esac
9909
9910 case "$NUM_TOOLKITS" in
9911 1)
9912 ;;
9913 0)
9914 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9915 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9916 { (exit 1); exit 1; }; }
9917 ;;
9918 *)
9919 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9920 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9921 { (exit 1); exit 1; }; }
9922 esac
9923
9924 for toolkit in `echo $ALL_TOOLKITS`; do
9925 var=wxUSE_$toolkit
9926 eval "value=\$${var}"
9927 if test "x$value" != x; then
9928 cache_var=CACHE_$toolkit
9929 eval "cache=\$${cache_var}"
9930 if test "$cache" = 1; then
9931 echo "$var=$value" >> ${wx_arg_cache_file}
9932 fi
9933 if test "$value" = 1; then
9934 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
9935 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9936 echo "${ECHO_T}$toolkit_echo" >&6
9937 fi
9938 fi
9939 done
9940 else
9941 if test "x$host_alias" != "x"; then
9942 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9943 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9944 else
9945 echo "$as_me:$LINENO: result: base only" >&5
9946 echo "${ECHO_T}base only" >&6
9947 fi
9948 fi
9949
9950 wants_win32=0
9951 doesnt_want_win32=0
9952 case "${host}" in
9953 *-*-cygwin*)
9954 if test "$wxUSE_MSW" = 1 ; then
9955 wants_win32=1
9956 else
9957 doesnt_want_win32=1
9958 fi
9959 ;;
9960 *-*-mingw*)
9961 wants_win32=1
9962 ;;
9963 esac
9964
9965 if test "$wxUSE_WINE" = "yes"; then
9966 wants_win32=1
9967 CC=winegcc
9968 CXX=wineg++
9969 RESCOMP=wrc
9970 LDFLAGS_GUI="-mwindows"
9971 fi
9972
9973 if test "$wants_win32" = 1 ; then
9974 USE_UNIX=0
9975 USE_WIN32=1
9976 cat >>confdefs.h <<\_ACEOF
9977 #define __WIN32__ 1
9978 _ACEOF
9979
9980 cat >>confdefs.h <<\_ACEOF
9981 #define __WIN95__ 1
9982 _ACEOF
9983
9984 cat >>confdefs.h <<\_ACEOF
9985 #define __WINDOWS__ 1
9986 _ACEOF
9987
9988 cat >>confdefs.h <<\_ACEOF
9989 #define __GNUWIN32__ 1
9990 _ACEOF
9991
9992 cat >>confdefs.h <<\_ACEOF
9993 #define STRICT 1
9994 _ACEOF
9995
9996 cat >>confdefs.h <<\_ACEOF
9997 #define WINVER 0x0400
9998 _ACEOF
9999
10000 fi
10001 if test "$doesnt_want_win32" = 1 ; then
10002 USE_UNIX=1
10003 USE_WIN32=0
10004 fi
10005
10006 if test "$USE_UNIX" = 1 ; then
10007 wxUSE_UNIX=yes
10008 cat >>confdefs.h <<\_ACEOF
10009 #define __UNIX__ 1
10010 _ACEOF
10011
10012 fi
10013
10014
10015 cat >confcache <<\_ACEOF
10016 # This file is a shell script that caches the results of configure
10017 # tests run on this system so they can be shared between configure
10018 # scripts and configure runs, see configure's option --config-cache.
10019 # It is not useful on other systems. If it contains results you don't
10020 # want to keep, you may remove or edit it.
10021 #
10022 # config.status only pays attention to the cache file if you give it
10023 # the --recheck option to rerun configure.
10024 #
10025 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10026 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10027 # following values.
10028
10029 _ACEOF
10030
10031 # The following way of writing the cache mishandles newlines in values,
10032 # but we know of no workaround that is simple, portable, and efficient.
10033 # So, don't put newlines in cache variables' values.
10034 # Ultrix sh set writes to stderr and can't be redirected directly,
10035 # and sets the high bit in the cache file unless we assign to the vars.
10036 {
10037 (set) 2>&1 |
10038 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10039 *ac_space=\ *)
10040 # `set' does not quote correctly, so add quotes (double-quote
10041 # substitution turns \\\\ into \\, and sed turns \\ into \).
10042 sed -n \
10043 "s/'/'\\\\''/g;
10044 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10045 ;;
10046 *)
10047 # `set' quotes correctly as required by POSIX, so do not add quotes.
10048 sed -n \
10049 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10050 ;;
10051 esac;
10052 } |
10053 sed '
10054 t clear
10055 : clear
10056 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10057 t end
10058 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10059 : end' >>confcache
10060 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10061 if test -w $cache_file; then
10062 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10063 cat confcache >$cache_file
10064 else
10065 echo "not updating unwritable cache $cache_file"
10066 fi
10067 fi
10068 rm -f confcache
10069
10070 if test "$build" != "$host" ; then
10071 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10072 CC=$host_alias-gcc
10073 CXX=$host_alias-c++
10074 AR=$host_alias-ar
10075 RANLIB=$host_alias-ranlib
10076 DLLTOOL=$host_alias-dlltool
10077 RESCOMP=$host_alias-windres
10078 LD=$host_alias-ld
10079 NM=$host_alias-nm
10080 STRIP=$host_alias-strip
10081 else
10082 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10083 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10084 { (exit 1); exit 1; }; }
10085 fi
10086 fi
10087
10088 CFLAGS=${CFLAGS:=}
10089 ac_ext=c
10090 ac_cpp='$CPP $CPPFLAGS'
10091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10094 if test -n "$ac_tool_prefix"; then
10095 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10096 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10097 echo "$as_me:$LINENO: checking for $ac_word" >&5
10098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10099 if test "${ac_cv_prog_CC+set}" = set; then
10100 echo $ECHO_N "(cached) $ECHO_C" >&6
10101 else
10102 if test -n "$CC"; then
10103 ac_cv_prog_CC="$CC" # Let the user override the test.
10104 else
10105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10106 for as_dir in $PATH
10107 do
10108 IFS=$as_save_IFS
10109 test -z "$as_dir" && as_dir=.
10110 for ac_exec_ext in '' $ac_executable_extensions; do
10111 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10112 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10114 break 2
10115 fi
10116 done
10117 done
10118
10119 fi
10120 fi
10121 CC=$ac_cv_prog_CC
10122 if test -n "$CC"; then
10123 echo "$as_me:$LINENO: result: $CC" >&5
10124 echo "${ECHO_T}$CC" >&6
10125 else
10126 echo "$as_me:$LINENO: result: no" >&5
10127 echo "${ECHO_T}no" >&6
10128 fi
10129
10130 fi
10131 if test -z "$ac_cv_prog_CC"; then
10132 ac_ct_CC=$CC
10133 # Extract the first word of "gcc", so it can be a program name with args.
10134 set dummy gcc; ac_word=$2
10135 echo "$as_me:$LINENO: checking for $ac_word" >&5
10136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10137 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10138 echo $ECHO_N "(cached) $ECHO_C" >&6
10139 else
10140 if test -n "$ac_ct_CC"; then
10141 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10142 else
10143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10144 for as_dir in $PATH
10145 do
10146 IFS=$as_save_IFS
10147 test -z "$as_dir" && as_dir=.
10148 for ac_exec_ext in '' $ac_executable_extensions; do
10149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10150 ac_cv_prog_ac_ct_CC="gcc"
10151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10152 break 2
10153 fi
10154 done
10155 done
10156
10157 fi
10158 fi
10159 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10160 if test -n "$ac_ct_CC"; then
10161 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10162 echo "${ECHO_T}$ac_ct_CC" >&6
10163 else
10164 echo "$as_me:$LINENO: result: no" >&5
10165 echo "${ECHO_T}no" >&6
10166 fi
10167
10168 CC=$ac_ct_CC
10169 else
10170 CC="$ac_cv_prog_CC"
10171 fi
10172
10173 if test -z "$CC"; then
10174 if test -n "$ac_tool_prefix"; then
10175 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10176 set dummy ${ac_tool_prefix}cc; ac_word=$2
10177 echo "$as_me:$LINENO: checking for $ac_word" >&5
10178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10179 if test "${ac_cv_prog_CC+set}" = set; then
10180 echo $ECHO_N "(cached) $ECHO_C" >&6
10181 else
10182 if test -n "$CC"; then
10183 ac_cv_prog_CC="$CC" # Let the user override the test.
10184 else
10185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10186 for as_dir in $PATH
10187 do
10188 IFS=$as_save_IFS
10189 test -z "$as_dir" && as_dir=.
10190 for ac_exec_ext in '' $ac_executable_extensions; do
10191 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10192 ac_cv_prog_CC="${ac_tool_prefix}cc"
10193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10194 break 2
10195 fi
10196 done
10197 done
10198
10199 fi
10200 fi
10201 CC=$ac_cv_prog_CC
10202 if test -n "$CC"; then
10203 echo "$as_me:$LINENO: result: $CC" >&5
10204 echo "${ECHO_T}$CC" >&6
10205 else
10206 echo "$as_me:$LINENO: result: no" >&5
10207 echo "${ECHO_T}no" >&6
10208 fi
10209
10210 fi
10211 if test -z "$ac_cv_prog_CC"; then
10212 ac_ct_CC=$CC
10213 # Extract the first word of "cc", so it can be a program name with args.
10214 set dummy cc; ac_word=$2
10215 echo "$as_me:$LINENO: checking for $ac_word" >&5
10216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10217 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10218 echo $ECHO_N "(cached) $ECHO_C" >&6
10219 else
10220 if test -n "$ac_ct_CC"; then
10221 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10222 else
10223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10224 for as_dir in $PATH
10225 do
10226 IFS=$as_save_IFS
10227 test -z "$as_dir" && as_dir=.
10228 for ac_exec_ext in '' $ac_executable_extensions; do
10229 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10230 ac_cv_prog_ac_ct_CC="cc"
10231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10232 break 2
10233 fi
10234 done
10235 done
10236
10237 fi
10238 fi
10239 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10240 if test -n "$ac_ct_CC"; then
10241 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10242 echo "${ECHO_T}$ac_ct_CC" >&6
10243 else
10244 echo "$as_me:$LINENO: result: no" >&5
10245 echo "${ECHO_T}no" >&6
10246 fi
10247
10248 CC=$ac_ct_CC
10249 else
10250 CC="$ac_cv_prog_CC"
10251 fi
10252
10253 fi
10254 if test -z "$CC"; then
10255 # Extract the first word of "cc", so it can be a program name with args.
10256 set dummy cc; ac_word=$2
10257 echo "$as_me:$LINENO: checking for $ac_word" >&5
10258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10259 if test "${ac_cv_prog_CC+set}" = set; then
10260 echo $ECHO_N "(cached) $ECHO_C" >&6
10261 else
10262 if test -n "$CC"; then
10263 ac_cv_prog_CC="$CC" # Let the user override the test.
10264 else
10265 ac_prog_rejected=no
10266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10267 for as_dir in $PATH
10268 do
10269 IFS=$as_save_IFS
10270 test -z "$as_dir" && as_dir=.
10271 for ac_exec_ext in '' $ac_executable_extensions; do
10272 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10273 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10274 ac_prog_rejected=yes
10275 continue
10276 fi
10277 ac_cv_prog_CC="cc"
10278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10279 break 2
10280 fi
10281 done
10282 done
10283
10284 if test $ac_prog_rejected = yes; then
10285 # We found a bogon in the path, so make sure we never use it.
10286 set dummy $ac_cv_prog_CC
10287 shift
10288 if test $# != 0; then
10289 # We chose a different compiler from the bogus one.
10290 # However, it has the same basename, so the bogon will be chosen
10291 # first if we set CC to just the basename; use the full file name.
10292 shift
10293 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10294 fi
10295 fi
10296 fi
10297 fi
10298 CC=$ac_cv_prog_CC
10299 if test -n "$CC"; then
10300 echo "$as_me:$LINENO: result: $CC" >&5
10301 echo "${ECHO_T}$CC" >&6
10302 else
10303 echo "$as_me:$LINENO: result: no" >&5
10304 echo "${ECHO_T}no" >&6
10305 fi
10306
10307 fi
10308 if test -z "$CC"; then
10309 if test -n "$ac_tool_prefix"; then
10310 for ac_prog in cl
10311 do
10312 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10313 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10314 echo "$as_me:$LINENO: checking for $ac_word" >&5
10315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10316 if test "${ac_cv_prog_CC+set}" = set; then
10317 echo $ECHO_N "(cached) $ECHO_C" >&6
10318 else
10319 if test -n "$CC"; then
10320 ac_cv_prog_CC="$CC" # Let the user override the test.
10321 else
10322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10323 for as_dir in $PATH
10324 do
10325 IFS=$as_save_IFS
10326 test -z "$as_dir" && as_dir=.
10327 for ac_exec_ext in '' $ac_executable_extensions; do
10328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10329 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10331 break 2
10332 fi
10333 done
10334 done
10335
10336 fi
10337 fi
10338 CC=$ac_cv_prog_CC
10339 if test -n "$CC"; then
10340 echo "$as_me:$LINENO: result: $CC" >&5
10341 echo "${ECHO_T}$CC" >&6
10342 else
10343 echo "$as_me:$LINENO: result: no" >&5
10344 echo "${ECHO_T}no" >&6
10345 fi
10346
10347 test -n "$CC" && break
10348 done
10349 fi
10350 if test -z "$CC"; then
10351 ac_ct_CC=$CC
10352 for ac_prog in cl
10353 do
10354 # Extract the first word of "$ac_prog", so it can be a program name with args.
10355 set dummy $ac_prog; ac_word=$2
10356 echo "$as_me:$LINENO: checking for $ac_word" >&5
10357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10358 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10359 echo $ECHO_N "(cached) $ECHO_C" >&6
10360 else
10361 if test -n "$ac_ct_CC"; then
10362 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10363 else
10364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10365 for as_dir in $PATH
10366 do
10367 IFS=$as_save_IFS
10368 test -z "$as_dir" && as_dir=.
10369 for ac_exec_ext in '' $ac_executable_extensions; do
10370 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10371 ac_cv_prog_ac_ct_CC="$ac_prog"
10372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10373 break 2
10374 fi
10375 done
10376 done
10377
10378 fi
10379 fi
10380 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10381 if test -n "$ac_ct_CC"; then
10382 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10383 echo "${ECHO_T}$ac_ct_CC" >&6
10384 else
10385 echo "$as_me:$LINENO: result: no" >&5
10386 echo "${ECHO_T}no" >&6
10387 fi
10388
10389 test -n "$ac_ct_CC" && break
10390 done
10391
10392 CC=$ac_ct_CC
10393 fi
10394
10395 fi
10396
10397
10398 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10399 See \`config.log' for more details." >&5
10400 echo "$as_me: error: no acceptable C compiler found in \$PATH
10401 See \`config.log' for more details." >&2;}
10402 { (exit 1); exit 1; }; }
10403
10404 # Provide some information about the compiler.
10405 echo "$as_me:$LINENO:" \
10406 "checking for C compiler version" >&5
10407 ac_compiler=`set X $ac_compile; echo $2`
10408 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10409 (eval $ac_compiler --version </dev/null >&5) 2>&5
10410 ac_status=$?
10411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10412 (exit $ac_status); }
10413 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10414 (eval $ac_compiler -v </dev/null >&5) 2>&5
10415 ac_status=$?
10416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10417 (exit $ac_status); }
10418 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10419 (eval $ac_compiler -V </dev/null >&5) 2>&5
10420 ac_status=$?
10421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10422 (exit $ac_status); }
10423
10424 cat >conftest.$ac_ext <<_ACEOF
10425 /* confdefs.h. */
10426 _ACEOF
10427 cat confdefs.h >>conftest.$ac_ext
10428 cat >>conftest.$ac_ext <<_ACEOF
10429 /* end confdefs.h. */
10430
10431 int
10432 main ()
10433 {
10434
10435 ;
10436 return 0;
10437 }
10438 _ACEOF
10439 ac_clean_files_save=$ac_clean_files
10440 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10441 # Try to create an executable without -o first, disregard a.out.
10442 # It will help us diagnose broken compilers, and finding out an intuition
10443 # of exeext.
10444 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10445 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10446 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10447 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10448 (eval $ac_link_default) 2>&5
10449 ac_status=$?
10450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10451 (exit $ac_status); }; then
10452 # Find the output, starting from the most likely. This scheme is
10453 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10454 # resort.
10455
10456 # Be careful to initialize this variable, since it used to be cached.
10457 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10458 ac_cv_exeext=
10459 # b.out is created by i960 compilers.
10460 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10461 do
10462 test -f "$ac_file" || continue
10463 case $ac_file in
10464 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10465 ;;
10466 conftest.$ac_ext )
10467 # This is the source file.
10468 ;;
10469 [ab].out )
10470 # We found the default executable, but exeext='' is most
10471 # certainly right.
10472 break;;
10473 *.* )
10474 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10475 # FIXME: I believe we export ac_cv_exeext for Libtool,
10476 # but it would be cool to find out if it's true. Does anybody
10477 # maintain Libtool? --akim.
10478 export ac_cv_exeext
10479 break;;
10480 * )
10481 break;;
10482 esac
10483 done
10484 else
10485 echo "$as_me: failed program was:" >&5
10486 sed 's/^/| /' conftest.$ac_ext >&5
10487
10488 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10489 See \`config.log' for more details." >&5
10490 echo "$as_me: error: C compiler cannot create executables
10491 See \`config.log' for more details." >&2;}
10492 { (exit 77); exit 77; }; }
10493 fi
10494
10495 ac_exeext=$ac_cv_exeext
10496 echo "$as_me:$LINENO: result: $ac_file" >&5
10497 echo "${ECHO_T}$ac_file" >&6
10498
10499 # Check the compiler produces executables we can run. If not, either
10500 # the compiler is broken, or we cross compile.
10501 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10502 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10503 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10504 # If not cross compiling, check that we can run a simple program.
10505 if test "$cross_compiling" != yes; then
10506 if { ac_try='./$ac_file'
10507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10508 (eval $ac_try) 2>&5
10509 ac_status=$?
10510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10511 (exit $ac_status); }; }; then
10512 cross_compiling=no
10513 else
10514 if test "$cross_compiling" = maybe; then
10515 cross_compiling=yes
10516 else
10517 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10518 If you meant to cross compile, use \`--host'.
10519 See \`config.log' for more details." >&5
10520 echo "$as_me: error: cannot run C compiled programs.
10521 If you meant to cross compile, use \`--host'.
10522 See \`config.log' for more details." >&2;}
10523 { (exit 1); exit 1; }; }
10524 fi
10525 fi
10526 fi
10527 echo "$as_me:$LINENO: result: yes" >&5
10528 echo "${ECHO_T}yes" >&6
10529
10530 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10531 ac_clean_files=$ac_clean_files_save
10532 # Check the compiler produces executables we can run. If not, either
10533 # the compiler is broken, or we cross compile.
10534 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10535 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10536 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10537 echo "${ECHO_T}$cross_compiling" >&6
10538
10539 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10540 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10542 (eval $ac_link) 2>&5
10543 ac_status=$?
10544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10545 (exit $ac_status); }; then
10546 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10547 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10548 # work properly (i.e., refer to `conftest.exe'), while it won't with
10549 # `rm'.
10550 for ac_file in conftest.exe conftest conftest.*; do
10551 test -f "$ac_file" || continue
10552 case $ac_file in
10553 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10554 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10555 export ac_cv_exeext
10556 break;;
10557 * ) break;;
10558 esac
10559 done
10560 else
10561 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10562 See \`config.log' for more details." >&5
10563 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10564 See \`config.log' for more details." >&2;}
10565 { (exit 1); exit 1; }; }
10566 fi
10567
10568 rm -f conftest$ac_cv_exeext
10569 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10570 echo "${ECHO_T}$ac_cv_exeext" >&6
10571
10572 rm -f conftest.$ac_ext
10573 EXEEXT=$ac_cv_exeext
10574 ac_exeext=$EXEEXT
10575 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10576 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10577 if test "${ac_cv_objext+set}" = set; then
10578 echo $ECHO_N "(cached) $ECHO_C" >&6
10579 else
10580 cat >conftest.$ac_ext <<_ACEOF
10581 /* confdefs.h. */
10582 _ACEOF
10583 cat confdefs.h >>conftest.$ac_ext
10584 cat >>conftest.$ac_ext <<_ACEOF
10585 /* end confdefs.h. */
10586
10587 int
10588 main ()
10589 {
10590
10591 ;
10592 return 0;
10593 }
10594 _ACEOF
10595 rm -f conftest.o conftest.obj
10596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10597 (eval $ac_compile) 2>&5
10598 ac_status=$?
10599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10600 (exit $ac_status); }; then
10601 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10602 case $ac_file in
10603 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10604 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10605 break;;
10606 esac
10607 done
10608 else
10609 echo "$as_me: failed program was:" >&5
10610 sed 's/^/| /' conftest.$ac_ext >&5
10611
10612 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10613 See \`config.log' for more details." >&5
10614 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10615 See \`config.log' for more details." >&2;}
10616 { (exit 1); exit 1; }; }
10617 fi
10618
10619 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10620 fi
10621 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10622 echo "${ECHO_T}$ac_cv_objext" >&6
10623 OBJEXT=$ac_cv_objext
10624 ac_objext=$OBJEXT
10625 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10626 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10627 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10628 echo $ECHO_N "(cached) $ECHO_C" >&6
10629 else
10630 cat >conftest.$ac_ext <<_ACEOF
10631 /* confdefs.h. */
10632 _ACEOF
10633 cat confdefs.h >>conftest.$ac_ext
10634 cat >>conftest.$ac_ext <<_ACEOF
10635 /* end confdefs.h. */
10636
10637 int
10638 main ()
10639 {
10640 #ifndef __GNUC__
10641 choke me
10642 #endif
10643
10644 ;
10645 return 0;
10646 }
10647 _ACEOF
10648 rm -f conftest.$ac_objext
10649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10650 (eval $ac_compile) 2>conftest.er1
10651 ac_status=$?
10652 grep -v '^ *+' conftest.er1 >conftest.err
10653 rm -f conftest.er1
10654 cat conftest.err >&5
10655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10656 (exit $ac_status); } &&
10657 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10659 (eval $ac_try) 2>&5
10660 ac_status=$?
10661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10662 (exit $ac_status); }; } &&
10663 { ac_try='test -s conftest.$ac_objext'
10664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10665 (eval $ac_try) 2>&5
10666 ac_status=$?
10667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10668 (exit $ac_status); }; }; then
10669 ac_compiler_gnu=yes
10670 else
10671 echo "$as_me: failed program was:" >&5
10672 sed 's/^/| /' conftest.$ac_ext >&5
10673
10674 ac_compiler_gnu=no
10675 fi
10676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10677 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10678
10679 fi
10680 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10681 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10682 GCC=`test $ac_compiler_gnu = yes && echo yes`
10683 ac_test_CFLAGS=${CFLAGS+set}
10684 ac_save_CFLAGS=$CFLAGS
10685 CFLAGS="-g"
10686 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10687 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10688 if test "${ac_cv_prog_cc_g+set}" = set; then
10689 echo $ECHO_N "(cached) $ECHO_C" >&6
10690 else
10691 cat >conftest.$ac_ext <<_ACEOF
10692 /* confdefs.h. */
10693 _ACEOF
10694 cat confdefs.h >>conftest.$ac_ext
10695 cat >>conftest.$ac_ext <<_ACEOF
10696 /* end confdefs.h. */
10697
10698 int
10699 main ()
10700 {
10701
10702 ;
10703 return 0;
10704 }
10705 _ACEOF
10706 rm -f conftest.$ac_objext
10707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10708 (eval $ac_compile) 2>conftest.er1
10709 ac_status=$?
10710 grep -v '^ *+' conftest.er1 >conftest.err
10711 rm -f conftest.er1
10712 cat conftest.err >&5
10713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10714 (exit $ac_status); } &&
10715 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10717 (eval $ac_try) 2>&5
10718 ac_status=$?
10719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10720 (exit $ac_status); }; } &&
10721 { ac_try='test -s conftest.$ac_objext'
10722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10723 (eval $ac_try) 2>&5
10724 ac_status=$?
10725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10726 (exit $ac_status); }; }; then
10727 ac_cv_prog_cc_g=yes
10728 else
10729 echo "$as_me: failed program was:" >&5
10730 sed 's/^/| /' conftest.$ac_ext >&5
10731
10732 ac_cv_prog_cc_g=no
10733 fi
10734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10735 fi
10736 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10737 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10738 if test "$ac_test_CFLAGS" = set; then
10739 CFLAGS=$ac_save_CFLAGS
10740 elif test $ac_cv_prog_cc_g = yes; then
10741 if test "$GCC" = yes; then
10742 CFLAGS="-g -O2"
10743 else
10744 CFLAGS="-g"
10745 fi
10746 else
10747 if test "$GCC" = yes; then
10748 CFLAGS="-O2"
10749 else
10750 CFLAGS=
10751 fi
10752 fi
10753 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10754 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10755 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10756 echo $ECHO_N "(cached) $ECHO_C" >&6
10757 else
10758 ac_cv_prog_cc_stdc=no
10759 ac_save_CC=$CC
10760 cat >conftest.$ac_ext <<_ACEOF
10761 /* confdefs.h. */
10762 _ACEOF
10763 cat confdefs.h >>conftest.$ac_ext
10764 cat >>conftest.$ac_ext <<_ACEOF
10765 /* end confdefs.h. */
10766 #include <stdarg.h>
10767 #include <stdio.h>
10768 #include <sys/types.h>
10769 #include <sys/stat.h>
10770 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10771 struct buf { int x; };
10772 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10773 static char *e (p, i)
10774 char **p;
10775 int i;
10776 {
10777 return p[i];
10778 }
10779 static char *f (char * (*g) (char **, int), char **p, ...)
10780 {
10781 char *s;
10782 va_list v;
10783 va_start (v,p);
10784 s = g (p, va_arg (v,int));
10785 va_end (v);
10786 return s;
10787 }
10788
10789 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10790 function prototypes and stuff, but not '\xHH' hex character constants.
10791 These don't provoke an error unfortunately, instead are silently treated
10792 as 'x'. The following induces an error, until -std1 is added to get
10793 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10794 array size at least. It's necessary to write '\x00'==0 to get something
10795 that's true only with -std1. */
10796 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10797
10798 int test (int i, double x);
10799 struct s1 {int (*f) (int a);};
10800 struct s2 {int (*f) (double a);};
10801 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10802 int argc;
10803 char **argv;
10804 int
10805 main ()
10806 {
10807 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10808 ;
10809 return 0;
10810 }
10811 _ACEOF
10812 # Don't try gcc -ansi; that turns off useful extensions and
10813 # breaks some systems' header files.
10814 # AIX -qlanglvl=ansi
10815 # Ultrix and OSF/1 -std1
10816 # HP-UX 10.20 and later -Ae
10817 # HP-UX older versions -Aa -D_HPUX_SOURCE
10818 # SVR4 -Xc -D__EXTENSIONS__
10819 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10820 do
10821 CC="$ac_save_CC $ac_arg"
10822 rm -f conftest.$ac_objext
10823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10824 (eval $ac_compile) 2>conftest.er1
10825 ac_status=$?
10826 grep -v '^ *+' conftest.er1 >conftest.err
10827 rm -f conftest.er1
10828 cat conftest.err >&5
10829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10830 (exit $ac_status); } &&
10831 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10833 (eval $ac_try) 2>&5
10834 ac_status=$?
10835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10836 (exit $ac_status); }; } &&
10837 { ac_try='test -s conftest.$ac_objext'
10838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10839 (eval $ac_try) 2>&5
10840 ac_status=$?
10841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10842 (exit $ac_status); }; }; then
10843 ac_cv_prog_cc_stdc=$ac_arg
10844 break
10845 else
10846 echo "$as_me: failed program was:" >&5
10847 sed 's/^/| /' conftest.$ac_ext >&5
10848
10849 fi
10850 rm -f conftest.err conftest.$ac_objext
10851 done
10852 rm -f conftest.$ac_ext conftest.$ac_objext
10853 CC=$ac_save_CC
10854
10855 fi
10856
10857 case "x$ac_cv_prog_cc_stdc" in
10858 x|xno)
10859 echo "$as_me:$LINENO: result: none needed" >&5
10860 echo "${ECHO_T}none needed" >&6 ;;
10861 *)
10862 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10863 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10864 CC="$CC $ac_cv_prog_cc_stdc" ;;
10865 esac
10866
10867 # Some people use a C++ compiler to compile C. Since we use `exit',
10868 # in C++ we need to declare it. In case someone uses the same compiler
10869 # for both compiling C and C++ we need to have the C++ compiler decide
10870 # the declaration of exit, since it's the most demanding environment.
10871 cat >conftest.$ac_ext <<_ACEOF
10872 #ifndef __cplusplus
10873 choke me
10874 #endif
10875 _ACEOF
10876 rm -f conftest.$ac_objext
10877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10878 (eval $ac_compile) 2>conftest.er1
10879 ac_status=$?
10880 grep -v '^ *+' conftest.er1 >conftest.err
10881 rm -f conftest.er1
10882 cat conftest.err >&5
10883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10884 (exit $ac_status); } &&
10885 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10887 (eval $ac_try) 2>&5
10888 ac_status=$?
10889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10890 (exit $ac_status); }; } &&
10891 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
10897 for ac_declaration in \
10898 '' \
10899 'extern "C" void std::exit (int) throw (); using std::exit;' \
10900 'extern "C" void std::exit (int); using std::exit;' \
10901 'extern "C" void exit (int) throw ();' \
10902 'extern "C" void exit (int);' \
10903 'void exit (int);'
10904 do
10905 cat >conftest.$ac_ext <<_ACEOF
10906 /* confdefs.h. */
10907 _ACEOF
10908 cat confdefs.h >>conftest.$ac_ext
10909 cat >>conftest.$ac_ext <<_ACEOF
10910 /* end confdefs.h. */
10911 $ac_declaration
10912 #include <stdlib.h>
10913 int
10914 main ()
10915 {
10916 exit (42);
10917 ;
10918 return 0;
10919 }
10920 _ACEOF
10921 rm -f conftest.$ac_objext
10922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10923 (eval $ac_compile) 2>conftest.er1
10924 ac_status=$?
10925 grep -v '^ *+' conftest.er1 >conftest.err
10926 rm -f conftest.er1
10927 cat conftest.err >&5
10928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10929 (exit $ac_status); } &&
10930 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10932 (eval $ac_try) 2>&5
10933 ac_status=$?
10934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10935 (exit $ac_status); }; } &&
10936 { ac_try='test -s conftest.$ac_objext'
10937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10938 (eval $ac_try) 2>&5
10939 ac_status=$?
10940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10941 (exit $ac_status); }; }; then
10942 :
10943 else
10944 echo "$as_me: failed program was:" >&5
10945 sed 's/^/| /' conftest.$ac_ext >&5
10946
10947 continue
10948 fi
10949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10950 cat >conftest.$ac_ext <<_ACEOF
10951 /* confdefs.h. */
10952 _ACEOF
10953 cat confdefs.h >>conftest.$ac_ext
10954 cat >>conftest.$ac_ext <<_ACEOF
10955 /* end confdefs.h. */
10956 $ac_declaration
10957 int
10958 main ()
10959 {
10960 exit (42);
10961 ;
10962 return 0;
10963 }
10964 _ACEOF
10965 rm -f conftest.$ac_objext
10966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10967 (eval $ac_compile) 2>conftest.er1
10968 ac_status=$?
10969 grep -v '^ *+' conftest.er1 >conftest.err
10970 rm -f conftest.er1
10971 cat conftest.err >&5
10972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10973 (exit $ac_status); } &&
10974 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10976 (eval $ac_try) 2>&5
10977 ac_status=$?
10978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10979 (exit $ac_status); }; } &&
10980 { ac_try='test -s conftest.$ac_objext'
10981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10982 (eval $ac_try) 2>&5
10983 ac_status=$?
10984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10985 (exit $ac_status); }; }; then
10986 break
10987 else
10988 echo "$as_me: failed program was:" >&5
10989 sed 's/^/| /' conftest.$ac_ext >&5
10990
10991 fi
10992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10993 done
10994 rm -f conftest*
10995 if test -n "$ac_declaration"; then
10996 echo '#ifdef __cplusplus' >>confdefs.h
10997 echo $ac_declaration >>confdefs.h
10998 echo '#endif' >>confdefs.h
10999 fi
11000
11001 else
11002 echo "$as_me: failed program was:" >&5
11003 sed 's/^/| /' conftest.$ac_ext >&5
11004
11005 fi
11006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11007 ac_ext=c
11008 ac_cpp='$CPP $CPPFLAGS'
11009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11012
11013
11014
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 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11021 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11022 # On Suns, sometimes $CPP names a directory.
11023 if test -n "$CPP" && test -d "$CPP"; then
11024 CPP=
11025 fi
11026 if test -z "$CPP"; then
11027 if test "${ac_cv_prog_CPP+set}" = set; then
11028 echo $ECHO_N "(cached) $ECHO_C" >&6
11029 else
11030 # Double quotes because CPP needs to be expanded
11031 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11032 do
11033 ac_preproc_ok=false
11034 for ac_c_preproc_warn_flag in '' yes
11035 do
11036 # Use a header file that comes with gcc, so configuring glibc
11037 # with a fresh cross-compiler works.
11038 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11039 # <limits.h> exists even on freestanding compilers.
11040 # On the NeXT, cc -E runs the code through the compiler's parser,
11041 # not just through cpp. "Syntax error" is here to catch this case.
11042 cat >conftest.$ac_ext <<_ACEOF
11043 /* confdefs.h. */
11044 _ACEOF
11045 cat confdefs.h >>conftest.$ac_ext
11046 cat >>conftest.$ac_ext <<_ACEOF
11047 /* end confdefs.h. */
11048 #ifdef __STDC__
11049 # include <limits.h>
11050 #else
11051 # include <assert.h>
11052 #endif
11053 Syntax error
11054 _ACEOF
11055 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11056 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11057 ac_status=$?
11058 grep -v '^ *+' conftest.er1 >conftest.err
11059 rm -f conftest.er1
11060 cat conftest.err >&5
11061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11062 (exit $ac_status); } >/dev/null; then
11063 if test -s conftest.err; then
11064 ac_cpp_err=$ac_c_preproc_warn_flag
11065 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11066 else
11067 ac_cpp_err=
11068 fi
11069 else
11070 ac_cpp_err=yes
11071 fi
11072 if test -z "$ac_cpp_err"; then
11073 :
11074 else
11075 echo "$as_me: failed program was:" >&5
11076 sed 's/^/| /' conftest.$ac_ext >&5
11077
11078 # Broken: fails on valid input.
11079 continue
11080 fi
11081 rm -f conftest.err conftest.$ac_ext
11082
11083 # OK, works on sane cases. Now check whether non-existent headers
11084 # can be detected and how.
11085 cat >conftest.$ac_ext <<_ACEOF
11086 /* confdefs.h. */
11087 _ACEOF
11088 cat confdefs.h >>conftest.$ac_ext
11089 cat >>conftest.$ac_ext <<_ACEOF
11090 /* end confdefs.h. */
11091 #include <ac_nonexistent.h>
11092 _ACEOF
11093 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11094 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11095 ac_status=$?
11096 grep -v '^ *+' conftest.er1 >conftest.err
11097 rm -f conftest.er1
11098 cat conftest.err >&5
11099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11100 (exit $ac_status); } >/dev/null; then
11101 if test -s conftest.err; then
11102 ac_cpp_err=$ac_c_preproc_warn_flag
11103 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11104 else
11105 ac_cpp_err=
11106 fi
11107 else
11108 ac_cpp_err=yes
11109 fi
11110 if test -z "$ac_cpp_err"; then
11111 # Broken: success on invalid input.
11112 continue
11113 else
11114 echo "$as_me: failed program was:" >&5
11115 sed 's/^/| /' conftest.$ac_ext >&5
11116
11117 # Passes both tests.
11118 ac_preproc_ok=:
11119 break
11120 fi
11121 rm -f conftest.err conftest.$ac_ext
11122
11123 done
11124 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11125 rm -f conftest.err conftest.$ac_ext
11126 if $ac_preproc_ok; then
11127 break
11128 fi
11129
11130 done
11131 ac_cv_prog_CPP=$CPP
11132
11133 fi
11134 CPP=$ac_cv_prog_CPP
11135 else
11136 ac_cv_prog_CPP=$CPP
11137 fi
11138 echo "$as_me:$LINENO: result: $CPP" >&5
11139 echo "${ECHO_T}$CPP" >&6
11140 ac_preproc_ok=false
11141 for ac_c_preproc_warn_flag in '' yes
11142 do
11143 # Use a header file that comes with gcc, so configuring glibc
11144 # with a fresh cross-compiler works.
11145 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11146 # <limits.h> exists even on freestanding compilers.
11147 # On the NeXT, cc -E runs the code through the compiler's parser,
11148 # not just through cpp. "Syntax error" is here to catch this case.
11149 cat >conftest.$ac_ext <<_ACEOF
11150 /* confdefs.h. */
11151 _ACEOF
11152 cat confdefs.h >>conftest.$ac_ext
11153 cat >>conftest.$ac_ext <<_ACEOF
11154 /* end confdefs.h. */
11155 #ifdef __STDC__
11156 # include <limits.h>
11157 #else
11158 # include <assert.h>
11159 #endif
11160 Syntax error
11161 _ACEOF
11162 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11163 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11164 ac_status=$?
11165 grep -v '^ *+' conftest.er1 >conftest.err
11166 rm -f conftest.er1
11167 cat conftest.err >&5
11168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11169 (exit $ac_status); } >/dev/null; then
11170 if test -s conftest.err; then
11171 ac_cpp_err=$ac_c_preproc_warn_flag
11172 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11173 else
11174 ac_cpp_err=
11175 fi
11176 else
11177 ac_cpp_err=yes
11178 fi
11179 if test -z "$ac_cpp_err"; then
11180 :
11181 else
11182 echo "$as_me: failed program was:" >&5
11183 sed 's/^/| /' conftest.$ac_ext >&5
11184
11185 # Broken: fails on valid input.
11186 continue
11187 fi
11188 rm -f conftest.err conftest.$ac_ext
11189
11190 # OK, works on sane cases. Now check whether non-existent headers
11191 # can be detected and how.
11192 cat >conftest.$ac_ext <<_ACEOF
11193 /* confdefs.h. */
11194 _ACEOF
11195 cat confdefs.h >>conftest.$ac_ext
11196 cat >>conftest.$ac_ext <<_ACEOF
11197 /* end confdefs.h. */
11198 #include <ac_nonexistent.h>
11199 _ACEOF
11200 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11201 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11202 ac_status=$?
11203 grep -v '^ *+' conftest.er1 >conftest.err
11204 rm -f conftest.er1
11205 cat conftest.err >&5
11206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11207 (exit $ac_status); } >/dev/null; then
11208 if test -s conftest.err; then
11209 ac_cpp_err=$ac_c_preproc_warn_flag
11210 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11211 else
11212 ac_cpp_err=
11213 fi
11214 else
11215 ac_cpp_err=yes
11216 fi
11217 if test -z "$ac_cpp_err"; then
11218 # Broken: success on invalid input.
11219 continue
11220 else
11221 echo "$as_me: failed program was:" >&5
11222 sed 's/^/| /' conftest.$ac_ext >&5
11223
11224 # Passes both tests.
11225 ac_preproc_ok=:
11226 break
11227 fi
11228 rm -f conftest.err conftest.$ac_ext
11229
11230 done
11231 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11232 rm -f conftest.err conftest.$ac_ext
11233 if $ac_preproc_ok; then
11234 :
11235 else
11236 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11237 See \`config.log' for more details." >&5
11238 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11239 See \`config.log' for more details." >&2;}
11240 { (exit 1); exit 1; }; }
11241 fi
11242
11243 ac_ext=c
11244 ac_cpp='$CPP $CPPFLAGS'
11245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11248
11249
11250 echo "$as_me:$LINENO: checking for egrep" >&5
11251 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11252 if test "${ac_cv_prog_egrep+set}" = set; then
11253 echo $ECHO_N "(cached) $ECHO_C" >&6
11254 else
11255 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
11256 then ac_cv_prog_egrep='grep -E'
11257 else ac_cv_prog_egrep='egrep'
11258 fi
11259 fi
11260 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11261 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11262 EGREP=$ac_cv_prog_egrep
11263
11264
11265 if test $ac_cv_c_compiler_gnu = yes; then
11266 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11267 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11268 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11269 echo $ECHO_N "(cached) $ECHO_C" >&6
11270 else
11271 ac_pattern="Autoconf.*'x'"
11272 cat >conftest.$ac_ext <<_ACEOF
11273 /* confdefs.h. */
11274 _ACEOF
11275 cat confdefs.h >>conftest.$ac_ext
11276 cat >>conftest.$ac_ext <<_ACEOF
11277 /* end confdefs.h. */
11278 #include <sgtty.h>
11279 Autoconf TIOCGETP
11280 _ACEOF
11281 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11282 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11283 ac_cv_prog_gcc_traditional=yes
11284 else
11285 ac_cv_prog_gcc_traditional=no
11286 fi
11287 rm -f conftest*
11288
11289
11290 if test $ac_cv_prog_gcc_traditional = no; then
11291 cat >conftest.$ac_ext <<_ACEOF
11292 /* confdefs.h. */
11293 _ACEOF
11294 cat confdefs.h >>conftest.$ac_ext
11295 cat >>conftest.$ac_ext <<_ACEOF
11296 /* end confdefs.h. */
11297 #include <termio.h>
11298 Autoconf TCGETA
11299 _ACEOF
11300 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11301 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11302 ac_cv_prog_gcc_traditional=yes
11303 fi
11304 rm -f conftest*
11305
11306 fi
11307 fi
11308 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11309 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11310 if test $ac_cv_prog_gcc_traditional = yes; then
11311 CC="$CC -traditional"
11312 fi
11313 fi
11314
11315
11316
11317
11318 ac_ext=cc
11319 ac_cpp='$CXXCPP $CPPFLAGS'
11320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11323
11324
11325 CXXFLAGS=${CXXFLAGS:=}
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 if test -n "$ac_tool_prefix"; then
11332 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11333 do
11334 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11335 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11336 echo "$as_me:$LINENO: checking for $ac_word" >&5
11337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11338 if test "${ac_cv_prog_CXX+set}" = set; then
11339 echo $ECHO_N "(cached) $ECHO_C" >&6
11340 else
11341 if test -n "$CXX"; then
11342 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11343 else
11344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11345 for as_dir in $PATH
11346 do
11347 IFS=$as_save_IFS
11348 test -z "$as_dir" && as_dir=.
11349 for ac_exec_ext in '' $ac_executable_extensions; do
11350 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11351 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11353 break 2
11354 fi
11355 done
11356 done
11357
11358 fi
11359 fi
11360 CXX=$ac_cv_prog_CXX
11361 if test -n "$CXX"; then
11362 echo "$as_me:$LINENO: result: $CXX" >&5
11363 echo "${ECHO_T}$CXX" >&6
11364 else
11365 echo "$as_me:$LINENO: result: no" >&5
11366 echo "${ECHO_T}no" >&6
11367 fi
11368
11369 test -n "$CXX" && break
11370 done
11371 fi
11372 if test -z "$CXX"; then
11373 ac_ct_CXX=$CXX
11374 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11375 do
11376 # Extract the first word of "$ac_prog", so it can be a program name with args.
11377 set dummy $ac_prog; ac_word=$2
11378 echo "$as_me:$LINENO: checking for $ac_word" >&5
11379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11380 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11381 echo $ECHO_N "(cached) $ECHO_C" >&6
11382 else
11383 if test -n "$ac_ct_CXX"; then
11384 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11385 else
11386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11387 for as_dir in $PATH
11388 do
11389 IFS=$as_save_IFS
11390 test -z "$as_dir" && as_dir=.
11391 for ac_exec_ext in '' $ac_executable_extensions; do
11392 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11393 ac_cv_prog_ac_ct_CXX="$ac_prog"
11394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11395 break 2
11396 fi
11397 done
11398 done
11399
11400 fi
11401 fi
11402 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11403 if test -n "$ac_ct_CXX"; then
11404 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11405 echo "${ECHO_T}$ac_ct_CXX" >&6
11406 else
11407 echo "$as_me:$LINENO: result: no" >&5
11408 echo "${ECHO_T}no" >&6
11409 fi
11410
11411 test -n "$ac_ct_CXX" && break
11412 done
11413 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11414
11415 CXX=$ac_ct_CXX
11416 fi
11417
11418
11419 # Provide some information about the compiler.
11420 echo "$as_me:$LINENO:" \
11421 "checking for C++ compiler version" >&5
11422 ac_compiler=`set X $ac_compile; echo $2`
11423 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11424 (eval $ac_compiler --version </dev/null >&5) 2>&5
11425 ac_status=$?
11426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11427 (exit $ac_status); }
11428 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11429 (eval $ac_compiler -v </dev/null >&5) 2>&5
11430 ac_status=$?
11431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11432 (exit $ac_status); }
11433 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11434 (eval $ac_compiler -V </dev/null >&5) 2>&5
11435 ac_status=$?
11436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11437 (exit $ac_status); }
11438
11439 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11440 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11441 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11442 echo $ECHO_N "(cached) $ECHO_C" >&6
11443 else
11444 cat >conftest.$ac_ext <<_ACEOF
11445 /* confdefs.h. */
11446 _ACEOF
11447 cat confdefs.h >>conftest.$ac_ext
11448 cat >>conftest.$ac_ext <<_ACEOF
11449 /* end confdefs.h. */
11450
11451 int
11452 main ()
11453 {
11454 #ifndef __GNUC__
11455 choke me
11456 #endif
11457
11458 ;
11459 return 0;
11460 }
11461 _ACEOF
11462 rm -f conftest.$ac_objext
11463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11464 (eval $ac_compile) 2>conftest.er1
11465 ac_status=$?
11466 grep -v '^ *+' conftest.er1 >conftest.err
11467 rm -f conftest.er1
11468 cat conftest.err >&5
11469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11470 (exit $ac_status); } &&
11471 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11473 (eval $ac_try) 2>&5
11474 ac_status=$?
11475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11476 (exit $ac_status); }; } &&
11477 { ac_try='test -s conftest.$ac_objext'
11478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11479 (eval $ac_try) 2>&5
11480 ac_status=$?
11481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11482 (exit $ac_status); }; }; then
11483 ac_compiler_gnu=yes
11484 else
11485 echo "$as_me: failed program was:" >&5
11486 sed 's/^/| /' conftest.$ac_ext >&5
11487
11488 ac_compiler_gnu=no
11489 fi
11490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11491 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11492
11493 fi
11494 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11495 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11496 GXX=`test $ac_compiler_gnu = yes && echo yes`
11497 ac_test_CXXFLAGS=${CXXFLAGS+set}
11498 ac_save_CXXFLAGS=$CXXFLAGS
11499 CXXFLAGS="-g"
11500 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11501 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11502 if test "${ac_cv_prog_cxx_g+set}" = set; then
11503 echo $ECHO_N "(cached) $ECHO_C" >&6
11504 else
11505 cat >conftest.$ac_ext <<_ACEOF
11506 /* confdefs.h. */
11507 _ACEOF
11508 cat confdefs.h >>conftest.$ac_ext
11509 cat >>conftest.$ac_ext <<_ACEOF
11510 /* end confdefs.h. */
11511
11512 int
11513 main ()
11514 {
11515
11516 ;
11517 return 0;
11518 }
11519 _ACEOF
11520 rm -f conftest.$ac_objext
11521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11522 (eval $ac_compile) 2>conftest.er1
11523 ac_status=$?
11524 grep -v '^ *+' conftest.er1 >conftest.err
11525 rm -f conftest.er1
11526 cat conftest.err >&5
11527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11528 (exit $ac_status); } &&
11529 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11531 (eval $ac_try) 2>&5
11532 ac_status=$?
11533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11534 (exit $ac_status); }; } &&
11535 { ac_try='test -s conftest.$ac_objext'
11536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11537 (eval $ac_try) 2>&5
11538 ac_status=$?
11539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11540 (exit $ac_status); }; }; then
11541 ac_cv_prog_cxx_g=yes
11542 else
11543 echo "$as_me: failed program was:" >&5
11544 sed 's/^/| /' conftest.$ac_ext >&5
11545
11546 ac_cv_prog_cxx_g=no
11547 fi
11548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11549 fi
11550 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11551 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11552 if test "$ac_test_CXXFLAGS" = set; then
11553 CXXFLAGS=$ac_save_CXXFLAGS
11554 elif test $ac_cv_prog_cxx_g = yes; then
11555 if test "$GXX" = yes; then
11556 CXXFLAGS="-g -O2"
11557 else
11558 CXXFLAGS="-g"
11559 fi
11560 else
11561 if test "$GXX" = yes; then
11562 CXXFLAGS="-O2"
11563 else
11564 CXXFLAGS=
11565 fi
11566 fi
11567 for ac_declaration in \
11568 '' \
11569 'extern "C" void std::exit (int) throw (); using std::exit;' \
11570 'extern "C" void std::exit (int); using std::exit;' \
11571 'extern "C" void exit (int) throw ();' \
11572 'extern "C" void exit (int);' \
11573 'void exit (int);'
11574 do
11575 cat >conftest.$ac_ext <<_ACEOF
11576 /* confdefs.h. */
11577 _ACEOF
11578 cat confdefs.h >>conftest.$ac_ext
11579 cat >>conftest.$ac_ext <<_ACEOF
11580 /* end confdefs.h. */
11581 $ac_declaration
11582 #include <stdlib.h>
11583 int
11584 main ()
11585 {
11586 exit (42);
11587 ;
11588 return 0;
11589 }
11590 _ACEOF
11591 rm -f conftest.$ac_objext
11592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11593 (eval $ac_compile) 2>conftest.er1
11594 ac_status=$?
11595 grep -v '^ *+' conftest.er1 >conftest.err
11596 rm -f conftest.er1
11597 cat conftest.err >&5
11598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11599 (exit $ac_status); } &&
11600 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11602 (eval $ac_try) 2>&5
11603 ac_status=$?
11604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11605 (exit $ac_status); }; } &&
11606 { ac_try='test -s conftest.$ac_objext'
11607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11608 (eval $ac_try) 2>&5
11609 ac_status=$?
11610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11611 (exit $ac_status); }; }; then
11612 :
11613 else
11614 echo "$as_me: failed program was:" >&5
11615 sed 's/^/| /' conftest.$ac_ext >&5
11616
11617 continue
11618 fi
11619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11620 cat >conftest.$ac_ext <<_ACEOF
11621 /* confdefs.h. */
11622 _ACEOF
11623 cat confdefs.h >>conftest.$ac_ext
11624 cat >>conftest.$ac_ext <<_ACEOF
11625 /* end confdefs.h. */
11626 $ac_declaration
11627 int
11628 main ()
11629 {
11630 exit (42);
11631 ;
11632 return 0;
11633 }
11634 _ACEOF
11635 rm -f conftest.$ac_objext
11636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11637 (eval $ac_compile) 2>conftest.er1
11638 ac_status=$?
11639 grep -v '^ *+' conftest.er1 >conftest.err
11640 rm -f conftest.er1
11641 cat conftest.err >&5
11642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11643 (exit $ac_status); } &&
11644 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11646 (eval $ac_try) 2>&5
11647 ac_status=$?
11648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11649 (exit $ac_status); }; } &&
11650 { ac_try='test -s conftest.$ac_objext'
11651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11652 (eval $ac_try) 2>&5
11653 ac_status=$?
11654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11655 (exit $ac_status); }; }; then
11656 break
11657 else
11658 echo "$as_me: failed program was:" >&5
11659 sed 's/^/| /' conftest.$ac_ext >&5
11660
11661 fi
11662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11663 done
11664 rm -f conftest*
11665 if test -n "$ac_declaration"; then
11666 echo '#ifdef __cplusplus' >>confdefs.h
11667 echo $ac_declaration >>confdefs.h
11668 echo '#endif' >>confdefs.h
11669 fi
11670
11671 ac_ext=cc
11672 ac_cpp='$CXXCPP $CPPFLAGS'
11673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11676
11677
11678 ac_ext=c
11679 ac_cpp='$CPP $CPPFLAGS'
11680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11683
11684
11685 echo "$as_me:$LINENO: checking for /usr/local/include in default include path" >&5
11686 echo $ECHO_N "checking for /usr/local/include in default include path... $ECHO_C" >&6
11687 GCC_SEARCHES_USR_LOCAL_INCLUDE="no"
11688 if test "$GCC" = "yes" ; then
11689 echo | gcc -v -x c++ -E - 2>&1 | sed -n '/^#include </,$p' | \
11690 sed -n '1,/End of search list\./p' | \
11691 grep '^ */usr/local/include$' 2>&1 /dev/null \
11692 && GCC_SEARCHES_USR_LOCAL_INCLUDE="yes"
11693 fi
11694 echo "$as_me:$LINENO: result: $GCC_SEARCHES_USR_LOCAL_INCLUDE" >&5
11695 echo "${ECHO_T}$GCC_SEARCHES_USR_LOCAL_INCLUDE" >&6
11696
11697 if test -n "$ac_tool_prefix"; then
11698 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11699 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11700 echo "$as_me:$LINENO: checking for $ac_word" >&5
11701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11702 if test "${ac_cv_prog_RANLIB+set}" = set; then
11703 echo $ECHO_N "(cached) $ECHO_C" >&6
11704 else
11705 if test -n "$RANLIB"; then
11706 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11707 else
11708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11709 for as_dir in $PATH
11710 do
11711 IFS=$as_save_IFS
11712 test -z "$as_dir" && as_dir=.
11713 for ac_exec_ext in '' $ac_executable_extensions; do
11714 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11715 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11717 break 2
11718 fi
11719 done
11720 done
11721
11722 fi
11723 fi
11724 RANLIB=$ac_cv_prog_RANLIB
11725 if test -n "$RANLIB"; then
11726 echo "$as_me:$LINENO: result: $RANLIB" >&5
11727 echo "${ECHO_T}$RANLIB" >&6
11728 else
11729 echo "$as_me:$LINENO: result: no" >&5
11730 echo "${ECHO_T}no" >&6
11731 fi
11732
11733 fi
11734 if test -z "$ac_cv_prog_RANLIB"; then
11735 ac_ct_RANLIB=$RANLIB
11736 # Extract the first word of "ranlib", so it can be a program name with args.
11737 set dummy ranlib; ac_word=$2
11738 echo "$as_me:$LINENO: checking for $ac_word" >&5
11739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11740 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11741 echo $ECHO_N "(cached) $ECHO_C" >&6
11742 else
11743 if test -n "$ac_ct_RANLIB"; then
11744 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11745 else
11746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11747 for as_dir in $PATH
11748 do
11749 IFS=$as_save_IFS
11750 test -z "$as_dir" && as_dir=.
11751 for ac_exec_ext in '' $ac_executable_extensions; do
11752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11753 ac_cv_prog_ac_ct_RANLIB="ranlib"
11754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11755 break 2
11756 fi
11757 done
11758 done
11759
11760 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11761 fi
11762 fi
11763 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11764 if test -n "$ac_ct_RANLIB"; then
11765 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11766 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11767 else
11768 echo "$as_me:$LINENO: result: no" >&5
11769 echo "${ECHO_T}no" >&6
11770 fi
11771
11772 RANLIB=$ac_ct_RANLIB
11773 else
11774 RANLIB="$ac_cv_prog_RANLIB"
11775 fi
11776
11777
11778 # Extract the first word of "ar", so it can be a program name with args.
11779 set dummy ar; ac_word=$2
11780 echo "$as_me:$LINENO: checking for $ac_word" >&5
11781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11782 if test "${ac_cv_prog_AR+set}" = set; then
11783 echo $ECHO_N "(cached) $ECHO_C" >&6
11784 else
11785 if test -n "$AR"; then
11786 ac_cv_prog_AR="$AR" # Let the user override the test.
11787 else
11788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11789 for as_dir in $PATH
11790 do
11791 IFS=$as_save_IFS
11792 test -z "$as_dir" && as_dir=.
11793 for ac_exec_ext in '' $ac_executable_extensions; do
11794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11795 ac_cv_prog_AR="ar"
11796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11797 break 2
11798 fi
11799 done
11800 done
11801
11802 fi
11803 fi
11804 AR=$ac_cv_prog_AR
11805 if test -n "$AR"; then
11806 echo "$as_me:$LINENO: result: $AR" >&5
11807 echo "${ECHO_T}$AR" >&6
11808 else
11809 echo "$as_me:$LINENO: result: no" >&5
11810 echo "${ECHO_T}no" >&6
11811 fi
11812
11813 if test "x$AR" = "x" ; then
11814 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11815 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11816 { (exit 1); exit 1; }; }
11817 fi
11818
11819 # Find a good install program. We prefer a C program (faster),
11820 # so one script is as good as another. But avoid the broken or
11821 # incompatible versions:
11822 # SysV /etc/install, /usr/sbin/install
11823 # SunOS /usr/etc/install
11824 # IRIX /sbin/install
11825 # AIX /bin/install
11826 # AmigaOS /C/install, which installs bootblocks on floppy discs
11827 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11828 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11829 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11830 # OS/2's system install, which has a completely different semantic
11831 # ./install, which can be erroneously created by make from ./install.sh.
11832 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11833 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11834 if test -z "$INSTALL"; then
11835 if test "${ac_cv_path_install+set}" = set; then
11836 echo $ECHO_N "(cached) $ECHO_C" >&6
11837 else
11838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11839 for as_dir in $PATH
11840 do
11841 IFS=$as_save_IFS
11842 test -z "$as_dir" && as_dir=.
11843 # Account for people who put trailing slashes in PATH elements.
11844 case $as_dir/ in
11845 ./ | .// | /cC/* | \
11846 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11847 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
11848 /usr/ucb/* ) ;;
11849 *)
11850 # OSF1 and SCO ODT 3.0 have their own names for install.
11851 # Don't use installbsd from OSF since it installs stuff as root
11852 # by default.
11853 for ac_prog in ginstall scoinst install; do
11854 for ac_exec_ext in '' $ac_executable_extensions; do
11855 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11856 if test $ac_prog = install &&
11857 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11858 # AIX install. It has an incompatible calling convention.
11859 :
11860 elif test $ac_prog = install &&
11861 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11862 # program-specific install script used by HP pwplus--don't use.
11863 :
11864 else
11865 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11866 break 3
11867 fi
11868 fi
11869 done
11870 done
11871 ;;
11872 esac
11873 done
11874
11875
11876 fi
11877 if test "${ac_cv_path_install+set}" = set; then
11878 INSTALL=$ac_cv_path_install
11879 else
11880 # As a last resort, use the slow shell script. We don't cache a
11881 # path for INSTALL within a source directory, because that will
11882 # break other packages using the cache if that directory is
11883 # removed, or if the path is relative.
11884 INSTALL=$ac_install_sh
11885 fi
11886 fi
11887 echo "$as_me:$LINENO: result: $INSTALL" >&5
11888 echo "${ECHO_T}$INSTALL" >&6
11889
11890 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11891 # It thinks the first close brace ends the variable substitution.
11892 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11893
11894 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11895
11896 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11897
11898
11899 case ${INSTALL} in
11900 /* ) # Absolute
11901 ;;
11902 ?:* ) # Drive letter, considered as absolute.
11903 ;;
11904 *)
11905 INSTALL=`pwd`/${INSTALL} ;;
11906 esac
11907
11908 case ${host} in
11909 *-hp-hpux* )
11910 INSTALL_DIR="mkdir"
11911 ;;
11912
11913 *) INSTALL_DIR="$INSTALL -d"
11914 ;;
11915 esac
11916
11917
11918 case "${host}" in
11919
11920 powerpc-*-darwin* )
11921 INSTALL_PROGRAM="cp -fp"
11922 INSTALL_DATA="cp -fp"
11923 ;;
11924 *)
11925 ;;
11926 esac
11927
11928 # Extract the first word of "strip", so it can be a program name with args.
11929 set dummy strip; ac_word=$2
11930 echo "$as_me:$LINENO: checking for $ac_word" >&5
11931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11932 if test "${ac_cv_prog_STRIP+set}" = set; then
11933 echo $ECHO_N "(cached) $ECHO_C" >&6
11934 else
11935 if test -n "$STRIP"; then
11936 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11937 else
11938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11939 for as_dir in $PATH
11940 do
11941 IFS=$as_save_IFS
11942 test -z "$as_dir" && as_dir=.
11943 for ac_exec_ext in '' $ac_executable_extensions; do
11944 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11945 ac_cv_prog_STRIP="strip"
11946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11947 break 2
11948 fi
11949 done
11950 done
11951
11952 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11953 fi
11954 fi
11955 STRIP=$ac_cv_prog_STRIP
11956 if test -n "$STRIP"; then
11957 echo "$as_me:$LINENO: result: $STRIP" >&5
11958 echo "${ECHO_T}$STRIP" >&6
11959 else
11960 echo "$as_me:$LINENO: result: no" >&5
11961 echo "${ECHO_T}no" >&6
11962 fi
11963
11964
11965 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11966 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11967 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11968 echo $ECHO_N "(cached) $ECHO_C" >&6
11969 else
11970
11971 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11972 egrep -s GNU > /dev/null); then
11973 wx_cv_prog_makeisgnu="yes"
11974 else
11975 wx_cv_prog_makeisgnu="no"
11976 fi
11977
11978 fi
11979 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11980 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11981
11982 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11983 IF_GNU_MAKE=""
11984 else
11985 IF_GNU_MAKE="#"
11986 fi
11987
11988
11989
11990 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11991 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11992 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11993 if test "${wx_cv_prog_makevpath+set}" = set; then
11994 echo $ECHO_N "(cached) $ECHO_C" >&6
11995 else
11996
11997 cat - << EOF > confMake
11998 check : file
11999 cp \$? \$@
12000 cp \$? final_file
12001 EOF
12002
12003 if test ! -d sub ; then
12004 mkdir sub
12005 fi
12006 echo dummy > sub/file
12007 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
12008 RESULT=$?
12009 rm -f sub/file check final_file confMake
12010 rmdir sub
12011 if test "$RESULT" = 0; then
12012 wx_cv_prog_makevpath="yes"
12013 else
12014 wx_cv_prog_makevpath="no"
12015 fi
12016
12017 fi
12018 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12019 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12020
12021 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12022 { { echo "$as_me:$LINENO: error:
12023 You need a make-utility that is able to use the variable
12024 VPATH correctly.
12025 If your version of make does not support VPATH correctly,
12026 please install GNU-make (possibly as gmake), and start
12027 configure with the following command:
12028 export MAKE=gmake; ./configure for sh-type shells
12029 setenv MAKE gmake; ./configure for csh-type shells
12030 Also please do remember to use gmake in this case every time
12031 you are trying to compile.
12032 " >&5
12033 echo "$as_me: error:
12034 You need a make-utility that is able to use the variable
12035 VPATH correctly.
12036 If your version of make does not support VPATH correctly,
12037 please install GNU-make (possibly as gmake), and start
12038 configure with the following command:
12039 export MAKE=gmake; ./configure for sh-type shells
12040 setenv MAKE gmake; ./configure for csh-type shells
12041 Also please do remember to use gmake in this case every time
12042 you are trying to compile.
12043 " >&2;}
12044 { (exit 1); exit 1; }; }
12045 fi fi
12046 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12047 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12048 LN_S=$as_ln_s
12049 if test "$LN_S" = "ln -s"; then
12050 echo "$as_me:$LINENO: result: yes" >&5
12051 echo "${ECHO_T}yes" >&6
12052 else
12053 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12054 echo "${ECHO_T}no, using $LN_S" >&6
12055 fi
12056
12057
12058
12059 case "${host}" in
12060 *-pc-os2_emx | *-pc-os2-emx )
12061 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12062 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12063 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12064 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12065 echo $ECHO_N "(cached) $ECHO_C" >&6
12066 else
12067 ac_check_lib_save_LIBS=$LIBS
12068 LIBS="-lcExt $LIBS"
12069 cat >conftest.$ac_ext <<_ACEOF
12070 /* confdefs.h. */
12071 _ACEOF
12072 cat confdefs.h >>conftest.$ac_ext
12073 cat >>conftest.$ac_ext <<_ACEOF
12074 /* end confdefs.h. */
12075
12076 /* Override any gcc2 internal prototype to avoid an error. */
12077 #ifdef __cplusplus
12078 extern "C"
12079 #endif
12080 /* We use char because int might match the return type of a gcc2
12081 builtin and then its argument prototype would still apply. */
12082 char drand48 ();
12083 int
12084 main ()
12085 {
12086 drand48 ();
12087 ;
12088 return 0;
12089 }
12090 _ACEOF
12091 rm -f conftest.$ac_objext conftest$ac_exeext
12092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12093 (eval $ac_link) 2>conftest.er1
12094 ac_status=$?
12095 grep -v '^ *+' conftest.er1 >conftest.err
12096 rm -f conftest.er1
12097 cat conftest.err >&5
12098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12099 (exit $ac_status); } &&
12100 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12102 (eval $ac_try) 2>&5
12103 ac_status=$?
12104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12105 (exit $ac_status); }; } &&
12106 { ac_try='test -s conftest$ac_exeext'
12107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12108 (eval $ac_try) 2>&5
12109 ac_status=$?
12110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12111 (exit $ac_status); }; }; then
12112 ac_cv_lib_cExt_drand48=yes
12113 else
12114 echo "$as_me: failed program was:" >&5
12115 sed 's/^/| /' conftest.$ac_ext >&5
12116
12117 ac_cv_lib_cExt_drand48=no
12118 fi
12119 rm -f conftest.err conftest.$ac_objext \
12120 conftest$ac_exeext conftest.$ac_ext
12121 LIBS=$ac_check_lib_save_LIBS
12122 fi
12123 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12124 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12125 if test $ac_cv_lib_cExt_drand48 = yes; then
12126 LIBS="$LIBS -lcExt"
12127 fi
12128
12129 else
12130 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
12131 fi
12132 echo "$as_me:$LINENO: checking for gcc version" >&5
12133 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12134 if test "${wx_cv_gccversion+set}" = set; then
12135 echo $ECHO_N "(cached) $ECHO_C" >&6
12136 else
12137
12138 cat >conftest.$ac_ext <<_ACEOF
12139 /* confdefs.h. */
12140 _ACEOF
12141 cat confdefs.h >>conftest.$ac_ext
12142 cat >>conftest.$ac_ext <<_ACEOF
12143 /* end confdefs.h. */
12144
12145 int
12146 main ()
12147 {
12148
12149 #if (__GNUC__ < 3)
12150 #error old gcc
12151 #endif
12152
12153 ;
12154 return 0;
12155 }
12156 _ACEOF
12157 rm -f conftest.$ac_objext
12158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12159 (eval $ac_compile) 2>conftest.er1
12160 ac_status=$?
12161 grep -v '^ *+' conftest.er1 >conftest.err
12162 rm -f conftest.er1
12163 cat conftest.err >&5
12164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12165 (exit $ac_status); } &&
12166 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12168 (eval $ac_try) 2>&5
12169 ac_status=$?
12170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12171 (exit $ac_status); }; } &&
12172 { ac_try='test -s conftest.$ac_objext'
12173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12174 (eval $ac_try) 2>&5
12175 ac_status=$?
12176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12177 (exit $ac_status); }; }; then
12178
12179 cat >conftest.$ac_ext <<_ACEOF
12180 /* confdefs.h. */
12181 _ACEOF
12182 cat confdefs.h >>conftest.$ac_ext
12183 cat >>conftest.$ac_ext <<_ACEOF
12184 /* end confdefs.h. */
12185
12186 int
12187 main ()
12188 {
12189
12190 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12191 #error intermediate gcc
12192 #endif
12193
12194 ;
12195 return 0;
12196 }
12197 _ACEOF
12198 rm -f conftest.$ac_objext
12199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12200 (eval $ac_compile) 2>conftest.er1
12201 ac_status=$?
12202 grep -v '^ *+' conftest.er1 >conftest.err
12203 rm -f conftest.er1
12204 cat conftest.err >&5
12205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12206 (exit $ac_status); } &&
12207 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12209 (eval $ac_try) 2>&5
12210 ac_status=$?
12211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12212 (exit $ac_status); }; } &&
12213 { ac_try='test -s conftest.$ac_objext'
12214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12215 (eval $ac_try) 2>&5
12216 ac_status=$?
12217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12218 (exit $ac_status); }; }; then
12219
12220 wx_cv_gccversion=Innotek
12221
12222 else
12223 echo "$as_me: failed program was:" >&5
12224 sed 's/^/| /' conftest.$ac_ext >&5
12225
12226
12227 wx_cv_gccversion=3
12228
12229
12230 fi
12231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12232
12233 else
12234 echo "$as_me: failed program was:" >&5
12235 sed 's/^/| /' conftest.$ac_ext >&5
12236
12237
12238 wx_cv_gccversion=2
12239
12240
12241 fi
12242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12243
12244 fi
12245 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12246 echo "${ECHO_T}$wx_cv_gccversion" >&6
12247 if test "$wx_cv_gccversion" = "2"; then
12248 LIBS="$LIBS -lstdcpp"
12249 LDFLAGS="$LDFLAGS -Zsysv-signals"
12250 else
12251 if test "$wx_cv_gccversion" = "3"; then
12252 LIBS="$LIBS -lstdcxx"
12253 LDFLAGS="$LDFLAGS -Zsysv-signals"
12254 else
12255 LIBS="$LIBS -lstdc++"
12256 fi
12257 fi
12258 ;;
12259 *)
12260
12261
12262
12263 ac_ext=cc
12264 ac_cpp='$CXXCPP $CPPFLAGS'
12265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12268
12269
12270
12271 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12272 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12273 if test "${ac_cv_string_strcasecmp+set}" = set; then
12274 echo $ECHO_N "(cached) $ECHO_C" >&6
12275 else
12276
12277 cat >conftest.$ac_ext <<_ACEOF
12278 /* confdefs.h. */
12279 _ACEOF
12280 cat confdefs.h >>conftest.$ac_ext
12281 cat >>conftest.$ac_ext <<_ACEOF
12282 /* end confdefs.h. */
12283
12284 #include <string.h>
12285
12286 int
12287 main ()
12288 {
12289
12290 strcasecmp("foo", "bar");
12291
12292 ;
12293 return 0;
12294 }
12295 _ACEOF
12296 rm -f conftest.$ac_objext conftest$ac_exeext
12297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12298 (eval $ac_link) 2>conftest.er1
12299 ac_status=$?
12300 grep -v '^ *+' conftest.er1 >conftest.err
12301 rm -f conftest.er1
12302 cat conftest.err >&5
12303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12304 (exit $ac_status); } &&
12305 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12307 (eval $ac_try) 2>&5
12308 ac_status=$?
12309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12310 (exit $ac_status); }; } &&
12311 { ac_try='test -s conftest$ac_exeext'
12312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12313 (eval $ac_try) 2>&5
12314 ac_status=$?
12315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12316 (exit $ac_status); }; }; then
12317 ac_cv_string_strcasecmp=yes
12318 else
12319 echo "$as_me: failed program was:" >&5
12320 sed 's/^/| /' conftest.$ac_ext >&5
12321
12322 ac_cv_string_strcasecmp=no
12323
12324 fi
12325 rm -f conftest.err conftest.$ac_objext \
12326 conftest$ac_exeext conftest.$ac_ext
12327
12328 fi
12329 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12330 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12331
12332 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12333 cat >>confdefs.h <<\_ACEOF
12334 #define HAVE_STRCASECMP_IN_STRING_H 1
12335 _ACEOF
12336
12337 else
12338 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12339 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12340 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12341 echo $ECHO_N "(cached) $ECHO_C" >&6
12342 else
12343
12344 cat >conftest.$ac_ext <<_ACEOF
12345 /* confdefs.h. */
12346 _ACEOF
12347 cat confdefs.h >>conftest.$ac_ext
12348 cat >>conftest.$ac_ext <<_ACEOF
12349 /* end confdefs.h. */
12350
12351 #include <strings.h>
12352
12353 int
12354 main ()
12355 {
12356
12357 strcasecmp("foo", "bar");
12358
12359 ;
12360 return 0;
12361 }
12362 _ACEOF
12363 rm -f conftest.$ac_objext conftest$ac_exeext
12364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12365 (eval $ac_link) 2>conftest.er1
12366 ac_status=$?
12367 grep -v '^ *+' conftest.er1 >conftest.err
12368 rm -f conftest.er1
12369 cat conftest.err >&5
12370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12371 (exit $ac_status); } &&
12372 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12374 (eval $ac_try) 2>&5
12375 ac_status=$?
12376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12377 (exit $ac_status); }; } &&
12378 { ac_try='test -s conftest$ac_exeext'
12379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12380 (eval $ac_try) 2>&5
12381 ac_status=$?
12382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12383 (exit $ac_status); }; }; then
12384 ac_cv_strings_strcasecmp=yes
12385 else
12386 echo "$as_me: failed program was:" >&5
12387 sed 's/^/| /' conftest.$ac_ext >&5
12388
12389 ac_cv_strings_strcasecmp=no
12390
12391 fi
12392 rm -f conftest.err conftest.$ac_objext \
12393 conftest$ac_exeext conftest.$ac_ext
12394
12395 fi
12396 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12397 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12398
12399 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12400 cat >>confdefs.h <<\_ACEOF
12401 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12402 _ACEOF
12403
12404 else
12405 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12406 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12407 { (exit 1); exit 1; }; }
12408 fi
12409 fi
12410
12411 ac_ext=c
12412 ac_cpp='$CPP $CPPFLAGS'
12413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12416
12417 ;;
12418 esac
12419
12420
12421 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12422 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12423 if test "${ac_cv_header_stdc+set}" = set; then
12424 echo $ECHO_N "(cached) $ECHO_C" >&6
12425 else
12426 cat >conftest.$ac_ext <<_ACEOF
12427 /* confdefs.h. */
12428 _ACEOF
12429 cat confdefs.h >>conftest.$ac_ext
12430 cat >>conftest.$ac_ext <<_ACEOF
12431 /* end confdefs.h. */
12432 #include <stdlib.h>
12433 #include <stdarg.h>
12434 #include <string.h>
12435 #include <float.h>
12436
12437 int
12438 main ()
12439 {
12440
12441 ;
12442 return 0;
12443 }
12444 _ACEOF
12445 rm -f conftest.$ac_objext
12446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12447 (eval $ac_compile) 2>conftest.er1
12448 ac_status=$?
12449 grep -v '^ *+' conftest.er1 >conftest.err
12450 rm -f conftest.er1
12451 cat conftest.err >&5
12452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12453 (exit $ac_status); } &&
12454 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12456 (eval $ac_try) 2>&5
12457 ac_status=$?
12458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12459 (exit $ac_status); }; } &&
12460 { ac_try='test -s conftest.$ac_objext'
12461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12462 (eval $ac_try) 2>&5
12463 ac_status=$?
12464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12465 (exit $ac_status); }; }; then
12466 ac_cv_header_stdc=yes
12467 else
12468 echo "$as_me: failed program was:" >&5
12469 sed 's/^/| /' conftest.$ac_ext >&5
12470
12471 ac_cv_header_stdc=no
12472 fi
12473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12474
12475 if test $ac_cv_header_stdc = yes; then
12476 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12477 cat >conftest.$ac_ext <<_ACEOF
12478 /* confdefs.h. */
12479 _ACEOF
12480 cat confdefs.h >>conftest.$ac_ext
12481 cat >>conftest.$ac_ext <<_ACEOF
12482 /* end confdefs.h. */
12483 #include <string.h>
12484
12485 _ACEOF
12486 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12487 $EGREP "memchr" >/dev/null 2>&1; then
12488 :
12489 else
12490 ac_cv_header_stdc=no
12491 fi
12492 rm -f conftest*
12493
12494 fi
12495
12496 if test $ac_cv_header_stdc = yes; then
12497 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12498 cat >conftest.$ac_ext <<_ACEOF
12499 /* confdefs.h. */
12500 _ACEOF
12501 cat confdefs.h >>conftest.$ac_ext
12502 cat >>conftest.$ac_ext <<_ACEOF
12503 /* end confdefs.h. */
12504 #include <stdlib.h>
12505
12506 _ACEOF
12507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12508 $EGREP "free" >/dev/null 2>&1; then
12509 :
12510 else
12511 ac_cv_header_stdc=no
12512 fi
12513 rm -f conftest*
12514
12515 fi
12516
12517 if test $ac_cv_header_stdc = yes; then
12518 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12519 if test "$cross_compiling" = yes; then
12520 :
12521 else
12522 cat >conftest.$ac_ext <<_ACEOF
12523 /* confdefs.h. */
12524 _ACEOF
12525 cat confdefs.h >>conftest.$ac_ext
12526 cat >>conftest.$ac_ext <<_ACEOF
12527 /* end confdefs.h. */
12528 #include <ctype.h>
12529 #if ((' ' & 0x0FF) == 0x020)
12530 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12531 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12532 #else
12533 # define ISLOWER(c) \
12534 (('a' <= (c) && (c) <= 'i') \
12535 || ('j' <= (c) && (c) <= 'r') \
12536 || ('s' <= (c) && (c) <= 'z'))
12537 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12538 #endif
12539
12540 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12541 int
12542 main ()
12543 {
12544 int i;
12545 for (i = 0; i < 256; i++)
12546 if (XOR (islower (i), ISLOWER (i))
12547 || toupper (i) != TOUPPER (i))
12548 exit(2);
12549 exit (0);
12550 }
12551 _ACEOF
12552 rm -f conftest$ac_exeext
12553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12554 (eval $ac_link) 2>&5
12555 ac_status=$?
12556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12557 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12559 (eval $ac_try) 2>&5
12560 ac_status=$?
12561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12562 (exit $ac_status); }; }; then
12563 :
12564 else
12565 echo "$as_me: program exited with status $ac_status" >&5
12566 echo "$as_me: failed program was:" >&5
12567 sed 's/^/| /' conftest.$ac_ext >&5
12568
12569 ( exit $ac_status )
12570 ac_cv_header_stdc=no
12571 fi
12572 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12573 fi
12574 fi
12575 fi
12576 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12577 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12578 if test $ac_cv_header_stdc = yes; then
12579
12580 cat >>confdefs.h <<\_ACEOF
12581 #define STDC_HEADERS 1
12582 _ACEOF
12583
12584 fi
12585
12586 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12597 inttypes.h stdint.h unistd.h
12598 do
12599 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12600 echo "$as_me:$LINENO: checking for $ac_header" >&5
12601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12602 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12603 echo $ECHO_N "(cached) $ECHO_C" >&6
12604 else
12605 cat >conftest.$ac_ext <<_ACEOF
12606 /* confdefs.h. */
12607 _ACEOF
12608 cat confdefs.h >>conftest.$ac_ext
12609 cat >>conftest.$ac_ext <<_ACEOF
12610 /* end confdefs.h. */
12611 $ac_includes_default
12612
12613 #include <$ac_header>
12614 _ACEOF
12615 rm -f conftest.$ac_objext
12616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12617 (eval $ac_compile) 2>conftest.er1
12618 ac_status=$?
12619 grep -v '^ *+' conftest.er1 >conftest.err
12620 rm -f conftest.er1
12621 cat conftest.err >&5
12622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12623 (exit $ac_status); } &&
12624 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12626 (eval $ac_try) 2>&5
12627 ac_status=$?
12628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12629 (exit $ac_status); }; } &&
12630 { ac_try='test -s conftest.$ac_objext'
12631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12632 (eval $ac_try) 2>&5
12633 ac_status=$?
12634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12635 (exit $ac_status); }; }; then
12636 eval "$as_ac_Header=yes"
12637 else
12638 echo "$as_me: failed program was:" >&5
12639 sed 's/^/| /' conftest.$ac_ext >&5
12640
12641 eval "$as_ac_Header=no"
12642 fi
12643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12644 fi
12645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12646 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12647 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12648 cat >>confdefs.h <<_ACEOF
12649 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12650 _ACEOF
12651
12652 fi
12653
12654 done
12655
12656
12657
12658 for ac_header in stdlib.h
12659 do
12660 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12661 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12662 echo "$as_me:$LINENO: checking for $ac_header" >&5
12663 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12664 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12665 echo $ECHO_N "(cached) $ECHO_C" >&6
12666 fi
12667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12668 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12669 else
12670 # Is the header compilable?
12671 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12672 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12673 cat >conftest.$ac_ext <<_ACEOF
12674 /* confdefs.h. */
12675 _ACEOF
12676 cat confdefs.h >>conftest.$ac_ext
12677 cat >>conftest.$ac_ext <<_ACEOF
12678 /* end confdefs.h. */
12679 $ac_includes_default
12680 #include <$ac_header>
12681 _ACEOF
12682 rm -f conftest.$ac_objext
12683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12684 (eval $ac_compile) 2>conftest.er1
12685 ac_status=$?
12686 grep -v '^ *+' conftest.er1 >conftest.err
12687 rm -f conftest.er1
12688 cat conftest.err >&5
12689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12690 (exit $ac_status); } &&
12691 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12693 (eval $ac_try) 2>&5
12694 ac_status=$?
12695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12696 (exit $ac_status); }; } &&
12697 { ac_try='test -s conftest.$ac_objext'
12698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12699 (eval $ac_try) 2>&5
12700 ac_status=$?
12701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12702 (exit $ac_status); }; }; then
12703 ac_header_compiler=yes
12704 else
12705 echo "$as_me: failed program was:" >&5
12706 sed 's/^/| /' conftest.$ac_ext >&5
12707
12708 ac_header_compiler=no
12709 fi
12710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12711 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12712 echo "${ECHO_T}$ac_header_compiler" >&6
12713
12714 # Is the header present?
12715 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12716 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12717 cat >conftest.$ac_ext <<_ACEOF
12718 /* confdefs.h. */
12719 _ACEOF
12720 cat confdefs.h >>conftest.$ac_ext
12721 cat >>conftest.$ac_ext <<_ACEOF
12722 /* end confdefs.h. */
12723 #include <$ac_header>
12724 _ACEOF
12725 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12726 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12727 ac_status=$?
12728 grep -v '^ *+' conftest.er1 >conftest.err
12729 rm -f conftest.er1
12730 cat conftest.err >&5
12731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12732 (exit $ac_status); } >/dev/null; then
12733 if test -s conftest.err; then
12734 ac_cpp_err=$ac_c_preproc_warn_flag
12735 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12736 else
12737 ac_cpp_err=
12738 fi
12739 else
12740 ac_cpp_err=yes
12741 fi
12742 if test -z "$ac_cpp_err"; then
12743 ac_header_preproc=yes
12744 else
12745 echo "$as_me: failed program was:" >&5
12746 sed 's/^/| /' conftest.$ac_ext >&5
12747
12748 ac_header_preproc=no
12749 fi
12750 rm -f conftest.err conftest.$ac_ext
12751 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12752 echo "${ECHO_T}$ac_header_preproc" >&6
12753
12754 # So? What about this header?
12755 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12756 yes:no: )
12757 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12758 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12759 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12760 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12761 ac_header_preproc=yes
12762 ;;
12763 no:yes:* )
12764 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12765 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12766 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12767 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12768 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12769 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12770 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12771 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12772 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12773 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12774 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12775 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12776 (
12777 cat <<\_ASBOX
12778 ## ----------------------------------------- ##
12779 ## Report this to wx-dev@lists.wxwindows.org ##
12780 ## ----------------------------------------- ##
12781 _ASBOX
12782 ) |
12783 sed "s/^/$as_me: WARNING: /" >&2
12784 ;;
12785 esac
12786 echo "$as_me:$LINENO: checking for $ac_header" >&5
12787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12789 echo $ECHO_N "(cached) $ECHO_C" >&6
12790 else
12791 eval "$as_ac_Header=\$ac_header_preproc"
12792 fi
12793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12794 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12795
12796 fi
12797 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12798 cat >>confdefs.h <<_ACEOF
12799 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12800 _ACEOF
12801
12802 fi
12803
12804 done
12805
12806
12807 for ac_header in malloc.h
12808 do
12809 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12811 echo "$as_me:$LINENO: checking for $ac_header" >&5
12812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12813 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12814 echo $ECHO_N "(cached) $ECHO_C" >&6
12815 fi
12816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12817 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12818 else
12819 # Is the header compilable?
12820 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12821 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12822 cat >conftest.$ac_ext <<_ACEOF
12823 /* confdefs.h. */
12824 _ACEOF
12825 cat confdefs.h >>conftest.$ac_ext
12826 cat >>conftest.$ac_ext <<_ACEOF
12827 /* end confdefs.h. */
12828 $ac_includes_default
12829 #include <$ac_header>
12830 _ACEOF
12831 rm -f conftest.$ac_objext
12832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12833 (eval $ac_compile) 2>conftest.er1
12834 ac_status=$?
12835 grep -v '^ *+' conftest.er1 >conftest.err
12836 rm -f conftest.er1
12837 cat conftest.err >&5
12838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12839 (exit $ac_status); } &&
12840 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12842 (eval $ac_try) 2>&5
12843 ac_status=$?
12844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12845 (exit $ac_status); }; } &&
12846 { ac_try='test -s conftest.$ac_objext'
12847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12848 (eval $ac_try) 2>&5
12849 ac_status=$?
12850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12851 (exit $ac_status); }; }; then
12852 ac_header_compiler=yes
12853 else
12854 echo "$as_me: failed program was:" >&5
12855 sed 's/^/| /' conftest.$ac_ext >&5
12856
12857 ac_header_compiler=no
12858 fi
12859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12860 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12861 echo "${ECHO_T}$ac_header_compiler" >&6
12862
12863 # Is the header present?
12864 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12865 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12866 cat >conftest.$ac_ext <<_ACEOF
12867 /* confdefs.h. */
12868 _ACEOF
12869 cat confdefs.h >>conftest.$ac_ext
12870 cat >>conftest.$ac_ext <<_ACEOF
12871 /* end confdefs.h. */
12872 #include <$ac_header>
12873 _ACEOF
12874 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12875 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12876 ac_status=$?
12877 grep -v '^ *+' conftest.er1 >conftest.err
12878 rm -f conftest.er1
12879 cat conftest.err >&5
12880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12881 (exit $ac_status); } >/dev/null; then
12882 if test -s conftest.err; then
12883 ac_cpp_err=$ac_c_preproc_warn_flag
12884 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12885 else
12886 ac_cpp_err=
12887 fi
12888 else
12889 ac_cpp_err=yes
12890 fi
12891 if test -z "$ac_cpp_err"; then
12892 ac_header_preproc=yes
12893 else
12894 echo "$as_me: failed program was:" >&5
12895 sed 's/^/| /' conftest.$ac_ext >&5
12896
12897 ac_header_preproc=no
12898 fi
12899 rm -f conftest.err conftest.$ac_ext
12900 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12901 echo "${ECHO_T}$ac_header_preproc" >&6
12902
12903 # So? What about this header?
12904 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12905 yes:no: )
12906 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12907 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12909 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12910 ac_header_preproc=yes
12911 ;;
12912 no:yes:* )
12913 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12914 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12915 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12916 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12917 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12918 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12919 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12920 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12921 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12922 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12923 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12924 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12925 (
12926 cat <<\_ASBOX
12927 ## ----------------------------------------- ##
12928 ## Report this to wx-dev@lists.wxwindows.org ##
12929 ## ----------------------------------------- ##
12930 _ASBOX
12931 ) |
12932 sed "s/^/$as_me: WARNING: /" >&2
12933 ;;
12934 esac
12935 echo "$as_me:$LINENO: checking for $ac_header" >&5
12936 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12938 echo $ECHO_N "(cached) $ECHO_C" >&6
12939 else
12940 eval "$as_ac_Header=\$ac_header_preproc"
12941 fi
12942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12944
12945 fi
12946 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12947 cat >>confdefs.h <<_ACEOF
12948 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12949 _ACEOF
12950
12951 fi
12952
12953 done
12954
12955
12956 for ac_header in unistd.h
12957 do
12958 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12960 echo "$as_me:$LINENO: checking for $ac_header" >&5
12961 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12962 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12963 echo $ECHO_N "(cached) $ECHO_C" >&6
12964 fi
12965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12966 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12967 else
12968 # Is the header compilable?
12969 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12970 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12971 cat >conftest.$ac_ext <<_ACEOF
12972 /* confdefs.h. */
12973 _ACEOF
12974 cat confdefs.h >>conftest.$ac_ext
12975 cat >>conftest.$ac_ext <<_ACEOF
12976 /* end confdefs.h. */
12977 $ac_includes_default
12978 #include <$ac_header>
12979 _ACEOF
12980 rm -f conftest.$ac_objext
12981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12982 (eval $ac_compile) 2>conftest.er1
12983 ac_status=$?
12984 grep -v '^ *+' conftest.er1 >conftest.err
12985 rm -f conftest.er1
12986 cat conftest.err >&5
12987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12988 (exit $ac_status); } &&
12989 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12991 (eval $ac_try) 2>&5
12992 ac_status=$?
12993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12994 (exit $ac_status); }; } &&
12995 { ac_try='test -s conftest.$ac_objext'
12996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12997 (eval $ac_try) 2>&5
12998 ac_status=$?
12999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000 (exit $ac_status); }; }; then
13001 ac_header_compiler=yes
13002 else
13003 echo "$as_me: failed program was:" >&5
13004 sed 's/^/| /' conftest.$ac_ext >&5
13005
13006 ac_header_compiler=no
13007 fi
13008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13009 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13010 echo "${ECHO_T}$ac_header_compiler" >&6
13011
13012 # Is the header present?
13013 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13014 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13015 cat >conftest.$ac_ext <<_ACEOF
13016 /* confdefs.h. */
13017 _ACEOF
13018 cat confdefs.h >>conftest.$ac_ext
13019 cat >>conftest.$ac_ext <<_ACEOF
13020 /* end confdefs.h. */
13021 #include <$ac_header>
13022 _ACEOF
13023 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13024 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13025 ac_status=$?
13026 grep -v '^ *+' conftest.er1 >conftest.err
13027 rm -f conftest.er1
13028 cat conftest.err >&5
13029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13030 (exit $ac_status); } >/dev/null; then
13031 if test -s conftest.err; then
13032 ac_cpp_err=$ac_c_preproc_warn_flag
13033 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13034 else
13035 ac_cpp_err=
13036 fi
13037 else
13038 ac_cpp_err=yes
13039 fi
13040 if test -z "$ac_cpp_err"; then
13041 ac_header_preproc=yes
13042 else
13043 echo "$as_me: failed program was:" >&5
13044 sed 's/^/| /' conftest.$ac_ext >&5
13045
13046 ac_header_preproc=no
13047 fi
13048 rm -f conftest.err conftest.$ac_ext
13049 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13050 echo "${ECHO_T}$ac_header_preproc" >&6
13051
13052 # So? What about this header?
13053 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13054 yes:no: )
13055 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13056 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13057 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13058 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13059 ac_header_preproc=yes
13060 ;;
13061 no:yes:* )
13062 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13063 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13064 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13065 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13066 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13067 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13068 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13069 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13070 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13071 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13072 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13073 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13074 (
13075 cat <<\_ASBOX
13076 ## ----------------------------------------- ##
13077 ## Report this to wx-dev@lists.wxwindows.org ##
13078 ## ----------------------------------------- ##
13079 _ASBOX
13080 ) |
13081 sed "s/^/$as_me: WARNING: /" >&2
13082 ;;
13083 esac
13084 echo "$as_me:$LINENO: checking for $ac_header" >&5
13085 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13086 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13087 echo $ECHO_N "(cached) $ECHO_C" >&6
13088 else
13089 eval "$as_ac_Header=\$ac_header_preproc"
13090 fi
13091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13092 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13093
13094 fi
13095 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13096 cat >>confdefs.h <<_ACEOF
13097 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13098 _ACEOF
13099
13100 fi
13101
13102 done
13103
13104
13105 for ac_header in wchar.h
13106 do
13107 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13108 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13109 echo "$as_me:$LINENO: checking for $ac_header" >&5
13110 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13111 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13112 echo $ECHO_N "(cached) $ECHO_C" >&6
13113 fi
13114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13115 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13116 else
13117 # Is the header compilable?
13118 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13119 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13120 cat >conftest.$ac_ext <<_ACEOF
13121 /* confdefs.h. */
13122 _ACEOF
13123 cat confdefs.h >>conftest.$ac_ext
13124 cat >>conftest.$ac_ext <<_ACEOF
13125 /* end confdefs.h. */
13126 $ac_includes_default
13127 #include <$ac_header>
13128 _ACEOF
13129 rm -f conftest.$ac_objext
13130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13131 (eval $ac_compile) 2>conftest.er1
13132 ac_status=$?
13133 grep -v '^ *+' conftest.er1 >conftest.err
13134 rm -f conftest.er1
13135 cat conftest.err >&5
13136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13137 (exit $ac_status); } &&
13138 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13140 (eval $ac_try) 2>&5
13141 ac_status=$?
13142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13143 (exit $ac_status); }; } &&
13144 { ac_try='test -s conftest.$ac_objext'
13145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13146 (eval $ac_try) 2>&5
13147 ac_status=$?
13148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13149 (exit $ac_status); }; }; then
13150 ac_header_compiler=yes
13151 else
13152 echo "$as_me: failed program was:" >&5
13153 sed 's/^/| /' conftest.$ac_ext >&5
13154
13155 ac_header_compiler=no
13156 fi
13157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13158 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13159 echo "${ECHO_T}$ac_header_compiler" >&6
13160
13161 # Is the header present?
13162 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13163 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13164 cat >conftest.$ac_ext <<_ACEOF
13165 /* confdefs.h. */
13166 _ACEOF
13167 cat confdefs.h >>conftest.$ac_ext
13168 cat >>conftest.$ac_ext <<_ACEOF
13169 /* end confdefs.h. */
13170 #include <$ac_header>
13171 _ACEOF
13172 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13173 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13174 ac_status=$?
13175 grep -v '^ *+' conftest.er1 >conftest.err
13176 rm -f conftest.er1
13177 cat conftest.err >&5
13178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13179 (exit $ac_status); } >/dev/null; then
13180 if test -s conftest.err; then
13181 ac_cpp_err=$ac_c_preproc_warn_flag
13182 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13183 else
13184 ac_cpp_err=
13185 fi
13186 else
13187 ac_cpp_err=yes
13188 fi
13189 if test -z "$ac_cpp_err"; then
13190 ac_header_preproc=yes
13191 else
13192 echo "$as_me: failed program was:" >&5
13193 sed 's/^/| /' conftest.$ac_ext >&5
13194
13195 ac_header_preproc=no
13196 fi
13197 rm -f conftest.err conftest.$ac_ext
13198 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13199 echo "${ECHO_T}$ac_header_preproc" >&6
13200
13201 # So? What about this header?
13202 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13203 yes:no: )
13204 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13205 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13206 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13207 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13208 ac_header_preproc=yes
13209 ;;
13210 no:yes:* )
13211 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13212 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13213 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13214 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13215 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13216 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13217 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13218 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13219 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13220 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13221 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13222 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13223 (
13224 cat <<\_ASBOX
13225 ## ----------------------------------------- ##
13226 ## Report this to wx-dev@lists.wxwindows.org ##
13227 ## ----------------------------------------- ##
13228 _ASBOX
13229 ) |
13230 sed "s/^/$as_me: WARNING: /" >&2
13231 ;;
13232 esac
13233 echo "$as_me:$LINENO: checking for $ac_header" >&5
13234 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13235 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13236 echo $ECHO_N "(cached) $ECHO_C" >&6
13237 else
13238 eval "$as_ac_Header=\$ac_header_preproc"
13239 fi
13240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13241 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13242
13243 fi
13244 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13245 cat >>confdefs.h <<_ACEOF
13246 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13247 _ACEOF
13248
13249 fi
13250
13251 done
13252
13253
13254 if test "$ac_cv_header_wchar_h" != "yes"; then
13255
13256 for ac_header in wcstr.h
13257 do
13258 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13260 echo "$as_me:$LINENO: checking for $ac_header" >&5
13261 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13263 echo $ECHO_N "(cached) $ECHO_C" >&6
13264 fi
13265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13266 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13267 else
13268 # Is the header compilable?
13269 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13270 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13271 cat >conftest.$ac_ext <<_ACEOF
13272 /* confdefs.h. */
13273 _ACEOF
13274 cat confdefs.h >>conftest.$ac_ext
13275 cat >>conftest.$ac_ext <<_ACEOF
13276 /* end confdefs.h. */
13277 $ac_includes_default
13278 #include <$ac_header>
13279 _ACEOF
13280 rm -f conftest.$ac_objext
13281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13282 (eval $ac_compile) 2>conftest.er1
13283 ac_status=$?
13284 grep -v '^ *+' conftest.er1 >conftest.err
13285 rm -f conftest.er1
13286 cat conftest.err >&5
13287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13288 (exit $ac_status); } &&
13289 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13291 (eval $ac_try) 2>&5
13292 ac_status=$?
13293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13294 (exit $ac_status); }; } &&
13295 { ac_try='test -s conftest.$ac_objext'
13296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13297 (eval $ac_try) 2>&5
13298 ac_status=$?
13299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13300 (exit $ac_status); }; }; then
13301 ac_header_compiler=yes
13302 else
13303 echo "$as_me: failed program was:" >&5
13304 sed 's/^/| /' conftest.$ac_ext >&5
13305
13306 ac_header_compiler=no
13307 fi
13308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13309 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13310 echo "${ECHO_T}$ac_header_compiler" >&6
13311
13312 # Is the header present?
13313 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13314 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13315 cat >conftest.$ac_ext <<_ACEOF
13316 /* confdefs.h. */
13317 _ACEOF
13318 cat confdefs.h >>conftest.$ac_ext
13319 cat >>conftest.$ac_ext <<_ACEOF
13320 /* end confdefs.h. */
13321 #include <$ac_header>
13322 _ACEOF
13323 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13324 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13325 ac_status=$?
13326 grep -v '^ *+' conftest.er1 >conftest.err
13327 rm -f conftest.er1
13328 cat conftest.err >&5
13329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13330 (exit $ac_status); } >/dev/null; then
13331 if test -s conftest.err; then
13332 ac_cpp_err=$ac_c_preproc_warn_flag
13333 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13334 else
13335 ac_cpp_err=
13336 fi
13337 else
13338 ac_cpp_err=yes
13339 fi
13340 if test -z "$ac_cpp_err"; then
13341 ac_header_preproc=yes
13342 else
13343 echo "$as_me: failed program was:" >&5
13344 sed 's/^/| /' conftest.$ac_ext >&5
13345
13346 ac_header_preproc=no
13347 fi
13348 rm -f conftest.err conftest.$ac_ext
13349 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13350 echo "${ECHO_T}$ac_header_preproc" >&6
13351
13352 # So? What about this header?
13353 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13354 yes:no: )
13355 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13356 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13357 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13358 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13359 ac_header_preproc=yes
13360 ;;
13361 no:yes:* )
13362 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13363 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13364 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13365 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13366 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13367 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13368 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13369 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13370 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13371 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13372 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13373 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13374 (
13375 cat <<\_ASBOX
13376 ## ----------------------------------------- ##
13377 ## Report this to wx-dev@lists.wxwindows.org ##
13378 ## ----------------------------------------- ##
13379 _ASBOX
13380 ) |
13381 sed "s/^/$as_me: WARNING: /" >&2
13382 ;;
13383 esac
13384 echo "$as_me:$LINENO: checking for $ac_header" >&5
13385 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13386 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13387 echo $ECHO_N "(cached) $ECHO_C" >&6
13388 else
13389 eval "$as_ac_Header=\$ac_header_preproc"
13390 fi
13391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13392 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13393
13394 fi
13395 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13396 cat >>confdefs.h <<_ACEOF
13397 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13398 _ACEOF
13399
13400 fi
13401
13402 done
13403
13404 fi
13405
13406
13407 for ac_header in fnmatch.h
13408 do
13409 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13411 echo "$as_me:$LINENO: checking for $ac_header" >&5
13412 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13413 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13414 echo $ECHO_N "(cached) $ECHO_C" >&6
13415 fi
13416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13417 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13418 else
13419 # Is the header compilable?
13420 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13421 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13422 cat >conftest.$ac_ext <<_ACEOF
13423 /* confdefs.h. */
13424 _ACEOF
13425 cat confdefs.h >>conftest.$ac_ext
13426 cat >>conftest.$ac_ext <<_ACEOF
13427 /* end confdefs.h. */
13428 $ac_includes_default
13429 #include <$ac_header>
13430 _ACEOF
13431 rm -f conftest.$ac_objext
13432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13433 (eval $ac_compile) 2>conftest.er1
13434 ac_status=$?
13435 grep -v '^ *+' conftest.er1 >conftest.err
13436 rm -f conftest.er1
13437 cat conftest.err >&5
13438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13439 (exit $ac_status); } &&
13440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13442 (eval $ac_try) 2>&5
13443 ac_status=$?
13444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13445 (exit $ac_status); }; } &&
13446 { ac_try='test -s conftest.$ac_objext'
13447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13448 (eval $ac_try) 2>&5
13449 ac_status=$?
13450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13451 (exit $ac_status); }; }; then
13452 ac_header_compiler=yes
13453 else
13454 echo "$as_me: failed program was:" >&5
13455 sed 's/^/| /' conftest.$ac_ext >&5
13456
13457 ac_header_compiler=no
13458 fi
13459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13460 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13461 echo "${ECHO_T}$ac_header_compiler" >&6
13462
13463 # Is the header present?
13464 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13465 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13466 cat >conftest.$ac_ext <<_ACEOF
13467 /* confdefs.h. */
13468 _ACEOF
13469 cat confdefs.h >>conftest.$ac_ext
13470 cat >>conftest.$ac_ext <<_ACEOF
13471 /* end confdefs.h. */
13472 #include <$ac_header>
13473 _ACEOF
13474 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13475 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13476 ac_status=$?
13477 grep -v '^ *+' conftest.er1 >conftest.err
13478 rm -f conftest.er1
13479 cat conftest.err >&5
13480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13481 (exit $ac_status); } >/dev/null; then
13482 if test -s conftest.err; then
13483 ac_cpp_err=$ac_c_preproc_warn_flag
13484 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13485 else
13486 ac_cpp_err=
13487 fi
13488 else
13489 ac_cpp_err=yes
13490 fi
13491 if test -z "$ac_cpp_err"; then
13492 ac_header_preproc=yes
13493 else
13494 echo "$as_me: failed program was:" >&5
13495 sed 's/^/| /' conftest.$ac_ext >&5
13496
13497 ac_header_preproc=no
13498 fi
13499 rm -f conftest.err conftest.$ac_ext
13500 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13501 echo "${ECHO_T}$ac_header_preproc" >&6
13502
13503 # So? What about this header?
13504 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13505 yes:no: )
13506 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13507 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13508 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13509 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13510 ac_header_preproc=yes
13511 ;;
13512 no:yes:* )
13513 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13514 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13515 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13516 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13517 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13518 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13519 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13520 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13521 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13522 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13523 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13524 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13525 (
13526 cat <<\_ASBOX
13527 ## ----------------------------------------- ##
13528 ## Report this to wx-dev@lists.wxwindows.org ##
13529 ## ----------------------------------------- ##
13530 _ASBOX
13531 ) |
13532 sed "s/^/$as_me: WARNING: /" >&2
13533 ;;
13534 esac
13535 echo "$as_me:$LINENO: checking for $ac_header" >&5
13536 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13537 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13538 echo $ECHO_N "(cached) $ECHO_C" >&6
13539 else
13540 eval "$as_ac_Header=\$ac_header_preproc"
13541 fi
13542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13543 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13544
13545 fi
13546 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13547 cat >>confdefs.h <<_ACEOF
13548 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13549 _ACEOF
13550
13551 fi
13552
13553 done
13554
13555
13556 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13557
13558 for ac_func in fnmatch
13559 do
13560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13561 echo "$as_me:$LINENO: checking for $ac_func" >&5
13562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13563 if eval "test \"\${$as_ac_var+set}\" = set"; then
13564 echo $ECHO_N "(cached) $ECHO_C" >&6
13565 else
13566 cat >conftest.$ac_ext <<_ACEOF
13567 /* confdefs.h. */
13568 _ACEOF
13569 cat confdefs.h >>conftest.$ac_ext
13570 cat >>conftest.$ac_ext <<_ACEOF
13571 /* end confdefs.h. */
13572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13574 #define $ac_func innocuous_$ac_func
13575
13576 /* System header to define __stub macros and hopefully few prototypes,
13577 which can conflict with char $ac_func (); below.
13578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13579 <limits.h> exists even on freestanding compilers. */
13580
13581 #ifdef __STDC__
13582 # include <limits.h>
13583 #else
13584 # include <assert.h>
13585 #endif
13586
13587 #undef $ac_func
13588
13589 /* Override any gcc2 internal prototype to avoid an error. */
13590 #ifdef __cplusplus
13591 extern "C"
13592 {
13593 #endif
13594 /* We use char because int might match the return type of a gcc2
13595 builtin and then its argument prototype would still apply. */
13596 char $ac_func ();
13597 /* The GNU C library defines this for functions which it implements
13598 to always fail with ENOSYS. Some functions are actually named
13599 something starting with __ and the normal name is an alias. */
13600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13601 choke me
13602 #else
13603 char (*f) () = $ac_func;
13604 #endif
13605 #ifdef __cplusplus
13606 }
13607 #endif
13608
13609 int
13610 main ()
13611 {
13612 return f != $ac_func;
13613 ;
13614 return 0;
13615 }
13616 _ACEOF
13617 rm -f conftest.$ac_objext conftest$ac_exeext
13618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13619 (eval $ac_link) 2>conftest.er1
13620 ac_status=$?
13621 grep -v '^ *+' conftest.er1 >conftest.err
13622 rm -f conftest.er1
13623 cat conftest.err >&5
13624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13625 (exit $ac_status); } &&
13626 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13628 (eval $ac_try) 2>&5
13629 ac_status=$?
13630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13631 (exit $ac_status); }; } &&
13632 { ac_try='test -s conftest$ac_exeext'
13633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13634 (eval $ac_try) 2>&5
13635 ac_status=$?
13636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13637 (exit $ac_status); }; }; then
13638 eval "$as_ac_var=yes"
13639 else
13640 echo "$as_me: failed program was:" >&5
13641 sed 's/^/| /' conftest.$ac_ext >&5
13642
13643 eval "$as_ac_var=no"
13644 fi
13645 rm -f conftest.err conftest.$ac_objext \
13646 conftest$ac_exeext conftest.$ac_ext
13647 fi
13648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13650 if test `eval echo '${'$as_ac_var'}'` = yes; then
13651 cat >>confdefs.h <<_ACEOF
13652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13653 _ACEOF
13654
13655 fi
13656 done
13657
13658 fi
13659
13660
13661 for ac_header in langinfo.h
13662 do
13663 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13664 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13665 echo "$as_me:$LINENO: checking for $ac_header" >&5
13666 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13667 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13668 echo $ECHO_N "(cached) $ECHO_C" >&6
13669 fi
13670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13671 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13672 else
13673 # Is the header compilable?
13674 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13675 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13676 cat >conftest.$ac_ext <<_ACEOF
13677 /* confdefs.h. */
13678 _ACEOF
13679 cat confdefs.h >>conftest.$ac_ext
13680 cat >>conftest.$ac_ext <<_ACEOF
13681 /* end confdefs.h. */
13682 $ac_includes_default
13683 #include <$ac_header>
13684 _ACEOF
13685 rm -f conftest.$ac_objext
13686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13687 (eval $ac_compile) 2>conftest.er1
13688 ac_status=$?
13689 grep -v '^ *+' conftest.er1 >conftest.err
13690 rm -f conftest.er1
13691 cat conftest.err >&5
13692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13693 (exit $ac_status); } &&
13694 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13696 (eval $ac_try) 2>&5
13697 ac_status=$?
13698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13699 (exit $ac_status); }; } &&
13700 { ac_try='test -s conftest.$ac_objext'
13701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13702 (eval $ac_try) 2>&5
13703 ac_status=$?
13704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13705 (exit $ac_status); }; }; then
13706 ac_header_compiler=yes
13707 else
13708 echo "$as_me: failed program was:" >&5
13709 sed 's/^/| /' conftest.$ac_ext >&5
13710
13711 ac_header_compiler=no
13712 fi
13713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13714 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13715 echo "${ECHO_T}$ac_header_compiler" >&6
13716
13717 # Is the header present?
13718 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13719 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13720 cat >conftest.$ac_ext <<_ACEOF
13721 /* confdefs.h. */
13722 _ACEOF
13723 cat confdefs.h >>conftest.$ac_ext
13724 cat >>conftest.$ac_ext <<_ACEOF
13725 /* end confdefs.h. */
13726 #include <$ac_header>
13727 _ACEOF
13728 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13729 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13730 ac_status=$?
13731 grep -v '^ *+' conftest.er1 >conftest.err
13732 rm -f conftest.er1
13733 cat conftest.err >&5
13734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13735 (exit $ac_status); } >/dev/null; then
13736 if test -s conftest.err; then
13737 ac_cpp_err=$ac_c_preproc_warn_flag
13738 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13739 else
13740 ac_cpp_err=
13741 fi
13742 else
13743 ac_cpp_err=yes
13744 fi
13745 if test -z "$ac_cpp_err"; then
13746 ac_header_preproc=yes
13747 else
13748 echo "$as_me: failed program was:" >&5
13749 sed 's/^/| /' conftest.$ac_ext >&5
13750
13751 ac_header_preproc=no
13752 fi
13753 rm -f conftest.err conftest.$ac_ext
13754 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13755 echo "${ECHO_T}$ac_header_preproc" >&6
13756
13757 # So? What about this header?
13758 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13759 yes:no: )
13760 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13761 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13762 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13763 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13764 ac_header_preproc=yes
13765 ;;
13766 no:yes:* )
13767 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13768 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13769 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13770 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13771 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13772 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13773 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13774 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13775 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13776 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13777 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13778 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13779 (
13780 cat <<\_ASBOX
13781 ## ----------------------------------------- ##
13782 ## Report this to wx-dev@lists.wxwindows.org ##
13783 ## ----------------------------------------- ##
13784 _ASBOX
13785 ) |
13786 sed "s/^/$as_me: WARNING: /" >&2
13787 ;;
13788 esac
13789 echo "$as_me:$LINENO: checking for $ac_header" >&5
13790 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13791 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13792 echo $ECHO_N "(cached) $ECHO_C" >&6
13793 else
13794 eval "$as_ac_Header=\$ac_header_preproc"
13795 fi
13796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13797 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13798
13799 fi
13800 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13801 cat >>confdefs.h <<_ACEOF
13802 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13803 _ACEOF
13804
13805 fi
13806
13807 done
13808
13809
13810 case "${host}" in
13811 *-pc-os2_emx | *-pc-os2-emx )
13812 if test $ac_cv_header_langinfo_h = "yes"; then
13813 LIBS="$LIBS -lintl"
13814 fi
13815 ;;
13816 esac
13817
13818 if test "$wxUSE_GUI" = "yes"; then
13819 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13820
13821 for ac_header in X11/Xlib.h
13822 do
13823 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13824 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13825 echo "$as_me:$LINENO: checking for $ac_header" >&5
13826 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13827 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13828 echo $ECHO_N "(cached) $ECHO_C" >&6
13829 fi
13830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13831 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13832 else
13833 # Is the header compilable?
13834 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13835 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13836 cat >conftest.$ac_ext <<_ACEOF
13837 /* confdefs.h. */
13838 _ACEOF
13839 cat confdefs.h >>conftest.$ac_ext
13840 cat >>conftest.$ac_ext <<_ACEOF
13841 /* end confdefs.h. */
13842 $ac_includes_default
13843 #include <$ac_header>
13844 _ACEOF
13845 rm -f conftest.$ac_objext
13846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13847 (eval $ac_compile) 2>conftest.er1
13848 ac_status=$?
13849 grep -v '^ *+' conftest.er1 >conftest.err
13850 rm -f conftest.er1
13851 cat conftest.err >&5
13852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13853 (exit $ac_status); } &&
13854 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13856 (eval $ac_try) 2>&5
13857 ac_status=$?
13858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13859 (exit $ac_status); }; } &&
13860 { ac_try='test -s conftest.$ac_objext'
13861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13862 (eval $ac_try) 2>&5
13863 ac_status=$?
13864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13865 (exit $ac_status); }; }; then
13866 ac_header_compiler=yes
13867 else
13868 echo "$as_me: failed program was:" >&5
13869 sed 's/^/| /' conftest.$ac_ext >&5
13870
13871 ac_header_compiler=no
13872 fi
13873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13874 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13875 echo "${ECHO_T}$ac_header_compiler" >&6
13876
13877 # Is the header present?
13878 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13879 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13880 cat >conftest.$ac_ext <<_ACEOF
13881 /* confdefs.h. */
13882 _ACEOF
13883 cat confdefs.h >>conftest.$ac_ext
13884 cat >>conftest.$ac_ext <<_ACEOF
13885 /* end confdefs.h. */
13886 #include <$ac_header>
13887 _ACEOF
13888 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13889 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13890 ac_status=$?
13891 grep -v '^ *+' conftest.er1 >conftest.err
13892 rm -f conftest.er1
13893 cat conftest.err >&5
13894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13895 (exit $ac_status); } >/dev/null; then
13896 if test -s conftest.err; then
13897 ac_cpp_err=$ac_c_preproc_warn_flag
13898 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13899 else
13900 ac_cpp_err=
13901 fi
13902 else
13903 ac_cpp_err=yes
13904 fi
13905 if test -z "$ac_cpp_err"; then
13906 ac_header_preproc=yes
13907 else
13908 echo "$as_me: failed program was:" >&5
13909 sed 's/^/| /' conftest.$ac_ext >&5
13910
13911 ac_header_preproc=no
13912 fi
13913 rm -f conftest.err conftest.$ac_ext
13914 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13915 echo "${ECHO_T}$ac_header_preproc" >&6
13916
13917 # So? What about this header?
13918 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13919 yes:no: )
13920 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13921 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13922 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13923 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13924 ac_header_preproc=yes
13925 ;;
13926 no:yes:* )
13927 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13928 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13929 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13930 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13931 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13932 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13933 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13934 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13935 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13936 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13937 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13938 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13939 (
13940 cat <<\_ASBOX
13941 ## ----------------------------------------- ##
13942 ## Report this to wx-dev@lists.wxwindows.org ##
13943 ## ----------------------------------------- ##
13944 _ASBOX
13945 ) |
13946 sed "s/^/$as_me: WARNING: /" >&2
13947 ;;
13948 esac
13949 echo "$as_me:$LINENO: checking for $ac_header" >&5
13950 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13951 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13952 echo $ECHO_N "(cached) $ECHO_C" >&6
13953 else
13954 eval "$as_ac_Header=\$ac_header_preproc"
13955 fi
13956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13957 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13958
13959 fi
13960 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13961 cat >>confdefs.h <<_ACEOF
13962 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13963 _ACEOF
13964
13965 fi
13966
13967 done
13968
13969
13970 for ac_header in X11/XKBlib.h
13971 do
13972 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13973 echo "$as_me:$LINENO: checking for $ac_header" >&5
13974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13976 echo $ECHO_N "(cached) $ECHO_C" >&6
13977 else
13978 cat >conftest.$ac_ext <<_ACEOF
13979 /* confdefs.h. */
13980 _ACEOF
13981 cat confdefs.h >>conftest.$ac_ext
13982 cat >>conftest.$ac_ext <<_ACEOF
13983 /* end confdefs.h. */
13984
13985 #if HAVE_X11_XLIB_H
13986 #include <X11/Xlib.h>
13987 #endif
13988
13989
13990 #include <$ac_header>
13991 _ACEOF
13992 rm -f conftest.$ac_objext
13993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13994 (eval $ac_compile) 2>conftest.er1
13995 ac_status=$?
13996 grep -v '^ *+' conftest.er1 >conftest.err
13997 rm -f conftest.er1
13998 cat conftest.err >&5
13999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14000 (exit $ac_status); } &&
14001 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14003 (eval $ac_try) 2>&5
14004 ac_status=$?
14005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14006 (exit $ac_status); }; } &&
14007 { ac_try='test -s conftest.$ac_objext'
14008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14009 (eval $ac_try) 2>&5
14010 ac_status=$?
14011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14012 (exit $ac_status); }; }; then
14013 eval "$as_ac_Header=yes"
14014 else
14015 echo "$as_me: failed program was:" >&5
14016 sed 's/^/| /' conftest.$ac_ext >&5
14017
14018 eval "$as_ac_Header=no"
14019 fi
14020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14021 fi
14022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14023 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14024 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14025 cat >>confdefs.h <<_ACEOF
14026 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14027 _ACEOF
14028
14029 fi
14030
14031 done
14032
14033 fi
14034 fi
14035
14036
14037 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14038 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14039 if test "${ac_cv_c_const+set}" = set; then
14040 echo $ECHO_N "(cached) $ECHO_C" >&6
14041 else
14042 cat >conftest.$ac_ext <<_ACEOF
14043 /* confdefs.h. */
14044 _ACEOF
14045 cat confdefs.h >>conftest.$ac_ext
14046 cat >>conftest.$ac_ext <<_ACEOF
14047 /* end confdefs.h. */
14048
14049 int
14050 main ()
14051 {
14052 /* FIXME: Include the comments suggested by Paul. */
14053 #ifndef __cplusplus
14054 /* Ultrix mips cc rejects this. */
14055 typedef int charset[2];
14056 const charset x;
14057 /* SunOS 4.1.1 cc rejects this. */
14058 char const *const *ccp;
14059 char **p;
14060 /* NEC SVR4.0.2 mips cc rejects this. */
14061 struct point {int x, y;};
14062 static struct point const zero = {0,0};
14063 /* AIX XL C 1.02.0.0 rejects this.
14064 It does not let you subtract one const X* pointer from another in
14065 an arm of an if-expression whose if-part is not a constant
14066 expression */
14067 const char *g = "string";
14068 ccp = &g + (g ? g-g : 0);
14069 /* HPUX 7.0 cc rejects these. */
14070 ++ccp;
14071 p = (char**) ccp;
14072 ccp = (char const *const *) p;
14073 { /* SCO 3.2v4 cc rejects this. */
14074 char *t;
14075 char const *s = 0 ? (char *) 0 : (char const *) 0;
14076
14077 *t++ = 0;
14078 }
14079 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14080 int x[] = {25, 17};
14081 const int *foo = &x[0];
14082 ++foo;
14083 }
14084 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14085 typedef const int *iptr;
14086 iptr p = 0;
14087 ++p;
14088 }
14089 { /* AIX XL C 1.02.0.0 rejects this saying
14090 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14091 struct s { int j; const int *ap[3]; };
14092 struct s *b; b->j = 5;
14093 }
14094 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14095 const int foo = 10;
14096 }
14097 #endif
14098
14099 ;
14100 return 0;
14101 }
14102 _ACEOF
14103 rm -f conftest.$ac_objext
14104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14105 (eval $ac_compile) 2>conftest.er1
14106 ac_status=$?
14107 grep -v '^ *+' conftest.er1 >conftest.err
14108 rm -f conftest.er1
14109 cat conftest.err >&5
14110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14111 (exit $ac_status); } &&
14112 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14114 (eval $ac_try) 2>&5
14115 ac_status=$?
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); }; } &&
14118 { ac_try='test -s conftest.$ac_objext'
14119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14120 (eval $ac_try) 2>&5
14121 ac_status=$?
14122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14123 (exit $ac_status); }; }; then
14124 ac_cv_c_const=yes
14125 else
14126 echo "$as_me: failed program was:" >&5
14127 sed 's/^/| /' conftest.$ac_ext >&5
14128
14129 ac_cv_c_const=no
14130 fi
14131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14132 fi
14133 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14134 echo "${ECHO_T}$ac_cv_c_const" >&6
14135 if test $ac_cv_c_const = no; then
14136
14137 cat >>confdefs.h <<\_ACEOF
14138 #define const
14139 _ACEOF
14140
14141 fi
14142
14143 echo "$as_me:$LINENO: checking for inline" >&5
14144 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14145 if test "${ac_cv_c_inline+set}" = set; then
14146 echo $ECHO_N "(cached) $ECHO_C" >&6
14147 else
14148 ac_cv_c_inline=no
14149 for ac_kw in inline __inline__ __inline; do
14150 cat >conftest.$ac_ext <<_ACEOF
14151 /* confdefs.h. */
14152 _ACEOF
14153 cat confdefs.h >>conftest.$ac_ext
14154 cat >>conftest.$ac_ext <<_ACEOF
14155 /* end confdefs.h. */
14156 #ifndef __cplusplus
14157 typedef int foo_t;
14158 static $ac_kw foo_t static_foo () {return 0; }
14159 $ac_kw foo_t foo () {return 0; }
14160 #endif
14161
14162 _ACEOF
14163 rm -f conftest.$ac_objext
14164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14165 (eval $ac_compile) 2>conftest.er1
14166 ac_status=$?
14167 grep -v '^ *+' conftest.er1 >conftest.err
14168 rm -f conftest.er1
14169 cat conftest.err >&5
14170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14171 (exit $ac_status); } &&
14172 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14174 (eval $ac_try) 2>&5
14175 ac_status=$?
14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177 (exit $ac_status); }; } &&
14178 { ac_try='test -s conftest.$ac_objext'
14179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14180 (eval $ac_try) 2>&5
14181 ac_status=$?
14182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14183 (exit $ac_status); }; }; then
14184 ac_cv_c_inline=$ac_kw; break
14185 else
14186 echo "$as_me: failed program was:" >&5
14187 sed 's/^/| /' conftest.$ac_ext >&5
14188
14189 fi
14190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14191 done
14192
14193 fi
14194 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14195 echo "${ECHO_T}$ac_cv_c_inline" >&6
14196
14197
14198 case $ac_cv_c_inline in
14199 inline | yes) ;;
14200 *)
14201 case $ac_cv_c_inline in
14202 no) ac_val=;;
14203 *) ac_val=$ac_cv_c_inline;;
14204 esac
14205 cat >>confdefs.h <<_ACEOF
14206 #ifndef __cplusplus
14207 #define inline $ac_val
14208 #endif
14209 _ACEOF
14210 ;;
14211 esac
14212
14213
14214 echo "$as_me:$LINENO: checking for char" >&5
14215 echo $ECHO_N "checking for char... $ECHO_C" >&6
14216 if test "${ac_cv_type_char+set}" = set; then
14217 echo $ECHO_N "(cached) $ECHO_C" >&6
14218 else
14219 cat >conftest.$ac_ext <<_ACEOF
14220 /* confdefs.h. */
14221 _ACEOF
14222 cat confdefs.h >>conftest.$ac_ext
14223 cat >>conftest.$ac_ext <<_ACEOF
14224 /* end confdefs.h. */
14225 $ac_includes_default
14226 int
14227 main ()
14228 {
14229 if ((char *) 0)
14230 return 0;
14231 if (sizeof (char))
14232 return 0;
14233 ;
14234 return 0;
14235 }
14236 _ACEOF
14237 rm -f conftest.$ac_objext
14238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14239 (eval $ac_compile) 2>conftest.er1
14240 ac_status=$?
14241 grep -v '^ *+' conftest.er1 >conftest.err
14242 rm -f conftest.er1
14243 cat conftest.err >&5
14244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14245 (exit $ac_status); } &&
14246 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14248 (eval $ac_try) 2>&5
14249 ac_status=$?
14250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14251 (exit $ac_status); }; } &&
14252 { ac_try='test -s conftest.$ac_objext'
14253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14254 (eval $ac_try) 2>&5
14255 ac_status=$?
14256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14257 (exit $ac_status); }; }; then
14258 ac_cv_type_char=yes
14259 else
14260 echo "$as_me: failed program was:" >&5
14261 sed 's/^/| /' conftest.$ac_ext >&5
14262
14263 ac_cv_type_char=no
14264 fi
14265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14266 fi
14267 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14268 echo "${ECHO_T}$ac_cv_type_char" >&6
14269
14270 echo "$as_me:$LINENO: checking size of char" >&5
14271 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14272 if test "${ac_cv_sizeof_char+set}" = set; then
14273 echo $ECHO_N "(cached) $ECHO_C" >&6
14274 else
14275 if test "$ac_cv_type_char" = yes; then
14276 # The cast to unsigned long works around a bug in the HP C Compiler
14277 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14278 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14279 # This bug is HP SR number 8606223364.
14280 if test "$cross_compiling" = yes; then
14281 # Depending upon the size, compute the lo and hi bounds.
14282 cat >conftest.$ac_ext <<_ACEOF
14283 /* confdefs.h. */
14284 _ACEOF
14285 cat confdefs.h >>conftest.$ac_ext
14286 cat >>conftest.$ac_ext <<_ACEOF
14287 /* end confdefs.h. */
14288 $ac_includes_default
14289 int
14290 main ()
14291 {
14292 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14293 test_array [0] = 0
14294
14295 ;
14296 return 0;
14297 }
14298 _ACEOF
14299 rm -f conftest.$ac_objext
14300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14301 (eval $ac_compile) 2>conftest.er1
14302 ac_status=$?
14303 grep -v '^ *+' conftest.er1 >conftest.err
14304 rm -f conftest.er1
14305 cat conftest.err >&5
14306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14307 (exit $ac_status); } &&
14308 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14310 (eval $ac_try) 2>&5
14311 ac_status=$?
14312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14313 (exit $ac_status); }; } &&
14314 { ac_try='test -s conftest.$ac_objext'
14315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14316 (eval $ac_try) 2>&5
14317 ac_status=$?
14318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14319 (exit $ac_status); }; }; then
14320 ac_lo=0 ac_mid=0
14321 while :; do
14322 cat >conftest.$ac_ext <<_ACEOF
14323 /* confdefs.h. */
14324 _ACEOF
14325 cat confdefs.h >>conftest.$ac_ext
14326 cat >>conftest.$ac_ext <<_ACEOF
14327 /* end confdefs.h. */
14328 $ac_includes_default
14329 int
14330 main ()
14331 {
14332 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14333 test_array [0] = 0
14334
14335 ;
14336 return 0;
14337 }
14338 _ACEOF
14339 rm -f conftest.$ac_objext
14340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14341 (eval $ac_compile) 2>conftest.er1
14342 ac_status=$?
14343 grep -v '^ *+' conftest.er1 >conftest.err
14344 rm -f conftest.er1
14345 cat conftest.err >&5
14346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14347 (exit $ac_status); } &&
14348 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14350 (eval $ac_try) 2>&5
14351 ac_status=$?
14352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14353 (exit $ac_status); }; } &&
14354 { ac_try='test -s conftest.$ac_objext'
14355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14356 (eval $ac_try) 2>&5
14357 ac_status=$?
14358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14359 (exit $ac_status); }; }; then
14360 ac_hi=$ac_mid; break
14361 else
14362 echo "$as_me: failed program was:" >&5
14363 sed 's/^/| /' conftest.$ac_ext >&5
14364
14365 ac_lo=`expr $ac_mid + 1`
14366 if test $ac_lo -le $ac_mid; then
14367 ac_lo= ac_hi=
14368 break
14369 fi
14370 ac_mid=`expr 2 '*' $ac_mid + 1`
14371 fi
14372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14373 done
14374 else
14375 echo "$as_me: failed program was:" >&5
14376 sed 's/^/| /' conftest.$ac_ext >&5
14377
14378 cat >conftest.$ac_ext <<_ACEOF
14379 /* confdefs.h. */
14380 _ACEOF
14381 cat confdefs.h >>conftest.$ac_ext
14382 cat >>conftest.$ac_ext <<_ACEOF
14383 /* end confdefs.h. */
14384 $ac_includes_default
14385 int
14386 main ()
14387 {
14388 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14389 test_array [0] = 0
14390
14391 ;
14392 return 0;
14393 }
14394 _ACEOF
14395 rm -f conftest.$ac_objext
14396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14397 (eval $ac_compile) 2>conftest.er1
14398 ac_status=$?
14399 grep -v '^ *+' conftest.er1 >conftest.err
14400 rm -f conftest.er1
14401 cat conftest.err >&5
14402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14403 (exit $ac_status); } &&
14404 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14406 (eval $ac_try) 2>&5
14407 ac_status=$?
14408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14409 (exit $ac_status); }; } &&
14410 { ac_try='test -s conftest.$ac_objext'
14411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14412 (eval $ac_try) 2>&5
14413 ac_status=$?
14414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14415 (exit $ac_status); }; }; then
14416 ac_hi=-1 ac_mid=-1
14417 while :; do
14418 cat >conftest.$ac_ext <<_ACEOF
14419 /* confdefs.h. */
14420 _ACEOF
14421 cat confdefs.h >>conftest.$ac_ext
14422 cat >>conftest.$ac_ext <<_ACEOF
14423 /* end confdefs.h. */
14424 $ac_includes_default
14425 int
14426 main ()
14427 {
14428 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14429 test_array [0] = 0
14430
14431 ;
14432 return 0;
14433 }
14434 _ACEOF
14435 rm -f conftest.$ac_objext
14436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14437 (eval $ac_compile) 2>conftest.er1
14438 ac_status=$?
14439 grep -v '^ *+' conftest.er1 >conftest.err
14440 rm -f conftest.er1
14441 cat conftest.err >&5
14442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14443 (exit $ac_status); } &&
14444 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14446 (eval $ac_try) 2>&5
14447 ac_status=$?
14448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14449 (exit $ac_status); }; } &&
14450 { ac_try='test -s conftest.$ac_objext'
14451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14452 (eval $ac_try) 2>&5
14453 ac_status=$?
14454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14455 (exit $ac_status); }; }; then
14456 ac_lo=$ac_mid; break
14457 else
14458 echo "$as_me: failed program was:" >&5
14459 sed 's/^/| /' conftest.$ac_ext >&5
14460
14461 ac_hi=`expr '(' $ac_mid ')' - 1`
14462 if test $ac_mid -le $ac_hi; then
14463 ac_lo= ac_hi=
14464 break
14465 fi
14466 ac_mid=`expr 2 '*' $ac_mid`
14467 fi
14468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14469 done
14470 else
14471 echo "$as_me: failed program was:" >&5
14472 sed 's/^/| /' conftest.$ac_ext >&5
14473
14474 ac_lo= ac_hi=
14475 fi
14476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14477 fi
14478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14479 # Binary search between lo and hi bounds.
14480 while test "x$ac_lo" != "x$ac_hi"; do
14481 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14482 cat >conftest.$ac_ext <<_ACEOF
14483 /* confdefs.h. */
14484 _ACEOF
14485 cat confdefs.h >>conftest.$ac_ext
14486 cat >>conftest.$ac_ext <<_ACEOF
14487 /* end confdefs.h. */
14488 $ac_includes_default
14489 int
14490 main ()
14491 {
14492 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14493 test_array [0] = 0
14494
14495 ;
14496 return 0;
14497 }
14498 _ACEOF
14499 rm -f conftest.$ac_objext
14500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14501 (eval $ac_compile) 2>conftest.er1
14502 ac_status=$?
14503 grep -v '^ *+' conftest.er1 >conftest.err
14504 rm -f conftest.er1
14505 cat conftest.err >&5
14506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14507 (exit $ac_status); } &&
14508 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14510 (eval $ac_try) 2>&5
14511 ac_status=$?
14512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14513 (exit $ac_status); }; } &&
14514 { ac_try='test -s conftest.$ac_objext'
14515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14516 (eval $ac_try) 2>&5
14517 ac_status=$?
14518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14519 (exit $ac_status); }; }; then
14520 ac_hi=$ac_mid
14521 else
14522 echo "$as_me: failed program was:" >&5
14523 sed 's/^/| /' conftest.$ac_ext >&5
14524
14525 ac_lo=`expr '(' $ac_mid ')' + 1`
14526 fi
14527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14528 done
14529 case $ac_lo in
14530 ?*) ac_cv_sizeof_char=$ac_lo;;
14531 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14532 See \`config.log' for more details." >&5
14533 echo "$as_me: error: cannot compute sizeof (char), 77
14534 See \`config.log' for more details." >&2;}
14535 { (exit 1); exit 1; }; } ;;
14536 esac
14537 else
14538 if test "$cross_compiling" = yes; then
14539 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
14540 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
14541 { (exit 1); exit 1; }; }
14542 else
14543 cat >conftest.$ac_ext <<_ACEOF
14544 /* confdefs.h. */
14545 _ACEOF
14546 cat confdefs.h >>conftest.$ac_ext
14547 cat >>conftest.$ac_ext <<_ACEOF
14548 /* end confdefs.h. */
14549 $ac_includes_default
14550 long longval () { return (long) (sizeof (char)); }
14551 unsigned long ulongval () { return (long) (sizeof (char)); }
14552 #include <stdio.h>
14553 #include <stdlib.h>
14554 int
14555 main ()
14556 {
14557
14558 FILE *f = fopen ("conftest.val", "w");
14559 if (! f)
14560 exit (1);
14561 if (((long) (sizeof (char))) < 0)
14562 {
14563 long i = longval ();
14564 if (i != ((long) (sizeof (char))))
14565 exit (1);
14566 fprintf (f, "%ld\n", i);
14567 }
14568 else
14569 {
14570 unsigned long i = ulongval ();
14571 if (i != ((long) (sizeof (char))))
14572 exit (1);
14573 fprintf (f, "%lu\n", i);
14574 }
14575 exit (ferror (f) || fclose (f) != 0);
14576
14577 ;
14578 return 0;
14579 }
14580 _ACEOF
14581 rm -f conftest$ac_exeext
14582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14583 (eval $ac_link) 2>&5
14584 ac_status=$?
14585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14586 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14588 (eval $ac_try) 2>&5
14589 ac_status=$?
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 (exit $ac_status); }; }; then
14592 ac_cv_sizeof_char=`cat conftest.val`
14593 else
14594 echo "$as_me: program exited with status $ac_status" >&5
14595 echo "$as_me: failed program was:" >&5
14596 sed 's/^/| /' conftest.$ac_ext >&5
14597
14598 ( exit $ac_status )
14599 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14600 See \`config.log' for more details." >&5
14601 echo "$as_me: error: cannot compute sizeof (char), 77
14602 See \`config.log' for more details." >&2;}
14603 { (exit 1); exit 1; }; }
14604 fi
14605 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14606 fi
14607 fi
14608 rm -f conftest.val
14609 else
14610 ac_cv_sizeof_char=0
14611 fi
14612 fi
14613 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14614 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14615 cat >>confdefs.h <<_ACEOF
14616 #define SIZEOF_CHAR $ac_cv_sizeof_char
14617 _ACEOF
14618
14619
14620 echo "$as_me:$LINENO: checking for short" >&5
14621 echo $ECHO_N "checking for short... $ECHO_C" >&6
14622 if test "${ac_cv_type_short+set}" = set; then
14623 echo $ECHO_N "(cached) $ECHO_C" >&6
14624 else
14625 cat >conftest.$ac_ext <<_ACEOF
14626 /* confdefs.h. */
14627 _ACEOF
14628 cat confdefs.h >>conftest.$ac_ext
14629 cat >>conftest.$ac_ext <<_ACEOF
14630 /* end confdefs.h. */
14631 $ac_includes_default
14632 int
14633 main ()
14634 {
14635 if ((short *) 0)
14636 return 0;
14637 if (sizeof (short))
14638 return 0;
14639 ;
14640 return 0;
14641 }
14642 _ACEOF
14643 rm -f conftest.$ac_objext
14644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14645 (eval $ac_compile) 2>conftest.er1
14646 ac_status=$?
14647 grep -v '^ *+' conftest.er1 >conftest.err
14648 rm -f conftest.er1
14649 cat conftest.err >&5
14650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14651 (exit $ac_status); } &&
14652 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14654 (eval $ac_try) 2>&5
14655 ac_status=$?
14656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14657 (exit $ac_status); }; } &&
14658 { ac_try='test -s conftest.$ac_objext'
14659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14660 (eval $ac_try) 2>&5
14661 ac_status=$?
14662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14663 (exit $ac_status); }; }; then
14664 ac_cv_type_short=yes
14665 else
14666 echo "$as_me: failed program was:" >&5
14667 sed 's/^/| /' conftest.$ac_ext >&5
14668
14669 ac_cv_type_short=no
14670 fi
14671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14672 fi
14673 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14674 echo "${ECHO_T}$ac_cv_type_short" >&6
14675
14676 echo "$as_me:$LINENO: checking size of short" >&5
14677 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14678 if test "${ac_cv_sizeof_short+set}" = set; then
14679 echo $ECHO_N "(cached) $ECHO_C" >&6
14680 else
14681 if test "$ac_cv_type_short" = yes; then
14682 # The cast to unsigned long works around a bug in the HP C Compiler
14683 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14684 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14685 # This bug is HP SR number 8606223364.
14686 if test "$cross_compiling" = yes; then
14687 # Depending upon the size, compute the lo and hi bounds.
14688 cat >conftest.$ac_ext <<_ACEOF
14689 /* confdefs.h. */
14690 _ACEOF
14691 cat confdefs.h >>conftest.$ac_ext
14692 cat >>conftest.$ac_ext <<_ACEOF
14693 /* end confdefs.h. */
14694 $ac_includes_default
14695 int
14696 main ()
14697 {
14698 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14699 test_array [0] = 0
14700
14701 ;
14702 return 0;
14703 }
14704 _ACEOF
14705 rm -f conftest.$ac_objext
14706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14707 (eval $ac_compile) 2>conftest.er1
14708 ac_status=$?
14709 grep -v '^ *+' conftest.er1 >conftest.err
14710 rm -f conftest.er1
14711 cat conftest.err >&5
14712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14713 (exit $ac_status); } &&
14714 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14716 (eval $ac_try) 2>&5
14717 ac_status=$?
14718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14719 (exit $ac_status); }; } &&
14720 { ac_try='test -s conftest.$ac_objext'
14721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14722 (eval $ac_try) 2>&5
14723 ac_status=$?
14724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14725 (exit $ac_status); }; }; then
14726 ac_lo=0 ac_mid=0
14727 while :; do
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))) <= $ac_mid)];
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" || test ! -s conftest.err'
14755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14756 (eval $ac_try) 2>&5
14757 ac_status=$?
14758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14759 (exit $ac_status); }; } &&
14760 { ac_try='test -s conftest.$ac_objext'
14761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14762 (eval $ac_try) 2>&5
14763 ac_status=$?
14764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14765 (exit $ac_status); }; }; then
14766 ac_hi=$ac_mid; break
14767 else
14768 echo "$as_me: failed program was:" >&5
14769 sed 's/^/| /' conftest.$ac_ext >&5
14770
14771 ac_lo=`expr $ac_mid + 1`
14772 if test $ac_lo -le $ac_mid; then
14773 ac_lo= ac_hi=
14774 break
14775 fi
14776 ac_mid=`expr 2 '*' $ac_mid + 1`
14777 fi
14778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14779 done
14780 else
14781 echo "$as_me: failed program was:" >&5
14782 sed 's/^/| /' conftest.$ac_ext >&5
14783
14784 cat >conftest.$ac_ext <<_ACEOF
14785 /* confdefs.h. */
14786 _ACEOF
14787 cat confdefs.h >>conftest.$ac_ext
14788 cat >>conftest.$ac_ext <<_ACEOF
14789 /* end confdefs.h. */
14790 $ac_includes_default
14791 int
14792 main ()
14793 {
14794 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14795 test_array [0] = 0
14796
14797 ;
14798 return 0;
14799 }
14800 _ACEOF
14801 rm -f conftest.$ac_objext
14802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14803 (eval $ac_compile) 2>conftest.er1
14804 ac_status=$?
14805 grep -v '^ *+' conftest.er1 >conftest.err
14806 rm -f conftest.er1
14807 cat conftest.err >&5
14808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14809 (exit $ac_status); } &&
14810 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14812 (eval $ac_try) 2>&5
14813 ac_status=$?
14814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14815 (exit $ac_status); }; } &&
14816 { ac_try='test -s conftest.$ac_objext'
14817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14818 (eval $ac_try) 2>&5
14819 ac_status=$?
14820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14821 (exit $ac_status); }; }; then
14822 ac_hi=-1 ac_mid=-1
14823 while :; do
14824 cat >conftest.$ac_ext <<_ACEOF
14825 /* confdefs.h. */
14826 _ACEOF
14827 cat confdefs.h >>conftest.$ac_ext
14828 cat >>conftest.$ac_ext <<_ACEOF
14829 /* end confdefs.h. */
14830 $ac_includes_default
14831 int
14832 main ()
14833 {
14834 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14835 test_array [0] = 0
14836
14837 ;
14838 return 0;
14839 }
14840 _ACEOF
14841 rm -f conftest.$ac_objext
14842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14843 (eval $ac_compile) 2>conftest.er1
14844 ac_status=$?
14845 grep -v '^ *+' conftest.er1 >conftest.err
14846 rm -f conftest.er1
14847 cat conftest.err >&5
14848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14849 (exit $ac_status); } &&
14850 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14852 (eval $ac_try) 2>&5
14853 ac_status=$?
14854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14855 (exit $ac_status); }; } &&
14856 { ac_try='test -s conftest.$ac_objext'
14857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14858 (eval $ac_try) 2>&5
14859 ac_status=$?
14860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14861 (exit $ac_status); }; }; then
14862 ac_lo=$ac_mid; break
14863 else
14864 echo "$as_me: failed program was:" >&5
14865 sed 's/^/| /' conftest.$ac_ext >&5
14866
14867 ac_hi=`expr '(' $ac_mid ')' - 1`
14868 if test $ac_mid -le $ac_hi; then
14869 ac_lo= ac_hi=
14870 break
14871 fi
14872 ac_mid=`expr 2 '*' $ac_mid`
14873 fi
14874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14875 done
14876 else
14877 echo "$as_me: failed program was:" >&5
14878 sed 's/^/| /' conftest.$ac_ext >&5
14879
14880 ac_lo= ac_hi=
14881 fi
14882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14883 fi
14884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14885 # Binary search between lo and hi bounds.
14886 while test "x$ac_lo" != "x$ac_hi"; do
14887 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14888 cat >conftest.$ac_ext <<_ACEOF
14889 /* confdefs.h. */
14890 _ACEOF
14891 cat confdefs.h >>conftest.$ac_ext
14892 cat >>conftest.$ac_ext <<_ACEOF
14893 /* end confdefs.h. */
14894 $ac_includes_default
14895 int
14896 main ()
14897 {
14898 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14899 test_array [0] = 0
14900
14901 ;
14902 return 0;
14903 }
14904 _ACEOF
14905 rm -f conftest.$ac_objext
14906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14907 (eval $ac_compile) 2>conftest.er1
14908 ac_status=$?
14909 grep -v '^ *+' conftest.er1 >conftest.err
14910 rm -f conftest.er1
14911 cat conftest.err >&5
14912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14913 (exit $ac_status); } &&
14914 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14916 (eval $ac_try) 2>&5
14917 ac_status=$?
14918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14919 (exit $ac_status); }; } &&
14920 { ac_try='test -s conftest.$ac_objext'
14921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14922 (eval $ac_try) 2>&5
14923 ac_status=$?
14924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14925 (exit $ac_status); }; }; then
14926 ac_hi=$ac_mid
14927 else
14928 echo "$as_me: failed program was:" >&5
14929 sed 's/^/| /' conftest.$ac_ext >&5
14930
14931 ac_lo=`expr '(' $ac_mid ')' + 1`
14932 fi
14933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14934 done
14935 case $ac_lo in
14936 ?*) ac_cv_sizeof_short=$ac_lo;;
14937 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14938 See \`config.log' for more details." >&5
14939 echo "$as_me: error: cannot compute sizeof (short), 77
14940 See \`config.log' for more details." >&2;}
14941 { (exit 1); exit 1; }; } ;;
14942 esac
14943 else
14944 if test "$cross_compiling" = yes; then
14945 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
14946 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
14947 { (exit 1); exit 1; }; }
14948 else
14949 cat >conftest.$ac_ext <<_ACEOF
14950 /* confdefs.h. */
14951 _ACEOF
14952 cat confdefs.h >>conftest.$ac_ext
14953 cat >>conftest.$ac_ext <<_ACEOF
14954 /* end confdefs.h. */
14955 $ac_includes_default
14956 long longval () { return (long) (sizeof (short)); }
14957 unsigned long ulongval () { return (long) (sizeof (short)); }
14958 #include <stdio.h>
14959 #include <stdlib.h>
14960 int
14961 main ()
14962 {
14963
14964 FILE *f = fopen ("conftest.val", "w");
14965 if (! f)
14966 exit (1);
14967 if (((long) (sizeof (short))) < 0)
14968 {
14969 long i = longval ();
14970 if (i != ((long) (sizeof (short))))
14971 exit (1);
14972 fprintf (f, "%ld\n", i);
14973 }
14974 else
14975 {
14976 unsigned long i = ulongval ();
14977 if (i != ((long) (sizeof (short))))
14978 exit (1);
14979 fprintf (f, "%lu\n", i);
14980 }
14981 exit (ferror (f) || fclose (f) != 0);
14982
14983 ;
14984 return 0;
14985 }
14986 _ACEOF
14987 rm -f conftest$ac_exeext
14988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14989 (eval $ac_link) 2>&5
14990 ac_status=$?
14991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14992 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14994 (eval $ac_try) 2>&5
14995 ac_status=$?
14996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14997 (exit $ac_status); }; }; then
14998 ac_cv_sizeof_short=`cat conftest.val`
14999 else
15000 echo "$as_me: program exited with status $ac_status" >&5
15001 echo "$as_me: failed program was:" >&5
15002 sed 's/^/| /' conftest.$ac_ext >&5
15003
15004 ( exit $ac_status )
15005 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15006 See \`config.log' for more details." >&5
15007 echo "$as_me: error: cannot compute sizeof (short), 77
15008 See \`config.log' for more details." >&2;}
15009 { (exit 1); exit 1; }; }
15010 fi
15011 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15012 fi
15013 fi
15014 rm -f conftest.val
15015 else
15016 ac_cv_sizeof_short=0
15017 fi
15018 fi
15019 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15020 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15021 cat >>confdefs.h <<_ACEOF
15022 #define SIZEOF_SHORT $ac_cv_sizeof_short
15023 _ACEOF
15024
15025
15026 echo "$as_me:$LINENO: checking for void *" >&5
15027 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15028 if test "${ac_cv_type_void_p+set}" = set; then
15029 echo $ECHO_N "(cached) $ECHO_C" >&6
15030 else
15031 cat >conftest.$ac_ext <<_ACEOF
15032 /* confdefs.h. */
15033 _ACEOF
15034 cat confdefs.h >>conftest.$ac_ext
15035 cat >>conftest.$ac_ext <<_ACEOF
15036 /* end confdefs.h. */
15037 $ac_includes_default
15038 int
15039 main ()
15040 {
15041 if ((void * *) 0)
15042 return 0;
15043 if (sizeof (void *))
15044 return 0;
15045 ;
15046 return 0;
15047 }
15048 _ACEOF
15049 rm -f conftest.$ac_objext
15050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15051 (eval $ac_compile) 2>conftest.er1
15052 ac_status=$?
15053 grep -v '^ *+' conftest.er1 >conftest.err
15054 rm -f conftest.er1
15055 cat conftest.err >&5
15056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15057 (exit $ac_status); } &&
15058 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15060 (eval $ac_try) 2>&5
15061 ac_status=$?
15062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15063 (exit $ac_status); }; } &&
15064 { ac_try='test -s conftest.$ac_objext'
15065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15066 (eval $ac_try) 2>&5
15067 ac_status=$?
15068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15069 (exit $ac_status); }; }; then
15070 ac_cv_type_void_p=yes
15071 else
15072 echo "$as_me: failed program was:" >&5
15073 sed 's/^/| /' conftest.$ac_ext >&5
15074
15075 ac_cv_type_void_p=no
15076 fi
15077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15078 fi
15079 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15080 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15081
15082 echo "$as_me:$LINENO: checking size of void *" >&5
15083 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15084 if test "${ac_cv_sizeof_void_p+set}" = set; then
15085 echo $ECHO_N "(cached) $ECHO_C" >&6
15086 else
15087 if test "$ac_cv_type_void_p" = yes; then
15088 # The cast to unsigned long works around a bug in the HP C Compiler
15089 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15090 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15091 # This bug is HP SR number 8606223364.
15092 if test "$cross_compiling" = yes; then
15093 # Depending upon the size, compute the lo and hi bounds.
15094 cat >conftest.$ac_ext <<_ACEOF
15095 /* confdefs.h. */
15096 _ACEOF
15097 cat confdefs.h >>conftest.$ac_ext
15098 cat >>conftest.$ac_ext <<_ACEOF
15099 /* end confdefs.h. */
15100 $ac_includes_default
15101 int
15102 main ()
15103 {
15104 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15105 test_array [0] = 0
15106
15107 ;
15108 return 0;
15109 }
15110 _ACEOF
15111 rm -f conftest.$ac_objext
15112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15113 (eval $ac_compile) 2>conftest.er1
15114 ac_status=$?
15115 grep -v '^ *+' conftest.er1 >conftest.err
15116 rm -f conftest.er1
15117 cat conftest.err >&5
15118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15119 (exit $ac_status); } &&
15120 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15122 (eval $ac_try) 2>&5
15123 ac_status=$?
15124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15125 (exit $ac_status); }; } &&
15126 { ac_try='test -s conftest.$ac_objext'
15127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15128 (eval $ac_try) 2>&5
15129 ac_status=$?
15130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15131 (exit $ac_status); }; }; then
15132 ac_lo=0 ac_mid=0
15133 while :; do
15134 cat >conftest.$ac_ext <<_ACEOF
15135 /* confdefs.h. */
15136 _ACEOF
15137 cat confdefs.h >>conftest.$ac_ext
15138 cat >>conftest.$ac_ext <<_ACEOF
15139 /* end confdefs.h. */
15140 $ac_includes_default
15141 int
15142 main ()
15143 {
15144 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15145 test_array [0] = 0
15146
15147 ;
15148 return 0;
15149 }
15150 _ACEOF
15151 rm -f conftest.$ac_objext
15152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15153 (eval $ac_compile) 2>conftest.er1
15154 ac_status=$?
15155 grep -v '^ *+' conftest.er1 >conftest.err
15156 rm -f conftest.er1
15157 cat conftest.err >&5
15158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15159 (exit $ac_status); } &&
15160 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15162 (eval $ac_try) 2>&5
15163 ac_status=$?
15164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15165 (exit $ac_status); }; } &&
15166 { ac_try='test -s conftest.$ac_objext'
15167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15168 (eval $ac_try) 2>&5
15169 ac_status=$?
15170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15171 (exit $ac_status); }; }; then
15172 ac_hi=$ac_mid; break
15173 else
15174 echo "$as_me: failed program was:" >&5
15175 sed 's/^/| /' conftest.$ac_ext >&5
15176
15177 ac_lo=`expr $ac_mid + 1`
15178 if test $ac_lo -le $ac_mid; then
15179 ac_lo= ac_hi=
15180 break
15181 fi
15182 ac_mid=`expr 2 '*' $ac_mid + 1`
15183 fi
15184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15185 done
15186 else
15187 echo "$as_me: failed program was:" >&5
15188 sed 's/^/| /' conftest.$ac_ext >&5
15189
15190 cat >conftest.$ac_ext <<_ACEOF
15191 /* confdefs.h. */
15192 _ACEOF
15193 cat confdefs.h >>conftest.$ac_ext
15194 cat >>conftest.$ac_ext <<_ACEOF
15195 /* end confdefs.h. */
15196 $ac_includes_default
15197 int
15198 main ()
15199 {
15200 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15201 test_array [0] = 0
15202
15203 ;
15204 return 0;
15205 }
15206 _ACEOF
15207 rm -f conftest.$ac_objext
15208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15209 (eval $ac_compile) 2>conftest.er1
15210 ac_status=$?
15211 grep -v '^ *+' conftest.er1 >conftest.err
15212 rm -f conftest.er1
15213 cat conftest.err >&5
15214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15215 (exit $ac_status); } &&
15216 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
15222 { ac_try='test -s conftest.$ac_objext'
15223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15224 (eval $ac_try) 2>&5
15225 ac_status=$?
15226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15227 (exit $ac_status); }; }; then
15228 ac_hi=-1 ac_mid=-1
15229 while :; do
15230 cat >conftest.$ac_ext <<_ACEOF
15231 /* confdefs.h. */
15232 _ACEOF
15233 cat confdefs.h >>conftest.$ac_ext
15234 cat >>conftest.$ac_ext <<_ACEOF
15235 /* end confdefs.h. */
15236 $ac_includes_default
15237 int
15238 main ()
15239 {
15240 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15241 test_array [0] = 0
15242
15243 ;
15244 return 0;
15245 }
15246 _ACEOF
15247 rm -f conftest.$ac_objext
15248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15249 (eval $ac_compile) 2>conftest.er1
15250 ac_status=$?
15251 grep -v '^ *+' conftest.er1 >conftest.err
15252 rm -f conftest.er1
15253 cat conftest.err >&5
15254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15255 (exit $ac_status); } &&
15256 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15258 (eval $ac_try) 2>&5
15259 ac_status=$?
15260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15261 (exit $ac_status); }; } &&
15262 { ac_try='test -s conftest.$ac_objext'
15263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15264 (eval $ac_try) 2>&5
15265 ac_status=$?
15266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15267 (exit $ac_status); }; }; then
15268 ac_lo=$ac_mid; break
15269 else
15270 echo "$as_me: failed program was:" >&5
15271 sed 's/^/| /' conftest.$ac_ext >&5
15272
15273 ac_hi=`expr '(' $ac_mid ')' - 1`
15274 if test $ac_mid -le $ac_hi; then
15275 ac_lo= ac_hi=
15276 break
15277 fi
15278 ac_mid=`expr 2 '*' $ac_mid`
15279 fi
15280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15281 done
15282 else
15283 echo "$as_me: failed program was:" >&5
15284 sed 's/^/| /' conftest.$ac_ext >&5
15285
15286 ac_lo= ac_hi=
15287 fi
15288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15289 fi
15290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15291 # Binary search between lo and hi bounds.
15292 while test "x$ac_lo" != "x$ac_hi"; do
15293 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15294 cat >conftest.$ac_ext <<_ACEOF
15295 /* confdefs.h. */
15296 _ACEOF
15297 cat confdefs.h >>conftest.$ac_ext
15298 cat >>conftest.$ac_ext <<_ACEOF
15299 /* end confdefs.h. */
15300 $ac_includes_default
15301 int
15302 main ()
15303 {
15304 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15305 test_array [0] = 0
15306
15307 ;
15308 return 0;
15309 }
15310 _ACEOF
15311 rm -f conftest.$ac_objext
15312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15313 (eval $ac_compile) 2>conftest.er1
15314 ac_status=$?
15315 grep -v '^ *+' conftest.er1 >conftest.err
15316 rm -f conftest.er1
15317 cat conftest.err >&5
15318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15319 (exit $ac_status); } &&
15320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15322 (eval $ac_try) 2>&5
15323 ac_status=$?
15324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15325 (exit $ac_status); }; } &&
15326 { ac_try='test -s conftest.$ac_objext'
15327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15328 (eval $ac_try) 2>&5
15329 ac_status=$?
15330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15331 (exit $ac_status); }; }; then
15332 ac_hi=$ac_mid
15333 else
15334 echo "$as_me: failed program was:" >&5
15335 sed 's/^/| /' conftest.$ac_ext >&5
15336
15337 ac_lo=`expr '(' $ac_mid ')' + 1`
15338 fi
15339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15340 done
15341 case $ac_lo in
15342 ?*) ac_cv_sizeof_void_p=$ac_lo;;
15343 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15344 See \`config.log' for more details." >&5
15345 echo "$as_me: error: cannot compute sizeof (void *), 77
15346 See \`config.log' for more details." >&2;}
15347 { (exit 1); exit 1; }; } ;;
15348 esac
15349 else
15350 if test "$cross_compiling" = yes; then
15351 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15352 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15353 { (exit 1); exit 1; }; }
15354 else
15355 cat >conftest.$ac_ext <<_ACEOF
15356 /* confdefs.h. */
15357 _ACEOF
15358 cat confdefs.h >>conftest.$ac_ext
15359 cat >>conftest.$ac_ext <<_ACEOF
15360 /* end confdefs.h. */
15361 $ac_includes_default
15362 long longval () { return (long) (sizeof (void *)); }
15363 unsigned long ulongval () { return (long) (sizeof (void *)); }
15364 #include <stdio.h>
15365 #include <stdlib.h>
15366 int
15367 main ()
15368 {
15369
15370 FILE *f = fopen ("conftest.val", "w");
15371 if (! f)
15372 exit (1);
15373 if (((long) (sizeof (void *))) < 0)
15374 {
15375 long i = longval ();
15376 if (i != ((long) (sizeof (void *))))
15377 exit (1);
15378 fprintf (f, "%ld\n", i);
15379 }
15380 else
15381 {
15382 unsigned long i = ulongval ();
15383 if (i != ((long) (sizeof (void *))))
15384 exit (1);
15385 fprintf (f, "%lu\n", i);
15386 }
15387 exit (ferror (f) || fclose (f) != 0);
15388
15389 ;
15390 return 0;
15391 }
15392 _ACEOF
15393 rm -f conftest$ac_exeext
15394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15395 (eval $ac_link) 2>&5
15396 ac_status=$?
15397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15398 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15400 (eval $ac_try) 2>&5
15401 ac_status=$?
15402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 (exit $ac_status); }; }; then
15404 ac_cv_sizeof_void_p=`cat conftest.val`
15405 else
15406 echo "$as_me: program exited with status $ac_status" >&5
15407 echo "$as_me: failed program was:" >&5
15408 sed 's/^/| /' conftest.$ac_ext >&5
15409
15410 ( exit $ac_status )
15411 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15412 See \`config.log' for more details." >&5
15413 echo "$as_me: error: cannot compute sizeof (void *), 77
15414 See \`config.log' for more details." >&2;}
15415 { (exit 1); exit 1; }; }
15416 fi
15417 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15418 fi
15419 fi
15420 rm -f conftest.val
15421 else
15422 ac_cv_sizeof_void_p=0
15423 fi
15424 fi
15425 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15426 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15427 cat >>confdefs.h <<_ACEOF
15428 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15429 _ACEOF
15430
15431
15432 echo "$as_me:$LINENO: checking for int" >&5
15433 echo $ECHO_N "checking for int... $ECHO_C" >&6
15434 if test "${ac_cv_type_int+set}" = set; then
15435 echo $ECHO_N "(cached) $ECHO_C" >&6
15436 else
15437 cat >conftest.$ac_ext <<_ACEOF
15438 /* confdefs.h. */
15439 _ACEOF
15440 cat confdefs.h >>conftest.$ac_ext
15441 cat >>conftest.$ac_ext <<_ACEOF
15442 /* end confdefs.h. */
15443 $ac_includes_default
15444 int
15445 main ()
15446 {
15447 if ((int *) 0)
15448 return 0;
15449 if (sizeof (int))
15450 return 0;
15451 ;
15452 return 0;
15453 }
15454 _ACEOF
15455 rm -f conftest.$ac_objext
15456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15457 (eval $ac_compile) 2>conftest.er1
15458 ac_status=$?
15459 grep -v '^ *+' conftest.er1 >conftest.err
15460 rm -f conftest.er1
15461 cat conftest.err >&5
15462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15463 (exit $ac_status); } &&
15464 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15466 (eval $ac_try) 2>&5
15467 ac_status=$?
15468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15469 (exit $ac_status); }; } &&
15470 { ac_try='test -s conftest.$ac_objext'
15471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15472 (eval $ac_try) 2>&5
15473 ac_status=$?
15474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15475 (exit $ac_status); }; }; then
15476 ac_cv_type_int=yes
15477 else
15478 echo "$as_me: failed program was:" >&5
15479 sed 's/^/| /' conftest.$ac_ext >&5
15480
15481 ac_cv_type_int=no
15482 fi
15483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15484 fi
15485 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15486 echo "${ECHO_T}$ac_cv_type_int" >&6
15487
15488 echo "$as_me:$LINENO: checking size of int" >&5
15489 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15490 if test "${ac_cv_sizeof_int+set}" = set; then
15491 echo $ECHO_N "(cached) $ECHO_C" >&6
15492 else
15493 if test "$ac_cv_type_int" = yes; then
15494 # The cast to unsigned long works around a bug in the HP C Compiler
15495 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15496 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15497 # This bug is HP SR number 8606223364.
15498 if test "$cross_compiling" = yes; then
15499 # Depending upon the size, compute the lo and hi bounds.
15500 cat >conftest.$ac_ext <<_ACEOF
15501 /* confdefs.h. */
15502 _ACEOF
15503 cat confdefs.h >>conftest.$ac_ext
15504 cat >>conftest.$ac_ext <<_ACEOF
15505 /* end confdefs.h. */
15506 $ac_includes_default
15507 int
15508 main ()
15509 {
15510 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15511 test_array [0] = 0
15512
15513 ;
15514 return 0;
15515 }
15516 _ACEOF
15517 rm -f conftest.$ac_objext
15518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15519 (eval $ac_compile) 2>conftest.er1
15520 ac_status=$?
15521 grep -v '^ *+' conftest.er1 >conftest.err
15522 rm -f conftest.er1
15523 cat conftest.err >&5
15524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525 (exit $ac_status); } &&
15526 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
15532 { ac_try='test -s conftest.$ac_objext'
15533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15534 (eval $ac_try) 2>&5
15535 ac_status=$?
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); }; }; then
15538 ac_lo=0 ac_mid=0
15539 while :; do
15540 cat >conftest.$ac_ext <<_ACEOF
15541 /* confdefs.h. */
15542 _ACEOF
15543 cat confdefs.h >>conftest.$ac_ext
15544 cat >>conftest.$ac_ext <<_ACEOF
15545 /* end confdefs.h. */
15546 $ac_includes_default
15547 int
15548 main ()
15549 {
15550 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15551 test_array [0] = 0
15552
15553 ;
15554 return 0;
15555 }
15556 _ACEOF
15557 rm -f conftest.$ac_objext
15558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15559 (eval $ac_compile) 2>conftest.er1
15560 ac_status=$?
15561 grep -v '^ *+' conftest.er1 >conftest.err
15562 rm -f conftest.er1
15563 cat conftest.err >&5
15564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15565 (exit $ac_status); } &&
15566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15568 (eval $ac_try) 2>&5
15569 ac_status=$?
15570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15571 (exit $ac_status); }; } &&
15572 { ac_try='test -s conftest.$ac_objext'
15573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15574 (eval $ac_try) 2>&5
15575 ac_status=$?
15576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15577 (exit $ac_status); }; }; then
15578 ac_hi=$ac_mid; break
15579 else
15580 echo "$as_me: failed program was:" >&5
15581 sed 's/^/| /' conftest.$ac_ext >&5
15582
15583 ac_lo=`expr $ac_mid + 1`
15584 if test $ac_lo -le $ac_mid; then
15585 ac_lo= ac_hi=
15586 break
15587 fi
15588 ac_mid=`expr 2 '*' $ac_mid + 1`
15589 fi
15590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15591 done
15592 else
15593 echo "$as_me: failed program was:" >&5
15594 sed 's/^/| /' conftest.$ac_ext >&5
15595
15596 cat >conftest.$ac_ext <<_ACEOF
15597 /* confdefs.h. */
15598 _ACEOF
15599 cat confdefs.h >>conftest.$ac_ext
15600 cat >>conftest.$ac_ext <<_ACEOF
15601 /* end confdefs.h. */
15602 $ac_includes_default
15603 int
15604 main ()
15605 {
15606 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15607 test_array [0] = 0
15608
15609 ;
15610 return 0;
15611 }
15612 _ACEOF
15613 rm -f conftest.$ac_objext
15614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15615 (eval $ac_compile) 2>conftest.er1
15616 ac_status=$?
15617 grep -v '^ *+' conftest.er1 >conftest.err
15618 rm -f conftest.er1
15619 cat conftest.err >&5
15620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15621 (exit $ac_status); } &&
15622 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15624 (eval $ac_try) 2>&5
15625 ac_status=$?
15626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15627 (exit $ac_status); }; } &&
15628 { ac_try='test -s conftest.$ac_objext'
15629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15630 (eval $ac_try) 2>&5
15631 ac_status=$?
15632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633 (exit $ac_status); }; }; then
15634 ac_hi=-1 ac_mid=-1
15635 while :; do
15636 cat >conftest.$ac_ext <<_ACEOF
15637 /* confdefs.h. */
15638 _ACEOF
15639 cat confdefs.h >>conftest.$ac_ext
15640 cat >>conftest.$ac_ext <<_ACEOF
15641 /* end confdefs.h. */
15642 $ac_includes_default
15643 int
15644 main ()
15645 {
15646 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15647 test_array [0] = 0
15648
15649 ;
15650 return 0;
15651 }
15652 _ACEOF
15653 rm -f conftest.$ac_objext
15654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15655 (eval $ac_compile) 2>conftest.er1
15656 ac_status=$?
15657 grep -v '^ *+' conftest.er1 >conftest.err
15658 rm -f conftest.er1
15659 cat conftest.err >&5
15660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15661 (exit $ac_status); } &&
15662 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15664 (eval $ac_try) 2>&5
15665 ac_status=$?
15666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15667 (exit $ac_status); }; } &&
15668 { ac_try='test -s conftest.$ac_objext'
15669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15670 (eval $ac_try) 2>&5
15671 ac_status=$?
15672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15673 (exit $ac_status); }; }; then
15674 ac_lo=$ac_mid; break
15675 else
15676 echo "$as_me: failed program was:" >&5
15677 sed 's/^/| /' conftest.$ac_ext >&5
15678
15679 ac_hi=`expr '(' $ac_mid ')' - 1`
15680 if test $ac_mid -le $ac_hi; then
15681 ac_lo= ac_hi=
15682 break
15683 fi
15684 ac_mid=`expr 2 '*' $ac_mid`
15685 fi
15686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15687 done
15688 else
15689 echo "$as_me: failed program was:" >&5
15690 sed 's/^/| /' conftest.$ac_ext >&5
15691
15692 ac_lo= ac_hi=
15693 fi
15694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15695 fi
15696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15697 # Binary search between lo and hi bounds.
15698 while test "x$ac_lo" != "x$ac_hi"; do
15699 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15700 cat >conftest.$ac_ext <<_ACEOF
15701 /* confdefs.h. */
15702 _ACEOF
15703 cat confdefs.h >>conftest.$ac_ext
15704 cat >>conftest.$ac_ext <<_ACEOF
15705 /* end confdefs.h. */
15706 $ac_includes_default
15707 int
15708 main ()
15709 {
15710 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15711 test_array [0] = 0
15712
15713 ;
15714 return 0;
15715 }
15716 _ACEOF
15717 rm -f conftest.$ac_objext
15718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15719 (eval $ac_compile) 2>conftest.er1
15720 ac_status=$?
15721 grep -v '^ *+' conftest.er1 >conftest.err
15722 rm -f conftest.er1
15723 cat conftest.err >&5
15724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15725 (exit $ac_status); } &&
15726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15728 (eval $ac_try) 2>&5
15729 ac_status=$?
15730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15731 (exit $ac_status); }; } &&
15732 { ac_try='test -s conftest.$ac_objext'
15733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15734 (eval $ac_try) 2>&5
15735 ac_status=$?
15736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15737 (exit $ac_status); }; }; then
15738 ac_hi=$ac_mid
15739 else
15740 echo "$as_me: failed program was:" >&5
15741 sed 's/^/| /' conftest.$ac_ext >&5
15742
15743 ac_lo=`expr '(' $ac_mid ')' + 1`
15744 fi
15745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15746 done
15747 case $ac_lo in
15748 ?*) ac_cv_sizeof_int=$ac_lo;;
15749 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15750 See \`config.log' for more details." >&5
15751 echo "$as_me: error: cannot compute sizeof (int), 77
15752 See \`config.log' for more details." >&2;}
15753 { (exit 1); exit 1; }; } ;;
15754 esac
15755 else
15756 if test "$cross_compiling" = yes; then
15757 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15758 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15759 { (exit 1); exit 1; }; }
15760 else
15761 cat >conftest.$ac_ext <<_ACEOF
15762 /* confdefs.h. */
15763 _ACEOF
15764 cat confdefs.h >>conftest.$ac_ext
15765 cat >>conftest.$ac_ext <<_ACEOF
15766 /* end confdefs.h. */
15767 $ac_includes_default
15768 long longval () { return (long) (sizeof (int)); }
15769 unsigned long ulongval () { return (long) (sizeof (int)); }
15770 #include <stdio.h>
15771 #include <stdlib.h>
15772 int
15773 main ()
15774 {
15775
15776 FILE *f = fopen ("conftest.val", "w");
15777 if (! f)
15778 exit (1);
15779 if (((long) (sizeof (int))) < 0)
15780 {
15781 long i = longval ();
15782 if (i != ((long) (sizeof (int))))
15783 exit (1);
15784 fprintf (f, "%ld\n", i);
15785 }
15786 else
15787 {
15788 unsigned long i = ulongval ();
15789 if (i != ((long) (sizeof (int))))
15790 exit (1);
15791 fprintf (f, "%lu\n", i);
15792 }
15793 exit (ferror (f) || fclose (f) != 0);
15794
15795 ;
15796 return 0;
15797 }
15798 _ACEOF
15799 rm -f conftest$ac_exeext
15800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15801 (eval $ac_link) 2>&5
15802 ac_status=$?
15803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15804 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15806 (eval $ac_try) 2>&5
15807 ac_status=$?
15808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15809 (exit $ac_status); }; }; then
15810 ac_cv_sizeof_int=`cat conftest.val`
15811 else
15812 echo "$as_me: program exited with status $ac_status" >&5
15813 echo "$as_me: failed program was:" >&5
15814 sed 's/^/| /' conftest.$ac_ext >&5
15815
15816 ( exit $ac_status )
15817 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15818 See \`config.log' for more details." >&5
15819 echo "$as_me: error: cannot compute sizeof (int), 77
15820 See \`config.log' for more details." >&2;}
15821 { (exit 1); exit 1; }; }
15822 fi
15823 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15824 fi
15825 fi
15826 rm -f conftest.val
15827 else
15828 ac_cv_sizeof_int=0
15829 fi
15830 fi
15831 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15832 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15833 cat >>confdefs.h <<_ACEOF
15834 #define SIZEOF_INT $ac_cv_sizeof_int
15835 _ACEOF
15836
15837
15838 echo "$as_me:$LINENO: checking for long" >&5
15839 echo $ECHO_N "checking for long... $ECHO_C" >&6
15840 if test "${ac_cv_type_long+set}" = set; then
15841 echo $ECHO_N "(cached) $ECHO_C" >&6
15842 else
15843 cat >conftest.$ac_ext <<_ACEOF
15844 /* confdefs.h. */
15845 _ACEOF
15846 cat confdefs.h >>conftest.$ac_ext
15847 cat >>conftest.$ac_ext <<_ACEOF
15848 /* end confdefs.h. */
15849 $ac_includes_default
15850 int
15851 main ()
15852 {
15853 if ((long *) 0)
15854 return 0;
15855 if (sizeof (long))
15856 return 0;
15857 ;
15858 return 0;
15859 }
15860 _ACEOF
15861 rm -f conftest.$ac_objext
15862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15863 (eval $ac_compile) 2>conftest.er1
15864 ac_status=$?
15865 grep -v '^ *+' conftest.er1 >conftest.err
15866 rm -f conftest.er1
15867 cat conftest.err >&5
15868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15869 (exit $ac_status); } &&
15870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15872 (eval $ac_try) 2>&5
15873 ac_status=$?
15874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15875 (exit $ac_status); }; } &&
15876 { ac_try='test -s conftest.$ac_objext'
15877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15878 (eval $ac_try) 2>&5
15879 ac_status=$?
15880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15881 (exit $ac_status); }; }; then
15882 ac_cv_type_long=yes
15883 else
15884 echo "$as_me: failed program was:" >&5
15885 sed 's/^/| /' conftest.$ac_ext >&5
15886
15887 ac_cv_type_long=no
15888 fi
15889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15890 fi
15891 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15892 echo "${ECHO_T}$ac_cv_type_long" >&6
15893
15894 echo "$as_me:$LINENO: checking size of long" >&5
15895 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15896 if test "${ac_cv_sizeof_long+set}" = set; then
15897 echo $ECHO_N "(cached) $ECHO_C" >&6
15898 else
15899 if test "$ac_cv_type_long" = yes; then
15900 # The cast to unsigned long works around a bug in the HP C Compiler
15901 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15902 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15903 # This bug is HP SR number 8606223364.
15904 if test "$cross_compiling" = yes; then
15905 # Depending upon the size, compute the lo and hi bounds.
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 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15917 test_array [0] = 0
15918
15919 ;
15920 return 0;
15921 }
15922 _ACEOF
15923 rm -f conftest.$ac_objext
15924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15925 (eval $ac_compile) 2>conftest.er1
15926 ac_status=$?
15927 grep -v '^ *+' conftest.er1 >conftest.err
15928 rm -f conftest.er1
15929 cat conftest.err >&5
15930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15931 (exit $ac_status); } &&
15932 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15934 (eval $ac_try) 2>&5
15935 ac_status=$?
15936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15937 (exit $ac_status); }; } &&
15938 { ac_try='test -s conftest.$ac_objext'
15939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15940 (eval $ac_try) 2>&5
15941 ac_status=$?
15942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15943 (exit $ac_status); }; }; then
15944 ac_lo=0 ac_mid=0
15945 while :; do
15946 cat >conftest.$ac_ext <<_ACEOF
15947 /* confdefs.h. */
15948 _ACEOF
15949 cat confdefs.h >>conftest.$ac_ext
15950 cat >>conftest.$ac_ext <<_ACEOF
15951 /* end confdefs.h. */
15952 $ac_includes_default
15953 int
15954 main ()
15955 {
15956 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15957 test_array [0] = 0
15958
15959 ;
15960 return 0;
15961 }
15962 _ACEOF
15963 rm -f conftest.$ac_objext
15964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15965 (eval $ac_compile) 2>conftest.er1
15966 ac_status=$?
15967 grep -v '^ *+' conftest.er1 >conftest.err
15968 rm -f conftest.er1
15969 cat conftest.err >&5
15970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15971 (exit $ac_status); } &&
15972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15974 (eval $ac_try) 2>&5
15975 ac_status=$?
15976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15977 (exit $ac_status); }; } &&
15978 { ac_try='test -s conftest.$ac_objext'
15979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15980 (eval $ac_try) 2>&5
15981 ac_status=$?
15982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983 (exit $ac_status); }; }; then
15984 ac_hi=$ac_mid; break
15985 else
15986 echo "$as_me: failed program was:" >&5
15987 sed 's/^/| /' conftest.$ac_ext >&5
15988
15989 ac_lo=`expr $ac_mid + 1`
15990 if test $ac_lo -le $ac_mid; then
15991 ac_lo= ac_hi=
15992 break
15993 fi
15994 ac_mid=`expr 2 '*' $ac_mid + 1`
15995 fi
15996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15997 done
15998 else
15999 echo "$as_me: failed program was:" >&5
16000 sed 's/^/| /' conftest.$ac_ext >&5
16001
16002 cat >conftest.$ac_ext <<_ACEOF
16003 /* confdefs.h. */
16004 _ACEOF
16005 cat confdefs.h >>conftest.$ac_ext
16006 cat >>conftest.$ac_ext <<_ACEOF
16007 /* end confdefs.h. */
16008 $ac_includes_default
16009 int
16010 main ()
16011 {
16012 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16013 test_array [0] = 0
16014
16015 ;
16016 return 0;
16017 }
16018 _ACEOF
16019 rm -f conftest.$ac_objext
16020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16021 (eval $ac_compile) 2>conftest.er1
16022 ac_status=$?
16023 grep -v '^ *+' conftest.er1 >conftest.err
16024 rm -f conftest.er1
16025 cat conftest.err >&5
16026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16027 (exit $ac_status); } &&
16028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16030 (eval $ac_try) 2>&5
16031 ac_status=$?
16032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16033 (exit $ac_status); }; } &&
16034 { ac_try='test -s conftest.$ac_objext'
16035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16036 (eval $ac_try) 2>&5
16037 ac_status=$?
16038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16039 (exit $ac_status); }; }; then
16040 ac_hi=-1 ac_mid=-1
16041 while :; do
16042 cat >conftest.$ac_ext <<_ACEOF
16043 /* confdefs.h. */
16044 _ACEOF
16045 cat confdefs.h >>conftest.$ac_ext
16046 cat >>conftest.$ac_ext <<_ACEOF
16047 /* end confdefs.h. */
16048 $ac_includes_default
16049 int
16050 main ()
16051 {
16052 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16053 test_array [0] = 0
16054
16055 ;
16056 return 0;
16057 }
16058 _ACEOF
16059 rm -f conftest.$ac_objext
16060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16061 (eval $ac_compile) 2>conftest.er1
16062 ac_status=$?
16063 grep -v '^ *+' conftest.er1 >conftest.err
16064 rm -f conftest.er1
16065 cat conftest.err >&5
16066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16067 (exit $ac_status); } &&
16068 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16070 (eval $ac_try) 2>&5
16071 ac_status=$?
16072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16073 (exit $ac_status); }; } &&
16074 { ac_try='test -s conftest.$ac_objext'
16075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16076 (eval $ac_try) 2>&5
16077 ac_status=$?
16078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16079 (exit $ac_status); }; }; then
16080 ac_lo=$ac_mid; break
16081 else
16082 echo "$as_me: failed program was:" >&5
16083 sed 's/^/| /' conftest.$ac_ext >&5
16084
16085 ac_hi=`expr '(' $ac_mid ')' - 1`
16086 if test $ac_mid -le $ac_hi; then
16087 ac_lo= ac_hi=
16088 break
16089 fi
16090 ac_mid=`expr 2 '*' $ac_mid`
16091 fi
16092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16093 done
16094 else
16095 echo "$as_me: failed program was:" >&5
16096 sed 's/^/| /' conftest.$ac_ext >&5
16097
16098 ac_lo= ac_hi=
16099 fi
16100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16101 fi
16102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16103 # Binary search between lo and hi bounds.
16104 while test "x$ac_lo" != "x$ac_hi"; do
16105 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16106 cat >conftest.$ac_ext <<_ACEOF
16107 /* confdefs.h. */
16108 _ACEOF
16109 cat confdefs.h >>conftest.$ac_ext
16110 cat >>conftest.$ac_ext <<_ACEOF
16111 /* end confdefs.h. */
16112 $ac_includes_default
16113 int
16114 main ()
16115 {
16116 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16117 test_array [0] = 0
16118
16119 ;
16120 return 0;
16121 }
16122 _ACEOF
16123 rm -f conftest.$ac_objext
16124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16125 (eval $ac_compile) 2>conftest.er1
16126 ac_status=$?
16127 grep -v '^ *+' conftest.er1 >conftest.err
16128 rm -f conftest.er1
16129 cat conftest.err >&5
16130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16131 (exit $ac_status); } &&
16132 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16134 (eval $ac_try) 2>&5
16135 ac_status=$?
16136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16137 (exit $ac_status); }; } &&
16138 { ac_try='test -s conftest.$ac_objext'
16139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16140 (eval $ac_try) 2>&5
16141 ac_status=$?
16142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16143 (exit $ac_status); }; }; then
16144 ac_hi=$ac_mid
16145 else
16146 echo "$as_me: failed program was:" >&5
16147 sed 's/^/| /' conftest.$ac_ext >&5
16148
16149 ac_lo=`expr '(' $ac_mid ')' + 1`
16150 fi
16151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16152 done
16153 case $ac_lo in
16154 ?*) ac_cv_sizeof_long=$ac_lo;;
16155 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16156 See \`config.log' for more details." >&5
16157 echo "$as_me: error: cannot compute sizeof (long), 77
16158 See \`config.log' for more details." >&2;}
16159 { (exit 1); exit 1; }; } ;;
16160 esac
16161 else
16162 if test "$cross_compiling" = yes; then
16163 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16164 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16165 { (exit 1); exit 1; }; }
16166 else
16167 cat >conftest.$ac_ext <<_ACEOF
16168 /* confdefs.h. */
16169 _ACEOF
16170 cat confdefs.h >>conftest.$ac_ext
16171 cat >>conftest.$ac_ext <<_ACEOF
16172 /* end confdefs.h. */
16173 $ac_includes_default
16174 long longval () { return (long) (sizeof (long)); }
16175 unsigned long ulongval () { return (long) (sizeof (long)); }
16176 #include <stdio.h>
16177 #include <stdlib.h>
16178 int
16179 main ()
16180 {
16181
16182 FILE *f = fopen ("conftest.val", "w");
16183 if (! f)
16184 exit (1);
16185 if (((long) (sizeof (long))) < 0)
16186 {
16187 long i = longval ();
16188 if (i != ((long) (sizeof (long))))
16189 exit (1);
16190 fprintf (f, "%ld\n", i);
16191 }
16192 else
16193 {
16194 unsigned long i = ulongval ();
16195 if (i != ((long) (sizeof (long))))
16196 exit (1);
16197 fprintf (f, "%lu\n", i);
16198 }
16199 exit (ferror (f) || fclose (f) != 0);
16200
16201 ;
16202 return 0;
16203 }
16204 _ACEOF
16205 rm -f conftest$ac_exeext
16206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16207 (eval $ac_link) 2>&5
16208 ac_status=$?
16209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16210 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16212 (eval $ac_try) 2>&5
16213 ac_status=$?
16214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16215 (exit $ac_status); }; }; then
16216 ac_cv_sizeof_long=`cat conftest.val`
16217 else
16218 echo "$as_me: program exited with status $ac_status" >&5
16219 echo "$as_me: failed program was:" >&5
16220 sed 's/^/| /' conftest.$ac_ext >&5
16221
16222 ( exit $ac_status )
16223 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16224 See \`config.log' for more details." >&5
16225 echo "$as_me: error: cannot compute sizeof (long), 77
16226 See \`config.log' for more details." >&2;}
16227 { (exit 1); exit 1; }; }
16228 fi
16229 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16230 fi
16231 fi
16232 rm -f conftest.val
16233 else
16234 ac_cv_sizeof_long=0
16235 fi
16236 fi
16237 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16238 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16239 cat >>confdefs.h <<_ACEOF
16240 #define SIZEOF_LONG $ac_cv_sizeof_long
16241 _ACEOF
16242
16243
16244 echo "$as_me:$LINENO: checking for size_t" >&5
16245 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16246 if test "${ac_cv_type_size_t+set}" = set; then
16247 echo $ECHO_N "(cached) $ECHO_C" >&6
16248 else
16249 cat >conftest.$ac_ext <<_ACEOF
16250 /* confdefs.h. */
16251 _ACEOF
16252 cat confdefs.h >>conftest.$ac_ext
16253 cat >>conftest.$ac_ext <<_ACEOF
16254 /* end confdefs.h. */
16255 $ac_includes_default
16256 int
16257 main ()
16258 {
16259 if ((size_t *) 0)
16260 return 0;
16261 if (sizeof (size_t))
16262 return 0;
16263 ;
16264 return 0;
16265 }
16266 _ACEOF
16267 rm -f conftest.$ac_objext
16268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16269 (eval $ac_compile) 2>conftest.er1
16270 ac_status=$?
16271 grep -v '^ *+' conftest.er1 >conftest.err
16272 rm -f conftest.er1
16273 cat conftest.err >&5
16274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16275 (exit $ac_status); } &&
16276 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16278 (eval $ac_try) 2>&5
16279 ac_status=$?
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); }; } &&
16282 { ac_try='test -s conftest.$ac_objext'
16283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16284 (eval $ac_try) 2>&5
16285 ac_status=$?
16286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16287 (exit $ac_status); }; }; then
16288 ac_cv_type_size_t=yes
16289 else
16290 echo "$as_me: failed program was:" >&5
16291 sed 's/^/| /' conftest.$ac_ext >&5
16292
16293 ac_cv_type_size_t=no
16294 fi
16295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16296 fi
16297 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16298 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16299
16300 echo "$as_me:$LINENO: checking size of size_t" >&5
16301 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16302 if test "${ac_cv_sizeof_size_t+set}" = set; then
16303 echo $ECHO_N "(cached) $ECHO_C" >&6
16304 else
16305 if test "$ac_cv_type_size_t" = yes; then
16306 # The cast to unsigned long works around a bug in the HP C Compiler
16307 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16308 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16309 # This bug is HP SR number 8606223364.
16310 if test "$cross_compiling" = yes; then
16311 # Depending upon the size, compute the lo and hi bounds.
16312 cat >conftest.$ac_ext <<_ACEOF
16313 /* confdefs.h. */
16314 _ACEOF
16315 cat confdefs.h >>conftest.$ac_ext
16316 cat >>conftest.$ac_ext <<_ACEOF
16317 /* end confdefs.h. */
16318 $ac_includes_default
16319 int
16320 main ()
16321 {
16322 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16323 test_array [0] = 0
16324
16325 ;
16326 return 0;
16327 }
16328 _ACEOF
16329 rm -f conftest.$ac_objext
16330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16331 (eval $ac_compile) 2>conftest.er1
16332 ac_status=$?
16333 grep -v '^ *+' conftest.er1 >conftest.err
16334 rm -f conftest.er1
16335 cat conftest.err >&5
16336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16337 (exit $ac_status); } &&
16338 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16340 (eval $ac_try) 2>&5
16341 ac_status=$?
16342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16343 (exit $ac_status); }; } &&
16344 { ac_try='test -s conftest.$ac_objext'
16345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16346 (eval $ac_try) 2>&5
16347 ac_status=$?
16348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349 (exit $ac_status); }; }; then
16350 ac_lo=0 ac_mid=0
16351 while :; do
16352 cat >conftest.$ac_ext <<_ACEOF
16353 /* confdefs.h. */
16354 _ACEOF
16355 cat confdefs.h >>conftest.$ac_ext
16356 cat >>conftest.$ac_ext <<_ACEOF
16357 /* end confdefs.h. */
16358 $ac_includes_default
16359 int
16360 main ()
16361 {
16362 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16363 test_array [0] = 0
16364
16365 ;
16366 return 0;
16367 }
16368 _ACEOF
16369 rm -f conftest.$ac_objext
16370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16371 (eval $ac_compile) 2>conftest.er1
16372 ac_status=$?
16373 grep -v '^ *+' conftest.er1 >conftest.err
16374 rm -f conftest.er1
16375 cat conftest.err >&5
16376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16377 (exit $ac_status); } &&
16378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16380 (eval $ac_try) 2>&5
16381 ac_status=$?
16382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16383 (exit $ac_status); }; } &&
16384 { ac_try='test -s conftest.$ac_objext'
16385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16386 (eval $ac_try) 2>&5
16387 ac_status=$?
16388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16389 (exit $ac_status); }; }; then
16390 ac_hi=$ac_mid; break
16391 else
16392 echo "$as_me: failed program was:" >&5
16393 sed 's/^/| /' conftest.$ac_ext >&5
16394
16395 ac_lo=`expr $ac_mid + 1`
16396 if test $ac_lo -le $ac_mid; then
16397 ac_lo= ac_hi=
16398 break
16399 fi
16400 ac_mid=`expr 2 '*' $ac_mid + 1`
16401 fi
16402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16403 done
16404 else
16405 echo "$as_me: failed program was:" >&5
16406 sed 's/^/| /' conftest.$ac_ext >&5
16407
16408 cat >conftest.$ac_ext <<_ACEOF
16409 /* confdefs.h. */
16410 _ACEOF
16411 cat confdefs.h >>conftest.$ac_ext
16412 cat >>conftest.$ac_ext <<_ACEOF
16413 /* end confdefs.h. */
16414 $ac_includes_default
16415 int
16416 main ()
16417 {
16418 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16419 test_array [0] = 0
16420
16421 ;
16422 return 0;
16423 }
16424 _ACEOF
16425 rm -f conftest.$ac_objext
16426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16427 (eval $ac_compile) 2>conftest.er1
16428 ac_status=$?
16429 grep -v '^ *+' conftest.er1 >conftest.err
16430 rm -f conftest.er1
16431 cat conftest.err >&5
16432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16433 (exit $ac_status); } &&
16434 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16436 (eval $ac_try) 2>&5
16437 ac_status=$?
16438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16439 (exit $ac_status); }; } &&
16440 { ac_try='test -s conftest.$ac_objext'
16441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16442 (eval $ac_try) 2>&5
16443 ac_status=$?
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); }; }; then
16446 ac_hi=-1 ac_mid=-1
16447 while :; do
16448 cat >conftest.$ac_ext <<_ACEOF
16449 /* confdefs.h. */
16450 _ACEOF
16451 cat confdefs.h >>conftest.$ac_ext
16452 cat >>conftest.$ac_ext <<_ACEOF
16453 /* end confdefs.h. */
16454 $ac_includes_default
16455 int
16456 main ()
16457 {
16458 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16459 test_array [0] = 0
16460
16461 ;
16462 return 0;
16463 }
16464 _ACEOF
16465 rm -f conftest.$ac_objext
16466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16467 (eval $ac_compile) 2>conftest.er1
16468 ac_status=$?
16469 grep -v '^ *+' conftest.er1 >conftest.err
16470 rm -f conftest.er1
16471 cat conftest.err >&5
16472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16473 (exit $ac_status); } &&
16474 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16476 (eval $ac_try) 2>&5
16477 ac_status=$?
16478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16479 (exit $ac_status); }; } &&
16480 { ac_try='test -s conftest.$ac_objext'
16481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16482 (eval $ac_try) 2>&5
16483 ac_status=$?
16484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16485 (exit $ac_status); }; }; then
16486 ac_lo=$ac_mid; break
16487 else
16488 echo "$as_me: failed program was:" >&5
16489 sed 's/^/| /' conftest.$ac_ext >&5
16490
16491 ac_hi=`expr '(' $ac_mid ')' - 1`
16492 if test $ac_mid -le $ac_hi; then
16493 ac_lo= ac_hi=
16494 break
16495 fi
16496 ac_mid=`expr 2 '*' $ac_mid`
16497 fi
16498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16499 done
16500 else
16501 echo "$as_me: failed program was:" >&5
16502 sed 's/^/| /' conftest.$ac_ext >&5
16503
16504 ac_lo= ac_hi=
16505 fi
16506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16507 fi
16508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16509 # Binary search between lo and hi bounds.
16510 while test "x$ac_lo" != "x$ac_hi"; do
16511 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16512 cat >conftest.$ac_ext <<_ACEOF
16513 /* confdefs.h. */
16514 _ACEOF
16515 cat confdefs.h >>conftest.$ac_ext
16516 cat >>conftest.$ac_ext <<_ACEOF
16517 /* end confdefs.h. */
16518 $ac_includes_default
16519 int
16520 main ()
16521 {
16522 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16523 test_array [0] = 0
16524
16525 ;
16526 return 0;
16527 }
16528 _ACEOF
16529 rm -f conftest.$ac_objext
16530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16531 (eval $ac_compile) 2>conftest.er1
16532 ac_status=$?
16533 grep -v '^ *+' conftest.er1 >conftest.err
16534 rm -f conftest.er1
16535 cat conftest.err >&5
16536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16537 (exit $ac_status); } &&
16538 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16540 (eval $ac_try) 2>&5
16541 ac_status=$?
16542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16543 (exit $ac_status); }; } &&
16544 { ac_try='test -s conftest.$ac_objext'
16545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16546 (eval $ac_try) 2>&5
16547 ac_status=$?
16548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16549 (exit $ac_status); }; }; then
16550 ac_hi=$ac_mid
16551 else
16552 echo "$as_me: failed program was:" >&5
16553 sed 's/^/| /' conftest.$ac_ext >&5
16554
16555 ac_lo=`expr '(' $ac_mid ')' + 1`
16556 fi
16557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16558 done
16559 case $ac_lo in
16560 ?*) ac_cv_sizeof_size_t=$ac_lo;;
16561 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16562 See \`config.log' for more details." >&5
16563 echo "$as_me: error: cannot compute sizeof (size_t), 77
16564 See \`config.log' for more details." >&2;}
16565 { (exit 1); exit 1; }; } ;;
16566 esac
16567 else
16568 if test "$cross_compiling" = yes; then
16569 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16570 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16571 { (exit 1); exit 1; }; }
16572 else
16573 cat >conftest.$ac_ext <<_ACEOF
16574 /* confdefs.h. */
16575 _ACEOF
16576 cat confdefs.h >>conftest.$ac_ext
16577 cat >>conftest.$ac_ext <<_ACEOF
16578 /* end confdefs.h. */
16579 $ac_includes_default
16580 long longval () { return (long) (sizeof (size_t)); }
16581 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16582 #include <stdio.h>
16583 #include <stdlib.h>
16584 int
16585 main ()
16586 {
16587
16588 FILE *f = fopen ("conftest.val", "w");
16589 if (! f)
16590 exit (1);
16591 if (((long) (sizeof (size_t))) < 0)
16592 {
16593 long i = longval ();
16594 if (i != ((long) (sizeof (size_t))))
16595 exit (1);
16596 fprintf (f, "%ld\n", i);
16597 }
16598 else
16599 {
16600 unsigned long i = ulongval ();
16601 if (i != ((long) (sizeof (size_t))))
16602 exit (1);
16603 fprintf (f, "%lu\n", i);
16604 }
16605 exit (ferror (f) || fclose (f) != 0);
16606
16607 ;
16608 return 0;
16609 }
16610 _ACEOF
16611 rm -f conftest$ac_exeext
16612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16613 (eval $ac_link) 2>&5
16614 ac_status=$?
16615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16616 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16618 (eval $ac_try) 2>&5
16619 ac_status=$?
16620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16621 (exit $ac_status); }; }; then
16622 ac_cv_sizeof_size_t=`cat conftest.val`
16623 else
16624 echo "$as_me: program exited with status $ac_status" >&5
16625 echo "$as_me: failed program was:" >&5
16626 sed 's/^/| /' conftest.$ac_ext >&5
16627
16628 ( exit $ac_status )
16629 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16630 See \`config.log' for more details." >&5
16631 echo "$as_me: error: cannot compute sizeof (size_t), 77
16632 See \`config.log' for more details." >&2;}
16633 { (exit 1); exit 1; }; }
16634 fi
16635 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16636 fi
16637 fi
16638 rm -f conftest.val
16639 else
16640 ac_cv_sizeof_size_t=0
16641 fi
16642 fi
16643 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16644 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16645 cat >>confdefs.h <<_ACEOF
16646 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16647 _ACEOF
16648
16649
16650
16651 case "${host}" in
16652 arm-*-linux* )
16653 echo "$as_me:$LINENO: checking for long long" >&5
16654 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16655 if test "${ac_cv_type_long_long+set}" = set; then
16656 echo $ECHO_N "(cached) $ECHO_C" >&6
16657 else
16658 cat >conftest.$ac_ext <<_ACEOF
16659 /* confdefs.h. */
16660 _ACEOF
16661 cat confdefs.h >>conftest.$ac_ext
16662 cat >>conftest.$ac_ext <<_ACEOF
16663 /* end confdefs.h. */
16664 $ac_includes_default
16665 int
16666 main ()
16667 {
16668 if ((long long *) 0)
16669 return 0;
16670 if (sizeof (long long))
16671 return 0;
16672 ;
16673 return 0;
16674 }
16675 _ACEOF
16676 rm -f conftest.$ac_objext
16677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16678 (eval $ac_compile) 2>conftest.er1
16679 ac_status=$?
16680 grep -v '^ *+' conftest.er1 >conftest.err
16681 rm -f conftest.er1
16682 cat conftest.err >&5
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); } &&
16685 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16687 (eval $ac_try) 2>&5
16688 ac_status=$?
16689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16690 (exit $ac_status); }; } &&
16691 { ac_try='test -s conftest.$ac_objext'
16692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16693 (eval $ac_try) 2>&5
16694 ac_status=$?
16695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16696 (exit $ac_status); }; }; then
16697 ac_cv_type_long_long=yes
16698 else
16699 echo "$as_me: failed program was:" >&5
16700 sed 's/^/| /' conftest.$ac_ext >&5
16701
16702 ac_cv_type_long_long=no
16703 fi
16704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16705 fi
16706 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16707 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16708
16709 echo "$as_me:$LINENO: checking size of long long" >&5
16710 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16711 if test "${ac_cv_sizeof_long_long+set}" = set; then
16712 echo $ECHO_N "(cached) $ECHO_C" >&6
16713 else
16714 if test "$ac_cv_type_long_long" = yes; then
16715 # The cast to unsigned long works around a bug in the HP C Compiler
16716 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16717 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16718 # This bug is HP SR number 8606223364.
16719 if test "$cross_compiling" = yes; then
16720 # Depending upon the size, compute the lo and hi bounds.
16721 cat >conftest.$ac_ext <<_ACEOF
16722 /* confdefs.h. */
16723 _ACEOF
16724 cat confdefs.h >>conftest.$ac_ext
16725 cat >>conftest.$ac_ext <<_ACEOF
16726 /* end confdefs.h. */
16727 $ac_includes_default
16728 int
16729 main ()
16730 {
16731 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16732 test_array [0] = 0
16733
16734 ;
16735 return 0;
16736 }
16737 _ACEOF
16738 rm -f conftest.$ac_objext
16739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16740 (eval $ac_compile) 2>conftest.er1
16741 ac_status=$?
16742 grep -v '^ *+' conftest.er1 >conftest.err
16743 rm -f conftest.er1
16744 cat conftest.err >&5
16745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16746 (exit $ac_status); } &&
16747 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16749 (eval $ac_try) 2>&5
16750 ac_status=$?
16751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16752 (exit $ac_status); }; } &&
16753 { ac_try='test -s conftest.$ac_objext'
16754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16755 (eval $ac_try) 2>&5
16756 ac_status=$?
16757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16758 (exit $ac_status); }; }; then
16759 ac_lo=0 ac_mid=0
16760 while :; do
16761 cat >conftest.$ac_ext <<_ACEOF
16762 /* confdefs.h. */
16763 _ACEOF
16764 cat confdefs.h >>conftest.$ac_ext
16765 cat >>conftest.$ac_ext <<_ACEOF
16766 /* end confdefs.h. */
16767 $ac_includes_default
16768 int
16769 main ()
16770 {
16771 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16772 test_array [0] = 0
16773
16774 ;
16775 return 0;
16776 }
16777 _ACEOF
16778 rm -f conftest.$ac_objext
16779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16780 (eval $ac_compile) 2>conftest.er1
16781 ac_status=$?
16782 grep -v '^ *+' conftest.er1 >conftest.err
16783 rm -f conftest.er1
16784 cat conftest.err >&5
16785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16786 (exit $ac_status); } &&
16787 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16789 (eval $ac_try) 2>&5
16790 ac_status=$?
16791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16792 (exit $ac_status); }; } &&
16793 { ac_try='test -s conftest.$ac_objext'
16794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16795 (eval $ac_try) 2>&5
16796 ac_status=$?
16797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16798 (exit $ac_status); }; }; then
16799 ac_hi=$ac_mid; break
16800 else
16801 echo "$as_me: failed program was:" >&5
16802 sed 's/^/| /' conftest.$ac_ext >&5
16803
16804 ac_lo=`expr $ac_mid + 1`
16805 if test $ac_lo -le $ac_mid; then
16806 ac_lo= ac_hi=
16807 break
16808 fi
16809 ac_mid=`expr 2 '*' $ac_mid + 1`
16810 fi
16811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16812 done
16813 else
16814 echo "$as_me: failed program was:" >&5
16815 sed 's/^/| /' conftest.$ac_ext >&5
16816
16817 cat >conftest.$ac_ext <<_ACEOF
16818 /* confdefs.h. */
16819 _ACEOF
16820 cat confdefs.h >>conftest.$ac_ext
16821 cat >>conftest.$ac_ext <<_ACEOF
16822 /* end confdefs.h. */
16823 $ac_includes_default
16824 int
16825 main ()
16826 {
16827 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16828 test_array [0] = 0
16829
16830 ;
16831 return 0;
16832 }
16833 _ACEOF
16834 rm -f conftest.$ac_objext
16835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16836 (eval $ac_compile) 2>conftest.er1
16837 ac_status=$?
16838 grep -v '^ *+' conftest.er1 >conftest.err
16839 rm -f conftest.er1
16840 cat conftest.err >&5
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16842 (exit $ac_status); } &&
16843 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16845 (eval $ac_try) 2>&5
16846 ac_status=$?
16847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16848 (exit $ac_status); }; } &&
16849 { ac_try='test -s conftest.$ac_objext'
16850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16851 (eval $ac_try) 2>&5
16852 ac_status=$?
16853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16854 (exit $ac_status); }; }; then
16855 ac_hi=-1 ac_mid=-1
16856 while :; do
16857 cat >conftest.$ac_ext <<_ACEOF
16858 /* confdefs.h. */
16859 _ACEOF
16860 cat confdefs.h >>conftest.$ac_ext
16861 cat >>conftest.$ac_ext <<_ACEOF
16862 /* end confdefs.h. */
16863 $ac_includes_default
16864 int
16865 main ()
16866 {
16867 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16868 test_array [0] = 0
16869
16870 ;
16871 return 0;
16872 }
16873 _ACEOF
16874 rm -f conftest.$ac_objext
16875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16876 (eval $ac_compile) 2>conftest.er1
16877 ac_status=$?
16878 grep -v '^ *+' conftest.er1 >conftest.err
16879 rm -f conftest.er1
16880 cat conftest.err >&5
16881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16882 (exit $ac_status); } &&
16883 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16885 (eval $ac_try) 2>&5
16886 ac_status=$?
16887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16888 (exit $ac_status); }; } &&
16889 { ac_try='test -s conftest.$ac_objext'
16890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16891 (eval $ac_try) 2>&5
16892 ac_status=$?
16893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16894 (exit $ac_status); }; }; then
16895 ac_lo=$ac_mid; break
16896 else
16897 echo "$as_me: failed program was:" >&5
16898 sed 's/^/| /' conftest.$ac_ext >&5
16899
16900 ac_hi=`expr '(' $ac_mid ')' - 1`
16901 if test $ac_mid -le $ac_hi; then
16902 ac_lo= ac_hi=
16903 break
16904 fi
16905 ac_mid=`expr 2 '*' $ac_mid`
16906 fi
16907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16908 done
16909 else
16910 echo "$as_me: failed program was:" >&5
16911 sed 's/^/| /' conftest.$ac_ext >&5
16912
16913 ac_lo= ac_hi=
16914 fi
16915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16916 fi
16917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16918 # Binary search between lo and hi bounds.
16919 while test "x$ac_lo" != "x$ac_hi"; do
16920 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16921 cat >conftest.$ac_ext <<_ACEOF
16922 /* confdefs.h. */
16923 _ACEOF
16924 cat confdefs.h >>conftest.$ac_ext
16925 cat >>conftest.$ac_ext <<_ACEOF
16926 /* end confdefs.h. */
16927 $ac_includes_default
16928 int
16929 main ()
16930 {
16931 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16932 test_array [0] = 0
16933
16934 ;
16935 return 0;
16936 }
16937 _ACEOF
16938 rm -f conftest.$ac_objext
16939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16940 (eval $ac_compile) 2>conftest.er1
16941 ac_status=$?
16942 grep -v '^ *+' conftest.er1 >conftest.err
16943 rm -f conftest.er1
16944 cat conftest.err >&5
16945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16946 (exit $ac_status); } &&
16947 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16949 (eval $ac_try) 2>&5
16950 ac_status=$?
16951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16952 (exit $ac_status); }; } &&
16953 { ac_try='test -s conftest.$ac_objext'
16954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16955 (eval $ac_try) 2>&5
16956 ac_status=$?
16957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16958 (exit $ac_status); }; }; then
16959 ac_hi=$ac_mid
16960 else
16961 echo "$as_me: failed program was:" >&5
16962 sed 's/^/| /' conftest.$ac_ext >&5
16963
16964 ac_lo=`expr '(' $ac_mid ')' + 1`
16965 fi
16966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16967 done
16968 case $ac_lo in
16969 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16970 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16971 See \`config.log' for more details." >&5
16972 echo "$as_me: error: cannot compute sizeof (long long), 77
16973 See \`config.log' for more details." >&2;}
16974 { (exit 1); exit 1; }; } ;;
16975 esac
16976 else
16977 if test "$cross_compiling" = yes; then
16978 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16979 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16980 { (exit 1); exit 1; }; }
16981 else
16982 cat >conftest.$ac_ext <<_ACEOF
16983 /* confdefs.h. */
16984 _ACEOF
16985 cat confdefs.h >>conftest.$ac_ext
16986 cat >>conftest.$ac_ext <<_ACEOF
16987 /* end confdefs.h. */
16988 $ac_includes_default
16989 long longval () { return (long) (sizeof (long long)); }
16990 unsigned long ulongval () { return (long) (sizeof (long long)); }
16991 #include <stdio.h>
16992 #include <stdlib.h>
16993 int
16994 main ()
16995 {
16996
16997 FILE *f = fopen ("conftest.val", "w");
16998 if (! f)
16999 exit (1);
17000 if (((long) (sizeof (long long))) < 0)
17001 {
17002 long i = longval ();
17003 if (i != ((long) (sizeof (long long))))
17004 exit (1);
17005 fprintf (f, "%ld\n", i);
17006 }
17007 else
17008 {
17009 unsigned long i = ulongval ();
17010 if (i != ((long) (sizeof (long long))))
17011 exit (1);
17012 fprintf (f, "%lu\n", i);
17013 }
17014 exit (ferror (f) || fclose (f) != 0);
17015
17016 ;
17017 return 0;
17018 }
17019 _ACEOF
17020 rm -f conftest$ac_exeext
17021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17022 (eval $ac_link) 2>&5
17023 ac_status=$?
17024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17025 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17027 (eval $ac_try) 2>&5
17028 ac_status=$?
17029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17030 (exit $ac_status); }; }; then
17031 ac_cv_sizeof_long_long=`cat conftest.val`
17032 else
17033 echo "$as_me: program exited with status $ac_status" >&5
17034 echo "$as_me: failed program was:" >&5
17035 sed 's/^/| /' conftest.$ac_ext >&5
17036
17037 ( exit $ac_status )
17038 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17039 See \`config.log' for more details." >&5
17040 echo "$as_me: error: cannot compute sizeof (long long), 77
17041 See \`config.log' for more details." >&2;}
17042 { (exit 1); exit 1; }; }
17043 fi
17044 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17045 fi
17046 fi
17047 rm -f conftest.val
17048 else
17049 ac_cv_sizeof_long_long=0
17050 fi
17051 fi
17052 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17053 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17054 cat >>confdefs.h <<_ACEOF
17055 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17056 _ACEOF
17057
17058
17059 ;;
17060 *-hp-hpux* )
17061 echo "$as_me:$LINENO: checking for long long" >&5
17062 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17063 if test "${ac_cv_type_long_long+set}" = set; then
17064 echo $ECHO_N "(cached) $ECHO_C" >&6
17065 else
17066 cat >conftest.$ac_ext <<_ACEOF
17067 /* confdefs.h. */
17068 _ACEOF
17069 cat confdefs.h >>conftest.$ac_ext
17070 cat >>conftest.$ac_ext <<_ACEOF
17071 /* end confdefs.h. */
17072 $ac_includes_default
17073 int
17074 main ()
17075 {
17076 if ((long long *) 0)
17077 return 0;
17078 if (sizeof (long long))
17079 return 0;
17080 ;
17081 return 0;
17082 }
17083 _ACEOF
17084 rm -f conftest.$ac_objext
17085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17086 (eval $ac_compile) 2>conftest.er1
17087 ac_status=$?
17088 grep -v '^ *+' conftest.er1 >conftest.err
17089 rm -f conftest.er1
17090 cat conftest.err >&5
17091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17092 (exit $ac_status); } &&
17093 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17095 (eval $ac_try) 2>&5
17096 ac_status=$?
17097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17098 (exit $ac_status); }; } &&
17099 { ac_try='test -s conftest.$ac_objext'
17100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17101 (eval $ac_try) 2>&5
17102 ac_status=$?
17103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104 (exit $ac_status); }; }; then
17105 ac_cv_type_long_long=yes
17106 else
17107 echo "$as_me: failed program was:" >&5
17108 sed 's/^/| /' conftest.$ac_ext >&5
17109
17110 ac_cv_type_long_long=no
17111 fi
17112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17113 fi
17114 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17115 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17116
17117 echo "$as_me:$LINENO: checking size of long long" >&5
17118 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17119 if test "${ac_cv_sizeof_long_long+set}" = set; then
17120 echo $ECHO_N "(cached) $ECHO_C" >&6
17121 else
17122 if test "$ac_cv_type_long_long" = yes; then
17123 # The cast to unsigned long works around a bug in the HP C Compiler
17124 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17125 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17126 # This bug is HP SR number 8606223364.
17127 if test "$cross_compiling" = yes; then
17128 # Depending upon the size, compute the lo and hi bounds.
17129 cat >conftest.$ac_ext <<_ACEOF
17130 /* confdefs.h. */
17131 _ACEOF
17132 cat confdefs.h >>conftest.$ac_ext
17133 cat >>conftest.$ac_ext <<_ACEOF
17134 /* end confdefs.h. */
17135 $ac_includes_default
17136 int
17137 main ()
17138 {
17139 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17140 test_array [0] = 0
17141
17142 ;
17143 return 0;
17144 }
17145 _ACEOF
17146 rm -f conftest.$ac_objext
17147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17148 (eval $ac_compile) 2>conftest.er1
17149 ac_status=$?
17150 grep -v '^ *+' conftest.er1 >conftest.err
17151 rm -f conftest.er1
17152 cat conftest.err >&5
17153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17154 (exit $ac_status); } &&
17155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17157 (eval $ac_try) 2>&5
17158 ac_status=$?
17159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17160 (exit $ac_status); }; } &&
17161 { ac_try='test -s conftest.$ac_objext'
17162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17163 (eval $ac_try) 2>&5
17164 ac_status=$?
17165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166 (exit $ac_status); }; }; then
17167 ac_lo=0 ac_mid=0
17168 while :; do
17169 cat >conftest.$ac_ext <<_ACEOF
17170 /* confdefs.h. */
17171 _ACEOF
17172 cat confdefs.h >>conftest.$ac_ext
17173 cat >>conftest.$ac_ext <<_ACEOF
17174 /* end confdefs.h. */
17175 $ac_includes_default
17176 int
17177 main ()
17178 {
17179 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17180 test_array [0] = 0
17181
17182 ;
17183 return 0;
17184 }
17185 _ACEOF
17186 rm -f conftest.$ac_objext
17187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17188 (eval $ac_compile) 2>conftest.er1
17189 ac_status=$?
17190 grep -v '^ *+' conftest.er1 >conftest.err
17191 rm -f conftest.er1
17192 cat conftest.err >&5
17193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17194 (exit $ac_status); } &&
17195 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17197 (eval $ac_try) 2>&5
17198 ac_status=$?
17199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17200 (exit $ac_status); }; } &&
17201 { ac_try='test -s conftest.$ac_objext'
17202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17203 (eval $ac_try) 2>&5
17204 ac_status=$?
17205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17206 (exit $ac_status); }; }; then
17207 ac_hi=$ac_mid; break
17208 else
17209 echo "$as_me: failed program was:" >&5
17210 sed 's/^/| /' conftest.$ac_ext >&5
17211
17212 ac_lo=`expr $ac_mid + 1`
17213 if test $ac_lo -le $ac_mid; then
17214 ac_lo= ac_hi=
17215 break
17216 fi
17217 ac_mid=`expr 2 '*' $ac_mid + 1`
17218 fi
17219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17220 done
17221 else
17222 echo "$as_me: failed program was:" >&5
17223 sed 's/^/| /' conftest.$ac_ext >&5
17224
17225 cat >conftest.$ac_ext <<_ACEOF
17226 /* confdefs.h. */
17227 _ACEOF
17228 cat confdefs.h >>conftest.$ac_ext
17229 cat >>conftest.$ac_ext <<_ACEOF
17230 /* end confdefs.h. */
17231 $ac_includes_default
17232 int
17233 main ()
17234 {
17235 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17236 test_array [0] = 0
17237
17238 ;
17239 return 0;
17240 }
17241 _ACEOF
17242 rm -f conftest.$ac_objext
17243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17244 (eval $ac_compile) 2>conftest.er1
17245 ac_status=$?
17246 grep -v '^ *+' conftest.er1 >conftest.err
17247 rm -f conftest.er1
17248 cat conftest.err >&5
17249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17250 (exit $ac_status); } &&
17251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17253 (eval $ac_try) 2>&5
17254 ac_status=$?
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); }; } &&
17257 { ac_try='test -s conftest.$ac_objext'
17258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17259 (eval $ac_try) 2>&5
17260 ac_status=$?
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); }; }; then
17263 ac_hi=-1 ac_mid=-1
17264 while :; do
17265 cat >conftest.$ac_ext <<_ACEOF
17266 /* confdefs.h. */
17267 _ACEOF
17268 cat confdefs.h >>conftest.$ac_ext
17269 cat >>conftest.$ac_ext <<_ACEOF
17270 /* end confdefs.h. */
17271 $ac_includes_default
17272 int
17273 main ()
17274 {
17275 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17276 test_array [0] = 0
17277
17278 ;
17279 return 0;
17280 }
17281 _ACEOF
17282 rm -f conftest.$ac_objext
17283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17284 (eval $ac_compile) 2>conftest.er1
17285 ac_status=$?
17286 grep -v '^ *+' conftest.er1 >conftest.err
17287 rm -f conftest.er1
17288 cat conftest.err >&5
17289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17290 (exit $ac_status); } &&
17291 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
17297 { ac_try='test -s conftest.$ac_objext'
17298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17299 (eval $ac_try) 2>&5
17300 ac_status=$?
17301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17302 (exit $ac_status); }; }; then
17303 ac_lo=$ac_mid; break
17304 else
17305 echo "$as_me: failed program was:" >&5
17306 sed 's/^/| /' conftest.$ac_ext >&5
17307
17308 ac_hi=`expr '(' $ac_mid ')' - 1`
17309 if test $ac_mid -le $ac_hi; then
17310 ac_lo= ac_hi=
17311 break
17312 fi
17313 ac_mid=`expr 2 '*' $ac_mid`
17314 fi
17315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17316 done
17317 else
17318 echo "$as_me: failed program was:" >&5
17319 sed 's/^/| /' conftest.$ac_ext >&5
17320
17321 ac_lo= ac_hi=
17322 fi
17323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17324 fi
17325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17326 # Binary search between lo and hi bounds.
17327 while test "x$ac_lo" != "x$ac_hi"; do
17328 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17329 cat >conftest.$ac_ext <<_ACEOF
17330 /* confdefs.h. */
17331 _ACEOF
17332 cat confdefs.h >>conftest.$ac_ext
17333 cat >>conftest.$ac_ext <<_ACEOF
17334 /* end confdefs.h. */
17335 $ac_includes_default
17336 int
17337 main ()
17338 {
17339 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17340 test_array [0] = 0
17341
17342 ;
17343 return 0;
17344 }
17345 _ACEOF
17346 rm -f conftest.$ac_objext
17347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17348 (eval $ac_compile) 2>conftest.er1
17349 ac_status=$?
17350 grep -v '^ *+' conftest.er1 >conftest.err
17351 rm -f conftest.er1
17352 cat conftest.err >&5
17353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17354 (exit $ac_status); } &&
17355 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17357 (eval $ac_try) 2>&5
17358 ac_status=$?
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); }; } &&
17361 { ac_try='test -s conftest.$ac_objext'
17362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17363 (eval $ac_try) 2>&5
17364 ac_status=$?
17365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17366 (exit $ac_status); }; }; then
17367 ac_hi=$ac_mid
17368 else
17369 echo "$as_me: failed program was:" >&5
17370 sed 's/^/| /' conftest.$ac_ext >&5
17371
17372 ac_lo=`expr '(' $ac_mid ')' + 1`
17373 fi
17374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17375 done
17376 case $ac_lo in
17377 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17378 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17379 See \`config.log' for more details." >&5
17380 echo "$as_me: error: cannot compute sizeof (long long), 77
17381 See \`config.log' for more details." >&2;}
17382 { (exit 1); exit 1; }; } ;;
17383 esac
17384 else
17385 if test "$cross_compiling" = yes; then
17386 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17387 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17388 { (exit 1); exit 1; }; }
17389 else
17390 cat >conftest.$ac_ext <<_ACEOF
17391 /* confdefs.h. */
17392 _ACEOF
17393 cat confdefs.h >>conftest.$ac_ext
17394 cat >>conftest.$ac_ext <<_ACEOF
17395 /* end confdefs.h. */
17396 $ac_includes_default
17397 long longval () { return (long) (sizeof (long long)); }
17398 unsigned long ulongval () { return (long) (sizeof (long long)); }
17399 #include <stdio.h>
17400 #include <stdlib.h>
17401 int
17402 main ()
17403 {
17404
17405 FILE *f = fopen ("conftest.val", "w");
17406 if (! f)
17407 exit (1);
17408 if (((long) (sizeof (long long))) < 0)
17409 {
17410 long i = longval ();
17411 if (i != ((long) (sizeof (long long))))
17412 exit (1);
17413 fprintf (f, "%ld\n", i);
17414 }
17415 else
17416 {
17417 unsigned long i = ulongval ();
17418 if (i != ((long) (sizeof (long long))))
17419 exit (1);
17420 fprintf (f, "%lu\n", i);
17421 }
17422 exit (ferror (f) || fclose (f) != 0);
17423
17424 ;
17425 return 0;
17426 }
17427 _ACEOF
17428 rm -f conftest$ac_exeext
17429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17430 (eval $ac_link) 2>&5
17431 ac_status=$?
17432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17433 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17435 (eval $ac_try) 2>&5
17436 ac_status=$?
17437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438 (exit $ac_status); }; }; then
17439 ac_cv_sizeof_long_long=`cat conftest.val`
17440 else
17441 echo "$as_me: program exited with status $ac_status" >&5
17442 echo "$as_me: failed program was:" >&5
17443 sed 's/^/| /' conftest.$ac_ext >&5
17444
17445 ( exit $ac_status )
17446 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17447 See \`config.log' for more details." >&5
17448 echo "$as_me: error: cannot compute sizeof (long long), 77
17449 See \`config.log' for more details." >&2;}
17450 { (exit 1); exit 1; }; }
17451 fi
17452 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17453 fi
17454 fi
17455 rm -f conftest.val
17456 else
17457 ac_cv_sizeof_long_long=0
17458 fi
17459 fi
17460 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17461 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17462 cat >>confdefs.h <<_ACEOF
17463 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17464 _ACEOF
17465
17466
17467 if test "$ac_cv_sizeof_long_long" != "0"; then
17468 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
17469 fi
17470 ;;
17471 * )
17472 echo "$as_me:$LINENO: checking for long long" >&5
17473 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17474 if test "${ac_cv_type_long_long+set}" = set; then
17475 echo $ECHO_N "(cached) $ECHO_C" >&6
17476 else
17477 cat >conftest.$ac_ext <<_ACEOF
17478 /* confdefs.h. */
17479 _ACEOF
17480 cat confdefs.h >>conftest.$ac_ext
17481 cat >>conftest.$ac_ext <<_ACEOF
17482 /* end confdefs.h. */
17483 $ac_includes_default
17484 int
17485 main ()
17486 {
17487 if ((long long *) 0)
17488 return 0;
17489 if (sizeof (long long))
17490 return 0;
17491 ;
17492 return 0;
17493 }
17494 _ACEOF
17495 rm -f conftest.$ac_objext
17496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17497 (eval $ac_compile) 2>conftest.er1
17498 ac_status=$?
17499 grep -v '^ *+' conftest.er1 >conftest.err
17500 rm -f conftest.er1
17501 cat conftest.err >&5
17502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17503 (exit $ac_status); } &&
17504 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17506 (eval $ac_try) 2>&5
17507 ac_status=$?
17508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17509 (exit $ac_status); }; } &&
17510 { ac_try='test -s conftest.$ac_objext'
17511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17512 (eval $ac_try) 2>&5
17513 ac_status=$?
17514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17515 (exit $ac_status); }; }; then
17516 ac_cv_type_long_long=yes
17517 else
17518 echo "$as_me: failed program was:" >&5
17519 sed 's/^/| /' conftest.$ac_ext >&5
17520
17521 ac_cv_type_long_long=no
17522 fi
17523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17524 fi
17525 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17526 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17527
17528 echo "$as_me:$LINENO: checking size of long long" >&5
17529 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17530 if test "${ac_cv_sizeof_long_long+set}" = set; then
17531 echo $ECHO_N "(cached) $ECHO_C" >&6
17532 else
17533 if test "$ac_cv_type_long_long" = yes; then
17534 # The cast to unsigned long works around a bug in the HP C Compiler
17535 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17536 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17537 # This bug is HP SR number 8606223364.
17538 if test "$cross_compiling" = yes; then
17539 # Depending upon the size, compute the lo and hi bounds.
17540 cat >conftest.$ac_ext <<_ACEOF
17541 /* confdefs.h. */
17542 _ACEOF
17543 cat confdefs.h >>conftest.$ac_ext
17544 cat >>conftest.$ac_ext <<_ACEOF
17545 /* end confdefs.h. */
17546 $ac_includes_default
17547 int
17548 main ()
17549 {
17550 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17551 test_array [0] = 0
17552
17553 ;
17554 return 0;
17555 }
17556 _ACEOF
17557 rm -f conftest.$ac_objext
17558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17559 (eval $ac_compile) 2>conftest.er1
17560 ac_status=$?
17561 grep -v '^ *+' conftest.er1 >conftest.err
17562 rm -f conftest.er1
17563 cat conftest.err >&5
17564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17565 (exit $ac_status); } &&
17566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17568 (eval $ac_try) 2>&5
17569 ac_status=$?
17570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17571 (exit $ac_status); }; } &&
17572 { ac_try='test -s conftest.$ac_objext'
17573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17574 (eval $ac_try) 2>&5
17575 ac_status=$?
17576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17577 (exit $ac_status); }; }; then
17578 ac_lo=0 ac_mid=0
17579 while :; do
17580 cat >conftest.$ac_ext <<_ACEOF
17581 /* confdefs.h. */
17582 _ACEOF
17583 cat confdefs.h >>conftest.$ac_ext
17584 cat >>conftest.$ac_ext <<_ACEOF
17585 /* end confdefs.h. */
17586 $ac_includes_default
17587 int
17588 main ()
17589 {
17590 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17591 test_array [0] = 0
17592
17593 ;
17594 return 0;
17595 }
17596 _ACEOF
17597 rm -f conftest.$ac_objext
17598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17599 (eval $ac_compile) 2>conftest.er1
17600 ac_status=$?
17601 grep -v '^ *+' conftest.er1 >conftest.err
17602 rm -f conftest.er1
17603 cat conftest.err >&5
17604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17605 (exit $ac_status); } &&
17606 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
17612 { ac_try='test -s conftest.$ac_objext'
17613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17614 (eval $ac_try) 2>&5
17615 ac_status=$?
17616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17617 (exit $ac_status); }; }; then
17618 ac_hi=$ac_mid; break
17619 else
17620 echo "$as_me: failed program was:" >&5
17621 sed 's/^/| /' conftest.$ac_ext >&5
17622
17623 ac_lo=`expr $ac_mid + 1`
17624 if test $ac_lo -le $ac_mid; then
17625 ac_lo= ac_hi=
17626 break
17627 fi
17628 ac_mid=`expr 2 '*' $ac_mid + 1`
17629 fi
17630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17631 done
17632 else
17633 echo "$as_me: failed program was:" >&5
17634 sed 's/^/| /' conftest.$ac_ext >&5
17635
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" || test ! -s conftest.err'
17663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17664 (eval $ac_try) 2>&5
17665 ac_status=$?
17666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17667 (exit $ac_status); }; } &&
17668 { ac_try='test -s conftest.$ac_objext'
17669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17670 (eval $ac_try) 2>&5
17671 ac_status=$?
17672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17673 (exit $ac_status); }; }; then
17674 ac_hi=-1 ac_mid=-1
17675 while :; do
17676 cat >conftest.$ac_ext <<_ACEOF
17677 /* confdefs.h. */
17678 _ACEOF
17679 cat confdefs.h >>conftest.$ac_ext
17680 cat >>conftest.$ac_ext <<_ACEOF
17681 /* end confdefs.h. */
17682 $ac_includes_default
17683 int
17684 main ()
17685 {
17686 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17687 test_array [0] = 0
17688
17689 ;
17690 return 0;
17691 }
17692 _ACEOF
17693 rm -f conftest.$ac_objext
17694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17695 (eval $ac_compile) 2>conftest.er1
17696 ac_status=$?
17697 grep -v '^ *+' conftest.er1 >conftest.err
17698 rm -f conftest.er1
17699 cat conftest.err >&5
17700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17701 (exit $ac_status); } &&
17702 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17704 (eval $ac_try) 2>&5
17705 ac_status=$?
17706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17707 (exit $ac_status); }; } &&
17708 { ac_try='test -s conftest.$ac_objext'
17709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17710 (eval $ac_try) 2>&5
17711 ac_status=$?
17712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17713 (exit $ac_status); }; }; then
17714 ac_lo=$ac_mid; break
17715 else
17716 echo "$as_me: failed program was:" >&5
17717 sed 's/^/| /' conftest.$ac_ext >&5
17718
17719 ac_hi=`expr '(' $ac_mid ')' - 1`
17720 if test $ac_mid -le $ac_hi; then
17721 ac_lo= ac_hi=
17722 break
17723 fi
17724 ac_mid=`expr 2 '*' $ac_mid`
17725 fi
17726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17727 done
17728 else
17729 echo "$as_me: failed program was:" >&5
17730 sed 's/^/| /' conftest.$ac_ext >&5
17731
17732 ac_lo= ac_hi=
17733 fi
17734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17735 fi
17736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17737 # Binary search between lo and hi bounds.
17738 while test "x$ac_lo" != "x$ac_hi"; do
17739 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17740 cat >conftest.$ac_ext <<_ACEOF
17741 /* confdefs.h. */
17742 _ACEOF
17743 cat confdefs.h >>conftest.$ac_ext
17744 cat >>conftest.$ac_ext <<_ACEOF
17745 /* end confdefs.h. */
17746 $ac_includes_default
17747 int
17748 main ()
17749 {
17750 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17751 test_array [0] = 0
17752
17753 ;
17754 return 0;
17755 }
17756 _ACEOF
17757 rm -f conftest.$ac_objext
17758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17759 (eval $ac_compile) 2>conftest.er1
17760 ac_status=$?
17761 grep -v '^ *+' conftest.er1 >conftest.err
17762 rm -f conftest.er1
17763 cat conftest.err >&5
17764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17765 (exit $ac_status); } &&
17766 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17768 (eval $ac_try) 2>&5
17769 ac_status=$?
17770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17771 (exit $ac_status); }; } &&
17772 { ac_try='test -s conftest.$ac_objext'
17773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17774 (eval $ac_try) 2>&5
17775 ac_status=$?
17776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17777 (exit $ac_status); }; }; then
17778 ac_hi=$ac_mid
17779 else
17780 echo "$as_me: failed program was:" >&5
17781 sed 's/^/| /' conftest.$ac_ext >&5
17782
17783 ac_lo=`expr '(' $ac_mid ')' + 1`
17784 fi
17785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17786 done
17787 case $ac_lo in
17788 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17789 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17790 See \`config.log' for more details." >&5
17791 echo "$as_me: error: cannot compute sizeof (long long), 77
17792 See \`config.log' for more details." >&2;}
17793 { (exit 1); exit 1; }; } ;;
17794 esac
17795 else
17796 if test "$cross_compiling" = yes; then
17797 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17798 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17799 { (exit 1); exit 1; }; }
17800 else
17801 cat >conftest.$ac_ext <<_ACEOF
17802 /* confdefs.h. */
17803 _ACEOF
17804 cat confdefs.h >>conftest.$ac_ext
17805 cat >>conftest.$ac_ext <<_ACEOF
17806 /* end confdefs.h. */
17807 $ac_includes_default
17808 long longval () { return (long) (sizeof (long long)); }
17809 unsigned long ulongval () { return (long) (sizeof (long long)); }
17810 #include <stdio.h>
17811 #include <stdlib.h>
17812 int
17813 main ()
17814 {
17815
17816 FILE *f = fopen ("conftest.val", "w");
17817 if (! f)
17818 exit (1);
17819 if (((long) (sizeof (long long))) < 0)
17820 {
17821 long i = longval ();
17822 if (i != ((long) (sizeof (long long))))
17823 exit (1);
17824 fprintf (f, "%ld\n", i);
17825 }
17826 else
17827 {
17828 unsigned long i = ulongval ();
17829 if (i != ((long) (sizeof (long long))))
17830 exit (1);
17831 fprintf (f, "%lu\n", i);
17832 }
17833 exit (ferror (f) || fclose (f) != 0);
17834
17835 ;
17836 return 0;
17837 }
17838 _ACEOF
17839 rm -f conftest$ac_exeext
17840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17841 (eval $ac_link) 2>&5
17842 ac_status=$?
17843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17844 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17846 (eval $ac_try) 2>&5
17847 ac_status=$?
17848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849 (exit $ac_status); }; }; then
17850 ac_cv_sizeof_long_long=`cat conftest.val`
17851 else
17852 echo "$as_me: program exited with status $ac_status" >&5
17853 echo "$as_me: failed program was:" >&5
17854 sed 's/^/| /' conftest.$ac_ext >&5
17855
17856 ( exit $ac_status )
17857 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17858 See \`config.log' for more details." >&5
17859 echo "$as_me: error: cannot compute sizeof (long long), 77
17860 See \`config.log' for more details." >&2;}
17861 { (exit 1); exit 1; }; }
17862 fi
17863 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17864 fi
17865 fi
17866 rm -f conftest.val
17867 else
17868 ac_cv_sizeof_long_long=0
17869 fi
17870 fi
17871 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17872 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17873 cat >>confdefs.h <<_ACEOF
17874 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17875 _ACEOF
17876
17877
17878 esac
17879
17880 echo "$as_me:$LINENO: checking size of wchar_t" >&5
17881 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
17882 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
17883 echo $ECHO_N "(cached) $ECHO_C" >&6
17884 else
17885
17886 if test "$cross_compiling" = yes; then
17887
17888 case "${host}" in
17889 *-pc-msdosdjgpp )
17890 wx_cv_sizeof_wchar_t=0
17891 ;;
17892 * )
17893 wx_cv_sizeof_wchar_t=4
17894 ;;
17895 esac
17896
17897
17898 else
17899 cat >conftest.$ac_ext <<_ACEOF
17900 /* confdefs.h. */
17901 _ACEOF
17902 cat confdefs.h >>conftest.$ac_ext
17903 cat >>conftest.$ac_ext <<_ACEOF
17904 /* end confdefs.h. */
17905
17906 /* DJGPP only has fake wchar_t: */
17907 #ifdef __DJGPP__
17908 # error "fake wchar_t"
17909 #endif
17910 #ifdef HAVE_WCHAR_H
17911 # ifdef __CYGWIN__
17912 # include <stddef.h>
17913 # endif
17914 # include <wchar.h>
17915 #endif
17916 #ifdef HAVE_STDLIB_H
17917 # include <stdlib.h>
17918 #endif
17919 #include <stdio.h>
17920 int main()
17921 {
17922 FILE *f=fopen("conftestval", "w");
17923 if (!f) exit(1);
17924 fprintf(f, "%i", sizeof(wchar_t));
17925 exit(0);
17926 }
17927
17928 _ACEOF
17929 rm -f conftest$ac_exeext
17930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17931 (eval $ac_link) 2>&5
17932 ac_status=$?
17933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17934 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17936 (eval $ac_try) 2>&5
17937 ac_status=$?
17938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17939 (exit $ac_status); }; }; then
17940 wx_cv_sizeof_wchar_t=`cat conftestval`
17941 else
17942 echo "$as_me: program exited with status $ac_status" >&5
17943 echo "$as_me: failed program was:" >&5
17944 sed 's/^/| /' conftest.$ac_ext >&5
17945
17946 ( exit $ac_status )
17947 wx_cv_sizeof_wchar_t=0
17948 fi
17949 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17950 fi
17951
17952 fi
17953 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
17954 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
17955
17956 cat >>confdefs.h <<_ACEOF
17957 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
17958 _ACEOF
17959
17960
17961 # Check whether --enable-largefile or --disable-largefile was given.
17962 if test "${enable_largefile+set}" = set; then
17963 enableval="$enable_largefile"
17964
17965 fi;
17966 if test "$enable_largefile" != no; then
17967 wx_largefile=no
17968
17969 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
17970 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
17971 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
17972 echo $ECHO_N "(cached) $ECHO_C" >&6
17973 else
17974
17975 cat >conftest.$ac_ext <<_ACEOF
17976 /* confdefs.h. */
17977 _ACEOF
17978 cat confdefs.h >>conftest.$ac_ext
17979 cat >>conftest.$ac_ext <<_ACEOF
17980 /* end confdefs.h. */
17981 #define _FILE_OFFSET_BITS 64
17982 #include <sys/types.h>
17983 int
17984 main ()
17985 {
17986 typedef struct {
17987 unsigned int field: sizeof(off_t) == 8;
17988 } wxlf;
17989
17990 ;
17991 return 0;
17992 }
17993 _ACEOF
17994 rm -f conftest.$ac_objext
17995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17996 (eval $ac_compile) 2>conftest.er1
17997 ac_status=$?
17998 grep -v '^ *+' conftest.er1 >conftest.err
17999 rm -f conftest.er1
18000 cat conftest.err >&5
18001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18002 (exit $ac_status); } &&
18003 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18005 (eval $ac_try) 2>&5
18006 ac_status=$?
18007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18008 (exit $ac_status); }; } &&
18009 { ac_try='test -s conftest.$ac_objext'
18010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18011 (eval $ac_try) 2>&5
18012 ac_status=$?
18013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18014 (exit $ac_status); }; }; then
18015 ac_cv_sys_file_offset_bits=64
18016 else
18017 echo "$as_me: failed program was:" >&5
18018 sed 's/^/| /' conftest.$ac_ext >&5
18019
18020 ac_cv_sys_file_offset_bits=no
18021 fi
18022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18023
18024
18025 fi
18026 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18027 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18028
18029 if test "$ac_cv_sys_file_offset_bits" != no; then
18030 wx_largefile=yes
18031 cat >>confdefs.h <<_ACEOF
18032 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18033 _ACEOF
18034
18035 fi
18036
18037 if test "x$wx_largefile" != "xyes"; then
18038
18039 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18040 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18041 if test "${ac_cv_sys_large_files+set}" = set; then
18042 echo $ECHO_N "(cached) $ECHO_C" >&6
18043 else
18044
18045 cat >conftest.$ac_ext <<_ACEOF
18046 /* confdefs.h. */
18047 _ACEOF
18048 cat confdefs.h >>conftest.$ac_ext
18049 cat >>conftest.$ac_ext <<_ACEOF
18050 /* end confdefs.h. */
18051 #define _LARGE_FILES 1
18052 #include <sys/types.h>
18053 int
18054 main ()
18055 {
18056 typedef struct {
18057 unsigned int field: sizeof(off_t) == 8;
18058 } wxlf;
18059
18060 ;
18061 return 0;
18062 }
18063 _ACEOF
18064 rm -f conftest.$ac_objext
18065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18066 (eval $ac_compile) 2>conftest.er1
18067 ac_status=$?
18068 grep -v '^ *+' conftest.er1 >conftest.err
18069 rm -f conftest.er1
18070 cat conftest.err >&5
18071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 (exit $ac_status); } &&
18073 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18075 (eval $ac_try) 2>&5
18076 ac_status=$?
18077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078 (exit $ac_status); }; } &&
18079 { ac_try='test -s conftest.$ac_objext'
18080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18081 (eval $ac_try) 2>&5
18082 ac_status=$?
18083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18084 (exit $ac_status); }; }; then
18085 ac_cv_sys_large_files=1
18086 else
18087 echo "$as_me: failed program was:" >&5
18088 sed 's/^/| /' conftest.$ac_ext >&5
18089
18090 ac_cv_sys_large_files=no
18091 fi
18092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18093
18094
18095 fi
18096 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18097 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18098
18099 if test "$ac_cv_sys_large_files" != no; then
18100 wx_largefile=yes
18101 cat >>confdefs.h <<_ACEOF
18102 #define _LARGE_FILES $ac_cv_sys_large_files
18103 _ACEOF
18104
18105 fi
18106
18107 fi
18108
18109 echo "$as_me:$LINENO: checking if large file support is available" >&5
18110 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18111 if test "x$wx_largefile" = "xyes"; then
18112 cat >>confdefs.h <<\_ACEOF
18113 #define HAVE_LARGEFILE_SUPPORT 1
18114 _ACEOF
18115
18116 fi
18117 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18118 echo "${ECHO_T}$wx_largefile" >&6
18119 fi
18120
18121
18122 if test "x$wx_largefile" = "xyes"; then
18123 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18124 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18125 else
18126 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
18127 fi
18128 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18129 fi
18130
18131 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18132 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18133 if test "${ac_cv_c_bigendian+set}" = set; then
18134 echo $ECHO_N "(cached) $ECHO_C" >&6
18135 else
18136 ac_cv_c_bigendian=unknown
18137 # See if sys/param.h defines the BYTE_ORDER macro.
18138 cat >conftest.$ac_ext <<_ACEOF
18139 /* confdefs.h. */
18140 _ACEOF
18141 cat confdefs.h >>conftest.$ac_ext
18142 cat >>conftest.$ac_ext <<_ACEOF
18143 /* end confdefs.h. */
18144 #include <sys/types.h>
18145 #include <sys/param.h>
18146 int
18147 main ()
18148 {
18149
18150 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18151 bogus endian macros
18152 #endif
18153 ;
18154 return 0;
18155 }
18156 _ACEOF
18157 rm -f conftest.$ac_objext
18158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18159 (eval $ac_compile) 2>conftest.er1
18160 ac_status=$?
18161 grep -v '^ *+' conftest.er1 >conftest.err
18162 rm -f conftest.er1
18163 cat conftest.err >&5
18164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18165 (exit $ac_status); } &&
18166 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18168 (eval $ac_try) 2>&5
18169 ac_status=$?
18170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18171 (exit $ac_status); }; } &&
18172 { ac_try='test -s conftest.$ac_objext'
18173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18174 (eval $ac_try) 2>&5
18175 ac_status=$?
18176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18177 (exit $ac_status); }; }; then
18178 # It does; now see whether it defined to BIG_ENDIAN or not.
18179 cat >conftest.$ac_ext <<_ACEOF
18180 /* confdefs.h. */
18181 _ACEOF
18182 cat confdefs.h >>conftest.$ac_ext
18183 cat >>conftest.$ac_ext <<_ACEOF
18184 /* end confdefs.h. */
18185 #include <sys/types.h>
18186 #include <sys/param.h>
18187 int
18188 main ()
18189 {
18190
18191 #if BYTE_ORDER != BIG_ENDIAN
18192 not big endian
18193 #endif
18194 ;
18195 return 0;
18196 }
18197 _ACEOF
18198 rm -f conftest.$ac_objext
18199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18200 (eval $ac_compile) 2>conftest.er1
18201 ac_status=$?
18202 grep -v '^ *+' conftest.er1 >conftest.err
18203 rm -f conftest.er1
18204 cat conftest.err >&5
18205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18206 (exit $ac_status); } &&
18207 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18209 (eval $ac_try) 2>&5
18210 ac_status=$?
18211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18212 (exit $ac_status); }; } &&
18213 { ac_try='test -s conftest.$ac_objext'
18214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18215 (eval $ac_try) 2>&5
18216 ac_status=$?
18217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18218 (exit $ac_status); }; }; then
18219 ac_cv_c_bigendian=yes
18220 else
18221 echo "$as_me: failed program was:" >&5
18222 sed 's/^/| /' conftest.$ac_ext >&5
18223
18224 ac_cv_c_bigendian=no
18225 fi
18226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18227 else
18228 echo "$as_me: failed program was:" >&5
18229 sed 's/^/| /' conftest.$ac_ext >&5
18230
18231 fi
18232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18233 if test $ac_cv_c_bigendian = unknown; then
18234 if test "$cross_compiling" = yes; then
18235 ac_cv_c_bigendian=unknown
18236 else
18237 cat >conftest.$ac_ext <<_ACEOF
18238 /* confdefs.h. */
18239 _ACEOF
18240 cat confdefs.h >>conftest.$ac_ext
18241 cat >>conftest.$ac_ext <<_ACEOF
18242 /* end confdefs.h. */
18243 main () {
18244 /* Are we little or big endian? From Harbison&Steele. */
18245 union
18246 {
18247 long l;
18248 char c[sizeof (long)];
18249 } u;
18250 u.l = 1;
18251 exit (u.c[sizeof (long) - 1] == 1);
18252 }
18253 _ACEOF
18254 rm -f conftest$ac_exeext
18255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18256 (eval $ac_link) 2>&5
18257 ac_status=$?
18258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18259 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18261 (eval $ac_try) 2>&5
18262 ac_status=$?
18263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18264 (exit $ac_status); }; }; then
18265 ac_cv_c_bigendian=no
18266 else
18267 echo "$as_me: program exited with status $ac_status" >&5
18268 echo "$as_me: failed program was:" >&5
18269 sed 's/^/| /' conftest.$ac_ext >&5
18270
18271 ( exit $ac_status )
18272 ac_cv_c_bigendian=yes
18273 fi
18274 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18275 fi
18276 fi
18277 fi
18278 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18279 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18280 if test $ac_cv_c_bigendian = unknown; then
18281 { 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
18282 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;}
18283 fi
18284 if test $ac_cv_c_bigendian = yes; then
18285 cat >>confdefs.h <<\_ACEOF
18286 #define WORDS_BIGENDIAN 1
18287 _ACEOF
18288
18289 fi
18290
18291
18292 ac_ext=cc
18293 ac_cpp='$CXXCPP $CPPFLAGS'
18294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18297 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18298 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18299 if test -z "$CXXCPP"; then
18300 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18301 echo $ECHO_N "(cached) $ECHO_C" >&6
18302 else
18303 # Double quotes because CXXCPP needs to be expanded
18304 for CXXCPP in "$CXX -E" "/lib/cpp"
18305 do
18306 ac_preproc_ok=false
18307 for ac_cxx_preproc_warn_flag in '' yes
18308 do
18309 # Use a header file that comes with gcc, so configuring glibc
18310 # with a fresh cross-compiler works.
18311 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18312 # <limits.h> exists even on freestanding compilers.
18313 # On the NeXT, cc -E runs the code through the compiler's parser,
18314 # not just through cpp. "Syntax error" is here to catch this case.
18315 cat >conftest.$ac_ext <<_ACEOF
18316 /* confdefs.h. */
18317 _ACEOF
18318 cat confdefs.h >>conftest.$ac_ext
18319 cat >>conftest.$ac_ext <<_ACEOF
18320 /* end confdefs.h. */
18321 #ifdef __STDC__
18322 # include <limits.h>
18323 #else
18324 # include <assert.h>
18325 #endif
18326 Syntax error
18327 _ACEOF
18328 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18329 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18330 ac_status=$?
18331 grep -v '^ *+' conftest.er1 >conftest.err
18332 rm -f conftest.er1
18333 cat conftest.err >&5
18334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18335 (exit $ac_status); } >/dev/null; then
18336 if test -s conftest.err; then
18337 ac_cpp_err=$ac_cxx_preproc_warn_flag
18338 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18339 else
18340 ac_cpp_err=
18341 fi
18342 else
18343 ac_cpp_err=yes
18344 fi
18345 if test -z "$ac_cpp_err"; then
18346 :
18347 else
18348 echo "$as_me: failed program was:" >&5
18349 sed 's/^/| /' conftest.$ac_ext >&5
18350
18351 # Broken: fails on valid input.
18352 continue
18353 fi
18354 rm -f conftest.err conftest.$ac_ext
18355
18356 # OK, works on sane cases. Now check whether non-existent headers
18357 # can be detected and how.
18358 cat >conftest.$ac_ext <<_ACEOF
18359 /* confdefs.h. */
18360 _ACEOF
18361 cat confdefs.h >>conftest.$ac_ext
18362 cat >>conftest.$ac_ext <<_ACEOF
18363 /* end confdefs.h. */
18364 #include <ac_nonexistent.h>
18365 _ACEOF
18366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18367 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18368 ac_status=$?
18369 grep -v '^ *+' conftest.er1 >conftest.err
18370 rm -f conftest.er1
18371 cat conftest.err >&5
18372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18373 (exit $ac_status); } >/dev/null; then
18374 if test -s conftest.err; then
18375 ac_cpp_err=$ac_cxx_preproc_warn_flag
18376 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18377 else
18378 ac_cpp_err=
18379 fi
18380 else
18381 ac_cpp_err=yes
18382 fi
18383 if test -z "$ac_cpp_err"; then
18384 # Broken: success on invalid input.
18385 continue
18386 else
18387 echo "$as_me: failed program was:" >&5
18388 sed 's/^/| /' conftest.$ac_ext >&5
18389
18390 # Passes both tests.
18391 ac_preproc_ok=:
18392 break
18393 fi
18394 rm -f conftest.err conftest.$ac_ext
18395
18396 done
18397 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18398 rm -f conftest.err conftest.$ac_ext
18399 if $ac_preproc_ok; then
18400 break
18401 fi
18402
18403 done
18404 ac_cv_prog_CXXCPP=$CXXCPP
18405
18406 fi
18407 CXXCPP=$ac_cv_prog_CXXCPP
18408 else
18409 ac_cv_prog_CXXCPP=$CXXCPP
18410 fi
18411 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18412 echo "${ECHO_T}$CXXCPP" >&6
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 :
18508 else
18509 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18510 See \`config.log' for more details." >&5
18511 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18512 See \`config.log' for more details." >&2;}
18513 { (exit 1); exit 1; }; }
18514 fi
18515
18516 ac_ext=cc
18517 ac_cpp='$CXXCPP $CPPFLAGS'
18518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18521
18522
18523
18524 if test "$cross_compiling" = "yes"; then
18525 cat >>confdefs.h <<\_ACEOF
18526 #define wxUSE_IOSTREAMH 1
18527 _ACEOF
18528
18529 else
18530
18531
18532 ac_ext=cc
18533 ac_cpp='$CXXCPP $CPPFLAGS'
18534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18537
18538
18539
18540 for ac_header in iostream
18541 do
18542 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18543 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18544 echo "$as_me:$LINENO: checking for $ac_header" >&5
18545 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18546 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18547 echo $ECHO_N "(cached) $ECHO_C" >&6
18548 fi
18549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18550 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18551 else
18552 # Is the header compilable?
18553 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18554 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18555 cat >conftest.$ac_ext <<_ACEOF
18556 /* confdefs.h. */
18557 _ACEOF
18558 cat confdefs.h >>conftest.$ac_ext
18559 cat >>conftest.$ac_ext <<_ACEOF
18560 /* end confdefs.h. */
18561 $ac_includes_default
18562 #include <$ac_header>
18563 _ACEOF
18564 rm -f conftest.$ac_objext
18565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18566 (eval $ac_compile) 2>conftest.er1
18567 ac_status=$?
18568 grep -v '^ *+' conftest.er1 >conftest.err
18569 rm -f conftest.er1
18570 cat conftest.err >&5
18571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18572 (exit $ac_status); } &&
18573 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18575 (eval $ac_try) 2>&5
18576 ac_status=$?
18577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18578 (exit $ac_status); }; } &&
18579 { ac_try='test -s conftest.$ac_objext'
18580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18581 (eval $ac_try) 2>&5
18582 ac_status=$?
18583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18584 (exit $ac_status); }; }; then
18585 ac_header_compiler=yes
18586 else
18587 echo "$as_me: failed program was:" >&5
18588 sed 's/^/| /' conftest.$ac_ext >&5
18589
18590 ac_header_compiler=no
18591 fi
18592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18593 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18594 echo "${ECHO_T}$ac_header_compiler" >&6
18595
18596 # Is the header present?
18597 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18598 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18599 cat >conftest.$ac_ext <<_ACEOF
18600 /* confdefs.h. */
18601 _ACEOF
18602 cat confdefs.h >>conftest.$ac_ext
18603 cat >>conftest.$ac_ext <<_ACEOF
18604 /* end confdefs.h. */
18605 #include <$ac_header>
18606 _ACEOF
18607 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18608 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18609 ac_status=$?
18610 grep -v '^ *+' conftest.er1 >conftest.err
18611 rm -f conftest.er1
18612 cat conftest.err >&5
18613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18614 (exit $ac_status); } >/dev/null; then
18615 if test -s conftest.err; then
18616 ac_cpp_err=$ac_cxx_preproc_warn_flag
18617 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18618 else
18619 ac_cpp_err=
18620 fi
18621 else
18622 ac_cpp_err=yes
18623 fi
18624 if test -z "$ac_cpp_err"; then
18625 ac_header_preproc=yes
18626 else
18627 echo "$as_me: failed program was:" >&5
18628 sed 's/^/| /' conftest.$ac_ext >&5
18629
18630 ac_header_preproc=no
18631 fi
18632 rm -f conftest.err conftest.$ac_ext
18633 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18634 echo "${ECHO_T}$ac_header_preproc" >&6
18635
18636 # So? What about this header?
18637 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18638 yes:no: )
18639 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18640 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18641 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18642 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18643 ac_header_preproc=yes
18644 ;;
18645 no:yes:* )
18646 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18647 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18648 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18649 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18650 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18651 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18652 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18653 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18654 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18655 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18656 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18657 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18658 (
18659 cat <<\_ASBOX
18660 ## ----------------------------------------- ##
18661 ## Report this to wx-dev@lists.wxwindows.org ##
18662 ## ----------------------------------------- ##
18663 _ASBOX
18664 ) |
18665 sed "s/^/$as_me: WARNING: /" >&2
18666 ;;
18667 esac
18668 echo "$as_me:$LINENO: checking for $ac_header" >&5
18669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18670 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18671 echo $ECHO_N "(cached) $ECHO_C" >&6
18672 else
18673 eval "$as_ac_Header=\$ac_header_preproc"
18674 fi
18675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18676 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18677
18678 fi
18679 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18680 cat >>confdefs.h <<_ACEOF
18681 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18682 _ACEOF
18683
18684 fi
18685
18686 done
18687
18688
18689 if test "$ac_cv_header_iostream" = "yes" ; then
18690 :
18691 else
18692 cat >>confdefs.h <<\_ACEOF
18693 #define wxUSE_IOSTREAMH 1
18694 _ACEOF
18695
18696 fi
18697
18698 ac_ext=c
18699 ac_cpp='$CPP $CPPFLAGS'
18700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18703
18704 fi
18705
18706
18707
18708 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18709 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18710 if test "${wx_cv_cpp_bool+set}" = set; then
18711 echo $ECHO_N "(cached) $ECHO_C" >&6
18712 else
18713
18714
18715
18716 ac_ext=cc
18717 ac_cpp='$CXXCPP $CPPFLAGS'
18718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18721
18722
18723 cat >conftest.$ac_ext <<_ACEOF
18724 /* confdefs.h. */
18725 _ACEOF
18726 cat confdefs.h >>conftest.$ac_ext
18727 cat >>conftest.$ac_ext <<_ACEOF
18728 /* end confdefs.h. */
18729
18730
18731 int
18732 main ()
18733 {
18734
18735 bool b = true;
18736
18737 return 0;
18738
18739 ;
18740 return 0;
18741 }
18742 _ACEOF
18743 rm -f conftest.$ac_objext
18744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18745 (eval $ac_compile) 2>conftest.er1
18746 ac_status=$?
18747 grep -v '^ *+' conftest.er1 >conftest.err
18748 rm -f conftest.er1
18749 cat conftest.err >&5
18750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18751 (exit $ac_status); } &&
18752 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18754 (eval $ac_try) 2>&5
18755 ac_status=$?
18756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18757 (exit $ac_status); }; } &&
18758 { ac_try='test -s conftest.$ac_objext'
18759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18760 (eval $ac_try) 2>&5
18761 ac_status=$?
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); }; }; then
18764
18765 wx_cv_cpp_bool=yes
18766
18767 else
18768 echo "$as_me: failed program was:" >&5
18769 sed 's/^/| /' conftest.$ac_ext >&5
18770
18771
18772 wx_cv_cpp_bool=no
18773
18774
18775 fi
18776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18777
18778 ac_ext=c
18779 ac_cpp='$CPP $CPPFLAGS'
18780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18783
18784
18785 fi
18786 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18787 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18788
18789 if test "$wx_cv_cpp_bool" = "yes"; then
18790 cat >>confdefs.h <<\_ACEOF
18791 #define HAVE_BOOL 1
18792 _ACEOF
18793
18794 fi
18795
18796
18797
18798 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18799 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18800 if test "${wx_cv_explicit+set}" = set; then
18801 echo $ECHO_N "(cached) $ECHO_C" >&6
18802 else
18803
18804
18805
18806 ac_ext=cc
18807 ac_cpp='$CXXCPP $CPPFLAGS'
18808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18811
18812
18813 cat >conftest.$ac_ext <<_ACEOF
18814 /* confdefs.h. */
18815 _ACEOF
18816 cat confdefs.h >>conftest.$ac_ext
18817 cat >>conftest.$ac_ext <<_ACEOF
18818 /* end confdefs.h. */
18819
18820 class Foo { public: explicit Foo(int) {} };
18821
18822 int
18823 main ()
18824 {
18825
18826 return 0;
18827
18828 ;
18829 return 0;
18830 }
18831 _ACEOF
18832 rm -f conftest.$ac_objext
18833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18834 (eval $ac_compile) 2>conftest.er1
18835 ac_status=$?
18836 grep -v '^ *+' conftest.er1 >conftest.err
18837 rm -f conftest.er1
18838 cat conftest.err >&5
18839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18840 (exit $ac_status); } &&
18841 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18843 (eval $ac_try) 2>&5
18844 ac_status=$?
18845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18846 (exit $ac_status); }; } &&
18847 { ac_try='test -s conftest.$ac_objext'
18848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18849 (eval $ac_try) 2>&5
18850 ac_status=$?
18851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18852 (exit $ac_status); }; }; then
18853
18854 cat >conftest.$ac_ext <<_ACEOF
18855 /* confdefs.h. */
18856 _ACEOF
18857 cat confdefs.h >>conftest.$ac_ext
18858 cat >>conftest.$ac_ext <<_ACEOF
18859 /* end confdefs.h. */
18860
18861 class Foo { public: explicit Foo(int) {} };
18862 static void TakeFoo(const Foo& foo) { }
18863
18864 int
18865 main ()
18866 {
18867
18868 TakeFoo(17);
18869 return 0;
18870
18871 ;
18872 return 0;
18873 }
18874 _ACEOF
18875 rm -f conftest.$ac_objext
18876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18877 (eval $ac_compile) 2>conftest.er1
18878 ac_status=$?
18879 grep -v '^ *+' conftest.er1 >conftest.err
18880 rm -f conftest.er1
18881 cat conftest.err >&5
18882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18883 (exit $ac_status); } &&
18884 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18886 (eval $ac_try) 2>&5
18887 ac_status=$?
18888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18889 (exit $ac_status); }; } &&
18890 { ac_try='test -s conftest.$ac_objext'
18891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18892 (eval $ac_try) 2>&5
18893 ac_status=$?
18894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18895 (exit $ac_status); }; }; then
18896 wx_cv_explicit=no
18897 else
18898 echo "$as_me: failed program was:" >&5
18899 sed 's/^/| /' conftest.$ac_ext >&5
18900
18901 wx_cv_explicit=yes
18902
18903 fi
18904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18905
18906 else
18907 echo "$as_me: failed program was:" >&5
18908 sed 's/^/| /' conftest.$ac_ext >&5
18909
18910 wx_cv_explicit=no
18911
18912 fi
18913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18914
18915 ac_ext=c
18916 ac_cpp='$CPP $CPPFLAGS'
18917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18920
18921
18922 fi
18923 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
18924 echo "${ECHO_T}$wx_cv_explicit" >&6
18925
18926 if test "$wx_cv_explicit" = "yes"; then
18927 cat >>confdefs.h <<\_ACEOF
18928 #define HAVE_EXPLICIT 1
18929 _ACEOF
18930
18931 fi
18932
18933
18934 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
18935 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
18936 if test "${ac_cv_cxx_const_cast+set}" = set; then
18937 echo $ECHO_N "(cached) $ECHO_C" >&6
18938 else
18939
18940
18941 ac_ext=cc
18942 ac_cpp='$CXXCPP $CPPFLAGS'
18943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18946
18947 cat >conftest.$ac_ext <<_ACEOF
18948 /* confdefs.h. */
18949 _ACEOF
18950 cat confdefs.h >>conftest.$ac_ext
18951 cat >>conftest.$ac_ext <<_ACEOF
18952 /* end confdefs.h. */
18953
18954 int
18955 main ()
18956 {
18957 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
18958 ;
18959 return 0;
18960 }
18961 _ACEOF
18962 rm -f conftest.$ac_objext
18963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18964 (eval $ac_compile) 2>conftest.er1
18965 ac_status=$?
18966 grep -v '^ *+' conftest.er1 >conftest.err
18967 rm -f conftest.er1
18968 cat conftest.err >&5
18969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18970 (exit $ac_status); } &&
18971 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18973 (eval $ac_try) 2>&5
18974 ac_status=$?
18975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18976 (exit $ac_status); }; } &&
18977 { ac_try='test -s conftest.$ac_objext'
18978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18979 (eval $ac_try) 2>&5
18980 ac_status=$?
18981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18982 (exit $ac_status); }; }; then
18983 ac_cv_cxx_const_cast=yes
18984 else
18985 echo "$as_me: failed program was:" >&5
18986 sed 's/^/| /' conftest.$ac_ext >&5
18987
18988 ac_cv_cxx_const_cast=no
18989 fi
18990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18991 ac_ext=c
18992 ac_cpp='$CPP $CPPFLAGS'
18993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18996
18997
18998 fi
18999 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19000 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19001 if test "$ac_cv_cxx_const_cast" = yes; then
19002
19003 cat >>confdefs.h <<\_ACEOF
19004 #define HAVE_CONST_CAST
19005 _ACEOF
19006
19007 fi
19008
19009 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19010 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19011 if test "${ac_cv_cxx_static_cast+set}" = set; then
19012 echo $ECHO_N "(cached) $ECHO_C" >&6
19013 else
19014
19015
19016 ac_ext=cc
19017 ac_cpp='$CXXCPP $CPPFLAGS'
19018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19021
19022 cat >conftest.$ac_ext <<_ACEOF
19023 /* confdefs.h. */
19024 _ACEOF
19025 cat confdefs.h >>conftest.$ac_ext
19026 cat >>conftest.$ac_ext <<_ACEOF
19027 /* end confdefs.h. */
19028 #include <typeinfo>
19029 class Base { public : Base () {} virtual void f () = 0; };
19030 class Derived : public Base { public : Derived () {} virtual void f () {} };
19031 int g (Derived&) { return 0; }
19032 int
19033 main ()
19034 {
19035
19036 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19037 ;
19038 return 0;
19039 }
19040 _ACEOF
19041 rm -f conftest.$ac_objext
19042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19043 (eval $ac_compile) 2>conftest.er1
19044 ac_status=$?
19045 grep -v '^ *+' conftest.er1 >conftest.err
19046 rm -f conftest.er1
19047 cat conftest.err >&5
19048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19049 (exit $ac_status); } &&
19050 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19052 (eval $ac_try) 2>&5
19053 ac_status=$?
19054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19055 (exit $ac_status); }; } &&
19056 { ac_try='test -s conftest.$ac_objext'
19057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19058 (eval $ac_try) 2>&5
19059 ac_status=$?
19060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19061 (exit $ac_status); }; }; then
19062 ac_cv_cxx_static_cast=yes
19063 else
19064 echo "$as_me: failed program was:" >&5
19065 sed 's/^/| /' conftest.$ac_ext >&5
19066
19067 ac_cv_cxx_static_cast=no
19068 fi
19069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19070 ac_ext=c
19071 ac_cpp='$CPP $CPPFLAGS'
19072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19075
19076
19077 fi
19078 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19079 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19080 if test "$ac_cv_cxx_static_cast" = yes; then
19081
19082 cat >>confdefs.h <<\_ACEOF
19083 #define HAVE_STATIC_CAST
19084 _ACEOF
19085
19086 fi
19087
19088
19089 if test "$wxUSE_STL" = "yes"; then
19090 ac_ext=cc
19091 ac_cpp='$CXXCPP $CPPFLAGS'
19092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19095
19096
19097 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19098 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19099 cat >conftest.$ac_ext <<_ACEOF
19100 /* confdefs.h. */
19101 _ACEOF
19102 cat confdefs.h >>conftest.$ac_ext
19103 cat >>conftest.$ac_ext <<_ACEOF
19104 /* end confdefs.h. */
19105 #include <string>
19106 #include <functional>
19107 #include <algorithm>
19108 #include <vector>
19109 #include <list>
19110 int
19111 main ()
19112 {
19113 std::vector<int> moo;
19114 std::list<int> foo;
19115 std::vector<int>::iterator it =
19116 std::find_if(moo.begin(), moo.end(),
19117 std::bind2nd(std::less<int>(), 3));
19118 ;
19119 return 0;
19120 }
19121 _ACEOF
19122 rm -f conftest.$ac_objext
19123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19124 (eval $ac_compile) 2>conftest.er1
19125 ac_status=$?
19126 grep -v '^ *+' conftest.er1 >conftest.err
19127 rm -f conftest.er1
19128 cat conftest.err >&5
19129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19130 (exit $ac_status); } &&
19131 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19133 (eval $ac_try) 2>&5
19134 ac_status=$?
19135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19136 (exit $ac_status); }; } &&
19137 { ac_try='test -s conftest.$ac_objext'
19138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19139 (eval $ac_try) 2>&5
19140 ac_status=$?
19141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19142 (exit $ac_status); }; }; then
19143 echo "$as_me:$LINENO: result: yes" >&5
19144 echo "${ECHO_T}yes" >&6
19145 else
19146 echo "$as_me: failed program was:" >&5
19147 sed 's/^/| /' conftest.$ac_ext >&5
19148
19149 echo "$as_me:$LINENO: result: no" >&5
19150 echo "${ECHO_T}no" >&6
19151 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19152 echo "$as_me: error: Basic STL functionality missing" >&2;}
19153 { (exit 1); exit 1; }; }
19154 fi
19155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19156
19157 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19158 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19159 cat >conftest.$ac_ext <<_ACEOF
19160 /* confdefs.h. */
19161 _ACEOF
19162 cat confdefs.h >>conftest.$ac_ext
19163 cat >>conftest.$ac_ext <<_ACEOF
19164 /* end confdefs.h. */
19165 #include <string>
19166 int
19167 main ()
19168 {
19169 std::wstring foo;
19170 ;
19171 return 0;
19172 }
19173 _ACEOF
19174 rm -f conftest.$ac_objext
19175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19176 (eval $ac_compile) 2>conftest.er1
19177 ac_status=$?
19178 grep -v '^ *+' conftest.er1 >conftest.err
19179 rm -f conftest.er1
19180 cat conftest.err >&5
19181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19182 (exit $ac_status); } &&
19183 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19185 (eval $ac_try) 2>&5
19186 ac_status=$?
19187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19188 (exit $ac_status); }; } &&
19189 { ac_try='test -s conftest.$ac_objext'
19190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19191 (eval $ac_try) 2>&5
19192 ac_status=$?
19193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19194 (exit $ac_status); }; }; then
19195 echo "$as_me:$LINENO: result: yes" >&5
19196 echo "${ECHO_T}yes" >&6
19197 cat >>confdefs.h <<\_ACEOF
19198 #define HAVE_STD_WSTRING 1
19199 _ACEOF
19200
19201 else
19202 echo "$as_me: failed program was:" >&5
19203 sed 's/^/| /' conftest.$ac_ext >&5
19204
19205 echo "$as_me:$LINENO: result: no" >&5
19206 echo "${ECHO_T}no" >&6
19207 fi
19208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19209
19210 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19211 echo $ECHO_N "checking for compliant std::string::compare... $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 int
19220 main ()
19221 {
19222 std::string foo, bar;
19223 foo.compare(bar);
19224 foo.compare(1, 1, bar);
19225 foo.compare(1, 1, bar, 1, 1);
19226 foo.compare("");
19227 foo.compare(1, 1, "");
19228 foo.compare(1, 1, "", 2);
19229 ;
19230 return 0;
19231 }
19232 _ACEOF
19233 rm -f conftest.$ac_objext
19234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19235 (eval $ac_compile) 2>conftest.er1
19236 ac_status=$?
19237 grep -v '^ *+' conftest.er1 >conftest.err
19238 rm -f conftest.er1
19239 cat conftest.err >&5
19240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19241 (exit $ac_status); } &&
19242 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19244 (eval $ac_try) 2>&5
19245 ac_status=$?
19246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19247 (exit $ac_status); }; } &&
19248 { ac_try='test -s conftest.$ac_objext'
19249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19250 (eval $ac_try) 2>&5
19251 ac_status=$?
19252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19253 (exit $ac_status); }; }; then
19254 echo "$as_me:$LINENO: result: yes" >&5
19255 echo "${ECHO_T}yes" >&6
19256 cat >>confdefs.h <<\_ACEOF
19257 #define HAVE_STD_STRING_COMPARE 1
19258 _ACEOF
19259
19260 else
19261 echo "$as_me: failed program was:" >&5
19262 sed 's/^/| /' conftest.$ac_ext >&5
19263
19264 echo "$as_me:$LINENO: result: no" >&5
19265 echo "${ECHO_T}no" >&6
19266 fi
19267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19268
19269 ac_ext=c
19270 ac_cpp='$CPP $CPPFLAGS'
19271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19274
19275 fi
19276
19277
19278 SEARCH_INCLUDE="\
19279 /usr/local/include \
19280 \
19281 /usr/Motif-2.1/include \
19282 /usr/Motif-1.2/include \
19283 /usr/include/Motif1.2 \
19284 /opt/xpm/include/X11 \
19285 /opt/GBxpm/include/ \
19286 /opt/GBxpm/X11/include/ \
19287 \
19288 /usr/dt/include \
19289 /usr/openwin/include \
19290 \
19291 /usr/include/Xm \
19292 \
19293 /usr/X11R6/include \
19294 /usr/X11R6.4/include \
19295 /usr/X11R5/include \
19296 /usr/X11R4/include \
19297 \
19298 /usr/include/X11R6 \
19299 /usr/include/X11R5 \
19300 /usr/include/X11R4 \
19301 \
19302 /usr/local/X11R6/include \
19303 /usr/local/X11R5/include \
19304 /usr/local/X11R4/include \
19305 \
19306 /usr/local/include/X11R6 \
19307 /usr/local/include/X11R5 \
19308 /usr/local/include/X11R4 \
19309 \
19310 /usr/X11/include \
19311 /usr/include/X11 \
19312 /usr/local/X11/include \
19313 /usr/local/include/X11 \
19314 \
19315 /usr/X386/include \
19316 /usr/x386/include \
19317 /usr/XFree86/include/X11 \
19318 \
19319 X:/XFree86/include \
19320 X:/XFree86/include/X11 \
19321 \
19322 /usr/include/gtk \
19323 /usr/local/include/gtk \
19324 /usr/include/glib \
19325 /usr/local/include/glib \
19326 \
19327 /usr/include/qt \
19328 /usr/local/include/qt \
19329 \
19330 /usr/local/arm/3.3.2/include \
19331 \
19332 /usr/include/windows \
19333 /usr/include/wine \
19334 /usr/local/include/wine \
19335 \
19336 /usr/unsupported/include \
19337 /usr/athena/include \
19338 /usr/local/x11r5/include \
19339 /usr/lpp/Xamples/include \
19340 \
19341 /usr/openwin/share/include"
19342
19343 SEARCH_LIB="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
19344
19345
19346 cat >confcache <<\_ACEOF
19347 # This file is a shell script that caches the results of configure
19348 # tests run on this system so they can be shared between configure
19349 # scripts and configure runs, see configure's option --config-cache.
19350 # It is not useful on other systems. If it contains results you don't
19351 # want to keep, you may remove or edit it.
19352 #
19353 # config.status only pays attention to the cache file if you give it
19354 # the --recheck option to rerun configure.
19355 #
19356 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19357 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19358 # following values.
19359
19360 _ACEOF
19361
19362 # The following way of writing the cache mishandles newlines in values,
19363 # but we know of no workaround that is simple, portable, and efficient.
19364 # So, don't put newlines in cache variables' values.
19365 # Ultrix sh set writes to stderr and can't be redirected directly,
19366 # and sets the high bit in the cache file unless we assign to the vars.
19367 {
19368 (set) 2>&1 |
19369 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19370 *ac_space=\ *)
19371 # `set' does not quote correctly, so add quotes (double-quote
19372 # substitution turns \\\\ into \\, and sed turns \\ into \).
19373 sed -n \
19374 "s/'/'\\\\''/g;
19375 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19376 ;;
19377 *)
19378 # `set' quotes correctly as required by POSIX, so do not add quotes.
19379 sed -n \
19380 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19381 ;;
19382 esac;
19383 } |
19384 sed '
19385 t clear
19386 : clear
19387 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19388 t end
19389 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19390 : end' >>confcache
19391 if diff $cache_file confcache >/dev/null 2>&1; then :; else
19392 if test -w $cache_file; then
19393 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19394 cat confcache >$cache_file
19395 else
19396 echo "not updating unwritable cache $cache_file"
19397 fi
19398 fi
19399 rm -f confcache
19400
19401 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19402 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
19403 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
19404 if test "${wx_cv_lib_glibc21+set}" = set; then
19405 echo $ECHO_N "(cached) $ECHO_C" >&6
19406 else
19407
19408 cat >conftest.$ac_ext <<_ACEOF
19409 /* confdefs.h. */
19410 _ACEOF
19411 cat confdefs.h >>conftest.$ac_ext
19412 cat >>conftest.$ac_ext <<_ACEOF
19413 /* end confdefs.h. */
19414 #include <features.h>
19415 int
19416 main ()
19417 {
19418
19419 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
19420 #error not glibc2.1
19421 #endif
19422
19423 ;
19424 return 0;
19425 }
19426 _ACEOF
19427 rm -f conftest.$ac_objext
19428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19429 (eval $ac_compile) 2>conftest.er1
19430 ac_status=$?
19431 grep -v '^ *+' conftest.er1 >conftest.err
19432 rm -f conftest.er1
19433 cat conftest.err >&5
19434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19435 (exit $ac_status); } &&
19436 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19438 (eval $ac_try) 2>&5
19439 ac_status=$?
19440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19441 (exit $ac_status); }; } &&
19442 { ac_try='test -s conftest.$ac_objext'
19443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19444 (eval $ac_try) 2>&5
19445 ac_status=$?
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); }; }; then
19448
19449 wx_cv_lib_glibc21=yes
19450
19451 else
19452 echo "$as_me: failed program was:" >&5
19453 sed 's/^/| /' conftest.$ac_ext >&5
19454
19455
19456 wx_cv_lib_glibc21=no
19457
19458
19459 fi
19460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19461
19462 fi
19463 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
19464 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
19465 if test "$wx_cv_lib_glibc21" = "yes"; then
19466 cat >>confdefs.h <<\_ACEOF
19467 #define wxHAVE_GLIBC2 1
19468 _ACEOF
19469
19470 fi
19471 fi
19472
19473 if test "x$wx_cv_lib_glibc21" = "xyes"; then
19474 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
19475 cat >>confdefs.h <<\_ACEOF
19476 #define _GNU_SOURCE 1
19477 _ACEOF
19478
19479 fi
19480 fi
19481
19482
19483
19484 if test "$wxUSE_REGEX" != "no"; then
19485 cat >>confdefs.h <<\_ACEOF
19486 #define wxUSE_REGEX 1
19487 _ACEOF
19488
19489
19490 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
19491 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
19492 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
19493 wxUSE_REGEX=builtin
19494 fi
19495
19496 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
19497 if test "${ac_cv_header_regex_h+set}" = set; then
19498 echo "$as_me:$LINENO: checking for regex.h" >&5
19499 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19500 if test "${ac_cv_header_regex_h+set}" = set; then
19501 echo $ECHO_N "(cached) $ECHO_C" >&6
19502 fi
19503 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19504 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19505 else
19506 # Is the header compilable?
19507 echo "$as_me:$LINENO: checking regex.h usability" >&5
19508 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
19509 cat >conftest.$ac_ext <<_ACEOF
19510 /* confdefs.h. */
19511 _ACEOF
19512 cat confdefs.h >>conftest.$ac_ext
19513 cat >>conftest.$ac_ext <<_ACEOF
19514 /* end confdefs.h. */
19515 $ac_includes_default
19516 #include <regex.h>
19517 _ACEOF
19518 rm -f conftest.$ac_objext
19519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19520 (eval $ac_compile) 2>conftest.er1
19521 ac_status=$?
19522 grep -v '^ *+' conftest.er1 >conftest.err
19523 rm -f conftest.er1
19524 cat conftest.err >&5
19525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19526 (exit $ac_status); } &&
19527 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19529 (eval $ac_try) 2>&5
19530 ac_status=$?
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); }; } &&
19533 { ac_try='test -s conftest.$ac_objext'
19534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19535 (eval $ac_try) 2>&5
19536 ac_status=$?
19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538 (exit $ac_status); }; }; then
19539 ac_header_compiler=yes
19540 else
19541 echo "$as_me: failed program was:" >&5
19542 sed 's/^/| /' conftest.$ac_ext >&5
19543
19544 ac_header_compiler=no
19545 fi
19546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19547 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19548 echo "${ECHO_T}$ac_header_compiler" >&6
19549
19550 # Is the header present?
19551 echo "$as_me:$LINENO: checking regex.h presence" >&5
19552 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
19553 cat >conftest.$ac_ext <<_ACEOF
19554 /* confdefs.h. */
19555 _ACEOF
19556 cat confdefs.h >>conftest.$ac_ext
19557 cat >>conftest.$ac_ext <<_ACEOF
19558 /* end confdefs.h. */
19559 #include <regex.h>
19560 _ACEOF
19561 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19562 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19563 ac_status=$?
19564 grep -v '^ *+' conftest.er1 >conftest.err
19565 rm -f conftest.er1
19566 cat conftest.err >&5
19567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19568 (exit $ac_status); } >/dev/null; then
19569 if test -s conftest.err; then
19570 ac_cpp_err=$ac_c_preproc_warn_flag
19571 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19572 else
19573 ac_cpp_err=
19574 fi
19575 else
19576 ac_cpp_err=yes
19577 fi
19578 if test -z "$ac_cpp_err"; then
19579 ac_header_preproc=yes
19580 else
19581 echo "$as_me: failed program was:" >&5
19582 sed 's/^/| /' conftest.$ac_ext >&5
19583
19584 ac_header_preproc=no
19585 fi
19586 rm -f conftest.err conftest.$ac_ext
19587 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19588 echo "${ECHO_T}$ac_header_preproc" >&6
19589
19590 # So? What about this header?
19591 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19592 yes:no: )
19593 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
19594 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19595 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
19596 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
19597 ac_header_preproc=yes
19598 ;;
19599 no:yes:* )
19600 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
19601 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
19602 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
19603 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
19604 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
19605 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
19606 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
19607 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
19608 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
19609 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
19610 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
19611 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
19612 (
19613 cat <<\_ASBOX
19614 ## ----------------------------------------- ##
19615 ## Report this to wx-dev@lists.wxwindows.org ##
19616 ## ----------------------------------------- ##
19617 _ASBOX
19618 ) |
19619 sed "s/^/$as_me: WARNING: /" >&2
19620 ;;
19621 esac
19622 echo "$as_me:$LINENO: checking for regex.h" >&5
19623 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19624 if test "${ac_cv_header_regex_h+set}" = set; then
19625 echo $ECHO_N "(cached) $ECHO_C" >&6
19626 else
19627 ac_cv_header_regex_h=$ac_header_preproc
19628 fi
19629 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19630 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19631
19632 fi
19633 if test $ac_cv_header_regex_h = yes; then
19634
19635 for ac_func in regcomp
19636 do
19637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19638 echo "$as_me:$LINENO: checking for $ac_func" >&5
19639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19640 if eval "test \"\${$as_ac_var+set}\" = set"; then
19641 echo $ECHO_N "(cached) $ECHO_C" >&6
19642 else
19643 cat >conftest.$ac_ext <<_ACEOF
19644 /* confdefs.h. */
19645 _ACEOF
19646 cat confdefs.h >>conftest.$ac_ext
19647 cat >>conftest.$ac_ext <<_ACEOF
19648 /* end confdefs.h. */
19649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19651 #define $ac_func innocuous_$ac_func
19652
19653 /* System header to define __stub macros and hopefully few prototypes,
19654 which can conflict with char $ac_func (); below.
19655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19656 <limits.h> exists even on freestanding compilers. */
19657
19658 #ifdef __STDC__
19659 # include <limits.h>
19660 #else
19661 # include <assert.h>
19662 #endif
19663
19664 #undef $ac_func
19665
19666 /* Override any gcc2 internal prototype to avoid an error. */
19667 #ifdef __cplusplus
19668 extern "C"
19669 {
19670 #endif
19671 /* We use char because int might match the return type of a gcc2
19672 builtin and then its argument prototype would still apply. */
19673 char $ac_func ();
19674 /* The GNU C library defines this for functions which it implements
19675 to always fail with ENOSYS. Some functions are actually named
19676 something starting with __ and the normal name is an alias. */
19677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19678 choke me
19679 #else
19680 char (*f) () = $ac_func;
19681 #endif
19682 #ifdef __cplusplus
19683 }
19684 #endif
19685
19686 int
19687 main ()
19688 {
19689 return f != $ac_func;
19690 ;
19691 return 0;
19692 }
19693 _ACEOF
19694 rm -f conftest.$ac_objext conftest$ac_exeext
19695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19696 (eval $ac_link) 2>conftest.er1
19697 ac_status=$?
19698 grep -v '^ *+' conftest.er1 >conftest.err
19699 rm -f conftest.er1
19700 cat conftest.err >&5
19701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19702 (exit $ac_status); } &&
19703 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19705 (eval $ac_try) 2>&5
19706 ac_status=$?
19707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19708 (exit $ac_status); }; } &&
19709 { ac_try='test -s conftest$ac_exeext'
19710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19711 (eval $ac_try) 2>&5
19712 ac_status=$?
19713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19714 (exit $ac_status); }; }; then
19715 eval "$as_ac_var=yes"
19716 else
19717 echo "$as_me: failed program was:" >&5
19718 sed 's/^/| /' conftest.$ac_ext >&5
19719
19720 eval "$as_ac_var=no"
19721 fi
19722 rm -f conftest.err conftest.$ac_objext \
19723 conftest$ac_exeext conftest.$ac_ext
19724 fi
19725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19727 if test `eval echo '${'$as_ac_var'}'` = yes; then
19728 cat >>confdefs.h <<_ACEOF
19729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19730 _ACEOF
19731
19732 fi
19733 done
19734
19735 fi
19736
19737
19738
19739 if test "x$ac_cv_func_regcomp" != "xyes"; then
19740 if test "$wxUSE_REGEX" = "sys" ; then
19741 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
19742 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
19743 { (exit 1); exit 1; }; }
19744 else
19745 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
19746 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
19747 wxUSE_REGEX=builtin
19748 fi
19749 else
19750 wxUSE_REGEX=sys
19751 cat >>confdefs.h <<\_ACEOF
19752 #define WX_NO_REGEX_ADVANCED 1
19753 _ACEOF
19754
19755 fi
19756 fi
19757 fi
19758
19759
19760 ZLIB_LINK=
19761 if test "$wxUSE_ZLIB" != "no" ; then
19762 cat >>confdefs.h <<\_ACEOF
19763 #define wxUSE_ZLIB 1
19764 _ACEOF
19765
19766
19767 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
19768 if test "$USE_DARWIN" = 1; then
19769 system_zlib_h_ok="yes"
19770 else
19771 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
19772 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
19773 if test "${ac_cv_header_zlib_h+set}" = set; then
19774 echo $ECHO_N "(cached) $ECHO_C" >&6
19775 else
19776 if test "$cross_compiling" = yes; then
19777 unset ac_cv_header_zlib_h
19778
19779 else
19780 cat >conftest.$ac_ext <<_ACEOF
19781 /* confdefs.h. */
19782 _ACEOF
19783 cat confdefs.h >>conftest.$ac_ext
19784 cat >>conftest.$ac_ext <<_ACEOF
19785 /* end confdefs.h. */
19786
19787 #include <zlib.h>
19788 #include <stdio.h>
19789
19790 int main()
19791 {
19792 FILE *f=fopen("conftestval", "w");
19793 if (!f) exit(1);
19794 fprintf(f, "%s",
19795 ZLIB_VERSION[0] == '1' &&
19796 (ZLIB_VERSION[2] > '1' ||
19797 (ZLIB_VERSION[2] == '1' &&
19798 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
19799 exit(0);
19800 }
19801
19802 _ACEOF
19803 rm -f conftest$ac_exeext
19804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19805 (eval $ac_link) 2>&5
19806 ac_status=$?
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19810 (eval $ac_try) 2>&5
19811 ac_status=$?
19812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19813 (exit $ac_status); }; }; then
19814 ac_cv_header_zlib_h=`cat conftestval`
19815 else
19816 echo "$as_me: program exited with status $ac_status" >&5
19817 echo "$as_me: failed program was:" >&5
19818 sed 's/^/| /' conftest.$ac_ext >&5
19819
19820 ( exit $ac_status )
19821 ac_cv_header_zlib_h=no
19822 fi
19823 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19824 fi
19825
19826 fi
19827 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19828 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19829 if test "${ac_cv_header_zlib_h+set}" = set; then
19830 echo "$as_me:$LINENO: checking for zlib.h" >&5
19831 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19832 if test "${ac_cv_header_zlib_h+set}" = set; then
19833 echo $ECHO_N "(cached) $ECHO_C" >&6
19834 fi
19835 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19836 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19837 else
19838 # Is the header compilable?
19839 echo "$as_me:$LINENO: checking zlib.h usability" >&5
19840 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
19841 cat >conftest.$ac_ext <<_ACEOF
19842 /* confdefs.h. */
19843 _ACEOF
19844 cat confdefs.h >>conftest.$ac_ext
19845 cat >>conftest.$ac_ext <<_ACEOF
19846 /* end confdefs.h. */
19847 $ac_includes_default
19848 #include <zlib.h>
19849 _ACEOF
19850 rm -f conftest.$ac_objext
19851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19852 (eval $ac_compile) 2>conftest.er1
19853 ac_status=$?
19854 grep -v '^ *+' conftest.er1 >conftest.err
19855 rm -f conftest.er1
19856 cat conftest.err >&5
19857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19858 (exit $ac_status); } &&
19859 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19861 (eval $ac_try) 2>&5
19862 ac_status=$?
19863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19864 (exit $ac_status); }; } &&
19865 { ac_try='test -s conftest.$ac_objext'
19866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19867 (eval $ac_try) 2>&5
19868 ac_status=$?
19869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19870 (exit $ac_status); }; }; then
19871 ac_header_compiler=yes
19872 else
19873 echo "$as_me: failed program was:" >&5
19874 sed 's/^/| /' conftest.$ac_ext >&5
19875
19876 ac_header_compiler=no
19877 fi
19878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19879 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19880 echo "${ECHO_T}$ac_header_compiler" >&6
19881
19882 # Is the header present?
19883 echo "$as_me:$LINENO: checking zlib.h presence" >&5
19884 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
19885 cat >conftest.$ac_ext <<_ACEOF
19886 /* confdefs.h. */
19887 _ACEOF
19888 cat confdefs.h >>conftest.$ac_ext
19889 cat >>conftest.$ac_ext <<_ACEOF
19890 /* end confdefs.h. */
19891 #include <zlib.h>
19892 _ACEOF
19893 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19894 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19895 ac_status=$?
19896 grep -v '^ *+' conftest.er1 >conftest.err
19897 rm -f conftest.er1
19898 cat conftest.err >&5
19899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19900 (exit $ac_status); } >/dev/null; then
19901 if test -s conftest.err; then
19902 ac_cpp_err=$ac_c_preproc_warn_flag
19903 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19904 else
19905 ac_cpp_err=
19906 fi
19907 else
19908 ac_cpp_err=yes
19909 fi
19910 if test -z "$ac_cpp_err"; then
19911 ac_header_preproc=yes
19912 else
19913 echo "$as_me: failed program was:" >&5
19914 sed 's/^/| /' conftest.$ac_ext >&5
19915
19916 ac_header_preproc=no
19917 fi
19918 rm -f conftest.err conftest.$ac_ext
19919 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19920 echo "${ECHO_T}$ac_header_preproc" >&6
19921
19922 # So? What about this header?
19923 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19924 yes:no: )
19925 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
19926 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19927 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
19928 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
19929 ac_header_preproc=yes
19930 ;;
19931 no:yes:* )
19932 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
19933 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
19934 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
19935 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
19936 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
19937 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
19938 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
19939 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
19940 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
19941 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
19942 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
19943 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
19944 (
19945 cat <<\_ASBOX
19946 ## ----------------------------------------- ##
19947 ## Report this to wx-dev@lists.wxwindows.org ##
19948 ## ----------------------------------------- ##
19949 _ASBOX
19950 ) |
19951 sed "s/^/$as_me: WARNING: /" >&2
19952 ;;
19953 esac
19954 echo "$as_me:$LINENO: checking for zlib.h" >&5
19955 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19956 if test "${ac_cv_header_zlib_h+set}" = set; then
19957 echo $ECHO_N "(cached) $ECHO_C" >&6
19958 else
19959 ac_cv_header_zlib_h=$ac_header_preproc
19960 fi
19961 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19962 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19963
19964 fi
19965
19966
19967
19968 system_zlib_h_ok=$ac_cv_header_zlib_h
19969 fi
19970
19971 if test "$system_zlib_h_ok" = "yes"; then
19972 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
19973 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
19974 if test "${ac_cv_lib_z_deflate+set}" = set; then
19975 echo $ECHO_N "(cached) $ECHO_C" >&6
19976 else
19977 ac_check_lib_save_LIBS=$LIBS
19978 LIBS="-lz $LIBS"
19979 cat >conftest.$ac_ext <<_ACEOF
19980 /* confdefs.h. */
19981 _ACEOF
19982 cat confdefs.h >>conftest.$ac_ext
19983 cat >>conftest.$ac_ext <<_ACEOF
19984 /* end confdefs.h. */
19985
19986 /* Override any gcc2 internal prototype to avoid an error. */
19987 #ifdef __cplusplus
19988 extern "C"
19989 #endif
19990 /* We use char because int might match the return type of a gcc2
19991 builtin and then its argument prototype would still apply. */
19992 char deflate ();
19993 int
19994 main ()
19995 {
19996 deflate ();
19997 ;
19998 return 0;
19999 }
20000 _ACEOF
20001 rm -f conftest.$ac_objext conftest$ac_exeext
20002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20003 (eval $ac_link) 2>conftest.er1
20004 ac_status=$?
20005 grep -v '^ *+' conftest.er1 >conftest.err
20006 rm -f conftest.er1
20007 cat conftest.err >&5
20008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20009 (exit $ac_status); } &&
20010 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20012 (eval $ac_try) 2>&5
20013 ac_status=$?
20014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20015 (exit $ac_status); }; } &&
20016 { ac_try='test -s conftest$ac_exeext'
20017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20018 (eval $ac_try) 2>&5
20019 ac_status=$?
20020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021 (exit $ac_status); }; }; then
20022 ac_cv_lib_z_deflate=yes
20023 else
20024 echo "$as_me: failed program was:" >&5
20025 sed 's/^/| /' conftest.$ac_ext >&5
20026
20027 ac_cv_lib_z_deflate=no
20028 fi
20029 rm -f conftest.err conftest.$ac_objext \
20030 conftest$ac_exeext conftest.$ac_ext
20031 LIBS=$ac_check_lib_save_LIBS
20032 fi
20033 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20034 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20035 if test $ac_cv_lib_z_deflate = yes; then
20036 ZLIB_LINK=" -lz"
20037 fi
20038
20039 fi
20040
20041 if test "x$ZLIB_LINK" = "x" ; then
20042 if test "$wxUSE_ZLIB" = "sys" ; then
20043 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20044 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20045 { (exit 1); exit 1; }; }
20046 else
20047 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20048 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20049 wxUSE_ZLIB=builtin
20050 fi
20051 else
20052 wxUSE_ZLIB=sys
20053 fi
20054 fi
20055 fi
20056
20057
20058 PNG_LINK=
20059 if test "$wxUSE_LIBPNG" != "no" ; then
20060 cat >>confdefs.h <<\_ACEOF
20061 #define wxUSE_LIBPNG 1
20062 _ACEOF
20063
20064
20065 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20066 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20067 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20068 wxUSE_LIBPNG=sys
20069 fi
20070
20071 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20072 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20073 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20074 wxUSE_LIBPNG=builtin
20075 fi
20076
20077 if test "$wxUSE_MGL" != 1 ; then
20078 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20079 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20080 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20081 if test "${ac_cv_header_png_h+set}" = set; then
20082 echo $ECHO_N "(cached) $ECHO_C" >&6
20083 else
20084 if test "$cross_compiling" = yes; then
20085 unset ac_cv_header_png_h
20086
20087 else
20088 cat >conftest.$ac_ext <<_ACEOF
20089 /* confdefs.h. */
20090 _ACEOF
20091 cat confdefs.h >>conftest.$ac_ext
20092 cat >>conftest.$ac_ext <<_ACEOF
20093 /* end confdefs.h. */
20094
20095 #include <png.h>
20096 #include <stdio.h>
20097
20098 int main()
20099 {
20100 FILE *f=fopen("conftestval", "w");
20101 if (!f) exit(1);
20102 fprintf(f, "%s",
20103 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20104 exit(0);
20105 }
20106
20107 _ACEOF
20108 rm -f conftest$ac_exeext
20109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20110 (eval $ac_link) 2>&5
20111 ac_status=$?
20112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20113 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20115 (eval $ac_try) 2>&5
20116 ac_status=$?
20117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118 (exit $ac_status); }; }; then
20119 ac_cv_header_png_h=`cat conftestval`
20120 else
20121 echo "$as_me: program exited with status $ac_status" >&5
20122 echo "$as_me: failed program was:" >&5
20123 sed 's/^/| /' conftest.$ac_ext >&5
20124
20125 ( exit $ac_status )
20126 ac_cv_header_png_h=no
20127 fi
20128 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20129 fi
20130
20131 fi
20132 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20133 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20134 if test "${ac_cv_header_png_h+set}" = set; then
20135 echo "$as_me:$LINENO: checking for png.h" >&5
20136 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20137 if test "${ac_cv_header_png_h+set}" = set; then
20138 echo $ECHO_N "(cached) $ECHO_C" >&6
20139 fi
20140 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20141 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20142 else
20143 # Is the header compilable?
20144 echo "$as_me:$LINENO: checking png.h usability" >&5
20145 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
20146 cat >conftest.$ac_ext <<_ACEOF
20147 /* confdefs.h. */
20148 _ACEOF
20149 cat confdefs.h >>conftest.$ac_ext
20150 cat >>conftest.$ac_ext <<_ACEOF
20151 /* end confdefs.h. */
20152 $ac_includes_default
20153 #include <png.h>
20154 _ACEOF
20155 rm -f conftest.$ac_objext
20156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20157 (eval $ac_compile) 2>conftest.er1
20158 ac_status=$?
20159 grep -v '^ *+' conftest.er1 >conftest.err
20160 rm -f conftest.er1
20161 cat conftest.err >&5
20162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20163 (exit $ac_status); } &&
20164 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20166 (eval $ac_try) 2>&5
20167 ac_status=$?
20168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20169 (exit $ac_status); }; } &&
20170 { ac_try='test -s conftest.$ac_objext'
20171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20172 (eval $ac_try) 2>&5
20173 ac_status=$?
20174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20175 (exit $ac_status); }; }; then
20176 ac_header_compiler=yes
20177 else
20178 echo "$as_me: failed program was:" >&5
20179 sed 's/^/| /' conftest.$ac_ext >&5
20180
20181 ac_header_compiler=no
20182 fi
20183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20184 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20185 echo "${ECHO_T}$ac_header_compiler" >&6
20186
20187 # Is the header present?
20188 echo "$as_me:$LINENO: checking png.h presence" >&5
20189 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
20190 cat >conftest.$ac_ext <<_ACEOF
20191 /* confdefs.h. */
20192 _ACEOF
20193 cat confdefs.h >>conftest.$ac_ext
20194 cat >>conftest.$ac_ext <<_ACEOF
20195 /* end confdefs.h. */
20196 #include <png.h>
20197 _ACEOF
20198 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20199 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20200 ac_status=$?
20201 grep -v '^ *+' conftest.er1 >conftest.err
20202 rm -f conftest.er1
20203 cat conftest.err >&5
20204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20205 (exit $ac_status); } >/dev/null; then
20206 if test -s conftest.err; then
20207 ac_cpp_err=$ac_c_preproc_warn_flag
20208 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20209 else
20210 ac_cpp_err=
20211 fi
20212 else
20213 ac_cpp_err=yes
20214 fi
20215 if test -z "$ac_cpp_err"; then
20216 ac_header_preproc=yes
20217 else
20218 echo "$as_me: failed program was:" >&5
20219 sed 's/^/| /' conftest.$ac_ext >&5
20220
20221 ac_header_preproc=no
20222 fi
20223 rm -f conftest.err conftest.$ac_ext
20224 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20225 echo "${ECHO_T}$ac_header_preproc" >&6
20226
20227 # So? What about this header?
20228 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20229 yes:no: )
20230 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
20231 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20232 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
20233 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
20234 ac_header_preproc=yes
20235 ;;
20236 no:yes:* )
20237 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
20238 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
20239 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
20240 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
20241 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
20242 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
20243 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
20244 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
20245 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
20246 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
20247 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
20248 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
20249 (
20250 cat <<\_ASBOX
20251 ## ----------------------------------------- ##
20252 ## Report this to wx-dev@lists.wxwindows.org ##
20253 ## ----------------------------------------- ##
20254 _ASBOX
20255 ) |
20256 sed "s/^/$as_me: WARNING: /" >&2
20257 ;;
20258 esac
20259 echo "$as_me:$LINENO: checking for png.h" >&5
20260 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20261 if test "${ac_cv_header_png_h+set}" = set; then
20262 echo $ECHO_N "(cached) $ECHO_C" >&6
20263 else
20264 ac_cv_header_png_h=$ac_header_preproc
20265 fi
20266 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20267 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20268
20269 fi
20270
20271
20272
20273 if test "$ac_cv_header_png_h" = "yes"; then
20274 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
20275 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
20276 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
20277 echo $ECHO_N "(cached) $ECHO_C" >&6
20278 else
20279 ac_check_lib_save_LIBS=$LIBS
20280 LIBS="-lpng -lz -lm $LIBS"
20281 cat >conftest.$ac_ext <<_ACEOF
20282 /* confdefs.h. */
20283 _ACEOF
20284 cat confdefs.h >>conftest.$ac_ext
20285 cat >>conftest.$ac_ext <<_ACEOF
20286 /* end confdefs.h. */
20287
20288 /* Override any gcc2 internal prototype to avoid an error. */
20289 #ifdef __cplusplus
20290 extern "C"
20291 #endif
20292 /* We use char because int might match the return type of a gcc2
20293 builtin and then its argument prototype would still apply. */
20294 char png_check_sig ();
20295 int
20296 main ()
20297 {
20298 png_check_sig ();
20299 ;
20300 return 0;
20301 }
20302 _ACEOF
20303 rm -f conftest.$ac_objext conftest$ac_exeext
20304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20305 (eval $ac_link) 2>conftest.er1
20306 ac_status=$?
20307 grep -v '^ *+' conftest.er1 >conftest.err
20308 rm -f conftest.er1
20309 cat conftest.err >&5
20310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20311 (exit $ac_status); } &&
20312 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20314 (eval $ac_try) 2>&5
20315 ac_status=$?
20316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20317 (exit $ac_status); }; } &&
20318 { ac_try='test -s conftest$ac_exeext'
20319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20320 (eval $ac_try) 2>&5
20321 ac_status=$?
20322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20323 (exit $ac_status); }; }; then
20324 ac_cv_lib_png_png_check_sig=yes
20325 else
20326 echo "$as_me: failed program was:" >&5
20327 sed 's/^/| /' conftest.$ac_ext >&5
20328
20329 ac_cv_lib_png_png_check_sig=no
20330 fi
20331 rm -f conftest.err conftest.$ac_objext \
20332 conftest$ac_exeext conftest.$ac_ext
20333 LIBS=$ac_check_lib_save_LIBS
20334 fi
20335 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
20336 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
20337 if test $ac_cv_lib_png_png_check_sig = yes; then
20338 PNG_LINK=" -lpng"
20339 fi
20340
20341 fi
20342
20343 if test "x$PNG_LINK" = "x" ; then
20344 if test "$wxUSE_LIBPNG" = "sys" ; then
20345 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
20346 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
20347 { (exit 1); exit 1; }; }
20348 else
20349 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
20350 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
20351 wxUSE_LIBPNG=builtin
20352 fi
20353 else
20354 wxUSE_LIBPNG=sys
20355 fi
20356 fi
20357 fi
20358
20359 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
20360 fi
20361
20362
20363 JPEG_LINK=
20364 if test "$wxUSE_LIBJPEG" != "no" ; then
20365 cat >>confdefs.h <<\_ACEOF
20366 #define wxUSE_LIBJPEG 1
20367 _ACEOF
20368
20369
20370 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
20371 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
20372 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
20373 wxUSE_LIBJPEG=sys
20374 fi
20375
20376 if test "$wxUSE_MGL" != 1 ; then
20377 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
20378 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
20379 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
20380 if test "${ac_cv_header_jpeglib_h+set}" = set; then
20381 echo $ECHO_N "(cached) $ECHO_C" >&6
20382 else
20383 cat >conftest.$ac_ext <<_ACEOF
20384 /* confdefs.h. */
20385 _ACEOF
20386 cat confdefs.h >>conftest.$ac_ext
20387 cat >>conftest.$ac_ext <<_ACEOF
20388 /* end confdefs.h. */
20389
20390 #undef HAVE_STDLIB_H
20391 #include <stdio.h>
20392 #include <jpeglib.h>
20393
20394 int
20395 main ()
20396 {
20397
20398
20399 ;
20400 return 0;
20401 }
20402 _ACEOF
20403 rm -f conftest.$ac_objext
20404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20405 (eval $ac_compile) 2>conftest.er1
20406 ac_status=$?
20407 grep -v '^ *+' conftest.er1 >conftest.err
20408 rm -f conftest.er1
20409 cat conftest.err >&5
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); } &&
20412 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20414 (eval $ac_try) 2>&5
20415 ac_status=$?
20416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20417 (exit $ac_status); }; } &&
20418 { ac_try='test -s conftest.$ac_objext'
20419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20420 (eval $ac_try) 2>&5
20421 ac_status=$?
20422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20423 (exit $ac_status); }; }; then
20424 ac_cv_header_jpeglib_h=yes
20425 else
20426 echo "$as_me: failed program was:" >&5
20427 sed 's/^/| /' conftest.$ac_ext >&5
20428
20429 ac_cv_header_jpeglib_h=no
20430
20431 fi
20432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20433
20434 fi
20435
20436 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
20437 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
20438
20439 if test "$ac_cv_header_jpeglib_h" = "yes"; then
20440 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
20441 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
20442 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
20443 echo $ECHO_N "(cached) $ECHO_C" >&6
20444 else
20445 ac_check_lib_save_LIBS=$LIBS
20446 LIBS="-ljpeg $LIBS"
20447 cat >conftest.$ac_ext <<_ACEOF
20448 /* confdefs.h. */
20449 _ACEOF
20450 cat confdefs.h >>conftest.$ac_ext
20451 cat >>conftest.$ac_ext <<_ACEOF
20452 /* end confdefs.h. */
20453
20454 /* Override any gcc2 internal prototype to avoid an error. */
20455 #ifdef __cplusplus
20456 extern "C"
20457 #endif
20458 /* We use char because int might match the return type of a gcc2
20459 builtin and then its argument prototype would still apply. */
20460 char jpeg_read_header ();
20461 int
20462 main ()
20463 {
20464 jpeg_read_header ();
20465 ;
20466 return 0;
20467 }
20468 _ACEOF
20469 rm -f conftest.$ac_objext conftest$ac_exeext
20470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20471 (eval $ac_link) 2>conftest.er1
20472 ac_status=$?
20473 grep -v '^ *+' conftest.er1 >conftest.err
20474 rm -f conftest.er1
20475 cat conftest.err >&5
20476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20477 (exit $ac_status); } &&
20478 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20480 (eval $ac_try) 2>&5
20481 ac_status=$?
20482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20483 (exit $ac_status); }; } &&
20484 { ac_try='test -s conftest$ac_exeext'
20485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20486 (eval $ac_try) 2>&5
20487 ac_status=$?
20488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20489 (exit $ac_status); }; }; then
20490 ac_cv_lib_jpeg_jpeg_read_header=yes
20491 else
20492 echo "$as_me: failed program was:" >&5
20493 sed 's/^/| /' conftest.$ac_ext >&5
20494
20495 ac_cv_lib_jpeg_jpeg_read_header=no
20496 fi
20497 rm -f conftest.err conftest.$ac_objext \
20498 conftest$ac_exeext conftest.$ac_ext
20499 LIBS=$ac_check_lib_save_LIBS
20500 fi
20501 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
20502 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
20503 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
20504 JPEG_LINK=" -ljpeg"
20505 fi
20506
20507 fi
20508
20509 if test "x$JPEG_LINK" = "x" ; then
20510 if test "$wxUSE_LIBJPEG" = "sys" ; then
20511 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
20512 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
20513 { (exit 1); exit 1; }; }
20514 else
20515 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
20516 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
20517 wxUSE_LIBJPEG=builtin
20518 fi
20519 else
20520 wxUSE_LIBJPEG=sys
20521 fi
20522 fi
20523 fi
20524 fi
20525
20526
20527 TIFF_LINK=
20528 TIFF_PREREQ_LINKS=-lm
20529 if test "$wxUSE_LIBTIFF" != "no" ; then
20530 cat >>confdefs.h <<\_ACEOF
20531 #define wxUSE_LIBTIFF 1
20532 _ACEOF
20533
20534
20535 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
20536 if test "$wxUSE_LIBJPEG" = "sys"; then
20537 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
20538 fi
20539 if test "$wxUSE_ZLIB" = "sys"; then
20540 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
20541 fi
20542 if test "${ac_cv_header_tiffio_h+set}" = set; then
20543 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20544 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20545 if test "${ac_cv_header_tiffio_h+set}" = set; then
20546 echo $ECHO_N "(cached) $ECHO_C" >&6
20547 fi
20548 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20549 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20550 else
20551 # Is the header compilable?
20552 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
20553 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
20554 cat >conftest.$ac_ext <<_ACEOF
20555 /* confdefs.h. */
20556 _ACEOF
20557 cat confdefs.h >>conftest.$ac_ext
20558 cat >>conftest.$ac_ext <<_ACEOF
20559 /* end confdefs.h. */
20560 $ac_includes_default
20561 #include <tiffio.h>
20562 _ACEOF
20563 rm -f conftest.$ac_objext
20564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20565 (eval $ac_compile) 2>conftest.er1
20566 ac_status=$?
20567 grep -v '^ *+' conftest.er1 >conftest.err
20568 rm -f conftest.er1
20569 cat conftest.err >&5
20570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20571 (exit $ac_status); } &&
20572 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20574 (eval $ac_try) 2>&5
20575 ac_status=$?
20576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20577 (exit $ac_status); }; } &&
20578 { ac_try='test -s conftest.$ac_objext'
20579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20580 (eval $ac_try) 2>&5
20581 ac_status=$?
20582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20583 (exit $ac_status); }; }; then
20584 ac_header_compiler=yes
20585 else
20586 echo "$as_me: failed program was:" >&5
20587 sed 's/^/| /' conftest.$ac_ext >&5
20588
20589 ac_header_compiler=no
20590 fi
20591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20592 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20593 echo "${ECHO_T}$ac_header_compiler" >&6
20594
20595 # Is the header present?
20596 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
20597 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
20598 cat >conftest.$ac_ext <<_ACEOF
20599 /* confdefs.h. */
20600 _ACEOF
20601 cat confdefs.h >>conftest.$ac_ext
20602 cat >>conftest.$ac_ext <<_ACEOF
20603 /* end confdefs.h. */
20604 #include <tiffio.h>
20605 _ACEOF
20606 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20607 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20608 ac_status=$?
20609 grep -v '^ *+' conftest.er1 >conftest.err
20610 rm -f conftest.er1
20611 cat conftest.err >&5
20612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20613 (exit $ac_status); } >/dev/null; then
20614 if test -s conftest.err; then
20615 ac_cpp_err=$ac_c_preproc_warn_flag
20616 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20617 else
20618 ac_cpp_err=
20619 fi
20620 else
20621 ac_cpp_err=yes
20622 fi
20623 if test -z "$ac_cpp_err"; then
20624 ac_header_preproc=yes
20625 else
20626 echo "$as_me: failed program was:" >&5
20627 sed 's/^/| /' conftest.$ac_ext >&5
20628
20629 ac_header_preproc=no
20630 fi
20631 rm -f conftest.err conftest.$ac_ext
20632 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20633 echo "${ECHO_T}$ac_header_preproc" >&6
20634
20635 # So? What about this header?
20636 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20637 yes:no: )
20638 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
20639 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20640 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
20641 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
20642 ac_header_preproc=yes
20643 ;;
20644 no:yes:* )
20645 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
20646 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
20647 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
20648 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
20649 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
20650 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
20651 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
20652 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
20653 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
20654 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
20655 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
20656 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
20657 (
20658 cat <<\_ASBOX
20659 ## ----------------------------------------- ##
20660 ## Report this to wx-dev@lists.wxwindows.org ##
20661 ## ----------------------------------------- ##
20662 _ASBOX
20663 ) |
20664 sed "s/^/$as_me: WARNING: /" >&2
20665 ;;
20666 esac
20667 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20668 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20669 if test "${ac_cv_header_tiffio_h+set}" = set; then
20670 echo $ECHO_N "(cached) $ECHO_C" >&6
20671 else
20672 ac_cv_header_tiffio_h=$ac_header_preproc
20673 fi
20674 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20675 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20676
20677 fi
20678 if test $ac_cv_header_tiffio_h = yes; then
20679
20680 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
20681 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
20682 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
20683 echo $ECHO_N "(cached) $ECHO_C" >&6
20684 else
20685 ac_check_lib_save_LIBS=$LIBS
20686 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
20687 cat >conftest.$ac_ext <<_ACEOF
20688 /* confdefs.h. */
20689 _ACEOF
20690 cat confdefs.h >>conftest.$ac_ext
20691 cat >>conftest.$ac_ext <<_ACEOF
20692 /* end confdefs.h. */
20693
20694 /* Override any gcc2 internal prototype to avoid an error. */
20695 #ifdef __cplusplus
20696 extern "C"
20697 #endif
20698 /* We use char because int might match the return type of a gcc2
20699 builtin and then its argument prototype would still apply. */
20700 char TIFFError ();
20701 int
20702 main ()
20703 {
20704 TIFFError ();
20705 ;
20706 return 0;
20707 }
20708 _ACEOF
20709 rm -f conftest.$ac_objext conftest$ac_exeext
20710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20711 (eval $ac_link) 2>conftest.er1
20712 ac_status=$?
20713 grep -v '^ *+' conftest.er1 >conftest.err
20714 rm -f conftest.er1
20715 cat conftest.err >&5
20716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20717 (exit $ac_status); } &&
20718 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20720 (eval $ac_try) 2>&5
20721 ac_status=$?
20722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20723 (exit $ac_status); }; } &&
20724 { ac_try='test -s conftest$ac_exeext'
20725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20726 (eval $ac_try) 2>&5
20727 ac_status=$?
20728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20729 (exit $ac_status); }; }; then
20730 ac_cv_lib_tiff_TIFFError=yes
20731 else
20732 echo "$as_me: failed program was:" >&5
20733 sed 's/^/| /' conftest.$ac_ext >&5
20734
20735 ac_cv_lib_tiff_TIFFError=no
20736 fi
20737 rm -f conftest.err conftest.$ac_objext \
20738 conftest$ac_exeext conftest.$ac_ext
20739 LIBS=$ac_check_lib_save_LIBS
20740 fi
20741 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
20742 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
20743 if test $ac_cv_lib_tiff_TIFFError = yes; then
20744 TIFF_LINK=" -ltiff"
20745 fi
20746
20747
20748
20749 fi
20750
20751
20752
20753 if test "x$TIFF_LINK" = "x" ; then
20754 if test "$wxUSE_LIBTIFF" = "sys" ; then
20755 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
20756 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
20757 { (exit 1); exit 1; }; }
20758 else
20759 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
20760 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
20761 wxUSE_LIBTIFF=builtin
20762 fi
20763 else
20764 wxUSE_LIBTIFF=sys
20765 fi
20766 fi
20767 fi
20768
20769
20770 if test "$wxUSE_EXPAT" != "no"; then
20771 wxUSE_XML=yes
20772 cat >>confdefs.h <<\_ACEOF
20773 #define wxUSE_EXPAT 1
20774 _ACEOF
20775
20776 cat >>confdefs.h <<\_ACEOF
20777 #define wxUSE_XML 1
20778 _ACEOF
20779
20780
20781 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
20782 if test "${ac_cv_header_expat_h+set}" = set; then
20783 echo "$as_me:$LINENO: checking for expat.h" >&5
20784 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20785 if test "${ac_cv_header_expat_h+set}" = set; then
20786 echo $ECHO_N "(cached) $ECHO_C" >&6
20787 fi
20788 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20789 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20790 else
20791 # Is the header compilable?
20792 echo "$as_me:$LINENO: checking expat.h usability" >&5
20793 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
20794 cat >conftest.$ac_ext <<_ACEOF
20795 /* confdefs.h. */
20796 _ACEOF
20797 cat confdefs.h >>conftest.$ac_ext
20798 cat >>conftest.$ac_ext <<_ACEOF
20799 /* end confdefs.h. */
20800 $ac_includes_default
20801 #include <expat.h>
20802 _ACEOF
20803 rm -f conftest.$ac_objext
20804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20805 (eval $ac_compile) 2>conftest.er1
20806 ac_status=$?
20807 grep -v '^ *+' conftest.er1 >conftest.err
20808 rm -f conftest.er1
20809 cat conftest.err >&5
20810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); } &&
20812 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20814 (eval $ac_try) 2>&5
20815 ac_status=$?
20816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20817 (exit $ac_status); }; } &&
20818 { ac_try='test -s conftest.$ac_objext'
20819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20820 (eval $ac_try) 2>&5
20821 ac_status=$?
20822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20823 (exit $ac_status); }; }; then
20824 ac_header_compiler=yes
20825 else
20826 echo "$as_me: failed program was:" >&5
20827 sed 's/^/| /' conftest.$ac_ext >&5
20828
20829 ac_header_compiler=no
20830 fi
20831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20832 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20833 echo "${ECHO_T}$ac_header_compiler" >&6
20834
20835 # Is the header present?
20836 echo "$as_me:$LINENO: checking expat.h presence" >&5
20837 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
20838 cat >conftest.$ac_ext <<_ACEOF
20839 /* confdefs.h. */
20840 _ACEOF
20841 cat confdefs.h >>conftest.$ac_ext
20842 cat >>conftest.$ac_ext <<_ACEOF
20843 /* end confdefs.h. */
20844 #include <expat.h>
20845 _ACEOF
20846 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20847 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20848 ac_status=$?
20849 grep -v '^ *+' conftest.er1 >conftest.err
20850 rm -f conftest.er1
20851 cat conftest.err >&5
20852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20853 (exit $ac_status); } >/dev/null; then
20854 if test -s conftest.err; then
20855 ac_cpp_err=$ac_c_preproc_warn_flag
20856 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20857 else
20858 ac_cpp_err=
20859 fi
20860 else
20861 ac_cpp_err=yes
20862 fi
20863 if test -z "$ac_cpp_err"; then
20864 ac_header_preproc=yes
20865 else
20866 echo "$as_me: failed program was:" >&5
20867 sed 's/^/| /' conftest.$ac_ext >&5
20868
20869 ac_header_preproc=no
20870 fi
20871 rm -f conftest.err conftest.$ac_ext
20872 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20873 echo "${ECHO_T}$ac_header_preproc" >&6
20874
20875 # So? What about this header?
20876 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20877 yes:no: )
20878 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
20879 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20880 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
20881 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
20882 ac_header_preproc=yes
20883 ;;
20884 no:yes:* )
20885 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
20886 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
20887 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
20888 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
20889 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
20890 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
20891 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
20892 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
20893 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
20894 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
20895 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
20896 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
20897 (
20898 cat <<\_ASBOX
20899 ## ----------------------------------------- ##
20900 ## Report this to wx-dev@lists.wxwindows.org ##
20901 ## ----------------------------------------- ##
20902 _ASBOX
20903 ) |
20904 sed "s/^/$as_me: WARNING: /" >&2
20905 ;;
20906 esac
20907 echo "$as_me:$LINENO: checking for expat.h" >&5
20908 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20909 if test "${ac_cv_header_expat_h+set}" = set; then
20910 echo $ECHO_N "(cached) $ECHO_C" >&6
20911 else
20912 ac_cv_header_expat_h=$ac_header_preproc
20913 fi
20914 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20915 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20916
20917 fi
20918 if test $ac_cv_header_expat_h = yes; then
20919 found_expat_h=1
20920 fi
20921
20922
20923 if test "x$found_expat_h" = "x1"; then
20924 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
20925 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
20926 if test "${wx_cv_expat_is_not_broken+set}" = set; then
20927 echo $ECHO_N "(cached) $ECHO_C" >&6
20928 else
20929
20930
20931
20932 ac_ext=cc
20933 ac_cpp='$CXXCPP $CPPFLAGS'
20934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20937
20938 cat >conftest.$ac_ext <<_ACEOF
20939 /* confdefs.h. */
20940 _ACEOF
20941 cat confdefs.h >>conftest.$ac_ext
20942 cat >>conftest.$ac_ext <<_ACEOF
20943 /* end confdefs.h. */
20944 #include <expat.h>
20945 int
20946 main ()
20947 {
20948
20949 ;
20950 return 0;
20951 }
20952 _ACEOF
20953 rm -f conftest.$ac_objext
20954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20955 (eval $ac_compile) 2>conftest.er1
20956 ac_status=$?
20957 grep -v '^ *+' conftest.er1 >conftest.err
20958 rm -f conftest.er1
20959 cat conftest.err >&5
20960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20961 (exit $ac_status); } &&
20962 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20964 (eval $ac_try) 2>&5
20965 ac_status=$?
20966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20967 (exit $ac_status); }; } &&
20968 { ac_try='test -s conftest.$ac_objext'
20969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20970 (eval $ac_try) 2>&5
20971 ac_status=$?
20972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20973 (exit $ac_status); }; }; then
20974 wx_cv_expat_is_not_broken=yes
20975 else
20976 echo "$as_me: failed program was:" >&5
20977 sed 's/^/| /' conftest.$ac_ext >&5
20978
20979 wx_cv_expat_is_not_broken=no
20980
20981 fi
20982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20983 ac_ext=c
20984 ac_cpp='$CPP $CPPFLAGS'
20985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20988
20989
20990
20991 fi
20992 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
20993 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
20994 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
20995 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
20996 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
20997 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
20998 echo $ECHO_N "(cached) $ECHO_C" >&6
20999 else
21000 ac_check_lib_save_LIBS=$LIBS
21001 LIBS="-lexpat $LIBS"
21002 cat >conftest.$ac_ext <<_ACEOF
21003 /* confdefs.h. */
21004 _ACEOF
21005 cat confdefs.h >>conftest.$ac_ext
21006 cat >>conftest.$ac_ext <<_ACEOF
21007 /* end confdefs.h. */
21008
21009 /* Override any gcc2 internal prototype to avoid an error. */
21010 #ifdef __cplusplus
21011 extern "C"
21012 #endif
21013 /* We use char because int might match the return type of a gcc2
21014 builtin and then its argument prototype would still apply. */
21015 char XML_ParserCreate ();
21016 int
21017 main ()
21018 {
21019 XML_ParserCreate ();
21020 ;
21021 return 0;
21022 }
21023 _ACEOF
21024 rm -f conftest.$ac_objext conftest$ac_exeext
21025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21026 (eval $ac_link) 2>conftest.er1
21027 ac_status=$?
21028 grep -v '^ *+' conftest.er1 >conftest.err
21029 rm -f conftest.er1
21030 cat conftest.err >&5
21031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21032 (exit $ac_status); } &&
21033 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21035 (eval $ac_try) 2>&5
21036 ac_status=$?
21037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21038 (exit $ac_status); }; } &&
21039 { ac_try='test -s conftest$ac_exeext'
21040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21041 (eval $ac_try) 2>&5
21042 ac_status=$?
21043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21044 (exit $ac_status); }; }; then
21045 ac_cv_lib_expat_XML_ParserCreate=yes
21046 else
21047 echo "$as_me: failed program was:" >&5
21048 sed 's/^/| /' conftest.$ac_ext >&5
21049
21050 ac_cv_lib_expat_XML_ParserCreate=no
21051 fi
21052 rm -f conftest.err conftest.$ac_objext \
21053 conftest$ac_exeext conftest.$ac_ext
21054 LIBS=$ac_check_lib_save_LIBS
21055 fi
21056 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21057 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21058 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21059 EXPAT_LINK=" -lexpat"
21060 fi
21061
21062 fi
21063 fi
21064 if test "x$EXPAT_LINK" = "x" ; then
21065 if test "$wxUSE_EXPAT" = "sys" ; then
21066 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21067 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21068 { (exit 1); exit 1; }; }
21069 else
21070 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21071 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21072 wxUSE_EXPAT=builtin
21073 fi
21074 else
21075 wxUSE_EXPAT=sys
21076 fi
21077 fi
21078 if test "$wxUSE_EXPAT" = "builtin" ; then
21079
21080
21081 subdirs="$subdirs src/expat"
21082
21083 fi
21084 fi
21085
21086
21087
21088 if test "$wxUSE_LIBMSPACK" != "no"; then
21089
21090 if test "${ac_cv_header_mspack_h+set}" = set; then
21091 echo "$as_me:$LINENO: checking for mspack.h" >&5
21092 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21093 if test "${ac_cv_header_mspack_h+set}" = set; then
21094 echo $ECHO_N "(cached) $ECHO_C" >&6
21095 fi
21096 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21097 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21098 else
21099 # Is the header compilable?
21100 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21101 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21102 cat >conftest.$ac_ext <<_ACEOF
21103 /* confdefs.h. */
21104 _ACEOF
21105 cat confdefs.h >>conftest.$ac_ext
21106 cat >>conftest.$ac_ext <<_ACEOF
21107 /* end confdefs.h. */
21108 $ac_includes_default
21109 #include <mspack.h>
21110 _ACEOF
21111 rm -f conftest.$ac_objext
21112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21113 (eval $ac_compile) 2>conftest.er1
21114 ac_status=$?
21115 grep -v '^ *+' conftest.er1 >conftest.err
21116 rm -f conftest.er1
21117 cat conftest.err >&5
21118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21119 (exit $ac_status); } &&
21120 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21122 (eval $ac_try) 2>&5
21123 ac_status=$?
21124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21125 (exit $ac_status); }; } &&
21126 { ac_try='test -s conftest.$ac_objext'
21127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21128 (eval $ac_try) 2>&5
21129 ac_status=$?
21130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21131 (exit $ac_status); }; }; then
21132 ac_header_compiler=yes
21133 else
21134 echo "$as_me: failed program was:" >&5
21135 sed 's/^/| /' conftest.$ac_ext >&5
21136
21137 ac_header_compiler=no
21138 fi
21139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21140 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21141 echo "${ECHO_T}$ac_header_compiler" >&6
21142
21143 # Is the header present?
21144 echo "$as_me:$LINENO: checking mspack.h presence" >&5
21145 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
21146 cat >conftest.$ac_ext <<_ACEOF
21147 /* confdefs.h. */
21148 _ACEOF
21149 cat confdefs.h >>conftest.$ac_ext
21150 cat >>conftest.$ac_ext <<_ACEOF
21151 /* end confdefs.h. */
21152 #include <mspack.h>
21153 _ACEOF
21154 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21155 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
21162 if test -s conftest.err; then
21163 ac_cpp_err=$ac_c_preproc_warn_flag
21164 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21165 else
21166 ac_cpp_err=
21167 fi
21168 else
21169 ac_cpp_err=yes
21170 fi
21171 if test -z "$ac_cpp_err"; then
21172 ac_header_preproc=yes
21173 else
21174 echo "$as_me: failed program was:" >&5
21175 sed 's/^/| /' conftest.$ac_ext >&5
21176
21177 ac_header_preproc=no
21178 fi
21179 rm -f conftest.err conftest.$ac_ext
21180 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21181 echo "${ECHO_T}$ac_header_preproc" >&6
21182
21183 # So? What about this header?
21184 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21185 yes:no: )
21186 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
21187 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21188 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
21189 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
21190 ac_header_preproc=yes
21191 ;;
21192 no:yes:* )
21193 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
21194 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
21195 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
21196 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
21197 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
21198 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
21199 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
21200 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
21201 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
21202 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
21203 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
21204 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
21205 (
21206 cat <<\_ASBOX
21207 ## ----------------------------------------- ##
21208 ## Report this to wx-dev@lists.wxwindows.org ##
21209 ## ----------------------------------------- ##
21210 _ASBOX
21211 ) |
21212 sed "s/^/$as_me: WARNING: /" >&2
21213 ;;
21214 esac
21215 echo "$as_me:$LINENO: checking for mspack.h" >&5
21216 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21217 if test "${ac_cv_header_mspack_h+set}" = set; then
21218 echo $ECHO_N "(cached) $ECHO_C" >&6
21219 else
21220 ac_cv_header_mspack_h=$ac_header_preproc
21221 fi
21222 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21223 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21224
21225 fi
21226 if test $ac_cv_header_mspack_h = yes; then
21227 found_mspack_h=1
21228 fi
21229
21230
21231 if test "x$found_mspack_h" = "x1"; then
21232 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
21233 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
21234 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
21235 echo $ECHO_N "(cached) $ECHO_C" >&6
21236 else
21237 ac_check_lib_save_LIBS=$LIBS
21238 LIBS="-lmspack $LIBS"
21239 cat >conftest.$ac_ext <<_ACEOF
21240 /* confdefs.h. */
21241 _ACEOF
21242 cat confdefs.h >>conftest.$ac_ext
21243 cat >>conftest.$ac_ext <<_ACEOF
21244 /* end confdefs.h. */
21245
21246 /* Override any gcc2 internal prototype to avoid an error. */
21247 #ifdef __cplusplus
21248 extern "C"
21249 #endif
21250 /* We use char because int might match the return type of a gcc2
21251 builtin and then its argument prototype would still apply. */
21252 char mspack_create_chm_decompressor ();
21253 int
21254 main ()
21255 {
21256 mspack_create_chm_decompressor ();
21257 ;
21258 return 0;
21259 }
21260 _ACEOF
21261 rm -f conftest.$ac_objext conftest$ac_exeext
21262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21263 (eval $ac_link) 2>conftest.er1
21264 ac_status=$?
21265 grep -v '^ *+' conftest.er1 >conftest.err
21266 rm -f conftest.er1
21267 cat conftest.err >&5
21268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21269 (exit $ac_status); } &&
21270 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21272 (eval $ac_try) 2>&5
21273 ac_status=$?
21274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21275 (exit $ac_status); }; } &&
21276 { ac_try='test -s conftest$ac_exeext'
21277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21278 (eval $ac_try) 2>&5
21279 ac_status=$?
21280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21281 (exit $ac_status); }; }; then
21282 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
21283 else
21284 echo "$as_me: failed program was:" >&5
21285 sed 's/^/| /' conftest.$ac_ext >&5
21286
21287 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
21288 fi
21289 rm -f conftest.err conftest.$ac_objext \
21290 conftest$ac_exeext conftest.$ac_ext
21291 LIBS=$ac_check_lib_save_LIBS
21292 fi
21293 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
21294 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
21295 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
21296 MSPACK_LINK=" -lmspack"
21297 fi
21298
21299 fi
21300 if test "x$MSPACK_LINK" = "x" ; then
21301 wxUSE_LIBMSPACK=no
21302 else
21303 cat >>confdefs.h <<\_ACEOF
21304 #define wxUSE_LIBMSPACK 1
21305 _ACEOF
21306
21307 fi
21308 fi
21309
21310
21311
21312 AFMINSTALL=
21313 WIN32INSTALL=
21314
21315 TOOLKIT=
21316 TOOLKIT_INCLUDE=
21317 WIDGET_SET=
21318
21319 if test "$USE_WIN32" = 1 ; then
21320
21321 for ac_header in w32api.h
21322 do
21323 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21324 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21325 echo "$as_me:$LINENO: checking for $ac_header" >&5
21326 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21327 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21328 echo $ECHO_N "(cached) $ECHO_C" >&6
21329 fi
21330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21331 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21332 else
21333 # Is the header compilable?
21334 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21335 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21336 cat >conftest.$ac_ext <<_ACEOF
21337 /* confdefs.h. */
21338 _ACEOF
21339 cat confdefs.h >>conftest.$ac_ext
21340 cat >>conftest.$ac_ext <<_ACEOF
21341 /* end confdefs.h. */
21342 $ac_includes_default
21343 #include <$ac_header>
21344 _ACEOF
21345 rm -f conftest.$ac_objext
21346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21347 (eval $ac_compile) 2>conftest.er1
21348 ac_status=$?
21349 grep -v '^ *+' conftest.er1 >conftest.err
21350 rm -f conftest.er1
21351 cat conftest.err >&5
21352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21353 (exit $ac_status); } &&
21354 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21356 (eval $ac_try) 2>&5
21357 ac_status=$?
21358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21359 (exit $ac_status); }; } &&
21360 { ac_try='test -s conftest.$ac_objext'
21361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21362 (eval $ac_try) 2>&5
21363 ac_status=$?
21364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21365 (exit $ac_status); }; }; then
21366 ac_header_compiler=yes
21367 else
21368 echo "$as_me: failed program was:" >&5
21369 sed 's/^/| /' conftest.$ac_ext >&5
21370
21371 ac_header_compiler=no
21372 fi
21373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21374 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21375 echo "${ECHO_T}$ac_header_compiler" >&6
21376
21377 # Is the header present?
21378 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21379 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21380 cat >conftest.$ac_ext <<_ACEOF
21381 /* confdefs.h. */
21382 _ACEOF
21383 cat confdefs.h >>conftest.$ac_ext
21384 cat >>conftest.$ac_ext <<_ACEOF
21385 /* end confdefs.h. */
21386 #include <$ac_header>
21387 _ACEOF
21388 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21389 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21390 ac_status=$?
21391 grep -v '^ *+' conftest.er1 >conftest.err
21392 rm -f conftest.er1
21393 cat conftest.err >&5
21394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21395 (exit $ac_status); } >/dev/null; then
21396 if test -s conftest.err; then
21397 ac_cpp_err=$ac_c_preproc_warn_flag
21398 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21399 else
21400 ac_cpp_err=
21401 fi
21402 else
21403 ac_cpp_err=yes
21404 fi
21405 if test -z "$ac_cpp_err"; then
21406 ac_header_preproc=yes
21407 else
21408 echo "$as_me: failed program was:" >&5
21409 sed 's/^/| /' conftest.$ac_ext >&5
21410
21411 ac_header_preproc=no
21412 fi
21413 rm -f conftest.err conftest.$ac_ext
21414 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21415 echo "${ECHO_T}$ac_header_preproc" >&6
21416
21417 # So? What about this header?
21418 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21419 yes:no: )
21420 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21421 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21422 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21423 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21424 ac_header_preproc=yes
21425 ;;
21426 no:yes:* )
21427 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21428 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21429 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21430 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21431 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21432 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21433 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21434 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21435 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21436 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21437 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21438 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21439 (
21440 cat <<\_ASBOX
21441 ## ----------------------------------------- ##
21442 ## Report this to wx-dev@lists.wxwindows.org ##
21443 ## ----------------------------------------- ##
21444 _ASBOX
21445 ) |
21446 sed "s/^/$as_me: WARNING: /" >&2
21447 ;;
21448 esac
21449 echo "$as_me:$LINENO: checking for $ac_header" >&5
21450 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21451 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21452 echo $ECHO_N "(cached) $ECHO_C" >&6
21453 else
21454 eval "$as_ac_Header=\$ac_header_preproc"
21455 fi
21456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21457 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21458
21459 fi
21460 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21461 cat >>confdefs.h <<_ACEOF
21462 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21463 _ACEOF
21464
21465 fi
21466
21467 done
21468
21469 if test "${ac_cv_header_windows_h+set}" = set; then
21470 echo "$as_me:$LINENO: checking for windows.h" >&5
21471 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21472 if test "${ac_cv_header_windows_h+set}" = set; then
21473 echo $ECHO_N "(cached) $ECHO_C" >&6
21474 fi
21475 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21476 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21477 else
21478 # Is the header compilable?
21479 echo "$as_me:$LINENO: checking windows.h usability" >&5
21480 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
21481 cat >conftest.$ac_ext <<_ACEOF
21482 /* confdefs.h. */
21483 _ACEOF
21484 cat confdefs.h >>conftest.$ac_ext
21485 cat >>conftest.$ac_ext <<_ACEOF
21486 /* end confdefs.h. */
21487 $ac_includes_default
21488 #include <windows.h>
21489 _ACEOF
21490 rm -f conftest.$ac_objext
21491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21492 (eval $ac_compile) 2>conftest.er1
21493 ac_status=$?
21494 grep -v '^ *+' conftest.er1 >conftest.err
21495 rm -f conftest.er1
21496 cat conftest.err >&5
21497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21498 (exit $ac_status); } &&
21499 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21501 (eval $ac_try) 2>&5
21502 ac_status=$?
21503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21504 (exit $ac_status); }; } &&
21505 { ac_try='test -s conftest.$ac_objext'
21506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21507 (eval $ac_try) 2>&5
21508 ac_status=$?
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); }; }; then
21511 ac_header_compiler=yes
21512 else
21513 echo "$as_me: failed program was:" >&5
21514 sed 's/^/| /' conftest.$ac_ext >&5
21515
21516 ac_header_compiler=no
21517 fi
21518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21519 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21520 echo "${ECHO_T}$ac_header_compiler" >&6
21521
21522 # Is the header present?
21523 echo "$as_me:$LINENO: checking windows.h presence" >&5
21524 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
21525 cat >conftest.$ac_ext <<_ACEOF
21526 /* confdefs.h. */
21527 _ACEOF
21528 cat confdefs.h >>conftest.$ac_ext
21529 cat >>conftest.$ac_ext <<_ACEOF
21530 /* end confdefs.h. */
21531 #include <windows.h>
21532 _ACEOF
21533 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21534 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21535 ac_status=$?
21536 grep -v '^ *+' conftest.er1 >conftest.err
21537 rm -f conftest.er1
21538 cat conftest.err >&5
21539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21540 (exit $ac_status); } >/dev/null; then
21541 if test -s conftest.err; then
21542 ac_cpp_err=$ac_c_preproc_warn_flag
21543 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21544 else
21545 ac_cpp_err=
21546 fi
21547 else
21548 ac_cpp_err=yes
21549 fi
21550 if test -z "$ac_cpp_err"; then
21551 ac_header_preproc=yes
21552 else
21553 echo "$as_me: failed program was:" >&5
21554 sed 's/^/| /' conftest.$ac_ext >&5
21555
21556 ac_header_preproc=no
21557 fi
21558 rm -f conftest.err conftest.$ac_ext
21559 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21560 echo "${ECHO_T}$ac_header_preproc" >&6
21561
21562 # So? What about this header?
21563 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21564 yes:no: )
21565 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
21566 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21567 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
21568 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
21569 ac_header_preproc=yes
21570 ;;
21571 no:yes:* )
21572 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
21573 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
21574 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
21575 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
21576 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
21577 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
21578 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
21579 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
21580 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
21581 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
21582 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
21583 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
21584 (
21585 cat <<\_ASBOX
21586 ## ----------------------------------------- ##
21587 ## Report this to wx-dev@lists.wxwindows.org ##
21588 ## ----------------------------------------- ##
21589 _ASBOX
21590 ) |
21591 sed "s/^/$as_me: WARNING: /" >&2
21592 ;;
21593 esac
21594 echo "$as_me:$LINENO: checking for windows.h" >&5
21595 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21596 if test "${ac_cv_header_windows_h+set}" = set; then
21597 echo $ECHO_N "(cached) $ECHO_C" >&6
21598 else
21599 ac_cv_header_windows_h=$ac_header_preproc
21600 fi
21601 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21602 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21603
21604 fi
21605 if test $ac_cv_header_windows_h = yes; then
21606 :
21607 else
21608
21609 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
21610 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
21611 { (exit 1); exit 1; }; }
21612
21613 fi
21614
21615
21616
21617 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
21618
21619 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
21620 LIBS="$LIBS -loleacc"
21621 fi
21622
21623 case "${host}" in
21624 *-*-cygwin* )
21625 LIBS="$LIBS -lkernel32 -luser32"
21626 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
21627 esac
21628
21629 if test "$wxUSE_ODBC" = "sys" ; then
21630 wxUSE_ODBC = "yes"
21631 fi
21632 if test "$wxUSE_ODBC" = "yes" ; then
21633 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
21634 cat >>confdefs.h <<\_ACEOF
21635 #define wxUSE_ODBC 1
21636 _ACEOF
21637
21638 fi
21639
21640 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
21641 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
21642
21643 WIN32INSTALL=win32install
21644 fi
21645
21646 if test "$wxUSE_GUI" = "yes"; then
21647 USE_GUI=1
21648
21649 GUI_TK_LIBRARY=
21650
21651 WXGTK12=
21652 WXGTK127=
21653 WXGTK20=
21654 WXGPE=
21655
21656 if test "$wxUSE_MSW" = 1 ; then
21657 TOOLKIT=MSW
21658 GUIDIST=MSW_DIST
21659
21660 case "${host}" in
21661 *-*-mingw32* )
21662 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
21663 esac
21664 fi
21665
21666 if test "$wxUSE_GTK" = 1; then
21667 echo "$as_me:$LINENO: checking for GTK+ version" >&5
21668 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
21669
21670 gtk_version_cached=1
21671 if test "${wx_cv_lib_gtk+set}" = set; then
21672 echo $ECHO_N "(cached) $ECHO_C" >&6
21673 else
21674
21675 gtk_version_cached=0
21676 echo "$as_me:$LINENO: result: " >&5
21677 echo "${ECHO_T}" >&6
21678
21679 GTK_MODULES=
21680 if test "$wxUSE_THREADS" = "yes"; then
21681 GTK_MODULES=gthread
21682 fi
21683
21684 wx_cv_lib_gtk=
21685 if test "x$wxUSE_GTK2" = "xyes"; then
21686 # Check whether --enable-gtktest or --disable-gtktest was given.
21687 if test "${enable_gtktest+set}" = set; then
21688 enableval="$enable_gtktest"
21689
21690 else
21691 enable_gtktest=yes
21692 fi;
21693
21694 pkg_config_args=gtk+-2.0
21695 for module in . $GTK_MODULES
21696 do
21697 case "$module" in
21698 gthread)
21699 pkg_config_args="$pkg_config_args gthread-2.0"
21700 ;;
21701 esac
21702 done
21703
21704 no_gtk=""
21705
21706 # Extract the first word of "pkg-config", so it can be a program name with args.
21707 set dummy pkg-config; ac_word=$2
21708 echo "$as_me:$LINENO: checking for $ac_word" >&5
21709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21710 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21711 echo $ECHO_N "(cached) $ECHO_C" >&6
21712 else
21713 case $PKG_CONFIG in
21714 [\\/]* | ?:[\\/]*)
21715 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21716 ;;
21717 *)
21718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21719 for as_dir in $PATH
21720 do
21721 IFS=$as_save_IFS
21722 test -z "$as_dir" && as_dir=.
21723 for ac_exec_ext in '' $ac_executable_extensions; do
21724 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21725 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21727 break 2
21728 fi
21729 done
21730 done
21731
21732 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21733 ;;
21734 esac
21735 fi
21736 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21737
21738 if test -n "$PKG_CONFIG"; then
21739 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21740 echo "${ECHO_T}$PKG_CONFIG" >&6
21741 else
21742 echo "$as_me:$LINENO: result: no" >&5
21743 echo "${ECHO_T}no" >&6
21744 fi
21745
21746
21747 if test x$PKG_CONFIG != xno ; then
21748 if pkg-config --atleast-pkgconfig-version 0.7 ; then
21749 :
21750 else
21751 echo *** pkg-config too old; version 0.7 or better required.
21752 no_gtk=yes
21753 PKG_CONFIG=no
21754 fi
21755 else
21756 no_gtk=yes
21757 fi
21758
21759 min_gtk_version=2.0.0
21760 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
21761 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
21762
21763 if test x$PKG_CONFIG != xno ; then
21764 ## don't try to run the test against uninstalled libtool libs
21765 if $PKG_CONFIG --uninstalled $pkg_config_args; then
21766 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
21767 enable_gtktest=no
21768 fi
21769
21770 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
21771 :
21772 else
21773 no_gtk=yes
21774 fi
21775 fi
21776
21777 if test x"$no_gtk" = x ; then
21778 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
21779 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
21780 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
21781 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21782 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
21783 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21784 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
21785 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21786 if test "x$enable_gtktest" = "xyes" ; then
21787 ac_save_CFLAGS="$CFLAGS"
21788 ac_save_LIBS="$LIBS"
21789 CFLAGS="$CFLAGS $GTK_CFLAGS"
21790 LIBS="$GTK_LIBS $LIBS"
21791 rm -f conf.gtktest
21792 if test "$cross_compiling" = yes; then
21793 echo $ac_n "cross compiling; assumed OK... $ac_c"
21794 else
21795 cat >conftest.$ac_ext <<_ACEOF
21796 /* confdefs.h. */
21797 _ACEOF
21798 cat confdefs.h >>conftest.$ac_ext
21799 cat >>conftest.$ac_ext <<_ACEOF
21800 /* end confdefs.h. */
21801
21802 #include <gtk/gtk.h>
21803 #include <stdio.h>
21804 #include <stdlib.h>
21805
21806 int
21807 main ()
21808 {
21809 int major, minor, micro;
21810 char *tmp_version;
21811
21812 system ("touch conf.gtktest");
21813
21814 /* HP/UX 9 (%@#!) writes to sscanf strings */
21815 tmp_version = g_strdup("$min_gtk_version");
21816 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
21817 printf("%s, bad version string\n", "$min_gtk_version");
21818 exit(1);
21819 }
21820
21821 if ((gtk_major_version != $gtk_config_major_version) ||
21822 (gtk_minor_version != $gtk_config_minor_version) ||
21823 (gtk_micro_version != $gtk_config_micro_version))
21824 {
21825 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21826 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21827 gtk_major_version, gtk_minor_version, gtk_micro_version);
21828 printf ("*** was found! If pkg-config was correct, then it is best\n");
21829 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21830 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21831 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21832 printf("*** required on your system.\n");
21833 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
21834 printf("*** to point to the correct configuration files\n");
21835 }
21836 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21837 (gtk_minor_version != GTK_MINOR_VERSION) ||
21838 (gtk_micro_version != GTK_MICRO_VERSION))
21839 {
21840 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21841 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21842 printf("*** library (version %d.%d.%d)\n",
21843 gtk_major_version, gtk_minor_version, gtk_micro_version);
21844 }
21845 else
21846 {
21847 if ((gtk_major_version > major) ||
21848 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21849 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21850 {
21851 return 0;
21852 }
21853 else
21854 {
21855 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21856 gtk_major_version, gtk_minor_version, gtk_micro_version);
21857 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21858 major, minor, micro);
21859 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21860 printf("***\n");
21861 printf("*** If you have already installed a sufficiently new version, this error\n");
21862 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
21863 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21864 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
21865 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
21866 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21867 printf("*** so that the correct libraries are found at run-time))\n");
21868 }
21869 }
21870 return 1;
21871 }
21872
21873 _ACEOF
21874 rm -f conftest$ac_exeext
21875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21876 (eval $ac_link) 2>&5
21877 ac_status=$?
21878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21879 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21881 (eval $ac_try) 2>&5
21882 ac_status=$?
21883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21884 (exit $ac_status); }; }; then
21885 :
21886 else
21887 echo "$as_me: program exited with status $ac_status" >&5
21888 echo "$as_me: failed program was:" >&5
21889 sed 's/^/| /' conftest.$ac_ext >&5
21890
21891 ( exit $ac_status )
21892 no_gtk=yes
21893 fi
21894 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21895 fi
21896 CFLAGS="$ac_save_CFLAGS"
21897 LIBS="$ac_save_LIBS"
21898 fi
21899 fi
21900 if test "x$no_gtk" = x ; then
21901 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
21902 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
21903 wx_cv_lib_gtk=2.0
21904 else
21905 echo "$as_me:$LINENO: result: no" >&5
21906 echo "${ECHO_T}no" >&6
21907 if test "$PKG_CONFIG" = "no" ; then
21908 echo "*** A new enough version of pkg-config was not found."
21909 echo "*** See http://pkgconfig.sourceforge.net"
21910 else
21911 if test -f conf.gtktest ; then
21912 :
21913 else
21914 echo "*** Could not run GTK+ test program, checking why..."
21915 ac_save_CFLAGS="$CFLAGS"
21916 ac_save_LIBS="$LIBS"
21917 CFLAGS="$CFLAGS $GTK_CFLAGS"
21918 LIBS="$LIBS $GTK_LIBS"
21919 cat >conftest.$ac_ext <<_ACEOF
21920 /* confdefs.h. */
21921 _ACEOF
21922 cat confdefs.h >>conftest.$ac_ext
21923 cat >>conftest.$ac_ext <<_ACEOF
21924 /* end confdefs.h. */
21925
21926 #include <gtk/gtk.h>
21927 #include <stdio.h>
21928
21929 int
21930 main ()
21931 {
21932 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21933 ;
21934 return 0;
21935 }
21936 _ACEOF
21937 rm -f conftest.$ac_objext conftest$ac_exeext
21938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21939 (eval $ac_link) 2>conftest.er1
21940 ac_status=$?
21941 grep -v '^ *+' conftest.er1 >conftest.err
21942 rm -f conftest.er1
21943 cat conftest.err >&5
21944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21945 (exit $ac_status); } &&
21946 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21948 (eval $ac_try) 2>&5
21949 ac_status=$?
21950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21951 (exit $ac_status); }; } &&
21952 { ac_try='test -s conftest$ac_exeext'
21953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21954 (eval $ac_try) 2>&5
21955 ac_status=$?
21956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21957 (exit $ac_status); }; }; then
21958 echo "*** The test program compiled, but did not run. This usually means"
21959 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
21960 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
21961 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21962 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21963 echo "*** is required on your system"
21964 echo "***"
21965 echo "*** If you have an old version installed, it is best to remove it, although"
21966 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21967 else
21968 echo "$as_me: failed program was:" >&5
21969 sed 's/^/| /' conftest.$ac_ext >&5
21970
21971 echo "*** The test program failed to compile or link. See the file config.log for the"
21972 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
21973 fi
21974 rm -f conftest.err conftest.$ac_objext \
21975 conftest$ac_exeext conftest.$ac_ext
21976 CFLAGS="$ac_save_CFLAGS"
21977 LIBS="$ac_save_LIBS"
21978 fi
21979 fi
21980 GTK_CFLAGS=""
21981 GTK_LIBS=""
21982 :
21983 fi
21984
21985
21986 rm -f conf.gtktest
21987
21988 else
21989
21990 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
21991 if test "${with_gtk_prefix+set}" = set; then
21992 withval="$with_gtk_prefix"
21993 gtk_config_prefix="$withval"
21994 else
21995 gtk_config_prefix=""
21996 fi;
21997
21998 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
21999 if test "${with_gtk_exec_prefix+set}" = set; then
22000 withval="$with_gtk_exec_prefix"
22001 gtk_config_exec_prefix="$withval"
22002 else
22003 gtk_config_exec_prefix=""
22004 fi;
22005 # Check whether --enable-gtktest or --disable-gtktest was given.
22006 if test "${enable_gtktest+set}" = set; then
22007 enableval="$enable_gtktest"
22008
22009 else
22010 enable_gtktest=yes
22011 fi;
22012
22013 for module in . $GTK_MODULES
22014 do
22015 case "$module" in
22016 gthread)
22017 gtk_config_args="$gtk_config_args gthread"
22018 ;;
22019 esac
22020 done
22021
22022 if test x$gtk_config_exec_prefix != x ; then
22023 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22024 if test x${GTK_CONFIG+set} != xset ; then
22025 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
22026 fi
22027 fi
22028 if test x$gtk_config_prefix != x ; then
22029 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
22030 if test x${GTK_CONFIG+set} != xset ; then
22031 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
22032 fi
22033 fi
22034
22035 # Extract the first word of "gtk-config", so it can be a program name with args.
22036 set dummy gtk-config; ac_word=$2
22037 echo "$as_me:$LINENO: checking for $ac_word" >&5
22038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22039 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22040 echo $ECHO_N "(cached) $ECHO_C" >&6
22041 else
22042 case $GTK_CONFIG in
22043 [\\/]* | ?:[\\/]*)
22044 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
22045 ;;
22046 *)
22047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22048 for as_dir in $PATH
22049 do
22050 IFS=$as_save_IFS
22051 test -z "$as_dir" && as_dir=.
22052 for ac_exec_ext in '' $ac_executable_extensions; do
22053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22054 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22056 break 2
22057 fi
22058 done
22059 done
22060
22061 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
22062 ;;
22063 esac
22064 fi
22065 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
22066
22067 if test -n "$GTK_CONFIG"; then
22068 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22069 echo "${ECHO_T}$GTK_CONFIG" >&6
22070 else
22071 echo "$as_me:$LINENO: result: no" >&5
22072 echo "${ECHO_T}no" >&6
22073 fi
22074
22075 min_gtk_version=1.2.7
22076 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22077 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22078 no_gtk=""
22079 if test "$GTK_CONFIG" = "no" ; then
22080 no_gtk=yes
22081 else
22082 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
22083 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
22084 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
22085 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22086 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
22087 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22088 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
22089 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22090 if test "x$enable_gtktest" = "xyes" ; then
22091 ac_save_CFLAGS="$CFLAGS"
22092 ac_save_LIBS="$LIBS"
22093 CFLAGS="$CFLAGS $GTK_CFLAGS"
22094 LIBS="$GTK_LIBS $LIBS"
22095 rm -f conf.gtktest
22096 if test "$cross_compiling" = yes; then
22097 echo $ac_n "cross compiling; assumed OK... $ac_c"
22098 else
22099 cat >conftest.$ac_ext <<_ACEOF
22100 /* confdefs.h. */
22101 _ACEOF
22102 cat confdefs.h >>conftest.$ac_ext
22103 cat >>conftest.$ac_ext <<_ACEOF
22104 /* end confdefs.h. */
22105
22106 #include <gtk/gtk.h>
22107 #include <stdio.h>
22108 #include <stdlib.h>
22109
22110 int
22111 main ()
22112 {
22113 int major, minor, micro;
22114 char *tmp_version;
22115
22116 system ("touch conf.gtktest");
22117
22118 /* HP/UX 9 (%@#!) writes to sscanf strings */
22119 tmp_version = g_strdup("$min_gtk_version");
22120 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
22121 printf("%s, bad version string\n", "$min_gtk_version");
22122 exit(1);
22123 }
22124
22125 if ((gtk_major_version != $gtk_config_major_version) ||
22126 (gtk_minor_version != $gtk_config_minor_version) ||
22127 (gtk_micro_version != $gtk_config_micro_version))
22128 {
22129 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22130 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22131 gtk_major_version, gtk_minor_version, gtk_micro_version);
22132 printf ("*** was found! If gtk-config was correct, then it is best\n");
22133 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22134 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22135 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22136 printf("*** required on your system.\n");
22137 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22138 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22139 printf("*** before re-running configure\n");
22140 }
22141 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22142 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22143 (gtk_minor_version != GTK_MINOR_VERSION) ||
22144 (gtk_micro_version != GTK_MICRO_VERSION))
22145 {
22146 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22147 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22148 printf("*** library (version %d.%d.%d)\n",
22149 gtk_major_version, gtk_minor_version, gtk_micro_version);
22150 }
22151 #endif /* defined (GTK_MAJOR_VERSION) ... */
22152 else
22153 {
22154 if ((gtk_major_version > major) ||
22155 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22156 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22157 {
22158 return 0;
22159 }
22160 else
22161 {
22162 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22163 gtk_major_version, gtk_minor_version, gtk_micro_version);
22164 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22165 major, minor, micro);
22166 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22167 printf("***\n");
22168 printf("*** If you have already installed a sufficiently new version, this error\n");
22169 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22170 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22171 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22172 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22173 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22174 printf("*** so that the correct libraries are found at run-time))\n");
22175 }
22176 }
22177 return 1;
22178 }
22179
22180 _ACEOF
22181 rm -f conftest$ac_exeext
22182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22183 (eval $ac_link) 2>&5
22184 ac_status=$?
22185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22186 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22188 (eval $ac_try) 2>&5
22189 ac_status=$?
22190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22191 (exit $ac_status); }; }; then
22192 :
22193 else
22194 echo "$as_me: program exited with status $ac_status" >&5
22195 echo "$as_me: failed program was:" >&5
22196 sed 's/^/| /' conftest.$ac_ext >&5
22197
22198 ( exit $ac_status )
22199 no_gtk=yes
22200 fi
22201 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22202 fi
22203 CFLAGS="$ac_save_CFLAGS"
22204 LIBS="$ac_save_LIBS"
22205 fi
22206 fi
22207 if test "x$no_gtk" = x ; then
22208 echo "$as_me:$LINENO: result: yes" >&5
22209 echo "${ECHO_T}yes" >&6
22210 wx_cv_lib_gtk=1.2.7
22211 else
22212 echo "$as_me:$LINENO: result: no" >&5
22213 echo "${ECHO_T}no" >&6
22214 if test "$GTK_CONFIG" = "no" ; then
22215 echo "*** The gtk-config script installed by GTK could not be found"
22216 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22217 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22218 echo "*** full path to gtk-config."
22219 else
22220 if test -f conf.gtktest ; then
22221 :
22222 else
22223 echo "*** Could not run GTK test program, checking why..."
22224 CFLAGS="$CFLAGS $GTK_CFLAGS"
22225 LIBS="$LIBS $GTK_LIBS"
22226 cat >conftest.$ac_ext <<_ACEOF
22227 /* confdefs.h. */
22228 _ACEOF
22229 cat confdefs.h >>conftest.$ac_ext
22230 cat >>conftest.$ac_ext <<_ACEOF
22231 /* end confdefs.h. */
22232
22233 #include <gtk/gtk.h>
22234 #include <stdio.h>
22235
22236 int
22237 main ()
22238 {
22239 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22240 ;
22241 return 0;
22242 }
22243 _ACEOF
22244 rm -f conftest.$ac_objext conftest$ac_exeext
22245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22246 (eval $ac_link) 2>conftest.er1
22247 ac_status=$?
22248 grep -v '^ *+' conftest.er1 >conftest.err
22249 rm -f conftest.er1
22250 cat conftest.err >&5
22251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22252 (exit $ac_status); } &&
22253 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22255 (eval $ac_try) 2>&5
22256 ac_status=$?
22257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22258 (exit $ac_status); }; } &&
22259 { ac_try='test -s conftest$ac_exeext'
22260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22261 (eval $ac_try) 2>&5
22262 ac_status=$?
22263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22264 (exit $ac_status); }; }; then
22265 echo "*** The test program compiled, but did not run. This usually means"
22266 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22267 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22268 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22269 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22270 echo "*** is required on your system"
22271 echo "***"
22272 echo "*** If you have an old version installed, it is best to remove it, although"
22273 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22274 echo "***"
22275 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22276 echo "*** came with the system with the command"
22277 echo "***"
22278 echo "*** rpm --erase --nodeps gtk gtk-devel"
22279 else
22280 echo "$as_me: failed program was:" >&5
22281 sed 's/^/| /' conftest.$ac_ext >&5
22282
22283 echo "*** The test program failed to compile or link. See the file config.log for the"
22284 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22285 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22286 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22287 fi
22288 rm -f conftest.err conftest.$ac_objext \
22289 conftest$ac_exeext conftest.$ac_ext
22290 CFLAGS="$ac_save_CFLAGS"
22291 LIBS="$ac_save_LIBS"
22292 fi
22293 fi
22294 GTK_CFLAGS=""
22295 GTK_LIBS=""
22296 :
22297 fi
22298
22299
22300 rm -f conf.gtktest
22301
22302
22303 if test -z "$wx_cv_lib_gtk"; then
22304
22305 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22306 if test "${with_gtk_prefix+set}" = set; then
22307 withval="$with_gtk_prefix"
22308 gtk_config_prefix="$withval"
22309 else
22310 gtk_config_prefix=""
22311 fi;
22312
22313 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22314 if test "${with_gtk_exec_prefix+set}" = set; then
22315 withval="$with_gtk_exec_prefix"
22316 gtk_config_exec_prefix="$withval"
22317 else
22318 gtk_config_exec_prefix=""
22319 fi;
22320 # Check whether --enable-gtktest or --disable-gtktest was given.
22321 if test "${enable_gtktest+set}" = set; then
22322 enableval="$enable_gtktest"
22323
22324 else
22325 enable_gtktest=yes
22326 fi;
22327
22328 for module in . $GTK_MODULES
22329 do
22330 case "$module" in
22331 gthread)
22332 gtk_config_args="$gtk_config_args gthread"
22333 ;;
22334 esac
22335 done
22336
22337 if test x$gtk_config_exec_prefix != x ; then
22338 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22339 if test x${GTK_CONFIG+set} != xset ; then
22340 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
22341 fi
22342 fi
22343 if test x$gtk_config_prefix != x ; then
22344 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
22345 if test x${GTK_CONFIG+set} != xset ; then
22346 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
22347 fi
22348 fi
22349
22350 # Extract the first word of "gtk-config", so it can be a program name with args.
22351 set dummy gtk-config; ac_word=$2
22352 echo "$as_me:$LINENO: checking for $ac_word" >&5
22353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22354 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22355 echo $ECHO_N "(cached) $ECHO_C" >&6
22356 else
22357 case $GTK_CONFIG in
22358 [\\/]* | ?:[\\/]*)
22359 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
22360 ;;
22361 *)
22362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22363 for as_dir in $PATH
22364 do
22365 IFS=$as_save_IFS
22366 test -z "$as_dir" && as_dir=.
22367 for ac_exec_ext in '' $ac_executable_extensions; do
22368 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22369 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22371 break 2
22372 fi
22373 done
22374 done
22375
22376 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
22377 ;;
22378 esac
22379 fi
22380 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
22381
22382 if test -n "$GTK_CONFIG"; then
22383 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22384 echo "${ECHO_T}$GTK_CONFIG" >&6
22385 else
22386 echo "$as_me:$LINENO: result: no" >&5
22387 echo "${ECHO_T}no" >&6
22388 fi
22389
22390 min_gtk_version=1.2.3
22391 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22392 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22393 no_gtk=""
22394 if test "$GTK_CONFIG" = "no" ; then
22395 no_gtk=yes
22396 else
22397 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
22398 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
22399 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
22400 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22401 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
22402 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22403 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
22404 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22405 if test "x$enable_gtktest" = "xyes" ; then
22406 ac_save_CFLAGS="$CFLAGS"
22407 ac_save_LIBS="$LIBS"
22408 CFLAGS="$CFLAGS $GTK_CFLAGS"
22409 LIBS="$GTK_LIBS $LIBS"
22410 rm -f conf.gtktest
22411 if test "$cross_compiling" = yes; then
22412 echo $ac_n "cross compiling; assumed OK... $ac_c"
22413 else
22414 cat >conftest.$ac_ext <<_ACEOF
22415 /* confdefs.h. */
22416 _ACEOF
22417 cat confdefs.h >>conftest.$ac_ext
22418 cat >>conftest.$ac_ext <<_ACEOF
22419 /* end confdefs.h. */
22420
22421 #include <gtk/gtk.h>
22422 #include <stdio.h>
22423 #include <stdlib.h>
22424
22425 int
22426 main ()
22427 {
22428 int major, minor, micro;
22429 char *tmp_version;
22430
22431 system ("touch conf.gtktest");
22432
22433 /* HP/UX 9 (%@#!) writes to sscanf strings */
22434 tmp_version = g_strdup("$min_gtk_version");
22435 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
22436 printf("%s, bad version string\n", "$min_gtk_version");
22437 exit(1);
22438 }
22439
22440 if ((gtk_major_version != $gtk_config_major_version) ||
22441 (gtk_minor_version != $gtk_config_minor_version) ||
22442 (gtk_micro_version != $gtk_config_micro_version))
22443 {
22444 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22445 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22446 gtk_major_version, gtk_minor_version, gtk_micro_version);
22447 printf ("*** was found! If gtk-config was correct, then it is best\n");
22448 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22449 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22450 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22451 printf("*** required on your system.\n");
22452 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22453 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22454 printf("*** before re-running configure\n");
22455 }
22456 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22457 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22458 (gtk_minor_version != GTK_MINOR_VERSION) ||
22459 (gtk_micro_version != GTK_MICRO_VERSION))
22460 {
22461 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22462 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22463 printf("*** library (version %d.%d.%d)\n",
22464 gtk_major_version, gtk_minor_version, gtk_micro_version);
22465 }
22466 #endif /* defined (GTK_MAJOR_VERSION) ... */
22467 else
22468 {
22469 if ((gtk_major_version > major) ||
22470 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22471 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22472 {
22473 return 0;
22474 }
22475 else
22476 {
22477 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22478 gtk_major_version, gtk_minor_version, gtk_micro_version);
22479 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22480 major, minor, micro);
22481 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22482 printf("***\n");
22483 printf("*** If you have already installed a sufficiently new version, this error\n");
22484 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22485 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22486 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22487 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22488 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22489 printf("*** so that the correct libraries are found at run-time))\n");
22490 }
22491 }
22492 return 1;
22493 }
22494
22495 _ACEOF
22496 rm -f conftest$ac_exeext
22497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22498 (eval $ac_link) 2>&5
22499 ac_status=$?
22500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22501 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22503 (eval $ac_try) 2>&5
22504 ac_status=$?
22505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22506 (exit $ac_status); }; }; then
22507 :
22508 else
22509 echo "$as_me: program exited with status $ac_status" >&5
22510 echo "$as_me: failed program was:" >&5
22511 sed 's/^/| /' conftest.$ac_ext >&5
22512
22513 ( exit $ac_status )
22514 no_gtk=yes
22515 fi
22516 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22517 fi
22518 CFLAGS="$ac_save_CFLAGS"
22519 LIBS="$ac_save_LIBS"
22520 fi
22521 fi
22522 if test "x$no_gtk" = x ; then
22523 echo "$as_me:$LINENO: result: yes" >&5
22524 echo "${ECHO_T}yes" >&6
22525 wx_cv_lib_gtk=1.2.3
22526 else
22527 echo "$as_me:$LINENO: result: no" >&5
22528 echo "${ECHO_T}no" >&6
22529 if test "$GTK_CONFIG" = "no" ; then
22530 echo "*** The gtk-config script installed by GTK could not be found"
22531 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22532 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22533 echo "*** full path to gtk-config."
22534 else
22535 if test -f conf.gtktest ; then
22536 :
22537 else
22538 echo "*** Could not run GTK test program, checking why..."
22539 CFLAGS="$CFLAGS $GTK_CFLAGS"
22540 LIBS="$LIBS $GTK_LIBS"
22541 cat >conftest.$ac_ext <<_ACEOF
22542 /* confdefs.h. */
22543 _ACEOF
22544 cat confdefs.h >>conftest.$ac_ext
22545 cat >>conftest.$ac_ext <<_ACEOF
22546 /* end confdefs.h. */
22547
22548 #include <gtk/gtk.h>
22549 #include <stdio.h>
22550
22551 int
22552 main ()
22553 {
22554 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22555 ;
22556 return 0;
22557 }
22558 _ACEOF
22559 rm -f conftest.$ac_objext conftest$ac_exeext
22560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22561 (eval $ac_link) 2>conftest.er1
22562 ac_status=$?
22563 grep -v '^ *+' conftest.er1 >conftest.err
22564 rm -f conftest.er1
22565 cat conftest.err >&5
22566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22567 (exit $ac_status); } &&
22568 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22570 (eval $ac_try) 2>&5
22571 ac_status=$?
22572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22573 (exit $ac_status); }; } &&
22574 { ac_try='test -s conftest$ac_exeext'
22575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22576 (eval $ac_try) 2>&5
22577 ac_status=$?
22578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22579 (exit $ac_status); }; }; then
22580 echo "*** The test program compiled, but did not run. This usually means"
22581 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22582 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22583 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22584 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22585 echo "*** is required on your system"
22586 echo "***"
22587 echo "*** If you have an old version installed, it is best to remove it, although"
22588 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22589 echo "***"
22590 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22591 echo "*** came with the system with the command"
22592 echo "***"
22593 echo "*** rpm --erase --nodeps gtk gtk-devel"
22594 else
22595 echo "$as_me: failed program was:" >&5
22596 sed 's/^/| /' conftest.$ac_ext >&5
22597
22598 echo "*** The test program failed to compile or link. See the file config.log for the"
22599 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22600 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22601 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22602 fi
22603 rm -f conftest.err conftest.$ac_objext \
22604 conftest$ac_exeext conftest.$ac_ext
22605 CFLAGS="$ac_save_CFLAGS"
22606 LIBS="$ac_save_LIBS"
22607 fi
22608 fi
22609 GTK_CFLAGS=""
22610 GTK_LIBS=""
22611 :
22612 fi
22613
22614
22615 rm -f conf.gtktest
22616
22617 fi
22618 fi
22619
22620 if test -z "$wx_cv_lib_gtk"; then
22621 wx_cv_lib_gtk=none
22622 else
22623 wx_cv_cflags_gtk=$GTK_CFLAGS
22624 wx_cv_libs_gtk=$GTK_LIBS
22625 fi
22626
22627
22628 fi
22629
22630
22631 if test "$gtk_version_cached" = 1; then
22632 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
22633 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
22634 fi
22635
22636 case "$wx_cv_lib_gtk" in
22637 2.0) WXGTK20=1
22638 TOOLKIT_VERSION=2
22639 ;;
22640 1.2.7) WXGTK127=1
22641 WXGTK12=1
22642 ;;
22643 1.2.3) WXGTK12=1
22644 ;;
22645 *) { { echo "$as_me:$LINENO: error:
22646 Please check that gtk-config is in path, the directory
22647 where GTK+ libraries are installed (returned by
22648 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22649 equivalent variable and GTK+ is version 1.2.3 or above.
22650 " >&5
22651 echo "$as_me: error:
22652 Please check that gtk-config is in path, the directory
22653 where GTK+ libraries are installed (returned by
22654 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22655 equivalent variable and GTK+ is version 1.2.3 or above.
22656 " >&2;}
22657 { (exit 1); exit 1; }; }
22658 ;;
22659 esac
22660
22661 if test "$WXGTK20" = 1; then
22662 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
22663
22664 succeeded=no
22665
22666 if test -z "$PKG_CONFIG"; then
22667 # Extract the first word of "pkg-config", so it can be a program name with args.
22668 set dummy pkg-config; ac_word=$2
22669 echo "$as_me:$LINENO: checking for $ac_word" >&5
22670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22671 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22672 echo $ECHO_N "(cached) $ECHO_C" >&6
22673 else
22674 case $PKG_CONFIG in
22675 [\\/]* | ?:[\\/]*)
22676 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22677 ;;
22678 *)
22679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22680 for as_dir in $PATH
22681 do
22682 IFS=$as_save_IFS
22683 test -z "$as_dir" && as_dir=.
22684 for ac_exec_ext in '' $ac_executable_extensions; do
22685 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22686 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22688 break 2
22689 fi
22690 done
22691 done
22692
22693 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22694 ;;
22695 esac
22696 fi
22697 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22698
22699 if test -n "$PKG_CONFIG"; then
22700 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22701 echo "${ECHO_T}$PKG_CONFIG" >&6
22702 else
22703 echo "$as_me:$LINENO: result: no" >&5
22704 echo "${ECHO_T}no" >&6
22705 fi
22706
22707 fi
22708
22709 if test "$PKG_CONFIG" = "no" ; then
22710 echo "*** The pkg-config script could not be found. Make sure it is"
22711 echo "*** in your path, or set the PKG_CONFIG environment variable"
22712 echo "*** to the full path to pkg-config."
22713 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22714 else
22715 PKG_CONFIG_MIN_VERSION=0.9.0
22716 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22717 echo "$as_me:$LINENO: checking for pangoft2" >&5
22718 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22719
22720 if $PKG_CONFIG --exists "pangoft2" ; then
22721 echo "$as_me:$LINENO: result: yes" >&5
22722 echo "${ECHO_T}yes" >&6
22723 succeeded=yes
22724
22725 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22726 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22727 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22728 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22729 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22730
22731 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22732 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22733 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22734 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22735 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22736 else
22737 PANGOFT2_CFLAGS=""
22738 PANGOFT2_LIBS=""
22739 ## If we have a custom action on failure, don't print errors, but
22740 ## do set a variable so people can do so.
22741 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22742
22743 fi
22744
22745
22746
22747 else
22748 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22749 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22750 fi
22751 fi
22752
22753 if test $succeeded = yes; then
22754
22755 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22756 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22757
22758 else
22759
22760 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22761 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22762 wxUSE_PRINTING_ARCHITECTURE="no"
22763
22764
22765 fi
22766
22767 fi
22768 else
22769 if test "$wxUSE_UNICODE" = "yes"; then
22770 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
22771 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
22772 wxUSE_UNICODE=no
22773 fi
22774 fi
22775
22776 if test "$USE_DARWIN" != 1; then
22777
22778 for ac_func in poll
22779 do
22780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22781 echo "$as_me:$LINENO: checking for $ac_func" >&5
22782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22783 if eval "test \"\${$as_ac_var+set}\" = set"; then
22784 echo $ECHO_N "(cached) $ECHO_C" >&6
22785 else
22786 cat >conftest.$ac_ext <<_ACEOF
22787 /* confdefs.h. */
22788 _ACEOF
22789 cat confdefs.h >>conftest.$ac_ext
22790 cat >>conftest.$ac_ext <<_ACEOF
22791 /* end confdefs.h. */
22792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22794 #define $ac_func innocuous_$ac_func
22795
22796 /* System header to define __stub macros and hopefully few prototypes,
22797 which can conflict with char $ac_func (); below.
22798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22799 <limits.h> exists even on freestanding compilers. */
22800
22801 #ifdef __STDC__
22802 # include <limits.h>
22803 #else
22804 # include <assert.h>
22805 #endif
22806
22807 #undef $ac_func
22808
22809 /* Override any gcc2 internal prototype to avoid an error. */
22810 #ifdef __cplusplus
22811 extern "C"
22812 {
22813 #endif
22814 /* We use char because int might match the return type of a gcc2
22815 builtin and then its argument prototype would still apply. */
22816 char $ac_func ();
22817 /* The GNU C library defines this for functions which it implements
22818 to always fail with ENOSYS. Some functions are actually named
22819 something starting with __ and the normal name is an alias. */
22820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22821 choke me
22822 #else
22823 char (*f) () = $ac_func;
22824 #endif
22825 #ifdef __cplusplus
22826 }
22827 #endif
22828
22829 int
22830 main ()
22831 {
22832 return f != $ac_func;
22833 ;
22834 return 0;
22835 }
22836 _ACEOF
22837 rm -f conftest.$ac_objext conftest$ac_exeext
22838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22839 (eval $ac_link) 2>conftest.er1
22840 ac_status=$?
22841 grep -v '^ *+' conftest.er1 >conftest.err
22842 rm -f conftest.er1
22843 cat conftest.err >&5
22844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22845 (exit $ac_status); } &&
22846 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22848 (eval $ac_try) 2>&5
22849 ac_status=$?
22850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22851 (exit $ac_status); }; } &&
22852 { ac_try='test -s conftest$ac_exeext'
22853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22854 (eval $ac_try) 2>&5
22855 ac_status=$?
22856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22857 (exit $ac_status); }; }; then
22858 eval "$as_ac_var=yes"
22859 else
22860 echo "$as_me: failed program was:" >&5
22861 sed 's/^/| /' conftest.$ac_ext >&5
22862
22863 eval "$as_ac_var=no"
22864 fi
22865 rm -f conftest.err conftest.$ac_objext \
22866 conftest$ac_exeext conftest.$ac_ext
22867 fi
22868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22870 if test `eval echo '${'$as_ac_var'}'` = yes; then
22871 cat >>confdefs.h <<_ACEOF
22872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22873 _ACEOF
22874
22875 fi
22876 done
22877
22878 fi
22879
22880 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
22881 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
22882
22883 AFMINSTALL=afminstall
22884 TOOLKIT=GTK
22885 GUIDIST=GTK_DIST
22886
22887 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
22888 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
22889 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
22890 echo $ECHO_N "(cached) $ECHO_C" >&6
22891 else
22892 ac_check_lib_save_LIBS=$LIBS
22893 LIBS="-lgdk $LIBS"
22894 cat >conftest.$ac_ext <<_ACEOF
22895 /* confdefs.h. */
22896 _ACEOF
22897 cat confdefs.h >>conftest.$ac_ext
22898 cat >>conftest.$ac_ext <<_ACEOF
22899 /* end confdefs.h. */
22900
22901 /* Override any gcc2 internal prototype to avoid an error. */
22902 #ifdef __cplusplus
22903 extern "C"
22904 #endif
22905 /* We use char because int might match the return type of a gcc2
22906 builtin and then its argument prototype would still apply. */
22907 char gdk_im_open ();
22908 int
22909 main ()
22910 {
22911 gdk_im_open ();
22912 ;
22913 return 0;
22914 }
22915 _ACEOF
22916 rm -f conftest.$ac_objext conftest$ac_exeext
22917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22918 (eval $ac_link) 2>conftest.er1
22919 ac_status=$?
22920 grep -v '^ *+' conftest.er1 >conftest.err
22921 rm -f conftest.er1
22922 cat conftest.err >&5
22923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22924 (exit $ac_status); } &&
22925 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22927 (eval $ac_try) 2>&5
22928 ac_status=$?
22929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22930 (exit $ac_status); }; } &&
22931 { ac_try='test -s conftest$ac_exeext'
22932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22933 (eval $ac_try) 2>&5
22934 ac_status=$?
22935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22936 (exit $ac_status); }; }; then
22937 ac_cv_lib_gdk_gdk_im_open=yes
22938 else
22939 echo "$as_me: failed program was:" >&5
22940 sed 's/^/| /' conftest.$ac_ext >&5
22941
22942 ac_cv_lib_gdk_gdk_im_open=no
22943 fi
22944 rm -f conftest.err conftest.$ac_objext \
22945 conftest$ac_exeext conftest.$ac_ext
22946 LIBS=$ac_check_lib_save_LIBS
22947 fi
22948 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
22949 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
22950 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
22951 cat >>confdefs.h <<\_ACEOF
22952 #define HAVE_XIM 1
22953 _ACEOF
22954
22955 fi
22956
22957
22958
22959 if test "$wxUSE_GPE" = "yes"; then
22960 echo "$as_me:$LINENO: checking for gpewidget library" >&5
22961 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
22962
22963 ac_find_libraries=
22964 for ac_dir in $SEARCH_LIB /usr/lib;
22965 do
22966 for ac_extension in a so sl dylib; do
22967 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
22968 ac_find_libraries=$ac_dir
22969 break 2
22970 fi
22971 done
22972 done
22973
22974 if test "$ac_find_libraries" != "" ; then
22975
22976 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
22977 result=$?
22978 if test $result = 0; then
22979 ac_path_to_link=""
22980 else
22981 ac_path_to_link=" -L$ac_find_libraries"
22982 fi
22983
22984 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
22985 WXGPE=1
22986 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22987 echo "${ECHO_T}found at $ac_find_libraries" >&6
22988 else
22989 echo "$as_me:$LINENO: result: not found" >&5
22990 echo "${ECHO_T}not found" >&6
22991 fi
22992
22993 fi
22994 fi
22995
22996 if test "$wxUSE_MGL" = 1; then
22997 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
22998 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
22999 if test "x$MGL_ROOT" = x ; then
23000 echo "$as_me:$LINENO: result: not found" >&5
23001 echo "${ECHO_T}not found" >&6
23002 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23003 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23004 { (exit 1); exit 1; }; }
23005 else
23006 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23007 echo "${ECHO_T}$MGL_ROOT" >&6
23008 fi
23009
23010 echo "$as_me:$LINENO: checking for libmgl location" >&5
23011 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23012 case "${host}" in
23013 *-*-linux* )
23014 if test "x$wxUSE_SHARED" = xyes ; then
23015 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23016 else
23017 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23018 fi
23019 ;;
23020 *-pc-msdosdjgpp )
23021 mgl_os_candidates="dos32/dj2"
23022 ;;
23023 *)
23024 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23025 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23026 { (exit 1); exit 1; }; }
23027 esac
23028
23029 mgl_lib_type=""
23030 mgl_os=""
23031
23032 for mgl_os_i in $mgl_os_candidates ; do
23033 if test "x$mgl_os" = x ; then
23034 if test "$wxUSE_DEBUG_FLAG" = yes ; then
23035 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
23036 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
23037 mgl_lib_type=debug
23038 mgl_os=$mgl_os_i
23039 fi
23040 fi
23041 if test "x$mgl_lib_type" = x ; then
23042 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
23043 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
23044 mgl_lib_type=release
23045 mgl_os=$mgl_os_i
23046 fi
23047 fi
23048 fi
23049 done
23050
23051 if test "x$mgl_os" = x ; then
23052 echo "$as_me:$LINENO: result: not found" >&5
23053 echo "${ECHO_T}not found" >&6
23054 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
23055 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
23056 { (exit 1); exit 1; }; }
23057 fi
23058 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
23059 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
23060
23061 wxUSE_UNIVERSAL="yes"
23062
23063 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
23064 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
23065
23066 AFMINSTALL=afminstall
23067 TOOLKIT=MGL
23068 GUIDIST=MGL_DIST
23069 fi
23070
23071 if test "$wxUSE_MICROWIN" = 1; then
23072 echo "$as_me:$LINENO: checking for MicroWindows" >&5
23073 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
23074 if test "x$MICROWINDOWS" = x ; then
23075 echo "$as_me:$LINENO: result: not found" >&5
23076 echo "${ECHO_T}not found" >&6
23077 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
23078 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
23079 { (exit 1); exit 1; }; }
23080 else
23081 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
23082 echo "${ECHO_T}$MICROWINDOWS" >&6
23083 fi
23084
23085 if test -f $MICROWINDOWS/lib/libmwin.a; then
23086 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
23087 echo "${ECHO_T}MicroWindows' libraries found." >&6
23088 else
23089 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
23090 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
23091 { (exit 1); exit 1; }; }
23092 fi
23093
23094 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
23095 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
23096
23097 wxUSE_UNIVERSAL="yes"
23098
23099 AFMINSTALL=afminstall
23100 TOOLKIT=MICROWIN
23101 GUIDIST=MICROWIN_DIST
23102
23103 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
23104 fi
23105
23106 if test "$wxUSE_X11" = 1; then
23107 echo "$as_me:$LINENO: checking for X" >&5
23108 echo $ECHO_N "checking for X... $ECHO_C" >&6
23109
23110
23111 # Check whether --with-x or --without-x was given.
23112 if test "${with_x+set}" = set; then
23113 withval="$with_x"
23114
23115 fi;
23116 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23117 if test "x$with_x" = xno; then
23118 # The user explicitly disabled X.
23119 have_x=disabled
23120 else
23121 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
23122 # Both variables are already set.
23123 have_x=yes
23124 else
23125 if test "${ac_cv_have_x+set}" = set; then
23126 echo $ECHO_N "(cached) $ECHO_C" >&6
23127 else
23128 # One or both of the vars are not set, and there is no cached value.
23129 ac_x_includes=no ac_x_libraries=no
23130 rm -fr conftest.dir
23131 if mkdir conftest.dir; then
23132 cd conftest.dir
23133 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
23134 cat >Imakefile <<'_ACEOF'
23135 acfindx:
23136 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
23137 _ACEOF
23138 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
23139 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23140 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
23141 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23142 for ac_extension in a so sl; do
23143 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
23144 test -f $ac_im_libdir/libX11.$ac_extension; then
23145 ac_im_usrlibdir=$ac_im_libdir; break
23146 fi
23147 done
23148 # Screen out bogus values from the imake configuration. They are
23149 # bogus both because they are the default anyway, and because
23150 # using them would break gcc on systems where it needs fixed includes.
23151 case $ac_im_incroot in
23152 /usr/include) ;;
23153 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
23154 esac
23155 case $ac_im_usrlibdir in
23156 /usr/lib | /lib) ;;
23157 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
23158 esac
23159 fi
23160 cd ..
23161 rm -fr conftest.dir
23162 fi
23163
23164 # Standard set of common directories for X headers.
23165 # Check X11 before X11Rn because it is often a symlink to the current release.
23166 ac_x_header_dirs='
23167 /usr/X11/include
23168 /usr/X11R6/include
23169 /usr/X11R5/include
23170 /usr/X11R4/include
23171
23172 /usr/include/X11
23173 /usr/include/X11R6
23174 /usr/include/X11R5
23175 /usr/include/X11R4
23176
23177 /usr/local/X11/include
23178 /usr/local/X11R6/include
23179 /usr/local/X11R5/include
23180 /usr/local/X11R4/include
23181
23182 /usr/local/include/X11
23183 /usr/local/include/X11R6
23184 /usr/local/include/X11R5
23185 /usr/local/include/X11R4
23186
23187 /usr/X386/include
23188 /usr/x386/include
23189 /usr/XFree86/include/X11
23190
23191 /usr/include
23192 /usr/local/include
23193 /usr/unsupported/include
23194 /usr/athena/include
23195 /usr/local/x11r5/include
23196 /usr/lpp/Xamples/include
23197
23198 /usr/openwin/include
23199 /usr/openwin/share/include'
23200
23201 if test "$ac_x_includes" = no; then
23202 # Guess where to find include files, by looking for Intrinsic.h.
23203 # First, try using that file with no special directory specified.
23204 cat >conftest.$ac_ext <<_ACEOF
23205 /* confdefs.h. */
23206 _ACEOF
23207 cat confdefs.h >>conftest.$ac_ext
23208 cat >>conftest.$ac_ext <<_ACEOF
23209 /* end confdefs.h. */
23210 #include <X11/Intrinsic.h>
23211 _ACEOF
23212 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23213 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23214 ac_status=$?
23215 grep -v '^ *+' conftest.er1 >conftest.err
23216 rm -f conftest.er1
23217 cat conftest.err >&5
23218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23219 (exit $ac_status); } >/dev/null; then
23220 if test -s conftest.err; then
23221 ac_cpp_err=$ac_c_preproc_warn_flag
23222 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23223 else
23224 ac_cpp_err=
23225 fi
23226 else
23227 ac_cpp_err=yes
23228 fi
23229 if test -z "$ac_cpp_err"; then
23230 # We can compile using X headers with no special include directory.
23231 ac_x_includes=
23232 else
23233 echo "$as_me: failed program was:" >&5
23234 sed 's/^/| /' conftest.$ac_ext >&5
23235
23236 for ac_dir in $ac_x_header_dirs; do
23237 if test -r "$ac_dir/X11/Intrinsic.h"; then
23238 ac_x_includes=$ac_dir
23239 break
23240 fi
23241 done
23242 fi
23243 rm -f conftest.err conftest.$ac_ext
23244 fi # $ac_x_includes = no
23245
23246 if test "$ac_x_libraries" = no; then
23247 # Check for the libraries.
23248 # See if we find them without any special options.
23249 # Don't add to $LIBS permanently.
23250 ac_save_LIBS=$LIBS
23251 LIBS="-lXt $LIBS"
23252 cat >conftest.$ac_ext <<_ACEOF
23253 /* confdefs.h. */
23254 _ACEOF
23255 cat confdefs.h >>conftest.$ac_ext
23256 cat >>conftest.$ac_ext <<_ACEOF
23257 /* end confdefs.h. */
23258 #include <X11/Intrinsic.h>
23259 int
23260 main ()
23261 {
23262 XtMalloc (0)
23263 ;
23264 return 0;
23265 }
23266 _ACEOF
23267 rm -f conftest.$ac_objext conftest$ac_exeext
23268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23269 (eval $ac_link) 2>conftest.er1
23270 ac_status=$?
23271 grep -v '^ *+' conftest.er1 >conftest.err
23272 rm -f conftest.er1
23273 cat conftest.err >&5
23274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23275 (exit $ac_status); } &&
23276 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23278 (eval $ac_try) 2>&5
23279 ac_status=$?
23280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23281 (exit $ac_status); }; } &&
23282 { ac_try='test -s conftest$ac_exeext'
23283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23284 (eval $ac_try) 2>&5
23285 ac_status=$?
23286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23287 (exit $ac_status); }; }; then
23288 LIBS=$ac_save_LIBS
23289 # We can link X programs with no special library path.
23290 ac_x_libraries=
23291 else
23292 echo "$as_me: failed program was:" >&5
23293 sed 's/^/| /' conftest.$ac_ext >&5
23294
23295 LIBS=$ac_save_LIBS
23296 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
23297 do
23298 # Don't even attempt the hair of trying to link an X program!
23299 for ac_extension in a so sl; do
23300 if test -r $ac_dir/libXt.$ac_extension; then
23301 ac_x_libraries=$ac_dir
23302 break 2
23303 fi
23304 done
23305 done
23306 fi
23307 rm -f conftest.err conftest.$ac_objext \
23308 conftest$ac_exeext conftest.$ac_ext
23309 fi # $ac_x_libraries = no
23310
23311 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
23312 # Didn't find X anywhere. Cache the known absence of X.
23313 ac_cv_have_x="have_x=no"
23314 else
23315 # Record where we found X for the cache.
23316 ac_cv_have_x="have_x=yes \
23317 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
23318 fi
23319 fi
23320
23321 fi
23322 eval "$ac_cv_have_x"
23323 fi # $with_x != no
23324
23325 if test "$have_x" != yes; then
23326 echo "$as_me:$LINENO: result: $have_x" >&5
23327 echo "${ECHO_T}$have_x" >&6
23328 no_x=yes
23329 else
23330 # If each of the values was on the command line, it overrides each guess.
23331 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
23332 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
23333 # Update the cache value to reflect the command line values.
23334 ac_cv_have_x="have_x=yes \
23335 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
23336 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
23337 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
23338 fi
23339
23340 if test "$no_x" = yes; then
23341 # Not all programs may use this symbol, but it does not hurt to define it.
23342
23343 cat >>confdefs.h <<\_ACEOF
23344 #define X_DISPLAY_MISSING 1
23345 _ACEOF
23346
23347 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
23348 else
23349 if test -n "$x_includes"; then
23350 X_CFLAGS="$X_CFLAGS -I$x_includes"
23351 fi
23352
23353 # It would also be nice to do this for all -L options, not just this one.
23354 if test -n "$x_libraries"; then
23355 X_LIBS="$X_LIBS -L$x_libraries"
23356 # For Solaris; some versions of Sun CC require a space after -R and
23357 # others require no space. Words are not sufficient . . . .
23358 case `(uname -sr) 2>/dev/null` in
23359 "SunOS 5"*)
23360 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23361 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23362 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
23363 cat >conftest.$ac_ext <<_ACEOF
23364 /* confdefs.h. */
23365 _ACEOF
23366 cat confdefs.h >>conftest.$ac_ext
23367 cat >>conftest.$ac_ext <<_ACEOF
23368 /* end confdefs.h. */
23369
23370 int
23371 main ()
23372 {
23373
23374 ;
23375 return 0;
23376 }
23377 _ACEOF
23378 rm -f conftest.$ac_objext conftest$ac_exeext
23379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23380 (eval $ac_link) 2>conftest.er1
23381 ac_status=$?
23382 grep -v '^ *+' conftest.er1 >conftest.err
23383 rm -f conftest.er1
23384 cat conftest.err >&5
23385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23386 (exit $ac_status); } &&
23387 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23389 (eval $ac_try) 2>&5
23390 ac_status=$?
23391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23392 (exit $ac_status); }; } &&
23393 { ac_try='test -s conftest$ac_exeext'
23394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23395 (eval $ac_try) 2>&5
23396 ac_status=$?
23397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23398 (exit $ac_status); }; }; then
23399 ac_R_nospace=yes
23400 else
23401 echo "$as_me: failed program was:" >&5
23402 sed 's/^/| /' conftest.$ac_ext >&5
23403
23404 ac_R_nospace=no
23405 fi
23406 rm -f conftest.err conftest.$ac_objext \
23407 conftest$ac_exeext conftest.$ac_ext
23408 if test $ac_R_nospace = yes; then
23409 echo "$as_me:$LINENO: result: no" >&5
23410 echo "${ECHO_T}no" >&6
23411 X_LIBS="$X_LIBS -R$x_libraries"
23412 else
23413 LIBS="$ac_xsave_LIBS -R $x_libraries"
23414 cat >conftest.$ac_ext <<_ACEOF
23415 /* confdefs.h. */
23416 _ACEOF
23417 cat confdefs.h >>conftest.$ac_ext
23418 cat >>conftest.$ac_ext <<_ACEOF
23419 /* end confdefs.h. */
23420
23421 int
23422 main ()
23423 {
23424
23425 ;
23426 return 0;
23427 }
23428 _ACEOF
23429 rm -f conftest.$ac_objext conftest$ac_exeext
23430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23431 (eval $ac_link) 2>conftest.er1
23432 ac_status=$?
23433 grep -v '^ *+' conftest.er1 >conftest.err
23434 rm -f conftest.er1
23435 cat conftest.err >&5
23436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23437 (exit $ac_status); } &&
23438 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23440 (eval $ac_try) 2>&5
23441 ac_status=$?
23442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23443 (exit $ac_status); }; } &&
23444 { ac_try='test -s conftest$ac_exeext'
23445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23446 (eval $ac_try) 2>&5
23447 ac_status=$?
23448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23449 (exit $ac_status); }; }; then
23450 ac_R_space=yes
23451 else
23452 echo "$as_me: failed program was:" >&5
23453 sed 's/^/| /' conftest.$ac_ext >&5
23454
23455 ac_R_space=no
23456 fi
23457 rm -f conftest.err conftest.$ac_objext \
23458 conftest$ac_exeext conftest.$ac_ext
23459 if test $ac_R_space = yes; then
23460 echo "$as_me:$LINENO: result: yes" >&5
23461 echo "${ECHO_T}yes" >&6
23462 X_LIBS="$X_LIBS -R $x_libraries"
23463 else
23464 echo "$as_me:$LINENO: result: neither works" >&5
23465 echo "${ECHO_T}neither works" >&6
23466 fi
23467 fi
23468 LIBS=$ac_xsave_LIBS
23469 esac
23470 fi
23471
23472 # Check for system-dependent libraries X programs must link with.
23473 # Do this before checking for the system-independent R6 libraries
23474 # (-lICE), since we may need -lsocket or whatever for X linking.
23475
23476 if test "$ISC" = yes; then
23477 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
23478 else
23479 # Martyn Johnson says this is needed for Ultrix, if the X
23480 # libraries were built with DECnet support. And Karl Berry says
23481 # the Alpha needs dnet_stub (dnet does not exist).
23482 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
23483 cat >conftest.$ac_ext <<_ACEOF
23484 /* confdefs.h. */
23485 _ACEOF
23486 cat confdefs.h >>conftest.$ac_ext
23487 cat >>conftest.$ac_ext <<_ACEOF
23488 /* end confdefs.h. */
23489
23490 /* Override any gcc2 internal prototype to avoid an error. */
23491 #ifdef __cplusplus
23492 extern "C"
23493 #endif
23494 /* We use char because int might match the return type of a gcc2
23495 builtin and then its argument prototype would still apply. */
23496 char XOpenDisplay ();
23497 int
23498 main ()
23499 {
23500 XOpenDisplay ();
23501 ;
23502 return 0;
23503 }
23504 _ACEOF
23505 rm -f conftest.$ac_objext conftest$ac_exeext
23506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23507 (eval $ac_link) 2>conftest.er1
23508 ac_status=$?
23509 grep -v '^ *+' conftest.er1 >conftest.err
23510 rm -f conftest.er1
23511 cat conftest.err >&5
23512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23513 (exit $ac_status); } &&
23514 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23516 (eval $ac_try) 2>&5
23517 ac_status=$?
23518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23519 (exit $ac_status); }; } &&
23520 { ac_try='test -s conftest$ac_exeext'
23521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23522 (eval $ac_try) 2>&5
23523 ac_status=$?
23524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23525 (exit $ac_status); }; }; then
23526 :
23527 else
23528 echo "$as_me: failed program was:" >&5
23529 sed 's/^/| /' conftest.$ac_ext >&5
23530
23531 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23532 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23533 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23534 echo $ECHO_N "(cached) $ECHO_C" >&6
23535 else
23536 ac_check_lib_save_LIBS=$LIBS
23537 LIBS="-ldnet $LIBS"
23538 cat >conftest.$ac_ext <<_ACEOF
23539 /* confdefs.h. */
23540 _ACEOF
23541 cat confdefs.h >>conftest.$ac_ext
23542 cat >>conftest.$ac_ext <<_ACEOF
23543 /* end confdefs.h. */
23544
23545 /* Override any gcc2 internal prototype to avoid an error. */
23546 #ifdef __cplusplus
23547 extern "C"
23548 #endif
23549 /* We use char because int might match the return type of a gcc2
23550 builtin and then its argument prototype would still apply. */
23551 char dnet_ntoa ();
23552 int
23553 main ()
23554 {
23555 dnet_ntoa ();
23556 ;
23557 return 0;
23558 }
23559 _ACEOF
23560 rm -f conftest.$ac_objext conftest$ac_exeext
23561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23562 (eval $ac_link) 2>conftest.er1
23563 ac_status=$?
23564 grep -v '^ *+' conftest.er1 >conftest.err
23565 rm -f conftest.er1
23566 cat conftest.err >&5
23567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23568 (exit $ac_status); } &&
23569 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23571 (eval $ac_try) 2>&5
23572 ac_status=$?
23573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23574 (exit $ac_status); }; } &&
23575 { ac_try='test -s conftest$ac_exeext'
23576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23577 (eval $ac_try) 2>&5
23578 ac_status=$?
23579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23580 (exit $ac_status); }; }; then
23581 ac_cv_lib_dnet_dnet_ntoa=yes
23582 else
23583 echo "$as_me: failed program was:" >&5
23584 sed 's/^/| /' conftest.$ac_ext >&5
23585
23586 ac_cv_lib_dnet_dnet_ntoa=no
23587 fi
23588 rm -f conftest.err conftest.$ac_objext \
23589 conftest$ac_exeext conftest.$ac_ext
23590 LIBS=$ac_check_lib_save_LIBS
23591 fi
23592 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23593 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23594 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23595 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23596 fi
23597
23598 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23599 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23600 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23601 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23602 echo $ECHO_N "(cached) $ECHO_C" >&6
23603 else
23604 ac_check_lib_save_LIBS=$LIBS
23605 LIBS="-ldnet_stub $LIBS"
23606 cat >conftest.$ac_ext <<_ACEOF
23607 /* confdefs.h. */
23608 _ACEOF
23609 cat confdefs.h >>conftest.$ac_ext
23610 cat >>conftest.$ac_ext <<_ACEOF
23611 /* end confdefs.h. */
23612
23613 /* Override any gcc2 internal prototype to avoid an error. */
23614 #ifdef __cplusplus
23615 extern "C"
23616 #endif
23617 /* We use char because int might match the return type of a gcc2
23618 builtin and then its argument prototype would still apply. */
23619 char dnet_ntoa ();
23620 int
23621 main ()
23622 {
23623 dnet_ntoa ();
23624 ;
23625 return 0;
23626 }
23627 _ACEOF
23628 rm -f conftest.$ac_objext conftest$ac_exeext
23629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23630 (eval $ac_link) 2>conftest.er1
23631 ac_status=$?
23632 grep -v '^ *+' conftest.er1 >conftest.err
23633 rm -f conftest.er1
23634 cat conftest.err >&5
23635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23636 (exit $ac_status); } &&
23637 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23639 (eval $ac_try) 2>&5
23640 ac_status=$?
23641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23642 (exit $ac_status); }; } &&
23643 { ac_try='test -s conftest$ac_exeext'
23644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23645 (eval $ac_try) 2>&5
23646 ac_status=$?
23647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23648 (exit $ac_status); }; }; then
23649 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23650 else
23651 echo "$as_me: failed program was:" >&5
23652 sed 's/^/| /' conftest.$ac_ext >&5
23653
23654 ac_cv_lib_dnet_stub_dnet_ntoa=no
23655 fi
23656 rm -f conftest.err conftest.$ac_objext \
23657 conftest$ac_exeext conftest.$ac_ext
23658 LIBS=$ac_check_lib_save_LIBS
23659 fi
23660 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23661 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23662 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23663 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23664 fi
23665
23666 fi
23667 fi
23668 rm -f conftest.err conftest.$ac_objext \
23669 conftest$ac_exeext conftest.$ac_ext
23670 LIBS="$ac_xsave_LIBS"
23671
23672 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23673 # to get the SysV transport functions.
23674 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23675 # needs -lnsl.
23676 # The nsl library prevents programs from opening the X display
23677 # on Irix 5.2, according to T.E. Dickey.
23678 # The functions gethostbyname, getservbyname, and inet_addr are
23679 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23680 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23681 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23682 if test "${ac_cv_func_gethostbyname+set}" = set; then
23683 echo $ECHO_N "(cached) $ECHO_C" >&6
23684 else
23685 cat >conftest.$ac_ext <<_ACEOF
23686 /* confdefs.h. */
23687 _ACEOF
23688 cat confdefs.h >>conftest.$ac_ext
23689 cat >>conftest.$ac_ext <<_ACEOF
23690 /* end confdefs.h. */
23691 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
23692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23693 #define gethostbyname innocuous_gethostbyname
23694
23695 /* System header to define __stub macros and hopefully few prototypes,
23696 which can conflict with char gethostbyname (); below.
23697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23698 <limits.h> exists even on freestanding compilers. */
23699
23700 #ifdef __STDC__
23701 # include <limits.h>
23702 #else
23703 # include <assert.h>
23704 #endif
23705
23706 #undef gethostbyname
23707
23708 /* Override any gcc2 internal prototype to avoid an error. */
23709 #ifdef __cplusplus
23710 extern "C"
23711 {
23712 #endif
23713 /* We use char because int might match the return type of a gcc2
23714 builtin and then its argument prototype would still apply. */
23715 char gethostbyname ();
23716 /* The GNU C library defines this for functions which it implements
23717 to always fail with ENOSYS. Some functions are actually named
23718 something starting with __ and the normal name is an alias. */
23719 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23720 choke me
23721 #else
23722 char (*f) () = gethostbyname;
23723 #endif
23724 #ifdef __cplusplus
23725 }
23726 #endif
23727
23728 int
23729 main ()
23730 {
23731 return f != gethostbyname;
23732 ;
23733 return 0;
23734 }
23735 _ACEOF
23736 rm -f conftest.$ac_objext conftest$ac_exeext
23737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23738 (eval $ac_link) 2>conftest.er1
23739 ac_status=$?
23740 grep -v '^ *+' conftest.er1 >conftest.err
23741 rm -f conftest.er1
23742 cat conftest.err >&5
23743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23744 (exit $ac_status); } &&
23745 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23747 (eval $ac_try) 2>&5
23748 ac_status=$?
23749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23750 (exit $ac_status); }; } &&
23751 { ac_try='test -s conftest$ac_exeext'
23752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23753 (eval $ac_try) 2>&5
23754 ac_status=$?
23755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23756 (exit $ac_status); }; }; then
23757 ac_cv_func_gethostbyname=yes
23758 else
23759 echo "$as_me: failed program was:" >&5
23760 sed 's/^/| /' conftest.$ac_ext >&5
23761
23762 ac_cv_func_gethostbyname=no
23763 fi
23764 rm -f conftest.err conftest.$ac_objext \
23765 conftest$ac_exeext conftest.$ac_ext
23766 fi
23767 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23768 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23769
23770 if test $ac_cv_func_gethostbyname = no; then
23771 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23772 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23773 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23774 echo $ECHO_N "(cached) $ECHO_C" >&6
23775 else
23776 ac_check_lib_save_LIBS=$LIBS
23777 LIBS="-lnsl $LIBS"
23778 cat >conftest.$ac_ext <<_ACEOF
23779 /* confdefs.h. */
23780 _ACEOF
23781 cat confdefs.h >>conftest.$ac_ext
23782 cat >>conftest.$ac_ext <<_ACEOF
23783 /* end confdefs.h. */
23784
23785 /* Override any gcc2 internal prototype to avoid an error. */
23786 #ifdef __cplusplus
23787 extern "C"
23788 #endif
23789 /* We use char because int might match the return type of a gcc2
23790 builtin and then its argument prototype would still apply. */
23791 char gethostbyname ();
23792 int
23793 main ()
23794 {
23795 gethostbyname ();
23796 ;
23797 return 0;
23798 }
23799 _ACEOF
23800 rm -f conftest.$ac_objext conftest$ac_exeext
23801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23802 (eval $ac_link) 2>conftest.er1
23803 ac_status=$?
23804 grep -v '^ *+' conftest.er1 >conftest.err
23805 rm -f conftest.er1
23806 cat conftest.err >&5
23807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23808 (exit $ac_status); } &&
23809 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23811 (eval $ac_try) 2>&5
23812 ac_status=$?
23813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23814 (exit $ac_status); }; } &&
23815 { ac_try='test -s conftest$ac_exeext'
23816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23817 (eval $ac_try) 2>&5
23818 ac_status=$?
23819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23820 (exit $ac_status); }; }; then
23821 ac_cv_lib_nsl_gethostbyname=yes
23822 else
23823 echo "$as_me: failed program was:" >&5
23824 sed 's/^/| /' conftest.$ac_ext >&5
23825
23826 ac_cv_lib_nsl_gethostbyname=no
23827 fi
23828 rm -f conftest.err conftest.$ac_objext \
23829 conftest$ac_exeext conftest.$ac_ext
23830 LIBS=$ac_check_lib_save_LIBS
23831 fi
23832 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23833 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23834 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23835 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23836 fi
23837
23838 if test $ac_cv_lib_nsl_gethostbyname = no; then
23839 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23840 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23841 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23842 echo $ECHO_N "(cached) $ECHO_C" >&6
23843 else
23844 ac_check_lib_save_LIBS=$LIBS
23845 LIBS="-lbsd $LIBS"
23846 cat >conftest.$ac_ext <<_ACEOF
23847 /* confdefs.h. */
23848 _ACEOF
23849 cat confdefs.h >>conftest.$ac_ext
23850 cat >>conftest.$ac_ext <<_ACEOF
23851 /* end confdefs.h. */
23852
23853 /* Override any gcc2 internal prototype to avoid an error. */
23854 #ifdef __cplusplus
23855 extern "C"
23856 #endif
23857 /* We use char because int might match the return type of a gcc2
23858 builtin and then its argument prototype would still apply. */
23859 char gethostbyname ();
23860 int
23861 main ()
23862 {
23863 gethostbyname ();
23864 ;
23865 return 0;
23866 }
23867 _ACEOF
23868 rm -f conftest.$ac_objext conftest$ac_exeext
23869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23870 (eval $ac_link) 2>conftest.er1
23871 ac_status=$?
23872 grep -v '^ *+' conftest.er1 >conftest.err
23873 rm -f conftest.er1
23874 cat conftest.err >&5
23875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23876 (exit $ac_status); } &&
23877 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23879 (eval $ac_try) 2>&5
23880 ac_status=$?
23881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23882 (exit $ac_status); }; } &&
23883 { ac_try='test -s conftest$ac_exeext'
23884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23885 (eval $ac_try) 2>&5
23886 ac_status=$?
23887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23888 (exit $ac_status); }; }; then
23889 ac_cv_lib_bsd_gethostbyname=yes
23890 else
23891 echo "$as_me: failed program was:" >&5
23892 sed 's/^/| /' conftest.$ac_ext >&5
23893
23894 ac_cv_lib_bsd_gethostbyname=no
23895 fi
23896 rm -f conftest.err conftest.$ac_objext \
23897 conftest$ac_exeext conftest.$ac_ext
23898 LIBS=$ac_check_lib_save_LIBS
23899 fi
23900 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23901 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23902 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23903 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23904 fi
23905
23906 fi
23907 fi
23908
23909 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23910 # socket/setsockopt and other routines are undefined under SCO ODT
23911 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23912 # on later versions), says Simon Leinen: it contains gethostby*
23913 # variants that don't use the name server (or something). -lsocket
23914 # must be given before -lnsl if both are needed. We assume that
23915 # if connect needs -lnsl, so does gethostbyname.
23916 echo "$as_me:$LINENO: checking for connect" >&5
23917 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23918 if test "${ac_cv_func_connect+set}" = set; then
23919 echo $ECHO_N "(cached) $ECHO_C" >&6
23920 else
23921 cat >conftest.$ac_ext <<_ACEOF
23922 /* confdefs.h. */
23923 _ACEOF
23924 cat confdefs.h >>conftest.$ac_ext
23925 cat >>conftest.$ac_ext <<_ACEOF
23926 /* end confdefs.h. */
23927 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
23928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23929 #define connect innocuous_connect
23930
23931 /* System header to define __stub macros and hopefully few prototypes,
23932 which can conflict with char connect (); below.
23933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23934 <limits.h> exists even on freestanding compilers. */
23935
23936 #ifdef __STDC__
23937 # include <limits.h>
23938 #else
23939 # include <assert.h>
23940 #endif
23941
23942 #undef connect
23943
23944 /* Override any gcc2 internal prototype to avoid an error. */
23945 #ifdef __cplusplus
23946 extern "C"
23947 {
23948 #endif
23949 /* We use char because int might match the return type of a gcc2
23950 builtin and then its argument prototype would still apply. */
23951 char connect ();
23952 /* The GNU C library defines this for functions which it implements
23953 to always fail with ENOSYS. Some functions are actually named
23954 something starting with __ and the normal name is an alias. */
23955 #if defined (__stub_connect) || defined (__stub___connect)
23956 choke me
23957 #else
23958 char (*f) () = connect;
23959 #endif
23960 #ifdef __cplusplus
23961 }
23962 #endif
23963
23964 int
23965 main ()
23966 {
23967 return f != connect;
23968 ;
23969 return 0;
23970 }
23971 _ACEOF
23972 rm -f conftest.$ac_objext conftest$ac_exeext
23973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23974 (eval $ac_link) 2>conftest.er1
23975 ac_status=$?
23976 grep -v '^ *+' conftest.er1 >conftest.err
23977 rm -f conftest.er1
23978 cat conftest.err >&5
23979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23980 (exit $ac_status); } &&
23981 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23983 (eval $ac_try) 2>&5
23984 ac_status=$?
23985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23986 (exit $ac_status); }; } &&
23987 { ac_try='test -s conftest$ac_exeext'
23988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23989 (eval $ac_try) 2>&5
23990 ac_status=$?
23991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23992 (exit $ac_status); }; }; then
23993 ac_cv_func_connect=yes
23994 else
23995 echo "$as_me: failed program was:" >&5
23996 sed 's/^/| /' conftest.$ac_ext >&5
23997
23998 ac_cv_func_connect=no
23999 fi
24000 rm -f conftest.err conftest.$ac_objext \
24001 conftest$ac_exeext conftest.$ac_ext
24002 fi
24003 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24004 echo "${ECHO_T}$ac_cv_func_connect" >&6
24005
24006 if test $ac_cv_func_connect = no; then
24007 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24008 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24009 if test "${ac_cv_lib_socket_connect+set}" = set; then
24010 echo $ECHO_N "(cached) $ECHO_C" >&6
24011 else
24012 ac_check_lib_save_LIBS=$LIBS
24013 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
24014 cat >conftest.$ac_ext <<_ACEOF
24015 /* confdefs.h. */
24016 _ACEOF
24017 cat confdefs.h >>conftest.$ac_ext
24018 cat >>conftest.$ac_ext <<_ACEOF
24019 /* end confdefs.h. */
24020
24021 /* Override any gcc2 internal prototype to avoid an error. */
24022 #ifdef __cplusplus
24023 extern "C"
24024 #endif
24025 /* We use char because int might match the return type of a gcc2
24026 builtin and then its argument prototype would still apply. */
24027 char connect ();
24028 int
24029 main ()
24030 {
24031 connect ();
24032 ;
24033 return 0;
24034 }
24035 _ACEOF
24036 rm -f conftest.$ac_objext conftest$ac_exeext
24037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24038 (eval $ac_link) 2>conftest.er1
24039 ac_status=$?
24040 grep -v '^ *+' conftest.er1 >conftest.err
24041 rm -f conftest.er1
24042 cat conftest.err >&5
24043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24044 (exit $ac_status); } &&
24045 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24047 (eval $ac_try) 2>&5
24048 ac_status=$?
24049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24050 (exit $ac_status); }; } &&
24051 { ac_try='test -s conftest$ac_exeext'
24052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24053 (eval $ac_try) 2>&5
24054 ac_status=$?
24055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24056 (exit $ac_status); }; }; then
24057 ac_cv_lib_socket_connect=yes
24058 else
24059 echo "$as_me: failed program was:" >&5
24060 sed 's/^/| /' conftest.$ac_ext >&5
24061
24062 ac_cv_lib_socket_connect=no
24063 fi
24064 rm -f conftest.err conftest.$ac_objext \
24065 conftest$ac_exeext conftest.$ac_ext
24066 LIBS=$ac_check_lib_save_LIBS
24067 fi
24068 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24069 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24070 if test $ac_cv_lib_socket_connect = yes; then
24071 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
24072 fi
24073
24074 fi
24075
24076 # Guillermo Gomez says -lposix is necessary on A/UX.
24077 echo "$as_me:$LINENO: checking for remove" >&5
24078 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24079 if test "${ac_cv_func_remove+set}" = set; then
24080 echo $ECHO_N "(cached) $ECHO_C" >&6
24081 else
24082 cat >conftest.$ac_ext <<_ACEOF
24083 /* confdefs.h. */
24084 _ACEOF
24085 cat confdefs.h >>conftest.$ac_ext
24086 cat >>conftest.$ac_ext <<_ACEOF
24087 /* end confdefs.h. */
24088 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
24089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24090 #define remove innocuous_remove
24091
24092 /* System header to define __stub macros and hopefully few prototypes,
24093 which can conflict with char remove (); below.
24094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24095 <limits.h> exists even on freestanding compilers. */
24096
24097 #ifdef __STDC__
24098 # include <limits.h>
24099 #else
24100 # include <assert.h>
24101 #endif
24102
24103 #undef remove
24104
24105 /* Override any gcc2 internal prototype to avoid an error. */
24106 #ifdef __cplusplus
24107 extern "C"
24108 {
24109 #endif
24110 /* We use char because int might match the return type of a gcc2
24111 builtin and then its argument prototype would still apply. */
24112 char remove ();
24113 /* The GNU C library defines this for functions which it implements
24114 to always fail with ENOSYS. Some functions are actually named
24115 something starting with __ and the normal name is an alias. */
24116 #if defined (__stub_remove) || defined (__stub___remove)
24117 choke me
24118 #else
24119 char (*f) () = remove;
24120 #endif
24121 #ifdef __cplusplus
24122 }
24123 #endif
24124
24125 int
24126 main ()
24127 {
24128 return f != remove;
24129 ;
24130 return 0;
24131 }
24132 _ACEOF
24133 rm -f conftest.$ac_objext conftest$ac_exeext
24134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24135 (eval $ac_link) 2>conftest.er1
24136 ac_status=$?
24137 grep -v '^ *+' conftest.er1 >conftest.err
24138 rm -f conftest.er1
24139 cat conftest.err >&5
24140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24141 (exit $ac_status); } &&
24142 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24144 (eval $ac_try) 2>&5
24145 ac_status=$?
24146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24147 (exit $ac_status); }; } &&
24148 { ac_try='test -s conftest$ac_exeext'
24149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24150 (eval $ac_try) 2>&5
24151 ac_status=$?
24152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24153 (exit $ac_status); }; }; then
24154 ac_cv_func_remove=yes
24155 else
24156 echo "$as_me: failed program was:" >&5
24157 sed 's/^/| /' conftest.$ac_ext >&5
24158
24159 ac_cv_func_remove=no
24160 fi
24161 rm -f conftest.err conftest.$ac_objext \
24162 conftest$ac_exeext conftest.$ac_ext
24163 fi
24164 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24165 echo "${ECHO_T}$ac_cv_func_remove" >&6
24166
24167 if test $ac_cv_func_remove = no; then
24168 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24169 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
24170 if test "${ac_cv_lib_posix_remove+set}" = set; then
24171 echo $ECHO_N "(cached) $ECHO_C" >&6
24172 else
24173 ac_check_lib_save_LIBS=$LIBS
24174 LIBS="-lposix $LIBS"
24175 cat >conftest.$ac_ext <<_ACEOF
24176 /* confdefs.h. */
24177 _ACEOF
24178 cat confdefs.h >>conftest.$ac_ext
24179 cat >>conftest.$ac_ext <<_ACEOF
24180 /* end confdefs.h. */
24181
24182 /* Override any gcc2 internal prototype to avoid an error. */
24183 #ifdef __cplusplus
24184 extern "C"
24185 #endif
24186 /* We use char because int might match the return type of a gcc2
24187 builtin and then its argument prototype would still apply. */
24188 char remove ();
24189 int
24190 main ()
24191 {
24192 remove ();
24193 ;
24194 return 0;
24195 }
24196 _ACEOF
24197 rm -f conftest.$ac_objext conftest$ac_exeext
24198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24199 (eval $ac_link) 2>conftest.er1
24200 ac_status=$?
24201 grep -v '^ *+' conftest.er1 >conftest.err
24202 rm -f conftest.er1
24203 cat conftest.err >&5
24204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24205 (exit $ac_status); } &&
24206 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24208 (eval $ac_try) 2>&5
24209 ac_status=$?
24210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24211 (exit $ac_status); }; } &&
24212 { ac_try='test -s conftest$ac_exeext'
24213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24214 (eval $ac_try) 2>&5
24215 ac_status=$?
24216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24217 (exit $ac_status); }; }; then
24218 ac_cv_lib_posix_remove=yes
24219 else
24220 echo "$as_me: failed program was:" >&5
24221 sed 's/^/| /' conftest.$ac_ext >&5
24222
24223 ac_cv_lib_posix_remove=no
24224 fi
24225 rm -f conftest.err conftest.$ac_objext \
24226 conftest$ac_exeext conftest.$ac_ext
24227 LIBS=$ac_check_lib_save_LIBS
24228 fi
24229 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24230 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
24231 if test $ac_cv_lib_posix_remove = yes; then
24232 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
24233 fi
24234
24235 fi
24236
24237 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24238 echo "$as_me:$LINENO: checking for shmat" >&5
24239 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
24240 if test "${ac_cv_func_shmat+set}" = set; then
24241 echo $ECHO_N "(cached) $ECHO_C" >&6
24242 else
24243 cat >conftest.$ac_ext <<_ACEOF
24244 /* confdefs.h. */
24245 _ACEOF
24246 cat confdefs.h >>conftest.$ac_ext
24247 cat >>conftest.$ac_ext <<_ACEOF
24248 /* end confdefs.h. */
24249 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24251 #define shmat innocuous_shmat
24252
24253 /* System header to define __stub macros and hopefully few prototypes,
24254 which can conflict with char shmat (); below.
24255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24256 <limits.h> exists even on freestanding compilers. */
24257
24258 #ifdef __STDC__
24259 # include <limits.h>
24260 #else
24261 # include <assert.h>
24262 #endif
24263
24264 #undef shmat
24265
24266 /* Override any gcc2 internal prototype to avoid an error. */
24267 #ifdef __cplusplus
24268 extern "C"
24269 {
24270 #endif
24271 /* We use char because int might match the return type of a gcc2
24272 builtin and then its argument prototype would still apply. */
24273 char shmat ();
24274 /* The GNU C library defines this for functions which it implements
24275 to always fail with ENOSYS. Some functions are actually named
24276 something starting with __ and the normal name is an alias. */
24277 #if defined (__stub_shmat) || defined (__stub___shmat)
24278 choke me
24279 #else
24280 char (*f) () = shmat;
24281 #endif
24282 #ifdef __cplusplus
24283 }
24284 #endif
24285
24286 int
24287 main ()
24288 {
24289 return f != shmat;
24290 ;
24291 return 0;
24292 }
24293 _ACEOF
24294 rm -f conftest.$ac_objext conftest$ac_exeext
24295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24296 (eval $ac_link) 2>conftest.er1
24297 ac_status=$?
24298 grep -v '^ *+' conftest.er1 >conftest.err
24299 rm -f conftest.er1
24300 cat conftest.err >&5
24301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24302 (exit $ac_status); } &&
24303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24305 (eval $ac_try) 2>&5
24306 ac_status=$?
24307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24308 (exit $ac_status); }; } &&
24309 { ac_try='test -s conftest$ac_exeext'
24310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24311 (eval $ac_try) 2>&5
24312 ac_status=$?
24313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24314 (exit $ac_status); }; }; then
24315 ac_cv_func_shmat=yes
24316 else
24317 echo "$as_me: failed program was:" >&5
24318 sed 's/^/| /' conftest.$ac_ext >&5
24319
24320 ac_cv_func_shmat=no
24321 fi
24322 rm -f conftest.err conftest.$ac_objext \
24323 conftest$ac_exeext conftest.$ac_ext
24324 fi
24325 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
24326 echo "${ECHO_T}$ac_cv_func_shmat" >&6
24327
24328 if test $ac_cv_func_shmat = no; then
24329 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
24330 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
24331 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
24332 echo $ECHO_N "(cached) $ECHO_C" >&6
24333 else
24334 ac_check_lib_save_LIBS=$LIBS
24335 LIBS="-lipc $LIBS"
24336 cat >conftest.$ac_ext <<_ACEOF
24337 /* confdefs.h. */
24338 _ACEOF
24339 cat confdefs.h >>conftest.$ac_ext
24340 cat >>conftest.$ac_ext <<_ACEOF
24341 /* end confdefs.h. */
24342
24343 /* Override any gcc2 internal prototype to avoid an error. */
24344 #ifdef __cplusplus
24345 extern "C"
24346 #endif
24347 /* We use char because int might match the return type of a gcc2
24348 builtin and then its argument prototype would still apply. */
24349 char shmat ();
24350 int
24351 main ()
24352 {
24353 shmat ();
24354 ;
24355 return 0;
24356 }
24357 _ACEOF
24358 rm -f conftest.$ac_objext conftest$ac_exeext
24359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24360 (eval $ac_link) 2>conftest.er1
24361 ac_status=$?
24362 grep -v '^ *+' conftest.er1 >conftest.err
24363 rm -f conftest.er1
24364 cat conftest.err >&5
24365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24366 (exit $ac_status); } &&
24367 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24369 (eval $ac_try) 2>&5
24370 ac_status=$?
24371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24372 (exit $ac_status); }; } &&
24373 { ac_try='test -s conftest$ac_exeext'
24374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24375 (eval $ac_try) 2>&5
24376 ac_status=$?
24377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24378 (exit $ac_status); }; }; then
24379 ac_cv_lib_ipc_shmat=yes
24380 else
24381 echo "$as_me: failed program was:" >&5
24382 sed 's/^/| /' conftest.$ac_ext >&5
24383
24384 ac_cv_lib_ipc_shmat=no
24385 fi
24386 rm -f conftest.err conftest.$ac_objext \
24387 conftest$ac_exeext conftest.$ac_ext
24388 LIBS=$ac_check_lib_save_LIBS
24389 fi
24390 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24391 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
24392 if test $ac_cv_lib_ipc_shmat = yes; then
24393 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
24394 fi
24395
24396 fi
24397 fi
24398
24399 # Check for libraries that X11R6 Xt/Xaw programs need.
24400 ac_save_LDFLAGS=$LDFLAGS
24401 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
24402 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
24403 # check for ICE first), but we must link in the order -lSM -lICE or
24404 # we get undefined symbols. So assume we have SM if we have ICE.
24405 # These have to be linked with before -lX11, unlike the other
24406 # libraries we check for below, so use a different variable.
24407 # John Interrante, Karl Berry
24408 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
24409 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
24410 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
24411 echo $ECHO_N "(cached) $ECHO_C" >&6
24412 else
24413 ac_check_lib_save_LIBS=$LIBS
24414 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
24415 cat >conftest.$ac_ext <<_ACEOF
24416 /* confdefs.h. */
24417 _ACEOF
24418 cat confdefs.h >>conftest.$ac_ext
24419 cat >>conftest.$ac_ext <<_ACEOF
24420 /* end confdefs.h. */
24421
24422 /* Override any gcc2 internal prototype to avoid an error. */
24423 #ifdef __cplusplus
24424 extern "C"
24425 #endif
24426 /* We use char because int might match the return type of a gcc2
24427 builtin and then its argument prototype would still apply. */
24428 char IceConnectionNumber ();
24429 int
24430 main ()
24431 {
24432 IceConnectionNumber ();
24433 ;
24434 return 0;
24435 }
24436 _ACEOF
24437 rm -f conftest.$ac_objext conftest$ac_exeext
24438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24439 (eval $ac_link) 2>conftest.er1
24440 ac_status=$?
24441 grep -v '^ *+' conftest.er1 >conftest.err
24442 rm -f conftest.er1
24443 cat conftest.err >&5
24444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24445 (exit $ac_status); } &&
24446 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24448 (eval $ac_try) 2>&5
24449 ac_status=$?
24450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24451 (exit $ac_status); }; } &&
24452 { ac_try='test -s conftest$ac_exeext'
24453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24454 (eval $ac_try) 2>&5
24455 ac_status=$?
24456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24457 (exit $ac_status); }; }; then
24458 ac_cv_lib_ICE_IceConnectionNumber=yes
24459 else
24460 echo "$as_me: failed program was:" >&5
24461 sed 's/^/| /' conftest.$ac_ext >&5
24462
24463 ac_cv_lib_ICE_IceConnectionNumber=no
24464 fi
24465 rm -f conftest.err conftest.$ac_objext \
24466 conftest$ac_exeext conftest.$ac_ext
24467 LIBS=$ac_check_lib_save_LIBS
24468 fi
24469 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24470 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
24471 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
24472 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
24473 fi
24474
24475 LDFLAGS=$ac_save_LDFLAGS
24476
24477 fi
24478
24479
24480 if test "$no_x" = "yes"; then
24481 { { echo "$as_me:$LINENO: error: X11 not found" >&5
24482 echo "$as_me: error: X11 not found" >&2;}
24483 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
24484 fi
24485
24486 GUI_TK_LIBRARY="$X_LIBS"
24487 TOOLKIT_INCLUDE="$X_CFLAGS"
24488 AFMINSTALL=afminstall
24489 COMPILED_X_PROGRAM=0
24490
24491 if test "$wxUSE_NANOX" = "yes"; then
24492 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
24493 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
24494 if test "x$MICROWIN" = x ; then
24495 echo "$as_me:$LINENO: result: not found" >&5
24496 echo "${ECHO_T}not found" >&6
24497 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
24498 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
24499 { (exit 1); exit 1; }; }
24500 else
24501 echo "$as_me:$LINENO: result: $MICROWIN" >&5
24502 echo "${ECHO_T}$MICROWIN" >&6
24503 cat >>confdefs.h <<\_ACEOF
24504 #define wxUSE_NANOX 1
24505 _ACEOF
24506
24507 fi
24508 fi
24509
24510 if test "$wxUSE_UNICODE" = "yes"; then
24511
24512 succeeded=no
24513
24514 if test -z "$PKG_CONFIG"; then
24515 # Extract the first word of "pkg-config", so it can be a program name with args.
24516 set dummy pkg-config; ac_word=$2
24517 echo "$as_me:$LINENO: checking for $ac_word" >&5
24518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24519 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24520 echo $ECHO_N "(cached) $ECHO_C" >&6
24521 else
24522 case $PKG_CONFIG in
24523 [\\/]* | ?:[\\/]*)
24524 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24525 ;;
24526 *)
24527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24528 for as_dir in $PATH
24529 do
24530 IFS=$as_save_IFS
24531 test -z "$as_dir" && as_dir=.
24532 for ac_exec_ext in '' $ac_executable_extensions; do
24533 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24534 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24536 break 2
24537 fi
24538 done
24539 done
24540
24541 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24542 ;;
24543 esac
24544 fi
24545 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24546
24547 if test -n "$PKG_CONFIG"; then
24548 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24549 echo "${ECHO_T}$PKG_CONFIG" >&6
24550 else
24551 echo "$as_me:$LINENO: result: no" >&5
24552 echo "${ECHO_T}no" >&6
24553 fi
24554
24555 fi
24556
24557 if test "$PKG_CONFIG" = "no" ; then
24558 echo "*** The pkg-config script could not be found. Make sure it is"
24559 echo "*** in your path, or set the PKG_CONFIG environment variable"
24560 echo "*** to the full path to pkg-config."
24561 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24562 else
24563 PKG_CONFIG_MIN_VERSION=0.9.0
24564 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24565 echo "$as_me:$LINENO: checking for pangox" >&5
24566 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
24567
24568 if $PKG_CONFIG --exists "pangox" ; then
24569 echo "$as_me:$LINENO: result: yes" >&5
24570 echo "${ECHO_T}yes" >&6
24571 succeeded=yes
24572
24573 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
24574 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
24575 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
24576 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
24577 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
24578
24579 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
24580 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
24581 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
24582 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
24583 echo "${ECHO_T}$PANGOX_LIBS" >&6
24584 else
24585 PANGOX_CFLAGS=""
24586 PANGOX_LIBS=""
24587 ## If we have a custom action on failure, don't print errors, but
24588 ## do set a variable so people can do so.
24589 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
24590
24591 fi
24592
24593
24594
24595 else
24596 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24597 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24598 fi
24599 fi
24600
24601 if test $succeeded = yes; then
24602
24603 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
24604 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
24605
24606 else
24607
24608 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
24609 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
24610 { (exit 1); exit 1; }; }
24611
24612
24613 fi
24614
24615
24616 succeeded=no
24617
24618 if test -z "$PKG_CONFIG"; then
24619 # Extract the first word of "pkg-config", so it can be a program name with args.
24620 set dummy pkg-config; ac_word=$2
24621 echo "$as_me:$LINENO: checking for $ac_word" >&5
24622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24623 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24624 echo $ECHO_N "(cached) $ECHO_C" >&6
24625 else
24626 case $PKG_CONFIG in
24627 [\\/]* | ?:[\\/]*)
24628 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24629 ;;
24630 *)
24631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24632 for as_dir in $PATH
24633 do
24634 IFS=$as_save_IFS
24635 test -z "$as_dir" && as_dir=.
24636 for ac_exec_ext in '' $ac_executable_extensions; do
24637 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24638 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24640 break 2
24641 fi
24642 done
24643 done
24644
24645 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24646 ;;
24647 esac
24648 fi
24649 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24650
24651 if test -n "$PKG_CONFIG"; then
24652 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24653 echo "${ECHO_T}$PKG_CONFIG" >&6
24654 else
24655 echo "$as_me:$LINENO: result: no" >&5
24656 echo "${ECHO_T}no" >&6
24657 fi
24658
24659 fi
24660
24661 if test "$PKG_CONFIG" = "no" ; then
24662 echo "*** The pkg-config script could not be found. Make sure it is"
24663 echo "*** in your path, or set the PKG_CONFIG environment variable"
24664 echo "*** to the full path to pkg-config."
24665 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24666 else
24667 PKG_CONFIG_MIN_VERSION=0.9.0
24668 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24669 echo "$as_me:$LINENO: checking for pangoft2" >&5
24670 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
24671
24672 if $PKG_CONFIG --exists "pangoft2" ; then
24673 echo "$as_me:$LINENO: result: yes" >&5
24674 echo "${ECHO_T}yes" >&6
24675 succeeded=yes
24676
24677 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
24678 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
24679 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
24680 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
24681 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
24682
24683 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
24684 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
24685 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
24686 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
24687 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
24688 else
24689 PANGOFT2_CFLAGS=""
24690 PANGOFT2_LIBS=""
24691 ## If we have a custom action on failure, don't print errors, but
24692 ## do set a variable so people can do so.
24693 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
24694
24695 fi
24696
24697
24698
24699 else
24700 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24701 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24702 fi
24703 fi
24704
24705 if test $succeeded = yes; then
24706
24707 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
24708 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
24709
24710 else
24711
24712 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
24713 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
24714 wxUSE_PRINTING_ARCHITECTURE="no"
24715
24716
24717 fi
24718
24719
24720 succeeded=no
24721
24722 if test -z "$PKG_CONFIG"; then
24723 # Extract the first word of "pkg-config", so it can be a program name with args.
24724 set dummy pkg-config; ac_word=$2
24725 echo "$as_me:$LINENO: checking for $ac_word" >&5
24726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24727 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24728 echo $ECHO_N "(cached) $ECHO_C" >&6
24729 else
24730 case $PKG_CONFIG in
24731 [\\/]* | ?:[\\/]*)
24732 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24733 ;;
24734 *)
24735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24736 for as_dir in $PATH
24737 do
24738 IFS=$as_save_IFS
24739 test -z "$as_dir" && as_dir=.
24740 for ac_exec_ext in '' $ac_executable_extensions; do
24741 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24742 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24744 break 2
24745 fi
24746 done
24747 done
24748
24749 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24750 ;;
24751 esac
24752 fi
24753 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24754
24755 if test -n "$PKG_CONFIG"; then
24756 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24757 echo "${ECHO_T}$PKG_CONFIG" >&6
24758 else
24759 echo "$as_me:$LINENO: result: no" >&5
24760 echo "${ECHO_T}no" >&6
24761 fi
24762
24763 fi
24764
24765 if test "$PKG_CONFIG" = "no" ; then
24766 echo "*** The pkg-config script could not be found. Make sure it is"
24767 echo "*** in your path, or set the PKG_CONFIG environment variable"
24768 echo "*** to the full path to pkg-config."
24769 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24770 else
24771 PKG_CONFIG_MIN_VERSION=0.9.0
24772 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24773 echo "$as_me:$LINENO: checking for pangoxft" >&5
24774 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
24775
24776 if $PKG_CONFIG --exists "pangoxft" ; then
24777 echo "$as_me:$LINENO: result: yes" >&5
24778 echo "${ECHO_T}yes" >&6
24779 succeeded=yes
24780
24781 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
24782 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
24783 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
24784 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
24785 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
24786
24787 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
24788 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
24789 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
24790 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
24791 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
24792 else
24793 PANGOXFT_CFLAGS=""
24794 PANGOXFT_LIBS=""
24795 ## If we have a custom action on failure, don't print errors, but
24796 ## do set a variable so people can do so.
24797 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
24798
24799 fi
24800
24801
24802
24803 else
24804 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24805 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24806 fi
24807 fi
24808
24809 if test $succeeded = yes; then
24810
24811 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
24812 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
24813
24814 else
24815
24816 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
24817 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
24818
24819
24820 fi
24821
24822 fi
24823
24824 wxUSE_UNIVERSAL="yes"
24825
24826 if test "$wxUSE_NANOX" = "yes"; then
24827 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
24828 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"
24829 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
24830 else
24831 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
24832 fi
24833
24834 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
24835 TOOLKIT=X11
24836 GUIDIST=X11_DIST
24837 fi
24838
24839 if test "$wxUSE_MOTIF" = 1; then
24840 if test "$no_x" = yes; then
24841 # Not all programs may use this symbol, but it does not hurt to define it.
24842
24843 cat >>confdefs.h <<\_ACEOF
24844 #define X_DISPLAY_MISSING 1
24845 _ACEOF
24846
24847 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24848 else
24849 if test -n "$x_includes"; then
24850 X_CFLAGS="$X_CFLAGS -I$x_includes"
24851 fi
24852
24853 # It would also be nice to do this for all -L options, not just this one.
24854 if test -n "$x_libraries"; then
24855 X_LIBS="$X_LIBS -L$x_libraries"
24856 # For Solaris; some versions of Sun CC require a space after -R and
24857 # others require no space. Words are not sufficient . . . .
24858 case `(uname -sr) 2>/dev/null` in
24859 "SunOS 5"*)
24860 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24861 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24862 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24863 cat >conftest.$ac_ext <<_ACEOF
24864 /* confdefs.h. */
24865 _ACEOF
24866 cat confdefs.h >>conftest.$ac_ext
24867 cat >>conftest.$ac_ext <<_ACEOF
24868 /* end confdefs.h. */
24869
24870 int
24871 main ()
24872 {
24873
24874 ;
24875 return 0;
24876 }
24877 _ACEOF
24878 rm -f conftest.$ac_objext conftest$ac_exeext
24879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24880 (eval $ac_link) 2>conftest.er1
24881 ac_status=$?
24882 grep -v '^ *+' conftest.er1 >conftest.err
24883 rm -f conftest.er1
24884 cat conftest.err >&5
24885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24886 (exit $ac_status); } &&
24887 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24889 (eval $ac_try) 2>&5
24890 ac_status=$?
24891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24892 (exit $ac_status); }; } &&
24893 { ac_try='test -s conftest$ac_exeext'
24894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24895 (eval $ac_try) 2>&5
24896 ac_status=$?
24897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24898 (exit $ac_status); }; }; then
24899 ac_R_nospace=yes
24900 else
24901 echo "$as_me: failed program was:" >&5
24902 sed 's/^/| /' conftest.$ac_ext >&5
24903
24904 ac_R_nospace=no
24905 fi
24906 rm -f conftest.err conftest.$ac_objext \
24907 conftest$ac_exeext conftest.$ac_ext
24908 if test $ac_R_nospace = yes; then
24909 echo "$as_me:$LINENO: result: no" >&5
24910 echo "${ECHO_T}no" >&6
24911 X_LIBS="$X_LIBS -R$x_libraries"
24912 else
24913 LIBS="$ac_xsave_LIBS -R $x_libraries"
24914 cat >conftest.$ac_ext <<_ACEOF
24915 /* confdefs.h. */
24916 _ACEOF
24917 cat confdefs.h >>conftest.$ac_ext
24918 cat >>conftest.$ac_ext <<_ACEOF
24919 /* end confdefs.h. */
24920
24921 int
24922 main ()
24923 {
24924
24925 ;
24926 return 0;
24927 }
24928 _ACEOF
24929 rm -f conftest.$ac_objext conftest$ac_exeext
24930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24931 (eval $ac_link) 2>conftest.er1
24932 ac_status=$?
24933 grep -v '^ *+' conftest.er1 >conftest.err
24934 rm -f conftest.er1
24935 cat conftest.err >&5
24936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24937 (exit $ac_status); } &&
24938 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24940 (eval $ac_try) 2>&5
24941 ac_status=$?
24942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24943 (exit $ac_status); }; } &&
24944 { ac_try='test -s conftest$ac_exeext'
24945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24946 (eval $ac_try) 2>&5
24947 ac_status=$?
24948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24949 (exit $ac_status); }; }; then
24950 ac_R_space=yes
24951 else
24952 echo "$as_me: failed program was:" >&5
24953 sed 's/^/| /' conftest.$ac_ext >&5
24954
24955 ac_R_space=no
24956 fi
24957 rm -f conftest.err conftest.$ac_objext \
24958 conftest$ac_exeext conftest.$ac_ext
24959 if test $ac_R_space = yes; then
24960 echo "$as_me:$LINENO: result: yes" >&5
24961 echo "${ECHO_T}yes" >&6
24962 X_LIBS="$X_LIBS -R $x_libraries"
24963 else
24964 echo "$as_me:$LINENO: result: neither works" >&5
24965 echo "${ECHO_T}neither works" >&6
24966 fi
24967 fi
24968 LIBS=$ac_xsave_LIBS
24969 esac
24970 fi
24971
24972 # Check for system-dependent libraries X programs must link with.
24973 # Do this before checking for the system-independent R6 libraries
24974 # (-lICE), since we may need -lsocket or whatever for X linking.
24975
24976 if test "$ISC" = yes; then
24977 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24978 else
24979 # Martyn Johnson says this is needed for Ultrix, if the X
24980 # libraries were built with DECnet support. And Karl Berry says
24981 # the Alpha needs dnet_stub (dnet does not exist).
24982 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24983 cat >conftest.$ac_ext <<_ACEOF
24984 /* confdefs.h. */
24985 _ACEOF
24986 cat confdefs.h >>conftest.$ac_ext
24987 cat >>conftest.$ac_ext <<_ACEOF
24988 /* end confdefs.h. */
24989
24990 /* Override any gcc2 internal prototype to avoid an error. */
24991 #ifdef __cplusplus
24992 extern "C"
24993 #endif
24994 /* We use char because int might match the return type of a gcc2
24995 builtin and then its argument prototype would still apply. */
24996 char XOpenDisplay ();
24997 int
24998 main ()
24999 {
25000 XOpenDisplay ();
25001 ;
25002 return 0;
25003 }
25004 _ACEOF
25005 rm -f conftest.$ac_objext conftest$ac_exeext
25006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25007 (eval $ac_link) 2>conftest.er1
25008 ac_status=$?
25009 grep -v '^ *+' conftest.er1 >conftest.err
25010 rm -f conftest.er1
25011 cat conftest.err >&5
25012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25013 (exit $ac_status); } &&
25014 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25016 (eval $ac_try) 2>&5
25017 ac_status=$?
25018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25019 (exit $ac_status); }; } &&
25020 { ac_try='test -s conftest$ac_exeext'
25021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25022 (eval $ac_try) 2>&5
25023 ac_status=$?
25024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25025 (exit $ac_status); }; }; then
25026 :
25027 else
25028 echo "$as_me: failed program was:" >&5
25029 sed 's/^/| /' conftest.$ac_ext >&5
25030
25031 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
25032 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
25033 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
25034 echo $ECHO_N "(cached) $ECHO_C" >&6
25035 else
25036 ac_check_lib_save_LIBS=$LIBS
25037 LIBS="-ldnet $LIBS"
25038 cat >conftest.$ac_ext <<_ACEOF
25039 /* confdefs.h. */
25040 _ACEOF
25041 cat confdefs.h >>conftest.$ac_ext
25042 cat >>conftest.$ac_ext <<_ACEOF
25043 /* end confdefs.h. */
25044
25045 /* Override any gcc2 internal prototype to avoid an error. */
25046 #ifdef __cplusplus
25047 extern "C"
25048 #endif
25049 /* We use char because int might match the return type of a gcc2
25050 builtin and then its argument prototype would still apply. */
25051 char dnet_ntoa ();
25052 int
25053 main ()
25054 {
25055 dnet_ntoa ();
25056 ;
25057 return 0;
25058 }
25059 _ACEOF
25060 rm -f conftest.$ac_objext conftest$ac_exeext
25061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25062 (eval $ac_link) 2>conftest.er1
25063 ac_status=$?
25064 grep -v '^ *+' conftest.er1 >conftest.err
25065 rm -f conftest.er1
25066 cat conftest.err >&5
25067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25068 (exit $ac_status); } &&
25069 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25071 (eval $ac_try) 2>&5
25072 ac_status=$?
25073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25074 (exit $ac_status); }; } &&
25075 { ac_try='test -s conftest$ac_exeext'
25076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25077 (eval $ac_try) 2>&5
25078 ac_status=$?
25079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25080 (exit $ac_status); }; }; then
25081 ac_cv_lib_dnet_dnet_ntoa=yes
25082 else
25083 echo "$as_me: failed program was:" >&5
25084 sed 's/^/| /' conftest.$ac_ext >&5
25085
25086 ac_cv_lib_dnet_dnet_ntoa=no
25087 fi
25088 rm -f conftest.err conftest.$ac_objext \
25089 conftest$ac_exeext conftest.$ac_ext
25090 LIBS=$ac_check_lib_save_LIBS
25091 fi
25092 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25093 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
25094 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
25095 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25096 fi
25097
25098 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25099 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
25100 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
25101 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
25102 echo $ECHO_N "(cached) $ECHO_C" >&6
25103 else
25104 ac_check_lib_save_LIBS=$LIBS
25105 LIBS="-ldnet_stub $LIBS"
25106 cat >conftest.$ac_ext <<_ACEOF
25107 /* confdefs.h. */
25108 _ACEOF
25109 cat confdefs.h >>conftest.$ac_ext
25110 cat >>conftest.$ac_ext <<_ACEOF
25111 /* end confdefs.h. */
25112
25113 /* Override any gcc2 internal prototype to avoid an error. */
25114 #ifdef __cplusplus
25115 extern "C"
25116 #endif
25117 /* We use char because int might match the return type of a gcc2
25118 builtin and then its argument prototype would still apply. */
25119 char dnet_ntoa ();
25120 int
25121 main ()
25122 {
25123 dnet_ntoa ();
25124 ;
25125 return 0;
25126 }
25127 _ACEOF
25128 rm -f conftest.$ac_objext conftest$ac_exeext
25129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25130 (eval $ac_link) 2>conftest.er1
25131 ac_status=$?
25132 grep -v '^ *+' conftest.er1 >conftest.err
25133 rm -f conftest.er1
25134 cat conftest.err >&5
25135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25136 (exit $ac_status); } &&
25137 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25139 (eval $ac_try) 2>&5
25140 ac_status=$?
25141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25142 (exit $ac_status); }; } &&
25143 { ac_try='test -s conftest$ac_exeext'
25144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25145 (eval $ac_try) 2>&5
25146 ac_status=$?
25147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25148 (exit $ac_status); }; }; then
25149 ac_cv_lib_dnet_stub_dnet_ntoa=yes
25150 else
25151 echo "$as_me: failed program was:" >&5
25152 sed 's/^/| /' conftest.$ac_ext >&5
25153
25154 ac_cv_lib_dnet_stub_dnet_ntoa=no
25155 fi
25156 rm -f conftest.err conftest.$ac_objext \
25157 conftest$ac_exeext conftest.$ac_ext
25158 LIBS=$ac_check_lib_save_LIBS
25159 fi
25160 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25161 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
25162 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
25163 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25164 fi
25165
25166 fi
25167 fi
25168 rm -f conftest.err conftest.$ac_objext \
25169 conftest$ac_exeext conftest.$ac_ext
25170 LIBS="$ac_xsave_LIBS"
25171
25172 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25173 # to get the SysV transport functions.
25174 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25175 # needs -lnsl.
25176 # The nsl library prevents programs from opening the X display
25177 # on Irix 5.2, according to T.E. Dickey.
25178 # The functions gethostbyname, getservbyname, and inet_addr are
25179 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25180 echo "$as_me:$LINENO: checking for gethostbyname" >&5
25181 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
25182 if test "${ac_cv_func_gethostbyname+set}" = set; then
25183 echo $ECHO_N "(cached) $ECHO_C" >&6
25184 else
25185 cat >conftest.$ac_ext <<_ACEOF
25186 /* confdefs.h. */
25187 _ACEOF
25188 cat confdefs.h >>conftest.$ac_ext
25189 cat >>conftest.$ac_ext <<_ACEOF
25190 /* end confdefs.h. */
25191 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
25192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25193 #define gethostbyname innocuous_gethostbyname
25194
25195 /* System header to define __stub macros and hopefully few prototypes,
25196 which can conflict with char gethostbyname (); below.
25197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25198 <limits.h> exists even on freestanding compilers. */
25199
25200 #ifdef __STDC__
25201 # include <limits.h>
25202 #else
25203 # include <assert.h>
25204 #endif
25205
25206 #undef gethostbyname
25207
25208 /* Override any gcc2 internal prototype to avoid an error. */
25209 #ifdef __cplusplus
25210 extern "C"
25211 {
25212 #endif
25213 /* We use char because int might match the return type of a gcc2
25214 builtin and then its argument prototype would still apply. */
25215 char gethostbyname ();
25216 /* The GNU C library defines this for functions which it implements
25217 to always fail with ENOSYS. Some functions are actually named
25218 something starting with __ and the normal name is an alias. */
25219 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
25220 choke me
25221 #else
25222 char (*f) () = gethostbyname;
25223 #endif
25224 #ifdef __cplusplus
25225 }
25226 #endif
25227
25228 int
25229 main ()
25230 {
25231 return f != gethostbyname;
25232 ;
25233 return 0;
25234 }
25235 _ACEOF
25236 rm -f conftest.$ac_objext conftest$ac_exeext
25237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25238 (eval $ac_link) 2>conftest.er1
25239 ac_status=$?
25240 grep -v '^ *+' conftest.er1 >conftest.err
25241 rm -f conftest.er1
25242 cat conftest.err >&5
25243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25244 (exit $ac_status); } &&
25245 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25247 (eval $ac_try) 2>&5
25248 ac_status=$?
25249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25250 (exit $ac_status); }; } &&
25251 { ac_try='test -s conftest$ac_exeext'
25252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25253 (eval $ac_try) 2>&5
25254 ac_status=$?
25255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25256 (exit $ac_status); }; }; then
25257 ac_cv_func_gethostbyname=yes
25258 else
25259 echo "$as_me: failed program was:" >&5
25260 sed 's/^/| /' conftest.$ac_ext >&5
25261
25262 ac_cv_func_gethostbyname=no
25263 fi
25264 rm -f conftest.err conftest.$ac_objext \
25265 conftest$ac_exeext conftest.$ac_ext
25266 fi
25267 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
25268 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
25269
25270 if test $ac_cv_func_gethostbyname = no; then
25271 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
25272 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
25273 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
25274 echo $ECHO_N "(cached) $ECHO_C" >&6
25275 else
25276 ac_check_lib_save_LIBS=$LIBS
25277 LIBS="-lnsl $LIBS"
25278 cat >conftest.$ac_ext <<_ACEOF
25279 /* confdefs.h. */
25280 _ACEOF
25281 cat confdefs.h >>conftest.$ac_ext
25282 cat >>conftest.$ac_ext <<_ACEOF
25283 /* end confdefs.h. */
25284
25285 /* Override any gcc2 internal prototype to avoid an error. */
25286 #ifdef __cplusplus
25287 extern "C"
25288 #endif
25289 /* We use char because int might match the return type of a gcc2
25290 builtin and then its argument prototype would still apply. */
25291 char gethostbyname ();
25292 int
25293 main ()
25294 {
25295 gethostbyname ();
25296 ;
25297 return 0;
25298 }
25299 _ACEOF
25300 rm -f conftest.$ac_objext conftest$ac_exeext
25301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25302 (eval $ac_link) 2>conftest.er1
25303 ac_status=$?
25304 grep -v '^ *+' conftest.er1 >conftest.err
25305 rm -f conftest.er1
25306 cat conftest.err >&5
25307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25308 (exit $ac_status); } &&
25309 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25311 (eval $ac_try) 2>&5
25312 ac_status=$?
25313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25314 (exit $ac_status); }; } &&
25315 { ac_try='test -s conftest$ac_exeext'
25316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25317 (eval $ac_try) 2>&5
25318 ac_status=$?
25319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25320 (exit $ac_status); }; }; then
25321 ac_cv_lib_nsl_gethostbyname=yes
25322 else
25323 echo "$as_me: failed program was:" >&5
25324 sed 's/^/| /' conftest.$ac_ext >&5
25325
25326 ac_cv_lib_nsl_gethostbyname=no
25327 fi
25328 rm -f conftest.err conftest.$ac_objext \
25329 conftest$ac_exeext conftest.$ac_ext
25330 LIBS=$ac_check_lib_save_LIBS
25331 fi
25332 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
25333 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
25334 if test $ac_cv_lib_nsl_gethostbyname = yes; then
25335 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25336 fi
25337
25338 if test $ac_cv_lib_nsl_gethostbyname = no; then
25339 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25340 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
25341 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25342 echo $ECHO_N "(cached) $ECHO_C" >&6
25343 else
25344 ac_check_lib_save_LIBS=$LIBS
25345 LIBS="-lbsd $LIBS"
25346 cat >conftest.$ac_ext <<_ACEOF
25347 /* confdefs.h. */
25348 _ACEOF
25349 cat confdefs.h >>conftest.$ac_ext
25350 cat >>conftest.$ac_ext <<_ACEOF
25351 /* end confdefs.h. */
25352
25353 /* Override any gcc2 internal prototype to avoid an error. */
25354 #ifdef __cplusplus
25355 extern "C"
25356 #endif
25357 /* We use char because int might match the return type of a gcc2
25358 builtin and then its argument prototype would still apply. */
25359 char gethostbyname ();
25360 int
25361 main ()
25362 {
25363 gethostbyname ();
25364 ;
25365 return 0;
25366 }
25367 _ACEOF
25368 rm -f conftest.$ac_objext conftest$ac_exeext
25369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25370 (eval $ac_link) 2>conftest.er1
25371 ac_status=$?
25372 grep -v '^ *+' conftest.er1 >conftest.err
25373 rm -f conftest.er1
25374 cat conftest.err >&5
25375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25376 (exit $ac_status); } &&
25377 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25379 (eval $ac_try) 2>&5
25380 ac_status=$?
25381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25382 (exit $ac_status); }; } &&
25383 { ac_try='test -s conftest$ac_exeext'
25384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25385 (eval $ac_try) 2>&5
25386 ac_status=$?
25387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25388 (exit $ac_status); }; }; then
25389 ac_cv_lib_bsd_gethostbyname=yes
25390 else
25391 echo "$as_me: failed program was:" >&5
25392 sed 's/^/| /' conftest.$ac_ext >&5
25393
25394 ac_cv_lib_bsd_gethostbyname=no
25395 fi
25396 rm -f conftest.err conftest.$ac_objext \
25397 conftest$ac_exeext conftest.$ac_ext
25398 LIBS=$ac_check_lib_save_LIBS
25399 fi
25400 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25401 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
25402 if test $ac_cv_lib_bsd_gethostbyname = yes; then
25403 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25404 fi
25405
25406 fi
25407 fi
25408
25409 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25410 # socket/setsockopt and other routines are undefined under SCO ODT
25411 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25412 # on later versions), says Simon Leinen: it contains gethostby*
25413 # variants that don't use the name server (or something). -lsocket
25414 # must be given before -lnsl if both are needed. We assume that
25415 # if connect needs -lnsl, so does gethostbyname.
25416 echo "$as_me:$LINENO: checking for connect" >&5
25417 echo $ECHO_N "checking for connect... $ECHO_C" >&6
25418 if test "${ac_cv_func_connect+set}" = set; then
25419 echo $ECHO_N "(cached) $ECHO_C" >&6
25420 else
25421 cat >conftest.$ac_ext <<_ACEOF
25422 /* confdefs.h. */
25423 _ACEOF
25424 cat confdefs.h >>conftest.$ac_ext
25425 cat >>conftest.$ac_ext <<_ACEOF
25426 /* end confdefs.h. */
25427 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
25428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25429 #define connect innocuous_connect
25430
25431 /* System header to define __stub macros and hopefully few prototypes,
25432 which can conflict with char connect (); below.
25433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25434 <limits.h> exists even on freestanding compilers. */
25435
25436 #ifdef __STDC__
25437 # include <limits.h>
25438 #else
25439 # include <assert.h>
25440 #endif
25441
25442 #undef connect
25443
25444 /* Override any gcc2 internal prototype to avoid an error. */
25445 #ifdef __cplusplus
25446 extern "C"
25447 {
25448 #endif
25449 /* We use char because int might match the return type of a gcc2
25450 builtin and then its argument prototype would still apply. */
25451 char connect ();
25452 /* The GNU C library defines this for functions which it implements
25453 to always fail with ENOSYS. Some functions are actually named
25454 something starting with __ and the normal name is an alias. */
25455 #if defined (__stub_connect) || defined (__stub___connect)
25456 choke me
25457 #else
25458 char (*f) () = connect;
25459 #endif
25460 #ifdef __cplusplus
25461 }
25462 #endif
25463
25464 int
25465 main ()
25466 {
25467 return f != connect;
25468 ;
25469 return 0;
25470 }
25471 _ACEOF
25472 rm -f conftest.$ac_objext conftest$ac_exeext
25473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25474 (eval $ac_link) 2>conftest.er1
25475 ac_status=$?
25476 grep -v '^ *+' conftest.er1 >conftest.err
25477 rm -f conftest.er1
25478 cat conftest.err >&5
25479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25480 (exit $ac_status); } &&
25481 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25483 (eval $ac_try) 2>&5
25484 ac_status=$?
25485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25486 (exit $ac_status); }; } &&
25487 { ac_try='test -s conftest$ac_exeext'
25488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25489 (eval $ac_try) 2>&5
25490 ac_status=$?
25491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25492 (exit $ac_status); }; }; then
25493 ac_cv_func_connect=yes
25494 else
25495 echo "$as_me: failed program was:" >&5
25496 sed 's/^/| /' conftest.$ac_ext >&5
25497
25498 ac_cv_func_connect=no
25499 fi
25500 rm -f conftest.err conftest.$ac_objext \
25501 conftest$ac_exeext conftest.$ac_ext
25502 fi
25503 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25504 echo "${ECHO_T}$ac_cv_func_connect" >&6
25505
25506 if test $ac_cv_func_connect = no; then
25507 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25508 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25509 if test "${ac_cv_lib_socket_connect+set}" = set; then
25510 echo $ECHO_N "(cached) $ECHO_C" >&6
25511 else
25512 ac_check_lib_save_LIBS=$LIBS
25513 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25514 cat >conftest.$ac_ext <<_ACEOF
25515 /* confdefs.h. */
25516 _ACEOF
25517 cat confdefs.h >>conftest.$ac_ext
25518 cat >>conftest.$ac_ext <<_ACEOF
25519 /* end confdefs.h. */
25520
25521 /* Override any gcc2 internal prototype to avoid an error. */
25522 #ifdef __cplusplus
25523 extern "C"
25524 #endif
25525 /* We use char because int might match the return type of a gcc2
25526 builtin and then its argument prototype would still apply. */
25527 char connect ();
25528 int
25529 main ()
25530 {
25531 connect ();
25532 ;
25533 return 0;
25534 }
25535 _ACEOF
25536 rm -f conftest.$ac_objext conftest$ac_exeext
25537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25538 (eval $ac_link) 2>conftest.er1
25539 ac_status=$?
25540 grep -v '^ *+' conftest.er1 >conftest.err
25541 rm -f conftest.er1
25542 cat conftest.err >&5
25543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25544 (exit $ac_status); } &&
25545 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25547 (eval $ac_try) 2>&5
25548 ac_status=$?
25549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25550 (exit $ac_status); }; } &&
25551 { ac_try='test -s conftest$ac_exeext'
25552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25553 (eval $ac_try) 2>&5
25554 ac_status=$?
25555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25556 (exit $ac_status); }; }; then
25557 ac_cv_lib_socket_connect=yes
25558 else
25559 echo "$as_me: failed program was:" >&5
25560 sed 's/^/| /' conftest.$ac_ext >&5
25561
25562 ac_cv_lib_socket_connect=no
25563 fi
25564 rm -f conftest.err conftest.$ac_objext \
25565 conftest$ac_exeext conftest.$ac_ext
25566 LIBS=$ac_check_lib_save_LIBS
25567 fi
25568 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25569 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25570 if test $ac_cv_lib_socket_connect = yes; then
25571 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25572 fi
25573
25574 fi
25575
25576 # Guillermo Gomez says -lposix is necessary on A/UX.
25577 echo "$as_me:$LINENO: checking for remove" >&5
25578 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25579 if test "${ac_cv_func_remove+set}" = set; then
25580 echo $ECHO_N "(cached) $ECHO_C" >&6
25581 else
25582 cat >conftest.$ac_ext <<_ACEOF
25583 /* confdefs.h. */
25584 _ACEOF
25585 cat confdefs.h >>conftest.$ac_ext
25586 cat >>conftest.$ac_ext <<_ACEOF
25587 /* end confdefs.h. */
25588 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25590 #define remove innocuous_remove
25591
25592 /* System header to define __stub macros and hopefully few prototypes,
25593 which can conflict with char remove (); below.
25594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25595 <limits.h> exists even on freestanding compilers. */
25596
25597 #ifdef __STDC__
25598 # include <limits.h>
25599 #else
25600 # include <assert.h>
25601 #endif
25602
25603 #undef remove
25604
25605 /* Override any gcc2 internal prototype to avoid an error. */
25606 #ifdef __cplusplus
25607 extern "C"
25608 {
25609 #endif
25610 /* We use char because int might match the return type of a gcc2
25611 builtin and then its argument prototype would still apply. */
25612 char remove ();
25613 /* The GNU C library defines this for functions which it implements
25614 to always fail with ENOSYS. Some functions are actually named
25615 something starting with __ and the normal name is an alias. */
25616 #if defined (__stub_remove) || defined (__stub___remove)
25617 choke me
25618 #else
25619 char (*f) () = remove;
25620 #endif
25621 #ifdef __cplusplus
25622 }
25623 #endif
25624
25625 int
25626 main ()
25627 {
25628 return f != remove;
25629 ;
25630 return 0;
25631 }
25632 _ACEOF
25633 rm -f conftest.$ac_objext conftest$ac_exeext
25634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25635 (eval $ac_link) 2>conftest.er1
25636 ac_status=$?
25637 grep -v '^ *+' conftest.er1 >conftest.err
25638 rm -f conftest.er1
25639 cat conftest.err >&5
25640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25641 (exit $ac_status); } &&
25642 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25644 (eval $ac_try) 2>&5
25645 ac_status=$?
25646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25647 (exit $ac_status); }; } &&
25648 { ac_try='test -s conftest$ac_exeext'
25649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25650 (eval $ac_try) 2>&5
25651 ac_status=$?
25652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25653 (exit $ac_status); }; }; then
25654 ac_cv_func_remove=yes
25655 else
25656 echo "$as_me: failed program was:" >&5
25657 sed 's/^/| /' conftest.$ac_ext >&5
25658
25659 ac_cv_func_remove=no
25660 fi
25661 rm -f conftest.err conftest.$ac_objext \
25662 conftest$ac_exeext conftest.$ac_ext
25663 fi
25664 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25665 echo "${ECHO_T}$ac_cv_func_remove" >&6
25666
25667 if test $ac_cv_func_remove = no; then
25668 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25669 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25670 if test "${ac_cv_lib_posix_remove+set}" = set; then
25671 echo $ECHO_N "(cached) $ECHO_C" >&6
25672 else
25673 ac_check_lib_save_LIBS=$LIBS
25674 LIBS="-lposix $LIBS"
25675 cat >conftest.$ac_ext <<_ACEOF
25676 /* confdefs.h. */
25677 _ACEOF
25678 cat confdefs.h >>conftest.$ac_ext
25679 cat >>conftest.$ac_ext <<_ACEOF
25680 /* end confdefs.h. */
25681
25682 /* Override any gcc2 internal prototype to avoid an error. */
25683 #ifdef __cplusplus
25684 extern "C"
25685 #endif
25686 /* We use char because int might match the return type of a gcc2
25687 builtin and then its argument prototype would still apply. */
25688 char remove ();
25689 int
25690 main ()
25691 {
25692 remove ();
25693 ;
25694 return 0;
25695 }
25696 _ACEOF
25697 rm -f conftest.$ac_objext conftest$ac_exeext
25698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25699 (eval $ac_link) 2>conftest.er1
25700 ac_status=$?
25701 grep -v '^ *+' conftest.er1 >conftest.err
25702 rm -f conftest.er1
25703 cat conftest.err >&5
25704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25705 (exit $ac_status); } &&
25706 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25708 (eval $ac_try) 2>&5
25709 ac_status=$?
25710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25711 (exit $ac_status); }; } &&
25712 { ac_try='test -s conftest$ac_exeext'
25713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25714 (eval $ac_try) 2>&5
25715 ac_status=$?
25716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25717 (exit $ac_status); }; }; then
25718 ac_cv_lib_posix_remove=yes
25719 else
25720 echo "$as_me: failed program was:" >&5
25721 sed 's/^/| /' conftest.$ac_ext >&5
25722
25723 ac_cv_lib_posix_remove=no
25724 fi
25725 rm -f conftest.err conftest.$ac_objext \
25726 conftest$ac_exeext conftest.$ac_ext
25727 LIBS=$ac_check_lib_save_LIBS
25728 fi
25729 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25730 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25731 if test $ac_cv_lib_posix_remove = yes; then
25732 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25733 fi
25734
25735 fi
25736
25737 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25738 echo "$as_me:$LINENO: checking for shmat" >&5
25739 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25740 if test "${ac_cv_func_shmat+set}" = set; then
25741 echo $ECHO_N "(cached) $ECHO_C" >&6
25742 else
25743 cat >conftest.$ac_ext <<_ACEOF
25744 /* confdefs.h. */
25745 _ACEOF
25746 cat confdefs.h >>conftest.$ac_ext
25747 cat >>conftest.$ac_ext <<_ACEOF
25748 /* end confdefs.h. */
25749 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25751 #define shmat innocuous_shmat
25752
25753 /* System header to define __stub macros and hopefully few prototypes,
25754 which can conflict with char shmat (); below.
25755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25756 <limits.h> exists even on freestanding compilers. */
25757
25758 #ifdef __STDC__
25759 # include <limits.h>
25760 #else
25761 # include <assert.h>
25762 #endif
25763
25764 #undef shmat
25765
25766 /* Override any gcc2 internal prototype to avoid an error. */
25767 #ifdef __cplusplus
25768 extern "C"
25769 {
25770 #endif
25771 /* We use char because int might match the return type of a gcc2
25772 builtin and then its argument prototype would still apply. */
25773 char shmat ();
25774 /* The GNU C library defines this for functions which it implements
25775 to always fail with ENOSYS. Some functions are actually named
25776 something starting with __ and the normal name is an alias. */
25777 #if defined (__stub_shmat) || defined (__stub___shmat)
25778 choke me
25779 #else
25780 char (*f) () = shmat;
25781 #endif
25782 #ifdef __cplusplus
25783 }
25784 #endif
25785
25786 int
25787 main ()
25788 {
25789 return f != shmat;
25790 ;
25791 return 0;
25792 }
25793 _ACEOF
25794 rm -f conftest.$ac_objext conftest$ac_exeext
25795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25796 (eval $ac_link) 2>conftest.er1
25797 ac_status=$?
25798 grep -v '^ *+' conftest.er1 >conftest.err
25799 rm -f conftest.er1
25800 cat conftest.err >&5
25801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25802 (exit $ac_status); } &&
25803 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25805 (eval $ac_try) 2>&5
25806 ac_status=$?
25807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25808 (exit $ac_status); }; } &&
25809 { ac_try='test -s conftest$ac_exeext'
25810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25811 (eval $ac_try) 2>&5
25812 ac_status=$?
25813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25814 (exit $ac_status); }; }; then
25815 ac_cv_func_shmat=yes
25816 else
25817 echo "$as_me: failed program was:" >&5
25818 sed 's/^/| /' conftest.$ac_ext >&5
25819
25820 ac_cv_func_shmat=no
25821 fi
25822 rm -f conftest.err conftest.$ac_objext \
25823 conftest$ac_exeext conftest.$ac_ext
25824 fi
25825 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25826 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25827
25828 if test $ac_cv_func_shmat = no; then
25829 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25830 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25831 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25832 echo $ECHO_N "(cached) $ECHO_C" >&6
25833 else
25834 ac_check_lib_save_LIBS=$LIBS
25835 LIBS="-lipc $LIBS"
25836 cat >conftest.$ac_ext <<_ACEOF
25837 /* confdefs.h. */
25838 _ACEOF
25839 cat confdefs.h >>conftest.$ac_ext
25840 cat >>conftest.$ac_ext <<_ACEOF
25841 /* end confdefs.h. */
25842
25843 /* Override any gcc2 internal prototype to avoid an error. */
25844 #ifdef __cplusplus
25845 extern "C"
25846 #endif
25847 /* We use char because int might match the return type of a gcc2
25848 builtin and then its argument prototype would still apply. */
25849 char shmat ();
25850 int
25851 main ()
25852 {
25853 shmat ();
25854 ;
25855 return 0;
25856 }
25857 _ACEOF
25858 rm -f conftest.$ac_objext conftest$ac_exeext
25859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25860 (eval $ac_link) 2>conftest.er1
25861 ac_status=$?
25862 grep -v '^ *+' conftest.er1 >conftest.err
25863 rm -f conftest.er1
25864 cat conftest.err >&5
25865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25866 (exit $ac_status); } &&
25867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25869 (eval $ac_try) 2>&5
25870 ac_status=$?
25871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25872 (exit $ac_status); }; } &&
25873 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
25879 ac_cv_lib_ipc_shmat=yes
25880 else
25881 echo "$as_me: failed program was:" >&5
25882 sed 's/^/| /' conftest.$ac_ext >&5
25883
25884 ac_cv_lib_ipc_shmat=no
25885 fi
25886 rm -f conftest.err conftest.$ac_objext \
25887 conftest$ac_exeext conftest.$ac_ext
25888 LIBS=$ac_check_lib_save_LIBS
25889 fi
25890 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25891 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25892 if test $ac_cv_lib_ipc_shmat = yes; then
25893 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25894 fi
25895
25896 fi
25897 fi
25898
25899 # Check for libraries that X11R6 Xt/Xaw programs need.
25900 ac_save_LDFLAGS=$LDFLAGS
25901 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25902 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25903 # check for ICE first), but we must link in the order -lSM -lICE or
25904 # we get undefined symbols. So assume we have SM if we have ICE.
25905 # These have to be linked with before -lX11, unlike the other
25906 # libraries we check for below, so use a different variable.
25907 # John Interrante, Karl Berry
25908 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25909 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25910 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25911 echo $ECHO_N "(cached) $ECHO_C" >&6
25912 else
25913 ac_check_lib_save_LIBS=$LIBS
25914 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25915 cat >conftest.$ac_ext <<_ACEOF
25916 /* confdefs.h. */
25917 _ACEOF
25918 cat confdefs.h >>conftest.$ac_ext
25919 cat >>conftest.$ac_ext <<_ACEOF
25920 /* end confdefs.h. */
25921
25922 /* Override any gcc2 internal prototype to avoid an error. */
25923 #ifdef __cplusplus
25924 extern "C"
25925 #endif
25926 /* We use char because int might match the return type of a gcc2
25927 builtin and then its argument prototype would still apply. */
25928 char IceConnectionNumber ();
25929 int
25930 main ()
25931 {
25932 IceConnectionNumber ();
25933 ;
25934 return 0;
25935 }
25936 _ACEOF
25937 rm -f conftest.$ac_objext conftest$ac_exeext
25938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25939 (eval $ac_link) 2>conftest.er1
25940 ac_status=$?
25941 grep -v '^ *+' conftest.er1 >conftest.err
25942 rm -f conftest.er1
25943 cat conftest.err >&5
25944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25945 (exit $ac_status); } &&
25946 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25948 (eval $ac_try) 2>&5
25949 ac_status=$?
25950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25951 (exit $ac_status); }; } &&
25952 { ac_try='test -s conftest$ac_exeext'
25953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25954 (eval $ac_try) 2>&5
25955 ac_status=$?
25956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25957 (exit $ac_status); }; }; then
25958 ac_cv_lib_ICE_IceConnectionNumber=yes
25959 else
25960 echo "$as_me: failed program was:" >&5
25961 sed 's/^/| /' conftest.$ac_ext >&5
25962
25963 ac_cv_lib_ICE_IceConnectionNumber=no
25964 fi
25965 rm -f conftest.err conftest.$ac_objext \
25966 conftest$ac_exeext conftest.$ac_ext
25967 LIBS=$ac_check_lib_save_LIBS
25968 fi
25969 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25970 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25971 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25972 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25973 fi
25974
25975 LDFLAGS=$ac_save_LDFLAGS
25976
25977 fi
25978
25979
25980 if test "$no_x" = "yes"; then
25981 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25982 echo "$as_me: error: X11 not found" >&2;}
25983 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
25984 fi
25985
25986 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
25987 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25988 AFMINSTALL=afminstall
25989 COMPILED_X_PROGRAM=0
25990
25991 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
25992 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
25993
25994 ac_find_includes=
25995 for ac_dir in $SEARCH_INCLUDE /usr/include;
25996 do
25997 if test -f "$ac_dir/Xm/Xm.h"; then
25998 ac_find_includes=$ac_dir
25999 break
26000 fi
26001 done
26002
26003 if test "$ac_find_includes" != "" ; then
26004 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26005 echo "${ECHO_T}found in $ac_find_includes" >&6
26006
26007 if test "x$ac_find_includes" = "x/usr/include"; then
26008 ac_path_to_include=""
26009 else
26010 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
26011 result=$?
26012 if test $result = 0; then
26013 ac_path_to_include=""
26014 else
26015 ac_path_to_include=" -I$ac_find_includes"
26016 fi
26017 fi
26018
26019 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
26020 else
26021 cat >conftest.$ac_ext <<_ACEOF
26022 /* confdefs.h. */
26023 _ACEOF
26024 cat confdefs.h >>conftest.$ac_ext
26025 cat >>conftest.$ac_ext <<_ACEOF
26026 /* end confdefs.h. */
26027
26028 #include <Xm/Xm.h>
26029
26030 int
26031 main ()
26032 {
26033
26034 int version;
26035 version = xmUseVersion;
26036
26037 ;
26038 return 0;
26039 }
26040 _ACEOF
26041 rm -f conftest.$ac_objext
26042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26043 (eval $ac_compile) 2>conftest.er1
26044 ac_status=$?
26045 grep -v '^ *+' conftest.er1 >conftest.err
26046 rm -f conftest.er1
26047 cat conftest.err >&5
26048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26049 (exit $ac_status); } &&
26050 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26052 (eval $ac_try) 2>&5
26053 ac_status=$?
26054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26055 (exit $ac_status); }; } &&
26056 { ac_try='test -s conftest.$ac_objext'
26057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26058 (eval $ac_try) 2>&5
26059 ac_status=$?
26060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26061 (exit $ac_status); }; }; then
26062
26063 echo "$as_me:$LINENO: result: found in default search path" >&5
26064 echo "${ECHO_T}found in default search path" >&6
26065 COMPILED_X_PROGRAM=1
26066
26067 else
26068 echo "$as_me: failed program was:" >&5
26069 sed 's/^/| /' conftest.$ac_ext >&5
26070
26071
26072 echo "$as_me:$LINENO: result: no" >&5
26073 echo "${ECHO_T}no" >&6
26074 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26075 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26076 { (exit 1); exit 1; }; }
26077
26078
26079 fi
26080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26081 fi
26082
26083 if test "$COMPILED_X_PROGRAM" = 0; then
26084 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26085 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26086
26087 ac_find_libraries=
26088 for ac_dir in $SEARCH_LIB /usr/lib;
26089 do
26090 for ac_extension in a so sl dylib; do
26091 if test -f "$ac_dir/libXm.$ac_extension"; then
26092 ac_find_libraries=$ac_dir
26093 break 2
26094 fi
26095 done
26096 done
26097
26098 if test "$ac_find_libraries" != "" ; then
26099 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26100 echo "${ECHO_T}found at $ac_find_libraries" >&6
26101
26102
26103 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26104 result=$?
26105 if test $result = 0; then
26106 ac_path_to_link=""
26107 else
26108 ac_path_to_link=" -L$ac_find_libraries"
26109 fi
26110
26111 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26112 else
26113 save_CFLAGS=$CFLAGS
26114 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26115
26116 cat >conftest.$ac_ext <<_ACEOF
26117 /* confdefs.h. */
26118 _ACEOF
26119 cat confdefs.h >>conftest.$ac_ext
26120 cat >>conftest.$ac_ext <<_ACEOF
26121 /* end confdefs.h. */
26122
26123 #include <Xm/Xm.h>
26124
26125 int
26126 main ()
26127 {
26128
26129 int version;
26130 version = xmUseVersion;
26131
26132 ;
26133 return 0;
26134 }
26135 _ACEOF
26136 rm -f conftest.$ac_objext
26137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26138 (eval $ac_compile) 2>conftest.er1
26139 ac_status=$?
26140 grep -v '^ *+' conftest.er1 >conftest.err
26141 rm -f conftest.er1
26142 cat conftest.err >&5
26143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26144 (exit $ac_status); } &&
26145 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26147 (eval $ac_try) 2>&5
26148 ac_status=$?
26149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26150 (exit $ac_status); }; } &&
26151 { ac_try='test -s conftest.$ac_objext'
26152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26153 (eval $ac_try) 2>&5
26154 ac_status=$?
26155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26156 (exit $ac_status); }; }; then
26157
26158 echo "$as_me:$LINENO: result: found in default search path" >&5
26159 echo "${ECHO_T}found in default search path" >&6
26160 COMPILED_X_PROGRAM=1
26161
26162 else
26163 echo "$as_me: failed program was:" >&5
26164 sed 's/^/| /' conftest.$ac_ext >&5
26165
26166
26167 echo "$as_me:$LINENO: result: no" >&5
26168 echo "${ECHO_T}no" >&6
26169 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26170 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26171 { (exit 1); exit 1; }; }
26172
26173
26174 fi
26175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26176
26177 CFLAGS=$save_CFLAGS
26178 fi
26179 fi
26180
26181 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26182 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26183 libp_link=""
26184 libsm_ice_link=""
26185 libs_found=0
26186 for libp in "" " -lXp"; do
26187 if test "$libs_found" = "0"; then
26188 for libsm_ice in "" " -lSM -lICE"; do
26189 if test "$libs_found" = "0"; then
26190 save_LIBS="$LIBS"
26191 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26192 save_CFLAGS=$CFLAGS
26193 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26194
26195 cat >conftest.$ac_ext <<_ACEOF
26196 /* confdefs.h. */
26197 _ACEOF
26198 cat confdefs.h >>conftest.$ac_ext
26199 cat >>conftest.$ac_ext <<_ACEOF
26200 /* end confdefs.h. */
26201
26202 #include <Xm/Xm.h>
26203 #include <Xm/List.h>
26204
26205 int
26206 main ()
26207 {
26208
26209 XmString string = NULL;
26210 Widget w = NULL;
26211 int position = 0;
26212 XmListAddItem(w, string, position);
26213
26214 ;
26215 return 0;
26216 }
26217 _ACEOF
26218 rm -f conftest.$ac_objext conftest$ac_exeext
26219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26220 (eval $ac_link) 2>conftest.er1
26221 ac_status=$?
26222 grep -v '^ *+' conftest.er1 >conftest.err
26223 rm -f conftest.er1
26224 cat conftest.err >&5
26225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26226 (exit $ac_status); } &&
26227 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
26233 { ac_try='test -s conftest$ac_exeext'
26234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26235 (eval $ac_try) 2>&5
26236 ac_status=$?
26237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26238 (exit $ac_status); }; }; then
26239
26240 libp_link="$libp"
26241 libsm_ice_link="$libsm_ice"
26242 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26243 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26244 libs_found=1
26245
26246 else
26247 echo "$as_me: failed program was:" >&5
26248 sed 's/^/| /' conftest.$ac_ext >&5
26249
26250
26251
26252 fi
26253 rm -f conftest.err conftest.$ac_objext \
26254 conftest$ac_exeext conftest.$ac_ext
26255
26256 LIBS="$save_LIBS"
26257 CFLAGS=$save_CFLAGS
26258 fi
26259 done
26260 fi
26261 done
26262
26263 if test "$libs_found" = "0"; then
26264 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26265 echo "${ECHO_T}can't find the right libraries" >&6
26266 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26267 echo "$as_me: error: can't link a simple motif program" >&2;}
26268 { (exit 1); exit 1; }; }
26269 fi
26270
26271 save_CFLAGS=$CFLAGS
26272 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26273 echo "$as_me:$LINENO: checking for Motif 2" >&5
26274 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26275 cat >conftest.$ac_ext <<_ACEOF
26276 /* confdefs.h. */
26277 _ACEOF
26278 cat confdefs.h >>conftest.$ac_ext
26279 cat >>conftest.$ac_ext <<_ACEOF
26280 /* end confdefs.h. */
26281
26282 #include <Xm/Xm.h>
26283
26284 int
26285 main ()
26286 {
26287
26288 #if XmVersion < 2000
26289 #error "Not Motif 2"
26290 #endif
26291
26292 ;
26293 return 0;
26294 }
26295 _ACEOF
26296 rm -f conftest.$ac_objext
26297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26298 (eval $ac_compile) 2>conftest.er1
26299 ac_status=$?
26300 grep -v '^ *+' conftest.er1 >conftest.err
26301 rm -f conftest.er1
26302 cat conftest.err >&5
26303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26304 (exit $ac_status); } &&
26305 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26307 (eval $ac_try) 2>&5
26308 ac_status=$?
26309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26310 (exit $ac_status); }; } &&
26311 { ac_try='test -s conftest.$ac_objext'
26312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26313 (eval $ac_try) 2>&5
26314 ac_status=$?
26315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26316 (exit $ac_status); }; }; then
26317
26318 cat >>confdefs.h <<\_ACEOF
26319 #define __WXMOTIF20__ 1
26320 _ACEOF
26321
26322 echo "$as_me:$LINENO: result: found" >&5
26323 echo "${ECHO_T}found" >&6
26324
26325 else
26326 echo "$as_me: failed program was:" >&5
26327 sed 's/^/| /' conftest.$ac_ext >&5
26328
26329
26330 cat >>confdefs.h <<\_ACEOF
26331 #define __WXMOTIF20__ 0
26332 _ACEOF
26333
26334 echo "$as_me:$LINENO: result: not found" >&5
26335 echo "${ECHO_T}not found" >&6
26336
26337 fi
26338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26339 CFLAGS=$save_CFLAGS
26340
26341 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26342 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
26343 TOOLKIT=MOTIF
26344 GUIDIST=MOTIF_DIST
26345 fi
26346
26347 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26348 if test "$wxUSE_LIBXPM" = "sys"; then
26349 echo "$as_me:$LINENO: checking for Xpm library" >&5
26350 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26351
26352 ac_find_libraries=
26353 for ac_dir in $SEARCH_LIB /usr/lib;
26354 do
26355 for ac_extension in a so sl dylib; do
26356 if test -f "$ac_dir/libXpm.$ac_extension"; then
26357 ac_find_libraries=$ac_dir
26358 break 2
26359 fi
26360 done
26361 done
26362
26363 if test "$ac_find_libraries" != "" ; then
26364
26365 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26366 result=$?
26367 if test $result = 0; then
26368 ac_path_to_link=""
26369 else
26370 ac_path_to_link=" -L$ac_find_libraries"
26371 fi
26372
26373 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26374 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26375 echo "${ECHO_T}found at $ac_find_libraries" >&6
26376
26377 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26378 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26379 if test "${wx_cv_x11_xpm_h+set}" = set; then
26380 echo $ECHO_N "(cached) $ECHO_C" >&6
26381 else
26382
26383 save_CFLAGS=$CFLAGS
26384 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26385
26386 cat >conftest.$ac_ext <<_ACEOF
26387 /* confdefs.h. */
26388 _ACEOF
26389 cat confdefs.h >>conftest.$ac_ext
26390 cat >>conftest.$ac_ext <<_ACEOF
26391 /* end confdefs.h. */
26392
26393 #include <X11/xpm.h>
26394
26395 int
26396 main ()
26397 {
26398
26399 int version;
26400 version = XpmLibraryVersion();
26401
26402 ;
26403 return 0;
26404 }
26405 _ACEOF
26406 rm -f conftest.$ac_objext
26407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26408 (eval $ac_compile) 2>conftest.er1
26409 ac_status=$?
26410 grep -v '^ *+' conftest.er1 >conftest.err
26411 rm -f conftest.er1
26412 cat conftest.err >&5
26413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26414 (exit $ac_status); } &&
26415 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26417 (eval $ac_try) 2>&5
26418 ac_status=$?
26419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26420 (exit $ac_status); }; } &&
26421 { ac_try='test -s conftest.$ac_objext'
26422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26423 (eval $ac_try) 2>&5
26424 ac_status=$?
26425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26426 (exit $ac_status); }; }; then
26427 wx_cv_x11_xpm_h=yes
26428 else
26429 echo "$as_me: failed program was:" >&5
26430 sed 's/^/| /' conftest.$ac_ext >&5
26431
26432 wx_cv_x11_xpm_h=no
26433
26434 fi
26435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26436
26437 CFLAGS=$save_CFLAGS
26438
26439
26440 fi
26441 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26442 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26443
26444 if test $wx_cv_x11_xpm_h = "yes"; then
26445 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26446 cat >>confdefs.h <<\_ACEOF
26447 #define wxHAVE_LIB_XPM 1
26448 _ACEOF
26449
26450 else
26451 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26452 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26453 fi
26454 fi
26455
26456 fi
26457
26458 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26459 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26460 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26461 echo $ECHO_N "(cached) $ECHO_C" >&6
26462 else
26463 ac_check_lib_save_LIBS=$LIBS
26464 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26465 cat >conftest.$ac_ext <<_ACEOF
26466 /* confdefs.h. */
26467 _ACEOF
26468 cat confdefs.h >>conftest.$ac_ext
26469 cat >>conftest.$ac_ext <<_ACEOF
26470 /* end confdefs.h. */
26471
26472 /* Override any gcc2 internal prototype to avoid an error. */
26473 #ifdef __cplusplus
26474 extern "C"
26475 #endif
26476 /* We use char because int might match the return type of a gcc2
26477 builtin and then its argument prototype would still apply. */
26478 char XShapeQueryExtension ();
26479 int
26480 main ()
26481 {
26482 XShapeQueryExtension ();
26483 ;
26484 return 0;
26485 }
26486 _ACEOF
26487 rm -f conftest.$ac_objext conftest$ac_exeext
26488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26489 (eval $ac_link) 2>conftest.er1
26490 ac_status=$?
26491 grep -v '^ *+' conftest.er1 >conftest.err
26492 rm -f conftest.er1
26493 cat conftest.err >&5
26494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26495 (exit $ac_status); } &&
26496 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26498 (eval $ac_try) 2>&5
26499 ac_status=$?
26500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26501 (exit $ac_status); }; } &&
26502 { ac_try='test -s conftest$ac_exeext'
26503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26504 (eval $ac_try) 2>&5
26505 ac_status=$?
26506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26507 (exit $ac_status); }; }; then
26508 ac_cv_lib_Xext_XShapeQueryExtension=yes
26509 else
26510 echo "$as_me: failed program was:" >&5
26511 sed 's/^/| /' conftest.$ac_ext >&5
26512
26513 ac_cv_lib_Xext_XShapeQueryExtension=no
26514 fi
26515 rm -f conftest.err conftest.$ac_objext \
26516 conftest$ac_exeext conftest.$ac_ext
26517 LIBS=$ac_check_lib_save_LIBS
26518 fi
26519 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26520 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26521 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26522
26523 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26524 wxHAVE_XEXT_LIB=1
26525
26526 fi
26527
26528
26529 if test "$wxHAVE_XEXT_LIB" = 1; then
26530 save_CFLAGS="$CFLAGS"
26531 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26532
26533 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26534 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26535 cat >conftest.$ac_ext <<_ACEOF
26536 /* confdefs.h. */
26537 _ACEOF
26538 cat confdefs.h >>conftest.$ac_ext
26539 cat >>conftest.$ac_ext <<_ACEOF
26540 /* end confdefs.h. */
26541
26542 #include <X11/Xlib.h>
26543 #include <X11/extensions/shape.h>
26544
26545 int
26546 main ()
26547 {
26548
26549 int dummy1, dummy2;
26550 XShapeQueryExtension((Display*)NULL,
26551 (int*)NULL, (int*)NULL);
26552
26553 ;
26554 return 0;
26555 }
26556 _ACEOF
26557 rm -f conftest.$ac_objext
26558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26559 (eval $ac_compile) 2>conftest.er1
26560 ac_status=$?
26561 grep -v '^ *+' conftest.er1 >conftest.err
26562 rm -f conftest.er1
26563 cat conftest.err >&5
26564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26565 (exit $ac_status); } &&
26566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26568 (eval $ac_try) 2>&5
26569 ac_status=$?
26570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26571 (exit $ac_status); }; } &&
26572 { ac_try='test -s conftest.$ac_objext'
26573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26574 (eval $ac_try) 2>&5
26575 ac_status=$?
26576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26577 (exit $ac_status); }; }; then
26578
26579 cat >>confdefs.h <<\_ACEOF
26580 #define HAVE_XSHAPE 1
26581 _ACEOF
26582
26583 echo "$as_me:$LINENO: result: found" >&5
26584 echo "${ECHO_T}found" >&6
26585
26586 else
26587 echo "$as_me: failed program was:" >&5
26588 sed 's/^/| /' conftest.$ac_ext >&5
26589
26590
26591 echo "$as_me:$LINENO: result: not found" >&5
26592 echo "${ECHO_T}not found" >&6
26593
26594 fi
26595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26596 CFLAGS="$save_CFLAGS"
26597
26598 fi
26599 fi
26600
26601 if test "$wxUSE_MAC" = 1; then
26602 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26603 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26604 if test "$GCC" = yes; then
26605 echo "$as_me:$LINENO: result: gcc" >&5
26606 echo "${ECHO_T}gcc" >&6
26607 CPPFLAGS_PASCAL="-fpascal-strings"
26608 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26609 echo "$as_me:$LINENO: result: xlc" >&5
26610 echo "${ECHO_T}xlc" >&6
26611 CPPFLAGS_PASCAL="-qmacpstr"
26612 else
26613 echo "$as_me:$LINENO: result: none" >&5
26614 echo "${ECHO_T}none" >&6
26615 fi
26616
26617 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
26618
26619 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
26620 TOOLKIT=MAC
26621 GUIDIST=MACX_DIST
26622 WXBASEPORT="_carbon"
26623 fi
26624
26625 if test "$wxUSE_COCOA" = 1; then
26626 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
26627 TOOLKIT=COCOA
26628 GUIDIST=COCOA_DIST
26629 fi
26630
26631 if test "$wxUSE_PM" = 1; then
26632 TOOLKIT=PM
26633 GUIDIST=GTK_DIST
26634 fi
26635
26636 if test "$TOOLKIT" = "PM" ; then
26637 TOOLKIT_DIR="os2"
26638 else
26639 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26640 fi
26641
26642 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
26643
26644 if test "$wxUSE_UNIVERSAL" = "yes"; then
26645 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
26646
26647 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
26648 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
26649
26650 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
26651 if test "$wxUSE_X11" = 1; then
26652 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
26653 else
26654 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
26655 fi
26656 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26657 WIDGET_SET=univ
26658 else
26659 ALL_OBJECTS="\$(GUIOBJS)"
26660 ALL_SOURCES="\$(ALL_SOURCES)"
26661 ALL_HEADERS="\$(ALL_HEADERS)"
26662 fi
26663
26664 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
26665
26666 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
26667 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
26668 fi
26669
26670 if test "$wxUSE_HTML" = "yes"; then
26671 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
26672 fi
26673
26674 if test "$wxUSE_LIBJPEG" = "builtin" ; then
26675 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
26676 fi
26677 if test "$wxUSE_LIBTIFF" = "builtin" ; then
26678 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
26679 fi
26680 if test "$wxUSE_LIBPNG" = "builtin" ; then
26681 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
26682 fi
26683
26684 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26685 DISTDIR="wx\$(TOOLKIT)"
26686 else
26687 USE_GUI=0
26688
26689 TOOLKIT_DIR="base"
26690
26691 if test "$USE_WIN32" = 1 ; then
26692 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
26693 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
26694
26695 TOOLKIT="MSW"
26696 else
26697 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
26698 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
26699 fi
26700
26701 ALL_SOURCES="\$(ALL_SOURCES)"
26702 ALL_HEADERS="\$(ALL_HEADERS)"
26703
26704 PORT_FILES="\${top_srcdir}/src/files.lst"
26705
26706 GUIDIST="BASE_DIST"
26707 DISTDIR="wxBase"
26708 fi
26709
26710
26711
26712
26713 IODBC_C_SRC=""
26714
26715
26716 if test "$TOOLKIT" != "MSW" ; then
26717
26718 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26719
26720 if test "${ac_cv_header_sql_h+set}" = set; then
26721 echo "$as_me:$LINENO: checking for sql.h" >&5
26722 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26723 if test "${ac_cv_header_sql_h+set}" = set; then
26724 echo $ECHO_N "(cached) $ECHO_C" >&6
26725 fi
26726 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26727 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26728 else
26729 # Is the header compilable?
26730 echo "$as_me:$LINENO: checking sql.h usability" >&5
26731 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26732 cat >conftest.$ac_ext <<_ACEOF
26733 /* confdefs.h. */
26734 _ACEOF
26735 cat confdefs.h >>conftest.$ac_ext
26736 cat >>conftest.$ac_ext <<_ACEOF
26737 /* end confdefs.h. */
26738 $ac_includes_default
26739 #include <sql.h>
26740 _ACEOF
26741 rm -f conftest.$ac_objext
26742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26743 (eval $ac_compile) 2>conftest.er1
26744 ac_status=$?
26745 grep -v '^ *+' conftest.er1 >conftest.err
26746 rm -f conftest.er1
26747 cat conftest.err >&5
26748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26749 (exit $ac_status); } &&
26750 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26752 (eval $ac_try) 2>&5
26753 ac_status=$?
26754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26755 (exit $ac_status); }; } &&
26756 { ac_try='test -s conftest.$ac_objext'
26757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26758 (eval $ac_try) 2>&5
26759 ac_status=$?
26760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26761 (exit $ac_status); }; }; then
26762 ac_header_compiler=yes
26763 else
26764 echo "$as_me: failed program was:" >&5
26765 sed 's/^/| /' conftest.$ac_ext >&5
26766
26767 ac_header_compiler=no
26768 fi
26769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26770 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26771 echo "${ECHO_T}$ac_header_compiler" >&6
26772
26773 # Is the header present?
26774 echo "$as_me:$LINENO: checking sql.h presence" >&5
26775 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26776 cat >conftest.$ac_ext <<_ACEOF
26777 /* confdefs.h. */
26778 _ACEOF
26779 cat confdefs.h >>conftest.$ac_ext
26780 cat >>conftest.$ac_ext <<_ACEOF
26781 /* end confdefs.h. */
26782 #include <sql.h>
26783 _ACEOF
26784 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26785 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26786 ac_status=$?
26787 grep -v '^ *+' conftest.er1 >conftest.err
26788 rm -f conftest.er1
26789 cat conftest.err >&5
26790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26791 (exit $ac_status); } >/dev/null; then
26792 if test -s conftest.err; then
26793 ac_cpp_err=$ac_c_preproc_warn_flag
26794 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26795 else
26796 ac_cpp_err=
26797 fi
26798 else
26799 ac_cpp_err=yes
26800 fi
26801 if test -z "$ac_cpp_err"; then
26802 ac_header_preproc=yes
26803 else
26804 echo "$as_me: failed program was:" >&5
26805 sed 's/^/| /' conftest.$ac_ext >&5
26806
26807 ac_header_preproc=no
26808 fi
26809 rm -f conftest.err conftest.$ac_ext
26810 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26811 echo "${ECHO_T}$ac_header_preproc" >&6
26812
26813 # So? What about this header?
26814 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26815 yes:no: )
26816 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26817 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26818 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26819 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26820 ac_header_preproc=yes
26821 ;;
26822 no:yes:* )
26823 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26824 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26825 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26826 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26827 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26828 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26829 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26830 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26831 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26832 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26833 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26834 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26835 (
26836 cat <<\_ASBOX
26837 ## ----------------------------------------- ##
26838 ## Report this to wx-dev@lists.wxwindows.org ##
26839 ## ----------------------------------------- ##
26840 _ASBOX
26841 ) |
26842 sed "s/^/$as_me: WARNING: /" >&2
26843 ;;
26844 esac
26845 echo "$as_me:$LINENO: checking for sql.h" >&5
26846 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26847 if test "${ac_cv_header_sql_h+set}" = set; then
26848 echo $ECHO_N "(cached) $ECHO_C" >&6
26849 else
26850 ac_cv_header_sql_h=$ac_header_preproc
26851 fi
26852 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26853 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26854
26855 fi
26856 if test $ac_cv_header_sql_h = yes; then
26857 found_sql_h=1
26858 fi
26859
26860
26861 if test "x$found_sql_h" = "x1" ; then
26862 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26863 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26864 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26865 echo $ECHO_N "(cached) $ECHO_C" >&6
26866 else
26867 ac_check_lib_save_LIBS=$LIBS
26868 LIBS="-liodbc $LIBS"
26869 cat >conftest.$ac_ext <<_ACEOF
26870 /* confdefs.h. */
26871 _ACEOF
26872 cat confdefs.h >>conftest.$ac_ext
26873 cat >>conftest.$ac_ext <<_ACEOF
26874 /* end confdefs.h. */
26875
26876 /* Override any gcc2 internal prototype to avoid an error. */
26877 #ifdef __cplusplus
26878 extern "C"
26879 #endif
26880 /* We use char because int might match the return type of a gcc2
26881 builtin and then its argument prototype would still apply. */
26882 char SQLAllocEnv ();
26883 int
26884 main ()
26885 {
26886 SQLAllocEnv ();
26887 ;
26888 return 0;
26889 }
26890 _ACEOF
26891 rm -f conftest.$ac_objext conftest$ac_exeext
26892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26893 (eval $ac_link) 2>conftest.er1
26894 ac_status=$?
26895 grep -v '^ *+' conftest.er1 >conftest.err
26896 rm -f conftest.er1
26897 cat conftest.err >&5
26898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26899 (exit $ac_status); } &&
26900 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26902 (eval $ac_try) 2>&5
26903 ac_status=$?
26904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26905 (exit $ac_status); }; } &&
26906 { ac_try='test -s conftest$ac_exeext'
26907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26908 (eval $ac_try) 2>&5
26909 ac_status=$?
26910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26911 (exit $ac_status); }; }; then
26912 ac_cv_lib_iodbc_SQLAllocEnv=yes
26913 else
26914 echo "$as_me: failed program was:" >&5
26915 sed 's/^/| /' conftest.$ac_ext >&5
26916
26917 ac_cv_lib_iodbc_SQLAllocEnv=no
26918 fi
26919 rm -f conftest.err conftest.$ac_objext \
26920 conftest$ac_exeext conftest.$ac_ext
26921 LIBS=$ac_check_lib_save_LIBS
26922 fi
26923 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26924 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26925 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
26926 ODBC_LINK=" -liodbc"
26927 else
26928
26929 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26930 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26931 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26932 echo $ECHO_N "(cached) $ECHO_C" >&6
26933 else
26934 ac_check_lib_save_LIBS=$LIBS
26935 LIBS="-lunixodbc $LIBS"
26936 cat >conftest.$ac_ext <<_ACEOF
26937 /* confdefs.h. */
26938 _ACEOF
26939 cat confdefs.h >>conftest.$ac_ext
26940 cat >>conftest.$ac_ext <<_ACEOF
26941 /* end confdefs.h. */
26942
26943 /* Override any gcc2 internal prototype to avoid an error. */
26944 #ifdef __cplusplus
26945 extern "C"
26946 #endif
26947 /* We use char because int might match the return type of a gcc2
26948 builtin and then its argument prototype would still apply. */
26949 char SQLAllocEnv ();
26950 int
26951 main ()
26952 {
26953 SQLAllocEnv ();
26954 ;
26955 return 0;
26956 }
26957 _ACEOF
26958 rm -f conftest.$ac_objext conftest$ac_exeext
26959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26960 (eval $ac_link) 2>conftest.er1
26961 ac_status=$?
26962 grep -v '^ *+' conftest.er1 >conftest.err
26963 rm -f conftest.er1
26964 cat conftest.err >&5
26965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26966 (exit $ac_status); } &&
26967 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26969 (eval $ac_try) 2>&5
26970 ac_status=$?
26971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26972 (exit $ac_status); }; } &&
26973 { ac_try='test -s conftest$ac_exeext'
26974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26975 (eval $ac_try) 2>&5
26976 ac_status=$?
26977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26978 (exit $ac_status); }; }; then
26979 ac_cv_lib_unixodbc_SQLAllocEnv=yes
26980 else
26981 echo "$as_me: failed program was:" >&5
26982 sed 's/^/| /' conftest.$ac_ext >&5
26983
26984 ac_cv_lib_unixodbc_SQLAllocEnv=no
26985 fi
26986 rm -f conftest.err conftest.$ac_objext \
26987 conftest$ac_exeext conftest.$ac_ext
26988 LIBS=$ac_check_lib_save_LIBS
26989 fi
26990 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
26991 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
26992 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
26993 ODBC_LINK=" -lunixodbc"
26994 else
26995
26996 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
26997 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
26998 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
26999 echo $ECHO_N "(cached) $ECHO_C" >&6
27000 else
27001 ac_check_lib_save_LIBS=$LIBS
27002 LIBS="-lodbc $LIBS"
27003 cat >conftest.$ac_ext <<_ACEOF
27004 /* confdefs.h. */
27005 _ACEOF
27006 cat confdefs.h >>conftest.$ac_ext
27007 cat >>conftest.$ac_ext <<_ACEOF
27008 /* end confdefs.h. */
27009
27010 /* Override any gcc2 internal prototype to avoid an error. */
27011 #ifdef __cplusplus
27012 extern "C"
27013 #endif
27014 /* We use char because int might match the return type of a gcc2
27015 builtin and then its argument prototype would still apply. */
27016 char SQLAllocEnv ();
27017 int
27018 main ()
27019 {
27020 SQLAllocEnv ();
27021 ;
27022 return 0;
27023 }
27024 _ACEOF
27025 rm -f conftest.$ac_objext conftest$ac_exeext
27026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27027 (eval $ac_link) 2>conftest.er1
27028 ac_status=$?
27029 grep -v '^ *+' conftest.er1 >conftest.err
27030 rm -f conftest.er1
27031 cat conftest.err >&5
27032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27033 (exit $ac_status); } &&
27034 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27036 (eval $ac_try) 2>&5
27037 ac_status=$?
27038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27039 (exit $ac_status); }; } &&
27040 { ac_try='test -s conftest$ac_exeext'
27041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27042 (eval $ac_try) 2>&5
27043 ac_status=$?
27044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27045 (exit $ac_status); }; }; then
27046 ac_cv_lib_odbc_SQLAllocEnv=yes
27047 else
27048 echo "$as_me: failed program was:" >&5
27049 sed 's/^/| /' conftest.$ac_ext >&5
27050
27051 ac_cv_lib_odbc_SQLAllocEnv=no
27052 fi
27053 rm -f conftest.err conftest.$ac_objext \
27054 conftest$ac_exeext conftest.$ac_ext
27055 LIBS=$ac_check_lib_save_LIBS
27056 fi
27057 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27058 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27059 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27060 ODBC_LINK=" -lodbc"
27061 fi
27062
27063
27064 fi
27065
27066
27067 fi
27068
27069 fi
27070 if test "x$ODBC_LINK" = "x" ; then
27071 if test "$wxUSE_ODBC" = "sys" ; then
27072 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27073 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27074 { (exit 1); exit 1; }; }
27075 else
27076 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27077 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27078 wxUSE_ODBC=builtin
27079 fi
27080 else
27081 wxUSE_ODBC=sys
27082 fi
27083 fi
27084 if test "$wxUSE_ODBC" != "no" ; then
27085 cat >>confdefs.h <<\_ACEOF
27086 #define wxUSE_ODBC 1
27087 _ACEOF
27088
27089 if test "$wxUSE_ODBC" = "builtin" ; then
27090 cat >>confdefs.h <<\_ACEOF
27091 #define wxUSE_BUILTIN_IODBC 1
27092 _ACEOF
27093
27094 fi
27095 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
27096
27097 WXODBCFLAG="-D_IODBC_"
27098 fi
27099 fi
27100
27101 if test "$wxUSE_REGEX" = "builtin" ; then
27102 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
27103 fi
27104 if test "$wxUSE_ZLIB" = "builtin" ; then
27105 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
27106 fi
27107
27108 if test "$wxUSE_DISPLAY" = "yes"; then
27109 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1; then
27110 echo "$as_me:$LINENO: checking for Xinerama" >&5
27111 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27112
27113 ac_find_libraries=
27114 for ac_dir in $SEARCH_LIB /usr/lib;
27115 do
27116 for ac_extension in a so sl dylib; do
27117 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27118 ac_find_libraries=$ac_dir
27119 break 2
27120 fi
27121 done
27122 done
27123
27124 if test "$ac_find_libraries" != "" ; then
27125
27126 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27127 result=$?
27128 if test $result = 0; then
27129 ac_path_to_link=""
27130 else
27131 ac_path_to_link=" -L$ac_find_libraries"
27132 fi
27133
27134 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27135 LDFLAGS="$LDFLAGS $ac_path_to_link"
27136 fi
27137 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
27138 echo "$as_me:$LINENO: result: yes" >&5
27139 echo "${ECHO_T}yes" >&6
27140
27141 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27142 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27143
27144 ac_find_libraries=
27145 for ac_dir in $SEARCH_LIB /usr/lib;
27146 do
27147 for ac_extension in a so sl dylib; do
27148 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27149 ac_find_libraries=$ac_dir
27150 break 2
27151 fi
27152 done
27153 done
27154
27155 if test "$ac_find_libraries" != "" ; then
27156 echo "$as_me:$LINENO: result: yes" >&5
27157 echo "${ECHO_T}yes" >&6
27158
27159 for ac_header in X11/extensions/xf86vmode.h
27160 do
27161 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27162 echo "$as_me:$LINENO: checking for $ac_header" >&5
27163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27165 echo $ECHO_N "(cached) $ECHO_C" >&6
27166 else
27167 cat >conftest.$ac_ext <<_ACEOF
27168 /* confdefs.h. */
27169 _ACEOF
27170 cat confdefs.h >>conftest.$ac_ext
27171 cat >>conftest.$ac_ext <<_ACEOF
27172 /* end confdefs.h. */
27173
27174 #if HAVE_X11_XLIB_H
27175 #include <X11/Xlib.h>
27176 #endif
27177
27178
27179 #include <$ac_header>
27180 _ACEOF
27181 rm -f conftest.$ac_objext
27182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27183 (eval $ac_compile) 2>conftest.er1
27184 ac_status=$?
27185 grep -v '^ *+' conftest.er1 >conftest.err
27186 rm -f conftest.er1
27187 cat conftest.err >&5
27188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27189 (exit $ac_status); } &&
27190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27192 (eval $ac_try) 2>&5
27193 ac_status=$?
27194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27195 (exit $ac_status); }; } &&
27196 { ac_try='test -s conftest.$ac_objext'
27197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27198 (eval $ac_try) 2>&5
27199 ac_status=$?
27200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27201 (exit $ac_status); }; }; then
27202 eval "$as_ac_Header=yes"
27203 else
27204 echo "$as_me: failed program was:" >&5
27205 sed 's/^/| /' conftest.$ac_ext >&5
27206
27207 eval "$as_ac_Header=no"
27208 fi
27209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27210 fi
27211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27212 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27213 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27214 cat >>confdefs.h <<_ACEOF
27215 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27216 _ACEOF
27217
27218 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27219
27220 fi
27221
27222 done
27223
27224 else
27225 echo "$as_me:$LINENO: result: no" >&5
27226 echo "${ECHO_T}no" >&6
27227 fi
27228
27229 else
27230 echo "$as_me:$LINENO: result: no" >&5
27231 echo "${ECHO_T}no" >&6
27232 { echo "$as_me:$LINENO: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&5
27233 echo "$as_me: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&2;}
27234 wxUSE_DISPLAY="no"
27235 fi
27236 fi
27237 fi
27238
27239
27240 USE_OPENGL=0
27241 if test "$wxUSE_OPENGL" = "yes"; then
27242 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27243 OPENGL_LIBS="-framework OpenGL -framework AGL"
27244 elif test "$wxUSE_MSW" = 1; then
27245 OPENGL_LIBS="-lopengl32 -lglu32"
27246 else
27247
27248
27249 ac_find_includes=
27250 for ac_dir in $SEARCH_INCLUDE /usr/include;
27251 do
27252 if test -f "$ac_dir/GL/gl.h"; then
27253 ac_find_includes=$ac_dir
27254 break
27255 fi
27256 done
27257
27258 if test "$ac_find_includes" != "" ; then
27259 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27260 echo "${ECHO_T}found in $ac_find_includes" >&6
27261
27262 if test "x$ac_find_includes" = "x/usr/include"; then
27263 ac_path_to_include=""
27264 else
27265 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27266 result=$?
27267 if test $result = 0; then
27268 ac_path_to_include=""
27269 else
27270 ac_path_to_include=" -I$ac_find_includes"
27271 fi
27272 fi
27273
27274 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
27275 fi
27276
27277 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27278 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27279 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27280 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27281 echo $ECHO_N "(cached) $ECHO_C" >&6
27282 fi
27283 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27284 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27285 else
27286 # Is the header compilable?
27287 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27288 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27289 cat >conftest.$ac_ext <<_ACEOF
27290 /* confdefs.h. */
27291 _ACEOF
27292 cat confdefs.h >>conftest.$ac_ext
27293 cat >>conftest.$ac_ext <<_ACEOF
27294 /* end confdefs.h. */
27295 $ac_includes_default
27296 #include <GL/gl.h>
27297 _ACEOF
27298 rm -f conftest.$ac_objext
27299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27300 (eval $ac_compile) 2>conftest.er1
27301 ac_status=$?
27302 grep -v '^ *+' conftest.er1 >conftest.err
27303 rm -f conftest.er1
27304 cat conftest.err >&5
27305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27306 (exit $ac_status); } &&
27307 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27309 (eval $ac_try) 2>&5
27310 ac_status=$?
27311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27312 (exit $ac_status); }; } &&
27313 { ac_try='test -s conftest.$ac_objext'
27314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27315 (eval $ac_try) 2>&5
27316 ac_status=$?
27317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27318 (exit $ac_status); }; }; then
27319 ac_header_compiler=yes
27320 else
27321 echo "$as_me: failed program was:" >&5
27322 sed 's/^/| /' conftest.$ac_ext >&5
27323
27324 ac_header_compiler=no
27325 fi
27326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27327 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27328 echo "${ECHO_T}$ac_header_compiler" >&6
27329
27330 # Is the header present?
27331 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27332 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27333 cat >conftest.$ac_ext <<_ACEOF
27334 /* confdefs.h. */
27335 _ACEOF
27336 cat confdefs.h >>conftest.$ac_ext
27337 cat >>conftest.$ac_ext <<_ACEOF
27338 /* end confdefs.h. */
27339 #include <GL/gl.h>
27340 _ACEOF
27341 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27342 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27343 ac_status=$?
27344 grep -v '^ *+' conftest.er1 >conftest.err
27345 rm -f conftest.er1
27346 cat conftest.err >&5
27347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27348 (exit $ac_status); } >/dev/null; then
27349 if test -s conftest.err; then
27350 ac_cpp_err=$ac_c_preproc_warn_flag
27351 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27352 else
27353 ac_cpp_err=
27354 fi
27355 else
27356 ac_cpp_err=yes
27357 fi
27358 if test -z "$ac_cpp_err"; then
27359 ac_header_preproc=yes
27360 else
27361 echo "$as_me: failed program was:" >&5
27362 sed 's/^/| /' conftest.$ac_ext >&5
27363
27364 ac_header_preproc=no
27365 fi
27366 rm -f conftest.err conftest.$ac_ext
27367 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27368 echo "${ECHO_T}$ac_header_preproc" >&6
27369
27370 # So? What about this header?
27371 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27372 yes:no: )
27373 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27374 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27375 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27376 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27377 ac_header_preproc=yes
27378 ;;
27379 no:yes:* )
27380 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27381 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27382 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27383 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27384 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27385 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27386 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27387 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27388 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27389 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27390 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27391 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27392 (
27393 cat <<\_ASBOX
27394 ## ----------------------------------------- ##
27395 ## Report this to wx-dev@lists.wxwindows.org ##
27396 ## ----------------------------------------- ##
27397 _ASBOX
27398 ) |
27399 sed "s/^/$as_me: WARNING: /" >&2
27400 ;;
27401 esac
27402 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27403 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27404 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27405 echo $ECHO_N "(cached) $ECHO_C" >&6
27406 else
27407 ac_cv_header_GL_gl_h=$ac_header_preproc
27408 fi
27409 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27410 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27411
27412 fi
27413 if test $ac_cv_header_GL_gl_h = yes; then
27414
27415 found_gl=0
27416
27417 echo "$as_me:$LINENO: checking for -lGL" >&5
27418 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27419
27420 ac_find_libraries=
27421 for ac_dir in $SEARCH_LIB /usr/lib;
27422 do
27423 for ac_extension in a so sl dylib; do
27424 if test -f "$ac_dir/libGL.$ac_extension"; then
27425 ac_find_libraries=$ac_dir
27426 break 2
27427 fi
27428 done
27429 done
27430
27431 if test "$ac_find_libraries" != "" ; then
27432
27433 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27434 result=$?
27435 if test $result = 0; then
27436 ac_path_to_link=""
27437 else
27438 ac_path_to_link=" -L$ac_find_libraries"
27439 fi
27440
27441 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27442 LDFLAGS_GL="$ac_path_to_link"
27443 fi
27444
27445
27446 ac_find_libraries=
27447 for ac_dir in $SEARCH_LIB /usr/lib;
27448 do
27449 for ac_extension in a so sl dylib; do
27450 if test -f "$ac_dir/libGLU.$ac_extension"; then
27451 ac_find_libraries=$ac_dir
27452 break 2
27453 fi
27454 done
27455 done
27456
27457 if test "$ac_find_libraries" != "" ; then
27458
27459 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27460 result=$?
27461 if test $result = 0; then
27462 ac_path_to_link=""
27463 else
27464 ac_path_to_link=" -L$ac_find_libraries"
27465 fi
27466
27467 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27468 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27469 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
27470 fi
27471
27472 found_gl=1
27473 OPENGL_LIBS="-lGL -lGLU"
27474 echo "$as_me:$LINENO: result: yes" >&5
27475 echo "${ECHO_T}yes" >&6
27476 fi
27477 fi
27478
27479 if test "$found_gl" != 1; then
27480 echo "$as_me:$LINENO: result: no" >&5
27481 echo "${ECHO_T}no" >&6
27482 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27483 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27484
27485 ac_find_libraries=
27486 for ac_dir in $SEARCH_LIB /usr/lib;
27487 do
27488 for ac_extension in a so sl dylib; do
27489 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27490 ac_find_libraries=$ac_dir
27491 break 2
27492 fi
27493 done
27494 done
27495
27496 if test "$ac_find_libraries" != "" ; then
27497
27498 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27499 result=$?
27500 if test $result = 0; then
27501 ac_path_to_link=""
27502 else
27503 ac_path_to_link=" -L$ac_find_libraries"
27504 fi
27505
27506 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
27507 OPENGL_LIBS="-lMesaGL -lMesaGLU"
27508 echo "$as_me:$LINENO: result: yes" >&5
27509 echo "${ECHO_T}yes" >&6
27510 else
27511 echo "$as_me:$LINENO: result: no" >&5
27512 echo "${ECHO_T}no" >&6
27513 fi
27514 fi
27515
27516 fi
27517
27518
27519
27520 if test "x$OPENGL_LIBS" = "x"; then
27521 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27522 echo "$as_me: error: OpenGL libraries not available" >&2;}
27523 { (exit 1); exit 1; }; }
27524 fi
27525 fi
27526
27527 if test "$wxUSE_OPENGL" = "yes"; then
27528 USE_OPENGL=1
27529 cat >>confdefs.h <<\_ACEOF
27530 #define wxUSE_OPENGL 1
27531 _ACEOF
27532
27533 cat >>confdefs.h <<\_ACEOF
27534 #define wxUSE_GLCANVAS 1
27535 _ACEOF
27536
27537 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27538 fi
27539 fi
27540
27541 if test -z "$TOOLKIT_VPATH" ; then
27542 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
27543 fi
27544
27545 if test -n "$TOOLKIT" ; then
27546 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27547 fi
27548
27549 UNICODE=0
27550 lib_unicode_suffix=
27551 if test "$wxUSE_UNICODE" = "yes"; then
27552 lib_unicode_suffix=u
27553 UNICODE=1
27554 fi
27555
27556 lib_debug_suffix=
27557 DEBUG_FLAG=0
27558 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27559 lib_debug_suffix=d
27560 DEBUG_FLAG=1
27561 fi
27562
27563 DEBUG_INFO=0
27564 if test "$wxUSE_DEBUG_INFO" = "yes"; then
27565 DEBUG_INFO=1
27566 fi
27567
27568 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27569
27570 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
27571 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
27572
27573 if test "$cross_compiling" = "yes"; then
27574 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
27575 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
27576 HOST_SUFFIX="-${host_alias}"
27577 fi
27578
27579 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
27580 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
27581 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
27582 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
27583
27584 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27585 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27586
27587 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
27588 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
27589 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
27590 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27591
27592 case "${host}" in
27593 *-*-cygwin* | *-*-mingw32* )
27594 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
27595 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27596 ;;
27597
27598 *-*-darwin* )
27599
27600 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27601 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27602
27603 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
27604 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
27605 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
27606 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27607
27608 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27609 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
27610 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
27611 fi
27612 ;;
27613 esac
27614
27615 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
27616 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
27617
27618 WXCONFIG_LIBS="-l${WX_LIBRARY}"
27619 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
27620
27621 if test "$wxUSE_OPENGL" = "yes"; then
27622 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
27623 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
27624 fi
27625
27626
27627
27628 if test "$wxUSE_SHARED" = "yes"; then
27629 case "${host}" in
27630 *-pc-os2_emx | *-pc-os2-emx | \
27631 *-pc-msdosdjgpp )
27632 wxUSE_SHARED=no
27633 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27634 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27635 ;;
27636 esac
27637 fi
27638
27639 SHARED=0
27640 if test "$wxUSE_SHARED" = "yes"; then
27641 SHARED=1
27642
27643
27644 found_versioning=no
27645
27646
27647 if test $found_versioning = no ; then
27648 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27649 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27650 if test "${wx_cv_version_script+set}" = set; then
27651 echo $ECHO_N "(cached) $ECHO_C" >&6
27652 else
27653
27654 echo "VER_1 { *; };" >conftest.sym
27655 echo "int main() { return 0; }" >conftest.cpp
27656
27657 if { ac_try='
27658 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27659 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27661 (eval $ac_try) 2>&5
27662 ac_status=$?
27663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27664 (exit $ac_status); }; } ; then
27665 if test -s conftest.stderr ; then
27666 wx_cv_version_script=no
27667 else
27668 wx_cv_version_script=yes
27669 fi
27670 else
27671 wx_cv_version_script=no
27672 fi
27673 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27674
27675 fi
27676 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27677 echo "${ECHO_T}$wx_cv_version_script" >&6
27678 if test $wx_cv_version_script = yes ; then
27679 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
27680 fi
27681 fi
27682
27683
27684 case "${host}" in
27685 *-*-linux* | *-*-gnu* )
27686 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
27687 ;;
27688
27689 *-*-solaris2* )
27690 if test "$GCC" = yes ; then
27691 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
27692
27693 saveLdflags="$LDFLAGS"
27694 LDFLAGS="$saveLdflags -Wl,-rpath,/"
27695 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27696 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27697 cat >conftest.$ac_ext <<_ACEOF
27698 /* confdefs.h. */
27699 _ACEOF
27700 cat confdefs.h >>conftest.$ac_ext
27701 cat >>conftest.$ac_ext <<_ACEOF
27702 /* end confdefs.h. */
27703
27704 int
27705 main ()
27706 {
27707
27708 ;
27709 return 0;
27710 }
27711 _ACEOF
27712 rm -f conftest.$ac_objext conftest$ac_exeext
27713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27714 (eval $ac_link) 2>conftest.er1
27715 ac_status=$?
27716 grep -v '^ *+' conftest.er1 >conftest.err
27717 rm -f conftest.er1
27718 cat conftest.err >&5
27719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27720 (exit $ac_status); } &&
27721 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27723 (eval $ac_try) 2>&5
27724 ac_status=$?
27725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27726 (exit $ac_status); }; } &&
27727 { ac_try='test -s conftest$ac_exeext'
27728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27729 (eval $ac_try) 2>&5
27730 ac_status=$?
27731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27732 (exit $ac_status); }; }; then
27733
27734 echo "$as_me:$LINENO: result: yes" >&5
27735 echo "${ECHO_T}yes" >&6
27736 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
27737
27738 else
27739 echo "$as_me: failed program was:" >&5
27740 sed 's/^/| /' conftest.$ac_ext >&5
27741
27742
27743 echo "$as_me:$LINENO: result: no" >&5
27744 echo "${ECHO_T}no" >&6
27745 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27746 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27747 LDFLAGS="$saveLdflags -Wl,-R,/"
27748 cat >conftest.$ac_ext <<_ACEOF
27749 /* confdefs.h. */
27750 _ACEOF
27751 cat confdefs.h >>conftest.$ac_ext
27752 cat >>conftest.$ac_ext <<_ACEOF
27753 /* end confdefs.h. */
27754
27755 int
27756 main ()
27757 {
27758
27759 ;
27760 return 0;
27761 }
27762 _ACEOF
27763 rm -f conftest.$ac_objext conftest$ac_exeext
27764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27765 (eval $ac_link) 2>conftest.er1
27766 ac_status=$?
27767 grep -v '^ *+' conftest.er1 >conftest.err
27768 rm -f conftest.er1
27769 cat conftest.err >&5
27770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27771 (exit $ac_status); } &&
27772 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27774 (eval $ac_try) 2>&5
27775 ac_status=$?
27776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27777 (exit $ac_status); }; } &&
27778 { ac_try='test -s conftest$ac_exeext'
27779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27780 (eval $ac_try) 2>&5
27781 ac_status=$?
27782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27783 (exit $ac_status); }; }; then
27784
27785 echo "$as_me:$LINENO: result: yes" >&5
27786 echo "${ECHO_T}yes" >&6
27787 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
27788 else
27789 echo "$as_me: failed program was:" >&5
27790 sed 's/^/| /' conftest.$ac_ext >&5
27791
27792
27793 echo "$as_me:$LINENO: result: no" >&5
27794 echo "${ECHO_T}no" >&6
27795
27796 fi
27797 rm -f conftest.err conftest.$ac_objext \
27798 conftest$ac_exeext conftest.$ac_ext
27799
27800 fi
27801 rm -f conftest.err conftest.$ac_objext \
27802 conftest$ac_exeext conftest.$ac_ext
27803 LDFLAGS="$saveLdflags"
27804 else
27805 SHARED_LD="${CXX} -G -o"
27806 PIC_FLAG="-KPIC"
27807 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
27808 fi
27809 ;;
27810
27811 powerpc-*-darwin* )
27812 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
27813 cat <<EOF >change-install-names
27814 #!/bin/sh
27815 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
27816 inst_cmd="install_name_tool "
27817 for i in \${libnames} ; do
27818 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
27819 done
27820 \${inst_cmd} \${3}
27821 EOF
27822 chmod +x change-install-names
27823 ;;
27824
27825 esac
27826
27827 if test "x$WX_TARGET_LIBRARY" = "x"; then
27828 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
27829 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
27830 fi
27831
27832 WX_TARGET_LIBRARY_TYPE="so"
27833 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
27834 fi
27835
27836 if test "$wxUSE_SHARED" = "no"; then
27837
27838 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
27839 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
27840 fi
27841
27842 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
27843 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
27844 fi
27845
27846 if test "$wxUSE_OPENGL" = "yes"; then
27847 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
27848 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
27849 else
27850 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
27851 fi
27852
27853 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
27854 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
27855
27856 WX_TARGET_LIBRARY_TYPE="a"
27857 INSTALL_LIBRARY='$(INSTALL_DATA)'
27858
27859 STATIC_FLAG="yes"
27860 else
27861 STATIC_FLAG="no"
27862 fi
27863
27864 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
27865 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
27866 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
27867 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
27868
27869 # Extract the first word of "Rez", so it can be a program name with args.
27870 set dummy Rez; ac_word=$2
27871 echo "$as_me:$LINENO: checking for $ac_word" >&5
27872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27873 if test "${ac_cv_prog_RESCOMP+set}" = set; then
27874 echo $ECHO_N "(cached) $ECHO_C" >&6
27875 else
27876 if test -n "$RESCOMP"; then
27877 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
27878 else
27879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27880 for as_dir in $PATH
27881 do
27882 IFS=$as_save_IFS
27883 test -z "$as_dir" && as_dir=.
27884 for ac_exec_ext in '' $ac_executable_extensions; do
27885 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27886 ac_cv_prog_RESCOMP="Rez"
27887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27888 break 2
27889 fi
27890 done
27891 done
27892
27893 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
27894 fi
27895 fi
27896 RESCOMP=$ac_cv_prog_RESCOMP
27897 if test -n "$RESCOMP"; then
27898 echo "$as_me:$LINENO: result: $RESCOMP" >&5
27899 echo "${ECHO_T}$RESCOMP" >&6
27900 else
27901 echo "$as_me:$LINENO: result: no" >&5
27902 echo "${ECHO_T}no" >&6
27903 fi
27904
27905 # Extract the first word of "DeRez", so it can be a program name with args.
27906 set dummy DeRez; ac_word=$2
27907 echo "$as_me:$LINENO: checking for $ac_word" >&5
27908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27909 if test "${ac_cv_prog_DEREZ+set}" = set; then
27910 echo $ECHO_N "(cached) $ECHO_C" >&6
27911 else
27912 if test -n "$DEREZ"; then
27913 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
27914 else
27915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27916 for as_dir in $PATH
27917 do
27918 IFS=$as_save_IFS
27919 test -z "$as_dir" && as_dir=.
27920 for ac_exec_ext in '' $ac_executable_extensions; do
27921 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27922 ac_cv_prog_DEREZ="DeRez"
27923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27924 break 2
27925 fi
27926 done
27927 done
27928
27929 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
27930 fi
27931 fi
27932 DEREZ=$ac_cv_prog_DEREZ
27933 if test -n "$DEREZ"; then
27934 echo "$as_me:$LINENO: result: $DEREZ" >&5
27935 echo "${ECHO_T}$DEREZ" >&6
27936 else
27937 echo "$as_me:$LINENO: result: no" >&5
27938 echo "${ECHO_T}no" >&6
27939 fi
27940
27941 # Extract the first word of "SetFile", so it can be a program name with args.
27942 set dummy SetFile; ac_word=$2
27943 echo "$as_me:$LINENO: checking for $ac_word" >&5
27944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27945 if test "${ac_cv_prog_SETFILE+set}" = set; then
27946 echo $ECHO_N "(cached) $ECHO_C" >&6
27947 else
27948 if test -n "$SETFILE"; then
27949 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
27950 else
27951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27952 for as_dir in $PATH
27953 do
27954 IFS=$as_save_IFS
27955 test -z "$as_dir" && as_dir=.
27956 for ac_exec_ext in '' $ac_executable_extensions; do
27957 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27958 ac_cv_prog_SETFILE="SetFile"
27959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27960 break 2
27961 fi
27962 done
27963 done
27964
27965 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
27966 fi
27967 fi
27968 SETFILE=$ac_cv_prog_SETFILE
27969 if test -n "$SETFILE"; then
27970 echo "$as_me:$LINENO: result: $SETFILE" >&5
27971 echo "${ECHO_T}$SETFILE" >&6
27972 else
27973 echo "$as_me:$LINENO: result: no" >&5
27974 echo "${ECHO_T}no" >&6
27975 fi
27976
27977
27978 MACSETFILE="\$(SETFILE)"
27979
27980 if test "$wxUSE_MAC" = 1; then
27981 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
27982
27983 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27984 else
27985 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
27986 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27987 fi
27988 else
27989 MACSETFILE="@#"
27990 MACRESWXCONFIG="#"
27991
27992 if test "$wxUSE_PM" = 1; then
27993 MACRESCOMP="emxbind -ep"
27994 else
27995 MACRESCOMP="@#"
27996 fi
27997 fi
27998
27999
28000
28001 echo "$as_me:$LINENO: checking for mode_t" >&5
28002 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28003 if test "${ac_cv_type_mode_t+set}" = set; then
28004 echo $ECHO_N "(cached) $ECHO_C" >&6
28005 else
28006 cat >conftest.$ac_ext <<_ACEOF
28007 /* confdefs.h. */
28008 _ACEOF
28009 cat confdefs.h >>conftest.$ac_ext
28010 cat >>conftest.$ac_ext <<_ACEOF
28011 /* end confdefs.h. */
28012 $ac_includes_default
28013 int
28014 main ()
28015 {
28016 if ((mode_t *) 0)
28017 return 0;
28018 if (sizeof (mode_t))
28019 return 0;
28020 ;
28021 return 0;
28022 }
28023 _ACEOF
28024 rm -f conftest.$ac_objext
28025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28026 (eval $ac_compile) 2>conftest.er1
28027 ac_status=$?
28028 grep -v '^ *+' conftest.er1 >conftest.err
28029 rm -f conftest.er1
28030 cat conftest.err >&5
28031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28032 (exit $ac_status); } &&
28033 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28035 (eval $ac_try) 2>&5
28036 ac_status=$?
28037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28038 (exit $ac_status); }; } &&
28039 { ac_try='test -s conftest.$ac_objext'
28040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28041 (eval $ac_try) 2>&5
28042 ac_status=$?
28043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28044 (exit $ac_status); }; }; then
28045 ac_cv_type_mode_t=yes
28046 else
28047 echo "$as_me: failed program was:" >&5
28048 sed 's/^/| /' conftest.$ac_ext >&5
28049
28050 ac_cv_type_mode_t=no
28051 fi
28052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28053 fi
28054 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28055 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28056 if test $ac_cv_type_mode_t = yes; then
28057 :
28058 else
28059
28060 cat >>confdefs.h <<_ACEOF
28061 #define mode_t int
28062 _ACEOF
28063
28064 fi
28065
28066 echo "$as_me:$LINENO: checking for off_t" >&5
28067 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28068 if test "${ac_cv_type_off_t+set}" = set; then
28069 echo $ECHO_N "(cached) $ECHO_C" >&6
28070 else
28071 cat >conftest.$ac_ext <<_ACEOF
28072 /* confdefs.h. */
28073 _ACEOF
28074 cat confdefs.h >>conftest.$ac_ext
28075 cat >>conftest.$ac_ext <<_ACEOF
28076 /* end confdefs.h. */
28077 $ac_includes_default
28078 int
28079 main ()
28080 {
28081 if ((off_t *) 0)
28082 return 0;
28083 if (sizeof (off_t))
28084 return 0;
28085 ;
28086 return 0;
28087 }
28088 _ACEOF
28089 rm -f conftest.$ac_objext
28090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28091 (eval $ac_compile) 2>conftest.er1
28092 ac_status=$?
28093 grep -v '^ *+' conftest.er1 >conftest.err
28094 rm -f conftest.er1
28095 cat conftest.err >&5
28096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28097 (exit $ac_status); } &&
28098 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28100 (eval $ac_try) 2>&5
28101 ac_status=$?
28102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28103 (exit $ac_status); }; } &&
28104 { ac_try='test -s conftest.$ac_objext'
28105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28106 (eval $ac_try) 2>&5
28107 ac_status=$?
28108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28109 (exit $ac_status); }; }; then
28110 ac_cv_type_off_t=yes
28111 else
28112 echo "$as_me: failed program was:" >&5
28113 sed 's/^/| /' conftest.$ac_ext >&5
28114
28115 ac_cv_type_off_t=no
28116 fi
28117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28118 fi
28119 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28120 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28121 if test $ac_cv_type_off_t = yes; then
28122 :
28123 else
28124
28125 cat >>confdefs.h <<_ACEOF
28126 #define off_t long
28127 _ACEOF
28128
28129 fi
28130
28131 echo "$as_me:$LINENO: checking for pid_t" >&5
28132 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28133 if test "${ac_cv_type_pid_t+set}" = set; then
28134 echo $ECHO_N "(cached) $ECHO_C" >&6
28135 else
28136 cat >conftest.$ac_ext <<_ACEOF
28137 /* confdefs.h. */
28138 _ACEOF
28139 cat confdefs.h >>conftest.$ac_ext
28140 cat >>conftest.$ac_ext <<_ACEOF
28141 /* end confdefs.h. */
28142 $ac_includes_default
28143 int
28144 main ()
28145 {
28146 if ((pid_t *) 0)
28147 return 0;
28148 if (sizeof (pid_t))
28149 return 0;
28150 ;
28151 return 0;
28152 }
28153 _ACEOF
28154 rm -f conftest.$ac_objext
28155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28156 (eval $ac_compile) 2>conftest.er1
28157 ac_status=$?
28158 grep -v '^ *+' conftest.er1 >conftest.err
28159 rm -f conftest.er1
28160 cat conftest.err >&5
28161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28162 (exit $ac_status); } &&
28163 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28165 (eval $ac_try) 2>&5
28166 ac_status=$?
28167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28168 (exit $ac_status); }; } &&
28169 { ac_try='test -s conftest.$ac_objext'
28170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28171 (eval $ac_try) 2>&5
28172 ac_status=$?
28173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28174 (exit $ac_status); }; }; then
28175 ac_cv_type_pid_t=yes
28176 else
28177 echo "$as_me: failed program was:" >&5
28178 sed 's/^/| /' conftest.$ac_ext >&5
28179
28180 ac_cv_type_pid_t=no
28181 fi
28182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28183 fi
28184 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28185 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28186 if test $ac_cv_type_pid_t = yes; then
28187 :
28188 else
28189
28190 cat >>confdefs.h <<_ACEOF
28191 #define pid_t int
28192 _ACEOF
28193
28194 fi
28195
28196 echo "$as_me:$LINENO: checking for size_t" >&5
28197 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28198 if test "${ac_cv_type_size_t+set}" = set; then
28199 echo $ECHO_N "(cached) $ECHO_C" >&6
28200 else
28201 cat >conftest.$ac_ext <<_ACEOF
28202 /* confdefs.h. */
28203 _ACEOF
28204 cat confdefs.h >>conftest.$ac_ext
28205 cat >>conftest.$ac_ext <<_ACEOF
28206 /* end confdefs.h. */
28207 $ac_includes_default
28208 int
28209 main ()
28210 {
28211 if ((size_t *) 0)
28212 return 0;
28213 if (sizeof (size_t))
28214 return 0;
28215 ;
28216 return 0;
28217 }
28218 _ACEOF
28219 rm -f conftest.$ac_objext
28220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28221 (eval $ac_compile) 2>conftest.er1
28222 ac_status=$?
28223 grep -v '^ *+' conftest.er1 >conftest.err
28224 rm -f conftest.er1
28225 cat conftest.err >&5
28226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28227 (exit $ac_status); } &&
28228 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28230 (eval $ac_try) 2>&5
28231 ac_status=$?
28232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28233 (exit $ac_status); }; } &&
28234 { ac_try='test -s conftest.$ac_objext'
28235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28236 (eval $ac_try) 2>&5
28237 ac_status=$?
28238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28239 (exit $ac_status); }; }; then
28240 ac_cv_type_size_t=yes
28241 else
28242 echo "$as_me: failed program was:" >&5
28243 sed 's/^/| /' conftest.$ac_ext >&5
28244
28245 ac_cv_type_size_t=no
28246 fi
28247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28248 fi
28249 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28250 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28251 if test $ac_cv_type_size_t = yes; then
28252 :
28253 else
28254
28255 cat >>confdefs.h <<_ACEOF
28256 #define size_t unsigned
28257 _ACEOF
28258
28259 fi
28260
28261 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28262 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28263 if test "${ac_cv_type_uid_t+set}" = set; then
28264 echo $ECHO_N "(cached) $ECHO_C" >&6
28265 else
28266 cat >conftest.$ac_ext <<_ACEOF
28267 /* confdefs.h. */
28268 _ACEOF
28269 cat confdefs.h >>conftest.$ac_ext
28270 cat >>conftest.$ac_ext <<_ACEOF
28271 /* end confdefs.h. */
28272 #include <sys/types.h>
28273
28274 _ACEOF
28275 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28276 $EGREP "uid_t" >/dev/null 2>&1; then
28277 ac_cv_type_uid_t=yes
28278 else
28279 ac_cv_type_uid_t=no
28280 fi
28281 rm -f conftest*
28282
28283 fi
28284 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28285 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28286 if test $ac_cv_type_uid_t = no; then
28287
28288 cat >>confdefs.h <<\_ACEOF
28289 #define uid_t int
28290 _ACEOF
28291
28292
28293 cat >>confdefs.h <<\_ACEOF
28294 #define gid_t int
28295 _ACEOF
28296
28297 fi
28298
28299
28300
28301
28302 ac_ext=cc
28303 ac_cpp='$CXXCPP $CPPFLAGS'
28304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28307
28308 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28309 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28310 if test "${wx_cv_size_t_is_uint+set}" = set; then
28311 echo $ECHO_N "(cached) $ECHO_C" >&6
28312 else
28313
28314 cat >conftest.$ac_ext <<_ACEOF
28315 /* confdefs.h. */
28316 _ACEOF
28317 cat confdefs.h >>conftest.$ac_ext
28318 cat >>conftest.$ac_ext <<_ACEOF
28319 /* end confdefs.h. */
28320 #include <stddef.h>
28321 int
28322 main ()
28323 {
28324
28325 return 0; }
28326
28327 struct Foo { void foo(size_t); void foo(unsigned int); };
28328
28329 int bar() {
28330
28331 ;
28332 return 0;
28333 }
28334 _ACEOF
28335 rm -f conftest.$ac_objext
28336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28337 (eval $ac_compile) 2>conftest.er1
28338 ac_status=$?
28339 grep -v '^ *+' conftest.er1 >conftest.err
28340 rm -f conftest.er1
28341 cat conftest.err >&5
28342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28343 (exit $ac_status); } &&
28344 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28346 (eval $ac_try) 2>&5
28347 ac_status=$?
28348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28349 (exit $ac_status); }; } &&
28350 { ac_try='test -s conftest.$ac_objext'
28351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28352 (eval $ac_try) 2>&5
28353 ac_status=$?
28354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28355 (exit $ac_status); }; }; then
28356 wx_cv_size_t_is_uint=no
28357 else
28358 echo "$as_me: failed program was:" >&5
28359 sed 's/^/| /' conftest.$ac_ext >&5
28360
28361 wx_cv_size_t_is_uint=yes
28362
28363 fi
28364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28365
28366
28367 fi
28368 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28369 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28370
28371 if test "$wx_cv_size_t_is_uint" = "yes"; then
28372 cat >>confdefs.h <<\_ACEOF
28373 #define wxSIZE_T_IS_UINT 1
28374 _ACEOF
28375
28376 else
28377 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28378 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28379 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28380 echo $ECHO_N "(cached) $ECHO_C" >&6
28381 else
28382 cat >conftest.$ac_ext <<_ACEOF
28383 /* confdefs.h. */
28384 _ACEOF
28385 cat confdefs.h >>conftest.$ac_ext
28386 cat >>conftest.$ac_ext <<_ACEOF
28387 /* end confdefs.h. */
28388 #include <stddef.h>
28389 int
28390 main ()
28391 {
28392
28393 return 0; }
28394
28395 struct Foo { void foo(size_t); void foo(unsigned long); };
28396
28397 int bar() {
28398
28399 ;
28400 return 0;
28401 }
28402 _ACEOF
28403 rm -f conftest.$ac_objext
28404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28405 (eval $ac_compile) 2>conftest.er1
28406 ac_status=$?
28407 grep -v '^ *+' conftest.er1 >conftest.err
28408 rm -f conftest.er1
28409 cat conftest.err >&5
28410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28411 (exit $ac_status); } &&
28412 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28414 (eval $ac_try) 2>&5
28415 ac_status=$?
28416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28417 (exit $ac_status); }; } &&
28418 { ac_try='test -s conftest.$ac_objext'
28419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28420 (eval $ac_try) 2>&5
28421 ac_status=$?
28422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28423 (exit $ac_status); }; }; then
28424 wx_cv_size_t_is_ulong=no
28425 else
28426 echo "$as_me: failed program was:" >&5
28427 sed 's/^/| /' conftest.$ac_ext >&5
28428
28429 wx_cv_size_t_is_ulong=yes
28430
28431 fi
28432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28433
28434 fi
28435 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28436 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28437
28438 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28439 cat >>confdefs.h <<\_ACEOF
28440 #define wxSIZE_T_IS_ULONG 1
28441 _ACEOF
28442
28443 fi
28444 fi
28445
28446 ac_ext=c
28447 ac_cpp='$CPP $CPPFLAGS'
28448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28451
28452
28453
28454 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28455 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28456 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28457 echo $ECHO_N "(cached) $ECHO_C" >&6
28458 else
28459
28460 cat >conftest.$ac_ext <<_ACEOF
28461 /* confdefs.h. */
28462 _ACEOF
28463 cat confdefs.h >>conftest.$ac_ext
28464 cat >>conftest.$ac_ext <<_ACEOF
28465 /* end confdefs.h. */
28466 #include <pwd.h>
28467 int
28468 main ()
28469 {
28470
28471 char *p;
28472 struct passwd *pw;
28473 p = pw->pw_gecos;
28474
28475 ;
28476 return 0;
28477 }
28478 _ACEOF
28479 rm -f conftest.$ac_objext
28480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28481 (eval $ac_compile) 2>conftest.er1
28482 ac_status=$?
28483 grep -v '^ *+' conftest.er1 >conftest.err
28484 rm -f conftest.er1
28485 cat conftest.err >&5
28486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28487 (exit $ac_status); } &&
28488 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28490 (eval $ac_try) 2>&5
28491 ac_status=$?
28492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28493 (exit $ac_status); }; } &&
28494 { ac_try='test -s conftest.$ac_objext'
28495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28496 (eval $ac_try) 2>&5
28497 ac_status=$?
28498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28499 (exit $ac_status); }; }; then
28500
28501 wx_cv_struct_pw_gecos=yes
28502
28503 else
28504 echo "$as_me: failed program was:" >&5
28505 sed 's/^/| /' conftest.$ac_ext >&5
28506
28507
28508 wx_cv_struct_pw_gecos=no
28509
28510
28511 fi
28512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28513
28514
28515 fi
28516 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28517 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28518
28519 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28520 cat >>confdefs.h <<\_ACEOF
28521 #define HAVE_PW_GECOS 1
28522 _ACEOF
28523
28524 fi
28525
28526
28527 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28528 cat >>confdefs.h <<\_ACEOF
28529 #define wxUSE_WCHAR_T 1
28530 _ACEOF
28531
28532
28533 WCSLEN_FOUND=0
28534 WCHAR_LINK=
28535
28536 for ac_func in wcslen
28537 do
28538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28539 echo "$as_me:$LINENO: checking for $ac_func" >&5
28540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28541 if eval "test \"\${$as_ac_var+set}\" = set"; then
28542 echo $ECHO_N "(cached) $ECHO_C" >&6
28543 else
28544 cat >conftest.$ac_ext <<_ACEOF
28545 /* confdefs.h. */
28546 _ACEOF
28547 cat confdefs.h >>conftest.$ac_ext
28548 cat >>conftest.$ac_ext <<_ACEOF
28549 /* end confdefs.h. */
28550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28552 #define $ac_func innocuous_$ac_func
28553
28554 /* System header to define __stub macros and hopefully few prototypes,
28555 which can conflict with char $ac_func (); below.
28556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28557 <limits.h> exists even on freestanding compilers. */
28558
28559 #ifdef __STDC__
28560 # include <limits.h>
28561 #else
28562 # include <assert.h>
28563 #endif
28564
28565 #undef $ac_func
28566
28567 /* Override any gcc2 internal prototype to avoid an error. */
28568 #ifdef __cplusplus
28569 extern "C"
28570 {
28571 #endif
28572 /* We use char because int might match the return type of a gcc2
28573 builtin and then its argument prototype would still apply. */
28574 char $ac_func ();
28575 /* The GNU C library defines this for functions which it implements
28576 to always fail with ENOSYS. Some functions are actually named
28577 something starting with __ and the normal name is an alias. */
28578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28579 choke me
28580 #else
28581 char (*f) () = $ac_func;
28582 #endif
28583 #ifdef __cplusplus
28584 }
28585 #endif
28586
28587 int
28588 main ()
28589 {
28590 return f != $ac_func;
28591 ;
28592 return 0;
28593 }
28594 _ACEOF
28595 rm -f conftest.$ac_objext conftest$ac_exeext
28596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28597 (eval $ac_link) 2>conftest.er1
28598 ac_status=$?
28599 grep -v '^ *+' conftest.er1 >conftest.err
28600 rm -f conftest.er1
28601 cat conftest.err >&5
28602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28603 (exit $ac_status); } &&
28604 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28606 (eval $ac_try) 2>&5
28607 ac_status=$?
28608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28609 (exit $ac_status); }; } &&
28610 { ac_try='test -s conftest$ac_exeext'
28611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28612 (eval $ac_try) 2>&5
28613 ac_status=$?
28614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28615 (exit $ac_status); }; }; then
28616 eval "$as_ac_var=yes"
28617 else
28618 echo "$as_me: failed program was:" >&5
28619 sed 's/^/| /' conftest.$ac_ext >&5
28620
28621 eval "$as_ac_var=no"
28622 fi
28623 rm -f conftest.err conftest.$ac_objext \
28624 conftest$ac_exeext conftest.$ac_ext
28625 fi
28626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28628 if test `eval echo '${'$as_ac_var'}'` = yes; then
28629 cat >>confdefs.h <<_ACEOF
28630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28631 _ACEOF
28632 WCSLEN_FOUND=1
28633 fi
28634 done
28635
28636
28637 if test "$WCSLEN_FOUND" = 0; then
28638 if test "$TOOLKIT" = "MSW"; then
28639 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28640 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28641 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28642 echo $ECHO_N "(cached) $ECHO_C" >&6
28643 else
28644 ac_check_lib_save_LIBS=$LIBS
28645 LIBS="-lmsvcrt $LIBS"
28646 cat >conftest.$ac_ext <<_ACEOF
28647 /* confdefs.h. */
28648 _ACEOF
28649 cat confdefs.h >>conftest.$ac_ext
28650 cat >>conftest.$ac_ext <<_ACEOF
28651 /* end confdefs.h. */
28652
28653 /* Override any gcc2 internal prototype to avoid an error. */
28654 #ifdef __cplusplus
28655 extern "C"
28656 #endif
28657 /* We use char because int might match the return type of a gcc2
28658 builtin and then its argument prototype would still apply. */
28659 char wcslen ();
28660 int
28661 main ()
28662 {
28663 wcslen ();
28664 ;
28665 return 0;
28666 }
28667 _ACEOF
28668 rm -f conftest.$ac_objext conftest$ac_exeext
28669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28670 (eval $ac_link) 2>conftest.er1
28671 ac_status=$?
28672 grep -v '^ *+' conftest.er1 >conftest.err
28673 rm -f conftest.er1
28674 cat conftest.err >&5
28675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28676 (exit $ac_status); } &&
28677 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28679 (eval $ac_try) 2>&5
28680 ac_status=$?
28681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28682 (exit $ac_status); }; } &&
28683 { ac_try='test -s conftest$ac_exeext'
28684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28685 (eval $ac_try) 2>&5
28686 ac_status=$?
28687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28688 (exit $ac_status); }; }; then
28689 ac_cv_lib_msvcrt_wcslen=yes
28690 else
28691 echo "$as_me: failed program was:" >&5
28692 sed 's/^/| /' conftest.$ac_ext >&5
28693
28694 ac_cv_lib_msvcrt_wcslen=no
28695 fi
28696 rm -f conftest.err conftest.$ac_objext \
28697 conftest$ac_exeext conftest.$ac_ext
28698 LIBS=$ac_check_lib_save_LIBS
28699 fi
28700 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28701 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28702 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28703 WCHAR_OK=1
28704 fi
28705
28706 else
28707 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28708 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28709 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28710 echo $ECHO_N "(cached) $ECHO_C" >&6
28711 else
28712 ac_check_lib_save_LIBS=$LIBS
28713 LIBS="-lw $LIBS"
28714 cat >conftest.$ac_ext <<_ACEOF
28715 /* confdefs.h. */
28716 _ACEOF
28717 cat confdefs.h >>conftest.$ac_ext
28718 cat >>conftest.$ac_ext <<_ACEOF
28719 /* end confdefs.h. */
28720
28721 /* Override any gcc2 internal prototype to avoid an error. */
28722 #ifdef __cplusplus
28723 extern "C"
28724 #endif
28725 /* We use char because int might match the return type of a gcc2
28726 builtin and then its argument prototype would still apply. */
28727 char wcslen ();
28728 int
28729 main ()
28730 {
28731 wcslen ();
28732 ;
28733 return 0;
28734 }
28735 _ACEOF
28736 rm -f conftest.$ac_objext conftest$ac_exeext
28737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28738 (eval $ac_link) 2>conftest.er1
28739 ac_status=$?
28740 grep -v '^ *+' conftest.er1 >conftest.err
28741 rm -f conftest.er1
28742 cat conftest.err >&5
28743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28744 (exit $ac_status); } &&
28745 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28747 (eval $ac_try) 2>&5
28748 ac_status=$?
28749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28750 (exit $ac_status); }; } &&
28751 { ac_try='test -s conftest$ac_exeext'
28752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28753 (eval $ac_try) 2>&5
28754 ac_status=$?
28755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28756 (exit $ac_status); }; }; then
28757 ac_cv_lib_w_wcslen=yes
28758 else
28759 echo "$as_me: failed program was:" >&5
28760 sed 's/^/| /' conftest.$ac_ext >&5
28761
28762 ac_cv_lib_w_wcslen=no
28763 fi
28764 rm -f conftest.err conftest.$ac_objext \
28765 conftest$ac_exeext conftest.$ac_ext
28766 LIBS=$ac_check_lib_save_LIBS
28767 fi
28768 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
28769 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
28770 if test $ac_cv_lib_w_wcslen = yes; then
28771
28772 WCHAR_LINK=" -lw"
28773 WCSLEN_FOUND=1
28774
28775 fi
28776
28777 fi
28778 fi
28779
28780 if test "$WCSLEN_FOUND" = 1; then
28781 cat >>confdefs.h <<\_ACEOF
28782 #define HAVE_WCSLEN 1
28783 _ACEOF
28784
28785 fi
28786
28787
28788 for ac_func in wcsrtombs
28789 do
28790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28791 echo "$as_me:$LINENO: checking for $ac_func" >&5
28792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28793 if eval "test \"\${$as_ac_var+set}\" = set"; then
28794 echo $ECHO_N "(cached) $ECHO_C" >&6
28795 else
28796 cat >conftest.$ac_ext <<_ACEOF
28797 /* confdefs.h. */
28798 _ACEOF
28799 cat confdefs.h >>conftest.$ac_ext
28800 cat >>conftest.$ac_ext <<_ACEOF
28801 /* end confdefs.h. */
28802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28804 #define $ac_func innocuous_$ac_func
28805
28806 /* System header to define __stub macros and hopefully few prototypes,
28807 which can conflict with char $ac_func (); below.
28808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28809 <limits.h> exists even on freestanding compilers. */
28810
28811 #ifdef __STDC__
28812 # include <limits.h>
28813 #else
28814 # include <assert.h>
28815 #endif
28816
28817 #undef $ac_func
28818
28819 /* Override any gcc2 internal prototype to avoid an error. */
28820 #ifdef __cplusplus
28821 extern "C"
28822 {
28823 #endif
28824 /* We use char because int might match the return type of a gcc2
28825 builtin and then its argument prototype would still apply. */
28826 char $ac_func ();
28827 /* The GNU C library defines this for functions which it implements
28828 to always fail with ENOSYS. Some functions are actually named
28829 something starting with __ and the normal name is an alias. */
28830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28831 choke me
28832 #else
28833 char (*f) () = $ac_func;
28834 #endif
28835 #ifdef __cplusplus
28836 }
28837 #endif
28838
28839 int
28840 main ()
28841 {
28842 return f != $ac_func;
28843 ;
28844 return 0;
28845 }
28846 _ACEOF
28847 rm -f conftest.$ac_objext conftest$ac_exeext
28848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28849 (eval $ac_link) 2>conftest.er1
28850 ac_status=$?
28851 grep -v '^ *+' conftest.er1 >conftest.err
28852 rm -f conftest.er1
28853 cat conftest.err >&5
28854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28855 (exit $ac_status); } &&
28856 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28858 (eval $ac_try) 2>&5
28859 ac_status=$?
28860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28861 (exit $ac_status); }; } &&
28862 { ac_try='test -s conftest$ac_exeext'
28863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28864 (eval $ac_try) 2>&5
28865 ac_status=$?
28866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28867 (exit $ac_status); }; }; then
28868 eval "$as_ac_var=yes"
28869 else
28870 echo "$as_me: failed program was:" >&5
28871 sed 's/^/| /' conftest.$ac_ext >&5
28872
28873 eval "$as_ac_var=no"
28874 fi
28875 rm -f conftest.err conftest.$ac_objext \
28876 conftest$ac_exeext conftest.$ac_ext
28877 fi
28878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28880 if test `eval echo '${'$as_ac_var'}'` = yes; then
28881 cat >>confdefs.h <<_ACEOF
28882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28883 _ACEOF
28884
28885 fi
28886 done
28887
28888 else
28889 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
28890 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
28891 fi
28892
28893
28894
28895 ac_ext=cc
28896 ac_cpp='$CXXCPP $CPPFLAGS'
28897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28900
28901
28902
28903 for ac_func in vsnprintf
28904 do
28905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28906 echo "$as_me:$LINENO: checking for $ac_func" >&5
28907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28908 if eval "test \"\${$as_ac_var+set}\" = set"; then
28909 echo $ECHO_N "(cached) $ECHO_C" >&6
28910 else
28911 cat >conftest.$ac_ext <<_ACEOF
28912 /* confdefs.h. */
28913 _ACEOF
28914 cat confdefs.h >>conftest.$ac_ext
28915 cat >>conftest.$ac_ext <<_ACEOF
28916 /* end confdefs.h. */
28917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28919 #define $ac_func innocuous_$ac_func
28920
28921 /* System header to define __stub macros and hopefully few prototypes,
28922 which can conflict with char $ac_func (); below.
28923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28924 <limits.h> exists even on freestanding compilers. */
28925
28926 #ifdef __STDC__
28927 # include <limits.h>
28928 #else
28929 # include <assert.h>
28930 #endif
28931
28932 #undef $ac_func
28933
28934 /* Override any gcc2 internal prototype to avoid an error. */
28935 #ifdef __cplusplus
28936 extern "C"
28937 {
28938 #endif
28939 /* We use char because int might match the return type of a gcc2
28940 builtin and then its argument prototype would still apply. */
28941 char $ac_func ();
28942 /* The GNU C library defines this for functions which it implements
28943 to always fail with ENOSYS. Some functions are actually named
28944 something starting with __ and the normal name is an alias. */
28945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28946 choke me
28947 #else
28948 char (*f) () = $ac_func;
28949 #endif
28950 #ifdef __cplusplus
28951 }
28952 #endif
28953
28954 int
28955 main ()
28956 {
28957 return f != $ac_func;
28958 ;
28959 return 0;
28960 }
28961 _ACEOF
28962 rm -f conftest.$ac_objext conftest$ac_exeext
28963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28964 (eval $ac_link) 2>conftest.er1
28965 ac_status=$?
28966 grep -v '^ *+' conftest.er1 >conftest.err
28967 rm -f conftest.er1
28968 cat conftest.err >&5
28969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28970 (exit $ac_status); } &&
28971 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28973 (eval $ac_try) 2>&5
28974 ac_status=$?
28975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28976 (exit $ac_status); }; } &&
28977 { ac_try='test -s conftest$ac_exeext'
28978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28979 (eval $ac_try) 2>&5
28980 ac_status=$?
28981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28982 (exit $ac_status); }; }; then
28983 eval "$as_ac_var=yes"
28984 else
28985 echo "$as_me: failed program was:" >&5
28986 sed 's/^/| /' conftest.$ac_ext >&5
28987
28988 eval "$as_ac_var=no"
28989 fi
28990 rm -f conftest.err conftest.$ac_objext \
28991 conftest$ac_exeext conftest.$ac_ext
28992 fi
28993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28995 if test `eval echo '${'$as_ac_var'}'` = yes; then
28996 cat >>confdefs.h <<_ACEOF
28997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28998 _ACEOF
28999
29000 fi
29001 done
29002
29003
29004 if test "$ac_cv_func_vsnprintf" = "yes"; then
29005 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29006 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29007 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29008 echo $ECHO_N "(cached) $ECHO_C" >&6
29009 else
29010
29011 cat >conftest.$ac_ext <<_ACEOF
29012 /* confdefs.h. */
29013 _ACEOF
29014 cat confdefs.h >>conftest.$ac_ext
29015 cat >>conftest.$ac_ext <<_ACEOF
29016 /* end confdefs.h. */
29017
29018 #include <stdio.h>
29019 #include <stdarg.h>
29020
29021 int
29022 main ()
29023 {
29024
29025 char *buf;
29026 va_list ap;
29027 vsnprintf(buf, 10u, "%s", ap);
29028
29029 ;
29030 return 0;
29031 }
29032 _ACEOF
29033 rm -f conftest.$ac_objext
29034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29035 (eval $ac_compile) 2>conftest.er1
29036 ac_status=$?
29037 grep -v '^ *+' conftest.er1 >conftest.err
29038 rm -f conftest.er1
29039 cat conftest.err >&5
29040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29041 (exit $ac_status); } &&
29042 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29044 (eval $ac_try) 2>&5
29045 ac_status=$?
29046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29047 (exit $ac_status); }; } &&
29048 { ac_try='test -s conftest.$ac_objext'
29049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29050 (eval $ac_try) 2>&5
29051 ac_status=$?
29052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29053 (exit $ac_status); }; }; then
29054 wx_cv_func_vsnprintf_decl=yes
29055 else
29056 echo "$as_me: failed program was:" >&5
29057 sed 's/^/| /' conftest.$ac_ext >&5
29058
29059 wx_cv_func_vsnprintf_decl=no
29060
29061 fi
29062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29063
29064
29065 fi
29066 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29067 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29068
29069 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29070 cat >>confdefs.h <<\_ACEOF
29071 #define HAVE_VSNPRINTF_DECL 1
29072 _ACEOF
29073
29074 fi
29075 fi
29076
29077 if test "$wxUSE_UNICODE" = yes; then
29078
29079
29080
29081 for ac_func in fputwc wprintf vswprintf
29082 do
29083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29084 echo "$as_me:$LINENO: checking for $ac_func" >&5
29085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29086 if eval "test \"\${$as_ac_var+set}\" = set"; then
29087 echo $ECHO_N "(cached) $ECHO_C" >&6
29088 else
29089 cat >conftest.$ac_ext <<_ACEOF
29090 /* confdefs.h. */
29091 _ACEOF
29092 cat confdefs.h >>conftest.$ac_ext
29093 cat >>conftest.$ac_ext <<_ACEOF
29094 /* end confdefs.h. */
29095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29097 #define $ac_func innocuous_$ac_func
29098
29099 /* System header to define __stub macros and hopefully few prototypes,
29100 which can conflict with char $ac_func (); below.
29101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29102 <limits.h> exists even on freestanding compilers. */
29103
29104 #ifdef __STDC__
29105 # include <limits.h>
29106 #else
29107 # include <assert.h>
29108 #endif
29109
29110 #undef $ac_func
29111
29112 /* Override any gcc2 internal prototype to avoid an error. */
29113 #ifdef __cplusplus
29114 extern "C"
29115 {
29116 #endif
29117 /* We use char because int might match the return type of a gcc2
29118 builtin and then its argument prototype would still apply. */
29119 char $ac_func ();
29120 /* The GNU C library defines this for functions which it implements
29121 to always fail with ENOSYS. Some functions are actually named
29122 something starting with __ and the normal name is an alias. */
29123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29124 choke me
29125 #else
29126 char (*f) () = $ac_func;
29127 #endif
29128 #ifdef __cplusplus
29129 }
29130 #endif
29131
29132 int
29133 main ()
29134 {
29135 return f != $ac_func;
29136 ;
29137 return 0;
29138 }
29139 _ACEOF
29140 rm -f conftest.$ac_objext conftest$ac_exeext
29141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29142 (eval $ac_link) 2>conftest.er1
29143 ac_status=$?
29144 grep -v '^ *+' conftest.er1 >conftest.err
29145 rm -f conftest.er1
29146 cat conftest.err >&5
29147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29148 (exit $ac_status); } &&
29149 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29151 (eval $ac_try) 2>&5
29152 ac_status=$?
29153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29154 (exit $ac_status); }; } &&
29155 { ac_try='test -s conftest$ac_exeext'
29156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29157 (eval $ac_try) 2>&5
29158 ac_status=$?
29159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29160 (exit $ac_status); }; }; then
29161 eval "$as_ac_var=yes"
29162 else
29163 echo "$as_me: failed program was:" >&5
29164 sed 's/^/| /' conftest.$ac_ext >&5
29165
29166 eval "$as_ac_var=no"
29167 fi
29168 rm -f conftest.err conftest.$ac_objext \
29169 conftest$ac_exeext conftest.$ac_ext
29170 fi
29171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29173 if test `eval echo '${'$as_ac_var'}'` = yes; then
29174 cat >>confdefs.h <<_ACEOF
29175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29176 _ACEOF
29177
29178 fi
29179 done
29180
29181
29182 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29183 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29184 cat >conftest.$ac_ext <<_ACEOF
29185 /* confdefs.h. */
29186 _ACEOF
29187 cat confdefs.h >>conftest.$ac_ext
29188 cat >>conftest.$ac_ext <<_ACEOF
29189 /* end confdefs.h. */
29190 #include <wchar.h>
29191 int
29192 main ()
29193 {
29194 &_vsnwprintf;
29195 ;
29196 return 0;
29197 }
29198 _ACEOF
29199 rm -f conftest.$ac_objext
29200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29201 (eval $ac_compile) 2>conftest.er1
29202 ac_status=$?
29203 grep -v '^ *+' conftest.er1 >conftest.err
29204 rm -f conftest.er1
29205 cat conftest.err >&5
29206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29207 (exit $ac_status); } &&
29208 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29210 (eval $ac_try) 2>&5
29211 ac_status=$?
29212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29213 (exit $ac_status); }; } &&
29214 { ac_try='test -s conftest.$ac_objext'
29215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29216 (eval $ac_try) 2>&5
29217 ac_status=$?
29218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29219 (exit $ac_status); }; }; then
29220 echo "$as_me:$LINENO: result: yes" >&5
29221 echo "${ECHO_T}yes" >&6
29222 cat >>confdefs.h <<\_ACEOF
29223 #define HAVE__VSNWPRINTF 1
29224 _ACEOF
29225
29226 else
29227 echo "$as_me: failed program was:" >&5
29228 sed 's/^/| /' conftest.$ac_ext >&5
29229
29230 echo "$as_me:$LINENO: result: no" >&5
29231 echo "${ECHO_T}no" >&6
29232 fi
29233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
29234 fi
29235
29236 ac_ext=c
29237 ac_cpp='$CPP $CPPFLAGS'
29238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29241
29242
29243
29244
29245 if test "$TOOLKIT" != "MSW"; then
29246
29247
29248
29249
29250 ac_ext=cc
29251 ac_cpp='$CXXCPP $CPPFLAGS'
29252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29255
29256
29257
29258
29259 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29260 if test "${with_libiconv_prefix+set}" = set; then
29261 withval="$with_libiconv_prefix"
29262
29263 for dir in `echo "$withval" | tr : ' '`; do
29264 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
29265 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
29266 done
29267
29268 fi;
29269
29270 echo "$as_me:$LINENO: checking for iconv" >&5
29271 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29272 if test "${am_cv_func_iconv+set}" = set; then
29273 echo $ECHO_N "(cached) $ECHO_C" >&6
29274 else
29275
29276 am_cv_func_iconv="no, consider installing GNU libiconv"
29277 am_cv_lib_iconv=no
29278 cat >conftest.$ac_ext <<_ACEOF
29279 /* confdefs.h. */
29280 _ACEOF
29281 cat confdefs.h >>conftest.$ac_ext
29282 cat >>conftest.$ac_ext <<_ACEOF
29283 /* end confdefs.h. */
29284 #include <stdlib.h>
29285 #include <iconv.h>
29286 int
29287 main ()
29288 {
29289 iconv_t cd = iconv_open("","");
29290 iconv(cd,NULL,NULL,NULL,NULL);
29291 iconv_close(cd);
29292 ;
29293 return 0;
29294 }
29295 _ACEOF
29296 rm -f conftest.$ac_objext conftest$ac_exeext
29297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29298 (eval $ac_link) 2>conftest.er1
29299 ac_status=$?
29300 grep -v '^ *+' conftest.er1 >conftest.err
29301 rm -f conftest.er1
29302 cat conftest.err >&5
29303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29304 (exit $ac_status); } &&
29305 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29307 (eval $ac_try) 2>&5
29308 ac_status=$?
29309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29310 (exit $ac_status); }; } &&
29311 { ac_try='test -s conftest$ac_exeext'
29312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29313 (eval $ac_try) 2>&5
29314 ac_status=$?
29315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29316 (exit $ac_status); }; }; then
29317 am_cv_func_iconv=yes
29318 else
29319 echo "$as_me: failed program was:" >&5
29320 sed 's/^/| /' conftest.$ac_ext >&5
29321
29322 fi
29323 rm -f conftest.err conftest.$ac_objext \
29324 conftest$ac_exeext conftest.$ac_ext
29325 if test "$am_cv_func_iconv" != yes; then
29326 am_save_LIBS="$LIBS"
29327 LIBS="$LIBS -liconv"
29328 cat >conftest.$ac_ext <<_ACEOF
29329 /* confdefs.h. */
29330 _ACEOF
29331 cat confdefs.h >>conftest.$ac_ext
29332 cat >>conftest.$ac_ext <<_ACEOF
29333 /* end confdefs.h. */
29334 #include <stdlib.h>
29335 #include <iconv.h>
29336 int
29337 main ()
29338 {
29339 iconv_t cd = iconv_open("","");
29340 iconv(cd,NULL,NULL,NULL,NULL);
29341 iconv_close(cd);
29342 ;
29343 return 0;
29344 }
29345 _ACEOF
29346 rm -f conftest.$ac_objext conftest$ac_exeext
29347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29348 (eval $ac_link) 2>conftest.er1
29349 ac_status=$?
29350 grep -v '^ *+' conftest.er1 >conftest.err
29351 rm -f conftest.er1
29352 cat conftest.err >&5
29353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29354 (exit $ac_status); } &&
29355 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29357 (eval $ac_try) 2>&5
29358 ac_status=$?
29359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29360 (exit $ac_status); }; } &&
29361 { ac_try='test -s conftest$ac_exeext'
29362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29363 (eval $ac_try) 2>&5
29364 ac_status=$?
29365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29366 (exit $ac_status); }; }; then
29367 am_cv_lib_iconv=yes
29368 am_cv_func_iconv=yes
29369 else
29370 echo "$as_me: failed program was:" >&5
29371 sed 's/^/| /' conftest.$ac_ext >&5
29372
29373 fi
29374 rm -f conftest.err conftest.$ac_objext \
29375 conftest$ac_exeext conftest.$ac_ext
29376 LIBS="$am_save_LIBS"
29377 fi
29378
29379 fi
29380 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29381 echo "${ECHO_T}$am_cv_func_iconv" >&6
29382 if test "$am_cv_func_iconv" = yes; then
29383
29384 cat >>confdefs.h <<\_ACEOF
29385 #define HAVE_ICONV 1
29386 _ACEOF
29387
29388 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29389 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29390 if test "${wx_cv_func_iconv_const+set}" = set; then
29391 echo $ECHO_N "(cached) $ECHO_C" >&6
29392 else
29393 cat >conftest.$ac_ext <<_ACEOF
29394 /* confdefs.h. */
29395 _ACEOF
29396 cat confdefs.h >>conftest.$ac_ext
29397 cat >>conftest.$ac_ext <<_ACEOF
29398 /* end confdefs.h. */
29399
29400 #include <stdlib.h>
29401 #include <iconv.h>
29402 extern
29403 #ifdef __cplusplus
29404 "C"
29405 #endif
29406 #if defined(__STDC__) || defined(__cplusplus)
29407 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29408 #else
29409 size_t iconv();
29410 #endif
29411
29412 int
29413 main ()
29414 {
29415
29416 ;
29417 return 0;
29418 }
29419 _ACEOF
29420 rm -f conftest.$ac_objext
29421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29422 (eval $ac_compile) 2>conftest.er1
29423 ac_status=$?
29424 grep -v '^ *+' conftest.er1 >conftest.err
29425 rm -f conftest.er1
29426 cat conftest.err >&5
29427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29428 (exit $ac_status); } &&
29429 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29431 (eval $ac_try) 2>&5
29432 ac_status=$?
29433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29434 (exit $ac_status); }; } &&
29435 { ac_try='test -s conftest.$ac_objext'
29436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29437 (eval $ac_try) 2>&5
29438 ac_status=$?
29439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29440 (exit $ac_status); }; }; then
29441 wx_cv_func_iconv_const="no"
29442 else
29443 echo "$as_me: failed program was:" >&5
29444 sed 's/^/| /' conftest.$ac_ext >&5
29445
29446 wx_cv_func_iconv_const="yes"
29447
29448 fi
29449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29450
29451 fi
29452 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29453 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29454
29455 iconv_const=
29456 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29457 iconv_const="const"
29458 fi
29459
29460
29461 cat >>confdefs.h <<_ACEOF
29462 #define ICONV_CONST $iconv_const
29463 _ACEOF
29464
29465 fi
29466 LIBICONV=
29467 if test "$am_cv_lib_iconv" = yes; then
29468 LIBICONV="-liconv"
29469 fi
29470
29471
29472 LIBS="$LIBICONV $LIBS"
29473 ac_ext=c
29474 ac_cpp='$CPP $CPPFLAGS'
29475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29478
29479
29480 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29481
29482 for ac_func in sigaction
29483 do
29484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29485 echo "$as_me:$LINENO: checking for $ac_func" >&5
29486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29487 if eval "test \"\${$as_ac_var+set}\" = set"; then
29488 echo $ECHO_N "(cached) $ECHO_C" >&6
29489 else
29490 cat >conftest.$ac_ext <<_ACEOF
29491 /* confdefs.h. */
29492 _ACEOF
29493 cat confdefs.h >>conftest.$ac_ext
29494 cat >>conftest.$ac_ext <<_ACEOF
29495 /* end confdefs.h. */
29496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29498 #define $ac_func innocuous_$ac_func
29499
29500 /* System header to define __stub macros and hopefully few prototypes,
29501 which can conflict with char $ac_func (); below.
29502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29503 <limits.h> exists even on freestanding compilers. */
29504
29505 #ifdef __STDC__
29506 # include <limits.h>
29507 #else
29508 # include <assert.h>
29509 #endif
29510
29511 #undef $ac_func
29512
29513 /* Override any gcc2 internal prototype to avoid an error. */
29514 #ifdef __cplusplus
29515 extern "C"
29516 {
29517 #endif
29518 /* We use char because int might match the return type of a gcc2
29519 builtin and then its argument prototype would still apply. */
29520 char $ac_func ();
29521 /* The GNU C library defines this for functions which it implements
29522 to always fail with ENOSYS. Some functions are actually named
29523 something starting with __ and the normal name is an alias. */
29524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29525 choke me
29526 #else
29527 char (*f) () = $ac_func;
29528 #endif
29529 #ifdef __cplusplus
29530 }
29531 #endif
29532
29533 int
29534 main ()
29535 {
29536 return f != $ac_func;
29537 ;
29538 return 0;
29539 }
29540 _ACEOF
29541 rm -f conftest.$ac_objext conftest$ac_exeext
29542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29543 (eval $ac_link) 2>conftest.er1
29544 ac_status=$?
29545 grep -v '^ *+' conftest.er1 >conftest.err
29546 rm -f conftest.er1
29547 cat conftest.err >&5
29548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29549 (exit $ac_status); } &&
29550 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29552 (eval $ac_try) 2>&5
29553 ac_status=$?
29554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29555 (exit $ac_status); }; } &&
29556 { ac_try='test -s conftest$ac_exeext'
29557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29558 (eval $ac_try) 2>&5
29559 ac_status=$?
29560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29561 (exit $ac_status); }; }; then
29562 eval "$as_ac_var=yes"
29563 else
29564 echo "$as_me: failed program was:" >&5
29565 sed 's/^/| /' conftest.$ac_ext >&5
29566
29567 eval "$as_ac_var=no"
29568 fi
29569 rm -f conftest.err conftest.$ac_objext \
29570 conftest$ac_exeext conftest.$ac_ext
29571 fi
29572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29574 if test `eval echo '${'$as_ac_var'}'` = yes; then
29575 cat >>confdefs.h <<_ACEOF
29576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29577 _ACEOF
29578
29579 fi
29580 done
29581
29582
29583 if test "$ac_cv_func_sigaction" = "no"; then
29584 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29585 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29586 wxUSE_ON_FATAL_EXCEPTION=no
29587 fi
29588
29589 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29590
29591
29592 ac_ext=cc
29593 ac_cpp='$CXXCPP $CPPFLAGS'
29594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29597
29598
29599 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29600 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29601 if test "${wx_cv_type_sa_handler+set}" = set; then
29602 echo $ECHO_N "(cached) $ECHO_C" >&6
29603 else
29604
29605 cat >conftest.$ac_ext <<_ACEOF
29606 /* confdefs.h. */
29607 _ACEOF
29608 cat confdefs.h >>conftest.$ac_ext
29609 cat >>conftest.$ac_ext <<_ACEOF
29610 /* end confdefs.h. */
29611 #include <signal.h>
29612 int
29613 main ()
29614 {
29615
29616 extern void testSigHandler(int);
29617
29618 struct sigaction sa;
29619 sa.sa_handler = testSigHandler;
29620
29621 ;
29622 return 0;
29623 }
29624 _ACEOF
29625 rm -f conftest.$ac_objext
29626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29627 (eval $ac_compile) 2>conftest.er1
29628 ac_status=$?
29629 grep -v '^ *+' conftest.er1 >conftest.err
29630 rm -f conftest.er1
29631 cat conftest.err >&5
29632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29633 (exit $ac_status); } &&
29634 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29636 (eval $ac_try) 2>&5
29637 ac_status=$?
29638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29639 (exit $ac_status); }; } &&
29640 { ac_try='test -s conftest.$ac_objext'
29641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29642 (eval $ac_try) 2>&5
29643 ac_status=$?
29644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29645 (exit $ac_status); }; }; then
29646
29647 wx_cv_type_sa_handler=int
29648
29649 else
29650 echo "$as_me: failed program was:" >&5
29651 sed 's/^/| /' conftest.$ac_ext >&5
29652
29653
29654 wx_cv_type_sa_handler=void
29655
29656 fi
29657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29658
29659 fi
29660 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29661 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29662
29663 ac_ext=c
29664 ac_cpp='$CPP $CPPFLAGS'
29665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29668
29669
29670 cat >>confdefs.h <<_ACEOF
29671 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29672 _ACEOF
29673
29674 fi
29675 fi
29676
29677
29678
29679 for ac_func in mkstemp mktemp
29680 do
29681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29682 echo "$as_me:$LINENO: checking for $ac_func" >&5
29683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29684 if eval "test \"\${$as_ac_var+set}\" = set"; then
29685 echo $ECHO_N "(cached) $ECHO_C" >&6
29686 else
29687 cat >conftest.$ac_ext <<_ACEOF
29688 /* confdefs.h. */
29689 _ACEOF
29690 cat confdefs.h >>conftest.$ac_ext
29691 cat >>conftest.$ac_ext <<_ACEOF
29692 /* end confdefs.h. */
29693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29695 #define $ac_func innocuous_$ac_func
29696
29697 /* System header to define __stub macros and hopefully few prototypes,
29698 which can conflict with char $ac_func (); below.
29699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29700 <limits.h> exists even on freestanding compilers. */
29701
29702 #ifdef __STDC__
29703 # include <limits.h>
29704 #else
29705 # include <assert.h>
29706 #endif
29707
29708 #undef $ac_func
29709
29710 /* Override any gcc2 internal prototype to avoid an error. */
29711 #ifdef __cplusplus
29712 extern "C"
29713 {
29714 #endif
29715 /* We use char because int might match the return type of a gcc2
29716 builtin and then its argument prototype would still apply. */
29717 char $ac_func ();
29718 /* The GNU C library defines this for functions which it implements
29719 to always fail with ENOSYS. Some functions are actually named
29720 something starting with __ and the normal name is an alias. */
29721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29722 choke me
29723 #else
29724 char (*f) () = $ac_func;
29725 #endif
29726 #ifdef __cplusplus
29727 }
29728 #endif
29729
29730 int
29731 main ()
29732 {
29733 return f != $ac_func;
29734 ;
29735 return 0;
29736 }
29737 _ACEOF
29738 rm -f conftest.$ac_objext conftest$ac_exeext
29739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29740 (eval $ac_link) 2>conftest.er1
29741 ac_status=$?
29742 grep -v '^ *+' conftest.er1 >conftest.err
29743 rm -f conftest.er1
29744 cat conftest.err >&5
29745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29746 (exit $ac_status); } &&
29747 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29749 (eval $ac_try) 2>&5
29750 ac_status=$?
29751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29752 (exit $ac_status); }; } &&
29753 { ac_try='test -s conftest$ac_exeext'
29754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29755 (eval $ac_try) 2>&5
29756 ac_status=$?
29757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29758 (exit $ac_status); }; }; then
29759 eval "$as_ac_var=yes"
29760 else
29761 echo "$as_me: failed program was:" >&5
29762 sed 's/^/| /' conftest.$ac_ext >&5
29763
29764 eval "$as_ac_var=no"
29765 fi
29766 rm -f conftest.err conftest.$ac_objext \
29767 conftest$ac_exeext conftest.$ac_ext
29768 fi
29769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29771 if test `eval echo '${'$as_ac_var'}'` = yes; then
29772 cat >>confdefs.h <<_ACEOF
29773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29774 _ACEOF
29775 break
29776 fi
29777 done
29778
29779
29780 echo "$as_me:$LINENO: checking for statfs" >&5
29781 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
29782 if test "${wx_cv_func_statfs+set}" = set; then
29783 echo $ECHO_N "(cached) $ECHO_C" >&6
29784 else
29785 cat >conftest.$ac_ext <<_ACEOF
29786 /* confdefs.h. */
29787 _ACEOF
29788 cat confdefs.h >>conftest.$ac_ext
29789 cat >>conftest.$ac_ext <<_ACEOF
29790 /* end confdefs.h. */
29791
29792 #if defined(__BSD__)
29793 #include <sys/param.h>
29794 #include <sys/mount.h>
29795 #else
29796 #include <sys/vfs.h>
29797 #endif
29798
29799 int
29800 main ()
29801 {
29802
29803 long l;
29804 struct statfs fs;
29805 statfs("/", &fs);
29806 l = fs.f_bsize;
29807 l += fs.f_blocks;
29808 l += fs.f_bavail;
29809
29810 ;
29811 return 0;
29812 }
29813 _ACEOF
29814 rm -f conftest.$ac_objext
29815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29816 (eval $ac_compile) 2>conftest.er1
29817 ac_status=$?
29818 grep -v '^ *+' conftest.er1 >conftest.err
29819 rm -f conftest.er1
29820 cat conftest.err >&5
29821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29822 (exit $ac_status); } &&
29823 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29825 (eval $ac_try) 2>&5
29826 ac_status=$?
29827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29828 (exit $ac_status); }; } &&
29829 { ac_try='test -s conftest.$ac_objext'
29830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29831 (eval $ac_try) 2>&5
29832 ac_status=$?
29833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29834 (exit $ac_status); }; }; then
29835
29836 wx_cv_func_statfs=yes
29837
29838 else
29839 echo "$as_me: failed program was:" >&5
29840 sed 's/^/| /' conftest.$ac_ext >&5
29841
29842
29843 wx_cv_func_statfs=no
29844
29845
29846 fi
29847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29848
29849 fi
29850 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
29851 echo "${ECHO_T}$wx_cv_func_statfs" >&6
29852
29853 if test "$wx_cv_func_statfs" = "yes"; then
29854 wx_cv_type_statvfs_t="struct statfs"
29855 cat >>confdefs.h <<\_ACEOF
29856 #define HAVE_STATFS 1
29857 _ACEOF
29858
29859 else
29860 echo "$as_me:$LINENO: checking for statvfs" >&5
29861 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
29862 if test "${wx_cv_func_statvfs+set}" = set; then
29863 echo $ECHO_N "(cached) $ECHO_C" >&6
29864 else
29865 cat >conftest.$ac_ext <<_ACEOF
29866 /* confdefs.h. */
29867 _ACEOF
29868 cat confdefs.h >>conftest.$ac_ext
29869 cat >>conftest.$ac_ext <<_ACEOF
29870 /* end confdefs.h. */
29871
29872 #include <stddef.h>
29873 #include <sys/statvfs.h>
29874
29875 int
29876 main ()
29877 {
29878
29879 statvfs("/", NULL);
29880
29881 ;
29882 return 0;
29883 }
29884 _ACEOF
29885 rm -f conftest.$ac_objext
29886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29887 (eval $ac_compile) 2>conftest.er1
29888 ac_status=$?
29889 grep -v '^ *+' conftest.er1 >conftest.err
29890 rm -f conftest.er1
29891 cat conftest.err >&5
29892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29893 (exit $ac_status); } &&
29894 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29896 (eval $ac_try) 2>&5
29897 ac_status=$?
29898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29899 (exit $ac_status); }; } &&
29900 { ac_try='test -s conftest.$ac_objext'
29901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29902 (eval $ac_try) 2>&5
29903 ac_status=$?
29904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29905 (exit $ac_status); }; }; then
29906 wx_cv_func_statvfs=yes
29907 else
29908 echo "$as_me: failed program was:" >&5
29909 sed 's/^/| /' conftest.$ac_ext >&5
29910
29911 wx_cv_func_statvfs=no
29912
29913 fi
29914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29915
29916 fi
29917 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
29918 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
29919
29920 if test "$wx_cv_func_statvfs" = "yes"; then
29921
29922
29923 ac_ext=cc
29924 ac_cpp='$CXXCPP $CPPFLAGS'
29925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29928
29929
29930 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
29931 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
29932 if test "${wx_cv_type_statvfs_t+set}" = set; then
29933 echo $ECHO_N "(cached) $ECHO_C" >&6
29934 else
29935 cat >conftest.$ac_ext <<_ACEOF
29936 /* confdefs.h. */
29937 _ACEOF
29938 cat confdefs.h >>conftest.$ac_ext
29939 cat >>conftest.$ac_ext <<_ACEOF
29940 /* end confdefs.h. */
29941
29942 #include <sys/statvfs.h>
29943
29944 int
29945 main ()
29946 {
29947
29948 long l;
29949 statvfs_t fs;
29950 statvfs("/", &fs);
29951 l = fs.f_bsize;
29952 l += fs.f_blocks;
29953 l += fs.f_bavail;
29954
29955 ;
29956 return 0;
29957 }
29958 _ACEOF
29959 rm -f conftest.$ac_objext
29960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29961 (eval $ac_compile) 2>conftest.er1
29962 ac_status=$?
29963 grep -v '^ *+' conftest.er1 >conftest.err
29964 rm -f conftest.er1
29965 cat conftest.err >&5
29966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29967 (exit $ac_status); } &&
29968 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29970 (eval $ac_try) 2>&5
29971 ac_status=$?
29972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29973 (exit $ac_status); }; } &&
29974 { ac_try='test -s conftest.$ac_objext'
29975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29976 (eval $ac_try) 2>&5
29977 ac_status=$?
29978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29979 (exit $ac_status); }; }; then
29980 wx_cv_type_statvfs_t=statvfs_t
29981 else
29982 echo "$as_me: failed program was:" >&5
29983 sed 's/^/| /' conftest.$ac_ext >&5
29984
29985
29986 cat >conftest.$ac_ext <<_ACEOF
29987 /* confdefs.h. */
29988 _ACEOF
29989 cat confdefs.h >>conftest.$ac_ext
29990 cat >>conftest.$ac_ext <<_ACEOF
29991 /* end confdefs.h. */
29992
29993 #include <sys/statvfs.h>
29994
29995 int
29996 main ()
29997 {
29998
29999 long l;
30000 struct statvfs fs;
30001 statvfs("/", &fs);
30002 l = fs.f_bsize;
30003 l += fs.f_blocks;
30004 l += fs.f_bavail;
30005
30006 ;
30007 return 0;
30008 }
30009 _ACEOF
30010 rm -f conftest.$ac_objext
30011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30012 (eval $ac_compile) 2>conftest.er1
30013 ac_status=$?
30014 grep -v '^ *+' conftest.er1 >conftest.err
30015 rm -f conftest.er1
30016 cat conftest.err >&5
30017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30018 (exit $ac_status); } &&
30019 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30021 (eval $ac_try) 2>&5
30022 ac_status=$?
30023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30024 (exit $ac_status); }; } &&
30025 { ac_try='test -s conftest.$ac_objext'
30026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30027 (eval $ac_try) 2>&5
30028 ac_status=$?
30029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30030 (exit $ac_status); }; }; then
30031 wx_cv_type_statvfs_t="struct statvfs"
30032 else
30033 echo "$as_me: failed program was:" >&5
30034 sed 's/^/| /' conftest.$ac_ext >&5
30035
30036 wx_cv_type_statvfs_t="unknown"
30037
30038 fi
30039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30040
30041
30042 fi
30043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30044
30045 fi
30046 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30047 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30048
30049 ac_ext=c
30050 ac_cpp='$CPP $CPPFLAGS'
30051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30054
30055
30056 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30057 cat >>confdefs.h <<\_ACEOF
30058 #define HAVE_STATVFS 1
30059 _ACEOF
30060
30061 fi
30062 else
30063 wx_cv_type_statvfs_t="unknown"
30064 fi
30065 fi
30066
30067 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30068 cat >>confdefs.h <<_ACEOF
30069 #define WX_STATFS_T $wx_cv_type_statvfs_t
30070 _ACEOF
30071
30072 else
30073 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30074 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30075 fi
30076
30077 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30078
30079
30080 for ac_func in fcntl flock
30081 do
30082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30083 echo "$as_me:$LINENO: checking for $ac_func" >&5
30084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30085 if eval "test \"\${$as_ac_var+set}\" = set"; then
30086 echo $ECHO_N "(cached) $ECHO_C" >&6
30087 else
30088 cat >conftest.$ac_ext <<_ACEOF
30089 /* confdefs.h. */
30090 _ACEOF
30091 cat confdefs.h >>conftest.$ac_ext
30092 cat >>conftest.$ac_ext <<_ACEOF
30093 /* end confdefs.h. */
30094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30096 #define $ac_func innocuous_$ac_func
30097
30098 /* System header to define __stub macros and hopefully few prototypes,
30099 which can conflict with char $ac_func (); below.
30100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30101 <limits.h> exists even on freestanding compilers. */
30102
30103 #ifdef __STDC__
30104 # include <limits.h>
30105 #else
30106 # include <assert.h>
30107 #endif
30108
30109 #undef $ac_func
30110
30111 /* Override any gcc2 internal prototype to avoid an error. */
30112 #ifdef __cplusplus
30113 extern "C"
30114 {
30115 #endif
30116 /* We use char because int might match the return type of a gcc2
30117 builtin and then its argument prototype would still apply. */
30118 char $ac_func ();
30119 /* The GNU C library defines this for functions which it implements
30120 to always fail with ENOSYS. Some functions are actually named
30121 something starting with __ and the normal name is an alias. */
30122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30123 choke me
30124 #else
30125 char (*f) () = $ac_func;
30126 #endif
30127 #ifdef __cplusplus
30128 }
30129 #endif
30130
30131 int
30132 main ()
30133 {
30134 return f != $ac_func;
30135 ;
30136 return 0;
30137 }
30138 _ACEOF
30139 rm -f conftest.$ac_objext conftest$ac_exeext
30140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30141 (eval $ac_link) 2>conftest.er1
30142 ac_status=$?
30143 grep -v '^ *+' conftest.er1 >conftest.err
30144 rm -f conftest.er1
30145 cat conftest.err >&5
30146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30147 (exit $ac_status); } &&
30148 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30150 (eval $ac_try) 2>&5
30151 ac_status=$?
30152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30153 (exit $ac_status); }; } &&
30154 { ac_try='test -s conftest$ac_exeext'
30155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30156 (eval $ac_try) 2>&5
30157 ac_status=$?
30158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30159 (exit $ac_status); }; }; then
30160 eval "$as_ac_var=yes"
30161 else
30162 echo "$as_me: failed program was:" >&5
30163 sed 's/^/| /' conftest.$ac_ext >&5
30164
30165 eval "$as_ac_var=no"
30166 fi
30167 rm -f conftest.err conftest.$ac_objext \
30168 conftest$ac_exeext conftest.$ac_ext
30169 fi
30170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30172 if test `eval echo '${'$as_ac_var'}'` = yes; then
30173 cat >>confdefs.h <<_ACEOF
30174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30175 _ACEOF
30176 break
30177 fi
30178 done
30179
30180
30181 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30182 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30183 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30184 wxUSE_SNGLINST_CHECKER=no
30185 fi
30186 fi
30187
30188
30189 for ac_func in timegm
30190 do
30191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30192 echo "$as_me:$LINENO: checking for $ac_func" >&5
30193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30194 if eval "test \"\${$as_ac_var+set}\" = set"; then
30195 echo $ECHO_N "(cached) $ECHO_C" >&6
30196 else
30197 cat >conftest.$ac_ext <<_ACEOF
30198 /* confdefs.h. */
30199 _ACEOF
30200 cat confdefs.h >>conftest.$ac_ext
30201 cat >>conftest.$ac_ext <<_ACEOF
30202 /* end confdefs.h. */
30203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30205 #define $ac_func innocuous_$ac_func
30206
30207 /* System header to define __stub macros and hopefully few prototypes,
30208 which can conflict with char $ac_func (); below.
30209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30210 <limits.h> exists even on freestanding compilers. */
30211
30212 #ifdef __STDC__
30213 # include <limits.h>
30214 #else
30215 # include <assert.h>
30216 #endif
30217
30218 #undef $ac_func
30219
30220 /* Override any gcc2 internal prototype to avoid an error. */
30221 #ifdef __cplusplus
30222 extern "C"
30223 {
30224 #endif
30225 /* We use char because int might match the return type of a gcc2
30226 builtin and then its argument prototype would still apply. */
30227 char $ac_func ();
30228 /* The GNU C library defines this for functions which it implements
30229 to always fail with ENOSYS. Some functions are actually named
30230 something starting with __ and the normal name is an alias. */
30231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30232 choke me
30233 #else
30234 char (*f) () = $ac_func;
30235 #endif
30236 #ifdef __cplusplus
30237 }
30238 #endif
30239
30240 int
30241 main ()
30242 {
30243 return f != $ac_func;
30244 ;
30245 return 0;
30246 }
30247 _ACEOF
30248 rm -f conftest.$ac_objext conftest$ac_exeext
30249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30250 (eval $ac_link) 2>conftest.er1
30251 ac_status=$?
30252 grep -v '^ *+' conftest.er1 >conftest.err
30253 rm -f conftest.er1
30254 cat conftest.err >&5
30255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30256 (exit $ac_status); } &&
30257 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30259 (eval $ac_try) 2>&5
30260 ac_status=$?
30261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30262 (exit $ac_status); }; } &&
30263 { ac_try='test -s conftest$ac_exeext'
30264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30265 (eval $ac_try) 2>&5
30266 ac_status=$?
30267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30268 (exit $ac_status); }; }; then
30269 eval "$as_ac_var=yes"
30270 else
30271 echo "$as_me: failed program was:" >&5
30272 sed 's/^/| /' conftest.$ac_ext >&5
30273
30274 eval "$as_ac_var=no"
30275 fi
30276 rm -f conftest.err conftest.$ac_objext \
30277 conftest$ac_exeext conftest.$ac_ext
30278 fi
30279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30281 if test `eval echo '${'$as_ac_var'}'` = yes; then
30282 cat >>confdefs.h <<_ACEOF
30283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30284 _ACEOF
30285
30286 fi
30287 done
30288
30289
30290
30291
30292 for ac_func in putenv setenv
30293 do
30294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30295 echo "$as_me:$LINENO: checking for $ac_func" >&5
30296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30297 if eval "test \"\${$as_ac_var+set}\" = set"; then
30298 echo $ECHO_N "(cached) $ECHO_C" >&6
30299 else
30300 cat >conftest.$ac_ext <<_ACEOF
30301 /* confdefs.h. */
30302 _ACEOF
30303 cat confdefs.h >>conftest.$ac_ext
30304 cat >>conftest.$ac_ext <<_ACEOF
30305 /* end confdefs.h. */
30306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30308 #define $ac_func innocuous_$ac_func
30309
30310 /* System header to define __stub macros and hopefully few prototypes,
30311 which can conflict with char $ac_func (); below.
30312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30313 <limits.h> exists even on freestanding compilers. */
30314
30315 #ifdef __STDC__
30316 # include <limits.h>
30317 #else
30318 # include <assert.h>
30319 #endif
30320
30321 #undef $ac_func
30322
30323 /* Override any gcc2 internal prototype to avoid an error. */
30324 #ifdef __cplusplus
30325 extern "C"
30326 {
30327 #endif
30328 /* We use char because int might match the return type of a gcc2
30329 builtin and then its argument prototype would still apply. */
30330 char $ac_func ();
30331 /* The GNU C library defines this for functions which it implements
30332 to always fail with ENOSYS. Some functions are actually named
30333 something starting with __ and the normal name is an alias. */
30334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30335 choke me
30336 #else
30337 char (*f) () = $ac_func;
30338 #endif
30339 #ifdef __cplusplus
30340 }
30341 #endif
30342
30343 int
30344 main ()
30345 {
30346 return f != $ac_func;
30347 ;
30348 return 0;
30349 }
30350 _ACEOF
30351 rm -f conftest.$ac_objext conftest$ac_exeext
30352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30353 (eval $ac_link) 2>conftest.er1
30354 ac_status=$?
30355 grep -v '^ *+' conftest.er1 >conftest.err
30356 rm -f conftest.er1
30357 cat conftest.err >&5
30358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30359 (exit $ac_status); } &&
30360 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30362 (eval $ac_try) 2>&5
30363 ac_status=$?
30364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30365 (exit $ac_status); }; } &&
30366 { ac_try='test -s conftest$ac_exeext'
30367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30368 (eval $ac_try) 2>&5
30369 ac_status=$?
30370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30371 (exit $ac_status); }; }; then
30372 eval "$as_ac_var=yes"
30373 else
30374 echo "$as_me: failed program was:" >&5
30375 sed 's/^/| /' conftest.$ac_ext >&5
30376
30377 eval "$as_ac_var=no"
30378 fi
30379 rm -f conftest.err conftest.$ac_objext \
30380 conftest$ac_exeext conftest.$ac_ext
30381 fi
30382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30384 if test `eval echo '${'$as_ac_var'}'` = yes; then
30385 cat >>confdefs.h <<_ACEOF
30386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30387 _ACEOF
30388 break
30389 fi
30390 done
30391
30392
30393 HAVE_SOME_SLEEP_FUNC=0
30394 if test "$USE_BEOS" = 1; then
30395 cat >>confdefs.h <<\_ACEOF
30396 #define HAVE_SLEEP 1
30397 _ACEOF
30398
30399 HAVE_SOME_SLEEP_FUNC=1
30400 fi
30401
30402 if test "$USE_DARWIN" = 1; then
30403 cat >>confdefs.h <<\_ACEOF
30404 #define HAVE_USLEEP 1
30405 _ACEOF
30406
30407 HAVE_SOME_SLEEP_FUNC=1
30408 fi
30409
30410 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30411 POSIX4_LINK=
30412
30413 for ac_func in nanosleep
30414 do
30415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30416 echo "$as_me:$LINENO: checking for $ac_func" >&5
30417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30418 if eval "test \"\${$as_ac_var+set}\" = set"; then
30419 echo $ECHO_N "(cached) $ECHO_C" >&6
30420 else
30421 cat >conftest.$ac_ext <<_ACEOF
30422 /* confdefs.h. */
30423 _ACEOF
30424 cat confdefs.h >>conftest.$ac_ext
30425 cat >>conftest.$ac_ext <<_ACEOF
30426 /* end confdefs.h. */
30427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30429 #define $ac_func innocuous_$ac_func
30430
30431 /* System header to define __stub macros and hopefully few prototypes,
30432 which can conflict with char $ac_func (); below.
30433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30434 <limits.h> exists even on freestanding compilers. */
30435
30436 #ifdef __STDC__
30437 # include <limits.h>
30438 #else
30439 # include <assert.h>
30440 #endif
30441
30442 #undef $ac_func
30443
30444 /* Override any gcc2 internal prototype to avoid an error. */
30445 #ifdef __cplusplus
30446 extern "C"
30447 {
30448 #endif
30449 /* We use char because int might match the return type of a gcc2
30450 builtin and then its argument prototype would still apply. */
30451 char $ac_func ();
30452 /* The GNU C library defines this for functions which it implements
30453 to always fail with ENOSYS. Some functions are actually named
30454 something starting with __ and the normal name is an alias. */
30455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30456 choke me
30457 #else
30458 char (*f) () = $ac_func;
30459 #endif
30460 #ifdef __cplusplus
30461 }
30462 #endif
30463
30464 int
30465 main ()
30466 {
30467 return f != $ac_func;
30468 ;
30469 return 0;
30470 }
30471 _ACEOF
30472 rm -f conftest.$ac_objext conftest$ac_exeext
30473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30474 (eval $ac_link) 2>conftest.er1
30475 ac_status=$?
30476 grep -v '^ *+' conftest.er1 >conftest.err
30477 rm -f conftest.er1
30478 cat conftest.err >&5
30479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30480 (exit $ac_status); } &&
30481 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30483 (eval $ac_try) 2>&5
30484 ac_status=$?
30485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30486 (exit $ac_status); }; } &&
30487 { ac_try='test -s conftest$ac_exeext'
30488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30489 (eval $ac_try) 2>&5
30490 ac_status=$?
30491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30492 (exit $ac_status); }; }; then
30493 eval "$as_ac_var=yes"
30494 else
30495 echo "$as_me: failed program was:" >&5
30496 sed 's/^/| /' conftest.$ac_ext >&5
30497
30498 eval "$as_ac_var=no"
30499 fi
30500 rm -f conftest.err conftest.$ac_objext \
30501 conftest$ac_exeext conftest.$ac_ext
30502 fi
30503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30505 if test `eval echo '${'$as_ac_var'}'` = yes; then
30506 cat >>confdefs.h <<_ACEOF
30507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30508 _ACEOF
30509 cat >>confdefs.h <<\_ACEOF
30510 #define HAVE_NANOSLEEP 1
30511 _ACEOF
30512
30513 else
30514
30515 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30516 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30517 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30518 echo $ECHO_N "(cached) $ECHO_C" >&6
30519 else
30520 ac_check_lib_save_LIBS=$LIBS
30521 LIBS="-lposix4 $LIBS"
30522 cat >conftest.$ac_ext <<_ACEOF
30523 /* confdefs.h. */
30524 _ACEOF
30525 cat confdefs.h >>conftest.$ac_ext
30526 cat >>conftest.$ac_ext <<_ACEOF
30527 /* end confdefs.h. */
30528
30529 /* Override any gcc2 internal prototype to avoid an error. */
30530 #ifdef __cplusplus
30531 extern "C"
30532 #endif
30533 /* We use char because int might match the return type of a gcc2
30534 builtin and then its argument prototype would still apply. */
30535 char nanosleep ();
30536 int
30537 main ()
30538 {
30539 nanosleep ();
30540 ;
30541 return 0;
30542 }
30543 _ACEOF
30544 rm -f conftest.$ac_objext conftest$ac_exeext
30545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30546 (eval $ac_link) 2>conftest.er1
30547 ac_status=$?
30548 grep -v '^ *+' conftest.er1 >conftest.err
30549 rm -f conftest.er1
30550 cat conftest.err >&5
30551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30552 (exit $ac_status); } &&
30553 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30555 (eval $ac_try) 2>&5
30556 ac_status=$?
30557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30558 (exit $ac_status); }; } &&
30559 { ac_try='test -s conftest$ac_exeext'
30560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30561 (eval $ac_try) 2>&5
30562 ac_status=$?
30563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30564 (exit $ac_status); }; }; then
30565 ac_cv_lib_posix4_nanosleep=yes
30566 else
30567 echo "$as_me: failed program was:" >&5
30568 sed 's/^/| /' conftest.$ac_ext >&5
30569
30570 ac_cv_lib_posix4_nanosleep=no
30571 fi
30572 rm -f conftest.err conftest.$ac_objext \
30573 conftest$ac_exeext conftest.$ac_ext
30574 LIBS=$ac_check_lib_save_LIBS
30575 fi
30576 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30577 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30578 if test $ac_cv_lib_posix4_nanosleep = yes; then
30579
30580 cat >>confdefs.h <<\_ACEOF
30581 #define HAVE_NANOSLEEP 1
30582 _ACEOF
30583
30584 POSIX4_LINK=" -lposix4"
30585
30586 else
30587
30588
30589 for ac_func in usleep
30590 do
30591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30592 echo "$as_me:$LINENO: checking for $ac_func" >&5
30593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30594 if eval "test \"\${$as_ac_var+set}\" = set"; then
30595 echo $ECHO_N "(cached) $ECHO_C" >&6
30596 else
30597 cat >conftest.$ac_ext <<_ACEOF
30598 /* confdefs.h. */
30599 _ACEOF
30600 cat confdefs.h >>conftest.$ac_ext
30601 cat >>conftest.$ac_ext <<_ACEOF
30602 /* end confdefs.h. */
30603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30605 #define $ac_func innocuous_$ac_func
30606
30607 /* System header to define __stub macros and hopefully few prototypes,
30608 which can conflict with char $ac_func (); below.
30609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30610 <limits.h> exists even on freestanding compilers. */
30611
30612 #ifdef __STDC__
30613 # include <limits.h>
30614 #else
30615 # include <assert.h>
30616 #endif
30617
30618 #undef $ac_func
30619
30620 /* Override any gcc2 internal prototype to avoid an error. */
30621 #ifdef __cplusplus
30622 extern "C"
30623 {
30624 #endif
30625 /* We use char because int might match the return type of a gcc2
30626 builtin and then its argument prototype would still apply. */
30627 char $ac_func ();
30628 /* The GNU C library defines this for functions which it implements
30629 to always fail with ENOSYS. Some functions are actually named
30630 something starting with __ and the normal name is an alias. */
30631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30632 choke me
30633 #else
30634 char (*f) () = $ac_func;
30635 #endif
30636 #ifdef __cplusplus
30637 }
30638 #endif
30639
30640 int
30641 main ()
30642 {
30643 return f != $ac_func;
30644 ;
30645 return 0;
30646 }
30647 _ACEOF
30648 rm -f conftest.$ac_objext conftest$ac_exeext
30649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30650 (eval $ac_link) 2>conftest.er1
30651 ac_status=$?
30652 grep -v '^ *+' conftest.er1 >conftest.err
30653 rm -f conftest.er1
30654 cat conftest.err >&5
30655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30656 (exit $ac_status); } &&
30657 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30659 (eval $ac_try) 2>&5
30660 ac_status=$?
30661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30662 (exit $ac_status); }; } &&
30663 { ac_try='test -s conftest$ac_exeext'
30664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30665 (eval $ac_try) 2>&5
30666 ac_status=$?
30667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30668 (exit $ac_status); }; }; then
30669 eval "$as_ac_var=yes"
30670 else
30671 echo "$as_me: failed program was:" >&5
30672 sed 's/^/| /' conftest.$ac_ext >&5
30673
30674 eval "$as_ac_var=no"
30675 fi
30676 rm -f conftest.err conftest.$ac_objext \
30677 conftest$ac_exeext conftest.$ac_ext
30678 fi
30679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30681 if test `eval echo '${'$as_ac_var'}'` = yes; then
30682 cat >>confdefs.h <<_ACEOF
30683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30684 _ACEOF
30685 cat >>confdefs.h <<\_ACEOF
30686 #define HAVE_USLEEP 1
30687 _ACEOF
30688
30689 else
30690 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30691 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30692
30693 fi
30694 done
30695
30696
30697
30698 fi
30699
30700
30701
30702 fi
30703 done
30704
30705 fi
30706
30707
30708
30709 for ac_func in uname gethostname
30710 do
30711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30712 echo "$as_me:$LINENO: checking for $ac_func" >&5
30713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30714 if eval "test \"\${$as_ac_var+set}\" = set"; then
30715 echo $ECHO_N "(cached) $ECHO_C" >&6
30716 else
30717 cat >conftest.$ac_ext <<_ACEOF
30718 /* confdefs.h. */
30719 _ACEOF
30720 cat confdefs.h >>conftest.$ac_ext
30721 cat >>conftest.$ac_ext <<_ACEOF
30722 /* end confdefs.h. */
30723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30725 #define $ac_func innocuous_$ac_func
30726
30727 /* System header to define __stub macros and hopefully few prototypes,
30728 which can conflict with char $ac_func (); below.
30729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30730 <limits.h> exists even on freestanding compilers. */
30731
30732 #ifdef __STDC__
30733 # include <limits.h>
30734 #else
30735 # include <assert.h>
30736 #endif
30737
30738 #undef $ac_func
30739
30740 /* Override any gcc2 internal prototype to avoid an error. */
30741 #ifdef __cplusplus
30742 extern "C"
30743 {
30744 #endif
30745 /* We use char because int might match the return type of a gcc2
30746 builtin and then its argument prototype would still apply. */
30747 char $ac_func ();
30748 /* The GNU C library defines this for functions which it implements
30749 to always fail with ENOSYS. Some functions are actually named
30750 something starting with __ and the normal name is an alias. */
30751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30752 choke me
30753 #else
30754 char (*f) () = $ac_func;
30755 #endif
30756 #ifdef __cplusplus
30757 }
30758 #endif
30759
30760 int
30761 main ()
30762 {
30763 return f != $ac_func;
30764 ;
30765 return 0;
30766 }
30767 _ACEOF
30768 rm -f conftest.$ac_objext conftest$ac_exeext
30769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30770 (eval $ac_link) 2>conftest.er1
30771 ac_status=$?
30772 grep -v '^ *+' conftest.er1 >conftest.err
30773 rm -f conftest.er1
30774 cat conftest.err >&5
30775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30776 (exit $ac_status); } &&
30777 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30779 (eval $ac_try) 2>&5
30780 ac_status=$?
30781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30782 (exit $ac_status); }; } &&
30783 { ac_try='test -s conftest$ac_exeext'
30784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30785 (eval $ac_try) 2>&5
30786 ac_status=$?
30787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30788 (exit $ac_status); }; }; then
30789 eval "$as_ac_var=yes"
30790 else
30791 echo "$as_me: failed program was:" >&5
30792 sed 's/^/| /' conftest.$ac_ext >&5
30793
30794 eval "$as_ac_var=no"
30795 fi
30796 rm -f conftest.err conftest.$ac_objext \
30797 conftest$ac_exeext conftest.$ac_ext
30798 fi
30799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30801 if test `eval echo '${'$as_ac_var'}'` = yes; then
30802 cat >>confdefs.h <<_ACEOF
30803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30804 _ACEOF
30805 break
30806 fi
30807 done
30808
30809
30810
30811
30812 ac_ext=cc
30813 ac_cpp='$CXXCPP $CPPFLAGS'
30814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30817
30818
30819
30820 for ac_func in strtok_r
30821 do
30822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30823 echo "$as_me:$LINENO: checking for $ac_func" >&5
30824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30825 if eval "test \"\${$as_ac_var+set}\" = set"; then
30826 echo $ECHO_N "(cached) $ECHO_C" >&6
30827 else
30828 cat >conftest.$ac_ext <<_ACEOF
30829 /* confdefs.h. */
30830 _ACEOF
30831 cat confdefs.h >>conftest.$ac_ext
30832 cat >>conftest.$ac_ext <<_ACEOF
30833 /* end confdefs.h. */
30834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30836 #define $ac_func innocuous_$ac_func
30837
30838 /* System header to define __stub macros and hopefully few prototypes,
30839 which can conflict with char $ac_func (); below.
30840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30841 <limits.h> exists even on freestanding compilers. */
30842
30843 #ifdef __STDC__
30844 # include <limits.h>
30845 #else
30846 # include <assert.h>
30847 #endif
30848
30849 #undef $ac_func
30850
30851 /* Override any gcc2 internal prototype to avoid an error. */
30852 #ifdef __cplusplus
30853 extern "C"
30854 {
30855 #endif
30856 /* We use char because int might match the return type of a gcc2
30857 builtin and then its argument prototype would still apply. */
30858 char $ac_func ();
30859 /* The GNU C library defines this for functions which it implements
30860 to always fail with ENOSYS. Some functions are actually named
30861 something starting with __ and the normal name is an alias. */
30862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30863 choke me
30864 #else
30865 char (*f) () = $ac_func;
30866 #endif
30867 #ifdef __cplusplus
30868 }
30869 #endif
30870
30871 int
30872 main ()
30873 {
30874 return f != $ac_func;
30875 ;
30876 return 0;
30877 }
30878 _ACEOF
30879 rm -f conftest.$ac_objext conftest$ac_exeext
30880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30881 (eval $ac_link) 2>conftest.er1
30882 ac_status=$?
30883 grep -v '^ *+' conftest.er1 >conftest.err
30884 rm -f conftest.er1
30885 cat conftest.err >&5
30886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30887 (exit $ac_status); } &&
30888 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30890 (eval $ac_try) 2>&5
30891 ac_status=$?
30892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30893 (exit $ac_status); }; } &&
30894 { ac_try='test -s conftest$ac_exeext'
30895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30896 (eval $ac_try) 2>&5
30897 ac_status=$?
30898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30899 (exit $ac_status); }; }; then
30900 eval "$as_ac_var=yes"
30901 else
30902 echo "$as_me: failed program was:" >&5
30903 sed 's/^/| /' conftest.$ac_ext >&5
30904
30905 eval "$as_ac_var=no"
30906 fi
30907 rm -f conftest.err conftest.$ac_objext \
30908 conftest$ac_exeext conftest.$ac_ext
30909 fi
30910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30912 if test `eval echo '${'$as_ac_var'}'` = yes; then
30913 cat >>confdefs.h <<_ACEOF
30914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30915 _ACEOF
30916
30917 fi
30918 done
30919
30920
30921 ac_ext=c
30922 ac_cpp='$CPP $CPPFLAGS'
30923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30926
30927
30928 INET_LINK=
30929
30930 for ac_func in inet_addr
30931 do
30932 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30933 echo "$as_me:$LINENO: checking for $ac_func" >&5
30934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30935 if eval "test \"\${$as_ac_var+set}\" = set"; then
30936 echo $ECHO_N "(cached) $ECHO_C" >&6
30937 else
30938 cat >conftest.$ac_ext <<_ACEOF
30939 /* confdefs.h. */
30940 _ACEOF
30941 cat confdefs.h >>conftest.$ac_ext
30942 cat >>conftest.$ac_ext <<_ACEOF
30943 /* end confdefs.h. */
30944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30946 #define $ac_func innocuous_$ac_func
30947
30948 /* System header to define __stub macros and hopefully few prototypes,
30949 which can conflict with char $ac_func (); below.
30950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30951 <limits.h> exists even on freestanding compilers. */
30952
30953 #ifdef __STDC__
30954 # include <limits.h>
30955 #else
30956 # include <assert.h>
30957 #endif
30958
30959 #undef $ac_func
30960
30961 /* Override any gcc2 internal prototype to avoid an error. */
30962 #ifdef __cplusplus
30963 extern "C"
30964 {
30965 #endif
30966 /* We use char because int might match the return type of a gcc2
30967 builtin and then its argument prototype would still apply. */
30968 char $ac_func ();
30969 /* The GNU C library defines this for functions which it implements
30970 to always fail with ENOSYS. Some functions are actually named
30971 something starting with __ and the normal name is an alias. */
30972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30973 choke me
30974 #else
30975 char (*f) () = $ac_func;
30976 #endif
30977 #ifdef __cplusplus
30978 }
30979 #endif
30980
30981 int
30982 main ()
30983 {
30984 return f != $ac_func;
30985 ;
30986 return 0;
30987 }
30988 _ACEOF
30989 rm -f conftest.$ac_objext conftest$ac_exeext
30990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30991 (eval $ac_link) 2>conftest.er1
30992 ac_status=$?
30993 grep -v '^ *+' conftest.er1 >conftest.err
30994 rm -f conftest.er1
30995 cat conftest.err >&5
30996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30997 (exit $ac_status); } &&
30998 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31000 (eval $ac_try) 2>&5
31001 ac_status=$?
31002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31003 (exit $ac_status); }; } &&
31004 { ac_try='test -s conftest$ac_exeext'
31005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31006 (eval $ac_try) 2>&5
31007 ac_status=$?
31008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31009 (exit $ac_status); }; }; then
31010 eval "$as_ac_var=yes"
31011 else
31012 echo "$as_me: failed program was:" >&5
31013 sed 's/^/| /' conftest.$ac_ext >&5
31014
31015 eval "$as_ac_var=no"
31016 fi
31017 rm -f conftest.err conftest.$ac_objext \
31018 conftest$ac_exeext conftest.$ac_ext
31019 fi
31020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31022 if test `eval echo '${'$as_ac_var'}'` = yes; then
31023 cat >>confdefs.h <<_ACEOF
31024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31025 _ACEOF
31026 cat >>confdefs.h <<\_ACEOF
31027 #define HAVE_INET_ADDR 1
31028 _ACEOF
31029
31030 else
31031
31032 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31033 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31034 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31035 echo $ECHO_N "(cached) $ECHO_C" >&6
31036 else
31037 ac_check_lib_save_LIBS=$LIBS
31038 LIBS="-lnsl $LIBS"
31039 cat >conftest.$ac_ext <<_ACEOF
31040 /* confdefs.h. */
31041 _ACEOF
31042 cat confdefs.h >>conftest.$ac_ext
31043 cat >>conftest.$ac_ext <<_ACEOF
31044 /* end confdefs.h. */
31045
31046 /* Override any gcc2 internal prototype to avoid an error. */
31047 #ifdef __cplusplus
31048 extern "C"
31049 #endif
31050 /* We use char because int might match the return type of a gcc2
31051 builtin and then its argument prototype would still apply. */
31052 char inet_addr ();
31053 int
31054 main ()
31055 {
31056 inet_addr ();
31057 ;
31058 return 0;
31059 }
31060 _ACEOF
31061 rm -f conftest.$ac_objext conftest$ac_exeext
31062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31063 (eval $ac_link) 2>conftest.er1
31064 ac_status=$?
31065 grep -v '^ *+' conftest.er1 >conftest.err
31066 rm -f conftest.er1
31067 cat conftest.err >&5
31068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31069 (exit $ac_status); } &&
31070 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31072 (eval $ac_try) 2>&5
31073 ac_status=$?
31074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31075 (exit $ac_status); }; } &&
31076 { ac_try='test -s conftest$ac_exeext'
31077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31078 (eval $ac_try) 2>&5
31079 ac_status=$?
31080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31081 (exit $ac_status); }; }; then
31082 ac_cv_lib_nsl_inet_addr=yes
31083 else
31084 echo "$as_me: failed program was:" >&5
31085 sed 's/^/| /' conftest.$ac_ext >&5
31086
31087 ac_cv_lib_nsl_inet_addr=no
31088 fi
31089 rm -f conftest.err conftest.$ac_objext \
31090 conftest$ac_exeext conftest.$ac_ext
31091 LIBS=$ac_check_lib_save_LIBS
31092 fi
31093 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31094 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31095 if test $ac_cv_lib_nsl_inet_addr = yes; then
31096 INET_LINK="nsl"
31097 else
31098
31099 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31100 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31101 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31102 echo $ECHO_N "(cached) $ECHO_C" >&6
31103 else
31104 ac_check_lib_save_LIBS=$LIBS
31105 LIBS="-lresolv $LIBS"
31106 cat >conftest.$ac_ext <<_ACEOF
31107 /* confdefs.h. */
31108 _ACEOF
31109 cat confdefs.h >>conftest.$ac_ext
31110 cat >>conftest.$ac_ext <<_ACEOF
31111 /* end confdefs.h. */
31112
31113 /* Override any gcc2 internal prototype to avoid an error. */
31114 #ifdef __cplusplus
31115 extern "C"
31116 #endif
31117 /* We use char because int might match the return type of a gcc2
31118 builtin and then its argument prototype would still apply. */
31119 char inet_addr ();
31120 int
31121 main ()
31122 {
31123 inet_addr ();
31124 ;
31125 return 0;
31126 }
31127 _ACEOF
31128 rm -f conftest.$ac_objext conftest$ac_exeext
31129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31130 (eval $ac_link) 2>conftest.er1
31131 ac_status=$?
31132 grep -v '^ *+' conftest.er1 >conftest.err
31133 rm -f conftest.er1
31134 cat conftest.err >&5
31135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31136 (exit $ac_status); } &&
31137 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31139 (eval $ac_try) 2>&5
31140 ac_status=$?
31141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31142 (exit $ac_status); }; } &&
31143 { ac_try='test -s conftest$ac_exeext'
31144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31145 (eval $ac_try) 2>&5
31146 ac_status=$?
31147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31148 (exit $ac_status); }; }; then
31149 ac_cv_lib_resolv_inet_addr=yes
31150 else
31151 echo "$as_me: failed program was:" >&5
31152 sed 's/^/| /' conftest.$ac_ext >&5
31153
31154 ac_cv_lib_resolv_inet_addr=no
31155 fi
31156 rm -f conftest.err conftest.$ac_objext \
31157 conftest$ac_exeext conftest.$ac_ext
31158 LIBS=$ac_check_lib_save_LIBS
31159 fi
31160 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31161 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31162 if test $ac_cv_lib_resolv_inet_addr = yes; then
31163 INET_LINK="resolv"
31164 else
31165
31166 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31167 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31168 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31169 echo $ECHO_N "(cached) $ECHO_C" >&6
31170 else
31171 ac_check_lib_save_LIBS=$LIBS
31172 LIBS="-lsocket $LIBS"
31173 cat >conftest.$ac_ext <<_ACEOF
31174 /* confdefs.h. */
31175 _ACEOF
31176 cat confdefs.h >>conftest.$ac_ext
31177 cat >>conftest.$ac_ext <<_ACEOF
31178 /* end confdefs.h. */
31179
31180 /* Override any gcc2 internal prototype to avoid an error. */
31181 #ifdef __cplusplus
31182 extern "C"
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 inet_addr ();
31187 int
31188 main ()
31189 {
31190 inet_addr ();
31191 ;
31192 return 0;
31193 }
31194 _ACEOF
31195 rm -f conftest.$ac_objext conftest$ac_exeext
31196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31197 (eval $ac_link) 2>conftest.er1
31198 ac_status=$?
31199 grep -v '^ *+' conftest.er1 >conftest.err
31200 rm -f conftest.er1
31201 cat conftest.err >&5
31202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31203 (exit $ac_status); } &&
31204 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31206 (eval $ac_try) 2>&5
31207 ac_status=$?
31208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31209 (exit $ac_status); }; } &&
31210 { ac_try='test -s conftest$ac_exeext'
31211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31212 (eval $ac_try) 2>&5
31213 ac_status=$?
31214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31215 (exit $ac_status); }; }; then
31216 ac_cv_lib_socket_inet_addr=yes
31217 else
31218 echo "$as_me: failed program was:" >&5
31219 sed 's/^/| /' conftest.$ac_ext >&5
31220
31221 ac_cv_lib_socket_inet_addr=no
31222 fi
31223 rm -f conftest.err conftest.$ac_objext \
31224 conftest$ac_exeext conftest.$ac_ext
31225 LIBS=$ac_check_lib_save_LIBS
31226 fi
31227 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31228 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31229 if test $ac_cv_lib_socket_inet_addr = yes; then
31230 INET_LINK="socket"
31231
31232 fi
31233
31234
31235
31236 fi
31237
31238
31239
31240 fi
31241
31242
31243
31244 fi
31245 done
31246
31247
31248
31249 for ac_func in inet_aton
31250 do
31251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31252 echo "$as_me:$LINENO: checking for $ac_func" >&5
31253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31254 if eval "test \"\${$as_ac_var+set}\" = set"; then
31255 echo $ECHO_N "(cached) $ECHO_C" >&6
31256 else
31257 cat >conftest.$ac_ext <<_ACEOF
31258 /* confdefs.h. */
31259 _ACEOF
31260 cat confdefs.h >>conftest.$ac_ext
31261 cat >>conftest.$ac_ext <<_ACEOF
31262 /* end confdefs.h. */
31263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31265 #define $ac_func innocuous_$ac_func
31266
31267 /* System header to define __stub macros and hopefully few prototypes,
31268 which can conflict with char $ac_func (); below.
31269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31270 <limits.h> exists even on freestanding compilers. */
31271
31272 #ifdef __STDC__
31273 # include <limits.h>
31274 #else
31275 # include <assert.h>
31276 #endif
31277
31278 #undef $ac_func
31279
31280 /* Override any gcc2 internal prototype to avoid an error. */
31281 #ifdef __cplusplus
31282 extern "C"
31283 {
31284 #endif
31285 /* We use char because int might match the return type of a gcc2
31286 builtin and then its argument prototype would still apply. */
31287 char $ac_func ();
31288 /* The GNU C library defines this for functions which it implements
31289 to always fail with ENOSYS. Some functions are actually named
31290 something starting with __ and the normal name is an alias. */
31291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31292 choke me
31293 #else
31294 char (*f) () = $ac_func;
31295 #endif
31296 #ifdef __cplusplus
31297 }
31298 #endif
31299
31300 int
31301 main ()
31302 {
31303 return f != $ac_func;
31304 ;
31305 return 0;
31306 }
31307 _ACEOF
31308 rm -f conftest.$ac_objext conftest$ac_exeext
31309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31310 (eval $ac_link) 2>conftest.er1
31311 ac_status=$?
31312 grep -v '^ *+' conftest.er1 >conftest.err
31313 rm -f conftest.er1
31314 cat conftest.err >&5
31315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31316 (exit $ac_status); } &&
31317 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31319 (eval $ac_try) 2>&5
31320 ac_status=$?
31321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31322 (exit $ac_status); }; } &&
31323 { ac_try='test -s conftest$ac_exeext'
31324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31325 (eval $ac_try) 2>&5
31326 ac_status=$?
31327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31328 (exit $ac_status); }; }; then
31329 eval "$as_ac_var=yes"
31330 else
31331 echo "$as_me: failed program was:" >&5
31332 sed 's/^/| /' conftest.$ac_ext >&5
31333
31334 eval "$as_ac_var=no"
31335 fi
31336 rm -f conftest.err conftest.$ac_objext \
31337 conftest$ac_exeext conftest.$ac_ext
31338 fi
31339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31341 if test `eval echo '${'$as_ac_var'}'` = yes; then
31342 cat >>confdefs.h <<_ACEOF
31343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31344 _ACEOF
31345 cat >>confdefs.h <<\_ACEOF
31346 #define HAVE_INET_ATON 1
31347 _ACEOF
31348
31349 else
31350
31351 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31352 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31353 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31354 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31355 echo $ECHO_N "(cached) $ECHO_C" >&6
31356 else
31357 ac_check_lib_save_LIBS=$LIBS
31358 LIBS="-l$INET_LINK $LIBS"
31359 cat >conftest.$ac_ext <<_ACEOF
31360 /* confdefs.h. */
31361 _ACEOF
31362 cat confdefs.h >>conftest.$ac_ext
31363 cat >>conftest.$ac_ext <<_ACEOF
31364 /* end confdefs.h. */
31365
31366 /* Override any gcc2 internal prototype to avoid an error. */
31367 #ifdef __cplusplus
31368 extern "C"
31369 #endif
31370 /* We use char because int might match the return type of a gcc2
31371 builtin and then its argument prototype would still apply. */
31372 char inet_aton ();
31373 int
31374 main ()
31375 {
31376 inet_aton ();
31377 ;
31378 return 0;
31379 }
31380 _ACEOF
31381 rm -f conftest.$ac_objext conftest$ac_exeext
31382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31383 (eval $ac_link) 2>conftest.er1
31384 ac_status=$?
31385 grep -v '^ *+' conftest.er1 >conftest.err
31386 rm -f conftest.er1
31387 cat conftest.err >&5
31388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31389 (exit $ac_status); } &&
31390 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31392 (eval $ac_try) 2>&5
31393 ac_status=$?
31394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31395 (exit $ac_status); }; } &&
31396 { ac_try='test -s conftest$ac_exeext'
31397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31398 (eval $ac_try) 2>&5
31399 ac_status=$?
31400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31401 (exit $ac_status); }; }; then
31402 eval "$as_ac_Lib=yes"
31403 else
31404 echo "$as_me: failed program was:" >&5
31405 sed 's/^/| /' conftest.$ac_ext >&5
31406
31407 eval "$as_ac_Lib=no"
31408 fi
31409 rm -f conftest.err conftest.$ac_objext \
31410 conftest$ac_exeext conftest.$ac_ext
31411 LIBS=$ac_check_lib_save_LIBS
31412 fi
31413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31414 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31415 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31416 cat >>confdefs.h <<\_ACEOF
31417 #define HAVE_INET_ATON 1
31418 _ACEOF
31419
31420 fi
31421
31422
31423 fi
31424 done
31425
31426
31427 if test "x$INET_LINK" != "x"; then
31428 cat >>confdefs.h <<\_ACEOF
31429 #define HAVE_INET_ADDR 1
31430 _ACEOF
31431
31432 INET_LINK=" -l$INET_LINK"
31433 fi
31434
31435 fi
31436
31437
31438
31439 EXTRALIBS_ESD=
31440 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31441 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31442 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31443 echo $ECHO_N "(cached) $ECHO_C" >&6
31444 else
31445 ac_check_lib_save_LIBS=$LIBS
31446 LIBS="-lesd $LIBS"
31447 cat >conftest.$ac_ext <<_ACEOF
31448 /* confdefs.h. */
31449 _ACEOF
31450 cat confdefs.h >>conftest.$ac_ext
31451 cat >>conftest.$ac_ext <<_ACEOF
31452 /* end confdefs.h. */
31453
31454 /* Override any gcc2 internal prototype to avoid an error. */
31455 #ifdef __cplusplus
31456 extern "C"
31457 #endif
31458 /* We use char because int might match the return type of a gcc2
31459 builtin and then its argument prototype would still apply. */
31460 char esd_close ();
31461 int
31462 main ()
31463 {
31464 esd_close ();
31465 ;
31466 return 0;
31467 }
31468 _ACEOF
31469 rm -f conftest.$ac_objext conftest$ac_exeext
31470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31471 (eval $ac_link) 2>conftest.er1
31472 ac_status=$?
31473 grep -v '^ *+' conftest.er1 >conftest.err
31474 rm -f conftest.er1
31475 cat conftest.err >&5
31476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31477 (exit $ac_status); } &&
31478 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31480 (eval $ac_try) 2>&5
31481 ac_status=$?
31482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31483 (exit $ac_status); }; } &&
31484 { ac_try='test -s conftest$ac_exeext'
31485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31486 (eval $ac_try) 2>&5
31487 ac_status=$?
31488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31489 (exit $ac_status); }; }; then
31490 ac_cv_lib_esd_esd_close=yes
31491 else
31492 echo "$as_me: failed program was:" >&5
31493 sed 's/^/| /' conftest.$ac_ext >&5
31494
31495 ac_cv_lib_esd_esd_close=no
31496 fi
31497 rm -f conftest.err conftest.$ac_objext \
31498 conftest$ac_exeext conftest.$ac_ext
31499 LIBS=$ac_check_lib_save_LIBS
31500 fi
31501 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31502 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31503 if test $ac_cv_lib_esd_esd_close = yes; then
31504
31505
31506 for ac_header in esd.h
31507 do
31508 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31509 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31510 echo "$as_me:$LINENO: checking for $ac_header" >&5
31511 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31512 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31513 echo $ECHO_N "(cached) $ECHO_C" >&6
31514 fi
31515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31516 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31517 else
31518 # Is the header compilable?
31519 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31520 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31521 cat >conftest.$ac_ext <<_ACEOF
31522 /* confdefs.h. */
31523 _ACEOF
31524 cat confdefs.h >>conftest.$ac_ext
31525 cat >>conftest.$ac_ext <<_ACEOF
31526 /* end confdefs.h. */
31527 $ac_includes_default
31528 #include <$ac_header>
31529 _ACEOF
31530 rm -f conftest.$ac_objext
31531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31532 (eval $ac_compile) 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" || test ! -s conftest.err'
31540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31541 (eval $ac_try) 2>&5
31542 ac_status=$?
31543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31544 (exit $ac_status); }; } &&
31545 { ac_try='test -s conftest.$ac_objext'
31546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31547 (eval $ac_try) 2>&5
31548 ac_status=$?
31549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31550 (exit $ac_status); }; }; then
31551 ac_header_compiler=yes
31552 else
31553 echo "$as_me: failed program was:" >&5
31554 sed 's/^/| /' conftest.$ac_ext >&5
31555
31556 ac_header_compiler=no
31557 fi
31558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31559 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31560 echo "${ECHO_T}$ac_header_compiler" >&6
31561
31562 # Is the header present?
31563 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31564 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31565 cat >conftest.$ac_ext <<_ACEOF
31566 /* confdefs.h. */
31567 _ACEOF
31568 cat confdefs.h >>conftest.$ac_ext
31569 cat >>conftest.$ac_ext <<_ACEOF
31570 /* end confdefs.h. */
31571 #include <$ac_header>
31572 _ACEOF
31573 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31574 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31575 ac_status=$?
31576 grep -v '^ *+' conftest.er1 >conftest.err
31577 rm -f conftest.er1
31578 cat conftest.err >&5
31579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31580 (exit $ac_status); } >/dev/null; then
31581 if test -s conftest.err; then
31582 ac_cpp_err=$ac_c_preproc_warn_flag
31583 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31584 else
31585 ac_cpp_err=
31586 fi
31587 else
31588 ac_cpp_err=yes
31589 fi
31590 if test -z "$ac_cpp_err"; then
31591 ac_header_preproc=yes
31592 else
31593 echo "$as_me: failed program was:" >&5
31594 sed 's/^/| /' conftest.$ac_ext >&5
31595
31596 ac_header_preproc=no
31597 fi
31598 rm -f conftest.err conftest.$ac_ext
31599 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31600 echo "${ECHO_T}$ac_header_preproc" >&6
31601
31602 # So? What about this header?
31603 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31604 yes:no: )
31605 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31606 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31608 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31609 ac_header_preproc=yes
31610 ;;
31611 no:yes:* )
31612 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31613 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31614 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31615 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31616 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31617 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31618 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31619 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31620 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31621 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31622 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31623 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31624 (
31625 cat <<\_ASBOX
31626 ## ----------------------------------------- ##
31627 ## Report this to wx-dev@lists.wxwindows.org ##
31628 ## ----------------------------------------- ##
31629 _ASBOX
31630 ) |
31631 sed "s/^/$as_me: WARNING: /" >&2
31632 ;;
31633 esac
31634 echo "$as_me:$LINENO: checking for $ac_header" >&5
31635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31637 echo $ECHO_N "(cached) $ECHO_C" >&6
31638 else
31639 eval "$as_ac_Header=\$ac_header_preproc"
31640 fi
31641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31642 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31643
31644 fi
31645 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31646 cat >>confdefs.h <<_ACEOF
31647 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31648 _ACEOF
31649
31650 EXTRALIBS_ESD="-lesd"
31651
31652 fi
31653
31654 done
31655
31656
31657 fi
31658
31659
31660
31661 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31662 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31663 cat >conftest.$ac_ext <<_ACEOF
31664 /* confdefs.h. */
31665 _ACEOF
31666 cat confdefs.h >>conftest.$ac_ext
31667 cat >>conftest.$ac_ext <<_ACEOF
31668 /* end confdefs.h. */
31669 #ifdef __linux__
31670 #include <linux/cdrom.h>
31671 #else
31672 /* For Solaris */
31673 #include <sys/cdio.h>
31674 #endif
31675
31676 int
31677 main ()
31678 {
31679 struct cdrom_tocentry entry, old_entry;
31680 ;
31681 return 0;
31682 }
31683 _ACEOF
31684 rm -f conftest.$ac_objext
31685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31686 (eval $ac_compile) 2>conftest.er1
31687 ac_status=$?
31688 grep -v '^ *+' conftest.er1 >conftest.err
31689 rm -f conftest.er1
31690 cat conftest.err >&5
31691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31692 (exit $ac_status); } &&
31693 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31695 (eval $ac_try) 2>&5
31696 ac_status=$?
31697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31698 (exit $ac_status); }; } &&
31699 { ac_try='test -s conftest.$ac_objext'
31700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31701 (eval $ac_try) 2>&5
31702 ac_status=$?
31703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31704 (exit $ac_status); }; }; then
31705 echo "$as_me:$LINENO: result: yes" >&5
31706 echo "${ECHO_T}yes" >&6
31707 cat >>confdefs.h <<\_ACEOF
31708 #define HAVE_KNOWN_CDROM_INTERFACE 1
31709 _ACEOF
31710
31711 else
31712 echo "$as_me: failed program was:" >&5
31713 sed 's/^/| /' conftest.$ac_ext >&5
31714
31715 echo "$as_me:$LINENO: result: no" >&5
31716 echo "${ECHO_T}no" >&6
31717 fi
31718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31719
31720
31721 cat >confcache <<\_ACEOF
31722 # This file is a shell script that caches the results of configure
31723 # tests run on this system so they can be shared between configure
31724 # scripts and configure runs, see configure's option --config-cache.
31725 # It is not useful on other systems. If it contains results you don't
31726 # want to keep, you may remove or edit it.
31727 #
31728 # config.status only pays attention to the cache file if you give it
31729 # the --recheck option to rerun configure.
31730 #
31731 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31732 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31733 # following values.
31734
31735 _ACEOF
31736
31737 # The following way of writing the cache mishandles newlines in values,
31738 # but we know of no workaround that is simple, portable, and efficient.
31739 # So, don't put newlines in cache variables' values.
31740 # Ultrix sh set writes to stderr and can't be redirected directly,
31741 # and sets the high bit in the cache file unless we assign to the vars.
31742 {
31743 (set) 2>&1 |
31744 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31745 *ac_space=\ *)
31746 # `set' does not quote correctly, so add quotes (double-quote
31747 # substitution turns \\\\ into \\, and sed turns \\ into \).
31748 sed -n \
31749 "s/'/'\\\\''/g;
31750 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31751 ;;
31752 *)
31753 # `set' quotes correctly as required by POSIX, so do not add quotes.
31754 sed -n \
31755 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
31756 ;;
31757 esac;
31758 } |
31759 sed '
31760 t clear
31761 : clear
31762 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31763 t end
31764 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31765 : end' >>confcache
31766 if diff $cache_file confcache >/dev/null 2>&1; then :; else
31767 if test -w $cache_file; then
31768 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
31769 cat confcache >$cache_file
31770 else
31771 echo "not updating unwritable cache $cache_file"
31772 fi
31773 fi
31774 rm -f confcache
31775
31776
31777 CPP_MT_FLAG=
31778 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31779
31780
31781 THREADS_LINK=
31782 THREADS_CFLAGS=
31783
31784 if test "$wxUSE_THREADS" = "yes" ; then
31785 if test "$USE_BEOS" = 1; then
31786 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
31787 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31788 wxUSE_THREADS="no"
31789 fi
31790 fi
31791
31792 if test "$wxUSE_THREADS" = "yes" ; then
31793
31794
31795 THREAD_OPTS="-pthread"
31796 case "${host}" in
31797 *-*-solaris2* | *-*-sunos4* )
31798 if test "x$GCC" = "xyes"; then
31799 THREAD_OPTS="-pthreads $THREAD_OPTS"
31800 else
31801 THREAD_OPTS="-mt $THREAD_OPTS"
31802 fi
31803 ;;
31804 *-*-freebsd*)
31805 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
31806 ;;
31807 *-*-darwin* | *-*-cygwin* )
31808 THREAD_OPTS=""
31809 ;;
31810 *-*-aix*)
31811 THREAD_OPTS="pthreads"
31812 ;;
31813 *-hp-hpux* )
31814 if test "x$GCC" != "xyes"; then
31815 THREAD_OPTS=""
31816 fi
31817 ;;
31818
31819 *-*-irix* )
31820 if test "x$GCC" = "xyes"; then
31821 THREAD_OPTS=""
31822 fi
31823 ;;
31824
31825 *-*-*UnixWare*)
31826 if test "x$GCC" != "xyes"; then
31827 THREAD_OPTS="-Ethread"
31828 fi
31829 ;;
31830 esac
31831
31832 THREAD_OPTS="$THREAD_OPTS pthread none"
31833
31834 THREADS_OK=no
31835 for flag in $THREAD_OPTS; do
31836 case $flag in
31837 none)
31838 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
31839 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
31840 ;;
31841
31842 -*)
31843 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
31844 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
31845 THREADS_CFLAGS="$flag"
31846 ;;
31847
31848 *)
31849 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
31850 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
31851 THREADS_LINK="-l$flag"
31852 ;;
31853 esac
31854
31855 save_LIBS="$LIBS"
31856 save_CFLAGS="$CFLAGS"
31857 LIBS="$THREADS_LINK $LIBS"
31858 CFLAGS="$THREADS_CFLAGS $CFLAGS"
31859
31860 cat >conftest.$ac_ext <<_ACEOF
31861 /* confdefs.h. */
31862 _ACEOF
31863 cat confdefs.h >>conftest.$ac_ext
31864 cat >>conftest.$ac_ext <<_ACEOF
31865 /* end confdefs.h. */
31866 #include <pthread.h>
31867 int
31868 main ()
31869 {
31870 pthread_create(0,0,0,0);
31871 ;
31872 return 0;
31873 }
31874 _ACEOF
31875 rm -f conftest.$ac_objext conftest$ac_exeext
31876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31877 (eval $ac_link) 2>conftest.er1
31878 ac_status=$?
31879 grep -v '^ *+' conftest.er1 >conftest.err
31880 rm -f conftest.er1
31881 cat conftest.err >&5
31882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31883 (exit $ac_status); } &&
31884 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31886 (eval $ac_try) 2>&5
31887 ac_status=$?
31888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31889 (exit $ac_status); }; } &&
31890 { ac_try='test -s conftest$ac_exeext'
31891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31892 (eval $ac_try) 2>&5
31893 ac_status=$?
31894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31895 (exit $ac_status); }; }; then
31896 THREADS_OK=yes
31897 else
31898 echo "$as_me: failed program was:" >&5
31899 sed 's/^/| /' conftest.$ac_ext >&5
31900
31901 fi
31902 rm -f conftest.err conftest.$ac_objext \
31903 conftest$ac_exeext conftest.$ac_ext
31904
31905 LIBS="$save_LIBS"
31906 CFLAGS="$save_CFLAGS"
31907
31908 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
31909 echo "${ECHO_T}$THREADS_OK" >&6
31910 if test "x$THREADS_OK" = "xyes"; then
31911 break;
31912 fi
31913
31914 THREADS_LINK=""
31915 THREADS_CFLAGS=""
31916 done
31917
31918 if test "x$THREADS_OK" != "xyes"; then
31919 wxUSE_THREADS=no
31920 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
31921 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31922 else
31923 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
31924 LIBS="$THREADS_LINK $LIBS"
31925
31926 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
31927 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
31928 flag=no
31929 case "${host}" in
31930 *-aix*)
31931 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
31932 flag="-D_THREAD_SAFE"
31933 ;;
31934 *-freebsd*)
31935 flag="-D_THREAD_SAFE"
31936 ;;
31937 *-hp-hpux* )
31938 flag="-D_REENTRANT"
31939 if test "x$GCC" != "xyes"; then
31940 flag="$flag -D_RWSTD_MULTI_THREAD"
31941 fi
31942 ;;
31943 *solaris* | alpha*-osf*)
31944 flag="-D_REENTRANT"
31945 ;;
31946 esac
31947 echo "$as_me:$LINENO: result: ${flag}" >&5
31948 echo "${ECHO_T}${flag}" >&6
31949 if test "x$flag" != xno; then
31950 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
31951 fi
31952
31953 if test "x$THREADS_CFLAGS" != "x"; then
31954 CFLAGS="$CFLAGS $THREADS_CFLAGS"
31955 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
31956 fi
31957 fi
31958 fi
31959
31960 if test "$wxUSE_THREADS" = "yes" ; then
31961
31962 for ac_func in thr_setconcurrency
31963 do
31964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31965 echo "$as_me:$LINENO: checking for $ac_func" >&5
31966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31967 if eval "test \"\${$as_ac_var+set}\" = set"; then
31968 echo $ECHO_N "(cached) $ECHO_C" >&6
31969 else
31970 cat >conftest.$ac_ext <<_ACEOF
31971 /* confdefs.h. */
31972 _ACEOF
31973 cat confdefs.h >>conftest.$ac_ext
31974 cat >>conftest.$ac_ext <<_ACEOF
31975 /* end confdefs.h. */
31976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31978 #define $ac_func innocuous_$ac_func
31979
31980 /* System header to define __stub macros and hopefully few prototypes,
31981 which can conflict with char $ac_func (); below.
31982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31983 <limits.h> exists even on freestanding compilers. */
31984
31985 #ifdef __STDC__
31986 # include <limits.h>
31987 #else
31988 # include <assert.h>
31989 #endif
31990
31991 #undef $ac_func
31992
31993 /* Override any gcc2 internal prototype to avoid an error. */
31994 #ifdef __cplusplus
31995 extern "C"
31996 {
31997 #endif
31998 /* We use char because int might match the return type of a gcc2
31999 builtin and then its argument prototype would still apply. */
32000 char $ac_func ();
32001 /* The GNU C library defines this for functions which it implements
32002 to always fail with ENOSYS. Some functions are actually named
32003 something starting with __ and the normal name is an alias. */
32004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32005 choke me
32006 #else
32007 char (*f) () = $ac_func;
32008 #endif
32009 #ifdef __cplusplus
32010 }
32011 #endif
32012
32013 int
32014 main ()
32015 {
32016 return f != $ac_func;
32017 ;
32018 return 0;
32019 }
32020 _ACEOF
32021 rm -f conftest.$ac_objext conftest$ac_exeext
32022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32023 (eval $ac_link) 2>conftest.er1
32024 ac_status=$?
32025 grep -v '^ *+' conftest.er1 >conftest.err
32026 rm -f conftest.er1
32027 cat conftest.err >&5
32028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32029 (exit $ac_status); } &&
32030 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32032 (eval $ac_try) 2>&5
32033 ac_status=$?
32034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32035 (exit $ac_status); }; } &&
32036 { ac_try='test -s conftest$ac_exeext'
32037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32038 (eval $ac_try) 2>&5
32039 ac_status=$?
32040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32041 (exit $ac_status); }; }; then
32042 eval "$as_ac_var=yes"
32043 else
32044 echo "$as_me: failed program was:" >&5
32045 sed 's/^/| /' conftest.$ac_ext >&5
32046
32047 eval "$as_ac_var=no"
32048 fi
32049 rm -f conftest.err conftest.$ac_objext \
32050 conftest$ac_exeext conftest.$ac_ext
32051 fi
32052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32054 if test `eval echo '${'$as_ac_var'}'` = yes; then
32055 cat >>confdefs.h <<_ACEOF
32056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32057 _ACEOF
32058
32059 fi
32060 done
32061
32062
32063
32064 for ac_header in sched.h
32065 do
32066 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32067 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32068 echo "$as_me:$LINENO: checking for $ac_header" >&5
32069 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32070 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32071 echo $ECHO_N "(cached) $ECHO_C" >&6
32072 fi
32073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32074 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32075 else
32076 # Is the header compilable?
32077 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32078 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32079 cat >conftest.$ac_ext <<_ACEOF
32080 /* confdefs.h. */
32081 _ACEOF
32082 cat confdefs.h >>conftest.$ac_ext
32083 cat >>conftest.$ac_ext <<_ACEOF
32084 /* end confdefs.h. */
32085 $ac_includes_default
32086 #include <$ac_header>
32087 _ACEOF
32088 rm -f conftest.$ac_objext
32089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32090 (eval $ac_compile) 2>conftest.er1
32091 ac_status=$?
32092 grep -v '^ *+' conftest.er1 >conftest.err
32093 rm -f conftest.er1
32094 cat conftest.err >&5
32095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32096 (exit $ac_status); } &&
32097 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32099 (eval $ac_try) 2>&5
32100 ac_status=$?
32101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32102 (exit $ac_status); }; } &&
32103 { ac_try='test -s conftest.$ac_objext'
32104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32105 (eval $ac_try) 2>&5
32106 ac_status=$?
32107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32108 (exit $ac_status); }; }; then
32109 ac_header_compiler=yes
32110 else
32111 echo "$as_me: failed program was:" >&5
32112 sed 's/^/| /' conftest.$ac_ext >&5
32113
32114 ac_header_compiler=no
32115 fi
32116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32117 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32118 echo "${ECHO_T}$ac_header_compiler" >&6
32119
32120 # Is the header present?
32121 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32122 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32123 cat >conftest.$ac_ext <<_ACEOF
32124 /* confdefs.h. */
32125 _ACEOF
32126 cat confdefs.h >>conftest.$ac_ext
32127 cat >>conftest.$ac_ext <<_ACEOF
32128 /* end confdefs.h. */
32129 #include <$ac_header>
32130 _ACEOF
32131 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32132 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32133 ac_status=$?
32134 grep -v '^ *+' conftest.er1 >conftest.err
32135 rm -f conftest.er1
32136 cat conftest.err >&5
32137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32138 (exit $ac_status); } >/dev/null; then
32139 if test -s conftest.err; then
32140 ac_cpp_err=$ac_c_preproc_warn_flag
32141 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32142 else
32143 ac_cpp_err=
32144 fi
32145 else
32146 ac_cpp_err=yes
32147 fi
32148 if test -z "$ac_cpp_err"; then
32149 ac_header_preproc=yes
32150 else
32151 echo "$as_me: failed program was:" >&5
32152 sed 's/^/| /' conftest.$ac_ext >&5
32153
32154 ac_header_preproc=no
32155 fi
32156 rm -f conftest.err conftest.$ac_ext
32157 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32158 echo "${ECHO_T}$ac_header_preproc" >&6
32159
32160 # So? What about this header?
32161 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32162 yes:no: )
32163 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32164 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32165 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32166 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32167 ac_header_preproc=yes
32168 ;;
32169 no:yes:* )
32170 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32171 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32172 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32173 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32174 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32175 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32176 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32177 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32178 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32179 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32180 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32181 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32182 (
32183 cat <<\_ASBOX
32184 ## ----------------------------------------- ##
32185 ## Report this to wx-dev@lists.wxwindows.org ##
32186 ## ----------------------------------------- ##
32187 _ASBOX
32188 ) |
32189 sed "s/^/$as_me: WARNING: /" >&2
32190 ;;
32191 esac
32192 echo "$as_me:$LINENO: checking for $ac_header" >&5
32193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32195 echo $ECHO_N "(cached) $ECHO_C" >&6
32196 else
32197 eval "$as_ac_Header=\$ac_header_preproc"
32198 fi
32199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32200 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32201
32202 fi
32203 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32204 cat >>confdefs.h <<_ACEOF
32205 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32206 _ACEOF
32207
32208 fi
32209
32210 done
32211
32212 if test "$ac_cv_header_sched_h" = "yes"; then
32213 echo "$as_me:$LINENO: checking for sched_yield" >&5
32214 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32215 if test "${ac_cv_func_sched_yield+set}" = set; then
32216 echo $ECHO_N "(cached) $ECHO_C" >&6
32217 else
32218 cat >conftest.$ac_ext <<_ACEOF
32219 /* confdefs.h. */
32220 _ACEOF
32221 cat confdefs.h >>conftest.$ac_ext
32222 cat >>conftest.$ac_ext <<_ACEOF
32223 /* end confdefs.h. */
32224 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32226 #define sched_yield innocuous_sched_yield
32227
32228 /* System header to define __stub macros and hopefully few prototypes,
32229 which can conflict with char sched_yield (); below.
32230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32231 <limits.h> exists even on freestanding compilers. */
32232
32233 #ifdef __STDC__
32234 # include <limits.h>
32235 #else
32236 # include <assert.h>
32237 #endif
32238
32239 #undef sched_yield
32240
32241 /* Override any gcc2 internal prototype to avoid an error. */
32242 #ifdef __cplusplus
32243 extern "C"
32244 {
32245 #endif
32246 /* We use char because int might match the return type of a gcc2
32247 builtin and then its argument prototype would still apply. */
32248 char sched_yield ();
32249 /* The GNU C library defines this for functions which it implements
32250 to always fail with ENOSYS. Some functions are actually named
32251 something starting with __ and the normal name is an alias. */
32252 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32253 choke me
32254 #else
32255 char (*f) () = sched_yield;
32256 #endif
32257 #ifdef __cplusplus
32258 }
32259 #endif
32260
32261 int
32262 main ()
32263 {
32264 return f != sched_yield;
32265 ;
32266 return 0;
32267 }
32268 _ACEOF
32269 rm -f conftest.$ac_objext conftest$ac_exeext
32270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32271 (eval $ac_link) 2>conftest.er1
32272 ac_status=$?
32273 grep -v '^ *+' conftest.er1 >conftest.err
32274 rm -f conftest.er1
32275 cat conftest.err >&5
32276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32277 (exit $ac_status); } &&
32278 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32280 (eval $ac_try) 2>&5
32281 ac_status=$?
32282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32283 (exit $ac_status); }; } &&
32284 { ac_try='test -s conftest$ac_exeext'
32285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32286 (eval $ac_try) 2>&5
32287 ac_status=$?
32288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32289 (exit $ac_status); }; }; then
32290 ac_cv_func_sched_yield=yes
32291 else
32292 echo "$as_me: failed program was:" >&5
32293 sed 's/^/| /' conftest.$ac_ext >&5
32294
32295 ac_cv_func_sched_yield=no
32296 fi
32297 rm -f conftest.err conftest.$ac_objext \
32298 conftest$ac_exeext conftest.$ac_ext
32299 fi
32300 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32301 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32302 if test $ac_cv_func_sched_yield = yes; then
32303 cat >>confdefs.h <<\_ACEOF
32304 #define HAVE_SCHED_YIELD 1
32305 _ACEOF
32306
32307 else
32308
32309 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32310 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32311 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32312 echo $ECHO_N "(cached) $ECHO_C" >&6
32313 else
32314 ac_check_lib_save_LIBS=$LIBS
32315 LIBS="-lposix4 $LIBS"
32316 cat >conftest.$ac_ext <<_ACEOF
32317 /* confdefs.h. */
32318 _ACEOF
32319 cat confdefs.h >>conftest.$ac_ext
32320 cat >>conftest.$ac_ext <<_ACEOF
32321 /* end confdefs.h. */
32322
32323 /* Override any gcc2 internal prototype to avoid an error. */
32324 #ifdef __cplusplus
32325 extern "C"
32326 #endif
32327 /* We use char because int might match the return type of a gcc2
32328 builtin and then its argument prototype would still apply. */
32329 char sched_yield ();
32330 int
32331 main ()
32332 {
32333 sched_yield ();
32334 ;
32335 return 0;
32336 }
32337 _ACEOF
32338 rm -f conftest.$ac_objext conftest$ac_exeext
32339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32340 (eval $ac_link) 2>conftest.er1
32341 ac_status=$?
32342 grep -v '^ *+' conftest.er1 >conftest.err
32343 rm -f conftest.er1
32344 cat conftest.err >&5
32345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32346 (exit $ac_status); } &&
32347 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32349 (eval $ac_try) 2>&5
32350 ac_status=$?
32351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32352 (exit $ac_status); }; } &&
32353 { ac_try='test -s conftest$ac_exeext'
32354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32355 (eval $ac_try) 2>&5
32356 ac_status=$?
32357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32358 (exit $ac_status); }; }; then
32359 ac_cv_lib_posix4_sched_yield=yes
32360 else
32361 echo "$as_me: failed program was:" >&5
32362 sed 's/^/| /' conftest.$ac_ext >&5
32363
32364 ac_cv_lib_posix4_sched_yield=no
32365 fi
32366 rm -f conftest.err conftest.$ac_objext \
32367 conftest$ac_exeext conftest.$ac_ext
32368 LIBS=$ac_check_lib_save_LIBS
32369 fi
32370 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32371 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32372 if test $ac_cv_lib_posix4_sched_yield = yes; then
32373 cat >>confdefs.h <<\_ACEOF
32374 #define HAVE_SCHED_YIELD 1
32375 _ACEOF
32376 POSIX4_LINK=" -lposix4"
32377 else
32378 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32379 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32380
32381 fi
32382
32383
32384
32385 fi
32386
32387 fi
32388
32389 HAVE_PRIOR_FUNCS=0
32390 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32391 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32392 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32393 echo $ECHO_N "(cached) $ECHO_C" >&6
32394 else
32395 cat >conftest.$ac_ext <<_ACEOF
32396 /* confdefs.h. */
32397 _ACEOF
32398 cat confdefs.h >>conftest.$ac_ext
32399 cat >>conftest.$ac_ext <<_ACEOF
32400 /* end confdefs.h. */
32401 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32403 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32404
32405 /* System header to define __stub macros and hopefully few prototypes,
32406 which can conflict with char pthread_attr_getschedpolicy (); below.
32407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32408 <limits.h> exists even on freestanding compilers. */
32409
32410 #ifdef __STDC__
32411 # include <limits.h>
32412 #else
32413 # include <assert.h>
32414 #endif
32415
32416 #undef pthread_attr_getschedpolicy
32417
32418 /* Override any gcc2 internal prototype to avoid an error. */
32419 #ifdef __cplusplus
32420 extern "C"
32421 {
32422 #endif
32423 /* We use char because int might match the return type of a gcc2
32424 builtin and then its argument prototype would still apply. */
32425 char pthread_attr_getschedpolicy ();
32426 /* The GNU C library defines this for functions which it implements
32427 to always fail with ENOSYS. Some functions are actually named
32428 something starting with __ and the normal name is an alias. */
32429 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32430 choke me
32431 #else
32432 char (*f) () = pthread_attr_getschedpolicy;
32433 #endif
32434 #ifdef __cplusplus
32435 }
32436 #endif
32437
32438 int
32439 main ()
32440 {
32441 return f != pthread_attr_getschedpolicy;
32442 ;
32443 return 0;
32444 }
32445 _ACEOF
32446 rm -f conftest.$ac_objext conftest$ac_exeext
32447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32448 (eval $ac_link) 2>conftest.er1
32449 ac_status=$?
32450 grep -v '^ *+' conftest.er1 >conftest.err
32451 rm -f conftest.er1
32452 cat conftest.err >&5
32453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32454 (exit $ac_status); } &&
32455 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32457 (eval $ac_try) 2>&5
32458 ac_status=$?
32459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32460 (exit $ac_status); }; } &&
32461 { ac_try='test -s conftest$ac_exeext'
32462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32463 (eval $ac_try) 2>&5
32464 ac_status=$?
32465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32466 (exit $ac_status); }; }; then
32467 ac_cv_func_pthread_attr_getschedpolicy=yes
32468 else
32469 echo "$as_me: failed program was:" >&5
32470 sed 's/^/| /' conftest.$ac_ext >&5
32471
32472 ac_cv_func_pthread_attr_getschedpolicy=no
32473 fi
32474 rm -f conftest.err conftest.$ac_objext \
32475 conftest$ac_exeext conftest.$ac_ext
32476 fi
32477 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32478 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32479 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32480 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32481 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32482 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32483 echo $ECHO_N "(cached) $ECHO_C" >&6
32484 else
32485 cat >conftest.$ac_ext <<_ACEOF
32486 /* confdefs.h. */
32487 _ACEOF
32488 cat confdefs.h >>conftest.$ac_ext
32489 cat >>conftest.$ac_ext <<_ACEOF
32490 /* end confdefs.h. */
32491 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32493 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32494
32495 /* System header to define __stub macros and hopefully few prototypes,
32496 which can conflict with char pthread_attr_setschedparam (); below.
32497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32498 <limits.h> exists even on freestanding compilers. */
32499
32500 #ifdef __STDC__
32501 # include <limits.h>
32502 #else
32503 # include <assert.h>
32504 #endif
32505
32506 #undef pthread_attr_setschedparam
32507
32508 /* Override any gcc2 internal prototype to avoid an error. */
32509 #ifdef __cplusplus
32510 extern "C"
32511 {
32512 #endif
32513 /* We use char because int might match the return type of a gcc2
32514 builtin and then its argument prototype would still apply. */
32515 char pthread_attr_setschedparam ();
32516 /* The GNU C library defines this for functions which it implements
32517 to always fail with ENOSYS. Some functions are actually named
32518 something starting with __ and the normal name is an alias. */
32519 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32520 choke me
32521 #else
32522 char (*f) () = pthread_attr_setschedparam;
32523 #endif
32524 #ifdef __cplusplus
32525 }
32526 #endif
32527
32528 int
32529 main ()
32530 {
32531 return f != pthread_attr_setschedparam;
32532 ;
32533 return 0;
32534 }
32535 _ACEOF
32536 rm -f conftest.$ac_objext conftest$ac_exeext
32537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32538 (eval $ac_link) 2>conftest.er1
32539 ac_status=$?
32540 grep -v '^ *+' conftest.er1 >conftest.err
32541 rm -f conftest.er1
32542 cat conftest.err >&5
32543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32544 (exit $ac_status); } &&
32545 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32547 (eval $ac_try) 2>&5
32548 ac_status=$?
32549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32550 (exit $ac_status); }; } &&
32551 { ac_try='test -s conftest$ac_exeext'
32552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32553 (eval $ac_try) 2>&5
32554 ac_status=$?
32555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32556 (exit $ac_status); }; }; then
32557 ac_cv_func_pthread_attr_setschedparam=yes
32558 else
32559 echo "$as_me: failed program was:" >&5
32560 sed 's/^/| /' conftest.$ac_ext >&5
32561
32562 ac_cv_func_pthread_attr_setschedparam=no
32563 fi
32564 rm -f conftest.err conftest.$ac_objext \
32565 conftest$ac_exeext conftest.$ac_ext
32566 fi
32567 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32568 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32569 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32570 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32571 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32572 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32573 echo $ECHO_N "(cached) $ECHO_C" >&6
32574 else
32575 cat >conftest.$ac_ext <<_ACEOF
32576 /* confdefs.h. */
32577 _ACEOF
32578 cat confdefs.h >>conftest.$ac_ext
32579 cat >>conftest.$ac_ext <<_ACEOF
32580 /* end confdefs.h. */
32581 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32583 #define sched_get_priority_max innocuous_sched_get_priority_max
32584
32585 /* System header to define __stub macros and hopefully few prototypes,
32586 which can conflict with char sched_get_priority_max (); below.
32587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32588 <limits.h> exists even on freestanding compilers. */
32589
32590 #ifdef __STDC__
32591 # include <limits.h>
32592 #else
32593 # include <assert.h>
32594 #endif
32595
32596 #undef sched_get_priority_max
32597
32598 /* Override any gcc2 internal prototype to avoid an error. */
32599 #ifdef __cplusplus
32600 extern "C"
32601 {
32602 #endif
32603 /* We use char because int might match the return type of a gcc2
32604 builtin and then its argument prototype would still apply. */
32605 char sched_get_priority_max ();
32606 /* The GNU C library defines this for functions which it implements
32607 to always fail with ENOSYS. Some functions are actually named
32608 something starting with __ and the normal name is an alias. */
32609 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32610 choke me
32611 #else
32612 char (*f) () = sched_get_priority_max;
32613 #endif
32614 #ifdef __cplusplus
32615 }
32616 #endif
32617
32618 int
32619 main ()
32620 {
32621 return f != sched_get_priority_max;
32622 ;
32623 return 0;
32624 }
32625 _ACEOF
32626 rm -f conftest.$ac_objext conftest$ac_exeext
32627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32628 (eval $ac_link) 2>conftest.er1
32629 ac_status=$?
32630 grep -v '^ *+' conftest.er1 >conftest.err
32631 rm -f conftest.er1
32632 cat conftest.err >&5
32633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32634 (exit $ac_status); } &&
32635 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32637 (eval $ac_try) 2>&5
32638 ac_status=$?
32639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32640 (exit $ac_status); }; } &&
32641 { ac_try='test -s conftest$ac_exeext'
32642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32643 (eval $ac_try) 2>&5
32644 ac_status=$?
32645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32646 (exit $ac_status); }; }; then
32647 ac_cv_func_sched_get_priority_max=yes
32648 else
32649 echo "$as_me: failed program was:" >&5
32650 sed 's/^/| /' conftest.$ac_ext >&5
32651
32652 ac_cv_func_sched_get_priority_max=no
32653 fi
32654 rm -f conftest.err conftest.$ac_objext \
32655 conftest$ac_exeext conftest.$ac_ext
32656 fi
32657 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32658 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32659 if test $ac_cv_func_sched_get_priority_max = yes; then
32660 HAVE_PRIOR_FUNCS=1
32661 else
32662 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32663 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32664 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32665 echo $ECHO_N "(cached) $ECHO_C" >&6
32666 else
32667 ac_check_lib_save_LIBS=$LIBS
32668 LIBS="-lposix4 $LIBS"
32669 cat >conftest.$ac_ext <<_ACEOF
32670 /* confdefs.h. */
32671 _ACEOF
32672 cat confdefs.h >>conftest.$ac_ext
32673 cat >>conftest.$ac_ext <<_ACEOF
32674 /* end confdefs.h. */
32675
32676 /* Override any gcc2 internal prototype to avoid an error. */
32677 #ifdef __cplusplus
32678 extern "C"
32679 #endif
32680 /* We use char because int might match the return type of a gcc2
32681 builtin and then its argument prototype would still apply. */
32682 char sched_get_priority_max ();
32683 int
32684 main ()
32685 {
32686 sched_get_priority_max ();
32687 ;
32688 return 0;
32689 }
32690 _ACEOF
32691 rm -f conftest.$ac_objext conftest$ac_exeext
32692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32693 (eval $ac_link) 2>conftest.er1
32694 ac_status=$?
32695 grep -v '^ *+' conftest.er1 >conftest.err
32696 rm -f conftest.er1
32697 cat conftest.err >&5
32698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32699 (exit $ac_status); } &&
32700 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32702 (eval $ac_try) 2>&5
32703 ac_status=$?
32704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32705 (exit $ac_status); }; } &&
32706 { ac_try='test -s conftest$ac_exeext'
32707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32708 (eval $ac_try) 2>&5
32709 ac_status=$?
32710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32711 (exit $ac_status); }; }; then
32712 ac_cv_lib_posix4_sched_get_priority_max=yes
32713 else
32714 echo "$as_me: failed program was:" >&5
32715 sed 's/^/| /' conftest.$ac_ext >&5
32716
32717 ac_cv_lib_posix4_sched_get_priority_max=no
32718 fi
32719 rm -f conftest.err conftest.$ac_objext \
32720 conftest$ac_exeext conftest.$ac_ext
32721 LIBS=$ac_check_lib_save_LIBS
32722 fi
32723 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32724 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32725 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32726
32727 HAVE_PRIOR_FUNCS=1
32728 POSIX4_LINK=" -lposix4"
32729
32730 fi
32731
32732
32733 fi
32734
32735
32736 fi
32737
32738
32739 fi
32740
32741
32742 if test "$HAVE_PRIOR_FUNCS" = 1; then
32743 cat >>confdefs.h <<\_ACEOF
32744 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32745 _ACEOF
32746
32747 else
32748 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32749 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32750 fi
32751
32752 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32753 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32754 if test "${ac_cv_func_pthread_cancel+set}" = set; then
32755 echo $ECHO_N "(cached) $ECHO_C" >&6
32756 else
32757 cat >conftest.$ac_ext <<_ACEOF
32758 /* confdefs.h. */
32759 _ACEOF
32760 cat confdefs.h >>conftest.$ac_ext
32761 cat >>conftest.$ac_ext <<_ACEOF
32762 /* end confdefs.h. */
32763 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
32764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32765 #define pthread_cancel innocuous_pthread_cancel
32766
32767 /* System header to define __stub macros and hopefully few prototypes,
32768 which can conflict with char pthread_cancel (); below.
32769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32770 <limits.h> exists even on freestanding compilers. */
32771
32772 #ifdef __STDC__
32773 # include <limits.h>
32774 #else
32775 # include <assert.h>
32776 #endif
32777
32778 #undef pthread_cancel
32779
32780 /* Override any gcc2 internal prototype to avoid an error. */
32781 #ifdef __cplusplus
32782 extern "C"
32783 {
32784 #endif
32785 /* We use char because int might match the return type of a gcc2
32786 builtin and then its argument prototype would still apply. */
32787 char pthread_cancel ();
32788 /* The GNU C library defines this for functions which it implements
32789 to always fail with ENOSYS. Some functions are actually named
32790 something starting with __ and the normal name is an alias. */
32791 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
32792 choke me
32793 #else
32794 char (*f) () = pthread_cancel;
32795 #endif
32796 #ifdef __cplusplus
32797 }
32798 #endif
32799
32800 int
32801 main ()
32802 {
32803 return f != pthread_cancel;
32804 ;
32805 return 0;
32806 }
32807 _ACEOF
32808 rm -f conftest.$ac_objext conftest$ac_exeext
32809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32810 (eval $ac_link) 2>conftest.er1
32811 ac_status=$?
32812 grep -v '^ *+' conftest.er1 >conftest.err
32813 rm -f conftest.er1
32814 cat conftest.err >&5
32815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32816 (exit $ac_status); } &&
32817 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32819 (eval $ac_try) 2>&5
32820 ac_status=$?
32821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32822 (exit $ac_status); }; } &&
32823 { ac_try='test -s conftest$ac_exeext'
32824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32825 (eval $ac_try) 2>&5
32826 ac_status=$?
32827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32828 (exit $ac_status); }; }; then
32829 ac_cv_func_pthread_cancel=yes
32830 else
32831 echo "$as_me: failed program was:" >&5
32832 sed 's/^/| /' conftest.$ac_ext >&5
32833
32834 ac_cv_func_pthread_cancel=no
32835 fi
32836 rm -f conftest.err conftest.$ac_objext \
32837 conftest$ac_exeext conftest.$ac_ext
32838 fi
32839 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
32840 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
32841 if test $ac_cv_func_pthread_cancel = yes; then
32842 cat >>confdefs.h <<\_ACEOF
32843 #define HAVE_PTHREAD_CANCEL 1
32844 _ACEOF
32845
32846 else
32847 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
32848 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32849 fi
32850
32851
32852
32853
32854 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
32855 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
32856 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
32857 echo $ECHO_N "(cached) $ECHO_C" >&6
32858 else
32859
32860 cat >conftest.$ac_ext <<_ACEOF
32861 /* confdefs.h. */
32862 _ACEOF
32863 cat confdefs.h >>conftest.$ac_ext
32864 cat >>conftest.$ac_ext <<_ACEOF
32865 /* end confdefs.h. */
32866 #include <pthread.h>
32867 int
32868 main ()
32869 {
32870
32871 pthread_mutexattr_t attr;
32872 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32873
32874 ;
32875 return 0;
32876 }
32877 _ACEOF
32878 rm -f conftest.$ac_objext
32879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32880 (eval $ac_compile) 2>conftest.er1
32881 ac_status=$?
32882 grep -v '^ *+' conftest.er1 >conftest.err
32883 rm -f conftest.er1
32884 cat conftest.err >&5
32885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32886 (exit $ac_status); } &&
32887 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32889 (eval $ac_try) 2>&5
32890 ac_status=$?
32891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32892 (exit $ac_status); }; } &&
32893 { ac_try='test -s conftest.$ac_objext'
32894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32895 (eval $ac_try) 2>&5
32896 ac_status=$?
32897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32898 (exit $ac_status); }; }; then
32899
32900 wx_cv_type_pthread_mutexattr_t=yes
32901
32902 else
32903 echo "$as_me: failed program was:" >&5
32904 sed 's/^/| /' conftest.$ac_ext >&5
32905
32906
32907 wx_cv_type_pthread_mutexattr_t=no
32908
32909
32910 fi
32911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32912
32913 fi
32914 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
32915 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
32916
32917 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32918 cat >>confdefs.h <<\_ACEOF
32919 #define HAVE_PTHREAD_MUTEXATTR_T 1
32920 _ACEOF
32921
32922 else
32923 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32924 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
32925 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
32926 echo $ECHO_N "(cached) $ECHO_C" >&6
32927 else
32928
32929 cat >conftest.$ac_ext <<_ACEOF
32930 /* confdefs.h. */
32931 _ACEOF
32932 cat confdefs.h >>conftest.$ac_ext
32933 cat >>conftest.$ac_ext <<_ACEOF
32934 /* end confdefs.h. */
32935 #include <pthread.h>
32936 int
32937 main ()
32938 {
32939
32940 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32941
32942 ;
32943 return 0;
32944 }
32945 _ACEOF
32946 rm -f conftest.$ac_objext
32947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32948 (eval $ac_compile) 2>conftest.er1
32949 ac_status=$?
32950 grep -v '^ *+' conftest.er1 >conftest.err
32951 rm -f conftest.er1
32952 cat conftest.err >&5
32953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32954 (exit $ac_status); } &&
32955 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32957 (eval $ac_try) 2>&5
32958 ac_status=$?
32959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32960 (exit $ac_status); }; } &&
32961 { ac_try='test -s conftest.$ac_objext'
32962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32963 (eval $ac_try) 2>&5
32964 ac_status=$?
32965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32966 (exit $ac_status); }; }; then
32967
32968 wx_cv_type_pthread_rec_mutex_init=yes
32969
32970 else
32971 echo "$as_me: failed program was:" >&5
32972 sed 's/^/| /' conftest.$ac_ext >&5
32973
32974
32975 wx_cv_type_pthread_rec_mutex_init=no
32976
32977
32978 fi
32979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32980
32981 fi
32982 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32983 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
32984 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32985 cat >>confdefs.h <<\_ACEOF
32986 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
32987 _ACEOF
32988
32989 else
32990 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
32991 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32992 fi
32993 fi
32994 fi
32995
32996 else
32997 if test "$wxUSE_THREADS" = "yes" ; then
32998 case "${host}" in
32999 *-*-mingw32* )
33000 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33001 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33002 if test "${wx_cv_cflags_mthread+set}" = set; then
33003 echo $ECHO_N "(cached) $ECHO_C" >&6
33004 else
33005
33006 CFLAGS_OLD="$CFLAGS"
33007 CFLAGS="$CFLAGS -mthreads"
33008 cat >conftest.$ac_ext <<_ACEOF
33009 /* confdefs.h. */
33010 _ACEOF
33011 cat confdefs.h >>conftest.$ac_ext
33012 cat >>conftest.$ac_ext <<_ACEOF
33013 /* end confdefs.h. */
33014
33015 int
33016 main ()
33017 {
33018
33019 ;
33020 return 0;
33021 }
33022 _ACEOF
33023 rm -f conftest.$ac_objext
33024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33025 (eval $ac_compile) 2>conftest.er1
33026 ac_status=$?
33027 grep -v '^ *+' conftest.er1 >conftest.err
33028 rm -f conftest.er1
33029 cat conftest.err >&5
33030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33031 (exit $ac_status); } &&
33032 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33034 (eval $ac_try) 2>&5
33035 ac_status=$?
33036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33037 (exit $ac_status); }; } &&
33038 { ac_try='test -s conftest.$ac_objext'
33039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33040 (eval $ac_try) 2>&5
33041 ac_status=$?
33042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33043 (exit $ac_status); }; }; then
33044 wx_cv_cflags_mthread=yes
33045 else
33046 echo "$as_me: failed program was:" >&5
33047 sed 's/^/| /' conftest.$ac_ext >&5
33048
33049 wx_cv_cflags_mthread=no
33050
33051 fi
33052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33053
33054
33055 fi
33056 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33057 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33058
33059 if test "$wx_cv_cflags_mthread" = "yes"; then
33060 CXXFLAGS="$CXXFLAGS -mthreads"
33061 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
33062 LDFLAGS="$LDFLAGS -mthreads"
33063 else
33064 CFLAGS="$CFLAGS_OLD"
33065 fi
33066 ;;
33067 *-pc-os2*emx )
33068 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33069 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33070 LDFLAGS="$LDFLAGS -Zmt"
33071 ;;
33072 esac
33073 fi
33074 fi
33075
33076 if test "$wxUSE_THREADS" = "yes"; then
33077 cat >>confdefs.h <<\_ACEOF
33078 #define wxUSE_THREADS 1
33079 _ACEOF
33080
33081
33082 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
33083 else
33084 if test "$ac_cv_func_strtok_r" = "yes"; then
33085 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33086 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33087 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33088 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
33089 echo "$as_me:$LINENO: result: yes" >&5
33090 echo "${ECHO_T}yes" >&6
33091 else
33092 echo "$as_me:$LINENO: result: no" >&5
33093 echo "${ECHO_T}no" >&6
33094 fi
33095 fi
33096 fi
33097
33098 if test "$WXGTK20" = 1 ; then
33099 cat >>confdefs.h <<_ACEOF
33100 #define __WXGTK20__ $WXGTK20
33101 _ACEOF
33102
33103 WXGTK12=1
33104 fi
33105
33106 if test "$WXGTK12" = 1 ; then
33107 cat >>confdefs.h <<_ACEOF
33108 #define __WXGTK12__ $WXGTK12
33109 _ACEOF
33110
33111 fi
33112
33113 if test "$WXGTK127" = 1 ; then
33114 cat >>confdefs.h <<_ACEOF
33115 #define __WXGTK127__ $WXGTK127
33116 _ACEOF
33117
33118 fi
33119
33120 if test "$WXGPE" = 1 ; then
33121 cat >>confdefs.h <<_ACEOF
33122 #define __WXGPE__ $WXGPE
33123 _ACEOF
33124
33125 fi
33126
33127 WXDEBUG=
33128
33129 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33130 WXDEBUG="-g"
33131 wxUSE_OPTIMISE=no
33132 fi
33133
33134 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33135 wxUSE_DEBUG_INFO=yes
33136 WXDEBUG="-ggdb"
33137 fi
33138
33139 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33140 cat >>confdefs.h <<\_ACEOF
33141 #define WXDEBUG 1
33142 _ACEOF
33143
33144 WXDEBUG_DEFINE="-D__WXDEBUG__"
33145 else
33146 if test "$wxUSE_GTK" = 1 ; then
33147 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
33148 fi
33149 fi
33150
33151 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33152 cat >>confdefs.h <<\_ACEOF
33153 #define wxUSE_MEMORY_TRACING 1
33154 _ACEOF
33155
33156 cat >>confdefs.h <<\_ACEOF
33157 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33158 _ACEOF
33159
33160 cat >>confdefs.h <<\_ACEOF
33161 #define wxUSE_DEBUG_NEW_ALWAYS 1
33162 _ACEOF
33163
33164 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
33165 fi
33166
33167 if test "$wxUSE_DMALLOC" = "yes" ; then
33168 DMALLOC_LIBS="-ldmalloc"
33169 fi
33170
33171 PROFILE=
33172 if test "$wxUSE_PROFILE" = "yes" ; then
33173 PROFILE=" -pg"
33174 fi
33175
33176 CODE_GEN_FLAGS=
33177 CODE_GEN_FLAGS_CXX=
33178 if test "$GCC" = "yes" ; then
33179 if test "$wxUSE_NO_RTTI" = "yes" ; then
33180 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
33181 fi
33182 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33183 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33184 fi
33185 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33186 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
33187 fi
33188
33189 case "${host}" in
33190 powerpc*-*-aix* )
33191 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
33192 ;;
33193 *-hppa* )
33194 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
33195 ;;
33196 esac
33197 fi
33198
33199 OPTIMISE=
33200 if test "$wxUSE_OPTIMISE" = "no" ; then
33201 if test "$GCC" = yes ; then
33202 OPTIMISE="-O0"
33203 fi
33204 else
33205 if test "$GCC" = yes ; then
33206 OPTIMISE="-O2"
33207
33208 case "${host}" in
33209 i586-*-*|i686-*-* )
33210 OPTIMISE="${OPTIMISE} "
33211 ;;
33212 esac
33213 else
33214 OPTIMISE="-O"
33215 fi
33216 fi
33217
33218
33219 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33220 cat >>confdefs.h <<\_ACEOF
33221 #define WXWIN_COMPATIBILITY_2_2 1
33222 _ACEOF
33223
33224
33225 WXWIN_COMPATIBILITY_2_4="yes"
33226 fi
33227
33228 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33229 cat >>confdefs.h <<\_ACEOF
33230 #define WXWIN_COMPATIBILITY_2_4 1
33231 _ACEOF
33232
33233 fi
33234
33235
33236 if test "$wxUSE_GUI" = "yes"; then
33237 cat >>confdefs.h <<\_ACEOF
33238 #define wxUSE_GUI 1
33239 _ACEOF
33240
33241
33242 else
33243 cat >>confdefs.h <<\_ACEOF
33244 #define wxUSE_NOGUI 1
33245 _ACEOF
33246
33247 fi
33248
33249
33250 if test "$wxUSE_UNIX" = "yes"; then
33251 cat >>confdefs.h <<\_ACEOF
33252 #define wxUSE_UNIX 1
33253 _ACEOF
33254
33255 fi
33256
33257
33258 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33259
33260 HAVE_DL_FUNCS=0
33261 HAVE_SHL_FUNCS=0
33262 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33263 if test "$USE_DARWIN" = 1; then
33264 HAVE_DL_FUNCS=1
33265 else
33266
33267 for ac_func in dlopen
33268 do
33269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33270 echo "$as_me:$LINENO: checking for $ac_func" >&5
33271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33272 if eval "test \"\${$as_ac_var+set}\" = set"; then
33273 echo $ECHO_N "(cached) $ECHO_C" >&6
33274 else
33275 cat >conftest.$ac_ext <<_ACEOF
33276 /* confdefs.h. */
33277 _ACEOF
33278 cat confdefs.h >>conftest.$ac_ext
33279 cat >>conftest.$ac_ext <<_ACEOF
33280 /* end confdefs.h. */
33281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33283 #define $ac_func innocuous_$ac_func
33284
33285 /* System header to define __stub macros and hopefully few prototypes,
33286 which can conflict with char $ac_func (); below.
33287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33288 <limits.h> exists even on freestanding compilers. */
33289
33290 #ifdef __STDC__
33291 # include <limits.h>
33292 #else
33293 # include <assert.h>
33294 #endif
33295
33296 #undef $ac_func
33297
33298 /* Override any gcc2 internal prototype to avoid an error. */
33299 #ifdef __cplusplus
33300 extern "C"
33301 {
33302 #endif
33303 /* We use char because int might match the return type of a gcc2
33304 builtin and then its argument prototype would still apply. */
33305 char $ac_func ();
33306 /* The GNU C library defines this for functions which it implements
33307 to always fail with ENOSYS. Some functions are actually named
33308 something starting with __ and the normal name is an alias. */
33309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33310 choke me
33311 #else
33312 char (*f) () = $ac_func;
33313 #endif
33314 #ifdef __cplusplus
33315 }
33316 #endif
33317
33318 int
33319 main ()
33320 {
33321 return f != $ac_func;
33322 ;
33323 return 0;
33324 }
33325 _ACEOF
33326 rm -f conftest.$ac_objext conftest$ac_exeext
33327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33328 (eval $ac_link) 2>conftest.er1
33329 ac_status=$?
33330 grep -v '^ *+' conftest.er1 >conftest.err
33331 rm -f conftest.er1
33332 cat conftest.err >&5
33333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33334 (exit $ac_status); } &&
33335 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33337 (eval $ac_try) 2>&5
33338 ac_status=$?
33339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33340 (exit $ac_status); }; } &&
33341 { ac_try='test -s conftest$ac_exeext'
33342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33343 (eval $ac_try) 2>&5
33344 ac_status=$?
33345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33346 (exit $ac_status); }; }; then
33347 eval "$as_ac_var=yes"
33348 else
33349 echo "$as_me: failed program was:" >&5
33350 sed 's/^/| /' conftest.$ac_ext >&5
33351
33352 eval "$as_ac_var=no"
33353 fi
33354 rm -f conftest.err conftest.$ac_objext \
33355 conftest$ac_exeext conftest.$ac_ext
33356 fi
33357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33359 if test `eval echo '${'$as_ac_var'}'` = yes; then
33360 cat >>confdefs.h <<_ACEOF
33361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33362 _ACEOF
33363
33364 cat >>confdefs.h <<\_ACEOF
33365 #define HAVE_DLOPEN 1
33366 _ACEOF
33367
33368 HAVE_DL_FUNCS=1
33369
33370 else
33371
33372 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33373 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33374 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33375 echo $ECHO_N "(cached) $ECHO_C" >&6
33376 else
33377 ac_check_lib_save_LIBS=$LIBS
33378 LIBS="-ldl $LIBS"
33379 cat >conftest.$ac_ext <<_ACEOF
33380 /* confdefs.h. */
33381 _ACEOF
33382 cat confdefs.h >>conftest.$ac_ext
33383 cat >>conftest.$ac_ext <<_ACEOF
33384 /* end confdefs.h. */
33385
33386 /* Override any gcc2 internal prototype to avoid an error. */
33387 #ifdef __cplusplus
33388 extern "C"
33389 #endif
33390 /* We use char because int might match the return type of a gcc2
33391 builtin and then its argument prototype would still apply. */
33392 char dlopen ();
33393 int
33394 main ()
33395 {
33396 dlopen ();
33397 ;
33398 return 0;
33399 }
33400 _ACEOF
33401 rm -f conftest.$ac_objext conftest$ac_exeext
33402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33403 (eval $ac_link) 2>conftest.er1
33404 ac_status=$?
33405 grep -v '^ *+' conftest.er1 >conftest.err
33406 rm -f conftest.er1
33407 cat conftest.err >&5
33408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33409 (exit $ac_status); } &&
33410 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33412 (eval $ac_try) 2>&5
33413 ac_status=$?
33414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33415 (exit $ac_status); }; } &&
33416 { ac_try='test -s conftest$ac_exeext'
33417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33418 (eval $ac_try) 2>&5
33419 ac_status=$?
33420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33421 (exit $ac_status); }; }; then
33422 ac_cv_lib_dl_dlopen=yes
33423 else
33424 echo "$as_me: failed program was:" >&5
33425 sed 's/^/| /' conftest.$ac_ext >&5
33426
33427 ac_cv_lib_dl_dlopen=no
33428 fi
33429 rm -f conftest.err conftest.$ac_objext \
33430 conftest$ac_exeext conftest.$ac_ext
33431 LIBS=$ac_check_lib_save_LIBS
33432 fi
33433 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33434 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33435 if test $ac_cv_lib_dl_dlopen = yes; then
33436
33437 cat >>confdefs.h <<\_ACEOF
33438 #define HAVE_DLOPEN 1
33439 _ACEOF
33440
33441 HAVE_DL_FUNCS=1
33442 DL_LINK=" -ldl$DL_LINK"
33443
33444 else
33445
33446
33447 for ac_func in shl_load
33448 do
33449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33450 echo "$as_me:$LINENO: checking for $ac_func" >&5
33451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33452 if eval "test \"\${$as_ac_var+set}\" = set"; then
33453 echo $ECHO_N "(cached) $ECHO_C" >&6
33454 else
33455 cat >conftest.$ac_ext <<_ACEOF
33456 /* confdefs.h. */
33457 _ACEOF
33458 cat confdefs.h >>conftest.$ac_ext
33459 cat >>conftest.$ac_ext <<_ACEOF
33460 /* end confdefs.h. */
33461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33463 #define $ac_func innocuous_$ac_func
33464
33465 /* System header to define __stub macros and hopefully few prototypes,
33466 which can conflict with char $ac_func (); below.
33467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33468 <limits.h> exists even on freestanding compilers. */
33469
33470 #ifdef __STDC__
33471 # include <limits.h>
33472 #else
33473 # include <assert.h>
33474 #endif
33475
33476 #undef $ac_func
33477
33478 /* Override any gcc2 internal prototype to avoid an error. */
33479 #ifdef __cplusplus
33480 extern "C"
33481 {
33482 #endif
33483 /* We use char because int might match the return type of a gcc2
33484 builtin and then its argument prototype would still apply. */
33485 char $ac_func ();
33486 /* The GNU C library defines this for functions which it implements
33487 to always fail with ENOSYS. Some functions are actually named
33488 something starting with __ and the normal name is an alias. */
33489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33490 choke me
33491 #else
33492 char (*f) () = $ac_func;
33493 #endif
33494 #ifdef __cplusplus
33495 }
33496 #endif
33497
33498 int
33499 main ()
33500 {
33501 return f != $ac_func;
33502 ;
33503 return 0;
33504 }
33505 _ACEOF
33506 rm -f conftest.$ac_objext conftest$ac_exeext
33507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33508 (eval $ac_link) 2>conftest.er1
33509 ac_status=$?
33510 grep -v '^ *+' conftest.er1 >conftest.err
33511 rm -f conftest.er1
33512 cat conftest.err >&5
33513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33514 (exit $ac_status); } &&
33515 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33517 (eval $ac_try) 2>&5
33518 ac_status=$?
33519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33520 (exit $ac_status); }; } &&
33521 { ac_try='test -s conftest$ac_exeext'
33522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33523 (eval $ac_try) 2>&5
33524 ac_status=$?
33525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33526 (exit $ac_status); }; }; then
33527 eval "$as_ac_var=yes"
33528 else
33529 echo "$as_me: failed program was:" >&5
33530 sed 's/^/| /' conftest.$ac_ext >&5
33531
33532 eval "$as_ac_var=no"
33533 fi
33534 rm -f conftest.err conftest.$ac_objext \
33535 conftest$ac_exeext conftest.$ac_ext
33536 fi
33537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33539 if test `eval echo '${'$as_ac_var'}'` = yes; then
33540 cat >>confdefs.h <<_ACEOF
33541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33542 _ACEOF
33543
33544 cat >>confdefs.h <<\_ACEOF
33545 #define HAVE_SHL_LOAD 1
33546 _ACEOF
33547
33548 HAVE_SHL_FUNCS=1
33549
33550 else
33551
33552 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33553 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33554 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33555 echo $ECHO_N "(cached) $ECHO_C" >&6
33556 else
33557 ac_check_lib_save_LIBS=$LIBS
33558 LIBS="-lshl_load $LIBS"
33559 cat >conftest.$ac_ext <<_ACEOF
33560 /* confdefs.h. */
33561 _ACEOF
33562 cat confdefs.h >>conftest.$ac_ext
33563 cat >>conftest.$ac_ext <<_ACEOF
33564 /* end confdefs.h. */
33565
33566 /* Override any gcc2 internal prototype to avoid an error. */
33567 #ifdef __cplusplus
33568 extern "C"
33569 #endif
33570 /* We use char because int might match the return type of a gcc2
33571 builtin and then its argument prototype would still apply. */
33572 char dld ();
33573 int
33574 main ()
33575 {
33576 dld ();
33577 ;
33578 return 0;
33579 }
33580 _ACEOF
33581 rm -f conftest.$ac_objext conftest$ac_exeext
33582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33583 (eval $ac_link) 2>conftest.er1
33584 ac_status=$?
33585 grep -v '^ *+' conftest.er1 >conftest.err
33586 rm -f conftest.er1
33587 cat conftest.err >&5
33588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33589 (exit $ac_status); } &&
33590 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33592 (eval $ac_try) 2>&5
33593 ac_status=$?
33594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33595 (exit $ac_status); }; } &&
33596 { ac_try='test -s conftest$ac_exeext'
33597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33598 (eval $ac_try) 2>&5
33599 ac_status=$?
33600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33601 (exit $ac_status); }; }; then
33602 ac_cv_lib_shl_load_dld=yes
33603 else
33604 echo "$as_me: failed program was:" >&5
33605 sed 's/^/| /' conftest.$ac_ext >&5
33606
33607 ac_cv_lib_shl_load_dld=no
33608 fi
33609 rm -f conftest.err conftest.$ac_objext \
33610 conftest$ac_exeext conftest.$ac_ext
33611 LIBS=$ac_check_lib_save_LIBS
33612 fi
33613 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33614 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33615 if test $ac_cv_lib_shl_load_dld = yes; then
33616
33617 HAVE_SHL_FUNCS=1
33618 DL_LINK=" -ldld$DL_LINK"
33619
33620 fi
33621
33622
33623 fi
33624 done
33625
33626
33627 fi
33628
33629
33630 fi
33631 done
33632
33633
33634 if test "$HAVE_DL_FUNCS" = 1; then
33635
33636 for ac_func in dlerror
33637 do
33638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33639 echo "$as_me:$LINENO: checking for $ac_func" >&5
33640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33641 if eval "test \"\${$as_ac_var+set}\" = set"; then
33642 echo $ECHO_N "(cached) $ECHO_C" >&6
33643 else
33644 cat >conftest.$ac_ext <<_ACEOF
33645 /* confdefs.h. */
33646 _ACEOF
33647 cat confdefs.h >>conftest.$ac_ext
33648 cat >>conftest.$ac_ext <<_ACEOF
33649 /* end confdefs.h. */
33650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33652 #define $ac_func innocuous_$ac_func
33653
33654 /* System header to define __stub macros and hopefully few prototypes,
33655 which can conflict with char $ac_func (); below.
33656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33657 <limits.h> exists even on freestanding compilers. */
33658
33659 #ifdef __STDC__
33660 # include <limits.h>
33661 #else
33662 # include <assert.h>
33663 #endif
33664
33665 #undef $ac_func
33666
33667 /* Override any gcc2 internal prototype to avoid an error. */
33668 #ifdef __cplusplus
33669 extern "C"
33670 {
33671 #endif
33672 /* We use char because int might match the return type of a gcc2
33673 builtin and then its argument prototype would still apply. */
33674 char $ac_func ();
33675 /* The GNU C library defines this for functions which it implements
33676 to always fail with ENOSYS. Some functions are actually named
33677 something starting with __ and the normal name is an alias. */
33678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33679 choke me
33680 #else
33681 char (*f) () = $ac_func;
33682 #endif
33683 #ifdef __cplusplus
33684 }
33685 #endif
33686
33687 int
33688 main ()
33689 {
33690 return f != $ac_func;
33691 ;
33692 return 0;
33693 }
33694 _ACEOF
33695 rm -f conftest.$ac_objext conftest$ac_exeext
33696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33697 (eval $ac_link) 2>conftest.er1
33698 ac_status=$?
33699 grep -v '^ *+' conftest.er1 >conftest.err
33700 rm -f conftest.er1
33701 cat conftest.err >&5
33702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33703 (exit $ac_status); } &&
33704 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33706 (eval $ac_try) 2>&5
33707 ac_status=$?
33708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33709 (exit $ac_status); }; } &&
33710 { ac_try='test -s conftest$ac_exeext'
33711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33712 (eval $ac_try) 2>&5
33713 ac_status=$?
33714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33715 (exit $ac_status); }; }; then
33716 eval "$as_ac_var=yes"
33717 else
33718 echo "$as_me: failed program was:" >&5
33719 sed 's/^/| /' conftest.$ac_ext >&5
33720
33721 eval "$as_ac_var=no"
33722 fi
33723 rm -f conftest.err conftest.$ac_objext \
33724 conftest$ac_exeext conftest.$ac_ext
33725 fi
33726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33728 if test `eval echo '${'$as_ac_var'}'` = yes; then
33729 cat >>confdefs.h <<_ACEOF
33730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33731 _ACEOF
33732 cat >>confdefs.h <<\_ACEOF
33733 #define HAVE_DLERROR 1
33734 _ACEOF
33735
33736 else
33737
33738 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
33739 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
33740 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
33741 echo $ECHO_N "(cached) $ECHO_C" >&6
33742 else
33743 ac_check_lib_save_LIBS=$LIBS
33744 LIBS="-ldl $LIBS"
33745 cat >conftest.$ac_ext <<_ACEOF
33746 /* confdefs.h. */
33747 _ACEOF
33748 cat confdefs.h >>conftest.$ac_ext
33749 cat >>conftest.$ac_ext <<_ACEOF
33750 /* end confdefs.h. */
33751
33752 /* Override any gcc2 internal prototype to avoid an error. */
33753 #ifdef __cplusplus
33754 extern "C"
33755 #endif
33756 /* We use char because int might match the return type of a gcc2
33757 builtin and then its argument prototype would still apply. */
33758 char dlerror ();
33759 int
33760 main ()
33761 {
33762 dlerror ();
33763 ;
33764 return 0;
33765 }
33766 _ACEOF
33767 rm -f conftest.$ac_objext conftest$ac_exeext
33768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33769 (eval $ac_link) 2>conftest.er1
33770 ac_status=$?
33771 grep -v '^ *+' conftest.er1 >conftest.err
33772 rm -f conftest.er1
33773 cat conftest.err >&5
33774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33775 (exit $ac_status); } &&
33776 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33778 (eval $ac_try) 2>&5
33779 ac_status=$?
33780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33781 (exit $ac_status); }; } &&
33782 { ac_try='test -s conftest$ac_exeext'
33783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33784 (eval $ac_try) 2>&5
33785 ac_status=$?
33786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33787 (exit $ac_status); }; }; then
33788 ac_cv_lib_dl_dlerror=yes
33789 else
33790 echo "$as_me: failed program was:" >&5
33791 sed 's/^/| /' conftest.$ac_ext >&5
33792
33793 ac_cv_lib_dl_dlerror=no
33794 fi
33795 rm -f conftest.err conftest.$ac_objext \
33796 conftest$ac_exeext conftest.$ac_ext
33797 LIBS=$ac_check_lib_save_LIBS
33798 fi
33799 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
33800 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
33801 if test $ac_cv_lib_dl_dlerror = yes; then
33802 cat >>confdefs.h <<\_ACEOF
33803 #define HAVE_DLERROR 1
33804 _ACEOF
33805
33806 fi
33807
33808
33809
33810 fi
33811 done
33812
33813 fi
33814 fi
33815
33816 if test "$HAVE_DL_FUNCS" = 0; then
33817 if test "$HAVE_SHL_FUNCS" = 0; then
33818 if test "$USE_UNIX" = 1; then
33819 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33820 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33821 wxUSE_DYNAMIC_LOADER=no
33822 wxUSE_DYNLIB_CLASS=no
33823 else
33824 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
33825 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33826 fi
33827 fi
33828 fi
33829 fi
33830 fi
33831
33832 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33833 cat >>confdefs.h <<\_ACEOF
33834 #define wxUSE_DYNAMIC_LOADER 1
33835 _ACEOF
33836
33837 fi
33838 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33839 cat >>confdefs.h <<\_ACEOF
33840 #define wxUSE_DYNLIB_CLASS 1
33841 _ACEOF
33842
33843 fi
33844
33845
33846
33847 if test "$wxUSE_PLUGINS" = "yes" ; then
33848 if test "$wxUSE_SHARED" = "no" ; then
33849 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
33850 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33851 wxUSE_PLUGINS=no
33852 fi
33853 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33854 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
33855 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33856 wxUSE_PLUGINS=no
33857 fi
33858 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33859 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33860 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33861 wxUSE_PLUGINS=no
33862 fi
33863 if test "$wxUSE_PLUGINS" = "yes" ; then
33864 cat >>confdefs.h <<\_ACEOF
33865 #define wxUSE_PLUGINS 1
33866 _ACEOF
33867
33868 fi
33869 fi
33870
33871
33872 if test "$wxUSE_STL" = "yes"; then
33873 cat >>confdefs.h <<\_ACEOF
33874 #define wxUSE_STL 1
33875 _ACEOF
33876
33877 fi
33878
33879 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33880 cat >>confdefs.h <<\_ACEOF
33881 #define wxUSE_APPLE_IEEE 1
33882 _ACEOF
33883
33884 fi
33885
33886 if test "$wxUSE_TIMER" = "yes"; then
33887 cat >>confdefs.h <<\_ACEOF
33888 #define wxUSE_TIMER 1
33889 _ACEOF
33890
33891 fi
33892
33893 WITH_PLUGIN_SDL=0
33894 if test "$wxUSE_SOUND" = "yes"; then
33895 if test "$USE_UNIX" = "1" ; then
33896
33897 for ac_header in sys/soundcard.h
33898 do
33899 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33900 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33901 echo "$as_me:$LINENO: checking for $ac_header" >&5
33902 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33903 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33904 echo $ECHO_N "(cached) $ECHO_C" >&6
33905 fi
33906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33907 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33908 else
33909 # Is the header compilable?
33910 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33911 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33912 cat >conftest.$ac_ext <<_ACEOF
33913 /* confdefs.h. */
33914 _ACEOF
33915 cat confdefs.h >>conftest.$ac_ext
33916 cat >>conftest.$ac_ext <<_ACEOF
33917 /* end confdefs.h. */
33918 $ac_includes_default
33919 #include <$ac_header>
33920 _ACEOF
33921 rm -f conftest.$ac_objext
33922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33923 (eval $ac_compile) 2>conftest.er1
33924 ac_status=$?
33925 grep -v '^ *+' conftest.er1 >conftest.err
33926 rm -f conftest.er1
33927 cat conftest.err >&5
33928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33929 (exit $ac_status); } &&
33930 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33932 (eval $ac_try) 2>&5
33933 ac_status=$?
33934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33935 (exit $ac_status); }; } &&
33936 { ac_try='test -s conftest.$ac_objext'
33937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33938 (eval $ac_try) 2>&5
33939 ac_status=$?
33940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33941 (exit $ac_status); }; }; then
33942 ac_header_compiler=yes
33943 else
33944 echo "$as_me: failed program was:" >&5
33945 sed 's/^/| /' conftest.$ac_ext >&5
33946
33947 ac_header_compiler=no
33948 fi
33949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33950 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33951 echo "${ECHO_T}$ac_header_compiler" >&6
33952
33953 # Is the header present?
33954 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33955 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33956 cat >conftest.$ac_ext <<_ACEOF
33957 /* confdefs.h. */
33958 _ACEOF
33959 cat confdefs.h >>conftest.$ac_ext
33960 cat >>conftest.$ac_ext <<_ACEOF
33961 /* end confdefs.h. */
33962 #include <$ac_header>
33963 _ACEOF
33964 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33965 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33966 ac_status=$?
33967 grep -v '^ *+' conftest.er1 >conftest.err
33968 rm -f conftest.er1
33969 cat conftest.err >&5
33970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33971 (exit $ac_status); } >/dev/null; then
33972 if test -s conftest.err; then
33973 ac_cpp_err=$ac_c_preproc_warn_flag
33974 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33975 else
33976 ac_cpp_err=
33977 fi
33978 else
33979 ac_cpp_err=yes
33980 fi
33981 if test -z "$ac_cpp_err"; then
33982 ac_header_preproc=yes
33983 else
33984 echo "$as_me: failed program was:" >&5
33985 sed 's/^/| /' conftest.$ac_ext >&5
33986
33987 ac_header_preproc=no
33988 fi
33989 rm -f conftest.err conftest.$ac_ext
33990 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33991 echo "${ECHO_T}$ac_header_preproc" >&6
33992
33993 # So? What about this header?
33994 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33995 yes:no: )
33996 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33997 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33998 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33999 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34000 ac_header_preproc=yes
34001 ;;
34002 no:yes:* )
34003 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34004 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34005 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34006 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34007 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34008 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34009 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34010 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34011 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34012 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34013 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34014 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34015 (
34016 cat <<\_ASBOX
34017 ## ----------------------------------------- ##
34018 ## Report this to wx-dev@lists.wxwindows.org ##
34019 ## ----------------------------------------- ##
34020 _ASBOX
34021 ) |
34022 sed "s/^/$as_me: WARNING: /" >&2
34023 ;;
34024 esac
34025 echo "$as_me:$LINENO: checking for $ac_header" >&5
34026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34028 echo $ECHO_N "(cached) $ECHO_C" >&6
34029 else
34030 eval "$as_ac_Header=\$ac_header_preproc"
34031 fi
34032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34033 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34034
34035 fi
34036 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34037 cat >>confdefs.h <<_ACEOF
34038 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34039 _ACEOF
34040
34041 fi
34042
34043 done
34044
34045
34046 if test "$wxUSE_LIBSDL" != "no"; then
34047
34048 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34049 if test "${with_sdl_prefix+set}" = set; then
34050 withval="$with_sdl_prefix"
34051 sdl_prefix="$withval"
34052 else
34053 sdl_prefix=""
34054 fi;
34055
34056 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34057 if test "${with_sdl_exec_prefix+set}" = set; then
34058 withval="$with_sdl_exec_prefix"
34059 sdl_exec_prefix="$withval"
34060 else
34061 sdl_exec_prefix=""
34062 fi;
34063 # Check whether --enable-sdltest or --disable-sdltest was given.
34064 if test "${enable_sdltest+set}" = set; then
34065 enableval="$enable_sdltest"
34066
34067 else
34068 enable_sdltest=yes
34069 fi;
34070
34071 if test x$sdl_exec_prefix != x ; then
34072 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
34073 if test x${SDL_CONFIG+set} != xset ; then
34074 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
34075 fi
34076 fi
34077 if test x$sdl_prefix != x ; then
34078 sdl_args="$sdl_args --prefix=$sdl_prefix"
34079 if test x${SDL_CONFIG+set} != xset ; then
34080 SDL_CONFIG=$sdl_prefix/bin/sdl-config
34081 fi
34082 fi
34083
34084
34085 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
34086 # Extract the first word of "sdl-config", so it can be a program name with args.
34087 set dummy sdl-config; ac_word=$2
34088 echo "$as_me:$LINENO: checking for $ac_word" >&5
34089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34090 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34091 echo $ECHO_N "(cached) $ECHO_C" >&6
34092 else
34093 case $SDL_CONFIG in
34094 [\\/]* | ?:[\\/]*)
34095 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
34096 ;;
34097 *)
34098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34099 for as_dir in $PATH
34100 do
34101 IFS=$as_save_IFS
34102 test -z "$as_dir" && as_dir=.
34103 for ac_exec_ext in '' $ac_executable_extensions; do
34104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34105 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34107 break 2
34108 fi
34109 done
34110 done
34111
34112 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
34113 ;;
34114 esac
34115 fi
34116 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
34117
34118 if test -n "$SDL_CONFIG"; then
34119 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34120 echo "${ECHO_T}$SDL_CONFIG" >&6
34121 else
34122 echo "$as_me:$LINENO: result: no" >&5
34123 echo "${ECHO_T}no" >&6
34124 fi
34125
34126 min_sdl_version=1.2.0
34127 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34128 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34129 no_sdl=""
34130 if test "$SDL_CONFIG" = "no" ; then
34131 no_sdl=yes
34132 else
34133 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
34134 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
34135
34136 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
34137 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34138 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
34139 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34140 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
34141 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34142 if test "x$enable_sdltest" = "xyes" ; then
34143 ac_save_CFLAGS="$CFLAGS"
34144 ac_save_LIBS="$LIBS"
34145 CFLAGS="$CFLAGS $SDL_CFLAGS"
34146 LIBS="$LIBS $SDL_LIBS"
34147 rm -f conf.sdltest
34148 if test "$cross_compiling" = yes; then
34149 echo $ac_n "cross compiling; assumed OK... $ac_c"
34150 else
34151 cat >conftest.$ac_ext <<_ACEOF
34152 /* confdefs.h. */
34153 _ACEOF
34154 cat confdefs.h >>conftest.$ac_ext
34155 cat >>conftest.$ac_ext <<_ACEOF
34156 /* end confdefs.h. */
34157
34158 #include <stdio.h>
34159 #include <stdlib.h>
34160 #include <string.h>
34161 #include "SDL.h"
34162
34163 char*
34164 my_strdup (char *str)
34165 {
34166 char *new_str;
34167
34168 if (str)
34169 {
34170 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34171 strcpy (new_str, str);
34172 }
34173 else
34174 new_str = NULL;
34175
34176 return new_str;
34177 }
34178
34179 int main (int argc, char *argv[])
34180 {
34181 int major, minor, micro;
34182 char *tmp_version;
34183
34184 /* This hangs on some systems (?)
34185 system ("touch conf.sdltest");
34186 */
34187 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34188
34189 /* HP/UX 9 (%@#!) writes to sscanf strings */
34190 tmp_version = my_strdup("$min_sdl_version");
34191 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
34192 printf("%s, bad version string\n", "$min_sdl_version");
34193 exit(1);
34194 }
34195
34196 if (($sdl_major_version > major) ||
34197 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34198 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34199 {
34200 return 0;
34201 }
34202 else
34203 {
34204 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34205 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34206 printf("*** best to upgrade to the required version.\n");
34207 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34208 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34209 printf("*** config.cache before re-running configure\n");
34210 return 1;
34211 }
34212 }
34213
34214
34215 _ACEOF
34216 rm -f conftest$ac_exeext
34217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34218 (eval $ac_link) 2>&5
34219 ac_status=$?
34220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34221 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34223 (eval $ac_try) 2>&5
34224 ac_status=$?
34225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34226 (exit $ac_status); }; }; then
34227 :
34228 else
34229 echo "$as_me: program exited with status $ac_status" >&5
34230 echo "$as_me: failed program was:" >&5
34231 sed 's/^/| /' conftest.$ac_ext >&5
34232
34233 ( exit $ac_status )
34234 no_sdl=yes
34235 fi
34236 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34237 fi
34238 CFLAGS="$ac_save_CFLAGS"
34239 LIBS="$ac_save_LIBS"
34240 fi
34241 fi
34242 if test "x$no_sdl" = x ; then
34243 echo "$as_me:$LINENO: result: yes" >&5
34244 echo "${ECHO_T}yes" >&6
34245
34246 EXTRALIBS_SDL="$SDL_LIBS"
34247 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
34248 cat >>confdefs.h <<\_ACEOF
34249 #define wxUSE_LIBSDL 1
34250 _ACEOF
34251
34252
34253 else
34254 echo "$as_me:$LINENO: result: no" >&5
34255 echo "${ECHO_T}no" >&6
34256 if test "$SDL_CONFIG" = "no" ; then
34257 echo "*** The sdl-config script installed by SDL could not be found"
34258 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34259 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34260 echo "*** full path to sdl-config."
34261 else
34262 if test -f conf.sdltest ; then
34263 :
34264 else
34265 echo "*** Could not run SDL test program, checking why..."
34266 CFLAGS="$CFLAGS $SDL_CFLAGS"
34267 LIBS="$LIBS $SDL_LIBS"
34268 cat >conftest.$ac_ext <<_ACEOF
34269 /* confdefs.h. */
34270 _ACEOF
34271 cat confdefs.h >>conftest.$ac_ext
34272 cat >>conftest.$ac_ext <<_ACEOF
34273 /* end confdefs.h. */
34274
34275 #include <stdio.h>
34276 #include "SDL.h"
34277
34278 int main(int argc, char *argv[])
34279 { return 0; }
34280 #undef main
34281 #define main K_and_R_C_main
34282
34283 int
34284 main ()
34285 {
34286 return 0;
34287 ;
34288 return 0;
34289 }
34290 _ACEOF
34291 rm -f conftest.$ac_objext conftest$ac_exeext
34292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34293 (eval $ac_link) 2>conftest.er1
34294 ac_status=$?
34295 grep -v '^ *+' conftest.er1 >conftest.err
34296 rm -f conftest.er1
34297 cat conftest.err >&5
34298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34299 (exit $ac_status); } &&
34300 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34302 (eval $ac_try) 2>&5
34303 ac_status=$?
34304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34305 (exit $ac_status); }; } &&
34306 { ac_try='test -s conftest$ac_exeext'
34307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34308 (eval $ac_try) 2>&5
34309 ac_status=$?
34310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34311 (exit $ac_status); }; }; then
34312 echo "*** The test program compiled, but did not run. This usually means"
34313 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34314 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34315 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34316 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34317 echo "*** is required on your system"
34318 echo "***"
34319 echo "*** If you have an old version installed, it is best to remove it, although"
34320 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34321 else
34322 echo "$as_me: failed program was:" >&5
34323 sed 's/^/| /' conftest.$ac_ext >&5
34324
34325 echo "*** The test program failed to compile or link. See the file config.log for the"
34326 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34327 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34328 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34329 fi
34330 rm -f conftest.err conftest.$ac_objext \
34331 conftest$ac_exeext conftest.$ac_ext
34332 CFLAGS="$ac_save_CFLAGS"
34333 LIBS="$ac_save_LIBS"
34334 fi
34335 fi
34336 SDL_CFLAGS=""
34337 SDL_LIBS=""
34338 wxUSE_LIBSDL="no"
34339 fi
34340
34341
34342 rm -f conf.sdltest
34343
34344 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34345 WITH_PLUGIN_SDL=1
34346 fi
34347 fi
34348 fi
34349
34350 cat >>confdefs.h <<\_ACEOF
34351 #define wxUSE_SOUND 1
34352 _ACEOF
34353
34354 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
34355 fi
34356
34357 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34358 cat >>confdefs.h <<\_ACEOF
34359 #define wxUSE_CMDLINE_PARSER 1
34360 _ACEOF
34361
34362 fi
34363
34364 if test "$wxUSE_STOPWATCH" = "yes"; then
34365 cat >>confdefs.h <<\_ACEOF
34366 #define wxUSE_STOPWATCH 1
34367 _ACEOF
34368
34369 fi
34370
34371 if test "$wxUSE_DATETIME" = "yes"; then
34372 cat >>confdefs.h <<\_ACEOF
34373 #define wxUSE_DATETIME 1
34374 _ACEOF
34375
34376 fi
34377
34378 if test "$wxUSE_FILE" = "yes"; then
34379 cat >>confdefs.h <<\_ACEOF
34380 #define wxUSE_FILE 1
34381 _ACEOF
34382
34383 fi
34384
34385 if test "$wxUSE_FFILE" = "yes"; then
34386 cat >>confdefs.h <<\_ACEOF
34387 #define wxUSE_FFILE 1
34388 _ACEOF
34389
34390 fi
34391
34392 if test "$wxUSE_FILESYSTEM" = "yes"; then
34393 cat >>confdefs.h <<\_ACEOF
34394 #define wxUSE_FILESYSTEM 1
34395 _ACEOF
34396
34397 fi
34398
34399 if test "$wxUSE_FS_ZIP" = "yes"; then
34400 cat >>confdefs.h <<\_ACEOF
34401 #define wxUSE_FS_ZIP 1
34402 _ACEOF
34403
34404 fi
34405
34406 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34407 cat >>confdefs.h <<\_ACEOF
34408 #define wxUSE_ZIPSTREAM 1
34409 _ACEOF
34410
34411 fi
34412
34413 if test "$wxUSE_GZSTREAM" = "yes"; then
34414 cat >>confdefs.h <<\_ACEOF
34415 #define wxUSE_GZSTREAM 1
34416 _ACEOF
34417
34418 fi
34419
34420 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34421 cat >>confdefs.h <<\_ACEOF
34422 #define wxUSE_ON_FATAL_EXCEPTION 1
34423 _ACEOF
34424
34425 fi
34426
34427 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34428 cat >>confdefs.h <<\_ACEOF
34429 #define wxUSE_SNGLINST_CHECKER 1
34430 _ACEOF
34431
34432 fi
34433
34434 if test "$wxUSE_BUSYINFO" = "yes"; then
34435 cat >>confdefs.h <<\_ACEOF
34436 #define wxUSE_BUSYINFO 1
34437 _ACEOF
34438
34439 fi
34440
34441 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34442 cat >>confdefs.h <<\_ACEOF
34443 #define wxUSE_STD_IOSTREAM 1
34444 _ACEOF
34445
34446 fi
34447
34448 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34449 cat >>confdefs.h <<\_ACEOF
34450 #define wxUSE_TEXTBUFFER 1
34451 _ACEOF
34452
34453 fi
34454
34455 if test "$wxUSE_TEXTFILE" = "yes"; then
34456 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34457 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34458 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34459 else
34460 cat >>confdefs.h <<\_ACEOF
34461 #define wxUSE_TEXTFILE 1
34462 _ACEOF
34463
34464 fi
34465 fi
34466
34467 if test "$wxUSE_CONFIG" = "yes" ; then
34468 if test "$wxUSE_TEXTFILE" != "yes"; then
34469 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34470 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34471 else
34472 cat >>confdefs.h <<\_ACEOF
34473 #define wxUSE_CONFIG 1
34474 _ACEOF
34475
34476 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34477 fi
34478 fi
34479
34480 if test "$wxUSE_INTL" = "yes" ; then
34481 if test "$wxUSE_FILE" != "yes"; then
34482 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34483 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34484 else
34485 cat >>confdefs.h <<\_ACEOF
34486 #define wxUSE_INTL 1
34487 _ACEOF
34488
34489 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
34490 GUIDIST="$GUIDIST INTL_DIST"
34491 fi
34492 fi
34493
34494 if test "$wxUSE_LOG" = "yes"; then
34495 cat >>confdefs.h <<\_ACEOF
34496 #define wxUSE_LOG 1
34497 _ACEOF
34498
34499
34500 if test "$wxUSE_LOGGUI" = "yes"; then
34501 cat >>confdefs.h <<\_ACEOF
34502 #define wxUSE_LOGGUI 1
34503 _ACEOF
34504
34505 fi
34506
34507 if test "$wxUSE_LOGWINDOW" = "yes"; then
34508 cat >>confdefs.h <<\_ACEOF
34509 #define wxUSE_LOGWINDOW 1
34510 _ACEOF
34511
34512 fi
34513
34514 if test "$wxUSE_LOGDIALOG" = "yes"; then
34515 cat >>confdefs.h <<\_ACEOF
34516 #define wxUSE_LOG_DIALOG 1
34517 _ACEOF
34518
34519 fi
34520 fi
34521
34522 if test "$wxUSE_LONGLONG" = "yes"; then
34523 cat >>confdefs.h <<\_ACEOF
34524 #define wxUSE_LONGLONG 1
34525 _ACEOF
34526
34527 fi
34528
34529 if test "$wxUSE_GEOMETRY" = "yes"; then
34530 cat >>confdefs.h <<\_ACEOF
34531 #define wxUSE_GEOMETRY 1
34532 _ACEOF
34533
34534 fi
34535
34536 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34537 cat >>confdefs.h <<\_ACEOF
34538 #define wxUSE_DIALUP_MANAGER 1
34539 _ACEOF
34540
34541 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
34542 fi
34543
34544 if test "$wxUSE_STREAMS" = "yes" ; then
34545 cat >>confdefs.h <<\_ACEOF
34546 #define wxUSE_STREAMS 1
34547 _ACEOF
34548
34549 fi
34550
34551
34552 if test "$wxUSE_DATETIME" = "yes"; then
34553
34554 for ac_func in strptime
34555 do
34556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34557 echo "$as_me:$LINENO: checking for $ac_func" >&5
34558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34559 if eval "test \"\${$as_ac_var+set}\" = set"; then
34560 echo $ECHO_N "(cached) $ECHO_C" >&6
34561 else
34562 cat >conftest.$ac_ext <<_ACEOF
34563 /* confdefs.h. */
34564 _ACEOF
34565 cat confdefs.h >>conftest.$ac_ext
34566 cat >>conftest.$ac_ext <<_ACEOF
34567 /* end confdefs.h. */
34568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34570 #define $ac_func innocuous_$ac_func
34571
34572 /* System header to define __stub macros and hopefully few prototypes,
34573 which can conflict with char $ac_func (); below.
34574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34575 <limits.h> exists even on freestanding compilers. */
34576
34577 #ifdef __STDC__
34578 # include <limits.h>
34579 #else
34580 # include <assert.h>
34581 #endif
34582
34583 #undef $ac_func
34584
34585 /* Override any gcc2 internal prototype to avoid an error. */
34586 #ifdef __cplusplus
34587 extern "C"
34588 {
34589 #endif
34590 /* We use char because int might match the return type of a gcc2
34591 builtin and then its argument prototype would still apply. */
34592 char $ac_func ();
34593 /* The GNU C library defines this for functions which it implements
34594 to always fail with ENOSYS. Some functions are actually named
34595 something starting with __ and the normal name is an alias. */
34596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34597 choke me
34598 #else
34599 char (*f) () = $ac_func;
34600 #endif
34601 #ifdef __cplusplus
34602 }
34603 #endif
34604
34605 int
34606 main ()
34607 {
34608 return f != $ac_func;
34609 ;
34610 return 0;
34611 }
34612 _ACEOF
34613 rm -f conftest.$ac_objext conftest$ac_exeext
34614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34615 (eval $ac_link) 2>conftest.er1
34616 ac_status=$?
34617 grep -v '^ *+' conftest.er1 >conftest.err
34618 rm -f conftest.er1
34619 cat conftest.err >&5
34620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34621 (exit $ac_status); } &&
34622 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34624 (eval $ac_try) 2>&5
34625 ac_status=$?
34626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34627 (exit $ac_status); }; } &&
34628 { ac_try='test -s conftest$ac_exeext'
34629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34630 (eval $ac_try) 2>&5
34631 ac_status=$?
34632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34633 (exit $ac_status); }; }; then
34634 eval "$as_ac_var=yes"
34635 else
34636 echo "$as_me: failed program was:" >&5
34637 sed 's/^/| /' conftest.$ac_ext >&5
34638
34639 eval "$as_ac_var=no"
34640 fi
34641 rm -f conftest.err conftest.$ac_objext \
34642 conftest$ac_exeext conftest.$ac_ext
34643 fi
34644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34646 if test `eval echo '${'$as_ac_var'}'` = yes; then
34647 cat >>confdefs.h <<_ACEOF
34648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34649 _ACEOF
34650
34651 fi
34652 done
34653
34654
34655 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34656 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34657 if test "${wx_cv_var_timezone+set}" = set; then
34658 echo $ECHO_N "(cached) $ECHO_C" >&6
34659 else
34660
34661 cat >conftest.$ac_ext <<_ACEOF
34662 /* confdefs.h. */
34663 _ACEOF
34664 cat confdefs.h >>conftest.$ac_ext
34665 cat >>conftest.$ac_ext <<_ACEOF
34666 /* end confdefs.h. */
34667
34668 #include <time.h>
34669
34670 int
34671 main ()
34672 {
34673
34674 int tz;
34675 tz = timezone;
34676
34677 ;
34678 return 0;
34679 }
34680 _ACEOF
34681 rm -f conftest.$ac_objext
34682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34683 (eval $ac_compile) 2>conftest.er1
34684 ac_status=$?
34685 grep -v '^ *+' conftest.er1 >conftest.err
34686 rm -f conftest.er1
34687 cat conftest.err >&5
34688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34689 (exit $ac_status); } &&
34690 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34692 (eval $ac_try) 2>&5
34693 ac_status=$?
34694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34695 (exit $ac_status); }; } &&
34696 { ac_try='test -s conftest.$ac_objext'
34697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34698 (eval $ac_try) 2>&5
34699 ac_status=$?
34700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34701 (exit $ac_status); }; }; then
34702
34703 wx_cv_var_timezone=timezone
34704
34705 else
34706 echo "$as_me: failed program was:" >&5
34707 sed 's/^/| /' conftest.$ac_ext >&5
34708
34709
34710 cat >conftest.$ac_ext <<_ACEOF
34711 /* confdefs.h. */
34712 _ACEOF
34713 cat confdefs.h >>conftest.$ac_ext
34714 cat >>conftest.$ac_ext <<_ACEOF
34715 /* end confdefs.h. */
34716
34717 #include <time.h>
34718
34719 int
34720 main ()
34721 {
34722
34723 int tz;
34724 tz = _timezone;
34725
34726 ;
34727 return 0;
34728 }
34729 _ACEOF
34730 rm -f conftest.$ac_objext
34731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34732 (eval $ac_compile) 2>conftest.er1
34733 ac_status=$?
34734 grep -v '^ *+' conftest.er1 >conftest.err
34735 rm -f conftest.er1
34736 cat conftest.err >&5
34737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34738 (exit $ac_status); } &&
34739 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34741 (eval $ac_try) 2>&5
34742 ac_status=$?
34743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34744 (exit $ac_status); }; } &&
34745 { ac_try='test -s conftest.$ac_objext'
34746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34747 (eval $ac_try) 2>&5
34748 ac_status=$?
34749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34750 (exit $ac_status); }; }; then
34751
34752 wx_cv_var_timezone=_timezone
34753
34754 else
34755 echo "$as_me: failed program was:" >&5
34756 sed 's/^/| /' conftest.$ac_ext >&5
34757
34758
34759 cat >conftest.$ac_ext <<_ACEOF
34760 /* confdefs.h. */
34761 _ACEOF
34762 cat confdefs.h >>conftest.$ac_ext
34763 cat >>conftest.$ac_ext <<_ACEOF
34764 /* end confdefs.h. */
34765
34766 #include <time.h>
34767
34768 int
34769 main ()
34770 {
34771
34772 int tz;
34773 tz = __timezone;
34774
34775 ;
34776 return 0;
34777 }
34778 _ACEOF
34779 rm -f conftest.$ac_objext
34780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34781 (eval $ac_compile) 2>conftest.er1
34782 ac_status=$?
34783 grep -v '^ *+' conftest.er1 >conftest.err
34784 rm -f conftest.er1
34785 cat conftest.err >&5
34786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34787 (exit $ac_status); } &&
34788 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34790 (eval $ac_try) 2>&5
34791 ac_status=$?
34792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34793 (exit $ac_status); }; } &&
34794 { ac_try='test -s conftest.$ac_objext'
34795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34796 (eval $ac_try) 2>&5
34797 ac_status=$?
34798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34799 (exit $ac_status); }; }; then
34800
34801 wx_cv_var_timezone=__timezone
34802
34803 else
34804 echo "$as_me: failed program was:" >&5
34805 sed 's/^/| /' conftest.$ac_ext >&5
34806
34807
34808 if test "$USE_DOS" = 0 ; then
34809 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
34810 echo "$as_me: WARNING: no timezone variable" >&2;}
34811 fi
34812
34813
34814 fi
34815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34816
34817
34818 fi
34819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34820
34821
34822 fi
34823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34824
34825
34826 fi
34827 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
34828 echo "${ECHO_T}$wx_cv_var_timezone" >&6
34829
34830 if test "x$wx_cv_var_timezone" != x ; then
34831 cat >>confdefs.h <<_ACEOF
34832 #define WX_TIMEZONE $wx_cv_var_timezone
34833 _ACEOF
34834
34835 fi
34836
34837
34838 for ac_func in localtime
34839 do
34840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34841 echo "$as_me:$LINENO: checking for $ac_func" >&5
34842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34843 if eval "test \"\${$as_ac_var+set}\" = set"; then
34844 echo $ECHO_N "(cached) $ECHO_C" >&6
34845 else
34846 cat >conftest.$ac_ext <<_ACEOF
34847 /* confdefs.h. */
34848 _ACEOF
34849 cat confdefs.h >>conftest.$ac_ext
34850 cat >>conftest.$ac_ext <<_ACEOF
34851 /* end confdefs.h. */
34852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34854 #define $ac_func innocuous_$ac_func
34855
34856 /* System header to define __stub macros and hopefully few prototypes,
34857 which can conflict with char $ac_func (); below.
34858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34859 <limits.h> exists even on freestanding compilers. */
34860
34861 #ifdef __STDC__
34862 # include <limits.h>
34863 #else
34864 # include <assert.h>
34865 #endif
34866
34867 #undef $ac_func
34868
34869 /* Override any gcc2 internal prototype to avoid an error. */
34870 #ifdef __cplusplus
34871 extern "C"
34872 {
34873 #endif
34874 /* We use char because int might match the return type of a gcc2
34875 builtin and then its argument prototype would still apply. */
34876 char $ac_func ();
34877 /* The GNU C library defines this for functions which it implements
34878 to always fail with ENOSYS. Some functions are actually named
34879 something starting with __ and the normal name is an alias. */
34880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34881 choke me
34882 #else
34883 char (*f) () = $ac_func;
34884 #endif
34885 #ifdef __cplusplus
34886 }
34887 #endif
34888
34889 int
34890 main ()
34891 {
34892 return f != $ac_func;
34893 ;
34894 return 0;
34895 }
34896 _ACEOF
34897 rm -f conftest.$ac_objext conftest$ac_exeext
34898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34899 (eval $ac_link) 2>conftest.er1
34900 ac_status=$?
34901 grep -v '^ *+' conftest.er1 >conftest.err
34902 rm -f conftest.er1
34903 cat conftest.err >&5
34904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34905 (exit $ac_status); } &&
34906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34908 (eval $ac_try) 2>&5
34909 ac_status=$?
34910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34911 (exit $ac_status); }; } &&
34912 { ac_try='test -s conftest$ac_exeext'
34913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34914 (eval $ac_try) 2>&5
34915 ac_status=$?
34916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34917 (exit $ac_status); }; }; then
34918 eval "$as_ac_var=yes"
34919 else
34920 echo "$as_me: failed program was:" >&5
34921 sed 's/^/| /' conftest.$ac_ext >&5
34922
34923 eval "$as_ac_var=no"
34924 fi
34925 rm -f conftest.err conftest.$ac_objext \
34926 conftest$ac_exeext conftest.$ac_ext
34927 fi
34928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34930 if test `eval echo '${'$as_ac_var'}'` = yes; then
34931 cat >>confdefs.h <<_ACEOF
34932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34933 _ACEOF
34934
34935 fi
34936 done
34937
34938
34939 if test "$ac_cv_func_localtime" = "yes"; then
34940 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
34941 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
34942 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
34943 echo $ECHO_N "(cached) $ECHO_C" >&6
34944 else
34945
34946 cat >conftest.$ac_ext <<_ACEOF
34947 /* confdefs.h. */
34948 _ACEOF
34949 cat confdefs.h >>conftest.$ac_ext
34950 cat >>conftest.$ac_ext <<_ACEOF
34951 /* end confdefs.h. */
34952
34953 #include <time.h>
34954
34955 int
34956 main ()
34957 {
34958
34959 struct tm tm;
34960 tm.tm_gmtoff++;
34961
34962 ;
34963 return 0;
34964 }
34965 _ACEOF
34966 rm -f conftest.$ac_objext
34967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34968 (eval $ac_compile) 2>conftest.er1
34969 ac_status=$?
34970 grep -v '^ *+' conftest.er1 >conftest.err
34971 rm -f conftest.er1
34972 cat conftest.err >&5
34973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34974 (exit $ac_status); } &&
34975 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34977 (eval $ac_try) 2>&5
34978 ac_status=$?
34979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34980 (exit $ac_status); }; } &&
34981 { ac_try='test -s conftest.$ac_objext'
34982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34983 (eval $ac_try) 2>&5
34984 ac_status=$?
34985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34986 (exit $ac_status); }; }; then
34987
34988 wx_cv_struct_tm_has_gmtoff=yes
34989
34990 else
34991 echo "$as_me: failed program was:" >&5
34992 sed 's/^/| /' conftest.$ac_ext >&5
34993
34994 wx_cv_struct_tm_has_gmtoff=no
34995
34996 fi
34997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34998
34999 fi
35000 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35001 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35002 fi
35003
35004 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35005 cat >>confdefs.h <<\_ACEOF
35006 #define WX_GMTOFF_IN_TM 1
35007 _ACEOF
35008
35009 fi
35010
35011
35012
35013 for ac_func in gettimeofday ftime
35014 do
35015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35016 echo "$as_me:$LINENO: checking for $ac_func" >&5
35017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35018 if eval "test \"\${$as_ac_var+set}\" = set"; then
35019 echo $ECHO_N "(cached) $ECHO_C" >&6
35020 else
35021 cat >conftest.$ac_ext <<_ACEOF
35022 /* confdefs.h. */
35023 _ACEOF
35024 cat confdefs.h >>conftest.$ac_ext
35025 cat >>conftest.$ac_ext <<_ACEOF
35026 /* end confdefs.h. */
35027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35029 #define $ac_func innocuous_$ac_func
35030
35031 /* System header to define __stub macros and hopefully few prototypes,
35032 which can conflict with char $ac_func (); below.
35033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35034 <limits.h> exists even on freestanding compilers. */
35035
35036 #ifdef __STDC__
35037 # include <limits.h>
35038 #else
35039 # include <assert.h>
35040 #endif
35041
35042 #undef $ac_func
35043
35044 /* Override any gcc2 internal prototype to avoid an error. */
35045 #ifdef __cplusplus
35046 extern "C"
35047 {
35048 #endif
35049 /* We use char because int might match the return type of a gcc2
35050 builtin and then its argument prototype would still apply. */
35051 char $ac_func ();
35052 /* The GNU C library defines this for functions which it implements
35053 to always fail with ENOSYS. Some functions are actually named
35054 something starting with __ and the normal name is an alias. */
35055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35056 choke me
35057 #else
35058 char (*f) () = $ac_func;
35059 #endif
35060 #ifdef __cplusplus
35061 }
35062 #endif
35063
35064 int
35065 main ()
35066 {
35067 return f != $ac_func;
35068 ;
35069 return 0;
35070 }
35071 _ACEOF
35072 rm -f conftest.$ac_objext conftest$ac_exeext
35073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35074 (eval $ac_link) 2>conftest.er1
35075 ac_status=$?
35076 grep -v '^ *+' conftest.er1 >conftest.err
35077 rm -f conftest.er1
35078 cat conftest.err >&5
35079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35080 (exit $ac_status); } &&
35081 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35083 (eval $ac_try) 2>&5
35084 ac_status=$?
35085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35086 (exit $ac_status); }; } &&
35087 { ac_try='test -s conftest$ac_exeext'
35088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35089 (eval $ac_try) 2>&5
35090 ac_status=$?
35091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35092 (exit $ac_status); }; }; then
35093 eval "$as_ac_var=yes"
35094 else
35095 echo "$as_me: failed program was:" >&5
35096 sed 's/^/| /' conftest.$ac_ext >&5
35097
35098 eval "$as_ac_var=no"
35099 fi
35100 rm -f conftest.err conftest.$ac_objext \
35101 conftest$ac_exeext conftest.$ac_ext
35102 fi
35103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35105 if test `eval echo '${'$as_ac_var'}'` = yes; then
35106 cat >>confdefs.h <<_ACEOF
35107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35108 _ACEOF
35109 break
35110 fi
35111 done
35112
35113
35114 if test "$ac_cv_func_gettimeofday" = "yes"; then
35115 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35116 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35117 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35118 echo $ECHO_N "(cached) $ECHO_C" >&6
35119 else
35120
35121
35122
35123 ac_ext=cc
35124 ac_cpp='$CXXCPP $CPPFLAGS'
35125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35128
35129
35130 cat >conftest.$ac_ext <<_ACEOF
35131 /* confdefs.h. */
35132 _ACEOF
35133 cat confdefs.h >>conftest.$ac_ext
35134 cat >>conftest.$ac_ext <<_ACEOF
35135 /* end confdefs.h. */
35136
35137 #include <sys/time.h>
35138 #include <unistd.h>
35139
35140 int
35141 main ()
35142 {
35143
35144 struct timeval tv;
35145 gettimeofday(&tv, NULL);
35146
35147 ;
35148 return 0;
35149 }
35150 _ACEOF
35151 rm -f conftest.$ac_objext
35152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35153 (eval $ac_compile) 2>conftest.er1
35154 ac_status=$?
35155 grep -v '^ *+' conftest.er1 >conftest.err
35156 rm -f conftest.er1
35157 cat conftest.err >&5
35158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35159 (exit $ac_status); } &&
35160 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35162 (eval $ac_try) 2>&5
35163 ac_status=$?
35164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35165 (exit $ac_status); }; } &&
35166 { ac_try='test -s conftest.$ac_objext'
35167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35168 (eval $ac_try) 2>&5
35169 ac_status=$?
35170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35171 (exit $ac_status); }; }; then
35172 wx_cv_func_gettimeofday_has_2_args=yes
35173 else
35174 echo "$as_me: failed program was:" >&5
35175 sed 's/^/| /' conftest.$ac_ext >&5
35176
35177 cat >conftest.$ac_ext <<_ACEOF
35178 /* confdefs.h. */
35179 _ACEOF
35180 cat confdefs.h >>conftest.$ac_ext
35181 cat >>conftest.$ac_ext <<_ACEOF
35182 /* end confdefs.h. */
35183
35184 #include <sys/time.h>
35185 #include <unistd.h>
35186
35187 int
35188 main ()
35189 {
35190
35191 struct timeval tv;
35192 gettimeofday(&tv);
35193
35194 ;
35195 return 0;
35196 }
35197 _ACEOF
35198 rm -f conftest.$ac_objext
35199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35200 (eval $ac_compile) 2>conftest.er1
35201 ac_status=$?
35202 grep -v '^ *+' conftest.er1 >conftest.err
35203 rm -f conftest.er1
35204 cat conftest.err >&5
35205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35206 (exit $ac_status); } &&
35207 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35209 (eval $ac_try) 2>&5
35210 ac_status=$?
35211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35212 (exit $ac_status); }; } &&
35213 { ac_try='test -s conftest.$ac_objext'
35214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35215 (eval $ac_try) 2>&5
35216 ac_status=$?
35217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35218 (exit $ac_status); }; }; then
35219 wx_cv_func_gettimeofday_has_2_args=no
35220 else
35221 echo "$as_me: failed program was:" >&5
35222 sed 's/^/| /' conftest.$ac_ext >&5
35223
35224
35225 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35226 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35227 wx_cv_func_gettimeofday_has_2_args=unknown
35228
35229
35230 fi
35231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35232
35233 fi
35234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35235 ac_ext=c
35236 ac_cpp='$CPP $CPPFLAGS'
35237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35240
35241
35242 fi
35243 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35244 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35245
35246 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35247 cat >>confdefs.h <<\_ACEOF
35248 #define WX_GETTIMEOFDAY_NO_TZ 1
35249 _ACEOF
35250
35251 fi
35252 fi
35253
35254 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
35255 fi
35256
35257
35258 if test "$wxUSE_SOCKETS" = "yes"; then
35259 if test "$wxUSE_MGL" = "1"; then
35260 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35261 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35262 wxUSE_SOCKETS="no"
35263 fi
35264 fi
35265
35266 if test "$wxUSE_SOCKETS" = "yes"; then
35267 if test "$TOOLKIT" != "MSW"; then
35268 echo "$as_me:$LINENO: checking for socket" >&5
35269 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35270 if test "${ac_cv_func_socket+set}" = set; then
35271 echo $ECHO_N "(cached) $ECHO_C" >&6
35272 else
35273 cat >conftest.$ac_ext <<_ACEOF
35274 /* confdefs.h. */
35275 _ACEOF
35276 cat confdefs.h >>conftest.$ac_ext
35277 cat >>conftest.$ac_ext <<_ACEOF
35278 /* end confdefs.h. */
35279 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35281 #define socket innocuous_socket
35282
35283 /* System header to define __stub macros and hopefully few prototypes,
35284 which can conflict with char socket (); below.
35285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35286 <limits.h> exists even on freestanding compilers. */
35287
35288 #ifdef __STDC__
35289 # include <limits.h>
35290 #else
35291 # include <assert.h>
35292 #endif
35293
35294 #undef socket
35295
35296 /* Override any gcc2 internal prototype to avoid an error. */
35297 #ifdef __cplusplus
35298 extern "C"
35299 {
35300 #endif
35301 /* We use char because int might match the return type of a gcc2
35302 builtin and then its argument prototype would still apply. */
35303 char socket ();
35304 /* The GNU C library defines this for functions which it implements
35305 to always fail with ENOSYS. Some functions are actually named
35306 something starting with __ and the normal name is an alias. */
35307 #if defined (__stub_socket) || defined (__stub___socket)
35308 choke me
35309 #else
35310 char (*f) () = socket;
35311 #endif
35312 #ifdef __cplusplus
35313 }
35314 #endif
35315
35316 int
35317 main ()
35318 {
35319 return f != socket;
35320 ;
35321 return 0;
35322 }
35323 _ACEOF
35324 rm -f conftest.$ac_objext conftest$ac_exeext
35325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35326 (eval $ac_link) 2>conftest.er1
35327 ac_status=$?
35328 grep -v '^ *+' conftest.er1 >conftest.err
35329 rm -f conftest.er1
35330 cat conftest.err >&5
35331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35332 (exit $ac_status); } &&
35333 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35335 (eval $ac_try) 2>&5
35336 ac_status=$?
35337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35338 (exit $ac_status); }; } &&
35339 { ac_try='test -s conftest$ac_exeext'
35340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35341 (eval $ac_try) 2>&5
35342 ac_status=$?
35343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35344 (exit $ac_status); }; }; then
35345 ac_cv_func_socket=yes
35346 else
35347 echo "$as_me: failed program was:" >&5
35348 sed 's/^/| /' conftest.$ac_ext >&5
35349
35350 ac_cv_func_socket=no
35351 fi
35352 rm -f conftest.err conftest.$ac_objext \
35353 conftest$ac_exeext conftest.$ac_ext
35354 fi
35355 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35356 echo "${ECHO_T}$ac_cv_func_socket" >&6
35357 if test $ac_cv_func_socket = yes; then
35358 :
35359 else
35360
35361 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35362 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35363 if test "${ac_cv_lib_socket_socket+set}" = set; then
35364 echo $ECHO_N "(cached) $ECHO_C" >&6
35365 else
35366 ac_check_lib_save_LIBS=$LIBS
35367 LIBS="-lsocket $LIBS"
35368 cat >conftest.$ac_ext <<_ACEOF
35369 /* confdefs.h. */
35370 _ACEOF
35371 cat confdefs.h >>conftest.$ac_ext
35372 cat >>conftest.$ac_ext <<_ACEOF
35373 /* end confdefs.h. */
35374
35375 /* Override any gcc2 internal prototype to avoid an error. */
35376 #ifdef __cplusplus
35377 extern "C"
35378 #endif
35379 /* We use char because int might match the return type of a gcc2
35380 builtin and then its argument prototype would still apply. */
35381 char socket ();
35382 int
35383 main ()
35384 {
35385 socket ();
35386 ;
35387 return 0;
35388 }
35389 _ACEOF
35390 rm -f conftest.$ac_objext conftest$ac_exeext
35391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35392 (eval $ac_link) 2>conftest.er1
35393 ac_status=$?
35394 grep -v '^ *+' conftest.er1 >conftest.err
35395 rm -f conftest.er1
35396 cat conftest.err >&5
35397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35398 (exit $ac_status); } &&
35399 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35401 (eval $ac_try) 2>&5
35402 ac_status=$?
35403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35404 (exit $ac_status); }; } &&
35405 { ac_try='test -s conftest$ac_exeext'
35406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35407 (eval $ac_try) 2>&5
35408 ac_status=$?
35409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35410 (exit $ac_status); }; }; then
35411 ac_cv_lib_socket_socket=yes
35412 else
35413 echo "$as_me: failed program was:" >&5
35414 sed 's/^/| /' conftest.$ac_ext >&5
35415
35416 ac_cv_lib_socket_socket=no
35417 fi
35418 rm -f conftest.err conftest.$ac_objext \
35419 conftest$ac_exeext conftest.$ac_ext
35420 LIBS=$ac_check_lib_save_LIBS
35421 fi
35422 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35423 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35424 if test $ac_cv_lib_socket_socket = yes; then
35425 if test "$INET_LINK" != " -lsocket"; then
35426 INET_LINK="$INET_LINK -lsocket"
35427 fi
35428 else
35429
35430 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35431 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35432 wxUSE_SOCKETS=no
35433
35434
35435 fi
35436
35437
35438
35439 fi
35440
35441 fi
35442 fi
35443
35444 if test "$wxUSE_SOCKETS" = "yes" ; then
35445 if test "$TOOLKIT" != "MSW"; then
35446 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35447 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35448 if test "${wx_cv_type_getsockname3+set}" = set; then
35449 echo $ECHO_N "(cached) $ECHO_C" >&6
35450 else
35451
35452 cat >conftest.$ac_ext <<_ACEOF
35453 /* confdefs.h. */
35454 _ACEOF
35455 cat confdefs.h >>conftest.$ac_ext
35456 cat >>conftest.$ac_ext <<_ACEOF
35457 /* end confdefs.h. */
35458
35459 #include <sys/types.h>
35460 #include <sys/socket.h>
35461
35462 int
35463 main ()
35464 {
35465
35466 socklen_t len;
35467 getsockname(0, 0, &len);
35468
35469 ;
35470 return 0;
35471 }
35472 _ACEOF
35473 rm -f conftest.$ac_objext
35474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35475 (eval $ac_compile) 2>conftest.er1
35476 ac_status=$?
35477 grep -v '^ *+' conftest.er1 >conftest.err
35478 rm -f conftest.er1
35479 cat conftest.err >&5
35480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35481 (exit $ac_status); } &&
35482 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35484 (eval $ac_try) 2>&5
35485 ac_status=$?
35486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35487 (exit $ac_status); }; } &&
35488 { ac_try='test -s conftest.$ac_objext'
35489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35490 (eval $ac_try) 2>&5
35491 ac_status=$?
35492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35493 (exit $ac_status); }; }; then
35494 wx_cv_type_getsockname3=socklen_t
35495 else
35496 echo "$as_me: failed program was:" >&5
35497 sed 's/^/| /' conftest.$ac_ext >&5
35498
35499
35500 CFLAGS_OLD="$CFLAGS"
35501 if test "$GCC" = yes ; then
35502 CFLAGS="$CFLAGS -Werror"
35503 fi
35504
35505 cat >conftest.$ac_ext <<_ACEOF
35506 /* confdefs.h. */
35507 _ACEOF
35508 cat confdefs.h >>conftest.$ac_ext
35509 cat >>conftest.$ac_ext <<_ACEOF
35510 /* end confdefs.h. */
35511
35512 #include <sys/types.h>
35513 #include <sys/socket.h>
35514
35515 int
35516 main ()
35517 {
35518
35519 size_t len;
35520 getsockname(0, 0, &len);
35521
35522 ;
35523 return 0;
35524 }
35525 _ACEOF
35526 rm -f conftest.$ac_objext
35527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35528 (eval $ac_compile) 2>conftest.er1
35529 ac_status=$?
35530 grep -v '^ *+' conftest.er1 >conftest.err
35531 rm -f conftest.er1
35532 cat conftest.err >&5
35533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35534 (exit $ac_status); } &&
35535 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35537 (eval $ac_try) 2>&5
35538 ac_status=$?
35539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35540 (exit $ac_status); }; } &&
35541 { ac_try='test -s conftest.$ac_objext'
35542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35543 (eval $ac_try) 2>&5
35544 ac_status=$?
35545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35546 (exit $ac_status); }; }; then
35547 wx_cv_type_getsockname3=size_t
35548 else
35549 echo "$as_me: failed program was:" >&5
35550 sed 's/^/| /' conftest.$ac_ext >&5
35551
35552 cat >conftest.$ac_ext <<_ACEOF
35553 /* confdefs.h. */
35554 _ACEOF
35555 cat confdefs.h >>conftest.$ac_ext
35556 cat >>conftest.$ac_ext <<_ACEOF
35557 /* end confdefs.h. */
35558
35559 #include <sys/types.h>
35560 #include <sys/socket.h>
35561
35562 int
35563 main ()
35564 {
35565
35566 int len;
35567 getsockname(0, 0, &len);
35568
35569 ;
35570 return 0;
35571 }
35572 _ACEOF
35573 rm -f conftest.$ac_objext
35574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35575 (eval $ac_compile) 2>conftest.er1
35576 ac_status=$?
35577 grep -v '^ *+' conftest.er1 >conftest.err
35578 rm -f conftest.er1
35579 cat conftest.err >&5
35580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35581 (exit $ac_status); } &&
35582 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35584 (eval $ac_try) 2>&5
35585 ac_status=$?
35586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35587 (exit $ac_status); }; } &&
35588 { ac_try='test -s conftest.$ac_objext'
35589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35590 (eval $ac_try) 2>&5
35591 ac_status=$?
35592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35593 (exit $ac_status); }; }; then
35594 wx_cv_type_getsockname3=int
35595 else
35596 echo "$as_me: failed program was:" >&5
35597 sed 's/^/| /' conftest.$ac_ext >&5
35598
35599 wx_cv_type_getsockname3=unknown
35600
35601 fi
35602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35603
35604 fi
35605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35606
35607 CFLAGS="$CFLAGS_OLD"
35608
35609
35610 fi
35611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35612
35613 fi
35614 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35615 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35616
35617 if test "$wx_cv_type_getsockname3" = "unknown"; then
35618 wxUSE_SOCKETS=no
35619 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35620 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35621 else
35622 cat >>confdefs.h <<_ACEOF
35623 #define SOCKLEN_T $wx_cv_type_getsockname3
35624 _ACEOF
35625
35626 fi
35627 fi
35628 fi
35629
35630 if test "$wxUSE_SOCKETS" = "yes" ; then
35631 cat >>confdefs.h <<\_ACEOF
35632 #define wxUSE_SOCKETS 1
35633 _ACEOF
35634
35635 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35636 fi
35637
35638 if test "$wxUSE_PROTOCOL" = "yes"; then
35639 if test "$wxUSE_SOCKETS" != "yes"; then
35640 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35641 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35642 wxUSE_PROTOCOL=no
35643 fi
35644 fi
35645
35646 if test "$wxUSE_PROTOCOL" = "yes"; then
35647 cat >>confdefs.h <<\_ACEOF
35648 #define wxUSE_PROTOCOL 1
35649 _ACEOF
35650
35651
35652 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35653 cat >>confdefs.h <<\_ACEOF
35654 #define wxUSE_PROTOCOL_HTTP 1
35655 _ACEOF
35656
35657 fi
35658 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35659 cat >>confdefs.h <<\_ACEOF
35660 #define wxUSE_PROTOCOL_FTP 1
35661 _ACEOF
35662
35663 fi
35664 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35665 cat >>confdefs.h <<\_ACEOF
35666 #define wxUSE_PROTOCOL_FILE 1
35667 _ACEOF
35668
35669 fi
35670 else
35671 if test "$wxUSE_FS_INET" = "yes"; then
35672 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35673 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35674 wxUSE_FS_INET="no"
35675 fi
35676 fi
35677
35678 if test "$wxUSE_URL" = "yes"; then
35679 if test "$wxUSE_PROTOCOL" != "yes"; then
35680 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35681 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35682 wxUSE_URL=no
35683 fi
35684 if test "$wxUSE_URL" = "yes"; then
35685 cat >>confdefs.h <<\_ACEOF
35686 #define wxUSE_URL 1
35687 _ACEOF
35688
35689 fi
35690 fi
35691
35692 if test "$wxUSE_FS_INET" = "yes"; then
35693 cat >>confdefs.h <<\_ACEOF
35694 #define wxUSE_FS_INET 1
35695 _ACEOF
35696
35697 fi
35698
35699
35700 if test "$wxUSE_GUI" = "yes"; then
35701
35702 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
35703 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
35704 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
35705 wxUSE_JOYSTICK=no
35706 fi
35707
35708 if test "$TOOLKIT" != "MSW"; then
35709 if test "$wxUSE_JOYSTICK" = "yes"; then
35710
35711 for ac_header in linux/joystick.h
35712 do
35713 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35714 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35715 echo "$as_me:$LINENO: checking for $ac_header" >&5
35716 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35717 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35718 echo $ECHO_N "(cached) $ECHO_C" >&6
35719 fi
35720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35721 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35722 else
35723 # Is the header compilable?
35724 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35725 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35726 cat >conftest.$ac_ext <<_ACEOF
35727 /* confdefs.h. */
35728 _ACEOF
35729 cat confdefs.h >>conftest.$ac_ext
35730 cat >>conftest.$ac_ext <<_ACEOF
35731 /* end confdefs.h. */
35732 $ac_includes_default
35733 #include <$ac_header>
35734 _ACEOF
35735 rm -f conftest.$ac_objext
35736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35737 (eval $ac_compile) 2>conftest.er1
35738 ac_status=$?
35739 grep -v '^ *+' conftest.er1 >conftest.err
35740 rm -f conftest.er1
35741 cat conftest.err >&5
35742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35743 (exit $ac_status); } &&
35744 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35746 (eval $ac_try) 2>&5
35747 ac_status=$?
35748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35749 (exit $ac_status); }; } &&
35750 { ac_try='test -s conftest.$ac_objext'
35751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35752 (eval $ac_try) 2>&5
35753 ac_status=$?
35754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35755 (exit $ac_status); }; }; then
35756 ac_header_compiler=yes
35757 else
35758 echo "$as_me: failed program was:" >&5
35759 sed 's/^/| /' conftest.$ac_ext >&5
35760
35761 ac_header_compiler=no
35762 fi
35763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35764 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35765 echo "${ECHO_T}$ac_header_compiler" >&6
35766
35767 # Is the header present?
35768 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35769 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35770 cat >conftest.$ac_ext <<_ACEOF
35771 /* confdefs.h. */
35772 _ACEOF
35773 cat confdefs.h >>conftest.$ac_ext
35774 cat >>conftest.$ac_ext <<_ACEOF
35775 /* end confdefs.h. */
35776 #include <$ac_header>
35777 _ACEOF
35778 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35779 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35780 ac_status=$?
35781 grep -v '^ *+' conftest.er1 >conftest.err
35782 rm -f conftest.er1
35783 cat conftest.err >&5
35784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35785 (exit $ac_status); } >/dev/null; then
35786 if test -s conftest.err; then
35787 ac_cpp_err=$ac_c_preproc_warn_flag
35788 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35789 else
35790 ac_cpp_err=
35791 fi
35792 else
35793 ac_cpp_err=yes
35794 fi
35795 if test -z "$ac_cpp_err"; then
35796 ac_header_preproc=yes
35797 else
35798 echo "$as_me: failed program was:" >&5
35799 sed 's/^/| /' conftest.$ac_ext >&5
35800
35801 ac_header_preproc=no
35802 fi
35803 rm -f conftest.err conftest.$ac_ext
35804 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35805 echo "${ECHO_T}$ac_header_preproc" >&6
35806
35807 # So? What about this header?
35808 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35809 yes:no: )
35810 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35811 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35812 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35813 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35814 ac_header_preproc=yes
35815 ;;
35816 no:yes:* )
35817 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35818 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35819 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35820 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35821 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35822 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35823 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35824 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35825 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35826 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35827 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35828 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35829 (
35830 cat <<\_ASBOX
35831 ## ----------------------------------------- ##
35832 ## Report this to wx-dev@lists.wxwindows.org ##
35833 ## ----------------------------------------- ##
35834 _ASBOX
35835 ) |
35836 sed "s/^/$as_me: WARNING: /" >&2
35837 ;;
35838 esac
35839 echo "$as_me:$LINENO: checking for $ac_header" >&5
35840 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35841 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35842 echo $ECHO_N "(cached) $ECHO_C" >&6
35843 else
35844 eval "$as_ac_Header=\$ac_header_preproc"
35845 fi
35846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35847 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35848
35849 fi
35850 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35851 cat >>confdefs.h <<_ACEOF
35852 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35853 _ACEOF
35854
35855 fi
35856
35857 done
35858
35859 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
35860 wxUSE_JOYSTICK=no
35861 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
35862 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35863 fi
35864 fi
35865 fi
35866
35867 if test "$wxUSE_JOYSTICK" = "yes"; then
35868 cat >>confdefs.h <<\_ACEOF
35869 #define wxUSE_JOYSTICK 1
35870 _ACEOF
35871
35872 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
35873 fi
35874 fi
35875
35876
35877
35878 if test "$wxUSE_FONTMAP" = "yes" ; then
35879 cat >>confdefs.h <<\_ACEOF
35880 #define wxUSE_FONTMAP 1
35881 _ACEOF
35882
35883 fi
35884
35885 if test "$wxUSE_UNICODE" = "yes" ; then
35886 cat >>confdefs.h <<\_ACEOF
35887 #define wxUSE_UNICODE 1
35888 _ACEOF
35889
35890
35891 if test "$USE_WIN32" != 1; then
35892 wxUSE_UNICODE_MSLU=no
35893 fi
35894
35895 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35896 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
35897 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
35898 if test "${ac_cv_lib_unicows_main+set}" = set; then
35899 echo $ECHO_N "(cached) $ECHO_C" >&6
35900 else
35901 ac_check_lib_save_LIBS=$LIBS
35902 LIBS="-lunicows $LIBS"
35903 cat >conftest.$ac_ext <<_ACEOF
35904 /* confdefs.h. */
35905 _ACEOF
35906 cat confdefs.h >>conftest.$ac_ext
35907 cat >>conftest.$ac_ext <<_ACEOF
35908 /* end confdefs.h. */
35909
35910
35911 int
35912 main ()
35913 {
35914 main ();
35915 ;
35916 return 0;
35917 }
35918 _ACEOF
35919 rm -f conftest.$ac_objext conftest$ac_exeext
35920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35921 (eval $ac_link) 2>conftest.er1
35922 ac_status=$?
35923 grep -v '^ *+' conftest.er1 >conftest.err
35924 rm -f conftest.er1
35925 cat conftest.err >&5
35926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35927 (exit $ac_status); } &&
35928 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35930 (eval $ac_try) 2>&5
35931 ac_status=$?
35932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35933 (exit $ac_status); }; } &&
35934 { ac_try='test -s conftest$ac_exeext'
35935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35936 (eval $ac_try) 2>&5
35937 ac_status=$?
35938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35939 (exit $ac_status); }; }; then
35940 ac_cv_lib_unicows_main=yes
35941 else
35942 echo "$as_me: failed program was:" >&5
35943 sed 's/^/| /' conftest.$ac_ext >&5
35944
35945 ac_cv_lib_unicows_main=no
35946 fi
35947 rm -f conftest.err conftest.$ac_objext \
35948 conftest$ac_exeext conftest.$ac_ext
35949 LIBS=$ac_check_lib_save_LIBS
35950 fi
35951 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
35952 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
35953 if test $ac_cv_lib_unicows_main = yes; then
35954
35955 cat >>confdefs.h <<\_ACEOF
35956 #define wxUSE_UNICODE_MSLU 1
35957 _ACEOF
35958
35959
35960 else
35961
35962 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35963 Applications will only run on Windows NT/2000/XP!" >&5
35964 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35965 Applications will only run on Windows NT/2000/XP!" >&2;}
35966 wxUSE_UNICODE_MSLU=no
35967
35968 fi
35969
35970 fi
35971 fi
35972
35973 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
35974 cat >>confdefs.h <<\_ACEOF
35975 #define wxUSE_EXPERIMENTAL_PRINTF 1
35976 _ACEOF
35977
35978 fi
35979
35980
35981 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35982 cat >>confdefs.h <<\_ACEOF
35983 #define wxUSE_POSTSCRIPT 1
35984 _ACEOF
35985
35986 fi
35987
35988 cat >>confdefs.h <<\_ACEOF
35989 #define wxUSE_AFM_FOR_POSTSCRIPT 1
35990 _ACEOF
35991
35992
35993 cat >>confdefs.h <<\_ACEOF
35994 #define wxUSE_NORMALIZED_PS_FONTS 1
35995 _ACEOF
35996
35997
35998
35999 if test "$wxUSE_CONSTRAINTS" = "yes"; then
36000 cat >>confdefs.h <<\_ACEOF
36001 #define wxUSE_CONSTRAINTS 1
36002 _ACEOF
36003
36004 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
36005 fi
36006
36007 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36008 cat >>confdefs.h <<\_ACEOF
36009 #define wxUSE_MDI_ARCHITECTURE 1
36010 _ACEOF
36011
36012 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
36013 fi
36014
36015 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36016 cat >>confdefs.h <<\_ACEOF
36017 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
36018 _ACEOF
36019
36020 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
36021 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36022 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
36023 fi
36024 fi
36025
36026 if test "$wxUSE_HELP" = "yes"; then
36027 cat >>confdefs.h <<\_ACEOF
36028 #define wxUSE_HELP 1
36029 _ACEOF
36030
36031 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
36032
36033 if test "$wxUSE_MSW" = 1; then
36034 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36035 cat >>confdefs.h <<\_ACEOF
36036 #define wxUSE_MS_HTML_HELP 1
36037 _ACEOF
36038
36039 fi
36040 fi
36041
36042 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36043 if test "$wxUSE_HTML" = "yes"; then
36044 cat >>confdefs.h <<\_ACEOF
36045 #define wxUSE_WXHTML_HELP 1
36046 _ACEOF
36047
36048 else
36049 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36050 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36051 wxUSE_WXHTML_HELP=no
36052 fi
36053 fi
36054 fi
36055
36056 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36057 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36058 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36059 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36060 else
36061 cat >>confdefs.h <<\_ACEOF
36062 #define wxUSE_PRINTING_ARCHITECTURE 1
36063 _ACEOF
36064
36065 fi
36066 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
36067 fi
36068
36069 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36070 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36071 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36072 { (exit 1); exit 1; }; }
36073 fi
36074
36075
36076 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
36077 -o "$wxUSE_CLIPBOARD" = "yes" \
36078 -o "$wxUSE_OLE" = "yes" \
36079 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
36080
36081 for ac_header in ole2.h
36082 do
36083 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36085 echo "$as_me:$LINENO: checking for $ac_header" >&5
36086 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36087 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36088 echo $ECHO_N "(cached) $ECHO_C" >&6
36089 fi
36090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36091 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36092 else
36093 # Is the header compilable?
36094 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36095 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36096 cat >conftest.$ac_ext <<_ACEOF
36097 /* confdefs.h. */
36098 _ACEOF
36099 cat confdefs.h >>conftest.$ac_ext
36100 cat >>conftest.$ac_ext <<_ACEOF
36101 /* end confdefs.h. */
36102 $ac_includes_default
36103 #include <$ac_header>
36104 _ACEOF
36105 rm -f conftest.$ac_objext
36106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36107 (eval $ac_compile) 2>conftest.er1
36108 ac_status=$?
36109 grep -v '^ *+' conftest.er1 >conftest.err
36110 rm -f conftest.er1
36111 cat conftest.err >&5
36112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36113 (exit $ac_status); } &&
36114 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36116 (eval $ac_try) 2>&5
36117 ac_status=$?
36118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36119 (exit $ac_status); }; } &&
36120 { ac_try='test -s conftest.$ac_objext'
36121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36122 (eval $ac_try) 2>&5
36123 ac_status=$?
36124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36125 (exit $ac_status); }; }; then
36126 ac_header_compiler=yes
36127 else
36128 echo "$as_me: failed program was:" >&5
36129 sed 's/^/| /' conftest.$ac_ext >&5
36130
36131 ac_header_compiler=no
36132 fi
36133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36134 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36135 echo "${ECHO_T}$ac_header_compiler" >&6
36136
36137 # Is the header present?
36138 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36139 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36140 cat >conftest.$ac_ext <<_ACEOF
36141 /* confdefs.h. */
36142 _ACEOF
36143 cat confdefs.h >>conftest.$ac_ext
36144 cat >>conftest.$ac_ext <<_ACEOF
36145 /* end confdefs.h. */
36146 #include <$ac_header>
36147 _ACEOF
36148 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36149 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36150 ac_status=$?
36151 grep -v '^ *+' conftest.er1 >conftest.err
36152 rm -f conftest.er1
36153 cat conftest.err >&5
36154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36155 (exit $ac_status); } >/dev/null; then
36156 if test -s conftest.err; then
36157 ac_cpp_err=$ac_c_preproc_warn_flag
36158 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36159 else
36160 ac_cpp_err=
36161 fi
36162 else
36163 ac_cpp_err=yes
36164 fi
36165 if test -z "$ac_cpp_err"; then
36166 ac_header_preproc=yes
36167 else
36168 echo "$as_me: failed program was:" >&5
36169 sed 's/^/| /' conftest.$ac_ext >&5
36170
36171 ac_header_preproc=no
36172 fi
36173 rm -f conftest.err conftest.$ac_ext
36174 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36175 echo "${ECHO_T}$ac_header_preproc" >&6
36176
36177 # So? What about this header?
36178 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36179 yes:no: )
36180 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36181 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36182 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36183 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36184 ac_header_preproc=yes
36185 ;;
36186 no:yes:* )
36187 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36188 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36189 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36190 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36191 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36192 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36193 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36194 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36195 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36196 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36197 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36198 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36199 (
36200 cat <<\_ASBOX
36201 ## ----------------------------------------- ##
36202 ## Report this to wx-dev@lists.wxwindows.org ##
36203 ## ----------------------------------------- ##
36204 _ASBOX
36205 ) |
36206 sed "s/^/$as_me: WARNING: /" >&2
36207 ;;
36208 esac
36209 echo "$as_me:$LINENO: checking for $ac_header" >&5
36210 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36211 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36212 echo $ECHO_N "(cached) $ECHO_C" >&6
36213 else
36214 eval "$as_ac_Header=\$ac_header_preproc"
36215 fi
36216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36217 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36218
36219 fi
36220 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36221 cat >>confdefs.h <<_ACEOF
36222 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36223 _ACEOF
36224
36225 fi
36226
36227 done
36228
36229
36230 if test "$ac_cv_header_ole2_h" = "yes" ; then
36231 if test "$GCC" = yes ; then
36232
36233
36234 ac_ext=cc
36235 ac_cpp='$CXXCPP $CPPFLAGS'
36236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36239
36240
36241 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36242 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36243 cat >conftest.$ac_ext <<_ACEOF
36244 /* confdefs.h. */
36245 _ACEOF
36246 cat confdefs.h >>conftest.$ac_ext
36247 cat >>conftest.$ac_ext <<_ACEOF
36248 /* end confdefs.h. */
36249 #include <windows.h>
36250 #include <ole2.h>
36251 int
36252 main ()
36253 {
36254
36255 ;
36256 return 0;
36257 }
36258 _ACEOF
36259 rm -f conftest.$ac_objext
36260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36261 (eval $ac_compile) 2>conftest.er1
36262 ac_status=$?
36263 grep -v '^ *+' conftest.er1 >conftest.err
36264 rm -f conftest.er1
36265 cat conftest.err >&5
36266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36267 (exit $ac_status); } &&
36268 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36270 (eval $ac_try) 2>&5
36271 ac_status=$?
36272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36273 (exit $ac_status); }; } &&
36274 { ac_try='test -s conftest.$ac_objext'
36275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36276 (eval $ac_try) 2>&5
36277 ac_status=$?
36278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36279 (exit $ac_status); }; }; then
36280 echo "$as_me:$LINENO: result: no" >&5
36281 echo "${ECHO_T}no" >&6
36282 else
36283 echo "$as_me: failed program was:" >&5
36284 sed 's/^/| /' conftest.$ac_ext >&5
36285
36286 echo "$as_me:$LINENO: result: yes" >&5
36287 echo "${ECHO_T}yes" >&6
36288 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36289 fi
36290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36291 ac_ext=c
36292 ac_cpp='$CPP $CPPFLAGS'
36293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36296
36297 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
36298 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36299 if test "$wxUSE_OLE" = "yes" ; then
36300 cat >>confdefs.h <<\_ACEOF
36301 #define wxUSE_OLE 1
36302 _ACEOF
36303
36304 fi
36305 fi
36306
36307 if test "$wxUSE_DATAOBJ" = "yes" ; then
36308 cat >>confdefs.h <<\_ACEOF
36309 #define wxUSE_DATAOBJ 1
36310 _ACEOF
36311
36312 fi
36313 else
36314 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36315 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36316
36317 wxUSE_CLIPBOARD=no
36318 wxUSE_DRAG_AND_DROP=no
36319 wxUSE_DATAOBJ=no
36320 wxUSE_OLE=no
36321 fi
36322
36323 if test "$wxUSE_METAFILE" = "yes"; then
36324 cat >>confdefs.h <<\_ACEOF
36325 #define wxUSE_METAFILE 1
36326 _ACEOF
36327
36328
36329 cat >>confdefs.h <<\_ACEOF
36330 #define wxUSE_ENH_METAFILE 1
36331 _ACEOF
36332
36333 fi
36334 fi
36335
36336 if test "$wxUSE_IPC" = "yes"; then
36337 if test "$wxUSE_SOCKETS" != "yes"; then
36338 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
36339 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
36340 fi
36341
36342 cat >>confdefs.h <<\_ACEOF
36343 #define wxUSE_IPC 1
36344 _ACEOF
36345
36346 fi
36347
36348 if test "$wxUSE_CLIPBOARD" = "yes"; then
36349 if test "$wxUSE_MGL" = 1; then
36350 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36351 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36352 wxUSE_CLIPBOARD=no
36353 fi
36354
36355 if test "$wxUSE_CLIPBOARD" = "yes"; then
36356 cat >>confdefs.h <<\_ACEOF
36357 #define wxUSE_CLIPBOARD 1
36358 _ACEOF
36359
36360
36361 cat >>confdefs.h <<\_ACEOF
36362 #define wxUSE_DATAOBJ 1
36363 _ACEOF
36364
36365 fi
36366 fi
36367
36368 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36369 if test "$wxUSE_GTK" = 1; then
36370 if test "$WXGTK12" != 1; then
36371 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36372 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36373 wxUSE_DRAG_AND_DROP=no
36374 fi
36375 fi
36376
36377 if test "$wxUSE_MOTIF" = 1; then
36378 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36379 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36380 wxUSE_DRAG_AND_DROP=no
36381 fi
36382
36383 if test "$wxUSE_X11" = 1; then
36384 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36385 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36386 wxUSE_DRAG_AND_DROP=no
36387 fi
36388
36389 if test "$wxUSE_MGL" = 1; then
36390 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36391 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36392 wxUSE_DRAG_AND_DROP=no
36393 fi
36394
36395 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36396 cat >>confdefs.h <<\_ACEOF
36397 #define wxUSE_DRAG_AND_DROP 1
36398 _ACEOF
36399
36400 fi
36401
36402 fi
36403
36404 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36405 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
36406 fi
36407
36408 if test "$wxUSE_SPLINES" = "yes" ; then
36409 cat >>confdefs.h <<\_ACEOF
36410 #define wxUSE_SPLINES 1
36411 _ACEOF
36412
36413 fi
36414
36415
36416 USES_CONTROLS=0
36417 if test "$wxUSE_CONTROLS" = "yes"; then
36418 USES_CONTROLS=1
36419 fi
36420
36421 if test "$wxUSE_ACCEL" = "yes"; then
36422 cat >>confdefs.h <<\_ACEOF
36423 #define wxUSE_ACCEL 1
36424 _ACEOF
36425
36426 USES_CONTROLS=1
36427 fi
36428
36429 if test "$wxUSE_BUTTON" = "yes"; then
36430 cat >>confdefs.h <<\_ACEOF
36431 #define wxUSE_BUTTON 1
36432 _ACEOF
36433
36434 USES_CONTROLS=1
36435 fi
36436
36437 if test "$wxUSE_BMPBUTTON" = "yes"; then
36438 cat >>confdefs.h <<\_ACEOF
36439 #define wxUSE_BMPBUTTON 1
36440 _ACEOF
36441
36442 USES_CONTROLS=1
36443 fi
36444
36445 if test "$wxUSE_CALCTRL" = "yes"; then
36446 cat >>confdefs.h <<\_ACEOF
36447 #define wxUSE_CALENDARCTRL 1
36448 _ACEOF
36449
36450 USES_CONTROLS=1
36451 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
36452 fi
36453
36454 if test "$wxUSE_CARET" = "yes"; then
36455 cat >>confdefs.h <<\_ACEOF
36456 #define wxUSE_CARET 1
36457 _ACEOF
36458
36459 USES_CONTROLS=1
36460 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
36461 fi
36462
36463 if test "$wxUSE_COMBOBOX" = "yes"; then
36464 cat >>confdefs.h <<\_ACEOF
36465 #define wxUSE_COMBOBOX 1
36466 _ACEOF
36467
36468 USES_CONTROLS=1
36469 fi
36470
36471 if test "$wxUSE_CHOICE" = "yes"; then
36472 cat >>confdefs.h <<\_ACEOF
36473 #define wxUSE_CHOICE 1
36474 _ACEOF
36475
36476 USES_CONTROLS=1
36477 fi
36478
36479 if test "$wxUSE_CHECKBOX" = "yes"; then
36480 cat >>confdefs.h <<\_ACEOF
36481 #define wxUSE_CHECKBOX 1
36482 _ACEOF
36483
36484 USES_CONTROLS=1
36485 fi
36486
36487 if test "$wxUSE_CHECKLST" = "yes"; then
36488 cat >>confdefs.h <<\_ACEOF
36489 #define wxUSE_CHECKLISTBOX 1
36490 _ACEOF
36491
36492 USES_CONTROLS=1
36493 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
36494 fi
36495
36496 if test "$wxUSE_DISPLAY" = "yes"; then
36497 cat >>confdefs.h <<\_ACEOF
36498 #define wxUSE_DISPLAY 1
36499 _ACEOF
36500
36501 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
36502 fi
36503
36504 if test "$wxUSE_GAUGE" = "yes"; then
36505 cat >>confdefs.h <<\_ACEOF
36506 #define wxUSE_GAUGE 1
36507 _ACEOF
36508
36509 USES_CONTROLS=1
36510 fi
36511
36512 if test "$wxUSE_GRID" = "yes"; then
36513 cat >>confdefs.h <<\_ACEOF
36514 #define wxUSE_GRID 1
36515 _ACEOF
36516
36517 USES_CONTROLS=1
36518 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
36519 fi
36520
36521 if test "$wxUSE_IMAGLIST" = "yes"; then
36522 cat >>confdefs.h <<\_ACEOF
36523 #define wxUSE_IMAGLIST 1
36524 _ACEOF
36525
36526 fi
36527
36528 if test "$wxUSE_LISTBOOK" = "yes"; then
36529 cat >>confdefs.h <<\_ACEOF
36530 #define wxUSE_LISTBOOK 1
36531 _ACEOF
36532
36533 USES_CONTROLS=1
36534 fi
36535
36536 if test "$wxUSE_LISTBOX" = "yes"; then
36537 cat >>confdefs.h <<\_ACEOF
36538 #define wxUSE_LISTBOX 1
36539 _ACEOF
36540
36541 USES_CONTROLS=1
36542 fi
36543
36544 if test "$wxUSE_LISTCTRL" = "yes"; then
36545 if test "$wxUSE_IMAGLIST" = "yes"; then
36546 cat >>confdefs.h <<\_ACEOF
36547 #define wxUSE_LISTCTRL 1
36548 _ACEOF
36549
36550 USES_CONTROLS=1
36551 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
36552 else
36553 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36554 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36555 fi
36556 fi
36557
36558 if test "$wxUSE_NOTEBOOK" = "yes"; then
36559 cat >>confdefs.h <<\_ACEOF
36560 #define wxUSE_NOTEBOOK 1
36561 _ACEOF
36562
36563 USES_CONTROLS=1
36564 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
36565 fi
36566
36567
36568 if test "$wxUSE_RADIOBOX" = "yes"; then
36569 cat >>confdefs.h <<\_ACEOF
36570 #define wxUSE_RADIOBOX 1
36571 _ACEOF
36572
36573 USES_CONTROLS=1
36574 fi
36575
36576 if test "$wxUSE_RADIOBTN" = "yes"; then
36577 cat >>confdefs.h <<\_ACEOF
36578 #define wxUSE_RADIOBTN 1
36579 _ACEOF
36580
36581 USES_CONTROLS=1
36582 fi
36583
36584 if test "$wxUSE_SASH" = "yes"; then
36585 cat >>confdefs.h <<\_ACEOF
36586 #define wxUSE_SASH 1
36587 _ACEOF
36588
36589 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
36590 fi
36591
36592 if test "$wxUSE_SCROLLBAR" = "yes"; then
36593 cat >>confdefs.h <<\_ACEOF
36594 #define wxUSE_SCROLLBAR 1
36595 _ACEOF
36596
36597 USES_CONTROLS=1
36598 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
36599 fi
36600
36601 if test "$wxUSE_SLIDER" = "yes"; then
36602 cat >>confdefs.h <<\_ACEOF
36603 #define wxUSE_SLIDER 1
36604 _ACEOF
36605
36606 USES_CONTROLS=1
36607 fi
36608
36609 if test "$wxUSE_SPINBTN" = "yes"; then
36610 cat >>confdefs.h <<\_ACEOF
36611 #define wxUSE_SPINBTN 1
36612 _ACEOF
36613
36614 USES_CONTROLS=1
36615 fi
36616
36617 if test "$wxUSE_SPINCTRL" = "yes"; then
36618 cat >>confdefs.h <<\_ACEOF
36619 #define wxUSE_SPINCTRL 1
36620 _ACEOF
36621
36622 USES_CONTROLS=1
36623 fi
36624
36625 if test "$wxUSE_SPLITTER" = "yes"; then
36626 cat >>confdefs.h <<\_ACEOF
36627 #define wxUSE_SPLITTER 1
36628 _ACEOF
36629
36630 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
36631 fi
36632
36633 if test "$wxUSE_STATBMP" = "yes"; then
36634 cat >>confdefs.h <<\_ACEOF
36635 #define wxUSE_STATBMP 1
36636 _ACEOF
36637
36638 USES_CONTROLS=1
36639 fi
36640
36641 if test "$wxUSE_STATBOX" = "yes"; then
36642 cat >>confdefs.h <<\_ACEOF
36643 #define wxUSE_STATBOX 1
36644 _ACEOF
36645
36646 USES_CONTROLS=1
36647 fi
36648
36649 if test "$wxUSE_STATTEXT" = "yes"; then
36650 cat >>confdefs.h <<\_ACEOF
36651 #define wxUSE_STATTEXT 1
36652 _ACEOF
36653
36654 USES_CONTROLS=1
36655 fi
36656
36657 if test "$wxUSE_STATLINE" = "yes"; then
36658 cat >>confdefs.h <<\_ACEOF
36659 #define wxUSE_STATLINE 1
36660 _ACEOF
36661
36662 USES_CONTROLS=1
36663 fi
36664
36665 if test "$wxUSE_STATUSBAR" = "yes"; then
36666 cat >>confdefs.h <<\_ACEOF
36667 #define wxUSE_STATUSBAR 1
36668 _ACEOF
36669
36670 USES_CONTROLS=1
36671
36672 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
36673 fi
36674
36675 if test "$wxUSE_TABDIALOG" = "yes"; then
36676 cat >>confdefs.h <<\_ACEOF
36677 #define wxUSE_TAB_DIALOG 1
36678 _ACEOF
36679
36680 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
36681 fi
36682
36683 if test "$wxUSE_TEXTCTRL" = "yes"; then
36684 cat >>confdefs.h <<\_ACEOF
36685 #define wxUSE_TEXTCTRL 1
36686 _ACEOF
36687
36688 USES_CONTROLS=1
36689 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
36690 fi
36691
36692 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36693 if test "$wxUSE_COCOA" = 1 ; then
36694 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36695 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36696 wxUSE_TOGGLEBTN=no
36697 fi
36698 if test "$wxUSE_UNIVERSAL" = "yes"; then
36699 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
36700 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
36701 wxUSE_TOGGLEBTN=no
36702 fi
36703
36704 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36705 cat >>confdefs.h <<\_ACEOF
36706 #define wxUSE_TOGGLEBTN 1
36707 _ACEOF
36708
36709 USES_CONTROLS=1
36710 fi
36711 fi
36712
36713 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
36714 cat >>confdefs.h <<\_ACEOF
36715 #define wxUSE_TOOLBAR_SIMPLE 1
36716 _ACEOF
36717
36718 wxUSE_TOOLBAR="yes"
36719 USES_CONTROLS=1
36720 fi
36721
36722 if test "$wxUSE_TOOLBAR" = "yes"; then
36723 cat >>confdefs.h <<\_ACEOF
36724 #define wxUSE_TOOLBAR 1
36725 _ACEOF
36726
36727 USES_CONTROLS=1
36728
36729 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
36730 wxUSE_TOOLBAR_NATIVE="yes"
36731 fi
36732
36733 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
36734 cat >>confdefs.h <<\_ACEOF
36735 #define wxUSE_TOOLBAR_NATIVE 1
36736 _ACEOF
36737
36738 USES_CONTROLS=1
36739 fi
36740
36741 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
36742 fi
36743
36744 if test "$wxUSE_TOOLTIPS" = "yes"; then
36745 if test "$wxUSE_MOTIF" = 1; then
36746 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36747 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36748 else
36749 if test "$wxUSE_UNIVERSAL" = "yes"; then
36750 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36751 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36752 else
36753 cat >>confdefs.h <<\_ACEOF
36754 #define wxUSE_TOOLTIPS 1
36755 _ACEOF
36756
36757 fi
36758 fi
36759 fi
36760
36761 if test "$wxUSE_TREECTRL" = "yes"; then
36762 if test "$wxUSE_IMAGLIST" = "yes"; then
36763 cat >>confdefs.h <<\_ACEOF
36764 #define wxUSE_TREECTRL 1
36765 _ACEOF
36766
36767 USES_CONTROLS=1
36768 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
36769 else
36770 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36771 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36772 fi
36773 fi
36774
36775 if test "$wxUSE_POPUPWIN" = "yes"; then
36776 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
36777 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36778 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36779 else
36780 if test "$wxUSE_PM" = 1; then
36781 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36782 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36783 else
36784 cat >>confdefs.h <<\_ACEOF
36785 #define wxUSE_POPUPWIN 1
36786 _ACEOF
36787
36788
36789 USES_CONTROLS=1
36790 fi
36791 fi
36792 fi
36793
36794 if test "$wxUSE_TIPWINDOW" = "yes"; then
36795 if test "$wxUSE_PM" = 1; then
36796 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36797 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36798 else
36799 cat >>confdefs.h <<\_ACEOF
36800 #define wxUSE_TIPWINDOW 1
36801 _ACEOF
36802
36803 fi
36804 fi
36805
36806 if test "$USES_CONTROLS" = 1; then
36807 cat >>confdefs.h <<\_ACEOF
36808 #define wxUSE_CONTROLS 1
36809 _ACEOF
36810
36811 fi
36812
36813
36814 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36815 cat >>confdefs.h <<\_ACEOF
36816 #define wxUSE_ACCESSIBILITY 1
36817 _ACEOF
36818
36819 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
36820 fi
36821
36822 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36823 cat >>confdefs.h <<\_ACEOF
36824 #define wxUSE_DRAGIMAGE 1
36825 _ACEOF
36826
36827 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
36828 fi
36829
36830 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36831 cat >>confdefs.h <<\_ACEOF
36832 #define wxUSE_EXCEPTIONS 1
36833 _ACEOF
36834
36835 fi
36836
36837 USE_HTML=0
36838 if test "$wxUSE_HTML" = "yes"; then
36839 cat >>confdefs.h <<\_ACEOF
36840 #define wxUSE_HTML 1
36841 _ACEOF
36842
36843 USE_HTML=1
36844 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36845 fi
36846
36847 if test "$wxUSE_MENUS" = "yes"; then
36848 cat >>confdefs.h <<\_ACEOF
36849 #define wxUSE_MENUS 1
36850 _ACEOF
36851
36852 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
36853 fi
36854
36855 if test "$wxUSE_METAFILE" = "yes"; then
36856 cat >>confdefs.h <<\_ACEOF
36857 #define wxUSE_METAFILE 1
36858 _ACEOF
36859
36860 fi
36861
36862 if test "$wxUSE_MIMETYPE" = "yes"; then
36863 cat >>confdefs.h <<\_ACEOF
36864 #define wxUSE_MIMETYPE 1
36865 _ACEOF
36866
36867 fi
36868
36869 if test "$wxUSE_MINIFRAME" = "yes"; then
36870 cat >>confdefs.h <<\_ACEOF
36871 #define wxUSE_MINIFRAME 1
36872 _ACEOF
36873
36874 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
36875 fi
36876
36877 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36878 cat >>confdefs.h <<\_ACEOF
36879 #define wxUSE_SYSTEM_OPTIONS 1
36880 _ACEOF
36881
36882 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
36883 "$TOOLKIT" = "MOTIF"; then
36884 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
36885 fi
36886 fi
36887
36888
36889 if test "$wxUSE_VALIDATORS" = "yes"; then
36890 cat >>confdefs.h <<\_ACEOF
36891 #define wxUSE_VALIDATORS 1
36892 _ACEOF
36893
36894 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
36895 fi
36896
36897 if test "$wxUSE_PALETTE" = "yes" ; then
36898 cat >>confdefs.h <<\_ACEOF
36899 #define wxUSE_PALETTE 1
36900 _ACEOF
36901
36902 fi
36903
36904 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36905 LIBS=" -lunicows $LIBS"
36906 fi
36907
36908
36909 if test "$wxUSE_IMAGE" = "yes" ; then
36910 cat >>confdefs.h <<\_ACEOF
36911 #define wxUSE_IMAGE 1
36912 _ACEOF
36913
36914
36915 if test "$wxUSE_GIF" = "yes" ; then
36916 cat >>confdefs.h <<\_ACEOF
36917 #define wxUSE_GIF 1
36918 _ACEOF
36919
36920 fi
36921
36922 if test "$wxUSE_PCX" = "yes" ; then
36923 cat >>confdefs.h <<\_ACEOF
36924 #define wxUSE_PCX 1
36925 _ACEOF
36926
36927 fi
36928
36929 if test "$wxUSE_IFF" = "yes" ; then
36930 cat >>confdefs.h <<\_ACEOF
36931 #define wxUSE_IFF 1
36932 _ACEOF
36933
36934 fi
36935
36936 if test "$wxUSE_PNM" = "yes" ; then
36937 cat >>confdefs.h <<\_ACEOF
36938 #define wxUSE_PNM 1
36939 _ACEOF
36940
36941 fi
36942
36943 if test "$wxUSE_XPM" = "yes" ; then
36944 cat >>confdefs.h <<\_ACEOF
36945 #define wxUSE_XPM 1
36946 _ACEOF
36947
36948 fi
36949
36950 if test "$wxUSE_ICO_CUR" = "yes" ; then
36951 cat >>confdefs.h <<\_ACEOF
36952 #define wxUSE_ICO_CUR 1
36953 _ACEOF
36954
36955 fi
36956 fi
36957
36958
36959 if test "$wxUSE_CHOICEDLG" = "yes"; then
36960 cat >>confdefs.h <<\_ACEOF
36961 #define wxUSE_CHOICEDLG 1
36962 _ACEOF
36963
36964 fi
36965
36966 if test "$wxUSE_COLOURDLG" = "yes"; then
36967 cat >>confdefs.h <<\_ACEOF
36968 #define wxUSE_COLOURDLG 1
36969 _ACEOF
36970
36971 fi
36972
36973 if test "$wxUSE_FILEDLG" = "yes"; then
36974 cat >>confdefs.h <<\_ACEOF
36975 #define wxUSE_FILEDLG 1
36976 _ACEOF
36977
36978 fi
36979
36980 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36981 cat >>confdefs.h <<\_ACEOF
36982 #define wxUSE_FINDREPLDLG 1
36983 _ACEOF
36984
36985 fi
36986
36987 if test "$wxUSE_FONTDLG" = "yes"; then
36988 cat >>confdefs.h <<\_ACEOF
36989 #define wxUSE_FONTDLG 1
36990 _ACEOF
36991
36992 fi
36993
36994 if test "$wxUSE_DIRDLG" = "yes"; then
36995 if test "$wxUSE_TREECTRL" != "yes"; then
36996 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36997 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36998 else
36999 cat >>confdefs.h <<\_ACEOF
37000 #define wxUSE_DIRDLG 1
37001 _ACEOF
37002
37003 fi
37004 fi
37005
37006 if test "$wxUSE_MSGDLG" = "yes"; then
37007 cat >>confdefs.h <<\_ACEOF
37008 #define wxUSE_MSGDLG 1
37009 _ACEOF
37010
37011 fi
37012
37013 if test "$wxUSE_NUMBERDLG" = "yes"; then
37014 cat >>confdefs.h <<\_ACEOF
37015 #define wxUSE_NUMBERDLG 1
37016 _ACEOF
37017
37018 fi
37019
37020 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37021 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37022 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37023 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37024 else
37025 cat >>confdefs.h <<\_ACEOF
37026 #define wxUSE_PROGRESSDLG 1
37027 _ACEOF
37028
37029 fi
37030 fi
37031
37032 if test "$wxUSE_SPLASH" = "yes"; then
37033 cat >>confdefs.h <<\_ACEOF
37034 #define wxUSE_SPLASH 1
37035 _ACEOF
37036
37037 fi
37038
37039 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37040 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37041 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37042 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37043 else
37044 cat >>confdefs.h <<\_ACEOF
37045 #define wxUSE_STARTUP_TIPS 1
37046 _ACEOF
37047
37048 fi
37049 fi
37050
37051 if test "$wxUSE_TEXTDLG" = "yes"; then
37052 cat >>confdefs.h <<\_ACEOF
37053 #define wxUSE_TEXTDLG 1
37054 _ACEOF
37055
37056 fi
37057
37058 if test "$wxUSE_WIZARDDLG" = "yes"; then
37059 cat >>confdefs.h <<\_ACEOF
37060 #define wxUSE_WIZARDDLG 1
37061 _ACEOF
37062
37063 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
37064 fi
37065
37066
37067 if test "$cross_compiling" = "yes"; then
37068 OSINFO="\"$host\""
37069 else
37070 OSINFO=`uname -s -r -m`
37071 OSINFO="\"$OSINFO\""
37072 fi
37073
37074 cat >>confdefs.h <<_ACEOF
37075 #define WXWIN_OS_DESCRIPTION $OSINFO
37076 _ACEOF
37077
37078
37079
37080 if test "x$prefix" != "xNONE"; then
37081 wxPREFIX=$prefix
37082 else
37083 wxPREFIX=$ac_default_prefix
37084 fi
37085
37086 cat >>confdefs.h <<_ACEOF
37087 #define wxINSTALL_PREFIX "$wxPREFIX"
37088 _ACEOF
37089
37090
37091 top_builddir_wxconfig=`pwd`
37092
37093
37094
37095 CORE_BASE_LIBS="net base"
37096 CORE_GUI_LIBS="adv core"
37097
37098 if test "$wxUSE_XML" = "yes" ; then
37099 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
37100 fi
37101 if test "$wxUSE_ODBC" != "no" ; then
37102 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
37103 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
37104 fi
37105 if test "$wxUSE_HTML" = "yes" ; then
37106 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
37107 fi
37108
37109 if test "$wxUSE_GUI" != "yes"; then
37110 CORE_GUI_LIBS=""
37111 fi
37112
37113
37114
37115
37116
37117
37118
37119
37120 if test "$wxUSE_MAC" = 1 ; then
37121 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
37122 fi
37123 if test "$wxUSE_COCOA" = 1 ; then
37124 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
37125 fi
37126
37127
37128 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37129
37130 have_cos=0
37131 have_floor=0
37132
37133 for ac_func in cos
37134 do
37135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37136 echo "$as_me:$LINENO: checking for $ac_func" >&5
37137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37138 if eval "test \"\${$as_ac_var+set}\" = set"; then
37139 echo $ECHO_N "(cached) $ECHO_C" >&6
37140 else
37141 cat >conftest.$ac_ext <<_ACEOF
37142 /* confdefs.h. */
37143 _ACEOF
37144 cat confdefs.h >>conftest.$ac_ext
37145 cat >>conftest.$ac_ext <<_ACEOF
37146 /* end confdefs.h. */
37147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37149 #define $ac_func innocuous_$ac_func
37150
37151 /* System header to define __stub macros and hopefully few prototypes,
37152 which can conflict with char $ac_func (); below.
37153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37154 <limits.h> exists even on freestanding compilers. */
37155
37156 #ifdef __STDC__
37157 # include <limits.h>
37158 #else
37159 # include <assert.h>
37160 #endif
37161
37162 #undef $ac_func
37163
37164 /* Override any gcc2 internal prototype to avoid an error. */
37165 #ifdef __cplusplus
37166 extern "C"
37167 {
37168 #endif
37169 /* We use char because int might match the return type of a gcc2
37170 builtin and then its argument prototype would still apply. */
37171 char $ac_func ();
37172 /* The GNU C library defines this for functions which it implements
37173 to always fail with ENOSYS. Some functions are actually named
37174 something starting with __ and the normal name is an alias. */
37175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37176 choke me
37177 #else
37178 char (*f) () = $ac_func;
37179 #endif
37180 #ifdef __cplusplus
37181 }
37182 #endif
37183
37184 int
37185 main ()
37186 {
37187 return f != $ac_func;
37188 ;
37189 return 0;
37190 }
37191 _ACEOF
37192 rm -f conftest.$ac_objext conftest$ac_exeext
37193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37194 (eval $ac_link) 2>conftest.er1
37195 ac_status=$?
37196 grep -v '^ *+' conftest.er1 >conftest.err
37197 rm -f conftest.er1
37198 cat conftest.err >&5
37199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37200 (exit $ac_status); } &&
37201 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37203 (eval $ac_try) 2>&5
37204 ac_status=$?
37205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37206 (exit $ac_status); }; } &&
37207 { ac_try='test -s conftest$ac_exeext'
37208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37209 (eval $ac_try) 2>&5
37210 ac_status=$?
37211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37212 (exit $ac_status); }; }; then
37213 eval "$as_ac_var=yes"
37214 else
37215 echo "$as_me: failed program was:" >&5
37216 sed 's/^/| /' conftest.$ac_ext >&5
37217
37218 eval "$as_ac_var=no"
37219 fi
37220 rm -f conftest.err conftest.$ac_objext \
37221 conftest$ac_exeext conftest.$ac_ext
37222 fi
37223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37225 if test `eval echo '${'$as_ac_var'}'` = yes; then
37226 cat >>confdefs.h <<_ACEOF
37227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37228 _ACEOF
37229 have_cos=1
37230 fi
37231 done
37232
37233
37234 for ac_func in floor
37235 do
37236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37237 echo "$as_me:$LINENO: checking for $ac_func" >&5
37238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37239 if eval "test \"\${$as_ac_var+set}\" = set"; then
37240 echo $ECHO_N "(cached) $ECHO_C" >&6
37241 else
37242 cat >conftest.$ac_ext <<_ACEOF
37243 /* confdefs.h. */
37244 _ACEOF
37245 cat confdefs.h >>conftest.$ac_ext
37246 cat >>conftest.$ac_ext <<_ACEOF
37247 /* end confdefs.h. */
37248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37250 #define $ac_func innocuous_$ac_func
37251
37252 /* System header to define __stub macros and hopefully few prototypes,
37253 which can conflict with char $ac_func (); below.
37254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37255 <limits.h> exists even on freestanding compilers. */
37256
37257 #ifdef __STDC__
37258 # include <limits.h>
37259 #else
37260 # include <assert.h>
37261 #endif
37262
37263 #undef $ac_func
37264
37265 /* Override any gcc2 internal prototype to avoid an error. */
37266 #ifdef __cplusplus
37267 extern "C"
37268 {
37269 #endif
37270 /* We use char because int might match the return type of a gcc2
37271 builtin and then its argument prototype would still apply. */
37272 char $ac_func ();
37273 /* The GNU C library defines this for functions which it implements
37274 to always fail with ENOSYS. Some functions are actually named
37275 something starting with __ and the normal name is an alias. */
37276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37277 choke me
37278 #else
37279 char (*f) () = $ac_func;
37280 #endif
37281 #ifdef __cplusplus
37282 }
37283 #endif
37284
37285 int
37286 main ()
37287 {
37288 return f != $ac_func;
37289 ;
37290 return 0;
37291 }
37292 _ACEOF
37293 rm -f conftest.$ac_objext conftest$ac_exeext
37294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37295 (eval $ac_link) 2>conftest.er1
37296 ac_status=$?
37297 grep -v '^ *+' conftest.er1 >conftest.err
37298 rm -f conftest.er1
37299 cat conftest.err >&5
37300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37301 (exit $ac_status); } &&
37302 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37304 (eval $ac_try) 2>&5
37305 ac_status=$?
37306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37307 (exit $ac_status); }; } &&
37308 { ac_try='test -s conftest$ac_exeext'
37309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37310 (eval $ac_try) 2>&5
37311 ac_status=$?
37312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37313 (exit $ac_status); }; }; then
37314 eval "$as_ac_var=yes"
37315 else
37316 echo "$as_me: failed program was:" >&5
37317 sed 's/^/| /' conftest.$ac_ext >&5
37318
37319 eval "$as_ac_var=no"
37320 fi
37321 rm -f conftest.err conftest.$ac_objext \
37322 conftest$ac_exeext conftest.$ac_ext
37323 fi
37324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37326 if test `eval echo '${'$as_ac_var'}'` = yes; then
37327 cat >>confdefs.h <<_ACEOF
37328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37329 _ACEOF
37330 have_floor=1
37331 fi
37332 done
37333
37334 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37335 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37336 if test "$have_cos" = 1 -a "$have_floor" = 1; then
37337 echo "$as_me:$LINENO: result: yes" >&5
37338 echo "${ECHO_T}yes" >&6
37339 else
37340 echo "$as_me:$LINENO: result: no" >&5
37341 echo "${ECHO_T}no" >&6
37342 LIBS="$LIBS -lm"
37343 # use different functions to avoid configure caching
37344 have_sin=0
37345 have_ceil=0
37346
37347 for ac_func in sin
37348 do
37349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37350 echo "$as_me:$LINENO: checking for $ac_func" >&5
37351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37352 if eval "test \"\${$as_ac_var+set}\" = set"; then
37353 echo $ECHO_N "(cached) $ECHO_C" >&6
37354 else
37355 cat >conftest.$ac_ext <<_ACEOF
37356 /* confdefs.h. */
37357 _ACEOF
37358 cat confdefs.h >>conftest.$ac_ext
37359 cat >>conftest.$ac_ext <<_ACEOF
37360 /* end confdefs.h. */
37361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37363 #define $ac_func innocuous_$ac_func
37364
37365 /* System header to define __stub macros and hopefully few prototypes,
37366 which can conflict with char $ac_func (); below.
37367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37368 <limits.h> exists even on freestanding compilers. */
37369
37370 #ifdef __STDC__
37371 # include <limits.h>
37372 #else
37373 # include <assert.h>
37374 #endif
37375
37376 #undef $ac_func
37377
37378 /* Override any gcc2 internal prototype to avoid an error. */
37379 #ifdef __cplusplus
37380 extern "C"
37381 {
37382 #endif
37383 /* We use char because int might match the return type of a gcc2
37384 builtin and then its argument prototype would still apply. */
37385 char $ac_func ();
37386 /* The GNU C library defines this for functions which it implements
37387 to always fail with ENOSYS. Some functions are actually named
37388 something starting with __ and the normal name is an alias. */
37389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37390 choke me
37391 #else
37392 char (*f) () = $ac_func;
37393 #endif
37394 #ifdef __cplusplus
37395 }
37396 #endif
37397
37398 int
37399 main ()
37400 {
37401 return f != $ac_func;
37402 ;
37403 return 0;
37404 }
37405 _ACEOF
37406 rm -f conftest.$ac_objext conftest$ac_exeext
37407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37408 (eval $ac_link) 2>conftest.er1
37409 ac_status=$?
37410 grep -v '^ *+' conftest.er1 >conftest.err
37411 rm -f conftest.er1
37412 cat conftest.err >&5
37413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37414 (exit $ac_status); } &&
37415 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37417 (eval $ac_try) 2>&5
37418 ac_status=$?
37419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37420 (exit $ac_status); }; } &&
37421 { ac_try='test -s conftest$ac_exeext'
37422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37423 (eval $ac_try) 2>&5
37424 ac_status=$?
37425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37426 (exit $ac_status); }; }; then
37427 eval "$as_ac_var=yes"
37428 else
37429 echo "$as_me: failed program was:" >&5
37430 sed 's/^/| /' conftest.$ac_ext >&5
37431
37432 eval "$as_ac_var=no"
37433 fi
37434 rm -f conftest.err conftest.$ac_objext \
37435 conftest$ac_exeext conftest.$ac_ext
37436 fi
37437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37439 if test `eval echo '${'$as_ac_var'}'` = yes; then
37440 cat >>confdefs.h <<_ACEOF
37441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37442 _ACEOF
37443 have_sin=1
37444 fi
37445 done
37446
37447
37448 for ac_func in ceil
37449 do
37450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37451 echo "$as_me:$LINENO: checking for $ac_func" >&5
37452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37453 if eval "test \"\${$as_ac_var+set}\" = set"; then
37454 echo $ECHO_N "(cached) $ECHO_C" >&6
37455 else
37456 cat >conftest.$ac_ext <<_ACEOF
37457 /* confdefs.h. */
37458 _ACEOF
37459 cat confdefs.h >>conftest.$ac_ext
37460 cat >>conftest.$ac_ext <<_ACEOF
37461 /* end confdefs.h. */
37462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37464 #define $ac_func innocuous_$ac_func
37465
37466 /* System header to define __stub macros and hopefully few prototypes,
37467 which can conflict with char $ac_func (); below.
37468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37469 <limits.h> exists even on freestanding compilers. */
37470
37471 #ifdef __STDC__
37472 # include <limits.h>
37473 #else
37474 # include <assert.h>
37475 #endif
37476
37477 #undef $ac_func
37478
37479 /* Override any gcc2 internal prototype to avoid an error. */
37480 #ifdef __cplusplus
37481 extern "C"
37482 {
37483 #endif
37484 /* We use char because int might match the return type of a gcc2
37485 builtin and then its argument prototype would still apply. */
37486 char $ac_func ();
37487 /* The GNU C library defines this for functions which it implements
37488 to always fail with ENOSYS. Some functions are actually named
37489 something starting with __ and the normal name is an alias. */
37490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37491 choke me
37492 #else
37493 char (*f) () = $ac_func;
37494 #endif
37495 #ifdef __cplusplus
37496 }
37497 #endif
37498
37499 int
37500 main ()
37501 {
37502 return f != $ac_func;
37503 ;
37504 return 0;
37505 }
37506 _ACEOF
37507 rm -f conftest.$ac_objext conftest$ac_exeext
37508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37509 (eval $ac_link) 2>conftest.er1
37510 ac_status=$?
37511 grep -v '^ *+' conftest.er1 >conftest.err
37512 rm -f conftest.er1
37513 cat conftest.err >&5
37514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37515 (exit $ac_status); } &&
37516 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37518 (eval $ac_try) 2>&5
37519 ac_status=$?
37520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37521 (exit $ac_status); }; } &&
37522 { ac_try='test -s conftest$ac_exeext'
37523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37524 (eval $ac_try) 2>&5
37525 ac_status=$?
37526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37527 (exit $ac_status); }; }; then
37528 eval "$as_ac_var=yes"
37529 else
37530 echo "$as_me: failed program was:" >&5
37531 sed 's/^/| /' conftest.$ac_ext >&5
37532
37533 eval "$as_ac_var=no"
37534 fi
37535 rm -f conftest.err conftest.$ac_objext \
37536 conftest$ac_exeext conftest.$ac_ext
37537 fi
37538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37540 if test `eval echo '${'$as_ac_var'}'` = yes; then
37541 cat >>confdefs.h <<_ACEOF
37542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37543 _ACEOF
37544 have_ceil=1
37545 fi
37546 done
37547
37548 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37549 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37550 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37551 echo "$as_me:$LINENO: result: yes" >&5
37552 echo "${ECHO_T}yes" >&6
37553 else
37554 echo "$as_me:$LINENO: result: no" >&5
37555 echo "${ECHO_T}no" >&6
37556 # not sure we should warn the user, crash, etc.
37557 fi
37558 fi
37559
37560 if test "$wxUSE_GUI" = "yes"; then
37561
37562
37563 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
37564 drawing dynamic erase event exec font image \
37565 minimal propsize rotate shaped widgets render"
37566
37567 if test "$wxUSE_MONOLITHIC" != "yes"; then
37568 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37569 fi
37570 else
37571 SAMPLES_SUBDIRS="console"
37572 fi
37573
37574
37575 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
37576 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37577
37578 if test "$GXX" = yes ; then
37579 CXXWARNINGS="-Wall"
37580 fi
37581
37582 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37583
37584 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
37585 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
37586 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
37587
37588
37589 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
37590 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37591 EXTRALIBS_XML="$EXPAT_LINK"
37592 EXTRALIBS_HTML="$MSPACK_LINK"
37593 EXTRALIBS_ODBC="$ODBC_LINK"
37594 if test "$wxUSE_GUI" = "yes"; then
37595 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
37596 fi
37597 if test "$wxUSE_OPENGL" = "yes"; then
37598 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
37599 fi
37600
37601 LDFLAGS="$LDFLAGS $PROFILE"
37602
37603 if test "$wxUSE_GTK" = 1; then
37604 WXCONFIG_INCLUDE=
37605 else
37606 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
37607 fi
37608
37609 WXCONFIG_EXTRALIBS="$LIBS"
37610
37611 if test "$wxUSE_REGEX" = "builtin" ; then
37612 wxconfig_3rdparty="$wxconfig_3rdparty regex${lib_unicode_suffix}"
37613 fi
37614 if test "$wxUSE_EXPAT" = "builtin" ; then
37615 wxconfig_3rdparty="$wxconfig_3rdparty expat"
37616 fi
37617 if test "$wxUSE_ODBC" = "builtin" ; then
37618 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
37619 fi
37620 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37621 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
37622 fi
37623 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37624 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
37625 fi
37626 if test "$wxUSE_LIBPNG" = "builtin" ; then
37627 wxconfig_3rdparty="$wxconfig_3rdparty png"
37628 fi
37629 if test "$wxUSE_ZLIB" = "builtin" ; then
37630 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
37631 fi
37632 if test "$wxUSE_ODBC" = "builtin" ; then
37633 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
37634 fi
37635
37636 for i in $wxconfig_3rdparty ; do
37637 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
37638 done
37639
37640
37641 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37642 WXUNIV=1
37643 else
37644 WXUNIV=0
37645 fi
37646
37647
37648
37649
37650
37651
37652
37653
37654
37655 if test $wxUSE_MONOLITHIC = "yes" ; then
37656 MONOLITHIC=1
37657 else
37658 MONOLITHIC=0
37659 fi
37660
37661 if test $wxUSE_PLUGINS = "yes" ; then
37662 USE_PLUGINS=1
37663 else
37664 USE_PLUGINS=0
37665 fi
37666
37667 if test $wxUSE_ODBC != "no" ; then
37668 USE_ODBC=1
37669 else
37670 USE_ODBC=0
37671 fi
37672
37673 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37674 OFFICIAL_BUILD=1
37675 else
37676 OFFICIAL_BUILD=0
37677 fi
37678
37679
37680
37681
37682
37683
37684
37685
37686
37687
37688
37689
37690
37691
37692
37693
37694
37695
37696
37697
37698
37699 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
37700
37701
37702
37703
37704
37705
37706
37707
37708
37709 if test "x$BAKEFILE_HOST" = "x"; then
37710 BAKEFILE_HOST="${host}"
37711 fi
37712
37713 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37714
37715 if test -n "$ac_tool_prefix"; then
37716 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37717 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
37718 echo "$as_me:$LINENO: checking for $ac_word" >&5
37719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37720 if test "${ac_cv_prog_RANLIB+set}" = set; then
37721 echo $ECHO_N "(cached) $ECHO_C" >&6
37722 else
37723 if test -n "$RANLIB"; then
37724 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
37725 else
37726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37727 for as_dir in $PATH
37728 do
37729 IFS=$as_save_IFS
37730 test -z "$as_dir" && as_dir=.
37731 for ac_exec_ext in '' $ac_executable_extensions; do
37732 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37733 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
37734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37735 break 2
37736 fi
37737 done
37738 done
37739
37740 fi
37741 fi
37742 RANLIB=$ac_cv_prog_RANLIB
37743 if test -n "$RANLIB"; then
37744 echo "$as_me:$LINENO: result: $RANLIB" >&5
37745 echo "${ECHO_T}$RANLIB" >&6
37746 else
37747 echo "$as_me:$LINENO: result: no" >&5
37748 echo "${ECHO_T}no" >&6
37749 fi
37750
37751 fi
37752 if test -z "$ac_cv_prog_RANLIB"; then
37753 ac_ct_RANLIB=$RANLIB
37754 # Extract the first word of "ranlib", so it can be a program name with args.
37755 set dummy ranlib; ac_word=$2
37756 echo "$as_me:$LINENO: checking for $ac_word" >&5
37757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37758 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
37759 echo $ECHO_N "(cached) $ECHO_C" >&6
37760 else
37761 if test -n "$ac_ct_RANLIB"; then
37762 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
37763 else
37764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37765 for as_dir in $PATH
37766 do
37767 IFS=$as_save_IFS
37768 test -z "$as_dir" && as_dir=.
37769 for ac_exec_ext in '' $ac_executable_extensions; do
37770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37771 ac_cv_prog_ac_ct_RANLIB="ranlib"
37772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37773 break 2
37774 fi
37775 done
37776 done
37777
37778 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
37779 fi
37780 fi
37781 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
37782 if test -n "$ac_ct_RANLIB"; then
37783 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
37784 echo "${ECHO_T}$ac_ct_RANLIB" >&6
37785 else
37786 echo "$as_me:$LINENO: result: no" >&5
37787 echo "${ECHO_T}no" >&6
37788 fi
37789
37790 RANLIB=$ac_ct_RANLIB
37791 else
37792 RANLIB="$ac_cv_prog_RANLIB"
37793 fi
37794
37795 # Find a good install program. We prefer a C program (faster),
37796 # so one script is as good as another. But avoid the broken or
37797 # incompatible versions:
37798 # SysV /etc/install, /usr/sbin/install
37799 # SunOS /usr/etc/install
37800 # IRIX /sbin/install
37801 # AIX /bin/install
37802 # AmigaOS /C/install, which installs bootblocks on floppy discs
37803 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37804 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37805 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37806 # OS/2's system install, which has a completely different semantic
37807 # ./install, which can be erroneously created by make from ./install.sh.
37808 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
37809 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
37810 if test -z "$INSTALL"; then
37811 if test "${ac_cv_path_install+set}" = set; then
37812 echo $ECHO_N "(cached) $ECHO_C" >&6
37813 else
37814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37815 for as_dir in $PATH
37816 do
37817 IFS=$as_save_IFS
37818 test -z "$as_dir" && as_dir=.
37819 # Account for people who put trailing slashes in PATH elements.
37820 case $as_dir/ in
37821 ./ | .// | /cC/* | \
37822 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
37823 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
37824 /usr/ucb/* ) ;;
37825 *)
37826 # OSF1 and SCO ODT 3.0 have their own names for install.
37827 # Don't use installbsd from OSF since it installs stuff as root
37828 # by default.
37829 for ac_prog in ginstall scoinst install; do
37830 for ac_exec_ext in '' $ac_executable_extensions; do
37831 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
37832 if test $ac_prog = install &&
37833 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37834 # AIX install. It has an incompatible calling convention.
37835 :
37836 elif test $ac_prog = install &&
37837 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37838 # program-specific install script used by HP pwplus--don't use.
37839 :
37840 else
37841 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
37842 break 3
37843 fi
37844 fi
37845 done
37846 done
37847 ;;
37848 esac
37849 done
37850
37851
37852 fi
37853 if test "${ac_cv_path_install+set}" = set; then
37854 INSTALL=$ac_cv_path_install
37855 else
37856 # As a last resort, use the slow shell script. We don't cache a
37857 # path for INSTALL within a source directory, because that will
37858 # break other packages using the cache if that directory is
37859 # removed, or if the path is relative.
37860 INSTALL=$ac_install_sh
37861 fi
37862 fi
37863 echo "$as_me:$LINENO: result: $INSTALL" >&5
37864 echo "${ECHO_T}$INSTALL" >&6
37865
37866 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37867 # It thinks the first close brace ends the variable substitution.
37868 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
37869
37870 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
37871
37872 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
37873
37874 echo "$as_me:$LINENO: checking whether ln -s works" >&5
37875 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
37876 LN_S=$as_ln_s
37877 if test "$LN_S" = "ln -s"; then
37878 echo "$as_me:$LINENO: result: yes" >&5
37879 echo "${ECHO_T}yes" >&6
37880 else
37881 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
37882 echo "${ECHO_T}no, using $LN_S" >&6
37883 fi
37884
37885
37886 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37887 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
37888 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
37889 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
37890 echo $ECHO_N "(cached) $ECHO_C" >&6
37891 else
37892 cat >conftest.make <<\_ACEOF
37893 all:
37894 @echo 'ac_maketemp="$(MAKE)"'
37895 _ACEOF
37896 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
37897 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
37898 if test -n "$ac_maketemp"; then
37899 eval ac_cv_prog_make_${ac_make}_set=yes
37900 else
37901 eval ac_cv_prog_make_${ac_make}_set=no
37902 fi
37903 rm -f conftest.make
37904 fi
37905 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
37906 echo "$as_me:$LINENO: result: yes" >&5
37907 echo "${ECHO_T}yes" >&6
37908 SET_MAKE=
37909 else
37910 echo "$as_me:$LINENO: result: no" >&5
37911 echo "${ECHO_T}no" >&6
37912 SET_MAKE="MAKE=${MAKE-make}"
37913 fi
37914
37915
37916
37917 if test -n "$ac_tool_prefix"; then
37918 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
37919 set dummy ${ac_tool_prefix}ar; ac_word=$2
37920 echo "$as_me:$LINENO: checking for $ac_word" >&5
37921 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37922 if test "${ac_cv_prog_AR+set}" = set; then
37923 echo $ECHO_N "(cached) $ECHO_C" >&6
37924 else
37925 if test -n "$AR"; then
37926 ac_cv_prog_AR="$AR" # Let the user override the test.
37927 else
37928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37929 for as_dir in $PATH
37930 do
37931 IFS=$as_save_IFS
37932 test -z "$as_dir" && as_dir=.
37933 for ac_exec_ext in '' $ac_executable_extensions; do
37934 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37935 ac_cv_prog_AR="${ac_tool_prefix}ar"
37936 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37937 break 2
37938 fi
37939 done
37940 done
37941
37942 fi
37943 fi
37944 AR=$ac_cv_prog_AR
37945 if test -n "$AR"; then
37946 echo "$as_me:$LINENO: result: $AR" >&5
37947 echo "${ECHO_T}$AR" >&6
37948 else
37949 echo "$as_me:$LINENO: result: no" >&5
37950 echo "${ECHO_T}no" >&6
37951 fi
37952
37953 fi
37954 if test -z "$ac_cv_prog_AR"; then
37955 ac_ct_AR=$AR
37956 # Extract the first word of "ar", so it can be a program name with args.
37957 set dummy ar; ac_word=$2
37958 echo "$as_me:$LINENO: checking for $ac_word" >&5
37959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37960 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
37961 echo $ECHO_N "(cached) $ECHO_C" >&6
37962 else
37963 if test -n "$ac_ct_AR"; then
37964 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
37965 else
37966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37967 for as_dir in $PATH
37968 do
37969 IFS=$as_save_IFS
37970 test -z "$as_dir" && as_dir=.
37971 for ac_exec_ext in '' $ac_executable_extensions; do
37972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37973 ac_cv_prog_ac_ct_AR="ar"
37974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37975 break 2
37976 fi
37977 done
37978 done
37979
37980 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
37981 fi
37982 fi
37983 ac_ct_AR=$ac_cv_prog_ac_ct_AR
37984 if test -n "$ac_ct_AR"; then
37985 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
37986 echo "${ECHO_T}$ac_ct_AR" >&6
37987 else
37988 echo "$as_me:$LINENO: result: no" >&5
37989 echo "${ECHO_T}no" >&6
37990 fi
37991
37992 AR=$ac_ct_AR
37993 else
37994 AR="$ac_cv_prog_AR"
37995 fi
37996
37997 if test -n "$ac_tool_prefix"; then
37998 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
37999 set dummy ${ac_tool_prefix}strip; ac_word=$2
38000 echo "$as_me:$LINENO: checking for $ac_word" >&5
38001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38002 if test "${ac_cv_prog_STRIP+set}" = set; then
38003 echo $ECHO_N "(cached) $ECHO_C" >&6
38004 else
38005 if test -n "$STRIP"; then
38006 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
38007 else
38008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38009 for as_dir in $PATH
38010 do
38011 IFS=$as_save_IFS
38012 test -z "$as_dir" && as_dir=.
38013 for ac_exec_ext in '' $ac_executable_extensions; do
38014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38015 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
38016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38017 break 2
38018 fi
38019 done
38020 done
38021
38022 fi
38023 fi
38024 STRIP=$ac_cv_prog_STRIP
38025 if test -n "$STRIP"; then
38026 echo "$as_me:$LINENO: result: $STRIP" >&5
38027 echo "${ECHO_T}$STRIP" >&6
38028 else
38029 echo "$as_me:$LINENO: result: no" >&5
38030 echo "${ECHO_T}no" >&6
38031 fi
38032
38033 fi
38034 if test -z "$ac_cv_prog_STRIP"; then
38035 ac_ct_STRIP=$STRIP
38036 # Extract the first word of "strip", so it can be a program name with args.
38037 set dummy strip; ac_word=$2
38038 echo "$as_me:$LINENO: checking for $ac_word" >&5
38039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38040 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38041 echo $ECHO_N "(cached) $ECHO_C" >&6
38042 else
38043 if test -n "$ac_ct_STRIP"; then
38044 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
38045 else
38046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38047 for as_dir in $PATH
38048 do
38049 IFS=$as_save_IFS
38050 test -z "$as_dir" && as_dir=.
38051 for ac_exec_ext in '' $ac_executable_extensions; do
38052 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38053 ac_cv_prog_ac_ct_STRIP="strip"
38054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38055 break 2
38056 fi
38057 done
38058 done
38059
38060 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
38061 fi
38062 fi
38063 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
38064 if test -n "$ac_ct_STRIP"; then
38065 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38066 echo "${ECHO_T}$ac_ct_STRIP" >&6
38067 else
38068 echo "$as_me:$LINENO: result: no" >&5
38069 echo "${ECHO_T}no" >&6
38070 fi
38071
38072 STRIP=$ac_ct_STRIP
38073 else
38074 STRIP="$ac_cv_prog_STRIP"
38075 fi
38076
38077 if test -n "$ac_tool_prefix"; then
38078 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38079 set dummy ${ac_tool_prefix}nm; ac_word=$2
38080 echo "$as_me:$LINENO: checking for $ac_word" >&5
38081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38082 if test "${ac_cv_prog_NM+set}" = set; then
38083 echo $ECHO_N "(cached) $ECHO_C" >&6
38084 else
38085 if test -n "$NM"; then
38086 ac_cv_prog_NM="$NM" # Let the user override the test.
38087 else
38088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38089 for as_dir in $PATH
38090 do
38091 IFS=$as_save_IFS
38092 test -z "$as_dir" && as_dir=.
38093 for ac_exec_ext in '' $ac_executable_extensions; do
38094 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38095 ac_cv_prog_NM="${ac_tool_prefix}nm"
38096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38097 break 2
38098 fi
38099 done
38100 done
38101
38102 fi
38103 fi
38104 NM=$ac_cv_prog_NM
38105 if test -n "$NM"; then
38106 echo "$as_me:$LINENO: result: $NM" >&5
38107 echo "${ECHO_T}$NM" >&6
38108 else
38109 echo "$as_me:$LINENO: result: no" >&5
38110 echo "${ECHO_T}no" >&6
38111 fi
38112
38113 fi
38114 if test -z "$ac_cv_prog_NM"; then
38115 ac_ct_NM=$NM
38116 # Extract the first word of "nm", so it can be a program name with args.
38117 set dummy nm; ac_word=$2
38118 echo "$as_me:$LINENO: checking for $ac_word" >&5
38119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38120 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38121 echo $ECHO_N "(cached) $ECHO_C" >&6
38122 else
38123 if test -n "$ac_ct_NM"; then
38124 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
38125 else
38126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38127 for as_dir in $PATH
38128 do
38129 IFS=$as_save_IFS
38130 test -z "$as_dir" && as_dir=.
38131 for ac_exec_ext in '' $ac_executable_extensions; do
38132 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38133 ac_cv_prog_ac_ct_NM="nm"
38134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38135 break 2
38136 fi
38137 done
38138 done
38139
38140 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
38141 fi
38142 fi
38143 ac_ct_NM=$ac_cv_prog_ac_ct_NM
38144 if test -n "$ac_ct_NM"; then
38145 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38146 echo "${ECHO_T}$ac_ct_NM" >&6
38147 else
38148 echo "$as_me:$LINENO: result: no" >&5
38149 echo "${ECHO_T}no" >&6
38150 fi
38151
38152 NM=$ac_ct_NM
38153 else
38154 NM="$ac_cv_prog_NM"
38155 fi
38156
38157
38158 case ${BAKEFILE_HOST} in
38159 *-hp-hpux* )
38160 INSTALL_DIR="mkdir"
38161 ;;
38162 *) INSTALL_DIR="$INSTALL -d"
38163 ;;
38164 esac
38165
38166
38167 LDFLAGS_GUI=
38168 case ${BAKEFILE_HOST} in
38169 *-*-cygwin* | *-*-mingw32* )
38170 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
38171 esac
38172
38173
38174 fi
38175
38176 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38177 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38178 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38179 echo $ECHO_N "(cached) $ECHO_C" >&6
38180 else
38181
38182 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
38183 egrep -s GNU > /dev/null); then
38184 bakefile_cv_prog_makeisgnu="yes"
38185 else
38186 bakefile_cv_prog_makeisgnu="no"
38187 fi
38188
38189 fi
38190 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38191 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38192
38193 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38194 IF_GNU_MAKE=""
38195 else
38196 IF_GNU_MAKE="#"
38197 fi
38198
38199
38200
38201 PLATFORM_UNIX=0
38202 PLATFORM_WIN32=0
38203 PLATFORM_MSDOS=0
38204 PLATFORM_MAC=0
38205 PLATFORM_MACOSX=0
38206 PLATFORM_OS2=0
38207
38208 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38209 case "${BAKEFILE_HOST}" in
38210 *-*-cygwin* | *-*-mingw32* )
38211 PLATFORM_WIN32=1
38212 ;;
38213 *-pc-msdosdjgpp )
38214 PLATFORM_MSDOS=1
38215 ;;
38216 *-pc-os2_emx | *-pc-os2-emx )
38217 PLATFORM_OS2=1
38218 ;;
38219 powerpc-*-darwin* )
38220 PLATFORM_MAC=1
38221 PLATFORM_MACOSX=1
38222 ;;
38223 * )
38224 PLATFORM_UNIX=1
38225 ;;
38226 esac
38227 else
38228 case "$BAKEFILE_FORCE_PLATFORM" in
38229 win32 )
38230 PLATFORM_WIN32=1
38231 ;;
38232 msdos )
38233 PLATFORM_MSDOS=1
38234 ;;
38235 os2 )
38236 PLATFORM_OS2=1
38237 ;;
38238 darwin )
38239 PLATFORM_MAC=1
38240 PLATFORM_MACOSX=1
38241 ;;
38242 unix )
38243 PLATFORM_UNIX=1
38244 ;;
38245 * )
38246 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38247 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38248 { (exit 1); exit 1; }; }
38249 ;;
38250 esac
38251 fi
38252
38253
38254
38255
38256
38257
38258
38259
38260
38261 SO_SUFFIX="so"
38262 SO_SUFFIX_MODULE="so"
38263 EXEEXT=""
38264 LIBPREFIX=lib
38265 DLLPREFIX=lib
38266 DLLPREFIX_MODULE=
38267
38268 case "${BAKEFILE_HOST}" in
38269 *-hp-hpux* )
38270 SO_SUFFIX="sl"
38271 SO_SUFFIX_MODULE="sl"
38272 ;;
38273 *-*-aix* )
38274 SO_SUFFIX="a"
38275 SO_SUFFIX_MODULE="a"
38276 ;;
38277 *-*-cygwin* | *-*-mingw32* )
38278 SO_SUFFIX="dll"
38279 SO_SUFFIX_MODULE="dll"
38280 EXEEXT=".exe"
38281 DLLPREFIX=""
38282 ;;
38283 *-pc-msdosdjgpp )
38284 EXEEXT=".exe"
38285 DLLPREFIX=""
38286 ;;
38287 *-pc-os2_emx | *-pc-os2-emx )
38288 EXEEXT=".exe"
38289 DLLPREFIX=""
38290 LIBPREFIX=""
38291 ;;
38292 powerpc-*-darwin* )
38293 SO_SUFFIX="dylib"
38294 SO_SUFFIX_MODULE="bundle"
38295 ;;
38296 esac
38297
38298
38299
38300
38301
38302
38303
38304
38305
38306 SHARED_LD_CC="\$(CC) -shared -o"
38307 SHARED_LD_CXX="\$(CXX) -shared -o"
38308
38309 if test "x$GCC" = "xyes"; then
38310 PIC_FLAG="-fPIC"
38311 fi
38312
38313 case "${BAKEFILE_HOST}" in
38314 *-hp-hpux* )
38315 if test "x$GCC" = "xyes"; then
38316 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
38317 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
38318 else
38319 LDFLAGS="$LDFLAGS -L/usr/lib"
38320
38321 SHARED_LD_CC="${CC} -b -o"
38322 SHARED_LD_CXX="${CXX} -b -o"
38323 PIC_FLAG="+Z"
38324 fi
38325 ;;
38326
38327 *-*-linux* )
38328 if test "x$GCC" != "xyes"; then
38329 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38330 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38331 if test "${bakefile_cv_prog_icc+set}" = set; then
38332 echo $ECHO_N "(cached) $ECHO_C" >&6
38333 else
38334
38335 cat >conftest.$ac_ext <<_ACEOF
38336 /* confdefs.h. */
38337 _ACEOF
38338 cat confdefs.h >>conftest.$ac_ext
38339 cat >>conftest.$ac_ext <<_ACEOF
38340 /* end confdefs.h. */
38341
38342 int
38343 main ()
38344 {
38345
38346 #ifndef __INTEL_COMPILER
38347 #error Not icc
38348 #endif
38349
38350 ;
38351 return 0;
38352 }
38353 _ACEOF
38354 rm -f conftest.$ac_objext
38355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38356 (eval $ac_compile) 2>conftest.er1
38357 ac_status=$?
38358 grep -v '^ *+' conftest.er1 >conftest.err
38359 rm -f conftest.er1
38360 cat conftest.err >&5
38361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38362 (exit $ac_status); } &&
38363 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38365 (eval $ac_try) 2>&5
38366 ac_status=$?
38367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38368 (exit $ac_status); }; } &&
38369 { ac_try='test -s conftest.$ac_objext'
38370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38371 (eval $ac_try) 2>&5
38372 ac_status=$?
38373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38374 (exit $ac_status); }; }; then
38375 bakefile_cv_prog_icc=yes
38376 else
38377 echo "$as_me: failed program was:" >&5
38378 sed 's/^/| /' conftest.$ac_ext >&5
38379
38380 bakefile_cv_prog_icc=no
38381
38382 fi
38383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38384
38385 fi
38386 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38387 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38388 if test "$bakefile_cv_prog_icc" = "yes"; then
38389 PIC_FLAG="-KPIC"
38390 fi
38391 fi
38392 ;;
38393
38394 *-*-solaris2* )
38395 if test "x$GCC" != xyes ; then
38396 SHARED_LD_CC="${CC} -G -o"
38397 SHARED_LD_CXX="${CXX} -G -o"
38398 PIC_FLAG="-KPIC"
38399 fi
38400 ;;
38401
38402 *-*-darwin* )
38403 CFLAGS="$CFLAGS -fno-common"
38404 CXXFLAGS="$CXXFLAGS -fno-common"
38405
38406
38407 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38408 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38409 if test "${wx_cv_gcc31+set}" = set; then
38410 echo $ECHO_N "(cached) $ECHO_C" >&6
38411 else
38412
38413 cat >conftest.$ac_ext <<_ACEOF
38414 /* confdefs.h. */
38415 _ACEOF
38416 cat confdefs.h >>conftest.$ac_ext
38417 cat >>conftest.$ac_ext <<_ACEOF
38418 /* end confdefs.h. */
38419
38420 int
38421 main ()
38422 {
38423
38424 #if (__GNUC__ < 3) || \
38425 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38426 #error old gcc
38427 #endif
38428
38429 ;
38430 return 0;
38431 }
38432 _ACEOF
38433 rm -f conftest.$ac_objext
38434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38435 (eval $ac_compile) 2>conftest.er1
38436 ac_status=$?
38437 grep -v '^ *+' conftest.er1 >conftest.err
38438 rm -f conftest.er1
38439 cat conftest.err >&5
38440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38441 (exit $ac_status); } &&
38442 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38444 (eval $ac_try) 2>&5
38445 ac_status=$?
38446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38447 (exit $ac_status); }; } &&
38448 { ac_try='test -s conftest.$ac_objext'
38449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38450 (eval $ac_try) 2>&5
38451 ac_status=$?
38452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38453 (exit $ac_status); }; }; then
38454
38455 wx_cv_gcc31=yes
38456
38457 else
38458 echo "$as_me: failed program was:" >&5
38459 sed 's/^/| /' conftest.$ac_ext >&5
38460
38461
38462 wx_cv_gcc31=no
38463
38464
38465 fi
38466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38467
38468 fi
38469 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38470 echo "${ECHO_T}$wx_cv_gcc31" >&6
38471 if test "$wx_cv_gcc31" = "no"; then
38472 cat <<EOF >shared-ld-sh
38473 #!/bin/sh
38474 #-----------------------------------------------------------------------------
38475 #-- Name: distrib/mac/shared-ld-sh
38476 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38477 #-- Author: Gilles Depeyrot
38478 #-- Copyright: (c) 2002 Gilles Depeyrot
38479 #-- Licence: any use permitted
38480 #-----------------------------------------------------------------------------
38481
38482 verbose=0
38483 args=""
38484 objects=""
38485 linking_flag="-dynamiclib"
38486
38487 while test \${#} -gt 0; do
38488 case \${1} in
38489
38490 -v)
38491 verbose=1
38492 ;;
38493
38494 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38495 # collect these options and values
38496 args="\${args} \${1} \${2}"
38497 shift
38498 ;;
38499
38500 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38501 # collect these options
38502 args="\${args} \${1}"
38503 ;;
38504
38505 -dynamiclib|-bundle)
38506 linking_flag="\${1}"
38507 ;;
38508
38509 -*)
38510 echo "shared-ld: unhandled option '\${1}'"
38511 exit 1
38512 ;;
38513
38514 *.o | *.a | *.dylib)
38515 # collect object files
38516 objects="\${objects} \${1}"
38517 ;;
38518
38519 *)
38520 echo "shared-ld: unhandled argument '\${1}'"
38521 exit 1
38522 ;;
38523
38524 esac
38525 shift
38526 done
38527
38528 #
38529 # Link one module containing all the others
38530 #
38531 if test \${verbose} = 1; then
38532 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
38533 fi
38534 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
38535 status=\$?
38536 if test \${status} != 0; then
38537 exit \${status}
38538 fi
38539
38540 #
38541 # Link the shared library from the single module created
38542 #
38543 if test \${verbose} = 1; then
38544 echo "cc \${linking_flag} master.\$\$.o \${args}"
38545 fi
38546 c++ \${linking_flag} master.\$\$.o \${args}
38547 status=\$?
38548 if test \${status} != 0; then
38549 exit \${status}
38550 fi
38551
38552 #
38553 # Remove intermediate module
38554 #
38555 rm -f master.\$\$.o
38556
38557 exit 0
38558 EOF
38559 chmod +x shared-ld-sh
38560
38561 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38562 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38563 SHARED_LD_CXX="$SHARED_LD_CC"
38564 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
38565 else
38566 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38567 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
38568 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38569 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
38570 fi
38571
38572 PIC_FLAG="-dynamic -fPIC"
38573 ;;
38574
38575 *-*-aix* )
38576 if test "x$GCC" != "xyes"; then
38577 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38578 set dummy makeC++SharedLib; ac_word=$2
38579 echo "$as_me:$LINENO: checking for $ac_word" >&5
38580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38581 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
38582 echo $ECHO_N "(cached) $ECHO_C" >&6
38583 else
38584 if test -n "$AIX_CXX_LD"; then
38585 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
38586 else
38587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38588 for as_dir in $PATH
38589 do
38590 IFS=$as_save_IFS
38591 test -z "$as_dir" && as_dir=.
38592 for ac_exec_ext in '' $ac_executable_extensions; do
38593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38594 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
38595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38596 break 2
38597 fi
38598 done
38599 done
38600
38601 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
38602 fi
38603 fi
38604 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
38605 if test -n "$AIX_CXX_LD"; then
38606 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
38607 echo "${ECHO_T}$AIX_CXX_LD" >&6
38608 else
38609 echo "$as_me:$LINENO: result: no" >&5
38610 echo "${ECHO_T}no" >&6
38611 fi
38612
38613 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
38614 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
38615 fi
38616 ;;
38617
38618 *-*-beos* )
38619 SHARED_LD_CC="${LD} -shared -o"
38620 SHARED_LD_CXX="${LD} -shared -o"
38621 ;;
38622
38623 *-*-irix* )
38624 if test "x$GCC" != "xyes"; then
38625 PIC_FLAG="-KPIC"
38626 fi
38627 ;;
38628
38629 *-*-cygwin* | *-*-mingw32* )
38630 PIC_FLAG=""
38631 ;;
38632
38633 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
38634 *-*-sunos4* | \
38635 *-*-osf* | \
38636 *-*-dgux5* | \
38637 *-pc-os2_emx | *-pc-os2-emx | \
38638 *-*-sysv5* )
38639 ;;
38640
38641 *)
38642 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
38643 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
38644 { (exit 1); exit 1; }; }
38645 esac
38646
38647 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
38648 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
38649 fi
38650 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
38651 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
38652 fi
38653
38654
38655
38656
38657
38658
38659
38660
38661 USE_SOVERSION=0
38662 USE_SOVERLINUX=0
38663 USE_SOVERSOLARIS=0
38664 USE_SOSYMLINKS=0
38665 USE_MACVERSION=0
38666 SONAME_FLAG=
38667
38668 case "${BAKEFILE_HOST}" in
38669 *-*-linux* )
38670 SONAME_FLAG="-Wl,-soname,"
38671 USE_SOVERSION=1
38672 USE_SOVERLINUX=1
38673 USE_SOSYMLINKS=1
38674 ;;
38675
38676 *-*-solaris2* )
38677 SONAME_FLAG="-h "
38678 USE_SOVERSION=1
38679 USE_SOVERSOLARIS=1
38680 USE_SOSYMLINKS=1
38681 ;;
38682
38683 *-*-darwin* )
38684 USE_MACVERSION=1
38685 USE_SOVERSION=1
38686 USE_SOSYMLINKS=1
38687 ;;
38688 esac
38689
38690
38691
38692
38693
38694
38695
38696
38697
38698 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
38699 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
38700 DEPS_TRACKING=0
38701
38702 if test "x$GCC" = "xyes"; then
38703 DEPSMODE=gcc
38704 DEPS_TRACKING=1
38705 case "${BAKEFILE_HOST}" in
38706 powerpc-*-darwin* )
38707 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
38708 ;;
38709 * )
38710 DEPSFLAG_GCC="-MMD"
38711 ;;
38712 esac
38713 echo "$as_me:$LINENO: result: gcc" >&5
38714 echo "${ECHO_T}gcc" >&6
38715 else
38716 echo "$as_me:$LINENO: result: none" >&5
38717 echo "${ECHO_T}none" >&6
38718 fi
38719
38720 if test $DEPS_TRACKING = 1 ; then
38721 cat <<EOF >bk-deps
38722 #!/bin/sh
38723
38724 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
38725 # script. It is used to track C/C++ files dependencies in portable way.
38726 #
38727 # Permission is given to use this file in any way.
38728
38729 DEPSMODE=$DEPSMODE
38730 DEPSDIR=.deps
38731 DEPSFLAG_GCC="$DEPSFLAG_GCC"
38732
38733 mkdir -p \$DEPSDIR
38734
38735 if test \$DEPSMODE = gcc ; then
38736 \${*} \${DEPSFLAG_GCC}
38737 status=\${?}
38738 if test \${status} != 0 ; then
38739 exit \${status}
38740 fi
38741 # move created file to the location we want it in:
38742 while test \${#} -gt 0; do
38743 case "\${1}" in
38744 -o )
38745 shift
38746 objfile=\${1}
38747 ;;
38748 -* )
38749 ;;
38750 * )
38751 srcfile=\${1}
38752 ;;
38753 esac
38754 shift
38755 done
38756 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
38757 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
38758 if test -f \$depfile ; then
38759 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
38760 rm -f \$depfile
38761 else
38762 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
38763 if test -f \$depfile ; then
38764 sed -e "/^\$objfile/!s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
38765 rm -f \$depfile
38766 fi
38767 fi
38768 exit 0
38769 else
38770 \${*}
38771 exit \${?}
38772 fi
38773 EOF
38774 chmod +x bk-deps
38775 fi
38776
38777
38778
38779
38780 RESCOMP=
38781 SETFILE=
38782
38783 case ${BAKEFILE_HOST} in
38784 *-*-cygwin* | *-*-mingw32* )
38785 if test "$build" != "$host" ; then
38786 RESCOMP=$host_alias-windres
38787 else
38788 # Extract the first word of "windres", so it can be a program name with args.
38789 set dummy windres; ac_word=$2
38790 echo "$as_me:$LINENO: checking for $ac_word" >&5
38791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38792 if test "${ac_cv_prog_RESCOMP+set}" = set; then
38793 echo $ECHO_N "(cached) $ECHO_C" >&6
38794 else
38795 if test -n "$RESCOMP"; then
38796 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
38797 else
38798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38799 for as_dir in $PATH
38800 do
38801 IFS=$as_save_IFS
38802 test -z "$as_dir" && as_dir=.
38803 for ac_exec_ext in '' $ac_executable_extensions; do
38804 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38805 ac_cv_prog_RESCOMP="windres"
38806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38807 break 2
38808 fi
38809 done
38810 done
38811
38812 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
38813 fi
38814 fi
38815 RESCOMP=$ac_cv_prog_RESCOMP
38816 if test -n "$RESCOMP"; then
38817 echo "$as_me:$LINENO: result: $RESCOMP" >&5
38818 echo "${ECHO_T}$RESCOMP" >&6
38819 else
38820 echo "$as_me:$LINENO: result: no" >&5
38821 echo "${ECHO_T}no" >&6
38822 fi
38823
38824 fi
38825 ;;
38826
38827 *-*-darwin* )
38828 # Extract the first word of "Rez", so it can be a program name with args.
38829 set dummy Rez; ac_word=$2
38830 echo "$as_me:$LINENO: checking for $ac_word" >&5
38831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38832 if test "${ac_cv_prog_RESCOMP+set}" = set; then
38833 echo $ECHO_N "(cached) $ECHO_C" >&6
38834 else
38835 if test -n "$RESCOMP"; then
38836 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
38837 else
38838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38839 for as_dir in $PATH
38840 do
38841 IFS=$as_save_IFS
38842 test -z "$as_dir" && as_dir=.
38843 for ac_exec_ext in '' $ac_executable_extensions; do
38844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38845 ac_cv_prog_RESCOMP="Rez"
38846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38847 break 2
38848 fi
38849 done
38850 done
38851
38852 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
38853 fi
38854 fi
38855 RESCOMP=$ac_cv_prog_RESCOMP
38856 if test -n "$RESCOMP"; then
38857 echo "$as_me:$LINENO: result: $RESCOMP" >&5
38858 echo "${ECHO_T}$RESCOMP" >&6
38859 else
38860 echo "$as_me:$LINENO: result: no" >&5
38861 echo "${ECHO_T}no" >&6
38862 fi
38863
38864 # Extract the first word of "SetFile", so it can be a program name with args.
38865 set dummy SetFile; ac_word=$2
38866 echo "$as_me:$LINENO: checking for $ac_word" >&5
38867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38868 if test "${ac_cv_prog_SETFILE+set}" = set; then
38869 echo $ECHO_N "(cached) $ECHO_C" >&6
38870 else
38871 if test -n "$SETFILE"; then
38872 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
38873 else
38874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38875 for as_dir in $PATH
38876 do
38877 IFS=$as_save_IFS
38878 test -z "$as_dir" && as_dir=.
38879 for ac_exec_ext in '' $ac_executable_extensions; do
38880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38881 ac_cv_prog_SETFILE="SetFile"
38882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38883 break 2
38884 fi
38885 done
38886 done
38887
38888 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
38889 fi
38890 fi
38891 SETFILE=$ac_cv_prog_SETFILE
38892 if test -n "$SETFILE"; then
38893 echo "$as_me:$LINENO: result: $SETFILE" >&5
38894 echo "${ECHO_T}$SETFILE" >&6
38895 else
38896 echo "$as_me:$LINENO: result: no" >&5
38897 echo "${ECHO_T}no" >&6
38898 fi
38899
38900 ;;
38901 esac
38902
38903
38904
38905
38906
38907
38908
38909
38910 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
38911 if test "${enable_precomp_headers+set}" = set; then
38912 enableval="$enable_precomp_headers"
38913 bk_use_pch="$enableval"
38914 fi;
38915
38916 GCC_PCH=0
38917
38918 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
38919 if test "x$GCC" = "xyes"; then
38920 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
38921 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
38922 cat >conftest.$ac_ext <<_ACEOF
38923 /* confdefs.h. */
38924 _ACEOF
38925 cat confdefs.h >>conftest.$ac_ext
38926 cat >>conftest.$ac_ext <<_ACEOF
38927 /* end confdefs.h. */
38928
38929 int
38930 main ()
38931 {
38932
38933 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
38934 #error "no pch support"
38935 #endif
38936 #if (__GNUC__ < 3)
38937 #error "no pch support"
38938 #endif
38939 #if (__GNUC__ == 3) && \
38940 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
38941 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
38942 #error "no pch support"
38943 #endif
38944
38945 ;
38946 return 0;
38947 }
38948 _ACEOF
38949 rm -f conftest.$ac_objext
38950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38951 (eval $ac_compile) 2>conftest.er1
38952 ac_status=$?
38953 grep -v '^ *+' conftest.er1 >conftest.err
38954 rm -f conftest.er1
38955 cat conftest.err >&5
38956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38957 (exit $ac_status); } &&
38958 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38960 (eval $ac_try) 2>&5
38961 ac_status=$?
38962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38963 (exit $ac_status); }; } &&
38964 { ac_try='test -s conftest.$ac_objext'
38965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38966 (eval $ac_try) 2>&5
38967 ac_status=$?
38968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38969 (exit $ac_status); }; }; then
38970
38971 echo "$as_me:$LINENO: result: yes" >&5
38972 echo "${ECHO_T}yes" >&6
38973 CPPFLAGS="-fpch-deps $CPPFLAGS"
38974 GCC_PCH=1
38975
38976 else
38977 echo "$as_me: failed program was:" >&5
38978 sed 's/^/| /' conftest.$ac_ext >&5
38979
38980
38981 echo "$as_me:$LINENO: result: no" >&5
38982 echo "${ECHO_T}no" >&6
38983
38984 fi
38985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38986 if test $GCC_PCH = 1 ; then
38987 cat <<EOF >bk-make-pch
38988 #!/bin/sh
38989
38990 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
38991 # script. It is used to generated precompiled headers.
38992 #
38993 # Permission is given to use this file in any way.
38994
38995 outfile="\${1}"
38996 header="\${2}"
38997 shift
38998 shift
38999
39000 compiler=
39001 headerfile=
39002 while test \${#} -gt 0; do
39003 case "\${1}" in
39004 -I* )
39005 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39006 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39007 headerfile="\${incdir}/\${header}"
39008 fi
39009 ;;
39010 esac
39011 compiler="\${compiler} \${1}"
39012 shift
39013 done
39014
39015 if test "x\${headerfile}" = "x" ; then
39016 echo "error: can't find header \${header} in include paths" >2
39017 else
39018 if test -f \${outfile} ; then
39019 rm -f \${outfile}
39020 else
39021 mkdir -p \`dirname \${outfile}\`
39022 fi
39023 depsfile=".deps/\`basename \${outfile}\`.d"
39024 mkdir -p .deps
39025 # can do this because gcc is >= 3.4:
39026 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39027 exit \${?}
39028 fi
39029 EOF
39030 chmod +x bk-make-pch
39031 fi
39032 fi
39033 fi
39034
39035
39036
39037
39038
39039 COND_BUILD_DEBUG="#"
39040 if test "x$BUILD" = "xdebug" ; then
39041 COND_BUILD_DEBUG=""
39042 fi
39043
39044 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
39045 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39046 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
39047 fi
39048
39049 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
39050 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39051 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
39052 fi
39053
39054 COND_BUILD_DEBUG_UNICODE_0="#"
39055 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39056 COND_BUILD_DEBUG_UNICODE_0=""
39057 fi
39058
39059 COND_BUILD_DEBUG_UNICODE_1="#"
39060 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39061 COND_BUILD_DEBUG_UNICODE_1=""
39062 fi
39063
39064 COND_BUILD_RELEASE="#"
39065 if test "x$BUILD" = "xrelease" ; then
39066 COND_BUILD_RELEASE=""
39067 fi
39068
39069 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
39070 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39071 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
39072 fi
39073
39074 COND_BUILD_RELEASE_UNICODE_0="#"
39075 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39076 COND_BUILD_RELEASE_UNICODE_0=""
39077 fi
39078
39079 COND_BUILD_RELEASE_UNICODE_1="#"
39080 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39081 COND_BUILD_RELEASE_UNICODE_1=""
39082 fi
39083
39084 COND_DEBUG_FLAG_1="#"
39085 if test "x$DEBUG_FLAG" = "x1" ; then
39086 COND_DEBUG_FLAG_1=""
39087 fi
39088
39089 COND_DEBUG_INFO_0="#"
39090 if test "x$DEBUG_INFO" = "x0" ; then
39091 COND_DEBUG_INFO_0=""
39092 fi
39093
39094 COND_DEBUG_INFO_1="#"
39095 if test "x$DEBUG_INFO" = "x1" ; then
39096 COND_DEBUG_INFO_1=""
39097 fi
39098
39099 COND_DEPS_TRACKING_0="#"
39100 if test "x$DEPS_TRACKING" = "x0" ; then
39101 COND_DEPS_TRACKING_0=""
39102 fi
39103
39104 COND_DEPS_TRACKING_1="#"
39105 if test "x$DEPS_TRACKING" = "x1" ; then
39106 COND_DEPS_TRACKING_1=""
39107 fi
39108
39109 COND_GCC_PCH_1="#"
39110 if test "x$GCC_PCH" = "x1" ; then
39111 COND_GCC_PCH_1=""
39112 fi
39113
39114 COND_MONOLITHIC_0="#"
39115 if test "x$MONOLITHIC" = "x0" ; then
39116 COND_MONOLITHIC_0=""
39117 fi
39118
39119 COND_MONOLITHIC_0_SHARED_0="#"
39120 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39121 COND_MONOLITHIC_0_SHARED_0=""
39122 fi
39123
39124 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
39125 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39126 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
39127 fi
39128
39129 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
39130 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39131 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
39132 fi
39133
39134 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
39135 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
39136 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
39137 fi
39138
39139 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
39140 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
39141 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
39142 fi
39143
39144 COND_MONOLITHIC_0_SHARED_1="#"
39145 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39146 COND_MONOLITHIC_0_SHARED_1=""
39147 fi
39148
39149 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
39150 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39151 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
39152 fi
39153
39154 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
39155 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39156 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
39157 fi
39158
39159 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
39160 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
39161 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
39162 fi
39163
39164 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
39165 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
39166 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
39167 fi
39168
39169 COND_MONOLITHIC_0_USE_ODBC_1="#"
39170 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
39171 COND_MONOLITHIC_0_USE_ODBC_1=""
39172 fi
39173
39174 COND_MONOLITHIC_1="#"
39175 if test "x$MONOLITHIC" = "x1" ; then
39176 COND_MONOLITHIC_1=""
39177 fi
39178
39179 COND_MONOLITHIC_1_SHARED_0="#"
39180 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39181 COND_MONOLITHIC_1_SHARED_0=""
39182 fi
39183
39184 COND_MONOLITHIC_1_SHARED_1="#"
39185 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39186 COND_MONOLITHIC_1_SHARED_1=""
39187 fi
39188
39189 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
39190 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39191 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
39192 fi
39193
39194 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
39195 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
39196 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
39197 fi
39198
39199 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
39200 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39201 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
39202 fi
39203
39204 COND_PLATFORM_MACOSX_1="#"
39205 if test "x$PLATFORM_MACOSX" = "x1" ; then
39206 COND_PLATFORM_MACOSX_1=""
39207 fi
39208
39209 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
39210 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
39211 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
39212 fi
39213
39214 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
39215 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
39216 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
39217 fi
39218
39219 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
39220 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
39221 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
39222 fi
39223
39224 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
39225 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
39226 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
39227 fi
39228
39229 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
39230 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
39231 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
39232 fi
39233
39234 COND_PLATFORM_MAC_1="#"
39235 if test "x$PLATFORM_MAC" = "x1" ; then
39236 COND_PLATFORM_MAC_1=""
39237 fi
39238
39239 COND_PLATFORM_OS2_1="#"
39240 if test "x$PLATFORM_OS2" = "x1" ; then
39241 COND_PLATFORM_OS2_1=""
39242 fi
39243
39244 COND_PLATFORM_UNIX_0="#"
39245 if test "x$PLATFORM_UNIX" = "x0" ; then
39246 COND_PLATFORM_UNIX_0=""
39247 fi
39248
39249 COND_PLATFORM_UNIX_1="#"
39250 if test "x$PLATFORM_UNIX" = "x1" ; then
39251 COND_PLATFORM_UNIX_1=""
39252 fi
39253
39254 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
39255 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
39256 COND_PLATFORM_UNIX_1_USE_GUI_1=""
39257 fi
39258
39259 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
39260 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
39261 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
39262 fi
39263
39264 COND_PLATFORM_WIN32_0="#"
39265 if test "x$PLATFORM_WIN32" = "x0" ; then
39266 COND_PLATFORM_WIN32_0=""
39267 fi
39268
39269 COND_PLATFORM_WIN32_1="#"
39270 if test "x$PLATFORM_WIN32" = "x1" ; then
39271 COND_PLATFORM_WIN32_1=""
39272 fi
39273
39274 COND_SHARED_0="#"
39275 if test "x$SHARED" = "x0" ; then
39276 COND_SHARED_0=""
39277 fi
39278
39279 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
39280 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39281 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
39282 fi
39283
39284 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
39285 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39286 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
39287 fi
39288
39289 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
39290 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39291 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
39292 fi
39293
39294 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
39295 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39296 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
39297 fi
39298
39299 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
39300 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
39301 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
39302 fi
39303
39304 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
39305 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
39306 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
39307 fi
39308
39309 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
39310 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
39311 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
39312 fi
39313
39314 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
39315 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
39316 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
39317 fi
39318
39319 COND_SHARED_1="#"
39320 if test "x$SHARED" = "x1" ; then
39321 COND_SHARED_1=""
39322 fi
39323
39324 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
39325 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39326 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
39327 fi
39328
39329 COND_TOOLKIT_COCOA="#"
39330 if test "x$TOOLKIT" = "xCOCOA" ; then
39331 COND_TOOLKIT_COCOA=""
39332 fi
39333
39334 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
39335 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39336 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
39337 fi
39338
39339 COND_TOOLKIT_GTK="#"
39340 if test "x$TOOLKIT" = "xGTK" ; then
39341 COND_TOOLKIT_GTK=""
39342 fi
39343
39344 COND_TOOLKIT_GTK_USE_GUI_1="#"
39345 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
39346 COND_TOOLKIT_GTK_USE_GUI_1=""
39347 fi
39348
39349 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
39350 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39351 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
39352 fi
39353
39354 COND_TOOLKIT_MAC="#"
39355 if test "x$TOOLKIT" = "xMAC" ; then
39356 COND_TOOLKIT_MAC=""
39357 fi
39358
39359 COND_TOOLKIT_MAC_USE_GUI_1="#"
39360 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
39361 COND_TOOLKIT_MAC_USE_GUI_1=""
39362 fi
39363
39364 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
39365 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39366 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
39367 fi
39368
39369 COND_TOOLKIT_MGL="#"
39370 if test "x$TOOLKIT" = "xMGL" ; then
39371 COND_TOOLKIT_MGL=""
39372 fi
39373
39374 COND_TOOLKIT_MGL_USE_GUI_1="#"
39375 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
39376 COND_TOOLKIT_MGL_USE_GUI_1=""
39377 fi
39378
39379 COND_TOOLKIT_MOTIF="#"
39380 if test "x$TOOLKIT" = "xMOTIF" ; then
39381 COND_TOOLKIT_MOTIF=""
39382 fi
39383
39384 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
39385 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
39386 COND_TOOLKIT_MOTIF_USE_GUI_1=""
39387 fi
39388
39389 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
39390 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39391 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
39392 fi
39393
39394 COND_TOOLKIT_MSW="#"
39395 if test "x$TOOLKIT" = "xMSW" ; then
39396 COND_TOOLKIT_MSW=""
39397 fi
39398
39399 COND_TOOLKIT_MSW_USE_GUI_1="#"
39400 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
39401 COND_TOOLKIT_MSW_USE_GUI_1=""
39402 fi
39403
39404 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
39405 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39406 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
39407 fi
39408
39409 COND_TOOLKIT_PM="#"
39410 if test "x$TOOLKIT" = "xPM" ; then
39411 COND_TOOLKIT_PM=""
39412 fi
39413
39414 COND_TOOLKIT_PM_USE_GUI_1="#"
39415 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
39416 COND_TOOLKIT_PM_USE_GUI_1=""
39417 fi
39418
39419 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
39420 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39421 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
39422 fi
39423
39424 COND_TOOLKIT_X11="#"
39425 if test "x$TOOLKIT" = "xX11" ; then
39426 COND_TOOLKIT_X11=""
39427 fi
39428
39429 COND_TOOLKIT_X11_USE_GUI_1="#"
39430 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
39431 COND_TOOLKIT_X11_USE_GUI_1=""
39432 fi
39433
39434 COND_UNICODE_1="#"
39435 if test "x$UNICODE" = "x1" ; then
39436 COND_UNICODE_1=""
39437 fi
39438
39439 COND_USE_EXCEPTIONS_0="#"
39440 if test "x$USE_EXCEPTIONS" = "x0" ; then
39441 COND_USE_EXCEPTIONS_0=""
39442 fi
39443
39444 COND_USE_EXCEPTIONS_1="#"
39445 if test "x$USE_EXCEPTIONS" = "x1" ; then
39446 COND_USE_EXCEPTIONS_1=""
39447 fi
39448
39449 COND_USE_GUI_0="#"
39450 if test "x$USE_GUI" = "x0" ; then
39451 COND_USE_GUI_0=""
39452 fi
39453
39454 COND_USE_GUI_1="#"
39455 if test "x$USE_GUI" = "x1" ; then
39456 COND_USE_GUI_1=""
39457 fi
39458
39459 COND_USE_GUI_1_WXUNIV_0="#"
39460 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39461 COND_USE_GUI_1_WXUNIV_0=""
39462 fi
39463
39464 COND_USE_GUI_1_WXUNIV_1="#"
39465 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
39466 COND_USE_GUI_1_WXUNIV_1=""
39467 fi
39468
39469 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
39470 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39471 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
39472 fi
39473
39474 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
39475 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39476 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
39477 fi
39478
39479 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
39480 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39481 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
39482 fi
39483
39484 COND_USE_ODBC_1="#"
39485 if test "x$USE_ODBC" = "x1" ; then
39486 COND_USE_ODBC_1=""
39487 fi
39488
39489 COND_USE_PLUGINS_0="#"
39490 if test "x$USE_PLUGINS" = "x0" ; then
39491 COND_USE_PLUGINS_0=""
39492 fi
39493
39494 COND_USE_SOSYMLINKS_1="#"
39495 if test "x$USE_SOSYMLINKS" = "x1" ; then
39496 COND_USE_SOSYMLINKS_1=""
39497 fi
39498
39499 COND_USE_SOVERLINUX_1="#"
39500 if test "x$USE_SOVERLINUX" = "x1" ; then
39501 COND_USE_SOVERLINUX_1=""
39502 fi
39503
39504 COND_USE_SOVERSION_0="#"
39505 if test "x$USE_SOVERSION" = "x0" ; then
39506 COND_USE_SOVERSION_0=""
39507 fi
39508
39509 COND_USE_SOVERSOLARIS_1="#"
39510 if test "x$USE_SOVERSOLARIS" = "x1" ; then
39511 COND_USE_SOVERSOLARIS_1=""
39512 fi
39513
39514 COND_WITH_PLUGIN_SDL_1="#"
39515 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
39516 COND_WITH_PLUGIN_SDL_1=""
39517 fi
39518
39519 COND_WITH_SDL_1="#"
39520 if test "x$WITH_SDL" = "x1" ; then
39521 COND_WITH_SDL_1=""
39522 fi
39523
39524 COND_WXUNIV_1="#"
39525 if test "x$WXUNIV" = "x1" ; then
39526 COND_WXUNIV_1=""
39527 fi
39528
39529 COND_WXUSE_EXPAT_BUILTIN="#"
39530 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
39531 COND_WXUSE_EXPAT_BUILTIN=""
39532 fi
39533
39534 COND_WXUSE_LIBJPEG_BUILTIN="#"
39535 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39536 COND_WXUSE_LIBJPEG_BUILTIN=""
39537 fi
39538
39539 COND_WXUSE_LIBPNG_BUILTIN="#"
39540 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39541 COND_WXUSE_LIBPNG_BUILTIN=""
39542 fi
39543
39544 COND_WXUSE_LIBTIFF_BUILTIN="#"
39545 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39546 COND_WXUSE_LIBTIFF_BUILTIN=""
39547 fi
39548
39549 COND_WXUSE_ODBC_BUILTIN="#"
39550 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
39551 COND_WXUSE_ODBC_BUILTIN=""
39552 fi
39553
39554 COND_WXUSE_REGEX_BUILTIN="#"
39555 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
39556 COND_WXUSE_REGEX_BUILTIN=""
39557 fi
39558
39559 COND_WXUSE_ZLIB_BUILTIN="#"
39560 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
39561 COND_WXUSE_ZLIB_BUILTIN=""
39562 fi
39563
39564
39565
39566
39567
39568 if test $GCC_PCH = 1 ; then
39569 CODE_GEN_FLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
39570 CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
39571 else
39572 case "${host}" in
39573 powerpc-*-darwin* )
39574 CODE_GEN_FLAGS="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
39575 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
39576 ;;
39577 esac
39578 fi
39579
39580
39581 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
39582
39583
39584
39585
39586
39587
39588
39589
39590
39591
39592
39593
39594
39595
39596
39597
39598
39599
39600
39601
39602
39603
39604
39605
39606
39607
39608
39609
39610
39611
39612
39613
39614
39615
39616
39617
39618
39619
39620
39621
39622
39623
39624
39625
39626
39627
39628
39629
39630
39631
39632
39633
39634
39635
39636
39637
39638
39639
39640
39641
39642
39643
39644
39645
39646
39647
39648
39649
39650
39651
39652
39653
39654
39655
39656
39657
39658
39659
39660
39661
39662
39663
39664
39665
39666
39667
39668
39669
39670
39671
39672
39673
39674
39675
39676
39677
39678
39679
39680
39681
39682 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
39683 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
39684 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
39685 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
39686 echo $ECHO_N "(cached) $ECHO_C" >&6
39687 else
39688 cat >conftest.make <<\_ACEOF
39689 all:
39690 @echo 'ac_maketemp="$(MAKE)"'
39691 _ACEOF
39692 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
39693 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
39694 if test -n "$ac_maketemp"; then
39695 eval ac_cv_prog_make_${ac_make}_set=yes
39696 else
39697 eval ac_cv_prog_make_${ac_make}_set=no
39698 fi
39699 rm -f conftest.make
39700 fi
39701 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
39702 echo "$as_me:$LINENO: result: yes" >&5
39703 echo "${ECHO_T}yes" >&6
39704 SET_MAKE=
39705 else
39706 echo "$as_me:$LINENO: result: no" >&5
39707 echo "${ECHO_T}no" >&6
39708 SET_MAKE="MAKE=${MAKE-make}"
39709 fi
39710
39711
39712 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
39713 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
39714 fi
39715
39716 ac_config_headers="$ac_config_headers setup.h"
39717
39718
39719 ac_config_files="$ac_config_files wx-config version-script Makefile"
39720
39721
39722 ac_config_commands="$ac_config_commands default"
39723
39724
39725
39726 if test "$wxUSE_GUI" = "yes"; then
39727 SUBDIRS="samples demos utils contrib"
39728 else SUBDIRS="samples utils"
39729 fi
39730
39731
39732
39733 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
39734 if test "${with_cppunit_prefix+set}" = set; then
39735 withval="$with_cppunit_prefix"
39736 cppunit_config_prefix="$withval"
39737 else
39738 cppunit_config_prefix=""
39739 fi;
39740
39741 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
39742 if test "${with_cppunit_exec_prefix+set}" = set; then
39743 withval="$with_cppunit_exec_prefix"
39744 cppunit_config_exec_prefix="$withval"
39745 else
39746 cppunit_config_exec_prefix=""
39747 fi;
39748
39749 if test x$cppunit_config_exec_prefix != x ; then
39750 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
39751 if test x${CPPUNIT_CONFIG+set} != xset ; then
39752 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
39753 fi
39754 fi
39755 if test x$cppunit_config_prefix != x ; then
39756 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
39757 if test x${CPPUNIT_CONFIG+set} != xset ; then
39758 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
39759 fi
39760 fi
39761
39762 # Extract the first word of "cppunit-config", so it can be a program name with args.
39763 set dummy cppunit-config; ac_word=$2
39764 echo "$as_me:$LINENO: checking for $ac_word" >&5
39765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39766 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
39767 echo $ECHO_N "(cached) $ECHO_C" >&6
39768 else
39769 case $CPPUNIT_CONFIG in
39770 [\\/]* | ?:[\\/]*)
39771 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
39772 ;;
39773 *)
39774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39775 for as_dir in $PATH
39776 do
39777 IFS=$as_save_IFS
39778 test -z "$as_dir" && as_dir=.
39779 for ac_exec_ext in '' $ac_executable_extensions; do
39780 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39781 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
39782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39783 break 2
39784 fi
39785 done
39786 done
39787
39788 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
39789 ;;
39790 esac
39791 fi
39792 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
39793
39794 if test -n "$CPPUNIT_CONFIG"; then
39795 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
39796 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
39797 else
39798 echo "$as_me:$LINENO: result: no" >&5
39799 echo "${ECHO_T}no" >&6
39800 fi
39801
39802 cppunit_version_min=1.8.0
39803
39804 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
39805 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
39806 no_cppunit=""
39807 if test "$CPPUNIT_CONFIG" = "no" ; then
39808 no_cppunit=yes
39809 else
39810 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
39811 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
39812 cppunit_version=`$CPPUNIT_CONFIG --version`
39813
39814 cppunit_major_version=`echo $cppunit_version | \
39815 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
39816 cppunit_minor_version=`echo $cppunit_version | \
39817 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
39818 cppunit_micro_version=`echo $cppunit_version | \
39819 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
39820
39821 cppunit_major_min=`echo $cppunit_version_min | \
39822 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
39823 cppunit_minor_min=`echo $cppunit_version_min | \
39824 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
39825 cppunit_micro_min=`echo $cppunit_version_min | \
39826 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
39827
39828 cppunit_version_proper=`expr \
39829 $cppunit_major_version \> $cppunit_major_min \| \
39830 $cppunit_major_version \= $cppunit_major_min \& \
39831 $cppunit_minor_version \> $cppunit_minor_min \| \
39832 $cppunit_major_version \= $cppunit_major_min \& \
39833 $cppunit_minor_version \= $cppunit_minor_min \& \
39834 $cppunit_micro_version \>= $cppunit_micro_min `
39835
39836 if test "$cppunit_version_proper" = "1" ; then
39837 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
39838 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
39839 else
39840 echo "$as_me:$LINENO: result: no" >&5
39841 echo "${ECHO_T}no" >&6
39842 no_cppunit=yes
39843 fi
39844 fi
39845
39846 if test "x$no_cppunit" = x ; then
39847 SUBDIRS="$SUBDIRS tests"
39848 else
39849 CPPUNIT_CFLAGS=""
39850 CPPUNIT_LIBS=""
39851 :
39852 fi
39853
39854
39855
39856
39857
39858 for subdir in `echo $SUBDIRS`; do
39859 if test -d ${srcdir}/${subdir} ; then
39860 if test "$wxUSE_GUI" = "yes"; then
39861 if test ${subdir} = "samples"; then
39862 makefiles="samples/Makefile.in $makefiles"
39863 for sample in `echo $SAMPLES_SUBDIRS`; do
39864 if test -d $srcdir/samples/$sample; then
39865 makefiles="samples/$sample/Makefile.in $makefiles"
39866 fi
39867 done
39868 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
39869 fi
39870 else if test ${subdir} = "samples"; then
39871 makefiles="samples/Makefile.in samples/console/Makefile.in"
39872 elif test ${subdir} = "utils"; then
39873 makefiles="utils/HelpGen/Makefile.in \
39874 utils/HelpGen/src/Makefile.in \
39875 utils/tex2rtf/Makefile.in \
39876 utils/tex2rtf/src/Makefile.in"
39877 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
39878 fi
39879 fi
39880
39881 for mkin in $makefiles ; do
39882 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
39883 ac_config_files="$ac_config_files $mk"
39884
39885 done
39886 fi
39887 done
39888
39889
39890 cat >confcache <<\_ACEOF
39891 # This file is a shell script that caches the results of configure
39892 # tests run on this system so they can be shared between configure
39893 # scripts and configure runs, see configure's option --config-cache.
39894 # It is not useful on other systems. If it contains results you don't
39895 # want to keep, you may remove or edit it.
39896 #
39897 # config.status only pays attention to the cache file if you give it
39898 # the --recheck option to rerun configure.
39899 #
39900 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39901 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39902 # following values.
39903
39904 _ACEOF
39905
39906 # The following way of writing the cache mishandles newlines in values,
39907 # but we know of no workaround that is simple, portable, and efficient.
39908 # So, don't put newlines in cache variables' values.
39909 # Ultrix sh set writes to stderr and can't be redirected directly,
39910 # and sets the high bit in the cache file unless we assign to the vars.
39911 {
39912 (set) 2>&1 |
39913 case `(ac_space=' '; set | grep ac_space) 2>&1` in
39914 *ac_space=\ *)
39915 # `set' does not quote correctly, so add quotes (double-quote
39916 # substitution turns \\\\ into \\, and sed turns \\ into \).
39917 sed -n \
39918 "s/'/'\\\\''/g;
39919 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39920 ;;
39921 *)
39922 # `set' quotes correctly as required by POSIX, so do not add quotes.
39923 sed -n \
39924 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39925 ;;
39926 esac;
39927 } |
39928 sed '
39929 t clear
39930 : clear
39931 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39932 t end
39933 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39934 : end' >>confcache
39935 if diff $cache_file confcache >/dev/null 2>&1; then :; else
39936 if test -w $cache_file; then
39937 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39938 cat confcache >$cache_file
39939 else
39940 echo "not updating unwritable cache $cache_file"
39941 fi
39942 fi
39943 rm -f confcache
39944
39945 test "x$prefix" = xNONE && prefix=$ac_default_prefix
39946 # Let make expand exec_prefix.
39947 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
39948
39949 # VPATH may cause trouble with some makes, so we remove $(srcdir),
39950 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
39951 # trailing colons and then remove the whole line if VPATH becomes empty
39952 # (actually we leave an empty line to preserve line numbers).
39953 if test "x$srcdir" = x.; then
39954 ac_vpsub='/^[ ]*VPATH[ ]*=/{
39955 s/:*\$(srcdir):*/:/;
39956 s/:*\${srcdir}:*/:/;
39957 s/:*@srcdir@:*/:/;
39958 s/^\([^=]*=[ ]*\):*/\1/;
39959 s/:*$//;
39960 s/^[^=]*=[ ]*$//;
39961 }'
39962 fi
39963
39964 DEFS=-DHAVE_CONFIG_H
39965
39966 ac_libobjs=
39967 ac_ltlibobjs=
39968 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
39969 # 1. Remove the extension, and $U if already installed.
39970 ac_i=`echo "$ac_i" |
39971 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
39972 # 2. Add them.
39973 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
39974 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
39975 done
39976 LIBOBJS=$ac_libobjs
39977
39978 LTLIBOBJS=$ac_ltlibobjs
39979
39980
39981
39982 : ${CONFIG_STATUS=./config.status}
39983 ac_clean_files_save=$ac_clean_files
39984 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
39985 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
39986 echo "$as_me: creating $CONFIG_STATUS" >&6;}
39987 cat >$CONFIG_STATUS <<_ACEOF
39988 #! $SHELL
39989 # Generated by $as_me.
39990 # Run this file to recreate the current configuration.
39991 # Compiler output produced by configure, useful for debugging
39992 # configure, is in config.log if it exists.
39993
39994 debug=false
39995 ac_cs_recheck=false
39996 ac_cs_silent=false
39997 SHELL=\${CONFIG_SHELL-$SHELL}
39998 _ACEOF
39999
40000 cat >>$CONFIG_STATUS <<\_ACEOF
40001 ## --------------------- ##
40002 ## M4sh Initialization. ##
40003 ## --------------------- ##
40004
40005 # Be Bourne compatible
40006 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
40007 emulate sh
40008 NULLCMD=:
40009 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
40010 # is contrary to our usage. Disable this feature.
40011 alias -g '${1+"$@"}'='"$@"'
40012 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
40013 set -o posix
40014 fi
40015 DUALCASE=1; export DUALCASE # for MKS sh
40016
40017 # Support unset when possible.
40018 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
40019 as_unset=unset
40020 else
40021 as_unset=false
40022 fi
40023
40024
40025 # Work around bugs in pre-3.0 UWIN ksh.
40026 $as_unset ENV MAIL MAILPATH
40027 PS1='$ '
40028 PS2='> '
40029 PS4='+ '
40030
40031 # NLS nuisances.
40032 for as_var in \
40033 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
40034 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
40035 LC_TELEPHONE LC_TIME
40036 do
40037 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
40038 eval $as_var=C; export $as_var
40039 else
40040 $as_unset $as_var
40041 fi
40042 done
40043
40044 # Required to use basename.
40045 if expr a : '\(a\)' >/dev/null 2>&1; then
40046 as_expr=expr
40047 else
40048 as_expr=false
40049 fi
40050
40051 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
40052 as_basename=basename
40053 else
40054 as_basename=false
40055 fi
40056
40057
40058 # Name of the executable.
40059 as_me=`$as_basename "$0" ||
40060 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
40061 X"$0" : 'X\(//\)$' \| \
40062 X"$0" : 'X\(/\)$' \| \
40063 . : '\(.\)' 2>/dev/null ||
40064 echo X/"$0" |
40065 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
40066 /^X\/\(\/\/\)$/{ s//\1/; q; }
40067 /^X\/\(\/\).*/{ s//\1/; q; }
40068 s/.*/./; q'`
40069
40070
40071 # PATH needs CR, and LINENO needs CR and PATH.
40072 # Avoid depending upon Character Ranges.
40073 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
40074 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
40075 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40076 as_cr_digits='0123456789'
40077 as_cr_alnum=$as_cr_Letters$as_cr_digits
40078
40079 # The user is always right.
40080 if test "${PATH_SEPARATOR+set}" != set; then
40081 echo "#! /bin/sh" >conf$$.sh
40082 echo "exit 0" >>conf$$.sh
40083 chmod +x conf$$.sh
40084 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
40085 PATH_SEPARATOR=';'
40086 else
40087 PATH_SEPARATOR=:
40088 fi
40089 rm -f conf$$.sh
40090 fi
40091
40092
40093 as_lineno_1=$LINENO
40094 as_lineno_2=$LINENO
40095 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
40096 test "x$as_lineno_1" != "x$as_lineno_2" &&
40097 test "x$as_lineno_3" = "x$as_lineno_2" || {
40098 # Find who we are. Look in the path if we contain no path at all
40099 # relative or not.
40100 case $0 in
40101 *[\\/]* ) as_myself=$0 ;;
40102 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40103 for as_dir in $PATH
40104 do
40105 IFS=$as_save_IFS
40106 test -z "$as_dir" && as_dir=.
40107 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
40108 done
40109
40110 ;;
40111 esac
40112 # We did not find ourselves, most probably we were run as `sh COMMAND'
40113 # in which case we are not to be found in the path.
40114 if test "x$as_myself" = x; then
40115 as_myself=$0
40116 fi
40117 if test ! -f "$as_myself"; then
40118 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
40119 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
40120 { (exit 1); exit 1; }; }
40121 fi
40122 case $CONFIG_SHELL in
40123 '')
40124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40125 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
40126 do
40127 IFS=$as_save_IFS
40128 test -z "$as_dir" && as_dir=.
40129 for as_base in sh bash ksh sh5; do
40130 case $as_dir in
40131 /*)
40132 if ("$as_dir/$as_base" -c '
40133 as_lineno_1=$LINENO
40134 as_lineno_2=$LINENO
40135 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
40136 test "x$as_lineno_1" != "x$as_lineno_2" &&
40137 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
40138 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
40139 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
40140 CONFIG_SHELL=$as_dir/$as_base
40141 export CONFIG_SHELL
40142 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
40143 fi;;
40144 esac
40145 done
40146 done
40147 ;;
40148 esac
40149
40150 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
40151 # uniformly replaced by the line number. The first 'sed' inserts a
40152 # line-number line before each line; the second 'sed' does the real
40153 # work. The second script uses 'N' to pair each line-number line
40154 # with the numbered line, and appends trailing '-' during
40155 # substitution so that $LINENO is not a special case at line end.
40156 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
40157 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
40158 sed '=' <$as_myself |
40159 sed '
40160 N
40161 s,$,-,
40162 : loop
40163 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
40164 t loop
40165 s,-$,,
40166 s,^['$as_cr_digits']*\n,,
40167 ' >$as_me.lineno &&
40168 chmod +x $as_me.lineno ||
40169 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
40170 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
40171 { (exit 1); exit 1; }; }
40172
40173 # Don't try to exec as it changes $[0], causing all sort of problems
40174 # (the dirname of $[0] is not the place where we might find the
40175 # original and so on. Autoconf is especially sensible to this).
40176 . ./$as_me.lineno
40177 # Exit status is that of the last command.
40178 exit
40179 }
40180
40181
40182 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
40183 *c*,-n*) ECHO_N= ECHO_C='
40184 ' ECHO_T=' ' ;;
40185 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
40186 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
40187 esac
40188
40189 if expr a : '\(a\)' >/dev/null 2>&1; then
40190 as_expr=expr
40191 else
40192 as_expr=false
40193 fi
40194
40195 rm -f conf$$ conf$$.exe conf$$.file
40196 echo >conf$$.file
40197 if ln -s conf$$.file conf$$ 2>/dev/null; then
40198 # We could just check for DJGPP; but this test a) works b) is more generic
40199 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
40200 if test -f conf$$.exe; then
40201 # Don't use ln at all; we don't have any links
40202 as_ln_s='cp -p'
40203 else
40204 as_ln_s='ln -s'
40205 fi
40206 elif ln conf$$.file conf$$ 2>/dev/null; then
40207 as_ln_s=ln
40208 else
40209 as_ln_s='cp -p'
40210 fi
40211 rm -f conf$$ conf$$.exe conf$$.file
40212
40213 if mkdir -p . 2>/dev/null; then
40214 as_mkdir_p=:
40215 else
40216 test -d ./-p && rmdir ./-p
40217 as_mkdir_p=false
40218 fi
40219
40220 as_executable_p="test -f"
40221
40222 # Sed expression to map a string onto a valid CPP name.
40223 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
40224
40225 # Sed expression to map a string onto a valid variable name.
40226 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
40227
40228
40229 # IFS
40230 # We need space, tab and new line, in precisely that order.
40231 as_nl='
40232 '
40233 IFS=" $as_nl"
40234
40235 # CDPATH.
40236 $as_unset CDPATH
40237
40238 exec 6>&1
40239
40240 # Open the log real soon, to keep \$[0] and so on meaningful, and to
40241 # report actual input values of CONFIG_FILES etc. instead of their
40242 # values after options handling. Logging --version etc. is OK.
40243 exec 5>>config.log
40244 {
40245 echo
40246 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
40247 ## Running $as_me. ##
40248 _ASBOX
40249 } >&5
40250 cat >&5 <<_CSEOF
40251
40252 This file was extended by wxWindows $as_me 2.5.1, which was
40253 generated by GNU Autoconf 2.59. Invocation command line was
40254
40255 CONFIG_FILES = $CONFIG_FILES
40256 CONFIG_HEADERS = $CONFIG_HEADERS
40257 CONFIG_LINKS = $CONFIG_LINKS
40258 CONFIG_COMMANDS = $CONFIG_COMMANDS
40259 $ $0 $@
40260
40261 _CSEOF
40262 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
40263 echo >&5
40264 _ACEOF
40265
40266 # Files that config.status was made for.
40267 if test -n "$ac_config_files"; then
40268 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
40269 fi
40270
40271 if test -n "$ac_config_headers"; then
40272 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
40273 fi
40274
40275 if test -n "$ac_config_links"; then
40276 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
40277 fi
40278
40279 if test -n "$ac_config_commands"; then
40280 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
40281 fi
40282
40283 cat >>$CONFIG_STATUS <<\_ACEOF
40284
40285 ac_cs_usage="\
40286 \`$as_me' instantiates files from templates according to the
40287 current configuration.
40288
40289 Usage: $0 [OPTIONS] [FILE]...
40290
40291 -h, --help print this help, then exit
40292 -V, --version print version number, then exit
40293 -q, --quiet do not print progress messages
40294 -d, --debug don't remove temporary files
40295 --recheck update $as_me by reconfiguring in the same conditions
40296 --file=FILE[:TEMPLATE]
40297 instantiate the configuration file FILE
40298 --header=FILE[:TEMPLATE]
40299 instantiate the configuration header FILE
40300
40301 Configuration files:
40302 $config_files
40303
40304 Configuration headers:
40305 $config_headers
40306
40307 Configuration commands:
40308 $config_commands
40309
40310 Report bugs to <bug-autoconf@gnu.org>."
40311 _ACEOF
40312
40313 cat >>$CONFIG_STATUS <<_ACEOF
40314 ac_cs_version="\\
40315 wxWindows config.status 2.5.1
40316 configured by $0, generated by GNU Autoconf 2.59,
40317 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
40318
40319 Copyright (C) 2003 Free Software Foundation, Inc.
40320 This config.status script is free software; the Free Software Foundation
40321 gives unlimited permission to copy, distribute and modify it."
40322 srcdir=$srcdir
40323 INSTALL="$INSTALL"
40324 _ACEOF
40325
40326 cat >>$CONFIG_STATUS <<\_ACEOF
40327 # If no file are specified by the user, then we need to provide default
40328 # value. By we need to know if files were specified by the user.
40329 ac_need_defaults=:
40330 while test $# != 0
40331 do
40332 case $1 in
40333 --*=*)
40334 ac_option=`expr "x$1" : 'x\([^=]*\)='`
40335 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
40336 ac_shift=:
40337 ;;
40338 -*)
40339 ac_option=$1
40340 ac_optarg=$2
40341 ac_shift=shift
40342 ;;
40343 *) # This is not an option, so the user has probably given explicit
40344 # arguments.
40345 ac_option=$1
40346 ac_need_defaults=false;;
40347 esac
40348
40349 case $ac_option in
40350 # Handling of the options.
40351 _ACEOF
40352 cat >>$CONFIG_STATUS <<\_ACEOF
40353 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
40354 ac_cs_recheck=: ;;
40355 --version | --vers* | -V )
40356 echo "$ac_cs_version"; exit 0 ;;
40357 --he | --h)
40358 # Conflict between --help and --header
40359 { { echo "$as_me:$LINENO: error: ambiguous option: $1
40360 Try \`$0 --help' for more information." >&5
40361 echo "$as_me: error: ambiguous option: $1
40362 Try \`$0 --help' for more information." >&2;}
40363 { (exit 1); exit 1; }; };;
40364 --help | --hel | -h )
40365 echo "$ac_cs_usage"; exit 0 ;;
40366 --debug | --d* | -d )
40367 debug=: ;;
40368 --file | --fil | --fi | --f )
40369 $ac_shift
40370 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
40371 ac_need_defaults=false;;
40372 --header | --heade | --head | --hea )
40373 $ac_shift
40374 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
40375 ac_need_defaults=false;;
40376 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
40377 | -silent | --silent | --silen | --sile | --sil | --si | --s)
40378 ac_cs_silent=: ;;
40379
40380 # This is an error.
40381 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
40382 Try \`$0 --help' for more information." >&5
40383 echo "$as_me: error: unrecognized option: $1
40384 Try \`$0 --help' for more information." >&2;}
40385 { (exit 1); exit 1; }; } ;;
40386
40387 *) ac_config_targets="$ac_config_targets $1" ;;
40388
40389 esac
40390 shift
40391 done
40392
40393 ac_configure_extra_args=
40394
40395 if $ac_cs_silent; then
40396 exec 6>/dev/null
40397 ac_configure_extra_args="$ac_configure_extra_args --silent"
40398 fi
40399
40400 _ACEOF
40401 cat >>$CONFIG_STATUS <<_ACEOF
40402 if \$ac_cs_recheck; then
40403 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
40404 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
40405 fi
40406
40407 _ACEOF
40408
40409 cat >>$CONFIG_STATUS <<_ACEOF
40410 #
40411 # INIT-COMMANDS section.
40412 #
40413
40414
40415 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
40416 LN_S="${LN_S}"
40417
40418
40419
40420 _ACEOF
40421
40422
40423
40424 cat >>$CONFIG_STATUS <<\_ACEOF
40425 for ac_config_target in $ac_config_targets
40426 do
40427 case "$ac_config_target" in
40428 # Handling of arguments.
40429 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
40430 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
40431 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
40432 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
40433 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
40434 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
40435 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
40436 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
40437 { (exit 1); exit 1; }; };;
40438 esac
40439 done
40440
40441 # If the user did not use the arguments to specify the items to instantiate,
40442 # then the envvar interface is used. Set only those that are not.
40443 # We use the long form for the default assignment because of an extremely
40444 # bizarre bug on SunOS 4.1.3.
40445 if $ac_need_defaults; then
40446 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
40447 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
40448 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
40449 fi
40450
40451 # Have a temporary directory for convenience. Make it in the build tree
40452 # simply because there is no reason to put it here, and in addition,
40453 # creating and moving files from /tmp can sometimes cause problems.
40454 # Create a temporary directory, and hook for its removal unless debugging.
40455 $debug ||
40456 {
40457 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
40458 trap '{ (exit 1); exit 1; }' 1 2 13 15
40459 }
40460
40461 # Create a (secure) tmp directory for tmp files.
40462
40463 {
40464 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
40465 test -n "$tmp" && test -d "$tmp"
40466 } ||
40467 {
40468 tmp=./confstat$$-$RANDOM
40469 (umask 077 && mkdir $tmp)
40470 } ||
40471 {
40472 echo "$me: cannot create a temporary directory in ." >&2
40473 { (exit 1); exit 1; }
40474 }
40475
40476 _ACEOF
40477
40478 cat >>$CONFIG_STATUS <<_ACEOF
40479
40480 #
40481 # CONFIG_FILES section.
40482 #
40483
40484 # No need to generate the scripts if there are no CONFIG_FILES.
40485 # This happens for instance when ./config.status config.h
40486 if test -n "\$CONFIG_FILES"; then
40487 # Protect against being on the right side of a sed subst in config.status.
40488 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
40489 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
40490 s,@SHELL@,$SHELL,;t t
40491 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
40492 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
40493 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
40494 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
40495 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
40496 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
40497 s,@exec_prefix@,$exec_prefix,;t t
40498 s,@prefix@,$prefix,;t t
40499 s,@program_transform_name@,$program_transform_name,;t t
40500 s,@bindir@,$bindir,;t t
40501 s,@sbindir@,$sbindir,;t t
40502 s,@libexecdir@,$libexecdir,;t t
40503 s,@datadir@,$datadir,;t t
40504 s,@sysconfdir@,$sysconfdir,;t t
40505 s,@sharedstatedir@,$sharedstatedir,;t t
40506 s,@localstatedir@,$localstatedir,;t t
40507 s,@libdir@,$libdir,;t t
40508 s,@includedir@,$includedir,;t t
40509 s,@oldincludedir@,$oldincludedir,;t t
40510 s,@infodir@,$infodir,;t t
40511 s,@mandir@,$mandir,;t t
40512 s,@build_alias@,$build_alias,;t t
40513 s,@host_alias@,$host_alias,;t t
40514 s,@target_alias@,$target_alias,;t t
40515 s,@DEFS@,$DEFS,;t t
40516 s,@ECHO_C@,$ECHO_C,;t t
40517 s,@ECHO_N@,$ECHO_N,;t t
40518 s,@ECHO_T@,$ECHO_T,;t t
40519 s,@LIBS@,$LIBS,;t t
40520 s,@build@,$build,;t t
40521 s,@build_cpu@,$build_cpu,;t t
40522 s,@build_vendor@,$build_vendor,;t t
40523 s,@build_os@,$build_os,;t t
40524 s,@host@,$host,;t t
40525 s,@host_cpu@,$host_cpu,;t t
40526 s,@host_vendor@,$host_vendor,;t t
40527 s,@host_os@,$host_os,;t t
40528 s,@target@,$target,;t t
40529 s,@target_cpu@,$target_cpu,;t t
40530 s,@target_vendor@,$target_vendor,;t t
40531 s,@target_os@,$target_os,;t t
40532 s,@CC@,$CC,;t t
40533 s,@CFLAGS@,$CFLAGS,;t t
40534 s,@LDFLAGS@,$LDFLAGS,;t t
40535 s,@CPPFLAGS@,$CPPFLAGS,;t t
40536 s,@ac_ct_CC@,$ac_ct_CC,;t t
40537 s,@EXEEXT@,$EXEEXT,;t t
40538 s,@OBJEXT@,$OBJEXT,;t t
40539 s,@CPP@,$CPP,;t t
40540 s,@EGREP@,$EGREP,;t t
40541 s,@CXX@,$CXX,;t t
40542 s,@CXXFLAGS@,$CXXFLAGS,;t t
40543 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
40544 s,@RANLIB@,$RANLIB,;t t
40545 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
40546 s,@AR@,$AR,;t t
40547 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
40548 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
40549 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
40550 s,@STRIP@,$STRIP,;t t
40551 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
40552 s,@LN_S@,$LN_S,;t t
40553 s,@CXXCPP@,$CXXCPP,;t t
40554 s,@subdirs@,$subdirs,;t t
40555 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
40556 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
40557 s,@GTK_LIBS@,$GTK_LIBS,;t t
40558 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
40559 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
40560 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
40561 s,@X_CFLAGS@,$X_CFLAGS,;t t
40562 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
40563 s,@X_LIBS@,$X_LIBS,;t t
40564 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
40565 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
40566 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
40567 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
40568 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
40569 s,@RESCOMP@,$RESCOMP,;t t
40570 s,@DEREZ@,$DEREZ,;t t
40571 s,@SETFILE@,$SETFILE,;t t
40572 s,@LIBICONV@,$LIBICONV,;t t
40573 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
40574 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
40575 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
40576 s,@SDL_LIBS@,$SDL_LIBS,;t t
40577 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
40578 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
40579 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
40580 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
40581 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
40582 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
40583 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
40584 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
40585 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
40586 s,@VENDOR@,$VENDOR,;t t
40587 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
40588 s,@WXUNIV@,$WXUNIV,;t t
40589 s,@MONOLITHIC@,$MONOLITHIC,;t t
40590 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
40591 s,@EXTRALIBS@,$EXTRALIBS,;t t
40592 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
40593 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
40594 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
40595 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
40596 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
40597 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
40598 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
40599 s,@UNICODE@,$UNICODE,;t t
40600 s,@BUILD@,$BUILD,;t t
40601 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
40602 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
40603 s,@SHARED@,$SHARED,;t t
40604 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
40605 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
40606 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
40607 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
40608 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
40609 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
40610 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
40611 s,@SET_MAKE@,$SET_MAKE,;t t
40612 s,@MAKE_SET@,$MAKE_SET,;t t
40613 s,@ac_ct_AR@,$ac_ct_AR,;t t
40614 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
40615 s,@NM@,$NM,;t t
40616 s,@ac_ct_NM@,$ac_ct_NM,;t t
40617 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
40618 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
40619 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
40620 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
40621 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
40622 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
40623 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
40624 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
40625 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
40626 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
40627 s,@LIBPREFIX@,$LIBPREFIX,;t t
40628 s,@DLLPREFIX@,$DLLPREFIX,;t t
40629 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
40630 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
40631 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
40632 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
40633 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
40634 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
40635 s,@PIC_FLAG@,$PIC_FLAG,;t t
40636 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
40637 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
40638 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
40639 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
40640 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
40641 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
40642 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
40643 s,@GCC_PCH@,$GCC_PCH,;t t
40644 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
40645 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
40646 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
40647 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
40648 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
40649 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
40650 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
40651 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
40652 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
40653 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
40654 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
40655 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
40656 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
40657 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
40658 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
40659 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
40660 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
40661 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
40662 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
40663 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
40664 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
40665 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
40666 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
40667 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
40668 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
40669 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
40670 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
40671 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
40672 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
40673 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
40674 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
40675 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
40676 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
40677 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
40678 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
40679 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
40680 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
40681 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
40682 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
40683 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
40684 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
40685 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
40686 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
40687 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
40688 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
40689 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
40690 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
40691 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
40692 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
40693 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
40694 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
40695 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
40696 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
40697 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
40698 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
40699 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
40700 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
40701 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
40702 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
40703 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
40704 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
40705 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
40706 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
40707 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
40708 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
40709 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
40710 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
40711 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
40712 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
40713 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
40714 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
40715 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
40716 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
40717 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
40718 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
40719 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
40720 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
40721 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
40722 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
40723 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
40724 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
40725 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
40726 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
40727 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
40728 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
40729 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
40730 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
40731 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
40732 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
40733 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
40734 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
40735 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
40736 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
40737 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
40738 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
40739 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
40740 s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
40741 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
40742 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
40743 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
40744 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
40745 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
40746 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
40747 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
40748 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
40749 s,@PATH_IFS@,$PATH_IFS,;t t
40750 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
40751 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
40752 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
40753 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
40754 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
40755 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
40756 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
40757 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
40758 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
40759 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
40760 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
40761 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
40762 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
40763 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
40764 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
40765 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
40766 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
40767 s,@WX_ALL@,$WX_ALL,;t t
40768 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
40769 s,@SHARED_LD@,$SHARED_LD,;t t
40770 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
40771 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
40772 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
40773 s,@USE_GUI@,$USE_GUI,;t t
40774 s,@AFMINSTALL@,$AFMINSTALL,;t t
40775 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
40776 s,@TOOLKIT@,$TOOLKIT,;t t
40777 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
40778 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
40779 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
40780 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
40781 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
40782 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
40783 s,@cross_compiling@,$cross_compiling,;t t
40784 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
40785 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
40786 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
40787 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
40788 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
40789 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
40790 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
40791 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
40792 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
40793 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
40794 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
40795 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
40796 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
40797 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
40798 s,@GUIDIST@,$GUIDIST,;t t
40799 s,@PORT_FILES@,$PORT_FILES,;t t
40800 s,@DISTDIR@,$DISTDIR,;t t
40801 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
40802 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
40803 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
40804 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
40805 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
40806 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
40807 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
40808 s,@RESFLAGS@,$RESFLAGS,;t t
40809 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
40810 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
40811 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
40812 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
40813 s,@MACRESCOMP@,$MACRESCOMP,;t t
40814 s,@MACSETFILE@,$MACSETFILE,;t t
40815 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
40816 s,@GCC@,$GCC,;t t
40817 s,@GCC_SEARCHES_USR_LOCAL_INCLUDE@,$GCC_SEARCHES_USR_LOCAL_INCLUDE,;t t
40818 s,@DLLTOOL@,$DLLTOOL,;t t
40819 s,@AS@,$AS,;t t
40820 s,@LD@,$LD,;t t
40821 s,@MAKEINFO@,$MAKEINFO,;t t
40822 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
40823 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
40824 s,@LIBOBJS@,$LIBOBJS,;t t
40825 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
40826 CEOF
40827
40828 _ACEOF
40829
40830 cat >>$CONFIG_STATUS <<\_ACEOF
40831 # Split the substitutions into bite-sized pieces for seds with
40832 # small command number limits, like on Digital OSF/1 and HP-UX.
40833 ac_max_sed_lines=48
40834 ac_sed_frag=1 # Number of current file.
40835 ac_beg=1 # First line for current file.
40836 ac_end=$ac_max_sed_lines # Line after last line for current file.
40837 ac_more_lines=:
40838 ac_sed_cmds=
40839 while $ac_more_lines; do
40840 if test $ac_beg -gt 1; then
40841 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
40842 else
40843 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
40844 fi
40845 if test ! -s $tmp/subs.frag; then
40846 ac_more_lines=false
40847 else
40848 # The purpose of the label and of the branching condition is to
40849 # speed up the sed processing (if there are no `@' at all, there
40850 # is no need to browse any of the substitutions).
40851 # These are the two extra sed commands mentioned above.
40852 (echo ':t
40853 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
40854 if test -z "$ac_sed_cmds"; then
40855 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
40856 else
40857 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
40858 fi
40859 ac_sed_frag=`expr $ac_sed_frag + 1`
40860 ac_beg=$ac_end
40861 ac_end=`expr $ac_end + $ac_max_sed_lines`
40862 fi
40863 done
40864 if test -z "$ac_sed_cmds"; then
40865 ac_sed_cmds=cat
40866 fi
40867 fi # test -n "$CONFIG_FILES"
40868
40869 _ACEOF
40870 cat >>$CONFIG_STATUS <<\_ACEOF
40871 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
40872 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
40873 case $ac_file in
40874 - | *:- | *:-:* ) # input from stdin
40875 cat >$tmp/stdin
40876 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
40877 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
40878 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
40879 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
40880 * ) ac_file_in=$ac_file.in ;;
40881 esac
40882
40883 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
40884 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
40885 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40886 X"$ac_file" : 'X\(//\)[^/]' \| \
40887 X"$ac_file" : 'X\(//\)$' \| \
40888 X"$ac_file" : 'X\(/\)' \| \
40889 . : '\(.\)' 2>/dev/null ||
40890 echo X"$ac_file" |
40891 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40892 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40893 /^X\(\/\/\)$/{ s//\1/; q; }
40894 /^X\(\/\).*/{ s//\1/; q; }
40895 s/.*/./; q'`
40896 { if $as_mkdir_p; then
40897 mkdir -p "$ac_dir"
40898 else
40899 as_dir="$ac_dir"
40900 as_dirs=
40901 while test ! -d "$as_dir"; do
40902 as_dirs="$as_dir $as_dirs"
40903 as_dir=`(dirname "$as_dir") 2>/dev/null ||
40904 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40905 X"$as_dir" : 'X\(//\)[^/]' \| \
40906 X"$as_dir" : 'X\(//\)$' \| \
40907 X"$as_dir" : 'X\(/\)' \| \
40908 . : '\(.\)' 2>/dev/null ||
40909 echo X"$as_dir" |
40910 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40911 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40912 /^X\(\/\/\)$/{ s//\1/; q; }
40913 /^X\(\/\).*/{ s//\1/; q; }
40914 s/.*/./; q'`
40915 done
40916 test ! -n "$as_dirs" || mkdir $as_dirs
40917 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40918 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40919 { (exit 1); exit 1; }; }; }
40920
40921 ac_builddir=.
40922
40923 if test "$ac_dir" != .; then
40924 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
40925 # A "../" for each directory in $ac_dir_suffix.
40926 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
40927 else
40928 ac_dir_suffix= ac_top_builddir=
40929 fi
40930
40931 case $srcdir in
40932 .) # No --srcdir option. We are building in place.
40933 ac_srcdir=.
40934 if test -z "$ac_top_builddir"; then
40935 ac_top_srcdir=.
40936 else
40937 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
40938 fi ;;
40939 [\\/]* | ?:[\\/]* ) # Absolute path.
40940 ac_srcdir=$srcdir$ac_dir_suffix;
40941 ac_top_srcdir=$srcdir ;;
40942 *) # Relative path.
40943 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
40944 ac_top_srcdir=$ac_top_builddir$srcdir ;;
40945 esac
40946
40947 # Do not use `cd foo && pwd` to compute absolute paths, because
40948 # the directories may not exist.
40949 case `pwd` in
40950 .) ac_abs_builddir="$ac_dir";;
40951 *)
40952 case "$ac_dir" in
40953 .) ac_abs_builddir=`pwd`;;
40954 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
40955 *) ac_abs_builddir=`pwd`/"$ac_dir";;
40956 esac;;
40957 esac
40958 case $ac_abs_builddir in
40959 .) ac_abs_top_builddir=${ac_top_builddir}.;;
40960 *)
40961 case ${ac_top_builddir}. in
40962 .) ac_abs_top_builddir=$ac_abs_builddir;;
40963 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
40964 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
40965 esac;;
40966 esac
40967 case $ac_abs_builddir in
40968 .) ac_abs_srcdir=$ac_srcdir;;
40969 *)
40970 case $ac_srcdir in
40971 .) ac_abs_srcdir=$ac_abs_builddir;;
40972 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
40973 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
40974 esac;;
40975 esac
40976 case $ac_abs_builddir in
40977 .) ac_abs_top_srcdir=$ac_top_srcdir;;
40978 *)
40979 case $ac_top_srcdir in
40980 .) ac_abs_top_srcdir=$ac_abs_builddir;;
40981 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
40982 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
40983 esac;;
40984 esac
40985
40986
40987 case $INSTALL in
40988 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
40989 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
40990 esac
40991
40992 # Let's still pretend it is `configure' which instantiates (i.e., don't
40993 # use $as_me), people would be surprised to read:
40994 # /* config.h. Generated by config.status. */
40995 if test x"$ac_file" = x-; then
40996 configure_input=
40997 else
40998 configure_input="$ac_file. "
40999 fi
41000 configure_input=$configure_input"Generated from `echo $ac_file_in |
41001 sed 's,.*/,,'` by configure."
41002
41003 # First look for the input files in the build tree, otherwise in the
41004 # src tree.
41005 ac_file_inputs=`IFS=:
41006 for f in $ac_file_in; do
41007 case $f in
41008 -) echo $tmp/stdin ;;
41009 [\\/$]*)
41010 # Absolute (can't be DOS-style, as IFS=:)
41011 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41012 echo "$as_me: error: cannot find input file: $f" >&2;}
41013 { (exit 1); exit 1; }; }
41014 echo "$f";;
41015 *) # Relative
41016 if test -f "$f"; then
41017 # Build tree
41018 echo "$f"
41019 elif test -f "$srcdir/$f"; then
41020 # Source tree
41021 echo "$srcdir/$f"
41022 else
41023 # /dev/null tree
41024 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41025 echo "$as_me: error: cannot find input file: $f" >&2;}
41026 { (exit 1); exit 1; }; }
41027 fi;;
41028 esac
41029 done` || { (exit 1); exit 1; }
41030
41031 if test x"$ac_file" != x-; then
41032 { echo "$as_me:$LINENO: creating $ac_file" >&5
41033 echo "$as_me: creating $ac_file" >&6;}
41034 rm -f "$ac_file"
41035 fi
41036 _ACEOF
41037 cat >>$CONFIG_STATUS <<_ACEOF
41038 sed "$ac_vpsub
41039 $extrasub
41040 _ACEOF
41041 cat >>$CONFIG_STATUS <<\_ACEOF
41042 :t
41043 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
41044 s,@configure_input@,$configure_input,;t t
41045 s,@srcdir@,$ac_srcdir,;t t
41046 s,@abs_srcdir@,$ac_abs_srcdir,;t t
41047 s,@top_srcdir@,$ac_top_srcdir,;t t
41048 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
41049 s,@builddir@,$ac_builddir,;t t
41050 s,@abs_builddir@,$ac_abs_builddir,;t t
41051 s,@top_builddir@,$ac_top_builddir,;t t
41052 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
41053 s,@INSTALL@,$ac_INSTALL,;t t
41054 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
41055 rm -f $tmp/stdin
41056 if test x"$ac_file" != x-; then
41057 mv $tmp/out $ac_file
41058 else
41059 cat $tmp/out
41060 rm -f $tmp/out
41061 fi
41062
41063 done
41064 _ACEOF
41065 cat >>$CONFIG_STATUS <<\_ACEOF
41066
41067 #
41068 # CONFIG_HEADER section.
41069 #
41070
41071 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
41072 # NAME is the cpp macro being defined and VALUE is the value it is being given.
41073 #
41074 # ac_d sets the value in "#define NAME VALUE" lines.
41075 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
41076 ac_dB='[ ].*$,\1#\2'
41077 ac_dC=' '
41078 ac_dD=',;t'
41079 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
41080 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
41081 ac_uB='$,\1#\2define\3'
41082 ac_uC=' '
41083 ac_uD=',;t'
41084
41085 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
41086 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
41087 case $ac_file in
41088 - | *:- | *:-:* ) # input from stdin
41089 cat >$tmp/stdin
41090 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
41091 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
41092 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
41093 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
41094 * ) ac_file_in=$ac_file.in ;;
41095 esac
41096
41097 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
41098 echo "$as_me: creating $ac_file" >&6;}
41099
41100 # First look for the input files in the build tree, otherwise in the
41101 # src tree.
41102 ac_file_inputs=`IFS=:
41103 for f in $ac_file_in; do
41104 case $f in
41105 -) echo $tmp/stdin ;;
41106 [\\/$]*)
41107 # Absolute (can't be DOS-style, as IFS=:)
41108 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41109 echo "$as_me: error: cannot find input file: $f" >&2;}
41110 { (exit 1); exit 1; }; }
41111 # Do quote $f, to prevent DOS paths from being IFS'd.
41112 echo "$f";;
41113 *) # Relative
41114 if test -f "$f"; then
41115 # Build tree
41116 echo "$f"
41117 elif test -f "$srcdir/$f"; then
41118 # Source tree
41119 echo "$srcdir/$f"
41120 else
41121 # /dev/null tree
41122 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41123 echo "$as_me: error: cannot find input file: $f" >&2;}
41124 { (exit 1); exit 1; }; }
41125 fi;;
41126 esac
41127 done` || { (exit 1); exit 1; }
41128 # Remove the trailing spaces.
41129 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
41130
41131 _ACEOF
41132
41133 # Transform confdefs.h into two sed scripts, `conftest.defines' and
41134 # `conftest.undefs', that substitutes the proper values into
41135 # config.h.in to produce config.h. The first handles `#define'
41136 # templates, and the second `#undef' templates.
41137 # And first: Protect against being on the right side of a sed subst in
41138 # config.status. Protect against being in an unquoted here document
41139 # in config.status.
41140 rm -f conftest.defines conftest.undefs
41141 # Using a here document instead of a string reduces the quoting nightmare.
41142 # Putting comments in sed scripts is not portable.
41143 #
41144 # `end' is used to avoid that the second main sed command (meant for
41145 # 0-ary CPP macros) applies to n-ary macro definitions.
41146 # See the Autoconf documentation for `clear'.
41147 cat >confdef2sed.sed <<\_ACEOF
41148 s/[\\&,]/\\&/g
41149 s,[\\$`],\\&,g
41150 t clear
41151 : clear
41152 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
41153 t end
41154 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
41155 : end
41156 _ACEOF
41157 # If some macros were called several times there might be several times
41158 # the same #defines, which is useless. Nevertheless, we may not want to
41159 # sort them, since we want the *last* AC-DEFINE to be honored.
41160 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
41161 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
41162 rm -f confdef2sed.sed
41163
41164 # This sed command replaces #undef with comments. This is necessary, for
41165 # example, in the case of _POSIX_SOURCE, which is predefined and required
41166 # on some systems where configure will not decide to define it.
41167 cat >>conftest.undefs <<\_ACEOF
41168 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
41169 _ACEOF
41170
41171 # Break up conftest.defines because some shells have a limit on the size
41172 # of here documents, and old seds have small limits too (100 cmds).
41173 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
41174 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
41175 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
41176 echo ' :' >>$CONFIG_STATUS
41177 rm -f conftest.tail
41178 while grep . conftest.defines >/dev/null
41179 do
41180 # Write a limited-size here document to $tmp/defines.sed.
41181 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
41182 # Speed up: don't consider the non `#define' lines.
41183 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
41184 # Work around the forget-to-reset-the-flag bug.
41185 echo 't clr' >>$CONFIG_STATUS
41186 echo ': clr' >>$CONFIG_STATUS
41187 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
41188 echo 'CEOF
41189 sed -f $tmp/defines.sed $tmp/in >$tmp/out
41190 rm -f $tmp/in
41191 mv $tmp/out $tmp/in
41192 ' >>$CONFIG_STATUS
41193 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
41194 rm -f conftest.defines
41195 mv conftest.tail conftest.defines
41196 done
41197 rm -f conftest.defines
41198 echo ' fi # grep' >>$CONFIG_STATUS
41199 echo >>$CONFIG_STATUS
41200
41201 # Break up conftest.undefs because some shells have a limit on the size
41202 # of here documents, and old seds have small limits too (100 cmds).
41203 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
41204 rm -f conftest.tail
41205 while grep . conftest.undefs >/dev/null
41206 do
41207 # Write a limited-size here document to $tmp/undefs.sed.
41208 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
41209 # Speed up: don't consider the non `#undef'
41210 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
41211 # Work around the forget-to-reset-the-flag bug.
41212 echo 't clr' >>$CONFIG_STATUS
41213 echo ': clr' >>$CONFIG_STATUS
41214 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
41215 echo 'CEOF
41216 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
41217 rm -f $tmp/in
41218 mv $tmp/out $tmp/in
41219 ' >>$CONFIG_STATUS
41220 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
41221 rm -f conftest.undefs
41222 mv conftest.tail conftest.undefs
41223 done
41224 rm -f conftest.undefs
41225
41226 cat >>$CONFIG_STATUS <<\_ACEOF
41227 # Let's still pretend it is `configure' which instantiates (i.e., don't
41228 # use $as_me), people would be surprised to read:
41229 # /* config.h. Generated by config.status. */
41230 if test x"$ac_file" = x-; then
41231 echo "/* Generated by configure. */" >$tmp/config.h
41232 else
41233 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
41234 fi
41235 cat $tmp/in >>$tmp/config.h
41236 rm -f $tmp/in
41237 if test x"$ac_file" != x-; then
41238 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
41239 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
41240 echo "$as_me: $ac_file is unchanged" >&6;}
41241 else
41242 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
41243 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41244 X"$ac_file" : 'X\(//\)[^/]' \| \
41245 X"$ac_file" : 'X\(//\)$' \| \
41246 X"$ac_file" : 'X\(/\)' \| \
41247 . : '\(.\)' 2>/dev/null ||
41248 echo X"$ac_file" |
41249 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41250 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41251 /^X\(\/\/\)$/{ s//\1/; q; }
41252 /^X\(\/\).*/{ s//\1/; q; }
41253 s/.*/./; q'`
41254 { if $as_mkdir_p; then
41255 mkdir -p "$ac_dir"
41256 else
41257 as_dir="$ac_dir"
41258 as_dirs=
41259 while test ! -d "$as_dir"; do
41260 as_dirs="$as_dir $as_dirs"
41261 as_dir=`(dirname "$as_dir") 2>/dev/null ||
41262 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41263 X"$as_dir" : 'X\(//\)[^/]' \| \
41264 X"$as_dir" : 'X\(//\)$' \| \
41265 X"$as_dir" : 'X\(/\)' \| \
41266 . : '\(.\)' 2>/dev/null ||
41267 echo X"$as_dir" |
41268 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41269 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41270 /^X\(\/\/\)$/{ s//\1/; q; }
41271 /^X\(\/\).*/{ s//\1/; q; }
41272 s/.*/./; q'`
41273 done
41274 test ! -n "$as_dirs" || mkdir $as_dirs
41275 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41276 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41277 { (exit 1); exit 1; }; }; }
41278
41279 rm -f $ac_file
41280 mv $tmp/config.h $ac_file
41281 fi
41282 else
41283 cat $tmp/config.h
41284 rm -f $tmp/config.h
41285 fi
41286 done
41287 _ACEOF
41288 cat >>$CONFIG_STATUS <<\_ACEOF
41289
41290 #
41291 # CONFIG_COMMANDS section.
41292 #
41293 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
41294 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
41295 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
41296 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
41297 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41298 X"$ac_dest" : 'X\(//\)[^/]' \| \
41299 X"$ac_dest" : 'X\(//\)$' \| \
41300 X"$ac_dest" : 'X\(/\)' \| \
41301 . : '\(.\)' 2>/dev/null ||
41302 echo X"$ac_dest" |
41303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41304 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41305 /^X\(\/\/\)$/{ s//\1/; q; }
41306 /^X\(\/\).*/{ s//\1/; q; }
41307 s/.*/./; q'`
41308 { if $as_mkdir_p; then
41309 mkdir -p "$ac_dir"
41310 else
41311 as_dir="$ac_dir"
41312 as_dirs=
41313 while test ! -d "$as_dir"; do
41314 as_dirs="$as_dir $as_dirs"
41315 as_dir=`(dirname "$as_dir") 2>/dev/null ||
41316 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41317 X"$as_dir" : 'X\(//\)[^/]' \| \
41318 X"$as_dir" : 'X\(//\)$' \| \
41319 X"$as_dir" : 'X\(/\)' \| \
41320 . : '\(.\)' 2>/dev/null ||
41321 echo X"$as_dir" |
41322 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41323 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41324 /^X\(\/\/\)$/{ s//\1/; q; }
41325 /^X\(\/\).*/{ s//\1/; q; }
41326 s/.*/./; q'`
41327 done
41328 test ! -n "$as_dirs" || mkdir $as_dirs
41329 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41330 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41331 { (exit 1); exit 1; }; }; }
41332
41333 ac_builddir=.
41334
41335 if test "$ac_dir" != .; then
41336 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
41337 # A "../" for each directory in $ac_dir_suffix.
41338 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
41339 else
41340 ac_dir_suffix= ac_top_builddir=
41341 fi
41342
41343 case $srcdir in
41344 .) # No --srcdir option. We are building in place.
41345 ac_srcdir=.
41346 if test -z "$ac_top_builddir"; then
41347 ac_top_srcdir=.
41348 else
41349 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
41350 fi ;;
41351 [\\/]* | ?:[\\/]* ) # Absolute path.
41352 ac_srcdir=$srcdir$ac_dir_suffix;
41353 ac_top_srcdir=$srcdir ;;
41354 *) # Relative path.
41355 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
41356 ac_top_srcdir=$ac_top_builddir$srcdir ;;
41357 esac
41358
41359 # Do not use `cd foo && pwd` to compute absolute paths, because
41360 # the directories may not exist.
41361 case `pwd` in
41362 .) ac_abs_builddir="$ac_dir";;
41363 *)
41364 case "$ac_dir" in
41365 .) ac_abs_builddir=`pwd`;;
41366 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
41367 *) ac_abs_builddir=`pwd`/"$ac_dir";;
41368 esac;;
41369 esac
41370 case $ac_abs_builddir in
41371 .) ac_abs_top_builddir=${ac_top_builddir}.;;
41372 *)
41373 case ${ac_top_builddir}. in
41374 .) ac_abs_top_builddir=$ac_abs_builddir;;
41375 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
41376 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
41377 esac;;
41378 esac
41379 case $ac_abs_builddir in
41380 .) ac_abs_srcdir=$ac_srcdir;;
41381 *)
41382 case $ac_srcdir in
41383 .) ac_abs_srcdir=$ac_abs_builddir;;
41384 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
41385 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
41386 esac;;
41387 esac
41388 case $ac_abs_builddir in
41389 .) ac_abs_top_srcdir=$ac_top_srcdir;;
41390 *)
41391 case $ac_top_srcdir in
41392 .) ac_abs_top_srcdir=$ac_abs_builddir;;
41393 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
41394 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
41395 esac;;
41396 esac
41397
41398
41399 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
41400 echo "$as_me: executing $ac_dest commands" >&6;}
41401 case $ac_dest in
41402 default )
41403 if test ! -h wx-config; then
41404 chmod +x wx-config
41405 mv wx-config wx${TOOLCHAIN_NAME}-config
41406 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
41407 fi
41408
41409 if test ! -d lib; then
41410 mkdir lib
41411 fi
41412 if test ! -d lib/wx; then
41413 mkdir lib/wx
41414 fi
41415 if test ! -d lib/wx/include; then
41416 mkdir lib/wx/include
41417 fi
41418 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
41419 mkdir lib/wx/include/${TOOLCHAIN_NAME}
41420 fi
41421 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
41422 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
41423 fi
41424 if test -f setup.h; then
41425 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
41426 fi
41427 ;;
41428 esac
41429 done
41430 _ACEOF
41431
41432 cat >>$CONFIG_STATUS <<\_ACEOF
41433
41434 { (exit 0); exit 0; }
41435 _ACEOF
41436 chmod +x $CONFIG_STATUS
41437 ac_clean_files=$ac_clean_files_save
41438
41439
41440 # configure is writing to config.log, and then calls config.status.
41441 # config.status does its own redirection, appending to config.log.
41442 # Unfortunately, on DOS this fails, as config.log is still kept open
41443 # by configure, so config.status won't be able to write to it; its
41444 # output is simply discarded. So we exec the FD to /dev/null,
41445 # effectively closing config.log, so it can be properly (re)opened and
41446 # appended to by config.status. When coming back to configure, we
41447 # need to make the FD available again.
41448 if test "$no_create" != yes; then
41449 ac_cs_success=:
41450 ac_config_status_args=
41451 test "$silent" = yes &&
41452 ac_config_status_args="$ac_config_status_args --quiet"
41453 exec 5>/dev/null
41454 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
41455 exec 5>>config.log
41456 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
41457 # would make configure fail if this is the last instruction.
41458 $ac_cs_success || { (exit 1); exit 1; }
41459 fi
41460
41461 #
41462 # CONFIG_SUBDIRS section.
41463 #
41464 if test "$no_recursion" != yes; then
41465
41466 # Remove --cache-file and --srcdir arguments so they do not pile up.
41467 ac_sub_configure_args=
41468 ac_prev=
41469 for ac_arg in $ac_configure_args; do
41470 if test -n "$ac_prev"; then
41471 ac_prev=
41472 continue
41473 fi
41474 case $ac_arg in
41475 -cache-file | --cache-file | --cache-fil | --cache-fi \
41476 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
41477 ac_prev=cache_file ;;
41478 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
41479 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
41480 | --c=*)
41481 ;;
41482 --config-cache | -C)
41483 ;;
41484 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
41485 ac_prev=srcdir ;;
41486 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
41487 ;;
41488 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
41489 ac_prev=prefix ;;
41490 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
41491 ;;
41492 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
41493 esac
41494 done
41495
41496 # Always prepend --prefix to ensure using the same prefix
41497 # in subdir configurations.
41498 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
41499
41500 ac_popdir=`pwd`
41501 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
41502
41503 # Do not complain, so a configure script can configure whichever
41504 # parts of a large source tree are present.
41505 test -d $srcdir/$ac_dir || continue
41506
41507 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
41508 echo "$as_me: configuring in $ac_dir" >&6;}
41509 { if $as_mkdir_p; then
41510 mkdir -p "$ac_dir"
41511 else
41512 as_dir="$ac_dir"
41513 as_dirs=
41514 while test ! -d "$as_dir"; do
41515 as_dirs="$as_dir $as_dirs"
41516 as_dir=`(dirname "$as_dir") 2>/dev/null ||
41517 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41518 X"$as_dir" : 'X\(//\)[^/]' \| \
41519 X"$as_dir" : 'X\(//\)$' \| \
41520 X"$as_dir" : 'X\(/\)' \| \
41521 . : '\(.\)' 2>/dev/null ||
41522 echo X"$as_dir" |
41523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41524 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41525 /^X\(\/\/\)$/{ s//\1/; q; }
41526 /^X\(\/\).*/{ s//\1/; q; }
41527 s/.*/./; q'`
41528 done
41529 test ! -n "$as_dirs" || mkdir $as_dirs
41530 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41531 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41532 { (exit 1); exit 1; }; }; }
41533
41534 ac_builddir=.
41535
41536 if test "$ac_dir" != .; then
41537 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
41538 # A "../" for each directory in $ac_dir_suffix.
41539 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
41540 else
41541 ac_dir_suffix= ac_top_builddir=
41542 fi
41543
41544 case $srcdir in
41545 .) # No --srcdir option. We are building in place.
41546 ac_srcdir=.
41547 if test -z "$ac_top_builddir"; then
41548 ac_top_srcdir=.
41549 else
41550 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
41551 fi ;;
41552 [\\/]* | ?:[\\/]* ) # Absolute path.
41553 ac_srcdir=$srcdir$ac_dir_suffix;
41554 ac_top_srcdir=$srcdir ;;
41555 *) # Relative path.
41556 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
41557 ac_top_srcdir=$ac_top_builddir$srcdir ;;
41558 esac
41559
41560 # Do not use `cd foo && pwd` to compute absolute paths, because
41561 # the directories may not exist.
41562 case `pwd` in
41563 .) ac_abs_builddir="$ac_dir";;
41564 *)
41565 case "$ac_dir" in
41566 .) ac_abs_builddir=`pwd`;;
41567 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
41568 *) ac_abs_builddir=`pwd`/"$ac_dir";;
41569 esac;;
41570 esac
41571 case $ac_abs_builddir in
41572 .) ac_abs_top_builddir=${ac_top_builddir}.;;
41573 *)
41574 case ${ac_top_builddir}. in
41575 .) ac_abs_top_builddir=$ac_abs_builddir;;
41576 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
41577 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
41578 esac;;
41579 esac
41580 case $ac_abs_builddir in
41581 .) ac_abs_srcdir=$ac_srcdir;;
41582 *)
41583 case $ac_srcdir in
41584 .) ac_abs_srcdir=$ac_abs_builddir;;
41585 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
41586 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
41587 esac;;
41588 esac
41589 case $ac_abs_builddir in
41590 .) ac_abs_top_srcdir=$ac_top_srcdir;;
41591 *)
41592 case $ac_top_srcdir in
41593 .) ac_abs_top_srcdir=$ac_abs_builddir;;
41594 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
41595 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
41596 esac;;
41597 esac
41598
41599
41600 cd $ac_dir
41601
41602 # Check for guested configure; otherwise get Cygnus style configure.
41603 if test -f $ac_srcdir/configure.gnu; then
41604 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
41605 elif test -f $ac_srcdir/configure; then
41606 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
41607 elif test -f $ac_srcdir/configure.in; then
41608 ac_sub_configure=$ac_configure
41609 else
41610 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
41611 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
41612 ac_sub_configure=
41613 fi
41614
41615 # The recursion is here.
41616 if test -n "$ac_sub_configure"; then
41617 # Make the cache file name correct relative to the subdirectory.
41618 case $cache_file in
41619 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
41620 *) # Relative path.
41621 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
41622 esac
41623
41624 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
41625 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
41626 # The eval makes quoting arguments work.
41627 eval $ac_sub_configure $ac_sub_configure_args \
41628 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
41629 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
41630 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
41631 { (exit 1); exit 1; }; }
41632 fi
41633
41634 cd "$ac_popdir"
41635 done
41636 fi
41637
41638
41639 echo
41640 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
41641 echo ""
41642 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT_LOWERCASE:-base only}"
41643 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
41644
41645 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
41646 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
41647 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
41648
41649 echo " What level of wxWindows compatibility should be enabled?"
41650 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
41651 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
41652
41653 echo " Which libraries should wxWindows use?"
41654 echo " jpeg ${wxUSE_LIBJPEG-none}"
41655 echo " png ${wxUSE_LIBPNG-none}"
41656 echo " regex ${wxUSE_REGEX}"
41657 echo " tiff ${wxUSE_LIBTIFF-none}"
41658 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
41659 echo " xpm ${wxUSE_LIBXPM-none}"
41660 fi
41661 echo " zlib ${wxUSE_ZLIB}"
41662 echo " odbc ${wxUSE_ODBC}"
41663 echo " expat ${wxUSE_EXPAT}"
41664 echo " libmspack ${wxUSE_LIBMSPACK}"
41665 echo " sdl ${wxUSE_LIBSDL}"
41666
41667 echo ""
41668