]> git.saurik.com Git - wxWidgets.git/blob - configure
renamed wxWave to wxSound
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWindows 2.5.1.
5 #
6 # Report bugs to <wx-dev@lists.wxwindows.org>.
7 #
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24 fi
25 DUALCASE=1; export DUALCASE # for MKS sh
26
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46 do
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100 fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155 done
156 ;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187 }
188
189
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192 ' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226 fi
227
228 as_executable_p="test -f"
229
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
236
237 # IFS
238 # We need space, tab and new line, in precisely that order.
239 as_nl='
240 '
241 IFS=" $as_nl"
242
243 # CDPATH.
244 $as_unset CDPATH
245
246
247 # Name of the host.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252 exec 6>&1
253
254 #
255 # Initializations.
256 #
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
259 cross_compiling=no
260 subdirs=
261 MFLAGS=
262 MAKEFLAGS=
263 SHELL=${CONFIG_SHELL-/bin/sh}
264
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
269
270 # Identity of this package.
271 PACKAGE_NAME='wxWindows'
272 PACKAGE_TARNAME='wxwindows'
273 PACKAGE_VERSION='2.5.1'
274 PACKAGE_STRING='wxWindows 2.5.1'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwindows.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX PLATFORM_OS2 SO_SUFFIX SO_SUFFIX_MODULE LIBPREFIX DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_PLUGINS_0 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WITH_PLUGIN_SDL_1 COND_WITH_SDL_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY LIBOBJS LTLIBOBJS'
317 ac_subst_files=''
318
319 # Initialize some variables set by options.
320 ac_init_help=
321 ac_init_version=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
324 cache_file=/dev/null
325 exec_prefix=NONE
326 no_create=
327 no_recursion=
328 prefix=NONE
329 program_prefix=NONE
330 program_suffix=NONE
331 program_transform_name=s,x,x,
332 silent=
333 site=
334 srcdir=
335 verbose=
336 x_includes=NONE
337 x_libraries=NONE
338
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir='${exec_prefix}/bin'
345 sbindir='${exec_prefix}/sbin'
346 libexecdir='${exec_prefix}/libexec'
347 datadir='${prefix}/share'
348 sysconfdir='${prefix}/etc'
349 sharedstatedir='${prefix}/com'
350 localstatedir='${prefix}/var'
351 libdir='${exec_prefix}/lib'
352 includedir='${prefix}/include'
353 oldincludedir='/usr/include'
354 infodir='${prefix}/info'
355 mandir='${prefix}/man'
356
357 ac_prev=
358 for ac_option
359 do
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
363 ac_prev=
364 continue
365 fi
366
367 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368
369 # Accept the important Cygnus configure options, so we can diagnose typos.
370
371 case $ac_option in
372
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 ac_prev=bindir ;;
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 bindir=$ac_optarg ;;
377
378 -build | --build | --buil | --bui | --bu)
379 ac_prev=build_alias ;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias=$ac_optarg ;;
382
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev=cache_file ;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file=$ac_optarg ;;
389
390 --config-cache | -C)
391 cache_file=config.cache ;;
392
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 ac_prev=datadir ;;
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 | --da=*)
397 datadir=$ac_optarg ;;
398
399 -disable-* | --disable-*)
400 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
407
408 -enable-* | --enable-*)
409 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415 case $ac_option in
416 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 *) ac_optarg=yes ;;
418 esac
419 eval "enable_$ac_feature='$ac_optarg'" ;;
420
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev=exec_prefix ;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix=$ac_optarg ;;
429
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
432 with_gas=yes ;;
433
434 -help | --help | --hel | --he | -h)
435 ac_init_help=long ;;
436 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
437 ac_init_help=recursive ;;
438 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
439 ac_init_help=short ;;
440
441 -host | --host | --hos | --ho)
442 ac_prev=host_alias ;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias=$ac_optarg ;;
445
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev=includedir ;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir=$ac_optarg ;;
452
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 ac_prev=infodir ;;
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir=$ac_optarg ;;
457
458 -libdir | --libdir | --libdi | --libd)
459 ac_prev=libdir ;;
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 libdir=$ac_optarg ;;
462
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev=libexecdir ;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir=$ac_optarg ;;
469
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev=localstatedir ;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir=$ac_optarg ;;
478
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 ac_prev=mandir ;;
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 mandir=$ac_optarg ;;
483
484 -nfp | --nfp | --nf)
485 # Obsolete; use --without-fp.
486 with_fp=no ;;
487
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
490 no_create=yes ;;
491
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 no_recursion=yes ;;
495
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev=oldincludedir ;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir=$ac_optarg ;;
504
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 ac_prev=prefix ;;
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 prefix=$ac_optarg ;;
509
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev=program_prefix ;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix=$ac_optarg ;;
516
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev=program_suffix ;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix=$ac_optarg ;;
523
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev=program_transform_name ;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name=$ac_optarg ;;
540
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
543 silent=yes ;;
544
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 ac_prev=sbindir ;;
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 | --sbi=* | --sb=*)
549 sbindir=$ac_optarg ;;
550
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
554 | --sha | --sh)
555 ac_prev=sharedstatedir ;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 | --sha=* | --sh=*)
560 sharedstatedir=$ac_optarg ;;
561
562 -site | --site | --sit)
563 ac_prev=site ;;
564 -site=* | --site=* | --sit=*)
565 site=$ac_optarg ;;
566
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 ac_prev=srcdir ;;
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 srcdir=$ac_optarg ;;
571
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev=sysconfdir ;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir=$ac_optarg ;;
578
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev=target_alias ;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias=$ac_optarg ;;
583
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 verbose=yes ;;
586
587 -version | --version | --versio | --versi | --vers | -V)
588 ac_init_version=: ;;
589
590 -with-* | --with-*)
591 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package=`echo $ac_package| sed 's/-/_/g'`
597 case $ac_option in
598 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 *) ac_optarg=yes ;;
600 esac
601 eval "with_$ac_package='$ac_optarg'" ;;
602
603 -without-* | --without-*)
604 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
611
612 --x)
613 # Obsolete; use --with-x.
614 with_x=yes ;;
615
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev=x_includes ;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes=$ac_optarg ;;
622
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev=x_libraries ;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries=$ac_optarg ;;
629
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
633 ;;
634
635 *=*)
636 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
643 export $ac_envvar ;;
644
645 *)
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 ;;
652
653 esac
654 done
655
656 if test -n "$ac_prev"; then
657 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
660 fi
661
662 # Be sure to have absolute paths.
663 for ac_var in exec_prefix prefix
664 do
665 eval ac_val=$`echo $ac_var`
666 case $ac_val in
667 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
670 esac
671 done
672
673 # Be sure to have absolute paths.
674 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
676 do
677 eval ac_val=$`echo $ac_var`
678 case $ac_val in
679 [\\/$]* | ?:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
682 esac
683 done
684
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
688 build=$build_alias
689 host=$host_alias
690 target=$target_alias
691
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x; then
694 if test "x$build_alias" = x; then
695 cross_compiling=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
699 cross_compiling=yes
700 fi
701 fi
702
703 ac_tool_prefix=
704 test -n "$host_alias" && ac_tool_prefix=$host_alias-
705
706 test "$silent" = yes && exec 6>/dev/null
707
708
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
719 echo X"$0" |
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
724 s/.*/./; q'`
725 srcdir=$ac_confdir
726 if test ! -r $srcdir/$ac_unique_file; then
727 srcdir=..
728 fi
729 else
730 ac_srcdir_defaulted=no
731 fi
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
736 else
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
739 fi
740 fi
741 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set=${build_alias+set}
746 ac_env_build_alias_value=$build_alias
747 ac_cv_env_build_alias_set=${build_alias+set}
748 ac_cv_env_build_alias_value=$build_alias
749 ac_env_host_alias_set=${host_alias+set}
750 ac_env_host_alias_value=$host_alias
751 ac_cv_env_host_alias_set=${host_alias+set}
752 ac_cv_env_host_alias_value=$host_alias
753 ac_env_target_alias_set=${target_alias+set}
754 ac_env_target_alias_value=$target_alias
755 ac_cv_env_target_alias_set=${target_alias+set}
756 ac_cv_env_target_alias_value=$target_alias
757 ac_env_CC_set=${CC+set}
758 ac_env_CC_value=$CC
759 ac_cv_env_CC_set=${CC+set}
760 ac_cv_env_CC_value=$CC
761 ac_env_CFLAGS_set=${CFLAGS+set}
762 ac_env_CFLAGS_value=$CFLAGS
763 ac_cv_env_CFLAGS_set=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value=$CFLAGS
765 ac_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_env_LDFLAGS_value=$LDFLAGS
767 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value=$LDFLAGS
769 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
773 ac_env_CPP_set=${CPP+set}
774 ac_env_CPP_value=$CPP
775 ac_cv_env_CPP_set=${CPP+set}
776 ac_cv_env_CPP_value=$CPP
777 ac_env_CXX_set=${CXX+set}
778 ac_env_CXX_value=$CXX
779 ac_cv_env_CXX_set=${CXX+set}
780 ac_cv_env_CXX_value=$CXX
781 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
785 ac_env_CXXCPP_set=${CXXCPP+set}
786 ac_env_CXXCPP_value=$CXXCPP
787 ac_cv_env_CXXCPP_set=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value=$CXXCPP
789
790 #
791 # Report the --help message.
792 #
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
796 cat <<_ACEOF
797 \`configure' configures wxWindows 2.5.1 to adapt to many kinds of systems.
798
799 Usage: $0 [OPTION]... [VAR=VALUE]...
800
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
803
804 Defaults for the options are specified in brackets.
805
806 Configuration:
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
816
817 _ACEOF
818
819 cat <<_ACEOF
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
822 [$ac_default_prefix]
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
824 [PREFIX]
825
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
830
831 For better control, use the options below.
832
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
846 _ACEOF
847
848 cat <<\_ACEOF
849
850 X features:
851 --x-includes=DIR X include files are in DIR
852 --x-libraries=DIR X library files are in DIR
853
854 System types:
855 --build=BUILD configure for building on BUILD [guessed]
856 --host=HOST cross-compile to build programs to run on HOST [BUILD]
857 --target=TARGET configure for building compilers for TARGET [HOST]
858 _ACEOF
859 fi
860
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short | recursive ) echo "Configuration of wxWindows 2.5.1:";;
864 esac
865 cat <<\_ACEOF
866
867 Optional Features:
868 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
869 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWindows as single library
872 --enable-plugins build parts of wxWindows as loadable components
873 --enable-universal use wxWindows GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
876 --enable-shared create shared library code
877 --enable-optimise create optimised code
878 --enable-debug same as debug_flag and debug_info
879 --enable-stl use STL for containers
880 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
881 --enable-debug_info create code with debugging information
882 --enable-debug_gdb create code with extra GDB debugging information
883 --enable-debug_cntxt use wxDebugContext
884 --enable-mem_tracing create code with memory tracing
885 --enable-profile create code with profiling information
886 --enable-no_rtti create code without RTTI information
887 --enable-no_exceptions create code without C++ exceptions handling
888 --enable-permissive compile code disregarding strict ANSI
889 --enable-no_deps create code without dependency information
890 --enable-compat22 enable wxWindows 2.2 compatibility
891 --disable-compat24 disable wxWindows 2.4 compatibility
892 --enable-rpath=DIR output the rpath flag from wx-config
893 --enable-intl use internationalization system
894 --enable-config use wxConfig (and derived) classes
895 --enable-protocols use wxProtocol and derived classes
896 --enable-ftp use wxFTP (requires wxProtocol
897 --enable-http use wxHTTP (requires wxProtocol
898 --enable-fileproto use wxFileProto class (requires wxProtocol
899 --enable-sockets use socket/network classes
900 --enable-ole use OLE classes (Win32 only)
901 --enable-dataobj use data object classes
902 --enable-ipc use interprocess communication (wxSocket etc.)
903 --enable-apple_ieee use the Apple IEEE codec
904 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
905 --enable-cmdline use wxCmdLineParser class
906 --enable-datetime use wxDateTime class
907 --enable-dialupman use dialup network classes
908 --enable-dynlib use wxLibrary class for DLL loading
909 --enable-dynamicloader use (new) wxDynamicLibrary class
910 --enable-exceptions build exception-safe library
911 --enable-ffile use wxFFile class
912 --enable-file use wxFile class
913 --enable-filesystem use virtual file systems classes
914 --enable-fontmap use font encodings conversion classes
915 --enable-fs_inet use virtual HTTP/FTP filesystems
916 --enable-fs_zip use virtual ZIP filesystems
917 --enable-geometry use geometry class
918 --enable-log use logging system
919 --enable-longlong use wxLongLong class
920 --enable-mimetype use wxMimeTypesManager
921 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
922 --enable-snglinst use wxSingleInstanceChecker class
923 --enable-streams use wxStream etc classes
924 --enable-std_iostreams use standard C++ stream classes
925 --enable-stopwatch use wxStopWatch class
926 --enable-sysoptions use wxSystemOptions
927 --enable-textbuf use wxTextBuffer class
928 --enable-textfile use wxTextFile class
929 --enable-timer use wxTimer class
930 --enable-unicode compile wxString with Unicode support
931 --enable-sound use wxSound class
932 --enable-wxprintfv use wxWindows implementation of vprintf()
933 --enable-zipstream use wxZipInputStream
934 --enable-gzstream use wxGzipInputStream
935 --enable-url use wxURL class
936 --enable-protocol use wxProtocol class
937 --enable-protocol-http HTTP support in wxProtocol
938 --enable-protocol-ftp FTP support in wxProtocol
939 --enable-protocol-file FILE support in wxProtocol
940 --enable-threads use threads
941 --enable-docview use document view architecture
942 --enable-help use help subsystem
943 --enable-mshtmlhelp use MS HTML Help (win32)
944 --enable-html use wxHTML sub-library
945 --enable-htmlhelp use wxHTML-based help
946 --enable-constraints use layout-constraints system
947 --enable-printarch use printing architecture
948 --enable-mdi use multiple document interface architecture
949 --enable-loggui use standard GUI logger
950 --enable-logwin use wxLogWindow
951 --enable-logdialog use wxLogDialog
952 --enable-postscript use wxPostscriptDC device context (default for gtk+)
953 --enable-prologio not available; see contrib
954 --enable-resources not available; see contrib
955 --enable-clipboard use wxClipboard class
956 --enable-dnd use Drag'n'Drop classes
957 --enable-metafile use win32 metafiles
958 --enable-controls use all usual controls
959 --enable-accel use accelerators
960 --enable-button use wxButton class
961 --enable-bmpbutton use wxBitmapButton class
962 --enable-calendar use wxCalendarCtrl class
963 --enable-caret use wxCaret class
964 --enable-checkbox use wxCheckBox class
965 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
966 --enable-choice use wxChoice class
967 --enable-combobox use wxComboBox class
968 --enable-display use wxDisplay class
969 --enable-gauge use wxGauge class
970 --enable-grid use wxGrid class
971 --enable-imaglist use wxImageList class
972 --enable-listbook use wxListbook class
973 --enable-listbox use wxListBox class
974 --enable-listctrl use wxListCtrl class
975 --enable-notebook use wxNotebook class
976 --enable-radiobox use wxRadioBox class
977 --enable-radiobtn use wxRadioButton class
978 --enable-sash use wxSashWindow class
979 --enable-scrollbar use wxScrollBar class and scrollable windows
980 --enable-slider use wxSlider class
981 --enable-spinbtn use wxSpinButton class
982 --enable-spinctrl use wxSpinCtrl class
983 --enable-splitter use wxSplitterWindow class
984 --enable-statbmp use wxStaticBitmap class
985 --enable-statbox use wxStaticBox class
986 --enable-statline use wxStaticLine class
987 --enable-stattext use wxStaticText class
988 --enable-statusbar use wxStatusBar class
989 --enable-tabdialog use wxTabControl class
990 --enable-textctrl use wxTextCtrl class
991 --enable-togglebtn use wxToggleButton class
992 --enable-toolbar use wxToolBar class
993 --enable-tbarnative use native wxToolBar class
994 --enable-tbarsmpl use wxToolBarSimple class
995 --enable-treectrl use wxTreeCtrl class
996 --enable-tipwindow use wxTipWindow class
997 --enable-popupwin use wxPopUpWindow class
998 --enable-commondlg use all common dialogs
999 --enable-choicedlg use wxChoiceDialog
1000 --enable-coldlg use wxColourDialog
1001 --enable-filedlg use wxFileDialog
1002 --enable-finddlg use wxFindReplaceDialog
1003 --enable-fontdlg use wxFontDialog
1004 --enable-dirdlg use wxDirDialog
1005 --enable-msgdlg use wxMessageDialog
1006 --enable-numberdlg use wxNumberEntryDialog
1007 --enable-splash use wxSplashScreen
1008 --enable-textdlg use wxTextDialog
1009 --enable-tipdlg use startup tips
1010 --enable-progressdlg use wxProgressDialog
1011 --enable-wizarddlg use wxWizard
1012 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1013 --enable-miniframe use wxMiniFrame class
1014 --enable-tooltips use wxToolTip class
1015 --enable-splines use spline drawing code
1016 --enable-validators use wxValidator and derived classes
1017 --enable-busyinfo use wxBusyInfo
1018 --enable-joystick use wxJoystick (Linux only)
1019 --enable-metafiles use wxMetaFile (Windows only)
1020 --enable-dragimage use wxDragImage
1021 --enable-accessibility enable accessibility support
1022 --enable-palette use wxPalette class
1023 --enable-image use wxImage class
1024 --enable-gif use gif images (GIF file format)
1025 --enable-pcx use pcx images (PCX file format)
1026 --enable-iff use iff images (IFF file format)
1027 --enable-pnm use pnm images (PNM file format)
1028 --enable-xpm use xpm images (XPM file format)
1029 --enable-icocur use Windows ICO and CUR formats
1030 --enable-official_build official build of wxWindows (win32 DLL only)
1031 --enable-vendor=VENDOR vendor name (win32 DLL only)
1032 --disable-largefile omit support for large files
1033 --disable-gtktest do not try to compile and run a test GTK+ program
1034 --disable-gtktest Do not try to compile and run a test GTK program
1035 --disable-sdltest Do not try to compile and run a test SDL program
1036 --disable-precomp-headers don't use precompiled headers even if compiler can
1037
1038 Optional Packages:
1039 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1040 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1041 --with-gtk use GTK+
1042 --with-motif use Motif/Lesstif
1043 --with-mac use Mac OS X
1044 --with-cocoa use Cocoa
1045 --with-wine use Wine
1046 --with-msw use MS-Windows
1047 --with-pm use OS/2 Presentation Manager
1048 --with-mgl use SciTech MGL
1049 --with-microwin use MicroWindows
1050 --with-x11 use X11
1051 --with-libpng use libpng (PNG image format)
1052 --with-libjpeg use libjpeg (JPEG file format)
1053 --with-libtiff use libtiff (TIFF file format)
1054 --with-libxpm use libxpm (XPM file format)
1055 --with-libmspack use libmspack (CHM help files loading)
1056 --with-sdl use SDL for audio on Unix
1057 --with-opengl use OpenGL (or Mesa)
1058 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1059 --with-regex enable support for wxRegEx class
1060 --with-zlib use zlib for LZW compression
1061 --with-odbc use the IODBC and wxODBC classes
1062 --with-expat enable XML support using expat parser
1063 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1064 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1065 --with-x use the X Window System
1066 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1067 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1068 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1069
1070 Some influential environment variables:
1071 CC C compiler command
1072 CFLAGS C compiler flags
1073 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1074 nonstandard directory <lib dir>
1075 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1076 headers in a nonstandard directory <include dir>
1077 CPP C preprocessor
1078 CXX C++ compiler command
1079 CXXFLAGS C++ compiler flags
1080 CXXCPP C++ preprocessor
1081
1082 Use these variables to override the choices made by `configure' or to help
1083 it to find libraries and programs with nonstandard names/locations.
1084
1085 Report bugs to <wx-dev@lists.wxwindows.org>.
1086 _ACEOF
1087 fi
1088
1089 if test "$ac_init_help" = "recursive"; then
1090 # If there are subdirs, report their specific --help.
1091 ac_popdir=`pwd`
1092 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1093 test -d $ac_dir || continue
1094 ac_builddir=.
1095
1096 if test "$ac_dir" != .; then
1097 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1098 # A "../" for each directory in $ac_dir_suffix.
1099 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1100 else
1101 ac_dir_suffix= ac_top_builddir=
1102 fi
1103
1104 case $srcdir in
1105 .) # No --srcdir option. We are building in place.
1106 ac_srcdir=.
1107 if test -z "$ac_top_builddir"; then
1108 ac_top_srcdir=.
1109 else
1110 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1111 fi ;;
1112 [\\/]* | ?:[\\/]* ) # Absolute path.
1113 ac_srcdir=$srcdir$ac_dir_suffix;
1114 ac_top_srcdir=$srcdir ;;
1115 *) # Relative path.
1116 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1117 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1118 esac
1119
1120 # Do not use `cd foo && pwd` to compute absolute paths, because
1121 # the directories may not exist.
1122 case `pwd` in
1123 .) ac_abs_builddir="$ac_dir";;
1124 *)
1125 case "$ac_dir" in
1126 .) ac_abs_builddir=`pwd`;;
1127 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1128 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1129 esac;;
1130 esac
1131 case $ac_abs_builddir in
1132 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1133 *)
1134 case ${ac_top_builddir}. in
1135 .) ac_abs_top_builddir=$ac_abs_builddir;;
1136 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1137 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1138 esac;;
1139 esac
1140 case $ac_abs_builddir in
1141 .) ac_abs_srcdir=$ac_srcdir;;
1142 *)
1143 case $ac_srcdir in
1144 .) ac_abs_srcdir=$ac_abs_builddir;;
1145 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1146 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1147 esac;;
1148 esac
1149 case $ac_abs_builddir in
1150 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1151 *)
1152 case $ac_top_srcdir in
1153 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1154 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1155 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1156 esac;;
1157 esac
1158
1159 cd $ac_dir
1160 # Check for guested configure; otherwise get Cygnus style configure.
1161 if test -f $ac_srcdir/configure.gnu; then
1162 echo
1163 $SHELL $ac_srcdir/configure.gnu --help=recursive
1164 elif test -f $ac_srcdir/configure; then
1165 echo
1166 $SHELL $ac_srcdir/configure --help=recursive
1167 elif test -f $ac_srcdir/configure.ac ||
1168 test -f $ac_srcdir/configure.in; then
1169 echo
1170 $ac_configure --help
1171 else
1172 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1173 fi
1174 cd $ac_popdir
1175 done
1176 fi
1177
1178 test -n "$ac_init_help" && exit 0
1179 if $ac_init_version; then
1180 cat <<\_ACEOF
1181 wxWindows configure 2.5.1
1182 generated by GNU Autoconf 2.59
1183
1184 Copyright (C) 2003 Free Software Foundation, Inc.
1185 This configure script is free software; the Free Software Foundation
1186 gives unlimited permission to copy, distribute and modify it.
1187 _ACEOF
1188 exit 0
1189 fi
1190 exec 5>config.log
1191 cat >&5 <<_ACEOF
1192 This file contains any messages produced by compilers while
1193 running configure, to aid debugging if configure makes a mistake.
1194
1195 It was created by wxWindows $as_me 2.5.1, which was
1196 generated by GNU Autoconf 2.59. Invocation command line was
1197
1198 $ $0 $@
1199
1200 _ACEOF
1201 {
1202 cat <<_ASUNAME
1203 ## --------- ##
1204 ## Platform. ##
1205 ## --------- ##
1206
1207 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1208 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1209 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1210 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1211 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1212
1213 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1214 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1215
1216 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1217 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1218 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1219 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1220 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1221 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1222 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1223
1224 _ASUNAME
1225
1226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1227 for as_dir in $PATH
1228 do
1229 IFS=$as_save_IFS
1230 test -z "$as_dir" && as_dir=.
1231 echo "PATH: $as_dir"
1232 done
1233
1234 } >&5
1235
1236 cat >&5 <<_ACEOF
1237
1238
1239 ## ----------- ##
1240 ## Core tests. ##
1241 ## ----------- ##
1242
1243 _ACEOF
1244
1245
1246 # Keep a trace of the command line.
1247 # Strip out --no-create and --no-recursion so they do not pile up.
1248 # Strip out --silent because we don't want to record it for future runs.
1249 # Also quote any args containing shell meta-characters.
1250 # Make two passes to allow for proper duplicate-argument suppression.
1251 ac_configure_args=
1252 ac_configure_args0=
1253 ac_configure_args1=
1254 ac_sep=
1255 ac_must_keep_next=false
1256 for ac_pass in 1 2
1257 do
1258 for ac_arg
1259 do
1260 case $ac_arg in
1261 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1262 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1263 | -silent | --silent | --silen | --sile | --sil)
1264 continue ;;
1265 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1266 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1267 esac
1268 case $ac_pass in
1269 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1270 2)
1271 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1272 if test $ac_must_keep_next = true; then
1273 ac_must_keep_next=false # Got value, back to normal.
1274 else
1275 case $ac_arg in
1276 *=* | --config-cache | -C | -disable-* | --disable-* \
1277 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1278 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1279 | -with-* | --with-* | -without-* | --without-* | --x)
1280 case "$ac_configure_args0 " in
1281 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1282 esac
1283 ;;
1284 -* ) ac_must_keep_next=true ;;
1285 esac
1286 fi
1287 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1288 # Get rid of the leading space.
1289 ac_sep=" "
1290 ;;
1291 esac
1292 done
1293 done
1294 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1295 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1296
1297 # When interrupted or exit'd, cleanup temporary files, and complete
1298 # config.log. We remove comments because anyway the quotes in there
1299 # would cause problems or look ugly.
1300 # WARNING: Be sure not to use single quotes in there, as some shells,
1301 # such as our DU 5.0 friend, will then `close' the trap.
1302 trap 'exit_status=$?
1303 # Save into config.log some information that might help in debugging.
1304 {
1305 echo
1306
1307 cat <<\_ASBOX
1308 ## ---------------- ##
1309 ## Cache variables. ##
1310 ## ---------------- ##
1311 _ASBOX
1312 echo
1313 # The following way of writing the cache mishandles newlines in values,
1314 {
1315 (set) 2>&1 |
1316 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1317 *ac_space=\ *)
1318 sed -n \
1319 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1320 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1321 ;;
1322 *)
1323 sed -n \
1324 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1325 ;;
1326 esac;
1327 }
1328 echo
1329
1330 cat <<\_ASBOX
1331 ## ----------------- ##
1332 ## Output variables. ##
1333 ## ----------------- ##
1334 _ASBOX
1335 echo
1336 for ac_var in $ac_subst_vars
1337 do
1338 eval ac_val=$`echo $ac_var`
1339 echo "$ac_var='"'"'$ac_val'"'"'"
1340 done | sort
1341 echo
1342
1343 if test -n "$ac_subst_files"; then
1344 cat <<\_ASBOX
1345 ## ------------- ##
1346 ## Output files. ##
1347 ## ------------- ##
1348 _ASBOX
1349 echo
1350 for ac_var in $ac_subst_files
1351 do
1352 eval ac_val=$`echo $ac_var`
1353 echo "$ac_var='"'"'$ac_val'"'"'"
1354 done | sort
1355 echo
1356 fi
1357
1358 if test -s confdefs.h; then
1359 cat <<\_ASBOX
1360 ## ----------- ##
1361 ## confdefs.h. ##
1362 ## ----------- ##
1363 _ASBOX
1364 echo
1365 sed "/^$/d" confdefs.h | sort
1366 echo
1367 fi
1368 test "$ac_signal" != 0 &&
1369 echo "$as_me: caught signal $ac_signal"
1370 echo "$as_me: exit $exit_status"
1371 } >&5
1372 rm -f core *.core &&
1373 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1374 exit $exit_status
1375 ' 0
1376 for ac_signal in 1 2 13 15; do
1377 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1378 done
1379 ac_signal=0
1380
1381 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1382 rm -rf conftest* confdefs.h
1383 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1384 echo >confdefs.h
1385
1386 # Predefined preprocessor variables.
1387
1388 cat >>confdefs.h <<_ACEOF
1389 #define PACKAGE_NAME "$PACKAGE_NAME"
1390 _ACEOF
1391
1392
1393 cat >>confdefs.h <<_ACEOF
1394 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1395 _ACEOF
1396
1397
1398 cat >>confdefs.h <<_ACEOF
1399 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1400 _ACEOF
1401
1402
1403 cat >>confdefs.h <<_ACEOF
1404 #define PACKAGE_STRING "$PACKAGE_STRING"
1405 _ACEOF
1406
1407
1408 cat >>confdefs.h <<_ACEOF
1409 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1410 _ACEOF
1411
1412
1413 # Let the site file select an alternate cache file if it wants to.
1414 # Prefer explicitly selected file to automatically selected ones.
1415 if test -z "$CONFIG_SITE"; then
1416 if test "x$prefix" != xNONE; then
1417 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1418 else
1419 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1420 fi
1421 fi
1422 for ac_site_file in $CONFIG_SITE; do
1423 if test -r "$ac_site_file"; then
1424 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1425 echo "$as_me: loading site script $ac_site_file" >&6;}
1426 sed 's/^/| /' "$ac_site_file" >&5
1427 . "$ac_site_file"
1428 fi
1429 done
1430
1431 if test -r "$cache_file"; then
1432 # Some versions of bash will fail to source /dev/null (special
1433 # files actually), so we avoid doing that.
1434 if test -f "$cache_file"; then
1435 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1436 echo "$as_me: loading cache $cache_file" >&6;}
1437 case $cache_file in
1438 [\\/]* | ?:[\\/]* ) . $cache_file;;
1439 *) . ./$cache_file;;
1440 esac
1441 fi
1442 else
1443 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1444 echo "$as_me: creating cache $cache_file" >&6;}
1445 >$cache_file
1446 fi
1447
1448 # Check that the precious variables saved in the cache have kept the same
1449 # value.
1450 ac_cache_corrupted=false
1451 for ac_var in `(set) 2>&1 |
1452 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1453 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1454 eval ac_new_set=\$ac_env_${ac_var}_set
1455 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1456 eval ac_new_val="\$ac_env_${ac_var}_value"
1457 case $ac_old_set,$ac_new_set in
1458 set,)
1459 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1460 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1461 ac_cache_corrupted=: ;;
1462 ,set)
1463 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1464 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1465 ac_cache_corrupted=: ;;
1466 ,);;
1467 *)
1468 if test "x$ac_old_val" != "x$ac_new_val"; then
1469 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1470 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1471 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1472 echo "$as_me: former value: $ac_old_val" >&2;}
1473 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1474 echo "$as_me: current value: $ac_new_val" >&2;}
1475 ac_cache_corrupted=:
1476 fi;;
1477 esac
1478 # Pass precious variables to config.status.
1479 if test "$ac_new_set" = set; then
1480 case $ac_new_val in
1481 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1482 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1483 *) ac_arg=$ac_var=$ac_new_val ;;
1484 esac
1485 case " $ac_configure_args " in
1486 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1487 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1488 esac
1489 fi
1490 done
1491 if $ac_cache_corrupted; then
1492 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1493 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1494 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1495 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1496 { (exit 1); exit 1; }; }
1497 fi
1498
1499 ac_ext=c
1500 ac_cpp='$CPP $CPPFLAGS'
1501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534 ac_aux_dir=
1535 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1536 if test -f $ac_dir/install-sh; then
1537 ac_aux_dir=$ac_dir
1538 ac_install_sh="$ac_aux_dir/install-sh -c"
1539 break
1540 elif test -f $ac_dir/install.sh; then
1541 ac_aux_dir=$ac_dir
1542 ac_install_sh="$ac_aux_dir/install.sh -c"
1543 break
1544 elif test -f $ac_dir/shtool; then
1545 ac_aux_dir=$ac_dir
1546 ac_install_sh="$ac_aux_dir/shtool install -c"
1547 break
1548 fi
1549 done
1550 if test -z "$ac_aux_dir"; then
1551 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1552 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1553 { (exit 1); exit 1; }; }
1554 fi
1555 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1556 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1557 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1558
1559 # Make sure we can run config.sub.
1560 $ac_config_sub sun4 >/dev/null 2>&1 ||
1561 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1562 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1563 { (exit 1); exit 1; }; }
1564
1565 echo "$as_me:$LINENO: checking build system type" >&5
1566 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1567 if test "${ac_cv_build+set}" = set; then
1568 echo $ECHO_N "(cached) $ECHO_C" >&6
1569 else
1570 ac_cv_build_alias=$build_alias
1571 test -z "$ac_cv_build_alias" &&
1572 ac_cv_build_alias=`$ac_config_guess`
1573 test -z "$ac_cv_build_alias" &&
1574 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1575 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1576 { (exit 1); exit 1; }; }
1577 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1578 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1579 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1580 { (exit 1); exit 1; }; }
1581
1582 fi
1583 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1584 echo "${ECHO_T}$ac_cv_build" >&6
1585 build=$ac_cv_build
1586 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1587 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1588 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1589
1590
1591 echo "$as_me:$LINENO: checking host system type" >&5
1592 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1593 if test "${ac_cv_host+set}" = set; then
1594 echo $ECHO_N "(cached) $ECHO_C" >&6
1595 else
1596 ac_cv_host_alias=$host_alias
1597 test -z "$ac_cv_host_alias" &&
1598 ac_cv_host_alias=$ac_cv_build_alias
1599 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1600 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1601 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1602 { (exit 1); exit 1; }; }
1603
1604 fi
1605 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1606 echo "${ECHO_T}$ac_cv_host" >&6
1607 host=$ac_cv_host
1608 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1609 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1610 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1611
1612
1613 echo "$as_me:$LINENO: checking target system type" >&5
1614 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1615 if test "${ac_cv_target+set}" = set; then
1616 echo $ECHO_N "(cached) $ECHO_C" >&6
1617 else
1618 ac_cv_target_alias=$target_alias
1619 test "x$ac_cv_target_alias" = "x" &&
1620 ac_cv_target_alias=$ac_cv_host_alias
1621 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1622 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1623 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1624 { (exit 1); exit 1; }; }
1625
1626 fi
1627 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1628 echo "${ECHO_T}$ac_cv_target" >&6
1629 target=$ac_cv_target
1630 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1631 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1632 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1633
1634
1635 # The aliases save the names the user supplied, while $host etc.
1636 # will get canonicalized.
1637 test -n "$target_alias" &&
1638 test "$program_prefix$program_suffix$program_transform_name" = \
1639 NONENONEs,x,x, &&
1640 program_prefix=${target_alias}-
1641
1642
1643
1644 WX_MAJOR_VERSION_NUMBER=2
1645 WX_MINOR_VERSION_NUMBER=5
1646 WX_RELEASE_NUMBER=1
1647
1648 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1649 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1650
1651 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1652
1653 WX_CURRENT=1
1654 WX_REVISION=0
1655 WX_AGE=0
1656
1657
1658
1659 USE_UNIX=1
1660 USE_OS2=0
1661 USE_WIN32=0
1662 USE_DOS=0
1663 USE_BEOS=0
1664 USE_MAC=0
1665
1666 USE_AIX=
1667 USE_BSD= USE_DARWIN= USE_FREEBSD=
1668 USE_GNU= USE_HPUX=
1669 USE_LINUX=
1670 USE_NETBSD=
1671 USE_OPENBSD=
1672 USE_OSF= USE_SGI=
1673 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1674 USE_ULTRIX=
1675 USE_UNIXWARE=
1676
1677 USE_ALPHA=
1678
1679 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1680
1681 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1682
1683 DEFAULT_wxUSE_COCOA=0
1684 DEFAULT_wxUSE_GTK=0
1685 DEFAULT_wxUSE_MAC=0
1686 DEFAULT_wxUSE_MGL=0
1687 DEFAULT_wxUSE_MICROWIN=0
1688 DEFAULT_wxUSE_MOTIF=0
1689 DEFAULT_wxUSE_MSW=0
1690 DEFAULT_wxUSE_PM=0
1691 DEFAULT_wxUSE_X11=0
1692
1693 DEFAULT_DEFAULT_wxUSE_COCOA=0
1694 DEFAULT_DEFAULT_wxUSE_GTK=0
1695 DEFAULT_DEFAULT_wxUSE_MAC=0
1696 DEFAULT_DEFAULT_wxUSE_MGL=0
1697 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1698 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1699 DEFAULT_DEFAULT_wxUSE_MSW=0
1700 DEFAULT_DEFAULT_wxUSE_PM=0
1701 DEFAULT_DEFAULT_wxUSE_X11=0
1702
1703 PROGRAM_EXT=
1704 SO_SUFFIX=so
1705 SAMPLES_RPATH_FLAG=
1706 SAMPLES_RPATH_POSTLINK=
1707
1708 case "${host}" in
1709 *-hp-hpux* )
1710 USE_HPUX=1
1711 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1712 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1713 SO_SUFFIX=sl
1714 cat >>confdefs.h <<\_ACEOF
1715 #define __HPUX__ 1
1716 _ACEOF
1717
1718 ;;
1719 *-*-linux* )
1720 USE_LINUX=1
1721 cat >>confdefs.h <<\_ACEOF
1722 #define __LINUX__ 1
1723 _ACEOF
1724
1725 TMP=`uname -m`
1726 if test "x$TMP" = "xalpha"; then
1727 USE_ALPHA=1
1728 cat >>confdefs.h <<\_ACEOF
1729 #define __ALPHA__ 1
1730 _ACEOF
1731
1732 fi
1733 DEFAULT_DEFAULT_wxUSE_GTK=1
1734 ;;
1735 *-*-gnu* )
1736 USE_GNU=1
1737 cat >>confdefs.h <<\_ACEOF
1738 #define __GNU__ 1
1739 _ACEOF
1740
1741 TMP=`uname -m`
1742 if test "x$TMP" = "xalpha"; then
1743 USE_ALPHA=1
1744 cat >>confdefs.h <<\_ACEOF
1745 #define __ALPHA__ 1
1746 _ACEOF
1747
1748 fi
1749 DEFAULT_DEFAULT_wxUSE_GTK=1
1750 ;;
1751 *-*-irix5* | *-*-irix6* )
1752 USE_SGI=1
1753 USE_SVR4=1
1754 cat >>confdefs.h <<\_ACEOF
1755 #define __SGI__ 1
1756 _ACEOF
1757
1758 cat >>confdefs.h <<\_ACEOF
1759 #define __SVR4__ 1
1760 _ACEOF
1761
1762 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1763 ;;
1764 *-*-solaris2* )
1765 USE_SUN=1
1766 USE_SOLARIS=1
1767 USE_SVR4=1
1768 cat >>confdefs.h <<\_ACEOF
1769 #define __SUN__ 1
1770 _ACEOF
1771
1772 cat >>confdefs.h <<\_ACEOF
1773 #define __SOLARIS__ 1
1774 _ACEOF
1775
1776 cat >>confdefs.h <<\_ACEOF
1777 #define __SVR4__ 1
1778 _ACEOF
1779
1780 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1781 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1782 ;;
1783 *-*-sunos4* )
1784 USE_SUN=1
1785 USE_SUNOS=1
1786 USE_BSD=1
1787 cat >>confdefs.h <<\_ACEOF
1788 #define __SUN__ 1
1789 _ACEOF
1790
1791 cat >>confdefs.h <<\_ACEOF
1792 #define __SUNOS__ 1
1793 _ACEOF
1794
1795 cat >>confdefs.h <<\_ACEOF
1796 #define __BSD__ 1
1797 _ACEOF
1798
1799 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1800 ;;
1801 *-*-freebsd*)
1802 USE_BSD=1
1803 USE_FREEBSD=1
1804 cat >>confdefs.h <<\_ACEOF
1805 #define __FREEBSD__ 1
1806 _ACEOF
1807
1808 cat >>confdefs.h <<\_ACEOF
1809 #define __BSD__ 1
1810 _ACEOF
1811
1812 DEFAULT_DEFAULT_wxUSE_GTK=1
1813 ;;
1814 *-*-openbsd*)
1815 USE_BSD=1
1816 USE_OPENBSD=1
1817 cat >>confdefs.h <<\_ACEOF
1818 #define __OPENBSD__ 1
1819 _ACEOF
1820
1821 cat >>confdefs.h <<\_ACEOF
1822 #define __BSD__ 1
1823 _ACEOF
1824
1825 DEFAULT_DEFAULT_wxUSE_GTK=1
1826 ;;
1827 *-*-netbsd*)
1828 USE_BSD=1
1829 USE_NETBSD=1
1830 cat >>confdefs.h <<\_ACEOF
1831 #define __NETBSD__ 1
1832 _ACEOF
1833
1834 cat >>confdefs.h <<\_ACEOF
1835 #define __BSD__ 1
1836 _ACEOF
1837
1838 DEFAULT_DEFAULT_wxUSE_GTK=1
1839 ;;
1840 *-*-osf* )
1841 USE_ALPHA=1
1842 USE_OSF=1
1843 cat >>confdefs.h <<\_ACEOF
1844 #define __ALPHA__ 1
1845 _ACEOF
1846
1847 cat >>confdefs.h <<\_ACEOF
1848 #define __OSF__ 1
1849 _ACEOF
1850
1851 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1852 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1853 ;;
1854 *-*-dgux5* )
1855 USE_ALPHA=1
1856 USE_SVR4=1
1857 cat >>confdefs.h <<\_ACEOF
1858 #define __ALPHA__ 1
1859 _ACEOF
1860
1861 cat >>confdefs.h <<\_ACEOF
1862 #define __SVR4__ 1
1863 _ACEOF
1864
1865 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1866 ;;
1867 *-*-sysv5* )
1868 USE_SYSV=1
1869 USE_SVR4=1
1870 cat >>confdefs.h <<\_ACEOF
1871 #define __SYSV__ 1
1872 _ACEOF
1873
1874 cat >>confdefs.h <<\_ACEOF
1875 #define __SVR4__ 1
1876 _ACEOF
1877
1878 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1879 ;;
1880 *-*-aix* )
1881 USE_AIX=1
1882 USE_SYSV=1
1883 USE_SVR4=1
1884 SO_SUFFIX=a
1885 cat >>confdefs.h <<\_ACEOF
1886 #define __AIX__ 1
1887 _ACEOF
1888
1889 cat >>confdefs.h <<\_ACEOF
1890 #define __SYSV__ 1
1891 _ACEOF
1892
1893 cat >>confdefs.h <<\_ACEOF
1894 #define __SVR4__ 1
1895 _ACEOF
1896
1897 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1898 ;;
1899
1900 *-*-*UnixWare*)
1901 USE_SYSV=1
1902 USE_SVR4=1
1903 USE_UNIXWARE=1
1904 cat >>confdefs.h <<\_ACEOF
1905 #define __UNIXWARE__ 1
1906 _ACEOF
1907
1908 ;;
1909
1910 *-*-cygwin* | *-*-mingw32* )
1911 SO_SUFFIX=dll
1912 PROGRAM_EXT=".exe"
1913 RESCOMP=windres
1914 DEFAULT_DEFAULT_wxUSE_MSW=1
1915 ;;
1916
1917 *-pc-msdosdjgpp )
1918 USE_UNIX=0
1919 USE_DOS=1
1920 cat >>confdefs.h <<\_ACEOF
1921 #define __DOS__ 1
1922 _ACEOF
1923
1924 PROGRAM_EXT=".exe"
1925 DEFAULT_DEFAULT_wxUSE_MGL=1
1926 LIBS="$LIBS -lstdc++"
1927 ;;
1928
1929 *-pc-os2_emx | *-pc-os2-emx )
1930 cat >>confdefs.h <<\_ACEOF
1931 #define __EMX__ 1
1932 _ACEOF
1933
1934 USE_OS2=1
1935 cat >>confdefs.h <<\_ACEOF
1936 #define __OS2__ 1
1937 _ACEOF
1938
1939 PROGRAM_EXT=".exe"
1940 DEFAULT_DEFAULT_wxUSE_PM=1
1941 CXX=gcc
1942 LDFLAGS="$LDFLAGS -Zcrtdll -Zsysv-signals"
1943 ac_executable_extensions=".exe"
1944 export ac_executable_extensions
1945 ac_save_IFS="$IFS"
1946 IFS='\\'
1947 ac_TEMP_PATH=
1948 for ac_dir in $PATH; do
1949 IFS=$ac_save_IFS
1950 if test -z "$ac_TEMP_PATH"; then
1951 ac_TEMP_PATH="$ac_dir"
1952 else
1953 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1954 fi
1955 done
1956 export PATH="$ac_TEMP_PATH"
1957 unset ac_TEMP_PATH
1958 ;;
1959
1960 powerpc-*-darwin* )
1961 USE_BSD=1
1962 USE_DARWIN=1
1963 SO_SUFFIX=dylib
1964 cat >>confdefs.h <<\_ACEOF
1965 #define __BSD__ 1
1966 _ACEOF
1967
1968 cat >>confdefs.h <<\_ACEOF
1969 #define __DARWIN__ 1
1970 _ACEOF
1971
1972 cat >>confdefs.h <<\_ACEOF
1973 #define __POWERPC__ 1
1974 _ACEOF
1975
1976 cat >>confdefs.h <<\_ACEOF
1977 #define TARGET_CARBON 1
1978 _ACEOF
1979
1980 DEFAULT_DEFAULT_wxUSE_MAC=1
1981 ;;
1982
1983 *-*-beos* )
1984 USE_BEOS=1
1985 cat >>confdefs.h <<\_ACEOF
1986 #define __BEOS__ 1
1987 _ACEOF
1988
1989 ;;
1990
1991 *)
1992 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1993 echo "$as_me: error: unknown system type ${host}." >&2;}
1994 { (exit 1); exit 1; }; }
1995 esac
1996
1997
1998
1999
2000 wx_arg_cache_file="configarg.cache"
2001 echo "loading argument cache $wx_arg_cache_file"
2002 rm -f ${wx_arg_cache_file}.tmp
2003 touch ${wx_arg_cache_file}.tmp
2004 touch ${wx_arg_cache_file}
2005
2006
2007 DEBUG_CONFIGURE=0
2008 if test $DEBUG_CONFIGURE = 1; then
2009 DEFAULT_wxUSE_UNIVERSAL=no
2010 DEFAULT_wxUSE_STL=no
2011
2012 DEFAULT_wxUSE_NANOX=no
2013
2014 DEFAULT_wxUSE_THREADS=yes
2015
2016 DEFAULT_wxUSE_SHARED=yes
2017 DEFAULT_wxUSE_OPTIMISE=no
2018 DEFAULT_wxUSE_PROFILE=no
2019 DEFAULT_wxUSE_NO_DEPS=no
2020 DEFAULT_wxUSE_NO_RTTI=no
2021 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2022 DEFAULT_wxUSE_PERMISSIVE=no
2023 DEFAULT_wxUSE_DEBUG_FLAG=yes
2024 DEFAULT_wxUSE_DEBUG_INFO=yes
2025 DEFAULT_wxUSE_DEBUG_GDB=yes
2026 DEFAULT_wxUSE_MEM_TRACING=no
2027 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2028 DEFAULT_wxUSE_DMALLOC=no
2029 DEFAULT_wxUSE_APPLE_IEEE=no
2030
2031 DEFAULT_wxUSE_EXCEPTIONS=no
2032 DEFAULT_wxUSE_LOG=yes
2033 DEFAULT_wxUSE_LOGWINDOW=no
2034 DEFAULT_wxUSE_LOGGUI=no
2035 DEFAULT_wxUSE_LOGDIALOG=no
2036
2037 DEFAULT_wxUSE_GUI=yes
2038 DEFAULT_wxUSE_CONTROLS=no
2039
2040 DEFAULT_wxUSE_REGEX=no
2041 DEFAULT_wxUSE_XML=no
2042 DEFAULT_wxUSE_EXPAT=no
2043 DEFAULT_wxUSE_ZLIB=no
2044 DEFAULT_wxUSE_LIBPNG=no
2045 DEFAULT_wxUSE_LIBJPEG=no
2046 DEFAULT_wxUSE_LIBTIFF=no
2047 DEFAULT_wxUSE_LIBXPM=no
2048 DEFAULT_wxUSE_LIBMSPACK=no
2049 DEFAULT_wxUSE_LIBSDL=no
2050 DEFAULT_wxUSE_ODBC=no
2051 DEFAULT_wxUSE_OPENGL=no
2052
2053 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2054 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2055 DEFAULT_wxUSE_STD_IOSTREAM=no
2056 DEFAULT_wxUSE_CMDLINE_PARSER=no
2057 DEFAULT_wxUSE_DATETIME=no
2058 DEFAULT_wxUSE_TIMER=no
2059 DEFAULT_wxUSE_STOPWATCH=no
2060 DEFAULT_wxUSE_FILE=no
2061 DEFAULT_wxUSE_FFILE=no
2062 DEFAULT_wxUSE_TEXTBUFFER=no
2063 DEFAULT_wxUSE_TEXTFILE=no
2064 DEFAULT_wxUSE_SOUND=no
2065 DEFAULT_wxUSE_INTL=no
2066 DEFAULT_wxUSE_CONFIG=no
2067 DEFAULT_wxUSE_FONTMAP=no
2068 DEFAULT_wxUSE_STREAMS=no
2069 DEFAULT_wxUSE_SOCKETS=no
2070 DEFAULT_wxUSE_OLE=no
2071 DEFAULT_wxUSE_DATAOBJ=no
2072 DEFAULT_wxUSE_DIALUP_MANAGER=no
2073 DEFAULT_wxUSE_JOYSTICK=no
2074 DEFAULT_wxUSE_DYNLIB_CLASS=no
2075 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2076 DEFAULT_wxUSE_LONGLONG=no
2077 DEFAULT_wxUSE_GEOMETRY=no
2078
2079 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2080 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2081 DEFAULT_wxUSE_POSTSCRIPT=no
2082
2083 DEFAULT_wxUSE_CLIPBOARD=no
2084 DEFAULT_wxUSE_TOOLTIPS=no
2085 DEFAULT_wxUSE_DRAG_AND_DROP=no
2086 DEFAULT_wxUSE_DRAGIMAGE=no
2087 DEFAULT_wxUSE_SPLINES=no
2088
2089 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2090 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2091 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2092
2093 DEFAULT_wxUSE_RESOURCES=no
2094 DEFAULT_wxUSE_CONSTRAINTS=no
2095 DEFAULT_wxUSE_IPC=no
2096 DEFAULT_wxUSE_HELP=no
2097 DEFAULT_wxUSE_MS_HTML_HELP=no
2098 DEFAULT_wxUSE_WXHTML_HELP=no
2099 DEFAULT_wxUSE_TREELAYOUT=no
2100 DEFAULT_wxUSE_METAFILE=no
2101 DEFAULT_wxUSE_MIMETYPE=no
2102 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2103 DEFAULT_wxUSE_PROTOCOL=no
2104 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2105 DEFAULT_wxUSE_PROTOCOL_FTP=no
2106 DEFAULT_wxUSE_PROTOCOL_FILE=no
2107 DEFAULT_wxUSE_URL=no
2108
2109 DEFAULT_wxUSE_COMMONDLGS=no
2110 DEFAULT_wxUSE_CHOICEDLG=no
2111 DEFAULT_wxUSE_COLOURDLG=no
2112 DEFAULT_wxUSE_DIRDLG=no
2113 DEFAULT_wxUSE_FILEDLG=no
2114 DEFAULT_wxUSE_FINDREPLDLG=no
2115 DEFAULT_wxUSE_FONTDLG=no
2116 DEFAULT_wxUSE_MSGDLG=no
2117 DEFAULT_wxUSE_NUMBERDLG=no
2118 DEFAULT_wxUSE_TEXTDLG=no
2119 DEFAULT_wxUSE_SPLASH=no
2120 DEFAULT_wxUSE_STARTUP_TIPS=no
2121 DEFAULT_wxUSE_PROGRESSDLG=no
2122 DEFAULT_wxUSE_WIZARDDLG=no
2123
2124 DEFAULT_wxUSE_MENUS=no
2125 DEFAULT_wxUSE_MINIFRAME=no
2126 DEFAULT_wxUSE_HTML=no
2127 DEFAULT_wxUSE_FILESYSTEM=no
2128 DEFAULT_wxUSE_FS_INET=no
2129 DEFAULT_wxUSE_FS_ZIP=no
2130 DEFAULT_wxUSE_BUSYINFO=no
2131 DEFAULT_wxUSE_ZIPSTREAM=no
2132 DEFAULT_wxUSE_GZSTREAM=no
2133 DEFAULT_wxUSE_VALIDATORS=no
2134
2135 DEFAULT_wxUSE_ACCEL=no
2136 DEFAULT_wxUSE_BUTTON=no
2137 DEFAULT_wxUSE_BMPBUTTON=no
2138 DEFAULT_wxUSE_CALCTRL=no
2139 DEFAULT_wxUSE_CARET=no
2140 DEFAULT_wxUSE_CHECKBOX=no
2141 DEFAULT_wxUSE_CHECKLST=no
2142 DEFAULT_wxUSE_CHOICE=no
2143 DEFAULT_wxUSE_COMBOBOX=no
2144 DEFAULT_wxUSE_DISPLAY=no
2145 DEFAULT_wxUSE_GAUGE=no
2146 DEFAULT_wxUSE_GRID=no
2147 DEFAULT_wxUSE_IMAGLIST=no
2148 DEFAULT_wxUSE_LISTBOOK=no
2149 DEFAULT_wxUSE_LISTBOX=no
2150 DEFAULT_wxUSE_LISTCTRL=no
2151 DEFAULT_wxUSE_NOTEBOOK=no
2152 DEFAULT_wxUSE_RADIOBOX=no
2153 DEFAULT_wxUSE_RADIOBTN=no
2154 DEFAULT_wxUSE_SASH=no
2155 DEFAULT_wxUSE_SCROLLBAR=no
2156 DEFAULT_wxUSE_SLIDER=no
2157 DEFAULT_wxUSE_SPINBTN=no
2158 DEFAULT_wxUSE_SPINCTRL=no
2159 DEFAULT_wxUSE_SPLITTER=no
2160 DEFAULT_wxUSE_STATBMP=no
2161 DEFAULT_wxUSE_STATBOX=no
2162 DEFAULT_wxUSE_STATLINE=no
2163 DEFAULT_wxUSE_STATTEXT=no
2164 DEFAULT_wxUSE_STATUSBAR=yes
2165 DEFAULT_wxUSE_TABDIALOG=no
2166 DEFAULT_wxUSE_TEXTCTRL=no
2167 DEFAULT_wxUSE_TOGGLEBTN=no
2168 DEFAULT_wxUSE_TOOLBAR=no
2169 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2170 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2171 DEFAULT_wxUSE_TREECTRL=no
2172 DEFAULT_wxUSE_POPUPWIN=no
2173 DEFAULT_wxUSE_TIPWINDOW=no
2174
2175 DEFAULT_wxUSE_UNICODE=no
2176 DEFAULT_wxUSE_UNICODE_MSLU=no
2177 DEFAULT_wxUSE_WCSRTOMBS=no
2178
2179 DEFAULT_wxUSE_PALETTE=no
2180 DEFAULT_wxUSE_IMAGE=no
2181 DEFAULT_wxUSE_GIF=no
2182 DEFAULT_wxUSE_PCX=no
2183 DEFAULT_wxUSE_PNM=no
2184 DEFAULT_wxUSE_IFF=no
2185 DEFAULT_wxUSE_XPM=no
2186 DEFAULT_wxUSE_ICO_CUR=no
2187 DEFAULT_wxUSE_ACCESSIBILITY=no
2188
2189 DEFAULT_wxUSE_MONOLITHIC=no
2190 DEFAULT_wxUSE_PLUGINS=no
2191 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2192 else
2193 DEFAULT_wxUSE_UNIVERSAL=no
2194 DEFAULT_wxUSE_STL=no
2195
2196 DEFAULT_wxUSE_NANOX=no
2197
2198 DEFAULT_wxUSE_THREADS=yes
2199
2200 DEFAULT_wxUSE_SHARED=yes
2201 DEFAULT_wxUSE_OPTIMISE=yes
2202 DEFAULT_wxUSE_PROFILE=no
2203 DEFAULT_wxUSE_NO_DEPS=no
2204 DEFAULT_wxUSE_NO_RTTI=no
2205 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2206 DEFAULT_wxUSE_PERMISSIVE=no
2207 DEFAULT_wxUSE_DEBUG_FLAG=no
2208 DEFAULT_wxUSE_DEBUG_INFO=no
2209 DEFAULT_wxUSE_DEBUG_GDB=no
2210 DEFAULT_wxUSE_MEM_TRACING=no
2211 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2212 DEFAULT_wxUSE_DMALLOC=no
2213 DEFAULT_wxUSE_APPLE_IEEE=yes
2214
2215 DEFAULT_wxUSE_EXCEPTIONS=yes
2216 DEFAULT_wxUSE_LOG=yes
2217 DEFAULT_wxUSE_LOGWINDOW=yes
2218 DEFAULT_wxUSE_LOGGUI=yes
2219 DEFAULT_wxUSE_LOGDIALOG=yes
2220
2221 DEFAULT_wxUSE_GUI=yes
2222
2223 DEFAULT_wxUSE_REGEX=yes
2224 DEFAULT_wxUSE_XML=yes
2225 DEFAULT_wxUSE_EXPAT=yes
2226 DEFAULT_wxUSE_ZLIB=yes
2227 DEFAULT_wxUSE_LIBPNG=yes
2228 DEFAULT_wxUSE_LIBJPEG=yes
2229 DEFAULT_wxUSE_LIBTIFF=yes
2230 DEFAULT_wxUSE_LIBXPM=yes
2231 DEFAULT_wxUSE_LIBMSPACK=yes
2232 DEFAULT_wxUSE_LIBSDL=no
2233 DEFAULT_wxUSE_ODBC=no
2234 DEFAULT_wxUSE_OPENGL=no
2235
2236 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2237 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2238 DEFAULT_wxUSE_STD_IOSTREAM=no
2239 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2240 DEFAULT_wxUSE_DATETIME=yes
2241 DEFAULT_wxUSE_TIMER=yes
2242 DEFAULT_wxUSE_STOPWATCH=yes
2243 DEFAULT_wxUSE_FILE=yes
2244 DEFAULT_wxUSE_FFILE=yes
2245 DEFAULT_wxUSE_TEXTBUFFER=yes
2246 DEFAULT_wxUSE_TEXTFILE=yes
2247 DEFAULT_wxUSE_SOUND=yes
2248 DEFAULT_wxUSE_INTL=yes
2249 DEFAULT_wxUSE_CONFIG=yes
2250 DEFAULT_wxUSE_FONTMAP=yes
2251 DEFAULT_wxUSE_STREAMS=yes
2252 DEFAULT_wxUSE_SOCKETS=yes
2253 DEFAULT_wxUSE_OLE=yes
2254 DEFAULT_wxUSE_DATAOBJ=yes
2255 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2256 DEFAULT_wxUSE_JOYSTICK=yes
2257 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2258 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2259 DEFAULT_wxUSE_LONGLONG=yes
2260 DEFAULT_wxUSE_GEOMETRY=yes
2261
2262 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2263 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2264 DEFAULT_wxUSE_POSTSCRIPT=yes
2265
2266 DEFAULT_wxUSE_CLIPBOARD=yes
2267 DEFAULT_wxUSE_TOOLTIPS=yes
2268 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2269 DEFAULT_wxUSE_DRAGIMAGE=yes
2270 DEFAULT_wxUSE_SPLINES=yes
2271
2272 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2273 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2274 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2275
2276 DEFAULT_wxUSE_RESOURCES=no
2277 DEFAULT_wxUSE_CONSTRAINTS=yes
2278 DEFAULT_wxUSE_IPC=yes
2279 DEFAULT_wxUSE_HELP=yes
2280 DEFAULT_wxUSE_MS_HTML_HELP=yes
2281 DEFAULT_wxUSE_WXHTML_HELP=yes
2282 DEFAULT_wxUSE_TREELAYOUT=yes
2283 DEFAULT_wxUSE_METAFILE=yes
2284 DEFAULT_wxUSE_MIMETYPE=yes
2285 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2286 DEFAULT_wxUSE_PROTOCOL=yes
2287 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2288 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2289 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2290 DEFAULT_wxUSE_URL=yes
2291
2292 DEFAULT_wxUSE_COMMONDLGS=yes
2293 DEFAULT_wxUSE_CHOICEDLG=yes
2294 DEFAULT_wxUSE_COLOURDLG=yes
2295 DEFAULT_wxUSE_DIRDLG=yes
2296 DEFAULT_wxUSE_FILEDLG=yes
2297 DEFAULT_wxUSE_FINDREPLDLG=yes
2298 DEFAULT_wxUSE_FONTDLG=yes
2299 DEFAULT_wxUSE_MSGDLG=yes
2300 DEFAULT_wxUSE_NUMBERDLG=yes
2301 DEFAULT_wxUSE_TEXTDLG=yes
2302 DEFAULT_wxUSE_SPLASH=yes
2303 DEFAULT_wxUSE_STARTUP_TIPS=yes
2304 DEFAULT_wxUSE_PROGRESSDLG=yes
2305 DEFAULT_wxUSE_WIZARDDLG=yes
2306
2307 DEFAULT_wxUSE_MENUS=yes
2308 DEFAULT_wxUSE_MINIFRAME=yes
2309 DEFAULT_wxUSE_HTML=yes
2310 DEFAULT_wxUSE_FILESYSTEM=yes
2311 DEFAULT_wxUSE_FS_INET=yes
2312 DEFAULT_wxUSE_FS_ZIP=yes
2313 DEFAULT_wxUSE_BUSYINFO=yes
2314 DEFAULT_wxUSE_ZIPSTREAM=yes
2315 DEFAULT_wxUSE_GZSTREAM=yes
2316 DEFAULT_wxUSE_VALIDATORS=yes
2317
2318 DEFAULT_wxUSE_ACCEL=yes
2319 DEFAULT_wxUSE_BUTTON=yes
2320 DEFAULT_wxUSE_BMPBUTTON=yes
2321 DEFAULT_wxUSE_CALCTRL=yes
2322 DEFAULT_wxUSE_CARET=yes
2323 DEFAULT_wxUSE_CHECKBOX=yes
2324 DEFAULT_wxUSE_CHECKLST=yes
2325 DEFAULT_wxUSE_CHOICE=yes
2326 DEFAULT_wxUSE_COMBOBOX=yes
2327 DEFAULT_wxUSE_DISPLAY=no
2328 DEFAULT_wxUSE_GAUGE=yes
2329 DEFAULT_wxUSE_GRID=yes
2330 DEFAULT_wxUSE_IMAGLIST=yes
2331 DEFAULT_wxUSE_LISTBOOK=yes
2332 DEFAULT_wxUSE_LISTBOX=yes
2333 DEFAULT_wxUSE_LISTCTRL=yes
2334 DEFAULT_wxUSE_NOTEBOOK=yes
2335 DEFAULT_wxUSE_RADIOBOX=yes
2336 DEFAULT_wxUSE_RADIOBTN=yes
2337 DEFAULT_wxUSE_SASH=yes
2338 DEFAULT_wxUSE_SCROLLBAR=yes
2339 DEFAULT_wxUSE_SLIDER=yes
2340 DEFAULT_wxUSE_SPINBTN=yes
2341 DEFAULT_wxUSE_SPINCTRL=yes
2342 DEFAULT_wxUSE_SPLITTER=yes
2343 DEFAULT_wxUSE_STATBMP=yes
2344 DEFAULT_wxUSE_STATBOX=yes
2345 DEFAULT_wxUSE_STATLINE=yes
2346 DEFAULT_wxUSE_STATTEXT=yes
2347 DEFAULT_wxUSE_STATUSBAR=yes
2348 DEFAULT_wxUSE_TABDIALOG=no
2349 DEFAULT_wxUSE_TEXTCTRL=yes
2350 DEFAULT_wxUSE_TOGGLEBTN=yes
2351 DEFAULT_wxUSE_TOOLBAR=yes
2352 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2353 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2354 DEFAULT_wxUSE_TREECTRL=yes
2355 DEFAULT_wxUSE_POPUPWIN=yes
2356 DEFAULT_wxUSE_TIPWINDOW=yes
2357
2358 DEFAULT_wxUSE_UNICODE=no
2359 DEFAULT_wxUSE_UNICODE_MSLU=yes
2360 DEFAULT_wxUSE_WCSRTOMBS=no
2361
2362 DEFAULT_wxUSE_PALETTE=yes
2363 DEFAULT_wxUSE_IMAGE=yes
2364 DEFAULT_wxUSE_GIF=yes
2365 DEFAULT_wxUSE_PCX=yes
2366 DEFAULT_wxUSE_IFF=no
2367 DEFAULT_wxUSE_PNM=yes
2368 DEFAULT_wxUSE_XPM=yes
2369 DEFAULT_wxUSE_ICO_CUR=yes
2370 DEFAULT_wxUSE_ACCESSIBILITY=no
2371
2372 DEFAULT_wxUSE_MONOLITHIC=no
2373 DEFAULT_wxUSE_PLUGINS=no
2374 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2375 fi
2376
2377
2378
2379 for toolkit in `echo $ALL_TOOLKITS`; do
2380 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2381 if test "x$LINE" != "x" ; then
2382 has_toolkit_in_cache=1
2383 eval "DEFAULT_$LINE"
2384 eval "CACHE_$toolkit=1"
2385 fi
2386 done
2387
2388
2389
2390 enablestring=
2391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2392 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2393 no_cache=0
2394 # Check whether --enable-gui or --disable-gui was given.
2395 if test "${enable_gui+set}" = set; then
2396 enableval="$enable_gui"
2397
2398 if test "$enableval" = yes; then
2399 ac_cv_use_gui='wxUSE_GUI=yes'
2400 else
2401 ac_cv_use_gui='wxUSE_GUI=no'
2402 fi
2403
2404 else
2405
2406 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2407 if test "x$LINE" != x ; then
2408 eval "DEFAULT_$LINE"
2409 else
2410 no_cache=1
2411 fi
2412
2413 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2414
2415 fi;
2416
2417 eval "$ac_cv_use_gui"
2418 if test "$no_cache" != 1; then
2419 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2420 fi
2421
2422 if test "$wxUSE_GUI" = yes; then
2423 echo "$as_me:$LINENO: result: yes" >&5
2424 echo "${ECHO_T}yes" >&6
2425 else
2426 echo "$as_me:$LINENO: result: no" >&5
2427 echo "${ECHO_T}no" >&6
2428 fi
2429
2430
2431 enablestring=
2432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2433 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2434 no_cache=0
2435 # Check whether --enable-monolithic or --disable-monolithic was given.
2436 if test "${enable_monolithic+set}" = set; then
2437 enableval="$enable_monolithic"
2438
2439 if test "$enableval" = yes; then
2440 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2441 else
2442 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2443 fi
2444
2445 else
2446
2447 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2448 if test "x$LINE" != x ; then
2449 eval "DEFAULT_$LINE"
2450 else
2451 no_cache=1
2452 fi
2453
2454 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2455
2456 fi;
2457
2458 eval "$ac_cv_use_monolithic"
2459 if test "$no_cache" != 1; then
2460 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2461 fi
2462
2463 if test "$wxUSE_MONOLITHIC" = yes; then
2464 echo "$as_me:$LINENO: result: yes" >&5
2465 echo "${ECHO_T}yes" >&6
2466 else
2467 echo "$as_me:$LINENO: result: no" >&5
2468 echo "${ECHO_T}no" >&6
2469 fi
2470
2471
2472 enablestring=
2473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2474 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2475 no_cache=0
2476 # Check whether --enable-plugins or --disable-plugins was given.
2477 if test "${enable_plugins+set}" = set; then
2478 enableval="$enable_plugins"
2479
2480 if test "$enableval" = yes; then
2481 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2482 else
2483 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2484 fi
2485
2486 else
2487
2488 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2489 if test "x$LINE" != x ; then
2490 eval "DEFAULT_$LINE"
2491 else
2492 no_cache=1
2493 fi
2494
2495 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2496
2497 fi;
2498
2499 eval "$ac_cv_use_plugins"
2500 if test "$no_cache" != 1; then
2501 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2502 fi
2503
2504 if test "$wxUSE_PLUGINS" = yes; then
2505 echo "$as_me:$LINENO: result: yes" >&5
2506 echo "${ECHO_T}yes" >&6
2507 else
2508 echo "$as_me:$LINENO: result: no" >&5
2509 echo "${ECHO_T}no" >&6
2510 fi
2511
2512
2513 if test "$wxUSE_GUI" = "yes"; then
2514
2515
2516 enablestring=
2517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2518 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2519 no_cache=0
2520 # Check whether --enable-universal or --disable-universal was given.
2521 if test "${enable_universal+set}" = set; then
2522 enableval="$enable_universal"
2523
2524 if test "$enableval" = yes; then
2525 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2526 else
2527 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2528 fi
2529
2530 else
2531
2532 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2533 if test "x$LINE" != x ; then
2534 eval "DEFAULT_$LINE"
2535 else
2536 no_cache=1
2537 fi
2538
2539 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2540
2541 fi;
2542
2543 eval "$ac_cv_use_universal"
2544 if test "$no_cache" != 1; then
2545 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2546 fi
2547
2548 if test "$wxUSE_UNIVERSAL" = yes; then
2549 echo "$as_me:$LINENO: result: yes" >&5
2550 echo "${ECHO_T}yes" >&6
2551 else
2552 echo "$as_me:$LINENO: result: no" >&5
2553 echo "${ECHO_T}no" >&6
2554 fi
2555
2556
2557 # Check whether --with-gtk or --without-gtk was given.
2558 if test "${with_gtk+set}" = set; then
2559 withval="$with_gtk"
2560 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2561 fi;
2562
2563 # Check whether --with-motif or --without-motif was given.
2564 if test "${with_motif+set}" = set; then
2565 withval="$with_motif"
2566 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2567 fi;
2568
2569 # Check whether --with-mac or --without-mac was given.
2570 if test "${with_mac+set}" = set; then
2571 withval="$with_mac"
2572 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2573 fi;
2574
2575 # Check whether --with-cocoa or --without-cocoa was given.
2576 if test "${with_cocoa+set}" = set; then
2577 withval="$with_cocoa"
2578 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2579 fi;
2580
2581 # Check whether --with-wine or --without-wine was given.
2582 if test "${with_wine+set}" = set; then
2583 withval="$with_wine"
2584 wxUSE_WINE="$withval" CACHE_WINE=1
2585 fi;
2586
2587 # Check whether --with-msw or --without-msw was given.
2588 if test "${with_msw+set}" = set; then
2589 withval="$with_msw"
2590 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2591 fi;
2592
2593 # Check whether --with-pm or --without-pm was given.
2594 if test "${with_pm+set}" = set; then
2595 withval="$with_pm"
2596 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2597 fi;
2598
2599 # Check whether --with-mgl or --without-mgl was given.
2600 if test "${with_mgl+set}" = set; then
2601 withval="$with_mgl"
2602 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2603 fi;
2604
2605 # Check whether --with-microwin or --without-microwin was given.
2606 if test "${with_microwin+set}" = set; then
2607 withval="$with_microwin"
2608 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2609 fi;
2610
2611 # Check whether --with-x11 or --without-x11 was given.
2612 if test "${with_x11+set}" = set; then
2613 withval="$with_x11"
2614 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2615 fi;
2616
2617 enablestring=
2618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2619 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2620 no_cache=0
2621 # Check whether --enable-nanox or --disable-nanox was given.
2622 if test "${enable_nanox+set}" = set; then
2623 enableval="$enable_nanox"
2624
2625 if test "$enableval" = yes; then
2626 ac_cv_use_nanox='wxUSE_NANOX=yes'
2627 else
2628 ac_cv_use_nanox='wxUSE_NANOX=no'
2629 fi
2630
2631 else
2632
2633 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2634 if test "x$LINE" != x ; then
2635 eval "DEFAULT_$LINE"
2636 else
2637 no_cache=1
2638 fi
2639
2640 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2641
2642 fi;
2643
2644 eval "$ac_cv_use_nanox"
2645 if test "$no_cache" != 1; then
2646 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2647 fi
2648
2649 if test "$wxUSE_NANOX" = yes; then
2650 echo "$as_me:$LINENO: result: yes" >&5
2651 echo "${ECHO_T}yes" >&6
2652 else
2653 echo "$as_me:$LINENO: result: no" >&5
2654 echo "${ECHO_T}no" >&6
2655 fi
2656
2657
2658
2659 enablestring=
2660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2661 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2662 no_cache=0
2663 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2664 if test "${enable_gtk2+set}" = set; then
2665 enableval="$enable_gtk2"
2666
2667 if test "$enableval" = yes; then
2668 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2669 else
2670 ac_cv_use_gtk2='wxUSE_GTK2=no'
2671 fi
2672
2673 else
2674
2675 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2676 if test "x$LINE" != x ; then
2677 eval "DEFAULT_$LINE"
2678 else
2679 no_cache=1
2680 fi
2681
2682 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2683
2684 fi;
2685
2686 eval "$ac_cv_use_gtk2"
2687 if test "$no_cache" != 1; then
2688 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2689 fi
2690
2691 if test "$wxUSE_GTK2" = yes; then
2692 echo "$as_me:$LINENO: result: yes" >&5
2693 echo "${ECHO_T}yes" >&6
2694 else
2695 echo "$as_me:$LINENO: result: no" >&5
2696 echo "${ECHO_T}no" >&6
2697 fi
2698
2699
2700
2701 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2702 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2703 no_cache=0
2704
2705 # Check whether --with-libpng or --without-libpng was given.
2706 if test "${with_libpng+set}" = set; then
2707 withval="$with_libpng"
2708
2709 if test "$withval" = yes; then
2710 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2711 elif test "$withval" = no; then
2712 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2713 elif test "$withval" = sys; then
2714 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2715 elif test "$withval" = builtin; then
2716 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2717 else
2718 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2719 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2720 { (exit 1); exit 1; }; }
2721 fi
2722
2723 else
2724
2725 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2726 if test "x$LINE" != x ; then
2727 eval "DEFAULT_$LINE"
2728 else
2729 no_cache=1
2730 fi
2731
2732 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2733
2734 fi;
2735
2736 eval "$ac_cv_use_libpng"
2737 if test "$no_cache" != 1; then
2738 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2739 fi
2740
2741 if test "$wxUSE_LIBPNG" = yes; then
2742 echo "$as_me:$LINENO: result: yes" >&5
2743 echo "${ECHO_T}yes" >&6
2744 elif test "$wxUSE_LIBPNG" = no; then
2745 echo "$as_me:$LINENO: result: no" >&5
2746 echo "${ECHO_T}no" >&6
2747 elif test "$wxUSE_LIBPNG" = sys; then
2748 echo "$as_me:$LINENO: result: system version" >&5
2749 echo "${ECHO_T}system version" >&6
2750 elif test "$wxUSE_LIBPNG" = builtin; then
2751 echo "$as_me:$LINENO: result: builtin version" >&5
2752 echo "${ECHO_T}builtin version" >&6
2753 else
2754 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2755 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2756 { (exit 1); exit 1; }; }
2757 fi
2758
2759
2760 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2761 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2762 no_cache=0
2763
2764 # Check whether --with-libjpeg or --without-libjpeg was given.
2765 if test "${with_libjpeg+set}" = set; then
2766 withval="$with_libjpeg"
2767
2768 if test "$withval" = yes; then
2769 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2770 elif test "$withval" = no; then
2771 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2772 elif test "$withval" = sys; then
2773 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2774 elif test "$withval" = builtin; then
2775 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2776 else
2777 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2778 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2779 { (exit 1); exit 1; }; }
2780 fi
2781
2782 else
2783
2784 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2785 if test "x$LINE" != x ; then
2786 eval "DEFAULT_$LINE"
2787 else
2788 no_cache=1
2789 fi
2790
2791 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2792
2793 fi;
2794
2795 eval "$ac_cv_use_libjpeg"
2796 if test "$no_cache" != 1; then
2797 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2798 fi
2799
2800 if test "$wxUSE_LIBJPEG" = yes; then
2801 echo "$as_me:$LINENO: result: yes" >&5
2802 echo "${ECHO_T}yes" >&6
2803 elif test "$wxUSE_LIBJPEG" = no; then
2804 echo "$as_me:$LINENO: result: no" >&5
2805 echo "${ECHO_T}no" >&6
2806 elif test "$wxUSE_LIBJPEG" = sys; then
2807 echo "$as_me:$LINENO: result: system version" >&5
2808 echo "${ECHO_T}system version" >&6
2809 elif test "$wxUSE_LIBJPEG" = builtin; then
2810 echo "$as_me:$LINENO: result: builtin version" >&5
2811 echo "${ECHO_T}builtin version" >&6
2812 else
2813 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2814 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2815 { (exit 1); exit 1; }; }
2816 fi
2817
2818
2819 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2820 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2821 no_cache=0
2822
2823 # Check whether --with-libtiff or --without-libtiff was given.
2824 if test "${with_libtiff+set}" = set; then
2825 withval="$with_libtiff"
2826
2827 if test "$withval" = yes; then
2828 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2829 elif test "$withval" = no; then
2830 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2831 elif test "$withval" = sys; then
2832 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2833 elif test "$withval" = builtin; then
2834 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2835 else
2836 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2837 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2838 { (exit 1); exit 1; }; }
2839 fi
2840
2841 else
2842
2843 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2844 if test "x$LINE" != x ; then
2845 eval "DEFAULT_$LINE"
2846 else
2847 no_cache=1
2848 fi
2849
2850 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2851
2852 fi;
2853
2854 eval "$ac_cv_use_libtiff"
2855 if test "$no_cache" != 1; then
2856 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2857 fi
2858
2859 if test "$wxUSE_LIBTIFF" = yes; then
2860 echo "$as_me:$LINENO: result: yes" >&5
2861 echo "${ECHO_T}yes" >&6
2862 elif test "$wxUSE_LIBTIFF" = no; then
2863 echo "$as_me:$LINENO: result: no" >&5
2864 echo "${ECHO_T}no" >&6
2865 elif test "$wxUSE_LIBTIFF" = sys; then
2866 echo "$as_me:$LINENO: result: system version" >&5
2867 echo "${ECHO_T}system version" >&6
2868 elif test "$wxUSE_LIBTIFF" = builtin; then
2869 echo "$as_me:$LINENO: result: builtin version" >&5
2870 echo "${ECHO_T}builtin version" >&6
2871 else
2872 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2873 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2874 { (exit 1); exit 1; }; }
2875 fi
2876
2877
2878 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2879 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2880 no_cache=0
2881
2882 # Check whether --with-libxpm or --without-libxpm was given.
2883 if test "${with_libxpm+set}" = set; then
2884 withval="$with_libxpm"
2885
2886 if test "$withval" = yes; then
2887 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2888 elif test "$withval" = no; then
2889 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2890 elif test "$withval" = sys; then
2891 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2892 elif test "$withval" = builtin; then
2893 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2894 else
2895 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2896 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2897 { (exit 1); exit 1; }; }
2898 fi
2899
2900 else
2901
2902 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2903 if test "x$LINE" != x ; then
2904 eval "DEFAULT_$LINE"
2905 else
2906 no_cache=1
2907 fi
2908
2909 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2910
2911 fi;
2912
2913 eval "$ac_cv_use_libxpm"
2914 if test "$no_cache" != 1; then
2915 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2916 fi
2917
2918 if test "$wxUSE_LIBXPM" = yes; then
2919 echo "$as_me:$LINENO: result: yes" >&5
2920 echo "${ECHO_T}yes" >&6
2921 elif test "$wxUSE_LIBXPM" = no; then
2922 echo "$as_me:$LINENO: result: no" >&5
2923 echo "${ECHO_T}no" >&6
2924 elif test "$wxUSE_LIBXPM" = sys; then
2925 echo "$as_me:$LINENO: result: system version" >&5
2926 echo "${ECHO_T}system version" >&6
2927 elif test "$wxUSE_LIBXPM" = builtin; then
2928 echo "$as_me:$LINENO: result: builtin version" >&5
2929 echo "${ECHO_T}builtin version" >&6
2930 else
2931 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2932 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2933 { (exit 1); exit 1; }; }
2934 fi
2935
2936
2937 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2938 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2939 no_cache=0
2940
2941 # Check whether --with-libmspack or --without-libmspack was given.
2942 if test "${with_libmspack+set}" = set; then
2943 withval="$with_libmspack"
2944
2945 if test "$withval" = yes; then
2946 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
2947 else
2948 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
2949 fi
2950
2951 else
2952
2953 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
2954 if test "x$LINE" != x ; then
2955 eval "DEFAULT_$LINE"
2956 else
2957 no_cache=1
2958 fi
2959
2960 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
2961
2962 fi;
2963
2964 eval "$ac_cv_use_libmspack"
2965 if test "$no_cache" != 1; then
2966 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
2967 fi
2968
2969 if test "$wxUSE_LIBMSPACK" = yes; then
2970 echo "$as_me:$LINENO: result: yes" >&5
2971 echo "${ECHO_T}yes" >&6
2972 else
2973 echo "$as_me:$LINENO: result: no" >&5
2974 echo "${ECHO_T}no" >&6
2975 fi
2976
2977
2978 echo "$as_me:$LINENO: checking for --with-sdl" >&5
2979 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
2980 no_cache=0
2981
2982 # Check whether --with-sdl or --without-sdl was given.
2983 if test "${with_sdl+set}" = set; then
2984 withval="$with_sdl"
2985
2986 if test "$withval" = yes; then
2987 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
2988 else
2989 ac_cv_use_sdl='wxUSE_LIBSDL=no'
2990 fi
2991
2992 else
2993
2994 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
2995 if test "x$LINE" != x ; then
2996 eval "DEFAULT_$LINE"
2997 else
2998 no_cache=1
2999 fi
3000
3001 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3002
3003 fi;
3004
3005 eval "$ac_cv_use_sdl"
3006 if test "$no_cache" != 1; then
3007 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3008 fi
3009
3010 if test "$wxUSE_LIBSDL" = yes; then
3011 echo "$as_me:$LINENO: result: yes" >&5
3012 echo "${ECHO_T}yes" >&6
3013 else
3014 echo "$as_me:$LINENO: result: no" >&5
3015 echo "${ECHO_T}no" >&6
3016 fi
3017
3018
3019 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3020 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3021 no_cache=0
3022
3023 # Check whether --with-opengl or --without-opengl was given.
3024 if test "${with_opengl+set}" = set; then
3025 withval="$with_opengl"
3026
3027 if test "$withval" = yes; then
3028 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3029 else
3030 ac_cv_use_opengl='wxUSE_OPENGL=no'
3031 fi
3032
3033 else
3034
3035 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3036 if test "x$LINE" != x ; then
3037 eval "DEFAULT_$LINE"
3038 else
3039 no_cache=1
3040 fi
3041
3042 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3043
3044 fi;
3045
3046 eval "$ac_cv_use_opengl"
3047 if test "$no_cache" != 1; then
3048 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3049 fi
3050
3051 if test "$wxUSE_OPENGL" = yes; then
3052 echo "$as_me:$LINENO: result: yes" >&5
3053 echo "${ECHO_T}yes" >&6
3054 else
3055 echo "$as_me:$LINENO: result: no" >&5
3056 echo "${ECHO_T}no" >&6
3057 fi
3058
3059
3060 fi
3061
3062
3063 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3064 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3065 no_cache=0
3066
3067 # Check whether --with-dmalloc or --without-dmalloc was given.
3068 if test "${with_dmalloc+set}" = set; then
3069 withval="$with_dmalloc"
3070
3071 if test "$withval" = yes; then
3072 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3073 else
3074 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3075 fi
3076
3077 else
3078
3079 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3080 if test "x$LINE" != x ; then
3081 eval "DEFAULT_$LINE"
3082 else
3083 no_cache=1
3084 fi
3085
3086 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3087
3088 fi;
3089
3090 eval "$ac_cv_use_dmalloc"
3091 if test "$no_cache" != 1; then
3092 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3093 fi
3094
3095 if test "$wxUSE_DMALLOC" = yes; then
3096 echo "$as_me:$LINENO: result: yes" >&5
3097 echo "${ECHO_T}yes" >&6
3098 else
3099 echo "$as_me:$LINENO: result: no" >&5
3100 echo "${ECHO_T}no" >&6
3101 fi
3102
3103
3104 echo "$as_me:$LINENO: checking for --with-regex" >&5
3105 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3106 no_cache=0
3107
3108 # Check whether --with-regex or --without-regex was given.
3109 if test "${with_regex+set}" = set; then
3110 withval="$with_regex"
3111
3112 if test "$withval" = yes; then
3113 ac_cv_use_regex='wxUSE_REGEX=yes'
3114 elif test "$withval" = no; then
3115 ac_cv_use_regex='wxUSE_REGEX=no'
3116 elif test "$withval" = sys; then
3117 ac_cv_use_regex='wxUSE_REGEX=sys'
3118 elif test "$withval" = builtin; then
3119 ac_cv_use_regex='wxUSE_REGEX=builtin'
3120 else
3121 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3122 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3123 { (exit 1); exit 1; }; }
3124 fi
3125
3126 else
3127
3128 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3129 if test "x$LINE" != x ; then
3130 eval "DEFAULT_$LINE"
3131 else
3132 no_cache=1
3133 fi
3134
3135 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3136
3137 fi;
3138
3139 eval "$ac_cv_use_regex"
3140 if test "$no_cache" != 1; then
3141 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3142 fi
3143
3144 if test "$wxUSE_REGEX" = yes; then
3145 echo "$as_me:$LINENO: result: yes" >&5
3146 echo "${ECHO_T}yes" >&6
3147 elif test "$wxUSE_REGEX" = no; then
3148 echo "$as_me:$LINENO: result: no" >&5
3149 echo "${ECHO_T}no" >&6
3150 elif test "$wxUSE_REGEX" = sys; then
3151 echo "$as_me:$LINENO: result: system version" >&5
3152 echo "${ECHO_T}system version" >&6
3153 elif test "$wxUSE_REGEX" = builtin; then
3154 echo "$as_me:$LINENO: result: builtin version" >&5
3155 echo "${ECHO_T}builtin version" >&6
3156 else
3157 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3158 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3159 { (exit 1); exit 1; }; }
3160 fi
3161
3162
3163 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3164 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3165 no_cache=0
3166
3167 # Check whether --with-zlib or --without-zlib was given.
3168 if test "${with_zlib+set}" = set; then
3169 withval="$with_zlib"
3170
3171 if test "$withval" = yes; then
3172 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3173 elif test "$withval" = no; then
3174 ac_cv_use_zlib='wxUSE_ZLIB=no'
3175 elif test "$withval" = sys; then
3176 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3177 elif test "$withval" = builtin; then
3178 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3179 else
3180 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3181 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3182 { (exit 1); exit 1; }; }
3183 fi
3184
3185 else
3186
3187 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3188 if test "x$LINE" != x ; then
3189 eval "DEFAULT_$LINE"
3190 else
3191 no_cache=1
3192 fi
3193
3194 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3195
3196 fi;
3197
3198 eval "$ac_cv_use_zlib"
3199 if test "$no_cache" != 1; then
3200 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3201 fi
3202
3203 if test "$wxUSE_ZLIB" = yes; then
3204 echo "$as_me:$LINENO: result: yes" >&5
3205 echo "${ECHO_T}yes" >&6
3206 elif test "$wxUSE_ZLIB" = no; then
3207 echo "$as_me:$LINENO: result: no" >&5
3208 echo "${ECHO_T}no" >&6
3209 elif test "$wxUSE_ZLIB" = sys; then
3210 echo "$as_me:$LINENO: result: system version" >&5
3211 echo "${ECHO_T}system version" >&6
3212 elif test "$wxUSE_ZLIB" = builtin; then
3213 echo "$as_me:$LINENO: result: builtin version" >&5
3214 echo "${ECHO_T}builtin version" >&6
3215 else
3216 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3217 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3218 { (exit 1); exit 1; }; }
3219 fi
3220
3221
3222 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3223 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3224 no_cache=0
3225
3226 # Check whether --with-odbc or --without-odbc was given.
3227 if test "${with_odbc+set}" = set; then
3228 withval="$with_odbc"
3229
3230 if test "$withval" = yes; then
3231 ac_cv_use_odbc='wxUSE_ODBC=yes'
3232 elif test "$withval" = no; then
3233 ac_cv_use_odbc='wxUSE_ODBC=no'
3234 elif test "$withval" = sys; then
3235 ac_cv_use_odbc='wxUSE_ODBC=sys'
3236 elif test "$withval" = builtin; then
3237 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3238 else
3239 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3240 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3241 { (exit 1); exit 1; }; }
3242 fi
3243
3244 else
3245
3246 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3247 if test "x$LINE" != x ; then
3248 eval "DEFAULT_$LINE"
3249 else
3250 no_cache=1
3251 fi
3252
3253 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3254
3255 fi;
3256
3257 eval "$ac_cv_use_odbc"
3258 if test "$no_cache" != 1; then
3259 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3260 fi
3261
3262 if test "$wxUSE_ODBC" = yes; then
3263 echo "$as_me:$LINENO: result: yes" >&5
3264 echo "${ECHO_T}yes" >&6
3265 elif test "$wxUSE_ODBC" = no; then
3266 echo "$as_me:$LINENO: result: no" >&5
3267 echo "${ECHO_T}no" >&6
3268 elif test "$wxUSE_ODBC" = sys; then
3269 echo "$as_me:$LINENO: result: system version" >&5
3270 echo "${ECHO_T}system version" >&6
3271 elif test "$wxUSE_ODBC" = builtin; then
3272 echo "$as_me:$LINENO: result: builtin version" >&5
3273 echo "${ECHO_T}builtin version" >&6
3274 else
3275 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3276 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3277 { (exit 1); exit 1; }; }
3278 fi
3279
3280
3281 echo "$as_me:$LINENO: checking for --with-expat" >&5
3282 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3283 no_cache=0
3284
3285 # Check whether --with-expat or --without-expat was given.
3286 if test "${with_expat+set}" = set; then
3287 withval="$with_expat"
3288
3289 if test "$withval" = yes; then
3290 ac_cv_use_expat='wxUSE_EXPAT=yes'
3291 elif test "$withval" = no; then
3292 ac_cv_use_expat='wxUSE_EXPAT=no'
3293 elif test "$withval" = sys; then
3294 ac_cv_use_expat='wxUSE_EXPAT=sys'
3295 elif test "$withval" = builtin; then
3296 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3297 else
3298 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3299 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3300 { (exit 1); exit 1; }; }
3301 fi
3302
3303 else
3304
3305 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3306 if test "x$LINE" != x ; then
3307 eval "DEFAULT_$LINE"
3308 else
3309 no_cache=1
3310 fi
3311
3312 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3313
3314 fi;
3315
3316 eval "$ac_cv_use_expat"
3317 if test "$no_cache" != 1; then
3318 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3319 fi
3320
3321 if test "$wxUSE_EXPAT" = yes; then
3322 echo "$as_me:$LINENO: result: yes" >&5
3323 echo "${ECHO_T}yes" >&6
3324 elif test "$wxUSE_EXPAT" = no; then
3325 echo "$as_me:$LINENO: result: no" >&5
3326 echo "${ECHO_T}no" >&6
3327 elif test "$wxUSE_EXPAT" = sys; then
3328 echo "$as_me:$LINENO: result: system version" >&5
3329 echo "${ECHO_T}system version" >&6
3330 elif test "$wxUSE_EXPAT" = builtin; then
3331 echo "$as_me:$LINENO: result: builtin version" >&5
3332 echo "${ECHO_T}builtin version" >&6
3333 else
3334 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3335 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3336 { (exit 1); exit 1; }; }
3337 fi
3338
3339
3340
3341
3342 enablestring=
3343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3344 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3345 no_cache=0
3346 # Check whether --enable-shared or --disable-shared was given.
3347 if test "${enable_shared+set}" = set; then
3348 enableval="$enable_shared"
3349
3350 if test "$enableval" = yes; then
3351 ac_cv_use_shared='wxUSE_SHARED=yes'
3352 else
3353 ac_cv_use_shared='wxUSE_SHARED=no'
3354 fi
3355
3356 else
3357
3358 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3359 if test "x$LINE" != x ; then
3360 eval "DEFAULT_$LINE"
3361 else
3362 no_cache=1
3363 fi
3364
3365 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3366
3367 fi;
3368
3369 eval "$ac_cv_use_shared"
3370 if test "$no_cache" != 1; then
3371 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3372 fi
3373
3374 if test "$wxUSE_SHARED" = yes; then
3375 echo "$as_me:$LINENO: result: yes" >&5
3376 echo "${ECHO_T}yes" >&6
3377 else
3378 echo "$as_me:$LINENO: result: no" >&5
3379 echo "${ECHO_T}no" >&6
3380 fi
3381
3382
3383 enablestring=
3384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3385 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3386 no_cache=0
3387 # Check whether --enable-optimise or --disable-optimise was given.
3388 if test "${enable_optimise+set}" = set; then
3389 enableval="$enable_optimise"
3390
3391 if test "$enableval" = yes; then
3392 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3393 else
3394 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3395 fi
3396
3397 else
3398
3399 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3400 if test "x$LINE" != x ; then
3401 eval "DEFAULT_$LINE"
3402 else
3403 no_cache=1
3404 fi
3405
3406 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3407
3408 fi;
3409
3410 eval "$ac_cv_use_optimise"
3411 if test "$no_cache" != 1; then
3412 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3413 fi
3414
3415 if test "$wxUSE_OPTIMISE" = yes; then
3416 echo "$as_me:$LINENO: result: yes" >&5
3417 echo "${ECHO_T}yes" >&6
3418 else
3419 echo "$as_me:$LINENO: result: no" >&5
3420 echo "${ECHO_T}no" >&6
3421 fi
3422
3423
3424 enablestring=
3425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3426 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3427 no_cache=0
3428 # Check whether --enable-debug or --disable-debug was given.
3429 if test "${enable_debug+set}" = set; then
3430 enableval="$enable_debug"
3431
3432 if test "$enableval" = yes; then
3433 ac_cv_use_debug='wxUSE_DEBUG=yes'
3434 else
3435 ac_cv_use_debug='wxUSE_DEBUG=no'
3436 fi
3437
3438 else
3439
3440 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3441 if test "x$LINE" != x ; then
3442 eval "DEFAULT_$LINE"
3443 else
3444 no_cache=1
3445 fi
3446
3447 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3448
3449 fi;
3450
3451 eval "$ac_cv_use_debug"
3452 if test "$no_cache" != 1; then
3453 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3454 fi
3455
3456 if test "$wxUSE_DEBUG" = yes; then
3457 echo "$as_me:$LINENO: result: yes" >&5
3458 echo "${ECHO_T}yes" >&6
3459 else
3460 echo "$as_me:$LINENO: result: no" >&5
3461 echo "${ECHO_T}no" >&6
3462 fi
3463
3464
3465 enablestring=
3466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3467 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3468 no_cache=0
3469 # Check whether --enable-stl or --disable-stl was given.
3470 if test "${enable_stl+set}" = set; then
3471 enableval="$enable_stl"
3472
3473 if test "$enableval" = yes; then
3474 ac_cv_use_stl='wxUSE_STL=yes'
3475 else
3476 ac_cv_use_stl='wxUSE_STL=no'
3477 fi
3478
3479 else
3480
3481 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3482 if test "x$LINE" != x ; then
3483 eval "DEFAULT_$LINE"
3484 else
3485 no_cache=1
3486 fi
3487
3488 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3489
3490 fi;
3491
3492 eval "$ac_cv_use_stl"
3493 if test "$no_cache" != 1; then
3494 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3495 fi
3496
3497 if test "$wxUSE_STL" = yes; then
3498 echo "$as_me:$LINENO: result: yes" >&5
3499 echo "${ECHO_T}yes" >&6
3500 else
3501 echo "$as_me:$LINENO: result: no" >&5
3502 echo "${ECHO_T}no" >&6
3503 fi
3504
3505
3506 if test "$wxUSE_DEBUG" = "yes"; then
3507 DEFAULT_wxUSE_DEBUG_FLAG=yes
3508 DEFAULT_wxUSE_DEBUG_INFO=yes
3509 BUILD=debug
3510 elif test "$wxUSE_DEBUG" = "no"; then
3511 DEFAULT_wxUSE_DEBUG_FLAG=no
3512 DEFAULT_wxUSE_DEBUG_INFO=no
3513 BUILD=release
3514 fi
3515
3516
3517 enablestring=
3518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3519 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3520 no_cache=0
3521 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3522 if test "${enable_debug_flag+set}" = set; then
3523 enableval="$enable_debug_flag"
3524
3525 if test "$enableval" = yes; then
3526 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3527 else
3528 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3529 fi
3530
3531 else
3532
3533 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3534 if test "x$LINE" != x ; then
3535 eval "DEFAULT_$LINE"
3536 else
3537 no_cache=1
3538 fi
3539
3540 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3541
3542 fi;
3543
3544 eval "$ac_cv_use_debug_flag"
3545 if test "$no_cache" != 1; then
3546 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3547 fi
3548
3549 if test "$wxUSE_DEBUG_FLAG" = yes; then
3550 echo "$as_me:$LINENO: result: yes" >&5
3551 echo "${ECHO_T}yes" >&6
3552 else
3553 echo "$as_me:$LINENO: result: no" >&5
3554 echo "${ECHO_T}no" >&6
3555 fi
3556
3557
3558 enablestring=
3559 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3560 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3561 no_cache=0
3562 # Check whether --enable-debug_info or --disable-debug_info was given.
3563 if test "${enable_debug_info+set}" = set; then
3564 enableval="$enable_debug_info"
3565
3566 if test "$enableval" = yes; then
3567 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3568 else
3569 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3570 fi
3571
3572 else
3573
3574 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3575 if test "x$LINE" != x ; then
3576 eval "DEFAULT_$LINE"
3577 else
3578 no_cache=1
3579 fi
3580
3581 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3582
3583 fi;
3584
3585 eval "$ac_cv_use_debug_info"
3586 if test "$no_cache" != 1; then
3587 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3588 fi
3589
3590 if test "$wxUSE_DEBUG_INFO" = yes; then
3591 echo "$as_me:$LINENO: result: yes" >&5
3592 echo "${ECHO_T}yes" >&6
3593 else
3594 echo "$as_me:$LINENO: result: no" >&5
3595 echo "${ECHO_T}no" >&6
3596 fi
3597
3598
3599 enablestring=
3600 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3601 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3602 no_cache=0
3603 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3604 if test "${enable_debug_gdb+set}" = set; then
3605 enableval="$enable_debug_gdb"
3606
3607 if test "$enableval" = yes; then
3608 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3609 else
3610 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3611 fi
3612
3613 else
3614
3615 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3616 if test "x$LINE" != x ; then
3617 eval "DEFAULT_$LINE"
3618 else
3619 no_cache=1
3620 fi
3621
3622 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3623
3624 fi;
3625
3626 eval "$ac_cv_use_debug_gdb"
3627 if test "$no_cache" != 1; then
3628 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3629 fi
3630
3631 if test "$wxUSE_DEBUG_GDB" = yes; then
3632 echo "$as_me:$LINENO: result: yes" >&5
3633 echo "${ECHO_T}yes" >&6
3634 else
3635 echo "$as_me:$LINENO: result: no" >&5
3636 echo "${ECHO_T}no" >&6
3637 fi
3638
3639
3640 enablestring=
3641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3642 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3643 no_cache=0
3644 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3645 if test "${enable_debug_cntxt+set}" = set; then
3646 enableval="$enable_debug_cntxt"
3647
3648 if test "$enableval" = yes; then
3649 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3650 else
3651 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3652 fi
3653
3654 else
3655
3656 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3657 if test "x$LINE" != x ; then
3658 eval "DEFAULT_$LINE"
3659 else
3660 no_cache=1
3661 fi
3662
3663 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3664
3665 fi;
3666
3667 eval "$ac_cv_use_debug_cntxt"
3668 if test "$no_cache" != 1; then
3669 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3670 fi
3671
3672 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3673 echo "$as_me:$LINENO: result: yes" >&5
3674 echo "${ECHO_T}yes" >&6
3675 else
3676 echo "$as_me:$LINENO: result: no" >&5
3677 echo "${ECHO_T}no" >&6
3678 fi
3679
3680
3681 enablestring=
3682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3683 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3684 no_cache=0
3685 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3686 if test "${enable_mem_tracing+set}" = set; then
3687 enableval="$enable_mem_tracing"
3688
3689 if test "$enableval" = yes; then
3690 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3691 else
3692 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3693 fi
3694
3695 else
3696
3697 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3698 if test "x$LINE" != x ; then
3699 eval "DEFAULT_$LINE"
3700 else
3701 no_cache=1
3702 fi
3703
3704 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3705
3706 fi;
3707
3708 eval "$ac_cv_use_mem_tracing"
3709 if test "$no_cache" != 1; then
3710 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3711 fi
3712
3713 if test "$wxUSE_MEM_TRACING" = yes; then
3714 echo "$as_me:$LINENO: result: yes" >&5
3715 echo "${ECHO_T}yes" >&6
3716 else
3717 echo "$as_me:$LINENO: result: no" >&5
3718 echo "${ECHO_T}no" >&6
3719 fi
3720
3721
3722 enablestring=
3723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3724 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3725 no_cache=0
3726 # Check whether --enable-profile or --disable-profile was given.
3727 if test "${enable_profile+set}" = set; then
3728 enableval="$enable_profile"
3729
3730 if test "$enableval" = yes; then
3731 ac_cv_use_profile='wxUSE_PROFILE=yes'
3732 else
3733 ac_cv_use_profile='wxUSE_PROFILE=no'
3734 fi
3735
3736 else
3737
3738 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3739 if test "x$LINE" != x ; then
3740 eval "DEFAULT_$LINE"
3741 else
3742 no_cache=1
3743 fi
3744
3745 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3746
3747 fi;
3748
3749 eval "$ac_cv_use_profile"
3750 if test "$no_cache" != 1; then
3751 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3752 fi
3753
3754 if test "$wxUSE_PROFILE" = yes; then
3755 echo "$as_me:$LINENO: result: yes" >&5
3756 echo "${ECHO_T}yes" >&6
3757 else
3758 echo "$as_me:$LINENO: result: no" >&5
3759 echo "${ECHO_T}no" >&6
3760 fi
3761
3762
3763 enablestring=
3764 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3765 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3766 no_cache=0
3767 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3768 if test "${enable_no_rtti+set}" = set; then
3769 enableval="$enable_no_rtti"
3770
3771 if test "$enableval" = yes; then
3772 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3773 else
3774 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3775 fi
3776
3777 else
3778
3779 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3780 if test "x$LINE" != x ; then
3781 eval "DEFAULT_$LINE"
3782 else
3783 no_cache=1
3784 fi
3785
3786 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3787
3788 fi;
3789
3790 eval "$ac_cv_use_no_rtti"
3791 if test "$no_cache" != 1; then
3792 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3793 fi
3794
3795 if test "$wxUSE_NO_RTTI" = yes; then
3796 echo "$as_me:$LINENO: result: yes" >&5
3797 echo "${ECHO_T}yes" >&6
3798 else
3799 echo "$as_me:$LINENO: result: no" >&5
3800 echo "${ECHO_T}no" >&6
3801 fi
3802
3803
3804 enablestring=
3805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3806 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3807 no_cache=0
3808 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3809 if test "${enable_no_exceptions+set}" = set; then
3810 enableval="$enable_no_exceptions"
3811
3812 if test "$enableval" = yes; then
3813 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3814 else
3815 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3816 fi
3817
3818 else
3819
3820 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3821 if test "x$LINE" != x ; then
3822 eval "DEFAULT_$LINE"
3823 else
3824 no_cache=1
3825 fi
3826
3827 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3828
3829 fi;
3830
3831 eval "$ac_cv_use_no_exceptions"
3832 if test "$no_cache" != 1; then
3833 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3834 fi
3835
3836 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3837 echo "$as_me:$LINENO: result: yes" >&5
3838 echo "${ECHO_T}yes" >&6
3839 else
3840 echo "$as_me:$LINENO: result: no" >&5
3841 echo "${ECHO_T}no" >&6
3842 fi
3843
3844
3845 enablestring=
3846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3847 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3848 no_cache=0
3849 # Check whether --enable-permissive or --disable-permissive was given.
3850 if test "${enable_permissive+set}" = set; then
3851 enableval="$enable_permissive"
3852
3853 if test "$enableval" = yes; then
3854 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3855 else
3856 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3857 fi
3858
3859 else
3860
3861 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3862 if test "x$LINE" != x ; then
3863 eval "DEFAULT_$LINE"
3864 else
3865 no_cache=1
3866 fi
3867
3868 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3869
3870 fi;
3871
3872 eval "$ac_cv_use_permissive"
3873 if test "$no_cache" != 1; then
3874 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3875 fi
3876
3877 if test "$wxUSE_PERMISSIVE" = yes; then
3878 echo "$as_me:$LINENO: result: yes" >&5
3879 echo "${ECHO_T}yes" >&6
3880 else
3881 echo "$as_me:$LINENO: result: no" >&5
3882 echo "${ECHO_T}no" >&6
3883 fi
3884
3885
3886 enablestring=
3887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3888 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3889 no_cache=0
3890 # Check whether --enable-no_deps or --disable-no_deps was given.
3891 if test "${enable_no_deps+set}" = set; then
3892 enableval="$enable_no_deps"
3893
3894 if test "$enableval" = yes; then
3895 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3896 else
3897 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3898 fi
3899
3900 else
3901
3902 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3903 if test "x$LINE" != x ; then
3904 eval "DEFAULT_$LINE"
3905 else
3906 no_cache=1
3907 fi
3908
3909 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3910
3911 fi;
3912
3913 eval "$ac_cv_use_no_deps"
3914 if test "$no_cache" != 1; then
3915 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3916 fi
3917
3918 if test "$wxUSE_NO_DEPS" = yes; then
3919 echo "$as_me:$LINENO: result: yes" >&5
3920 echo "${ECHO_T}yes" >&6
3921 else
3922 echo "$as_me:$LINENO: result: no" >&5
3923 echo "${ECHO_T}no" >&6
3924 fi
3925
3926
3927
3928 enablestring=
3929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3930 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3931 no_cache=0
3932 # Check whether --enable-compat22 or --disable-compat22 was given.
3933 if test "${enable_compat22+set}" = set; then
3934 enableval="$enable_compat22"
3935
3936 if test "$enableval" = yes; then
3937 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3938 else
3939 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3940 fi
3941
3942 else
3943
3944 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3945 if test "x$LINE" != x ; then
3946 eval "DEFAULT_$LINE"
3947 else
3948 no_cache=1
3949 fi
3950
3951 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3952
3953 fi;
3954
3955 eval "$ac_cv_use_compat22"
3956 if test "$no_cache" != 1; then
3957 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3958 fi
3959
3960 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3961 echo "$as_me:$LINENO: result: yes" >&5
3962 echo "${ECHO_T}yes" >&6
3963 else
3964 echo "$as_me:$LINENO: result: no" >&5
3965 echo "${ECHO_T}no" >&6
3966 fi
3967
3968
3969 enablestring=disable
3970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3971 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3972 no_cache=0
3973 # Check whether --enable-compat24 or --disable-compat24 was given.
3974 if test "${enable_compat24+set}" = set; then
3975 enableval="$enable_compat24"
3976
3977 if test "$enableval" = yes; then
3978 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3979 else
3980 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3981 fi
3982
3983 else
3984
3985 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3986 if test "x$LINE" != x ; then
3987 eval "DEFAULT_$LINE"
3988 else
3989 no_cache=1
3990 fi
3991
3992 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3993
3994 fi;
3995
3996 eval "$ac_cv_use_compat24"
3997 if test "$no_cache" != 1; then
3998 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3999 fi
4000
4001 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4002 echo "$as_me:$LINENO: result: yes" >&5
4003 echo "${ECHO_T}yes" >&6
4004 else
4005 echo "$as_me:$LINENO: result: no" >&5
4006 echo "${ECHO_T}no" >&6
4007 fi
4008
4009
4010 # Check whether --enable-rpath or --disable-rpath was given.
4011 if test "${enable_rpath+set}" = set; then
4012 enableval="$enable_rpath"
4013 wxRPATH_DIR="$enableval"
4014 fi;
4015
4016 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
4017 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
4018 fi
4019
4020
4021
4022
4023 enablestring=
4024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4025 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4026 no_cache=0
4027 # Check whether --enable-intl or --disable-intl was given.
4028 if test "${enable_intl+set}" = set; then
4029 enableval="$enable_intl"
4030
4031 if test "$enableval" = yes; then
4032 ac_cv_use_intl='wxUSE_INTL=yes'
4033 else
4034 ac_cv_use_intl='wxUSE_INTL=no'
4035 fi
4036
4037 else
4038
4039 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4040 if test "x$LINE" != x ; then
4041 eval "DEFAULT_$LINE"
4042 else
4043 no_cache=1
4044 fi
4045
4046 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4047
4048 fi;
4049
4050 eval "$ac_cv_use_intl"
4051 if test "$no_cache" != 1; then
4052 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4053 fi
4054
4055 if test "$wxUSE_INTL" = yes; then
4056 echo "$as_me:$LINENO: result: yes" >&5
4057 echo "${ECHO_T}yes" >&6
4058 else
4059 echo "$as_me:$LINENO: result: no" >&5
4060 echo "${ECHO_T}no" >&6
4061 fi
4062
4063
4064 enablestring=
4065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4066 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4067 no_cache=0
4068 # Check whether --enable-config or --disable-config was given.
4069 if test "${enable_config+set}" = set; then
4070 enableval="$enable_config"
4071
4072 if test "$enableval" = yes; then
4073 ac_cv_use_config='wxUSE_CONFIG=yes'
4074 else
4075 ac_cv_use_config='wxUSE_CONFIG=no'
4076 fi
4077
4078 else
4079
4080 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4081 if test "x$LINE" != x ; then
4082 eval "DEFAULT_$LINE"
4083 else
4084 no_cache=1
4085 fi
4086
4087 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4088
4089 fi;
4090
4091 eval "$ac_cv_use_config"
4092 if test "$no_cache" != 1; then
4093 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4094 fi
4095
4096 if test "$wxUSE_CONFIG" = yes; then
4097 echo "$as_me:$LINENO: result: yes" >&5
4098 echo "${ECHO_T}yes" >&6
4099 else
4100 echo "$as_me:$LINENO: result: no" >&5
4101 echo "${ECHO_T}no" >&6
4102 fi
4103
4104
4105
4106 enablestring=
4107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4108 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4109 no_cache=0
4110 # Check whether --enable-protocols or --disable-protocols was given.
4111 if test "${enable_protocols+set}" = set; then
4112 enableval="$enable_protocols"
4113
4114 if test "$enableval" = yes; then
4115 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4116 else
4117 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4118 fi
4119
4120 else
4121
4122 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4123 if test "x$LINE" != x ; then
4124 eval "DEFAULT_$LINE"
4125 else
4126 no_cache=1
4127 fi
4128
4129 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4130
4131 fi;
4132
4133 eval "$ac_cv_use_protocols"
4134 if test "$no_cache" != 1; then
4135 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4136 fi
4137
4138 if test "$wxUSE_PROTOCOL" = yes; then
4139 echo "$as_me:$LINENO: result: yes" >&5
4140 echo "${ECHO_T}yes" >&6
4141 else
4142 echo "$as_me:$LINENO: result: no" >&5
4143 echo "${ECHO_T}no" >&6
4144 fi
4145
4146
4147 enablestring=
4148 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4149 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4150 no_cache=0
4151 # Check whether --enable-ftp or --disable-ftp was given.
4152 if test "${enable_ftp+set}" = set; then
4153 enableval="$enable_ftp"
4154
4155 if test "$enableval" = yes; then
4156 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4157 else
4158 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4159 fi
4160
4161 else
4162
4163 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4164 if test "x$LINE" != x ; then
4165 eval "DEFAULT_$LINE"
4166 else
4167 no_cache=1
4168 fi
4169
4170 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4171
4172 fi;
4173
4174 eval "$ac_cv_use_ftp"
4175 if test "$no_cache" != 1; then
4176 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4177 fi
4178
4179 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4180 echo "$as_me:$LINENO: result: yes" >&5
4181 echo "${ECHO_T}yes" >&6
4182 else
4183 echo "$as_me:$LINENO: result: no" >&5
4184 echo "${ECHO_T}no" >&6
4185 fi
4186
4187
4188 enablestring=
4189 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4190 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4191 no_cache=0
4192 # Check whether --enable-http or --disable-http was given.
4193 if test "${enable_http+set}" = set; then
4194 enableval="$enable_http"
4195
4196 if test "$enableval" = yes; then
4197 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4198 else
4199 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4200 fi
4201
4202 else
4203
4204 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4205 if test "x$LINE" != x ; then
4206 eval "DEFAULT_$LINE"
4207 else
4208 no_cache=1
4209 fi
4210
4211 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4212
4213 fi;
4214
4215 eval "$ac_cv_use_http"
4216 if test "$no_cache" != 1; then
4217 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4218 fi
4219
4220 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4221 echo "$as_me:$LINENO: result: yes" >&5
4222 echo "${ECHO_T}yes" >&6
4223 else
4224 echo "$as_me:$LINENO: result: no" >&5
4225 echo "${ECHO_T}no" >&6
4226 fi
4227
4228
4229 enablestring=
4230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4231 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4232 no_cache=0
4233 # Check whether --enable-fileproto or --disable-fileproto was given.
4234 if test "${enable_fileproto+set}" = set; then
4235 enableval="$enable_fileproto"
4236
4237 if test "$enableval" = yes; then
4238 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4239 else
4240 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4241 fi
4242
4243 else
4244
4245 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4246 if test "x$LINE" != x ; then
4247 eval "DEFAULT_$LINE"
4248 else
4249 no_cache=1
4250 fi
4251
4252 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4253
4254 fi;
4255
4256 eval "$ac_cv_use_fileproto"
4257 if test "$no_cache" != 1; then
4258 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4259 fi
4260
4261 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4262 echo "$as_me:$LINENO: result: yes" >&5
4263 echo "${ECHO_T}yes" >&6
4264 else
4265 echo "$as_me:$LINENO: result: no" >&5
4266 echo "${ECHO_T}no" >&6
4267 fi
4268
4269
4270 enablestring=
4271 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4272 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4273 no_cache=0
4274 # Check whether --enable-sockets or --disable-sockets was given.
4275 if test "${enable_sockets+set}" = set; then
4276 enableval="$enable_sockets"
4277
4278 if test "$enableval" = yes; then
4279 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4280 else
4281 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4282 fi
4283
4284 else
4285
4286 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4287 if test "x$LINE" != x ; then
4288 eval "DEFAULT_$LINE"
4289 else
4290 no_cache=1
4291 fi
4292
4293 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4294
4295 fi;
4296
4297 eval "$ac_cv_use_sockets"
4298 if test "$no_cache" != 1; then
4299 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4300 fi
4301
4302 if test "$wxUSE_SOCKETS" = yes; then
4303 echo "$as_me:$LINENO: result: yes" >&5
4304 echo "${ECHO_T}yes" >&6
4305 else
4306 echo "$as_me:$LINENO: result: no" >&5
4307 echo "${ECHO_T}no" >&6
4308 fi
4309
4310
4311 enablestring=
4312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4313 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4314 no_cache=0
4315 # Check whether --enable-ole or --disable-ole was given.
4316 if test "${enable_ole+set}" = set; then
4317 enableval="$enable_ole"
4318
4319 if test "$enableval" = yes; then
4320 ac_cv_use_ole='wxUSE_OLE=yes'
4321 else
4322 ac_cv_use_ole='wxUSE_OLE=no'
4323 fi
4324
4325 else
4326
4327 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4328 if test "x$LINE" != x ; then
4329 eval "DEFAULT_$LINE"
4330 else
4331 no_cache=1
4332 fi
4333
4334 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4335
4336 fi;
4337
4338 eval "$ac_cv_use_ole"
4339 if test "$no_cache" != 1; then
4340 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4341 fi
4342
4343 if test "$wxUSE_OLE" = yes; then
4344 echo "$as_me:$LINENO: result: yes" >&5
4345 echo "${ECHO_T}yes" >&6
4346 else
4347 echo "$as_me:$LINENO: result: no" >&5
4348 echo "${ECHO_T}no" >&6
4349 fi
4350
4351
4352 enablestring=
4353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4354 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4355 no_cache=0
4356 # Check whether --enable-dataobj or --disable-dataobj was given.
4357 if test "${enable_dataobj+set}" = set; then
4358 enableval="$enable_dataobj"
4359
4360 if test "$enableval" = yes; then
4361 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4362 else
4363 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4364 fi
4365
4366 else
4367
4368 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4369 if test "x$LINE" != x ; then
4370 eval "DEFAULT_$LINE"
4371 else
4372 no_cache=1
4373 fi
4374
4375 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4376
4377 fi;
4378
4379 eval "$ac_cv_use_dataobj"
4380 if test "$no_cache" != 1; then
4381 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4382 fi
4383
4384 if test "$wxUSE_DATAOBJ" = yes; then
4385 echo "$as_me:$LINENO: result: yes" >&5
4386 echo "${ECHO_T}yes" >&6
4387 else
4388 echo "$as_me:$LINENO: result: no" >&5
4389 echo "${ECHO_T}no" >&6
4390 fi
4391
4392
4393
4394 enablestring=
4395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4396 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4397 no_cache=0
4398 # Check whether --enable-ipc or --disable-ipc was given.
4399 if test "${enable_ipc+set}" = set; then
4400 enableval="$enable_ipc"
4401
4402 if test "$enableval" = yes; then
4403 ac_cv_use_ipc='wxUSE_IPC=yes'
4404 else
4405 ac_cv_use_ipc='wxUSE_IPC=no'
4406 fi
4407
4408 else
4409
4410 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4411 if test "x$LINE" != x ; then
4412 eval "DEFAULT_$LINE"
4413 else
4414 no_cache=1
4415 fi
4416
4417 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4418
4419 fi;
4420
4421 eval "$ac_cv_use_ipc"
4422 if test "$no_cache" != 1; then
4423 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4424 fi
4425
4426 if test "$wxUSE_IPC" = yes; then
4427 echo "$as_me:$LINENO: result: yes" >&5
4428 echo "${ECHO_T}yes" >&6
4429 else
4430 echo "$as_me:$LINENO: result: no" >&5
4431 echo "${ECHO_T}no" >&6
4432 fi
4433
4434
4435
4436 enablestring=
4437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4438 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4439 no_cache=0
4440 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4441 if test "${enable_apple_ieee+set}" = set; then
4442 enableval="$enable_apple_ieee"
4443
4444 if test "$enableval" = yes; then
4445 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4446 else
4447 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4448 fi
4449
4450 else
4451
4452 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4453 if test "x$LINE" != x ; then
4454 eval "DEFAULT_$LINE"
4455 else
4456 no_cache=1
4457 fi
4458
4459 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4460
4461 fi;
4462
4463 eval "$ac_cv_use_apple_ieee"
4464 if test "$no_cache" != 1; then
4465 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4466 fi
4467
4468 if test "$wxUSE_APPLE_IEEE" = yes; then
4469 echo "$as_me:$LINENO: result: yes" >&5
4470 echo "${ECHO_T}yes" >&6
4471 else
4472 echo "$as_me:$LINENO: result: no" >&5
4473 echo "${ECHO_T}no" >&6
4474 fi
4475
4476
4477 enablestring=
4478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4479 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4480 no_cache=0
4481 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4482 if test "${enable_catch_segvs+set}" = set; then
4483 enableval="$enable_catch_segvs"
4484
4485 if test "$enableval" = yes; then
4486 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4487 else
4488 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4489 fi
4490
4491 else
4492
4493 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4494 if test "x$LINE" != x ; then
4495 eval "DEFAULT_$LINE"
4496 else
4497 no_cache=1
4498 fi
4499
4500 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4501
4502 fi;
4503
4504 eval "$ac_cv_use_catch_segvs"
4505 if test "$no_cache" != 1; then
4506 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4507 fi
4508
4509 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4510 echo "$as_me:$LINENO: result: yes" >&5
4511 echo "${ECHO_T}yes" >&6
4512 else
4513 echo "$as_me:$LINENO: result: no" >&5
4514 echo "${ECHO_T}no" >&6
4515 fi
4516
4517
4518 enablestring=
4519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4520 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4521 no_cache=0
4522 # Check whether --enable-cmdline or --disable-cmdline was given.
4523 if test "${enable_cmdline+set}" = set; then
4524 enableval="$enable_cmdline"
4525
4526 if test "$enableval" = yes; then
4527 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4528 else
4529 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4530 fi
4531
4532 else
4533
4534 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4535 if test "x$LINE" != x ; then
4536 eval "DEFAULT_$LINE"
4537 else
4538 no_cache=1
4539 fi
4540
4541 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4542
4543 fi;
4544
4545 eval "$ac_cv_use_cmdline"
4546 if test "$no_cache" != 1; then
4547 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4548 fi
4549
4550 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4551 echo "$as_me:$LINENO: result: yes" >&5
4552 echo "${ECHO_T}yes" >&6
4553 else
4554 echo "$as_me:$LINENO: result: no" >&5
4555 echo "${ECHO_T}no" >&6
4556 fi
4557
4558
4559 enablestring=
4560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4561 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4562 no_cache=0
4563 # Check whether --enable-datetime or --disable-datetime was given.
4564 if test "${enable_datetime+set}" = set; then
4565 enableval="$enable_datetime"
4566
4567 if test "$enableval" = yes; then
4568 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4569 else
4570 ac_cv_use_datetime='wxUSE_DATETIME=no'
4571 fi
4572
4573 else
4574
4575 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4576 if test "x$LINE" != x ; then
4577 eval "DEFAULT_$LINE"
4578 else
4579 no_cache=1
4580 fi
4581
4582 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4583
4584 fi;
4585
4586 eval "$ac_cv_use_datetime"
4587 if test "$no_cache" != 1; then
4588 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4589 fi
4590
4591 if test "$wxUSE_DATETIME" = yes; then
4592 echo "$as_me:$LINENO: result: yes" >&5
4593 echo "${ECHO_T}yes" >&6
4594 else
4595 echo "$as_me:$LINENO: result: no" >&5
4596 echo "${ECHO_T}no" >&6
4597 fi
4598
4599
4600 enablestring=
4601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4602 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4603 no_cache=0
4604 # Check whether --enable-dialupman or --disable-dialupman was given.
4605 if test "${enable_dialupman+set}" = set; then
4606 enableval="$enable_dialupman"
4607
4608 if test "$enableval" = yes; then
4609 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4610 else
4611 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4612 fi
4613
4614 else
4615
4616 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4617 if test "x$LINE" != x ; then
4618 eval "DEFAULT_$LINE"
4619 else
4620 no_cache=1
4621 fi
4622
4623 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4624
4625 fi;
4626
4627 eval "$ac_cv_use_dialupman"
4628 if test "$no_cache" != 1; then
4629 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4630 fi
4631
4632 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4633 echo "$as_me:$LINENO: result: yes" >&5
4634 echo "${ECHO_T}yes" >&6
4635 else
4636 echo "$as_me:$LINENO: result: no" >&5
4637 echo "${ECHO_T}no" >&6
4638 fi
4639
4640
4641 enablestring=
4642 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4643 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4644 no_cache=0
4645 # Check whether --enable-dynlib or --disable-dynlib was given.
4646 if test "${enable_dynlib+set}" = set; then
4647 enableval="$enable_dynlib"
4648
4649 if test "$enableval" = yes; then
4650 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4651 else
4652 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4653 fi
4654
4655 else
4656
4657 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4658 if test "x$LINE" != x ; then
4659 eval "DEFAULT_$LINE"
4660 else
4661 no_cache=1
4662 fi
4663
4664 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4665
4666 fi;
4667
4668 eval "$ac_cv_use_dynlib"
4669 if test "$no_cache" != 1; then
4670 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4671 fi
4672
4673 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4674 echo "$as_me:$LINENO: result: yes" >&5
4675 echo "${ECHO_T}yes" >&6
4676 else
4677 echo "$as_me:$LINENO: result: no" >&5
4678 echo "${ECHO_T}no" >&6
4679 fi
4680
4681
4682 enablestring=
4683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4684 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4685 no_cache=0
4686 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4687 if test "${enable_dynamicloader+set}" = set; then
4688 enableval="$enable_dynamicloader"
4689
4690 if test "$enableval" = yes; then
4691 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4692 else
4693 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4694 fi
4695
4696 else
4697
4698 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4699 if test "x$LINE" != x ; then
4700 eval "DEFAULT_$LINE"
4701 else
4702 no_cache=1
4703 fi
4704
4705 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4706
4707 fi;
4708
4709 eval "$ac_cv_use_dynamicloader"
4710 if test "$no_cache" != 1; then
4711 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4712 fi
4713
4714 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4715 echo "$as_me:$LINENO: result: yes" >&5
4716 echo "${ECHO_T}yes" >&6
4717 else
4718 echo "$as_me:$LINENO: result: no" >&5
4719 echo "${ECHO_T}no" >&6
4720 fi
4721
4722
4723 enablestring=
4724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4725 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4726 no_cache=0
4727 # Check whether --enable-exceptions or --disable-exceptions was given.
4728 if test "${enable_exceptions+set}" = set; then
4729 enableval="$enable_exceptions"
4730
4731 if test "$enableval" = yes; then
4732 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
4733 else
4734 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
4735 fi
4736
4737 else
4738
4739 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4740 if test "x$LINE" != x ; then
4741 eval "DEFAULT_$LINE"
4742 else
4743 no_cache=1
4744 fi
4745
4746 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4747
4748 fi;
4749
4750 eval "$ac_cv_use_exceptions"
4751 if test "$no_cache" != 1; then
4752 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4753 fi
4754
4755 if test "$wxUSE_EXCEPTIONS" = yes; then
4756 echo "$as_me:$LINENO: result: yes" >&5
4757 echo "${ECHO_T}yes" >&6
4758 else
4759 echo "$as_me:$LINENO: result: no" >&5
4760 echo "${ECHO_T}no" >&6
4761 fi
4762
4763
4764 enablestring=
4765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4766 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4767 no_cache=0
4768 # Check whether --enable-ffile or --disable-ffile was given.
4769 if test "${enable_ffile+set}" = set; then
4770 enableval="$enable_ffile"
4771
4772 if test "$enableval" = yes; then
4773 ac_cv_use_ffile='wxUSE_FFILE=yes'
4774 else
4775 ac_cv_use_ffile='wxUSE_FFILE=no'
4776 fi
4777
4778 else
4779
4780 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4781 if test "x$LINE" != x ; then
4782 eval "DEFAULT_$LINE"
4783 else
4784 no_cache=1
4785 fi
4786
4787 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4788
4789 fi;
4790
4791 eval "$ac_cv_use_ffile"
4792 if test "$no_cache" != 1; then
4793 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4794 fi
4795
4796 if test "$wxUSE_FFILE" = yes; then
4797 echo "$as_me:$LINENO: result: yes" >&5
4798 echo "${ECHO_T}yes" >&6
4799 else
4800 echo "$as_me:$LINENO: result: no" >&5
4801 echo "${ECHO_T}no" >&6
4802 fi
4803
4804
4805 enablestring=
4806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4807 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4808 no_cache=0
4809 # Check whether --enable-file or --disable-file was given.
4810 if test "${enable_file+set}" = set; then
4811 enableval="$enable_file"
4812
4813 if test "$enableval" = yes; then
4814 ac_cv_use_file='wxUSE_FILE=yes'
4815 else
4816 ac_cv_use_file='wxUSE_FILE=no'
4817 fi
4818
4819 else
4820
4821 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4822 if test "x$LINE" != x ; then
4823 eval "DEFAULT_$LINE"
4824 else
4825 no_cache=1
4826 fi
4827
4828 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4829
4830 fi;
4831
4832 eval "$ac_cv_use_file"
4833 if test "$no_cache" != 1; then
4834 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4835 fi
4836
4837 if test "$wxUSE_FILE" = yes; then
4838 echo "$as_me:$LINENO: result: yes" >&5
4839 echo "${ECHO_T}yes" >&6
4840 else
4841 echo "$as_me:$LINENO: result: no" >&5
4842 echo "${ECHO_T}no" >&6
4843 fi
4844
4845
4846 enablestring=
4847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4848 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4849 no_cache=0
4850 # Check whether --enable-filesystem or --disable-filesystem was given.
4851 if test "${enable_filesystem+set}" = set; then
4852 enableval="$enable_filesystem"
4853
4854 if test "$enableval" = yes; then
4855 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4856 else
4857 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4858 fi
4859
4860 else
4861
4862 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4863 if test "x$LINE" != x ; then
4864 eval "DEFAULT_$LINE"
4865 else
4866 no_cache=1
4867 fi
4868
4869 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4870
4871 fi;
4872
4873 eval "$ac_cv_use_filesystem"
4874 if test "$no_cache" != 1; then
4875 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4876 fi
4877
4878 if test "$wxUSE_FILESYSTEM" = yes; then
4879 echo "$as_me:$LINENO: result: yes" >&5
4880 echo "${ECHO_T}yes" >&6
4881 else
4882 echo "$as_me:$LINENO: result: no" >&5
4883 echo "${ECHO_T}no" >&6
4884 fi
4885
4886
4887 enablestring=
4888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4889 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4890 no_cache=0
4891 # Check whether --enable-fontmap or --disable-fontmap was given.
4892 if test "${enable_fontmap+set}" = set; then
4893 enableval="$enable_fontmap"
4894
4895 if test "$enableval" = yes; then
4896 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4897 else
4898 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4899 fi
4900
4901 else
4902
4903 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4904 if test "x$LINE" != x ; then
4905 eval "DEFAULT_$LINE"
4906 else
4907 no_cache=1
4908 fi
4909
4910 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4911
4912 fi;
4913
4914 eval "$ac_cv_use_fontmap"
4915 if test "$no_cache" != 1; then
4916 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4917 fi
4918
4919 if test "$wxUSE_FONTMAP" = yes; then
4920 echo "$as_me:$LINENO: result: yes" >&5
4921 echo "${ECHO_T}yes" >&6
4922 else
4923 echo "$as_me:$LINENO: result: no" >&5
4924 echo "${ECHO_T}no" >&6
4925 fi
4926
4927
4928 enablestring=
4929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
4930 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
4931 no_cache=0
4932 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4933 if test "${enable_fs_inet+set}" = set; then
4934 enableval="$enable_fs_inet"
4935
4936 if test "$enableval" = yes; then
4937 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
4938 else
4939 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
4940 fi
4941
4942 else
4943
4944 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4945 if test "x$LINE" != x ; then
4946 eval "DEFAULT_$LINE"
4947 else
4948 no_cache=1
4949 fi
4950
4951 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4952
4953 fi;
4954
4955 eval "$ac_cv_use_fs_inet"
4956 if test "$no_cache" != 1; then
4957 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4958 fi
4959
4960 if test "$wxUSE_FS_INET" = yes; then
4961 echo "$as_me:$LINENO: result: yes" >&5
4962 echo "${ECHO_T}yes" >&6
4963 else
4964 echo "$as_me:$LINENO: result: no" >&5
4965 echo "${ECHO_T}no" >&6
4966 fi
4967
4968
4969 enablestring=
4970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
4971 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
4972 no_cache=0
4973 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4974 if test "${enable_fs_zip+set}" = set; then
4975 enableval="$enable_fs_zip"
4976
4977 if test "$enableval" = yes; then
4978 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
4979 else
4980 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
4981 fi
4982
4983 else
4984
4985 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4986 if test "x$LINE" != x ; then
4987 eval "DEFAULT_$LINE"
4988 else
4989 no_cache=1
4990 fi
4991
4992 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4993
4994 fi;
4995
4996 eval "$ac_cv_use_fs_zip"
4997 if test "$no_cache" != 1; then
4998 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4999 fi
5000
5001 if test "$wxUSE_FS_ZIP" = yes; then
5002 echo "$as_me:$LINENO: result: yes" >&5
5003 echo "${ECHO_T}yes" >&6
5004 else
5005 echo "$as_me:$LINENO: result: no" >&5
5006 echo "${ECHO_T}no" >&6
5007 fi
5008
5009
5010 enablestring=
5011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5012 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5013 no_cache=0
5014 # Check whether --enable-geometry or --disable-geometry was given.
5015 if test "${enable_geometry+set}" = set; then
5016 enableval="$enable_geometry"
5017
5018 if test "$enableval" = yes; then
5019 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5020 else
5021 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5022 fi
5023
5024 else
5025
5026 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5027 if test "x$LINE" != x ; then
5028 eval "DEFAULT_$LINE"
5029 else
5030 no_cache=1
5031 fi
5032
5033 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5034
5035 fi;
5036
5037 eval "$ac_cv_use_geometry"
5038 if test "$no_cache" != 1; then
5039 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5040 fi
5041
5042 if test "$wxUSE_GEOMETRY" = yes; then
5043 echo "$as_me:$LINENO: result: yes" >&5
5044 echo "${ECHO_T}yes" >&6
5045 else
5046 echo "$as_me:$LINENO: result: no" >&5
5047 echo "${ECHO_T}no" >&6
5048 fi
5049
5050
5051 enablestring=
5052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5053 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5054 no_cache=0
5055 # Check whether --enable-log or --disable-log was given.
5056 if test "${enable_log+set}" = set; then
5057 enableval="$enable_log"
5058
5059 if test "$enableval" = yes; then
5060 ac_cv_use_log='wxUSE_LOG=yes'
5061 else
5062 ac_cv_use_log='wxUSE_LOG=no'
5063 fi
5064
5065 else
5066
5067 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5068 if test "x$LINE" != x ; then
5069 eval "DEFAULT_$LINE"
5070 else
5071 no_cache=1
5072 fi
5073
5074 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5075
5076 fi;
5077
5078 eval "$ac_cv_use_log"
5079 if test "$no_cache" != 1; then
5080 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5081 fi
5082
5083 if test "$wxUSE_LOG" = yes; then
5084 echo "$as_me:$LINENO: result: yes" >&5
5085 echo "${ECHO_T}yes" >&6
5086 else
5087 echo "$as_me:$LINENO: result: no" >&5
5088 echo "${ECHO_T}no" >&6
5089 fi
5090
5091
5092 enablestring=
5093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5094 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5095 no_cache=0
5096 # Check whether --enable-longlong or --disable-longlong was given.
5097 if test "${enable_longlong+set}" = set; then
5098 enableval="$enable_longlong"
5099
5100 if test "$enableval" = yes; then
5101 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5102 else
5103 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5104 fi
5105
5106 else
5107
5108 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5109 if test "x$LINE" != x ; then
5110 eval "DEFAULT_$LINE"
5111 else
5112 no_cache=1
5113 fi
5114
5115 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5116
5117 fi;
5118
5119 eval "$ac_cv_use_longlong"
5120 if test "$no_cache" != 1; then
5121 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5122 fi
5123
5124 if test "$wxUSE_LONGLONG" = yes; then
5125 echo "$as_me:$LINENO: result: yes" >&5
5126 echo "${ECHO_T}yes" >&6
5127 else
5128 echo "$as_me:$LINENO: result: no" >&5
5129 echo "${ECHO_T}no" >&6
5130 fi
5131
5132
5133 enablestring=
5134 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5135 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5136 no_cache=0
5137 # Check whether --enable-mimetype or --disable-mimetype was given.
5138 if test "${enable_mimetype+set}" = set; then
5139 enableval="$enable_mimetype"
5140
5141 if test "$enableval" = yes; then
5142 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5143 else
5144 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5145 fi
5146
5147 else
5148
5149 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5150 if test "x$LINE" != x ; then
5151 eval "DEFAULT_$LINE"
5152 else
5153 no_cache=1
5154 fi
5155
5156 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5157
5158 fi;
5159
5160 eval "$ac_cv_use_mimetype"
5161 if test "$no_cache" != 1; then
5162 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5163 fi
5164
5165 if test "$wxUSE_MIMETYPE" = yes; then
5166 echo "$as_me:$LINENO: result: yes" >&5
5167 echo "${ECHO_T}yes" >&6
5168 else
5169 echo "$as_me:$LINENO: result: no" >&5
5170 echo "${ECHO_T}no" >&6
5171 fi
5172
5173
5174 enablestring=
5175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5176 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5177 no_cache=0
5178 # Check whether --enable-mslu or --disable-mslu was given.
5179 if test "${enable_mslu+set}" = set; then
5180 enableval="$enable_mslu"
5181
5182 if test "$enableval" = yes; then
5183 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5184 else
5185 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5186 fi
5187
5188 else
5189
5190 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5191 if test "x$LINE" != x ; then
5192 eval "DEFAULT_$LINE"
5193 else
5194 no_cache=1
5195 fi
5196
5197 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5198
5199 fi;
5200
5201 eval "$ac_cv_use_mslu"
5202 if test "$no_cache" != 1; then
5203 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5204 fi
5205
5206 if test "$wxUSE_UNICODE_MSLU" = yes; then
5207 echo "$as_me:$LINENO: result: yes" >&5
5208 echo "${ECHO_T}yes" >&6
5209 else
5210 echo "$as_me:$LINENO: result: no" >&5
5211 echo "${ECHO_T}no" >&6
5212 fi
5213
5214
5215 enablestring=
5216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5217 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5218 no_cache=0
5219 # Check whether --enable-snglinst or --disable-snglinst was given.
5220 if test "${enable_snglinst+set}" = set; then
5221 enableval="$enable_snglinst"
5222
5223 if test "$enableval" = yes; then
5224 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5225 else
5226 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5227 fi
5228
5229 else
5230
5231 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5232 if test "x$LINE" != x ; then
5233 eval "DEFAULT_$LINE"
5234 else
5235 no_cache=1
5236 fi
5237
5238 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5239
5240 fi;
5241
5242 eval "$ac_cv_use_snglinst"
5243 if test "$no_cache" != 1; then
5244 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5245 fi
5246
5247 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5248 echo "$as_me:$LINENO: result: yes" >&5
5249 echo "${ECHO_T}yes" >&6
5250 else
5251 echo "$as_me:$LINENO: result: no" >&5
5252 echo "${ECHO_T}no" >&6
5253 fi
5254
5255
5256 enablestring=
5257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5258 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5259 no_cache=0
5260 # Check whether --enable-streams or --disable-streams was given.
5261 if test "${enable_streams+set}" = set; then
5262 enableval="$enable_streams"
5263
5264 if test "$enableval" = yes; then
5265 ac_cv_use_streams='wxUSE_STREAMS=yes'
5266 else
5267 ac_cv_use_streams='wxUSE_STREAMS=no'
5268 fi
5269
5270 else
5271
5272 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5273 if test "x$LINE" != x ; then
5274 eval "DEFAULT_$LINE"
5275 else
5276 no_cache=1
5277 fi
5278
5279 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5280
5281 fi;
5282
5283 eval "$ac_cv_use_streams"
5284 if test "$no_cache" != 1; then
5285 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5286 fi
5287
5288 if test "$wxUSE_STREAMS" = yes; then
5289 echo "$as_me:$LINENO: result: yes" >&5
5290 echo "${ECHO_T}yes" >&6
5291 else
5292 echo "$as_me:$LINENO: result: no" >&5
5293 echo "${ECHO_T}no" >&6
5294 fi
5295
5296
5297 enablestring=
5298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5299 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5300 no_cache=0
5301 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5302 if test "${enable_std_iostreams+set}" = set; then
5303 enableval="$enable_std_iostreams"
5304
5305 if test "$enableval" = yes; then
5306 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5307 else
5308 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5309 fi
5310
5311 else
5312
5313 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5314 if test "x$LINE" != x ; then
5315 eval "DEFAULT_$LINE"
5316 else
5317 no_cache=1
5318 fi
5319
5320 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5321
5322 fi;
5323
5324 eval "$ac_cv_use_std_iostreams"
5325 if test "$no_cache" != 1; then
5326 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5327 fi
5328
5329 if test "$wxUSE_STD_IOSTREAM" = yes; then
5330 echo "$as_me:$LINENO: result: yes" >&5
5331 echo "${ECHO_T}yes" >&6
5332 else
5333 echo "$as_me:$LINENO: result: no" >&5
5334 echo "${ECHO_T}no" >&6
5335 fi
5336
5337
5338 enablestring=
5339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5340 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5341 no_cache=0
5342 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5343 if test "${enable_stopwatch+set}" = set; then
5344 enableval="$enable_stopwatch"
5345
5346 if test "$enableval" = yes; then
5347 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5348 else
5349 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5350 fi
5351
5352 else
5353
5354 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5355 if test "x$LINE" != x ; then
5356 eval "DEFAULT_$LINE"
5357 else
5358 no_cache=1
5359 fi
5360
5361 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5362
5363 fi;
5364
5365 eval "$ac_cv_use_stopwatch"
5366 if test "$no_cache" != 1; then
5367 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5368 fi
5369
5370 if test "$wxUSE_STOPWATCH" = yes; then
5371 echo "$as_me:$LINENO: result: yes" >&5
5372 echo "${ECHO_T}yes" >&6
5373 else
5374 echo "$as_me:$LINENO: result: no" >&5
5375 echo "${ECHO_T}no" >&6
5376 fi
5377
5378
5379 enablestring=
5380 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5381 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5382 no_cache=0
5383 # Check whether --enable-system_options or --disable-system_options was given.
5384 if test "${enable_system_options+set}" = set; then
5385 enableval="$enable_system_options"
5386
5387 if test "$enableval" = yes; then
5388 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5389 else
5390 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5391 fi
5392
5393 else
5394
5395 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5396 if test "x$LINE" != x ; then
5397 eval "DEFAULT_$LINE"
5398 else
5399 no_cache=1
5400 fi
5401
5402 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5403
5404 fi;
5405
5406 eval "$ac_cv_use_system_options"
5407 if test "$no_cache" != 1; then
5408 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5409 fi
5410
5411 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5412 echo "$as_me:$LINENO: result: yes" >&5
5413 echo "${ECHO_T}yes" >&6
5414 else
5415 echo "$as_me:$LINENO: result: no" >&5
5416 echo "${ECHO_T}no" >&6
5417 fi
5418
5419
5420 enablestring=
5421 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5422 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5423 no_cache=0
5424 # Check whether --enable-textbuf or --disable-textbuf was given.
5425 if test "${enable_textbuf+set}" = set; then
5426 enableval="$enable_textbuf"
5427
5428 if test "$enableval" = yes; then
5429 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5430 else
5431 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5432 fi
5433
5434 else
5435
5436 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5437 if test "x$LINE" != x ; then
5438 eval "DEFAULT_$LINE"
5439 else
5440 no_cache=1
5441 fi
5442
5443 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5444
5445 fi;
5446
5447 eval "$ac_cv_use_textbuf"
5448 if test "$no_cache" != 1; then
5449 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5450 fi
5451
5452 if test "$wxUSE_TEXTBUFFER" = yes; then
5453 echo "$as_me:$LINENO: result: yes" >&5
5454 echo "${ECHO_T}yes" >&6
5455 else
5456 echo "$as_me:$LINENO: result: no" >&5
5457 echo "${ECHO_T}no" >&6
5458 fi
5459
5460
5461 enablestring=
5462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5463 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5464 no_cache=0
5465 # Check whether --enable-textfile or --disable-textfile was given.
5466 if test "${enable_textfile+set}" = set; then
5467 enableval="$enable_textfile"
5468
5469 if test "$enableval" = yes; then
5470 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5471 else
5472 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5473 fi
5474
5475 else
5476
5477 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5478 if test "x$LINE" != x ; then
5479 eval "DEFAULT_$LINE"
5480 else
5481 no_cache=1
5482 fi
5483
5484 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5485
5486 fi;
5487
5488 eval "$ac_cv_use_textfile"
5489 if test "$no_cache" != 1; then
5490 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5491 fi
5492
5493 if test "$wxUSE_TEXTFILE" = yes; then
5494 echo "$as_me:$LINENO: result: yes" >&5
5495 echo "${ECHO_T}yes" >&6
5496 else
5497 echo "$as_me:$LINENO: result: no" >&5
5498 echo "${ECHO_T}no" >&6
5499 fi
5500
5501
5502 enablestring=
5503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5504 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5505 no_cache=0
5506 # Check whether --enable-timer or --disable-timer was given.
5507 if test "${enable_timer+set}" = set; then
5508 enableval="$enable_timer"
5509
5510 if test "$enableval" = yes; then
5511 ac_cv_use_timer='wxUSE_TIMER=yes'
5512 else
5513 ac_cv_use_timer='wxUSE_TIMER=no'
5514 fi
5515
5516 else
5517
5518 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5519 if test "x$LINE" != x ; then
5520 eval "DEFAULT_$LINE"
5521 else
5522 no_cache=1
5523 fi
5524
5525 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5526
5527 fi;
5528
5529 eval "$ac_cv_use_timer"
5530 if test "$no_cache" != 1; then
5531 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5532 fi
5533
5534 if test "$wxUSE_TIMER" = yes; then
5535 echo "$as_me:$LINENO: result: yes" >&5
5536 echo "${ECHO_T}yes" >&6
5537 else
5538 echo "$as_me:$LINENO: result: no" >&5
5539 echo "${ECHO_T}no" >&6
5540 fi
5541
5542
5543 enablestring=
5544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5545 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5546 no_cache=0
5547 # Check whether --enable-unicode or --disable-unicode was given.
5548 if test "${enable_unicode+set}" = set; then
5549 enableval="$enable_unicode"
5550
5551 if test "$enableval" = yes; then
5552 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5553 else
5554 ac_cv_use_unicode='wxUSE_UNICODE=no'
5555 fi
5556
5557 else
5558
5559 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5560 if test "x$LINE" != x ; then
5561 eval "DEFAULT_$LINE"
5562 else
5563 no_cache=1
5564 fi
5565
5566 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5567
5568 fi;
5569
5570 eval "$ac_cv_use_unicode"
5571 if test "$no_cache" != 1; then
5572 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5573 fi
5574
5575 if test "$wxUSE_UNICODE" = yes; then
5576 echo "$as_me:$LINENO: result: yes" >&5
5577 echo "${ECHO_T}yes" >&6
5578 else
5579 echo "$as_me:$LINENO: result: no" >&5
5580 echo "${ECHO_T}no" >&6
5581 fi
5582
5583
5584 enablestring=
5585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5586 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5587 no_cache=0
5588 # Check whether --enable-sound or --disable-sound was given.
5589 if test "${enable_sound+set}" = set; then
5590 enableval="$enable_sound"
5591
5592 if test "$enableval" = yes; then
5593 ac_cv_use_sound='wxUSE_SOUND=yes'
5594 else
5595 ac_cv_use_sound='wxUSE_SOUND=no'
5596 fi
5597
5598 else
5599
5600 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5601 if test "x$LINE" != x ; then
5602 eval "DEFAULT_$LINE"
5603 else
5604 no_cache=1
5605 fi
5606
5607 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5608
5609 fi;
5610
5611 eval "$ac_cv_use_sound"
5612 if test "$no_cache" != 1; then
5613 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5614 fi
5615
5616 if test "$wxUSE_SOUND" = yes; then
5617 echo "$as_me:$LINENO: result: yes" >&5
5618 echo "${ECHO_T}yes" >&6
5619 else
5620 echo "$as_me:$LINENO: result: no" >&5
5621 echo "${ECHO_T}no" >&6
5622 fi
5623
5624
5625 enablestring=
5626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5627 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5628 no_cache=0
5629 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5630 if test "${enable_wxprintfv+set}" = set; then
5631 enableval="$enable_wxprintfv"
5632
5633 if test "$enableval" = yes; then
5634 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5635 else
5636 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5637 fi
5638
5639 else
5640
5641 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5642 if test "x$LINE" != x ; then
5643 eval "DEFAULT_$LINE"
5644 else
5645 no_cache=1
5646 fi
5647
5648 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5649
5650 fi;
5651
5652 eval "$ac_cv_use_wxprintfv"
5653 if test "$no_cache" != 1; then
5654 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5655 fi
5656
5657 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5658 echo "$as_me:$LINENO: result: yes" >&5
5659 echo "${ECHO_T}yes" >&6
5660 else
5661 echo "$as_me:$LINENO: result: no" >&5
5662 echo "${ECHO_T}no" >&6
5663 fi
5664
5665
5666 enablestring=
5667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5668 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5669 no_cache=0
5670 # Check whether --enable-zipstream or --disable-zipstream was given.
5671 if test "${enable_zipstream+set}" = set; then
5672 enableval="$enable_zipstream"
5673
5674 if test "$enableval" = yes; then
5675 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5676 else
5677 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5678 fi
5679
5680 else
5681
5682 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5683 if test "x$LINE" != x ; then
5684 eval "DEFAULT_$LINE"
5685 else
5686 no_cache=1
5687 fi
5688
5689 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5690
5691 fi;
5692
5693 eval "$ac_cv_use_zipstream"
5694 if test "$no_cache" != 1; then
5695 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5696 fi
5697
5698 if test "$wxUSE_ZIPSTREAM" = yes; then
5699 echo "$as_me:$LINENO: result: yes" >&5
5700 echo "${ECHO_T}yes" >&6
5701 else
5702 echo "$as_me:$LINENO: result: no" >&5
5703 echo "${ECHO_T}no" >&6
5704 fi
5705
5706
5707 enablestring=
5708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gzstream" >&5
5709 echo $ECHO_N "checking for --${enablestring:-enable}-gzstream... $ECHO_C" >&6
5710 no_cache=0
5711 # Check whether --enable-gzstream or --disable-gzstream was given.
5712 if test "${enable_gzstream+set}" = set; then
5713 enableval="$enable_gzstream"
5714
5715 if test "$enableval" = yes; then
5716 ac_cv_use_gzstream='wxUSE_GZSTREAM=yes'
5717 else
5718 ac_cv_use_gzstream='wxUSE_GZSTREAM=no'
5719 fi
5720
5721 else
5722
5723 LINE=`grep "wxUSE_GZSTREAM" ${wx_arg_cache_file}`
5724 if test "x$LINE" != x ; then
5725 eval "DEFAULT_$LINE"
5726 else
5727 no_cache=1
5728 fi
5729
5730 ac_cv_use_gzstream='wxUSE_GZSTREAM='$DEFAULT_wxUSE_GZSTREAM
5731
5732 fi;
5733
5734 eval "$ac_cv_use_gzstream"
5735 if test "$no_cache" != 1; then
5736 echo $ac_cv_use_gzstream >> ${wx_arg_cache_file}.tmp
5737 fi
5738
5739 if test "$wxUSE_GZSTREAM" = yes; then
5740 echo "$as_me:$LINENO: result: yes" >&5
5741 echo "${ECHO_T}yes" >&6
5742 else
5743 echo "$as_me:$LINENO: result: no" >&5
5744 echo "${ECHO_T}no" >&6
5745 fi
5746
5747
5748
5749 enablestring=
5750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5751 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5752 no_cache=0
5753 # Check whether --enable-url or --disable-url was given.
5754 if test "${enable_url+set}" = set; then
5755 enableval="$enable_url"
5756
5757 if test "$enableval" = yes; then
5758 ac_cv_use_url='wxUSE_URL=yes'
5759 else
5760 ac_cv_use_url='wxUSE_URL=no'
5761 fi
5762
5763 else
5764
5765 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5766 if test "x$LINE" != x ; then
5767 eval "DEFAULT_$LINE"
5768 else
5769 no_cache=1
5770 fi
5771
5772 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5773
5774 fi;
5775
5776 eval "$ac_cv_use_url"
5777 if test "$no_cache" != 1; then
5778 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5779 fi
5780
5781 if test "$wxUSE_URL" = yes; then
5782 echo "$as_me:$LINENO: result: yes" >&5
5783 echo "${ECHO_T}yes" >&6
5784 else
5785 echo "$as_me:$LINENO: result: no" >&5
5786 echo "${ECHO_T}no" >&6
5787 fi
5788
5789
5790 enablestring=
5791 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5792 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5793 no_cache=0
5794 # Check whether --enable-protocol or --disable-protocol was given.
5795 if test "${enable_protocol+set}" = set; then
5796 enableval="$enable_protocol"
5797
5798 if test "$enableval" = yes; then
5799 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5800 else
5801 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5802 fi
5803
5804 else
5805
5806 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5807 if test "x$LINE" != x ; then
5808 eval "DEFAULT_$LINE"
5809 else
5810 no_cache=1
5811 fi
5812
5813 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5814
5815 fi;
5816
5817 eval "$ac_cv_use_protocol"
5818 if test "$no_cache" != 1; then
5819 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5820 fi
5821
5822 if test "$wxUSE_PROTOCOL" = yes; then
5823 echo "$as_me:$LINENO: result: yes" >&5
5824 echo "${ECHO_T}yes" >&6
5825 else
5826 echo "$as_me:$LINENO: result: no" >&5
5827 echo "${ECHO_T}no" >&6
5828 fi
5829
5830
5831 enablestring=
5832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5833 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5834 no_cache=0
5835 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5836 if test "${enable_protocol_http+set}" = set; then
5837 enableval="$enable_protocol_http"
5838
5839 if test "$enableval" = yes; then
5840 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5841 else
5842 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5843 fi
5844
5845 else
5846
5847 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5848 if test "x$LINE" != x ; then
5849 eval "DEFAULT_$LINE"
5850 else
5851 no_cache=1
5852 fi
5853
5854 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5855
5856 fi;
5857
5858 eval "$ac_cv_use_protocol_http"
5859 if test "$no_cache" != 1; then
5860 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5861 fi
5862
5863 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5864 echo "$as_me:$LINENO: result: yes" >&5
5865 echo "${ECHO_T}yes" >&6
5866 else
5867 echo "$as_me:$LINENO: result: no" >&5
5868 echo "${ECHO_T}no" >&6
5869 fi
5870
5871
5872 enablestring=
5873 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5874 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5875 no_cache=0
5876 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5877 if test "${enable_protocol_ftp+set}" = set; then
5878 enableval="$enable_protocol_ftp"
5879
5880 if test "$enableval" = yes; then
5881 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5882 else
5883 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5884 fi
5885
5886 else
5887
5888 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5889 if test "x$LINE" != x ; then
5890 eval "DEFAULT_$LINE"
5891 else
5892 no_cache=1
5893 fi
5894
5895 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5896
5897 fi;
5898
5899 eval "$ac_cv_use_protocol_ftp"
5900 if test "$no_cache" != 1; then
5901 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5902 fi
5903
5904 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5905 echo "$as_me:$LINENO: result: yes" >&5
5906 echo "${ECHO_T}yes" >&6
5907 else
5908 echo "$as_me:$LINENO: result: no" >&5
5909 echo "${ECHO_T}no" >&6
5910 fi
5911
5912
5913 enablestring=
5914 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5915 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5916 no_cache=0
5917 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5918 if test "${enable_protocol_file+set}" = set; then
5919 enableval="$enable_protocol_file"
5920
5921 if test "$enableval" = yes; then
5922 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5923 else
5924 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5925 fi
5926
5927 else
5928
5929 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5930 if test "x$LINE" != x ; then
5931 eval "DEFAULT_$LINE"
5932 else
5933 no_cache=1
5934 fi
5935
5936 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5937
5938 fi;
5939
5940 eval "$ac_cv_use_protocol_file"
5941 if test "$no_cache" != 1; then
5942 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5943 fi
5944
5945 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5946 echo "$as_me:$LINENO: result: yes" >&5
5947 echo "${ECHO_T}yes" >&6
5948 else
5949 echo "$as_me:$LINENO: result: no" >&5
5950 echo "${ECHO_T}no" >&6
5951 fi
5952
5953
5954
5955
5956
5957 enablestring=
5958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5959 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5960 no_cache=0
5961 # Check whether --enable-threads or --disable-threads was given.
5962 if test "${enable_threads+set}" = set; then
5963 enableval="$enable_threads"
5964
5965 if test "$enableval" = yes; then
5966 ac_cv_use_threads='wxUSE_THREADS=yes'
5967 else
5968 ac_cv_use_threads='wxUSE_THREADS=no'
5969 fi
5970
5971 else
5972
5973 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5974 if test "x$LINE" != x ; then
5975 eval "DEFAULT_$LINE"
5976 else
5977 no_cache=1
5978 fi
5979
5980 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5981
5982 fi;
5983
5984 eval "$ac_cv_use_threads"
5985 if test "$no_cache" != 1; then
5986 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5987 fi
5988
5989 if test "$wxUSE_THREADS" = yes; then
5990 echo "$as_me:$LINENO: result: yes" >&5
5991 echo "${ECHO_T}yes" >&6
5992 else
5993 echo "$as_me:$LINENO: result: no" >&5
5994 echo "${ECHO_T}no" >&6
5995 fi
5996
5997
5998 if test "$wxUSE_GUI" = "yes"; then
5999
6000
6001
6002 enablestring=
6003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6004 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6005 no_cache=0
6006 # Check whether --enable-docview or --disable-docview was given.
6007 if test "${enable_docview+set}" = set; then
6008 enableval="$enable_docview"
6009
6010 if test "$enableval" = yes; then
6011 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6012 else
6013 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6014 fi
6015
6016 else
6017
6018 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6019 if test "x$LINE" != x ; then
6020 eval "DEFAULT_$LINE"
6021 else
6022 no_cache=1
6023 fi
6024
6025 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6026
6027 fi;
6028
6029 eval "$ac_cv_use_docview"
6030 if test "$no_cache" != 1; then
6031 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6032 fi
6033
6034 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6035 echo "$as_me:$LINENO: result: yes" >&5
6036 echo "${ECHO_T}yes" >&6
6037 else
6038 echo "$as_me:$LINENO: result: no" >&5
6039 echo "${ECHO_T}no" >&6
6040 fi
6041
6042
6043 enablestring=
6044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6045 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6046 no_cache=0
6047 # Check whether --enable-help or --disable-help was given.
6048 if test "${enable_help+set}" = set; then
6049 enableval="$enable_help"
6050
6051 if test "$enableval" = yes; then
6052 ac_cv_use_help='wxUSE_HELP=yes'
6053 else
6054 ac_cv_use_help='wxUSE_HELP=no'
6055 fi
6056
6057 else
6058
6059 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6060 if test "x$LINE" != x ; then
6061 eval "DEFAULT_$LINE"
6062 else
6063 no_cache=1
6064 fi
6065
6066 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6067
6068 fi;
6069
6070 eval "$ac_cv_use_help"
6071 if test "$no_cache" != 1; then
6072 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6073 fi
6074
6075 if test "$wxUSE_HELP" = yes; then
6076 echo "$as_me:$LINENO: result: yes" >&5
6077 echo "${ECHO_T}yes" >&6
6078 else
6079 echo "$as_me:$LINENO: result: no" >&5
6080 echo "${ECHO_T}no" >&6
6081 fi
6082
6083
6084 enablestring=
6085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6086 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6087 no_cache=0
6088 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6089 if test "${enable_mshtmlhelp+set}" = set; then
6090 enableval="$enable_mshtmlhelp"
6091
6092 if test "$enableval" = yes; then
6093 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6094 else
6095 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6096 fi
6097
6098 else
6099
6100 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6101 if test "x$LINE" != x ; then
6102 eval "DEFAULT_$LINE"
6103 else
6104 no_cache=1
6105 fi
6106
6107 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6108
6109 fi;
6110
6111 eval "$ac_cv_use_mshtmlhelp"
6112 if test "$no_cache" != 1; then
6113 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6114 fi
6115
6116 if test "$wxUSE_MS_HTML_HELP" = yes; then
6117 echo "$as_me:$LINENO: result: yes" >&5
6118 echo "${ECHO_T}yes" >&6
6119 else
6120 echo "$as_me:$LINENO: result: no" >&5
6121 echo "${ECHO_T}no" >&6
6122 fi
6123
6124
6125 enablestring=
6126 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6127 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6128 no_cache=0
6129 # Check whether --enable-html or --disable-html was given.
6130 if test "${enable_html+set}" = set; then
6131 enableval="$enable_html"
6132
6133 if test "$enableval" = yes; then
6134 ac_cv_use_html='wxUSE_HTML=yes'
6135 else
6136 ac_cv_use_html='wxUSE_HTML=no'
6137 fi
6138
6139 else
6140
6141 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6142 if test "x$LINE" != x ; then
6143 eval "DEFAULT_$LINE"
6144 else
6145 no_cache=1
6146 fi
6147
6148 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6149
6150 fi;
6151
6152 eval "$ac_cv_use_html"
6153 if test "$no_cache" != 1; then
6154 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6155 fi
6156
6157 if test "$wxUSE_HTML" = yes; then
6158 echo "$as_me:$LINENO: result: yes" >&5
6159 echo "${ECHO_T}yes" >&6
6160 else
6161 echo "$as_me:$LINENO: result: no" >&5
6162 echo "${ECHO_T}no" >&6
6163 fi
6164
6165
6166 enablestring=
6167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6168 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6169 no_cache=0
6170 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6171 if test "${enable_htmlhelp+set}" = set; then
6172 enableval="$enable_htmlhelp"
6173
6174 if test "$enableval" = yes; then
6175 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6176 else
6177 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6178 fi
6179
6180 else
6181
6182 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6183 if test "x$LINE" != x ; then
6184 eval "DEFAULT_$LINE"
6185 else
6186 no_cache=1
6187 fi
6188
6189 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6190
6191 fi;
6192
6193 eval "$ac_cv_use_htmlhelp"
6194 if test "$no_cache" != 1; then
6195 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6196 fi
6197
6198 if test "$wxUSE_WXHTML_HELP" = yes; then
6199 echo "$as_me:$LINENO: result: yes" >&5
6200 echo "${ECHO_T}yes" >&6
6201 else
6202 echo "$as_me:$LINENO: result: no" >&5
6203 echo "${ECHO_T}no" >&6
6204 fi
6205
6206
6207 enablestring=
6208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6209 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6210 no_cache=0
6211 # Check whether --enable-constraints or --disable-constraints was given.
6212 if test "${enable_constraints+set}" = set; then
6213 enableval="$enable_constraints"
6214
6215 if test "$enableval" = yes; then
6216 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6217 else
6218 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6219 fi
6220
6221 else
6222
6223 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6224 if test "x$LINE" != x ; then
6225 eval "DEFAULT_$LINE"
6226 else
6227 no_cache=1
6228 fi
6229
6230 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6231
6232 fi;
6233
6234 eval "$ac_cv_use_constraints"
6235 if test "$no_cache" != 1; then
6236 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6237 fi
6238
6239 if test "$wxUSE_CONSTRAINTS" = yes; then
6240 echo "$as_me:$LINENO: result: yes" >&5
6241 echo "${ECHO_T}yes" >&6
6242 else
6243 echo "$as_me:$LINENO: result: no" >&5
6244 echo "${ECHO_T}no" >&6
6245 fi
6246
6247
6248 enablestring=
6249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6250 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6251 no_cache=0
6252 # Check whether --enable-printarch or --disable-printarch was given.
6253 if test "${enable_printarch+set}" = set; then
6254 enableval="$enable_printarch"
6255
6256 if test "$enableval" = yes; then
6257 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6258 else
6259 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6260 fi
6261
6262 else
6263
6264 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6265 if test "x$LINE" != x ; then
6266 eval "DEFAULT_$LINE"
6267 else
6268 no_cache=1
6269 fi
6270
6271 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6272
6273 fi;
6274
6275 eval "$ac_cv_use_printarch"
6276 if test "$no_cache" != 1; then
6277 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6278 fi
6279
6280 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6281 echo "$as_me:$LINENO: result: yes" >&5
6282 echo "${ECHO_T}yes" >&6
6283 else
6284 echo "$as_me:$LINENO: result: no" >&5
6285 echo "${ECHO_T}no" >&6
6286 fi
6287
6288
6289 enablestring=
6290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6291 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6292 no_cache=0
6293 # Check whether --enable-mdi or --disable-mdi was given.
6294 if test "${enable_mdi+set}" = set; then
6295 enableval="$enable_mdi"
6296
6297 if test "$enableval" = yes; then
6298 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
6299 else
6300 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
6301 fi
6302
6303 else
6304
6305 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6306 if test "x$LINE" != x ; then
6307 eval "DEFAULT_$LINE"
6308 else
6309 no_cache=1
6310 fi
6311
6312 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6313
6314 fi;
6315
6316 eval "$ac_cv_use_mdi"
6317 if test "$no_cache" != 1; then
6318 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6319 fi
6320
6321 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6322 echo "$as_me:$LINENO: result: yes" >&5
6323 echo "${ECHO_T}yes" >&6
6324 else
6325 echo "$as_me:$LINENO: result: no" >&5
6326 echo "${ECHO_T}no" >&6
6327 fi
6328
6329
6330 enablestring=
6331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6332 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6333 no_cache=0
6334 # Check whether --enable-loggui or --disable-loggui was given.
6335 if test "${enable_loggui+set}" = set; then
6336 enableval="$enable_loggui"
6337
6338 if test "$enableval" = yes; then
6339 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6340 else
6341 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6342 fi
6343
6344 else
6345
6346 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6347 if test "x$LINE" != x ; then
6348 eval "DEFAULT_$LINE"
6349 else
6350 no_cache=1
6351 fi
6352
6353 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6354
6355 fi;
6356
6357 eval "$ac_cv_use_loggui"
6358 if test "$no_cache" != 1; then
6359 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6360 fi
6361
6362 if test "$wxUSE_LOGGUI" = yes; then
6363 echo "$as_me:$LINENO: result: yes" >&5
6364 echo "${ECHO_T}yes" >&6
6365 else
6366 echo "$as_me:$LINENO: result: no" >&5
6367 echo "${ECHO_T}no" >&6
6368 fi
6369
6370
6371 enablestring=
6372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6373 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6374 no_cache=0
6375 # Check whether --enable-logwin or --disable-logwin was given.
6376 if test "${enable_logwin+set}" = set; then
6377 enableval="$enable_logwin"
6378
6379 if test "$enableval" = yes; then
6380 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6381 else
6382 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6383 fi
6384
6385 else
6386
6387 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6388 if test "x$LINE" != x ; then
6389 eval "DEFAULT_$LINE"
6390 else
6391 no_cache=1
6392 fi
6393
6394 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6395
6396 fi;
6397
6398 eval "$ac_cv_use_logwin"
6399 if test "$no_cache" != 1; then
6400 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6401 fi
6402
6403 if test "$wxUSE_LOGWINDOW" = yes; then
6404 echo "$as_me:$LINENO: result: yes" >&5
6405 echo "${ECHO_T}yes" >&6
6406 else
6407 echo "$as_me:$LINENO: result: no" >&5
6408 echo "${ECHO_T}no" >&6
6409 fi
6410
6411
6412 enablestring=
6413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6414 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6415 no_cache=0
6416 # Check whether --enable-logdialog or --disable-logdialog was given.
6417 if test "${enable_logdialog+set}" = set; then
6418 enableval="$enable_logdialog"
6419
6420 if test "$enableval" = yes; then
6421 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6422 else
6423 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6424 fi
6425
6426 else
6427
6428 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6429 if test "x$LINE" != x ; then
6430 eval "DEFAULT_$LINE"
6431 else
6432 no_cache=1
6433 fi
6434
6435 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6436
6437 fi;
6438
6439 eval "$ac_cv_use_logdialog"
6440 if test "$no_cache" != 1; then
6441 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6442 fi
6443
6444 if test "$wxUSE_LOGDIALOG" = yes; then
6445 echo "$as_me:$LINENO: result: yes" >&5
6446 echo "${ECHO_T}yes" >&6
6447 else
6448 echo "$as_me:$LINENO: result: no" >&5
6449 echo "${ECHO_T}no" >&6
6450 fi
6451
6452
6453
6454 enablestring=
6455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6456 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6457 no_cache=0
6458 # Check whether --enable-postscript or --disable-postscript was given.
6459 if test "${enable_postscript+set}" = set; then
6460 enableval="$enable_postscript"
6461
6462 if test "$enableval" = yes; then
6463 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6464 else
6465 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6466 fi
6467
6468 else
6469
6470 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6471 if test "x$LINE" != x ; then
6472 eval "DEFAULT_$LINE"
6473 else
6474 no_cache=1
6475 fi
6476
6477 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6478
6479 fi;
6480
6481 eval "$ac_cv_use_postscript"
6482 if test "$no_cache" != 1; then
6483 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6484 fi
6485
6486 if test "$wxUSE_POSTSCRIPT" = yes; then
6487 echo "$as_me:$LINENO: result: yes" >&5
6488 echo "${ECHO_T}yes" >&6
6489 else
6490 echo "$as_me:$LINENO: result: no" >&5
6491 echo "${ECHO_T}no" >&6
6492 fi
6493
6494
6495
6496
6497
6498 enablestring=
6499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6500 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6501 no_cache=0
6502 # Check whether --enable-prologio or --disable-prologio was given.
6503 if test "${enable_prologio+set}" = set; then
6504 enableval="$enable_prologio"
6505
6506 if test "$enableval" = yes; then
6507 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6508 else
6509 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6510 fi
6511
6512 else
6513
6514 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6515 if test "x$LINE" != x ; then
6516 eval "DEFAULT_$LINE"
6517 else
6518 no_cache=1
6519 fi
6520
6521 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6522
6523 fi;
6524
6525 eval "$ac_cv_use_prologio"
6526 if test "$no_cache" != 1; then
6527 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6528 fi
6529
6530 if test "$wxUSE_PROLOGIO" = yes; then
6531 echo "$as_me:$LINENO: result: yes" >&5
6532 echo "${ECHO_T}yes" >&6
6533 else
6534 echo "$as_me:$LINENO: result: no" >&5
6535 echo "${ECHO_T}no" >&6
6536 fi
6537
6538
6539 enablestring=
6540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6541 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6542 no_cache=0
6543 # Check whether --enable-resources or --disable-resources was given.
6544 if test "${enable_resources+set}" = set; then
6545 enableval="$enable_resources"
6546
6547 if test "$enableval" = yes; then
6548 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6549 else
6550 ac_cv_use_resources='wxUSE_RESOURCES=no'
6551 fi
6552
6553 else
6554
6555 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6556 if test "x$LINE" != x ; then
6557 eval "DEFAULT_$LINE"
6558 else
6559 no_cache=1
6560 fi
6561
6562 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6563
6564 fi;
6565
6566 eval "$ac_cv_use_resources"
6567 if test "$no_cache" != 1; then
6568 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6569 fi
6570
6571 if test "$wxUSE_RESOURCES" = yes; then
6572 echo "$as_me:$LINENO: result: yes" >&5
6573 echo "${ECHO_T}yes" >&6
6574 else
6575 echo "$as_me:$LINENO: result: no" >&5
6576 echo "${ECHO_T}no" >&6
6577 fi
6578
6579
6580
6581
6582 enablestring=
6583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6584 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6585 no_cache=0
6586 # Check whether --enable-clipboard or --disable-clipboard was given.
6587 if test "${enable_clipboard+set}" = set; then
6588 enableval="$enable_clipboard"
6589
6590 if test "$enableval" = yes; then
6591 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6592 else
6593 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6594 fi
6595
6596 else
6597
6598 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6599 if test "x$LINE" != x ; then
6600 eval "DEFAULT_$LINE"
6601 else
6602 no_cache=1
6603 fi
6604
6605 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6606
6607 fi;
6608
6609 eval "$ac_cv_use_clipboard"
6610 if test "$no_cache" != 1; then
6611 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6612 fi
6613
6614 if test "$wxUSE_CLIPBOARD" = yes; then
6615 echo "$as_me:$LINENO: result: yes" >&5
6616 echo "${ECHO_T}yes" >&6
6617 else
6618 echo "$as_me:$LINENO: result: no" >&5
6619 echo "${ECHO_T}no" >&6
6620 fi
6621
6622
6623 enablestring=
6624 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6625 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6626 no_cache=0
6627 # Check whether --enable-dnd or --disable-dnd was given.
6628 if test "${enable_dnd+set}" = set; then
6629 enableval="$enable_dnd"
6630
6631 if test "$enableval" = yes; then
6632 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6633 else
6634 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6635 fi
6636
6637 else
6638
6639 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6640 if test "x$LINE" != x ; then
6641 eval "DEFAULT_$LINE"
6642 else
6643 no_cache=1
6644 fi
6645
6646 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6647
6648 fi;
6649
6650 eval "$ac_cv_use_dnd"
6651 if test "$no_cache" != 1; then
6652 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6653 fi
6654
6655 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6656 echo "$as_me:$LINENO: result: yes" >&5
6657 echo "${ECHO_T}yes" >&6
6658 else
6659 echo "$as_me:$LINENO: result: no" >&5
6660 echo "${ECHO_T}no" >&6
6661 fi
6662
6663
6664 enablestring=
6665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6666 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6667 no_cache=0
6668 # Check whether --enable-metafile or --disable-metafile was given.
6669 if test "${enable_metafile+set}" = set; then
6670 enableval="$enable_metafile"
6671
6672 if test "$enableval" = yes; then
6673 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6674 else
6675 ac_cv_use_metafile='wxUSE_METAFILE=no'
6676 fi
6677
6678 else
6679
6680 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6681 if test "x$LINE" != x ; then
6682 eval "DEFAULT_$LINE"
6683 else
6684 no_cache=1
6685 fi
6686
6687 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6688
6689 fi;
6690
6691 eval "$ac_cv_use_metafile"
6692 if test "$no_cache" != 1; then
6693 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6694 fi
6695
6696 if test "$wxUSE_METAFILE" = yes; then
6697 echo "$as_me:$LINENO: result: yes" >&5
6698 echo "${ECHO_T}yes" >&6
6699 else
6700 echo "$as_me:$LINENO: result: no" >&5
6701 echo "${ECHO_T}no" >&6
6702 fi
6703
6704
6705
6706
6707
6708 enablestring=
6709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6710 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6711 no_cache=0
6712 # Check whether --enable-controls or --disable-controls was given.
6713 if test "${enable_controls+set}" = set; then
6714 enableval="$enable_controls"
6715
6716 if test "$enableval" = yes; then
6717 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6718 else
6719 ac_cv_use_controls='wxUSE_CONTROLS=no'
6720 fi
6721
6722 else
6723
6724 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6725 if test "x$LINE" != x ; then
6726 eval "DEFAULT_$LINE"
6727 else
6728 no_cache=1
6729 fi
6730
6731 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6732
6733 fi;
6734
6735 eval "$ac_cv_use_controls"
6736 if test "$no_cache" != 1; then
6737 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6738 fi
6739
6740 if test "$wxUSE_CONTROLS" = yes; then
6741 echo "$as_me:$LINENO: result: yes" >&5
6742 echo "${ECHO_T}yes" >&6
6743 else
6744 echo "$as_me:$LINENO: result: no" >&5
6745 echo "${ECHO_T}no" >&6
6746 fi
6747
6748
6749 if test "$wxUSE_CONTROLS" = "yes"; then
6750 DEFAULT_wxUSE_ACCEL=yes
6751 DEFAULT_wxUSE_BMPBUTTON=yes
6752 DEFAULT_wxUSE_BUTTON=yes
6753 DEFAULT_wxUSE_CALCTRL=no
6754 DEFAULT_wxUSE_CARET=yes
6755 DEFAULT_wxUSE_COMBOBOX=yes
6756 DEFAULT_wxUSE_CHECKBOX=yes
6757 DEFAULT_wxUSE_CHECKLISTBOX=yes
6758 DEFAULT_wxUSE_CHOICE=yes
6759 DEFAULT_wxUSE_GAUGE=yes
6760 DEFAULT_wxUSE_GRID=yes
6761 DEFAULT_wxUSE_IMAGLIST=yes
6762 DEFAULT_wxUSE_LISTBOOK=yes
6763 DEFAULT_wxUSE_LISTBOX=yes
6764 DEFAULT_wxUSE_LISTCTRL=yes
6765 DEFAULT_wxUSE_NOTEBOOK=yes
6766 DEFAULT_wxUSE_RADIOBOX=yes
6767 DEFAULT_wxUSE_RADIOBTN=yes
6768 DEFAULT_wxUSE_SASH=yes
6769 DEFAULT_wxUSE_SCROLLBAR=yes
6770 DEFAULT_wxUSE_SLIDER=yes
6771 DEFAULT_wxUSE_SPINBTN=yes
6772 DEFAULT_wxUSE_SPINCTRL=yes
6773 DEFAULT_wxUSE_SPLITTER=yes
6774 DEFAULT_wxUSE_STATBMP=yes
6775 DEFAULT_wxUSE_STATBOX=yes
6776 DEFAULT_wxUSE_STATLINE=yes
6777 DEFAULT_wxUSE_STATUSBAR=yes
6778 DEFAULT_wxUSE_TAB_DIALOG=yes
6779 DEFAULT_wxUSE_TOGGLEBTN=yes
6780 DEFAULT_wxUSE_TOOLBAR=yes
6781 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6782 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6783 DEFAULT_wxUSE_TOOLTIPS=yes
6784 DEFAULT_wxUSE_TREECTRL=yes
6785 DEFAULT_wxUSE_POPUPWIN=yes
6786 DEFAULT_wxUSE_TIPWINDOW=yes
6787 elif test "$wxUSE_CONTROLS" = "no"; then
6788 DEFAULT_wxUSE_ACCEL=no
6789 DEFAULT_wxUSE_BMPBUTTON=no
6790 DEFAULT_wxUSE_BUTTON=no
6791 DEFAULT_wxUSE_CALCTRL=no
6792 DEFAULT_wxUSE_CARET=no
6793 DEFAULT_wxUSE_COMBOBOX=no
6794 DEFAULT_wxUSE_CHECKBOX=no
6795 DEFAULT_wxUSE_CHECKLISTBOX=no
6796 DEFAULT_wxUSE_CHOICE=no
6797 DEFAULT_wxUSE_GAUGE=no
6798 DEFAULT_wxUSE_GRID=no
6799 DEFAULT_wxUSE_IMAGLIST=no
6800 DEFAULT_wxUSE_LISTBOOK=no
6801 DEFAULT_wxUSE_LISTBOX=no
6802 DEFAULT_wxUSE_LISTCTRL=no
6803 DEFAULT_wxUSE_NOTEBOOK=no
6804 DEFAULT_wxUSE_RADIOBOX=no
6805 DEFAULT_wxUSE_RADIOBTN=no
6806 DEFAULT_wxUSE_SASH=no
6807 DEFAULT_wxUSE_SCROLLBAR=no
6808 DEFAULT_wxUSE_SLIDER=no
6809 DEFAULT_wxUSE_SPINBTN=no
6810 DEFAULT_wxUSE_SPINCTRL=no
6811 DEFAULT_wxUSE_SPLITTER=no
6812 DEFAULT_wxUSE_STATBMP=no
6813 DEFAULT_wxUSE_STATBOX=no
6814 DEFAULT_wxUSE_STATLINE=no
6815 DEFAULT_wxUSE_STATUSBAR=no
6816 DEFAULT_wxUSE_TAB_DIALOG=no
6817 DEFAULT_wxUSE_TOGGLEBTN=no
6818 DEFAULT_wxUSE_TOOLBAR=no
6819 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6820 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6821 DEFAULT_wxUSE_TOOLTIPS=no
6822 DEFAULT_wxUSE_TREECTRL=no
6823 DEFAULT_wxUSE_POPUPWIN=no
6824 DEFAULT_wxUSE_TIPWINDOW=no
6825 fi
6826
6827 ## FIXME: This is a blatant hack
6828 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6829 wxUSE_PRINTING_ARCHITECTURE=no
6830 wxUSE_DRAG_AND_DROP=no
6831 # Generic notebook requires tab dialog
6832 DEFAULT_wxUSE_TABDIALOG=yes
6833 DEFAULT_wxUSE_SCROLLBAR=no
6834 DEFAULT_wxUSE_TOOLTIPS=no
6835 DEFAULT_wxUSE_DRAGIMAGE=no
6836 fi
6837
6838
6839 enablestring=
6840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6841 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6842 no_cache=0
6843 # Check whether --enable-accel or --disable-accel was given.
6844 if test "${enable_accel+set}" = set; then
6845 enableval="$enable_accel"
6846
6847 if test "$enableval" = yes; then
6848 ac_cv_use_accel='wxUSE_ACCEL=yes'
6849 else
6850 ac_cv_use_accel='wxUSE_ACCEL=no'
6851 fi
6852
6853 else
6854
6855 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6856 if test "x$LINE" != x ; then
6857 eval "DEFAULT_$LINE"
6858 else
6859 no_cache=1
6860 fi
6861
6862 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6863
6864 fi;
6865
6866 eval "$ac_cv_use_accel"
6867 if test "$no_cache" != 1; then
6868 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6869 fi
6870
6871 if test "$wxUSE_ACCEL" = yes; then
6872 echo "$as_me:$LINENO: result: yes" >&5
6873 echo "${ECHO_T}yes" >&6
6874 else
6875 echo "$as_me:$LINENO: result: no" >&5
6876 echo "${ECHO_T}no" >&6
6877 fi
6878
6879
6880 enablestring=
6881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6882 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6883 no_cache=0
6884 # Check whether --enable-button or --disable-button was given.
6885 if test "${enable_button+set}" = set; then
6886 enableval="$enable_button"
6887
6888 if test "$enableval" = yes; then
6889 ac_cv_use_button='wxUSE_BUTTON=yes'
6890 else
6891 ac_cv_use_button='wxUSE_BUTTON=no'
6892 fi
6893
6894 else
6895
6896 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6897 if test "x$LINE" != x ; then
6898 eval "DEFAULT_$LINE"
6899 else
6900 no_cache=1
6901 fi
6902
6903 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6904
6905 fi;
6906
6907 eval "$ac_cv_use_button"
6908 if test "$no_cache" != 1; then
6909 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6910 fi
6911
6912 if test "$wxUSE_BUTTON" = yes; then
6913 echo "$as_me:$LINENO: result: yes" >&5
6914 echo "${ECHO_T}yes" >&6
6915 else
6916 echo "$as_me:$LINENO: result: no" >&5
6917 echo "${ECHO_T}no" >&6
6918 fi
6919
6920
6921 enablestring=
6922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6923 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6924 no_cache=0
6925 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6926 if test "${enable_bmpbutton+set}" = set; then
6927 enableval="$enable_bmpbutton"
6928
6929 if test "$enableval" = yes; then
6930 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6931 else
6932 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6933 fi
6934
6935 else
6936
6937 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6938 if test "x$LINE" != x ; then
6939 eval "DEFAULT_$LINE"
6940 else
6941 no_cache=1
6942 fi
6943
6944 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6945
6946 fi;
6947
6948 eval "$ac_cv_use_bmpbutton"
6949 if test "$no_cache" != 1; then
6950 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6951 fi
6952
6953 if test "$wxUSE_BMPBUTTON" = yes; then
6954 echo "$as_me:$LINENO: result: yes" >&5
6955 echo "${ECHO_T}yes" >&6
6956 else
6957 echo "$as_me:$LINENO: result: no" >&5
6958 echo "${ECHO_T}no" >&6
6959 fi
6960
6961
6962 enablestring=
6963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6964 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6965 no_cache=0
6966 # Check whether --enable-calendar or --disable-calendar was given.
6967 if test "${enable_calendar+set}" = set; then
6968 enableval="$enable_calendar"
6969
6970 if test "$enableval" = yes; then
6971 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6972 else
6973 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6974 fi
6975
6976 else
6977
6978 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6979 if test "x$LINE" != x ; then
6980 eval "DEFAULT_$LINE"
6981 else
6982 no_cache=1
6983 fi
6984
6985 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6986
6987 fi;
6988
6989 eval "$ac_cv_use_calendar"
6990 if test "$no_cache" != 1; then
6991 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6992 fi
6993
6994 if test "$wxUSE_CALCTRL" = yes; then
6995 echo "$as_me:$LINENO: result: yes" >&5
6996 echo "${ECHO_T}yes" >&6
6997 else
6998 echo "$as_me:$LINENO: result: no" >&5
6999 echo "${ECHO_T}no" >&6
7000 fi
7001
7002
7003 enablestring=
7004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7005 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7006 no_cache=0
7007 # Check whether --enable-caret or --disable-caret was given.
7008 if test "${enable_caret+set}" = set; then
7009 enableval="$enable_caret"
7010
7011 if test "$enableval" = yes; then
7012 ac_cv_use_caret='wxUSE_CARET=yes'
7013 else
7014 ac_cv_use_caret='wxUSE_CARET=no'
7015 fi
7016
7017 else
7018
7019 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7020 if test "x$LINE" != x ; then
7021 eval "DEFAULT_$LINE"
7022 else
7023 no_cache=1
7024 fi
7025
7026 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7027
7028 fi;
7029
7030 eval "$ac_cv_use_caret"
7031 if test "$no_cache" != 1; then
7032 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7033 fi
7034
7035 if test "$wxUSE_CARET" = yes; then
7036 echo "$as_me:$LINENO: result: yes" >&5
7037 echo "${ECHO_T}yes" >&6
7038 else
7039 echo "$as_me:$LINENO: result: no" >&5
7040 echo "${ECHO_T}no" >&6
7041 fi
7042
7043
7044 enablestring=
7045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7046 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7047 no_cache=0
7048 # Check whether --enable-checkbox or --disable-checkbox was given.
7049 if test "${enable_checkbox+set}" = set; then
7050 enableval="$enable_checkbox"
7051
7052 if test "$enableval" = yes; then
7053 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7054 else
7055 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7056 fi
7057
7058 else
7059
7060 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7061 if test "x$LINE" != x ; then
7062 eval "DEFAULT_$LINE"
7063 else
7064 no_cache=1
7065 fi
7066
7067 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7068
7069 fi;
7070
7071 eval "$ac_cv_use_checkbox"
7072 if test "$no_cache" != 1; then
7073 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7074 fi
7075
7076 if test "$wxUSE_CHECKBOX" = yes; then
7077 echo "$as_me:$LINENO: result: yes" >&5
7078 echo "${ECHO_T}yes" >&6
7079 else
7080 echo "$as_me:$LINENO: result: no" >&5
7081 echo "${ECHO_T}no" >&6
7082 fi
7083
7084
7085 enablestring=
7086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7087 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7088 no_cache=0
7089 # Check whether --enable-checklst or --disable-checklst was given.
7090 if test "${enable_checklst+set}" = set; then
7091 enableval="$enable_checklst"
7092
7093 if test "$enableval" = yes; then
7094 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7095 else
7096 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7097 fi
7098
7099 else
7100
7101 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7102 if test "x$LINE" != x ; then
7103 eval "DEFAULT_$LINE"
7104 else
7105 no_cache=1
7106 fi
7107
7108 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7109
7110 fi;
7111
7112 eval "$ac_cv_use_checklst"
7113 if test "$no_cache" != 1; then
7114 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7115 fi
7116
7117 if test "$wxUSE_CHECKLST" = yes; then
7118 echo "$as_me:$LINENO: result: yes" >&5
7119 echo "${ECHO_T}yes" >&6
7120 else
7121 echo "$as_me:$LINENO: result: no" >&5
7122 echo "${ECHO_T}no" >&6
7123 fi
7124
7125
7126 enablestring=
7127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7128 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7129 no_cache=0
7130 # Check whether --enable-choice or --disable-choice was given.
7131 if test "${enable_choice+set}" = set; then
7132 enableval="$enable_choice"
7133
7134 if test "$enableval" = yes; then
7135 ac_cv_use_choice='wxUSE_CHOICE=yes'
7136 else
7137 ac_cv_use_choice='wxUSE_CHOICE=no'
7138 fi
7139
7140 else
7141
7142 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7143 if test "x$LINE" != x ; then
7144 eval "DEFAULT_$LINE"
7145 else
7146 no_cache=1
7147 fi
7148
7149 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7150
7151 fi;
7152
7153 eval "$ac_cv_use_choice"
7154 if test "$no_cache" != 1; then
7155 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7156 fi
7157
7158 if test "$wxUSE_CHOICE" = yes; then
7159 echo "$as_me:$LINENO: result: yes" >&5
7160 echo "${ECHO_T}yes" >&6
7161 else
7162 echo "$as_me:$LINENO: result: no" >&5
7163 echo "${ECHO_T}no" >&6
7164 fi
7165
7166
7167 enablestring=
7168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7169 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7170 no_cache=0
7171 # Check whether --enable-combobox or --disable-combobox was given.
7172 if test "${enable_combobox+set}" = set; then
7173 enableval="$enable_combobox"
7174
7175 if test "$enableval" = yes; then
7176 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7177 else
7178 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7179 fi
7180
7181 else
7182
7183 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7184 if test "x$LINE" != x ; then
7185 eval "DEFAULT_$LINE"
7186 else
7187 no_cache=1
7188 fi
7189
7190 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7191
7192 fi;
7193
7194 eval "$ac_cv_use_combobox"
7195 if test "$no_cache" != 1; then
7196 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7197 fi
7198
7199 if test "$wxUSE_COMBOBOX" = yes; then
7200 echo "$as_me:$LINENO: result: yes" >&5
7201 echo "${ECHO_T}yes" >&6
7202 else
7203 echo "$as_me:$LINENO: result: no" >&5
7204 echo "${ECHO_T}no" >&6
7205 fi
7206
7207
7208 enablestring=
7209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7210 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7211 no_cache=0
7212 # Check whether --enable-display or --disable-display was given.
7213 if test "${enable_display+set}" = set; then
7214 enableval="$enable_display"
7215
7216 if test "$enableval" = yes; then
7217 ac_cv_use_display='wxUSE_DISPLAY=yes'
7218 else
7219 ac_cv_use_display='wxUSE_DISPLAY=no'
7220 fi
7221
7222 else
7223
7224 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7225 if test "x$LINE" != x ; then
7226 eval "DEFAULT_$LINE"
7227 else
7228 no_cache=1
7229 fi
7230
7231 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7232
7233 fi;
7234
7235 eval "$ac_cv_use_display"
7236 if test "$no_cache" != 1; then
7237 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7238 fi
7239
7240 if test "$wxUSE_DISPLAY" = yes; then
7241 echo "$as_me:$LINENO: result: yes" >&5
7242 echo "${ECHO_T}yes" >&6
7243 else
7244 echo "$as_me:$LINENO: result: no" >&5
7245 echo "${ECHO_T}no" >&6
7246 fi
7247
7248
7249 enablestring=
7250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7251 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7252 no_cache=0
7253 # Check whether --enable-gauge or --disable-gauge was given.
7254 if test "${enable_gauge+set}" = set; then
7255 enableval="$enable_gauge"
7256
7257 if test "$enableval" = yes; then
7258 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7259 else
7260 ac_cv_use_gauge='wxUSE_GAUGE=no'
7261 fi
7262
7263 else
7264
7265 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7266 if test "x$LINE" != x ; then
7267 eval "DEFAULT_$LINE"
7268 else
7269 no_cache=1
7270 fi
7271
7272 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7273
7274 fi;
7275
7276 eval "$ac_cv_use_gauge"
7277 if test "$no_cache" != 1; then
7278 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7279 fi
7280
7281 if test "$wxUSE_GAUGE" = yes; then
7282 echo "$as_me:$LINENO: result: yes" >&5
7283 echo "${ECHO_T}yes" >&6
7284 else
7285 echo "$as_me:$LINENO: result: no" >&5
7286 echo "${ECHO_T}no" >&6
7287 fi
7288
7289
7290 enablestring=
7291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7292 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7293 no_cache=0
7294 # Check whether --enable-grid or --disable-grid was given.
7295 if test "${enable_grid+set}" = set; then
7296 enableval="$enable_grid"
7297
7298 if test "$enableval" = yes; then
7299 ac_cv_use_grid='wxUSE_GRID=yes'
7300 else
7301 ac_cv_use_grid='wxUSE_GRID=no'
7302 fi
7303
7304 else
7305
7306 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7307 if test "x$LINE" != x ; then
7308 eval "DEFAULT_$LINE"
7309 else
7310 no_cache=1
7311 fi
7312
7313 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7314
7315 fi;
7316
7317 eval "$ac_cv_use_grid"
7318 if test "$no_cache" != 1; then
7319 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7320 fi
7321
7322 if test "$wxUSE_GRID" = yes; then
7323 echo "$as_me:$LINENO: result: yes" >&5
7324 echo "${ECHO_T}yes" >&6
7325 else
7326 echo "$as_me:$LINENO: result: no" >&5
7327 echo "${ECHO_T}no" >&6
7328 fi
7329
7330
7331 enablestring=
7332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7333 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7334 no_cache=0
7335 # Check whether --enable-imaglist or --disable-imaglist was given.
7336 if test "${enable_imaglist+set}" = set; then
7337 enableval="$enable_imaglist"
7338
7339 if test "$enableval" = yes; then
7340 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7341 else
7342 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7343 fi
7344
7345 else
7346
7347 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7348 if test "x$LINE" != x ; then
7349 eval "DEFAULT_$LINE"
7350 else
7351 no_cache=1
7352 fi
7353
7354 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7355
7356 fi;
7357
7358 eval "$ac_cv_use_imaglist"
7359 if test "$no_cache" != 1; then
7360 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7361 fi
7362
7363 if test "$wxUSE_IMAGLIST" = yes; then
7364 echo "$as_me:$LINENO: result: yes" >&5
7365 echo "${ECHO_T}yes" >&6
7366 else
7367 echo "$as_me:$LINENO: result: no" >&5
7368 echo "${ECHO_T}no" >&6
7369 fi
7370
7371
7372 enablestring=
7373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7374 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7375 no_cache=0
7376 # Check whether --enable-listbook or --disable-listbook was given.
7377 if test "${enable_listbook+set}" = set; then
7378 enableval="$enable_listbook"
7379
7380 if test "$enableval" = yes; then
7381 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7382 else
7383 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7384 fi
7385
7386 else
7387
7388 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7389 if test "x$LINE" != x ; then
7390 eval "DEFAULT_$LINE"
7391 else
7392 no_cache=1
7393 fi
7394
7395 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7396
7397 fi;
7398
7399 eval "$ac_cv_use_listbook"
7400 if test "$no_cache" != 1; then
7401 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7402 fi
7403
7404 if test "$wxUSE_LISTBOOK" = yes; then
7405 echo "$as_me:$LINENO: result: yes" >&5
7406 echo "${ECHO_T}yes" >&6
7407 else
7408 echo "$as_me:$LINENO: result: no" >&5
7409 echo "${ECHO_T}no" >&6
7410 fi
7411
7412
7413 enablestring=
7414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7415 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7416 no_cache=0
7417 # Check whether --enable-listbox or --disable-listbox was given.
7418 if test "${enable_listbox+set}" = set; then
7419 enableval="$enable_listbox"
7420
7421 if test "$enableval" = yes; then
7422 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7423 else
7424 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7425 fi
7426
7427 else
7428
7429 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7430 if test "x$LINE" != x ; then
7431 eval "DEFAULT_$LINE"
7432 else
7433 no_cache=1
7434 fi
7435
7436 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7437
7438 fi;
7439
7440 eval "$ac_cv_use_listbox"
7441 if test "$no_cache" != 1; then
7442 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7443 fi
7444
7445 if test "$wxUSE_LISTBOX" = yes; then
7446 echo "$as_me:$LINENO: result: yes" >&5
7447 echo "${ECHO_T}yes" >&6
7448 else
7449 echo "$as_me:$LINENO: result: no" >&5
7450 echo "${ECHO_T}no" >&6
7451 fi
7452
7453
7454 enablestring=
7455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7456 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7457 no_cache=0
7458 # Check whether --enable-listctrl or --disable-listctrl was given.
7459 if test "${enable_listctrl+set}" = set; then
7460 enableval="$enable_listctrl"
7461
7462 if test "$enableval" = yes; then
7463 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7464 else
7465 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7466 fi
7467
7468 else
7469
7470 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7471 if test "x$LINE" != x ; then
7472 eval "DEFAULT_$LINE"
7473 else
7474 no_cache=1
7475 fi
7476
7477 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7478
7479 fi;
7480
7481 eval "$ac_cv_use_listctrl"
7482 if test "$no_cache" != 1; then
7483 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7484 fi
7485
7486 if test "$wxUSE_LISTCTRL" = yes; then
7487 echo "$as_me:$LINENO: result: yes" >&5
7488 echo "${ECHO_T}yes" >&6
7489 else
7490 echo "$as_me:$LINENO: result: no" >&5
7491 echo "${ECHO_T}no" >&6
7492 fi
7493
7494
7495 enablestring=
7496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7497 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7498 no_cache=0
7499 # Check whether --enable-notebook or --disable-notebook was given.
7500 if test "${enable_notebook+set}" = set; then
7501 enableval="$enable_notebook"
7502
7503 if test "$enableval" = yes; then
7504 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7505 else
7506 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7507 fi
7508
7509 else
7510
7511 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7512 if test "x$LINE" != x ; then
7513 eval "DEFAULT_$LINE"
7514 else
7515 no_cache=1
7516 fi
7517
7518 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7519
7520 fi;
7521
7522 eval "$ac_cv_use_notebook"
7523 if test "$no_cache" != 1; then
7524 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7525 fi
7526
7527 if test "$wxUSE_NOTEBOOK" = yes; then
7528 echo "$as_me:$LINENO: result: yes" >&5
7529 echo "${ECHO_T}yes" >&6
7530 else
7531 echo "$as_me:$LINENO: result: no" >&5
7532 echo "${ECHO_T}no" >&6
7533 fi
7534
7535
7536 enablestring=
7537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7538 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7539 no_cache=0
7540 # Check whether --enable-radiobox or --disable-radiobox was given.
7541 if test "${enable_radiobox+set}" = set; then
7542 enableval="$enable_radiobox"
7543
7544 if test "$enableval" = yes; then
7545 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7546 else
7547 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7548 fi
7549
7550 else
7551
7552 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7553 if test "x$LINE" != x ; then
7554 eval "DEFAULT_$LINE"
7555 else
7556 no_cache=1
7557 fi
7558
7559 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7560
7561 fi;
7562
7563 eval "$ac_cv_use_radiobox"
7564 if test "$no_cache" != 1; then
7565 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7566 fi
7567
7568 if test "$wxUSE_RADIOBOX" = yes; then
7569 echo "$as_me:$LINENO: result: yes" >&5
7570 echo "${ECHO_T}yes" >&6
7571 else
7572 echo "$as_me:$LINENO: result: no" >&5
7573 echo "${ECHO_T}no" >&6
7574 fi
7575
7576
7577 enablestring=
7578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7579 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7580 no_cache=0
7581 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7582 if test "${enable_radiobtn+set}" = set; then
7583 enableval="$enable_radiobtn"
7584
7585 if test "$enableval" = yes; then
7586 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7587 else
7588 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7589 fi
7590
7591 else
7592
7593 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7594 if test "x$LINE" != x ; then
7595 eval "DEFAULT_$LINE"
7596 else
7597 no_cache=1
7598 fi
7599
7600 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7601
7602 fi;
7603
7604 eval "$ac_cv_use_radiobtn"
7605 if test "$no_cache" != 1; then
7606 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7607 fi
7608
7609 if test "$wxUSE_RADIOBTN" = yes; then
7610 echo "$as_me:$LINENO: result: yes" >&5
7611 echo "${ECHO_T}yes" >&6
7612 else
7613 echo "$as_me:$LINENO: result: no" >&5
7614 echo "${ECHO_T}no" >&6
7615 fi
7616
7617
7618 enablestring=
7619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7620 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7621 no_cache=0
7622 # Check whether --enable-sash or --disable-sash was given.
7623 if test "${enable_sash+set}" = set; then
7624 enableval="$enable_sash"
7625
7626 if test "$enableval" = yes; then
7627 ac_cv_use_sash='wxUSE_SASH=yes'
7628 else
7629 ac_cv_use_sash='wxUSE_SASH=no'
7630 fi
7631
7632 else
7633
7634 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7635 if test "x$LINE" != x ; then
7636 eval "DEFAULT_$LINE"
7637 else
7638 no_cache=1
7639 fi
7640
7641 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7642
7643 fi;
7644
7645 eval "$ac_cv_use_sash"
7646 if test "$no_cache" != 1; then
7647 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7648 fi
7649
7650 if test "$wxUSE_SASH" = yes; then
7651 echo "$as_me:$LINENO: result: yes" >&5
7652 echo "${ECHO_T}yes" >&6
7653 else
7654 echo "$as_me:$LINENO: result: no" >&5
7655 echo "${ECHO_T}no" >&6
7656 fi
7657
7658
7659 enablestring=
7660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7661 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7662 no_cache=0
7663 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7664 if test "${enable_scrollbar+set}" = set; then
7665 enableval="$enable_scrollbar"
7666
7667 if test "$enableval" = yes; then
7668 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7669 else
7670 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7671 fi
7672
7673 else
7674
7675 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7676 if test "x$LINE" != x ; then
7677 eval "DEFAULT_$LINE"
7678 else
7679 no_cache=1
7680 fi
7681
7682 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7683
7684 fi;
7685
7686 eval "$ac_cv_use_scrollbar"
7687 if test "$no_cache" != 1; then
7688 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7689 fi
7690
7691 if test "$wxUSE_SCROLLBAR" = yes; then
7692 echo "$as_me:$LINENO: result: yes" >&5
7693 echo "${ECHO_T}yes" >&6
7694 else
7695 echo "$as_me:$LINENO: result: no" >&5
7696 echo "${ECHO_T}no" >&6
7697 fi
7698
7699
7700 enablestring=
7701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7702 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7703 no_cache=0
7704 # Check whether --enable-slider or --disable-slider was given.
7705 if test "${enable_slider+set}" = set; then
7706 enableval="$enable_slider"
7707
7708 if test "$enableval" = yes; then
7709 ac_cv_use_slider='wxUSE_SLIDER=yes'
7710 else
7711 ac_cv_use_slider='wxUSE_SLIDER=no'
7712 fi
7713
7714 else
7715
7716 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7717 if test "x$LINE" != x ; then
7718 eval "DEFAULT_$LINE"
7719 else
7720 no_cache=1
7721 fi
7722
7723 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7724
7725 fi;
7726
7727 eval "$ac_cv_use_slider"
7728 if test "$no_cache" != 1; then
7729 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7730 fi
7731
7732 if test "$wxUSE_SLIDER" = yes; then
7733 echo "$as_me:$LINENO: result: yes" >&5
7734 echo "${ECHO_T}yes" >&6
7735 else
7736 echo "$as_me:$LINENO: result: no" >&5
7737 echo "${ECHO_T}no" >&6
7738 fi
7739
7740
7741 enablestring=
7742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7743 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7744 no_cache=0
7745 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7746 if test "${enable_spinbtn+set}" = set; then
7747 enableval="$enable_spinbtn"
7748
7749 if test "$enableval" = yes; then
7750 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7751 else
7752 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7753 fi
7754
7755 else
7756
7757 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7758 if test "x$LINE" != x ; then
7759 eval "DEFAULT_$LINE"
7760 else
7761 no_cache=1
7762 fi
7763
7764 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7765
7766 fi;
7767
7768 eval "$ac_cv_use_spinbtn"
7769 if test "$no_cache" != 1; then
7770 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7771 fi
7772
7773 if test "$wxUSE_SPINBTN" = yes; then
7774 echo "$as_me:$LINENO: result: yes" >&5
7775 echo "${ECHO_T}yes" >&6
7776 else
7777 echo "$as_me:$LINENO: result: no" >&5
7778 echo "${ECHO_T}no" >&6
7779 fi
7780
7781
7782 enablestring=
7783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7784 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7785 no_cache=0
7786 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7787 if test "${enable_spinctrl+set}" = set; then
7788 enableval="$enable_spinctrl"
7789
7790 if test "$enableval" = yes; then
7791 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7792 else
7793 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7794 fi
7795
7796 else
7797
7798 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7799 if test "x$LINE" != x ; then
7800 eval "DEFAULT_$LINE"
7801 else
7802 no_cache=1
7803 fi
7804
7805 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7806
7807 fi;
7808
7809 eval "$ac_cv_use_spinctrl"
7810 if test "$no_cache" != 1; then
7811 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7812 fi
7813
7814 if test "$wxUSE_SPINCTRL" = yes; then
7815 echo "$as_me:$LINENO: result: yes" >&5
7816 echo "${ECHO_T}yes" >&6
7817 else
7818 echo "$as_me:$LINENO: result: no" >&5
7819 echo "${ECHO_T}no" >&6
7820 fi
7821
7822
7823 enablestring=
7824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7825 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7826 no_cache=0
7827 # Check whether --enable-splitter or --disable-splitter was given.
7828 if test "${enable_splitter+set}" = set; then
7829 enableval="$enable_splitter"
7830
7831 if test "$enableval" = yes; then
7832 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7833 else
7834 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7835 fi
7836
7837 else
7838
7839 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7840 if test "x$LINE" != x ; then
7841 eval "DEFAULT_$LINE"
7842 else
7843 no_cache=1
7844 fi
7845
7846 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7847
7848 fi;
7849
7850 eval "$ac_cv_use_splitter"
7851 if test "$no_cache" != 1; then
7852 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7853 fi
7854
7855 if test "$wxUSE_SPLITTER" = yes; then
7856 echo "$as_me:$LINENO: result: yes" >&5
7857 echo "${ECHO_T}yes" >&6
7858 else
7859 echo "$as_me:$LINENO: result: no" >&5
7860 echo "${ECHO_T}no" >&6
7861 fi
7862
7863
7864 enablestring=
7865 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7866 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7867 no_cache=0
7868 # Check whether --enable-statbmp or --disable-statbmp was given.
7869 if test "${enable_statbmp+set}" = set; then
7870 enableval="$enable_statbmp"
7871
7872 if test "$enableval" = yes; then
7873 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7874 else
7875 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7876 fi
7877
7878 else
7879
7880 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7881 if test "x$LINE" != x ; then
7882 eval "DEFAULT_$LINE"
7883 else
7884 no_cache=1
7885 fi
7886
7887 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7888
7889 fi;
7890
7891 eval "$ac_cv_use_statbmp"
7892 if test "$no_cache" != 1; then
7893 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7894 fi
7895
7896 if test "$wxUSE_STATBMP" = yes; then
7897 echo "$as_me:$LINENO: result: yes" >&5
7898 echo "${ECHO_T}yes" >&6
7899 else
7900 echo "$as_me:$LINENO: result: no" >&5
7901 echo "${ECHO_T}no" >&6
7902 fi
7903
7904
7905 enablestring=
7906 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7907 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7908 no_cache=0
7909 # Check whether --enable-statbox or --disable-statbox was given.
7910 if test "${enable_statbox+set}" = set; then
7911 enableval="$enable_statbox"
7912
7913 if test "$enableval" = yes; then
7914 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7915 else
7916 ac_cv_use_statbox='wxUSE_STATBOX=no'
7917 fi
7918
7919 else
7920
7921 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7922 if test "x$LINE" != x ; then
7923 eval "DEFAULT_$LINE"
7924 else
7925 no_cache=1
7926 fi
7927
7928 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7929
7930 fi;
7931
7932 eval "$ac_cv_use_statbox"
7933 if test "$no_cache" != 1; then
7934 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7935 fi
7936
7937 if test "$wxUSE_STATBOX" = yes; then
7938 echo "$as_me:$LINENO: result: yes" >&5
7939 echo "${ECHO_T}yes" >&6
7940 else
7941 echo "$as_me:$LINENO: result: no" >&5
7942 echo "${ECHO_T}no" >&6
7943 fi
7944
7945
7946 enablestring=
7947 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7948 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7949 no_cache=0
7950 # Check whether --enable-statline or --disable-statline was given.
7951 if test "${enable_statline+set}" = set; then
7952 enableval="$enable_statline"
7953
7954 if test "$enableval" = yes; then
7955 ac_cv_use_statline='wxUSE_STATLINE=yes'
7956 else
7957 ac_cv_use_statline='wxUSE_STATLINE=no'
7958 fi
7959
7960 else
7961
7962 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7963 if test "x$LINE" != x ; then
7964 eval "DEFAULT_$LINE"
7965 else
7966 no_cache=1
7967 fi
7968
7969 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7970
7971 fi;
7972
7973 eval "$ac_cv_use_statline"
7974 if test "$no_cache" != 1; then
7975 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7976 fi
7977
7978 if test "$wxUSE_STATLINE" = yes; then
7979 echo "$as_me:$LINENO: result: yes" >&5
7980 echo "${ECHO_T}yes" >&6
7981 else
7982 echo "$as_me:$LINENO: result: no" >&5
7983 echo "${ECHO_T}no" >&6
7984 fi
7985
7986
7987 enablestring=
7988 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7989 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7990 no_cache=0
7991 # Check whether --enable-stattext or --disable-stattext was given.
7992 if test "${enable_stattext+set}" = set; then
7993 enableval="$enable_stattext"
7994
7995 if test "$enableval" = yes; then
7996 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7997 else
7998 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7999 fi
8000
8001 else
8002
8003 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8004 if test "x$LINE" != x ; then
8005 eval "DEFAULT_$LINE"
8006 else
8007 no_cache=1
8008 fi
8009
8010 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8011
8012 fi;
8013
8014 eval "$ac_cv_use_stattext"
8015 if test "$no_cache" != 1; then
8016 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8017 fi
8018
8019 if test "$wxUSE_STATTEXT" = yes; then
8020 echo "$as_me:$LINENO: result: yes" >&5
8021 echo "${ECHO_T}yes" >&6
8022 else
8023 echo "$as_me:$LINENO: result: no" >&5
8024 echo "${ECHO_T}no" >&6
8025 fi
8026
8027
8028 enablestring=
8029 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8030 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8031 no_cache=0
8032 # Check whether --enable-statusbar or --disable-statusbar was given.
8033 if test "${enable_statusbar+set}" = set; then
8034 enableval="$enable_statusbar"
8035
8036 if test "$enableval" = yes; then
8037 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8038 else
8039 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8040 fi
8041
8042 else
8043
8044 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8045 if test "x$LINE" != x ; then
8046 eval "DEFAULT_$LINE"
8047 else
8048 no_cache=1
8049 fi
8050
8051 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8052
8053 fi;
8054
8055 eval "$ac_cv_use_statusbar"
8056 if test "$no_cache" != 1; then
8057 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8058 fi
8059
8060 if test "$wxUSE_STATUSBAR" = yes; then
8061 echo "$as_me:$LINENO: result: yes" >&5
8062 echo "${ECHO_T}yes" >&6
8063 else
8064 echo "$as_me:$LINENO: result: no" >&5
8065 echo "${ECHO_T}no" >&6
8066 fi
8067
8068
8069 enablestring=
8070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8071 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8072 no_cache=0
8073 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8074 if test "${enable_tabdialog+set}" = set; then
8075 enableval="$enable_tabdialog"
8076
8077 if test "$enableval" = yes; then
8078 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8079 else
8080 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8081 fi
8082
8083 else
8084
8085 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8086 if test "x$LINE" != x ; then
8087 eval "DEFAULT_$LINE"
8088 else
8089 no_cache=1
8090 fi
8091
8092 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8093
8094 fi;
8095
8096 eval "$ac_cv_use_tabdialog"
8097 if test "$no_cache" != 1; then
8098 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8099 fi
8100
8101 if test "$wxUSE_TABDIALOG" = yes; then
8102 echo "$as_me:$LINENO: result: yes" >&5
8103 echo "${ECHO_T}yes" >&6
8104 else
8105 echo "$as_me:$LINENO: result: no" >&5
8106 echo "${ECHO_T}no" >&6
8107 fi
8108
8109
8110 enablestring=
8111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8112 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8113 no_cache=0
8114 # Check whether --enable-textctrl or --disable-textctrl was given.
8115 if test "${enable_textctrl+set}" = set; then
8116 enableval="$enable_textctrl"
8117
8118 if test "$enableval" = yes; then
8119 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8120 else
8121 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8122 fi
8123
8124 else
8125
8126 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8127 if test "x$LINE" != x ; then
8128 eval "DEFAULT_$LINE"
8129 else
8130 no_cache=1
8131 fi
8132
8133 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8134
8135 fi;
8136
8137 eval "$ac_cv_use_textctrl"
8138 if test "$no_cache" != 1; then
8139 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8140 fi
8141
8142 if test "$wxUSE_TEXTCTRL" = yes; then
8143 echo "$as_me:$LINENO: result: yes" >&5
8144 echo "${ECHO_T}yes" >&6
8145 else
8146 echo "$as_me:$LINENO: result: no" >&5
8147 echo "${ECHO_T}no" >&6
8148 fi
8149
8150
8151 enablestring=
8152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8153 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8154 no_cache=0
8155 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8156 if test "${enable_togglebtn+set}" = set; then
8157 enableval="$enable_togglebtn"
8158
8159 if test "$enableval" = yes; then
8160 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8161 else
8162 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8163 fi
8164
8165 else
8166
8167 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8168 if test "x$LINE" != x ; then
8169 eval "DEFAULT_$LINE"
8170 else
8171 no_cache=1
8172 fi
8173
8174 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8175
8176 fi;
8177
8178 eval "$ac_cv_use_togglebtn"
8179 if test "$no_cache" != 1; then
8180 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8181 fi
8182
8183 if test "$wxUSE_TOGGLEBTN" = yes; then
8184 echo "$as_me:$LINENO: result: yes" >&5
8185 echo "${ECHO_T}yes" >&6
8186 else
8187 echo "$as_me:$LINENO: result: no" >&5
8188 echo "${ECHO_T}no" >&6
8189 fi
8190
8191
8192 enablestring=
8193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8194 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8195 no_cache=0
8196 # Check whether --enable-toolbar or --disable-toolbar was given.
8197 if test "${enable_toolbar+set}" = set; then
8198 enableval="$enable_toolbar"
8199
8200 if test "$enableval" = yes; then
8201 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8202 else
8203 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8204 fi
8205
8206 else
8207
8208 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8209 if test "x$LINE" != x ; then
8210 eval "DEFAULT_$LINE"
8211 else
8212 no_cache=1
8213 fi
8214
8215 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8216
8217 fi;
8218
8219 eval "$ac_cv_use_toolbar"
8220 if test "$no_cache" != 1; then
8221 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8222 fi
8223
8224 if test "$wxUSE_TOOLBAR" = yes; then
8225 echo "$as_me:$LINENO: result: yes" >&5
8226 echo "${ECHO_T}yes" >&6
8227 else
8228 echo "$as_me:$LINENO: result: no" >&5
8229 echo "${ECHO_T}no" >&6
8230 fi
8231
8232
8233 enablestring=
8234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8235 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8236 no_cache=0
8237 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8238 if test "${enable_tbarnative+set}" = set; then
8239 enableval="$enable_tbarnative"
8240
8241 if test "$enableval" = yes; then
8242 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8243 else
8244 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8245 fi
8246
8247 else
8248
8249 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8250 if test "x$LINE" != x ; then
8251 eval "DEFAULT_$LINE"
8252 else
8253 no_cache=1
8254 fi
8255
8256 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8257
8258 fi;
8259
8260 eval "$ac_cv_use_tbarnative"
8261 if test "$no_cache" != 1; then
8262 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8263 fi
8264
8265 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8266 echo "$as_me:$LINENO: result: yes" >&5
8267 echo "${ECHO_T}yes" >&6
8268 else
8269 echo "$as_me:$LINENO: result: no" >&5
8270 echo "${ECHO_T}no" >&6
8271 fi
8272
8273
8274 enablestring=
8275 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8276 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8277 no_cache=0
8278 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8279 if test "${enable_tbarsmpl+set}" = set; then
8280 enableval="$enable_tbarsmpl"
8281
8282 if test "$enableval" = yes; then
8283 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8284 else
8285 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8286 fi
8287
8288 else
8289
8290 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8291 if test "x$LINE" != x ; then
8292 eval "DEFAULT_$LINE"
8293 else
8294 no_cache=1
8295 fi
8296
8297 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8298
8299 fi;
8300
8301 eval "$ac_cv_use_tbarsmpl"
8302 if test "$no_cache" != 1; then
8303 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8304 fi
8305
8306 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8307 echo "$as_me:$LINENO: result: yes" >&5
8308 echo "${ECHO_T}yes" >&6
8309 else
8310 echo "$as_me:$LINENO: result: no" >&5
8311 echo "${ECHO_T}no" >&6
8312 fi
8313
8314
8315 enablestring=
8316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8317 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8318 no_cache=0
8319 # Check whether --enable-treectrl or --disable-treectrl was given.
8320 if test "${enable_treectrl+set}" = set; then
8321 enableval="$enable_treectrl"
8322
8323 if test "$enableval" = yes; then
8324 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8325 else
8326 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8327 fi
8328
8329 else
8330
8331 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8332 if test "x$LINE" != x ; then
8333 eval "DEFAULT_$LINE"
8334 else
8335 no_cache=1
8336 fi
8337
8338 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8339
8340 fi;
8341
8342 eval "$ac_cv_use_treectrl"
8343 if test "$no_cache" != 1; then
8344 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8345 fi
8346
8347 if test "$wxUSE_TREECTRL" = yes; then
8348 echo "$as_me:$LINENO: result: yes" >&5
8349 echo "${ECHO_T}yes" >&6
8350 else
8351 echo "$as_me:$LINENO: result: no" >&5
8352 echo "${ECHO_T}no" >&6
8353 fi
8354
8355
8356 enablestring=
8357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8358 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8359 no_cache=0
8360 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8361 if test "${enable_tipwindow+set}" = set; then
8362 enableval="$enable_tipwindow"
8363
8364 if test "$enableval" = yes; then
8365 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8366 else
8367 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8368 fi
8369
8370 else
8371
8372 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8373 if test "x$LINE" != x ; then
8374 eval "DEFAULT_$LINE"
8375 else
8376 no_cache=1
8377 fi
8378
8379 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8380
8381 fi;
8382
8383 eval "$ac_cv_use_tipwindow"
8384 if test "$no_cache" != 1; then
8385 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8386 fi
8387
8388 if test "$wxUSE_TIPWINDOW" = yes; then
8389 echo "$as_me:$LINENO: result: yes" >&5
8390 echo "${ECHO_T}yes" >&6
8391 else
8392 echo "$as_me:$LINENO: result: no" >&5
8393 echo "${ECHO_T}no" >&6
8394 fi
8395
8396
8397 enablestring=
8398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8399 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8400 no_cache=0
8401 # Check whether --enable-popupwin or --disable-popupwin was given.
8402 if test "${enable_popupwin+set}" = set; then
8403 enableval="$enable_popupwin"
8404
8405 if test "$enableval" = yes; then
8406 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8407 else
8408 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8409 fi
8410
8411 else
8412
8413 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8414 if test "x$LINE" != x ; then
8415 eval "DEFAULT_$LINE"
8416 else
8417 no_cache=1
8418 fi
8419
8420 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8421
8422 fi;
8423
8424 eval "$ac_cv_use_popupwin"
8425 if test "$no_cache" != 1; then
8426 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8427 fi
8428
8429 if test "$wxUSE_POPUPWIN" = yes; then
8430 echo "$as_me:$LINENO: result: yes" >&5
8431 echo "${ECHO_T}yes" >&6
8432 else
8433 echo "$as_me:$LINENO: result: no" >&5
8434 echo "${ECHO_T}no" >&6
8435 fi
8436
8437
8438
8439
8440 enablestring=
8441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8442 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8443 no_cache=0
8444 # Check whether --enable-commondlg or --disable-commondlg was given.
8445 if test "${enable_commondlg+set}" = set; then
8446 enableval="$enable_commondlg"
8447
8448 if test "$enableval" = yes; then
8449 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8450 else
8451 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8452 fi
8453
8454 else
8455
8456 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8457 if test "x$LINE" != x ; then
8458 eval "DEFAULT_$LINE"
8459 else
8460 no_cache=1
8461 fi
8462
8463 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8464
8465 fi;
8466
8467 eval "$ac_cv_use_commondlg"
8468 if test "$no_cache" != 1; then
8469 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8470 fi
8471
8472 if test "$wxUSE_COMMONDLGS" = yes; then
8473 echo "$as_me:$LINENO: result: yes" >&5
8474 echo "${ECHO_T}yes" >&6
8475 else
8476 echo "$as_me:$LINENO: result: no" >&5
8477 echo "${ECHO_T}no" >&6
8478 fi
8479
8480
8481 enablestring=
8482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8483 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8484 no_cache=0
8485 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8486 if test "${enable_choicedlg+set}" = set; then
8487 enableval="$enable_choicedlg"
8488
8489 if test "$enableval" = yes; then
8490 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8491 else
8492 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8493 fi
8494
8495 else
8496
8497 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8498 if test "x$LINE" != x ; then
8499 eval "DEFAULT_$LINE"
8500 else
8501 no_cache=1
8502 fi
8503
8504 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8505
8506 fi;
8507
8508 eval "$ac_cv_use_choicedlg"
8509 if test "$no_cache" != 1; then
8510 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8511 fi
8512
8513 if test "$wxUSE_CHOICEDLG" = yes; then
8514 echo "$as_me:$LINENO: result: yes" >&5
8515 echo "${ECHO_T}yes" >&6
8516 else
8517 echo "$as_me:$LINENO: result: no" >&5
8518 echo "${ECHO_T}no" >&6
8519 fi
8520
8521
8522 enablestring=
8523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8524 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8525 no_cache=0
8526 # Check whether --enable-coldlg or --disable-coldlg was given.
8527 if test "${enable_coldlg+set}" = set; then
8528 enableval="$enable_coldlg"
8529
8530 if test "$enableval" = yes; then
8531 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8532 else
8533 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8534 fi
8535
8536 else
8537
8538 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8539 if test "x$LINE" != x ; then
8540 eval "DEFAULT_$LINE"
8541 else
8542 no_cache=1
8543 fi
8544
8545 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8546
8547 fi;
8548
8549 eval "$ac_cv_use_coldlg"
8550 if test "$no_cache" != 1; then
8551 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8552 fi
8553
8554 if test "$wxUSE_COLOURDLG" = yes; then
8555 echo "$as_me:$LINENO: result: yes" >&5
8556 echo "${ECHO_T}yes" >&6
8557 else
8558 echo "$as_me:$LINENO: result: no" >&5
8559 echo "${ECHO_T}no" >&6
8560 fi
8561
8562
8563 enablestring=
8564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8565 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8566 no_cache=0
8567 # Check whether --enable-filedlg or --disable-filedlg was given.
8568 if test "${enable_filedlg+set}" = set; then
8569 enableval="$enable_filedlg"
8570
8571 if test "$enableval" = yes; then
8572 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8573 else
8574 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8575 fi
8576
8577 else
8578
8579 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8580 if test "x$LINE" != x ; then
8581 eval "DEFAULT_$LINE"
8582 else
8583 no_cache=1
8584 fi
8585
8586 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8587
8588 fi;
8589
8590 eval "$ac_cv_use_filedlg"
8591 if test "$no_cache" != 1; then
8592 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8593 fi
8594
8595 if test "$wxUSE_FILEDLG" = yes; then
8596 echo "$as_me:$LINENO: result: yes" >&5
8597 echo "${ECHO_T}yes" >&6
8598 else
8599 echo "$as_me:$LINENO: result: no" >&5
8600 echo "${ECHO_T}no" >&6
8601 fi
8602
8603
8604 enablestring=
8605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8606 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8607 no_cache=0
8608 # Check whether --enable-finddlg or --disable-finddlg was given.
8609 if test "${enable_finddlg+set}" = set; then
8610 enableval="$enable_finddlg"
8611
8612 if test "$enableval" = yes; then
8613 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8614 else
8615 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8616 fi
8617
8618 else
8619
8620 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8621 if test "x$LINE" != x ; then
8622 eval "DEFAULT_$LINE"
8623 else
8624 no_cache=1
8625 fi
8626
8627 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8628
8629 fi;
8630
8631 eval "$ac_cv_use_finddlg"
8632 if test "$no_cache" != 1; then
8633 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8634 fi
8635
8636 if test "$wxUSE_FINDREPLDLG" = yes; then
8637 echo "$as_me:$LINENO: result: yes" >&5
8638 echo "${ECHO_T}yes" >&6
8639 else
8640 echo "$as_me:$LINENO: result: no" >&5
8641 echo "${ECHO_T}no" >&6
8642 fi
8643
8644
8645 enablestring=
8646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8647 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8648 no_cache=0
8649 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8650 if test "${enable_fontdlg+set}" = set; then
8651 enableval="$enable_fontdlg"
8652
8653 if test "$enableval" = yes; then
8654 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8655 else
8656 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8657 fi
8658
8659 else
8660
8661 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8662 if test "x$LINE" != x ; then
8663 eval "DEFAULT_$LINE"
8664 else
8665 no_cache=1
8666 fi
8667
8668 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8669
8670 fi;
8671
8672 eval "$ac_cv_use_fontdlg"
8673 if test "$no_cache" != 1; then
8674 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8675 fi
8676
8677 if test "$wxUSE_FONTDLG" = yes; then
8678 echo "$as_me:$LINENO: result: yes" >&5
8679 echo "${ECHO_T}yes" >&6
8680 else
8681 echo "$as_me:$LINENO: result: no" >&5
8682 echo "${ECHO_T}no" >&6
8683 fi
8684
8685
8686 enablestring=
8687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8688 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8689 no_cache=0
8690 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8691 if test "${enable_dirdlg+set}" = set; then
8692 enableval="$enable_dirdlg"
8693
8694 if test "$enableval" = yes; then
8695 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8696 else
8697 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8698 fi
8699
8700 else
8701
8702 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8703 if test "x$LINE" != x ; then
8704 eval "DEFAULT_$LINE"
8705 else
8706 no_cache=1
8707 fi
8708
8709 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8710
8711 fi;
8712
8713 eval "$ac_cv_use_dirdlg"
8714 if test "$no_cache" != 1; then
8715 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8716 fi
8717
8718 if test "$wxUSE_DIRDLG" = yes; then
8719 echo "$as_me:$LINENO: result: yes" >&5
8720 echo "${ECHO_T}yes" >&6
8721 else
8722 echo "$as_me:$LINENO: result: no" >&5
8723 echo "${ECHO_T}no" >&6
8724 fi
8725
8726
8727 enablestring=
8728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8729 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8730 no_cache=0
8731 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8732 if test "${enable_msgdlg+set}" = set; then
8733 enableval="$enable_msgdlg"
8734
8735 if test "$enableval" = yes; then
8736 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8737 else
8738 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8739 fi
8740
8741 else
8742
8743 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8744 if test "x$LINE" != x ; then
8745 eval "DEFAULT_$LINE"
8746 else
8747 no_cache=1
8748 fi
8749
8750 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8751
8752 fi;
8753
8754 eval "$ac_cv_use_msgdlg"
8755 if test "$no_cache" != 1; then
8756 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8757 fi
8758
8759 if test "$wxUSE_MSGDLG" = yes; then
8760 echo "$as_me:$LINENO: result: yes" >&5
8761 echo "${ECHO_T}yes" >&6
8762 else
8763 echo "$as_me:$LINENO: result: no" >&5
8764 echo "${ECHO_T}no" >&6
8765 fi
8766
8767
8768 enablestring=
8769 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8770 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8771 no_cache=0
8772 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8773 if test "${enable_numberdlg+set}" = set; then
8774 enableval="$enable_numberdlg"
8775
8776 if test "$enableval" = yes; then
8777 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8778 else
8779 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8780 fi
8781
8782 else
8783
8784 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8785 if test "x$LINE" != x ; then
8786 eval "DEFAULT_$LINE"
8787 else
8788 no_cache=1
8789 fi
8790
8791 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8792
8793 fi;
8794
8795 eval "$ac_cv_use_numberdlg"
8796 if test "$no_cache" != 1; then
8797 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8798 fi
8799
8800 if test "$wxUSE_NUMBERDLG" = yes; then
8801 echo "$as_me:$LINENO: result: yes" >&5
8802 echo "${ECHO_T}yes" >&6
8803 else
8804 echo "$as_me:$LINENO: result: no" >&5
8805 echo "${ECHO_T}no" >&6
8806 fi
8807
8808
8809 enablestring=
8810 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8811 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8812 no_cache=0
8813 # Check whether --enable-splash or --disable-splash was given.
8814 if test "${enable_splash+set}" = set; then
8815 enableval="$enable_splash"
8816
8817 if test "$enableval" = yes; then
8818 ac_cv_use_splash='wxUSE_SPLASH=yes'
8819 else
8820 ac_cv_use_splash='wxUSE_SPLASH=no'
8821 fi
8822
8823 else
8824
8825 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8826 if test "x$LINE" != x ; then
8827 eval "DEFAULT_$LINE"
8828 else
8829 no_cache=1
8830 fi
8831
8832 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8833
8834 fi;
8835
8836 eval "$ac_cv_use_splash"
8837 if test "$no_cache" != 1; then
8838 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8839 fi
8840
8841 if test "$wxUSE_SPLASH" = yes; then
8842 echo "$as_me:$LINENO: result: yes" >&5
8843 echo "${ECHO_T}yes" >&6
8844 else
8845 echo "$as_me:$LINENO: result: no" >&5
8846 echo "${ECHO_T}no" >&6
8847 fi
8848
8849
8850 enablestring=
8851 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8852 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8853 no_cache=0
8854 # Check whether --enable-textdlg or --disable-textdlg was given.
8855 if test "${enable_textdlg+set}" = set; then
8856 enableval="$enable_textdlg"
8857
8858 if test "$enableval" = yes; then
8859 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8860 else
8861 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8862 fi
8863
8864 else
8865
8866 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8867 if test "x$LINE" != x ; then
8868 eval "DEFAULT_$LINE"
8869 else
8870 no_cache=1
8871 fi
8872
8873 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8874
8875 fi;
8876
8877 eval "$ac_cv_use_textdlg"
8878 if test "$no_cache" != 1; then
8879 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8880 fi
8881
8882 if test "$wxUSE_TEXTDLG" = yes; then
8883 echo "$as_me:$LINENO: result: yes" >&5
8884 echo "${ECHO_T}yes" >&6
8885 else
8886 echo "$as_me:$LINENO: result: no" >&5
8887 echo "${ECHO_T}no" >&6
8888 fi
8889
8890
8891 enablestring=
8892 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8893 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8894 no_cache=0
8895 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8896 if test "${enable_tipdlg+set}" = set; then
8897 enableval="$enable_tipdlg"
8898
8899 if test "$enableval" = yes; then
8900 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8901 else
8902 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8903 fi
8904
8905 else
8906
8907 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8908 if test "x$LINE" != x ; then
8909 eval "DEFAULT_$LINE"
8910 else
8911 no_cache=1
8912 fi
8913
8914 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8915
8916 fi;
8917
8918 eval "$ac_cv_use_tipdlg"
8919 if test "$no_cache" != 1; then
8920 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8921 fi
8922
8923 if test "$wxUSE_STARTUP_TIPS" = yes; then
8924 echo "$as_me:$LINENO: result: yes" >&5
8925 echo "${ECHO_T}yes" >&6
8926 else
8927 echo "$as_me:$LINENO: result: no" >&5
8928 echo "${ECHO_T}no" >&6
8929 fi
8930
8931
8932 enablestring=
8933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8934 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8935 no_cache=0
8936 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8937 if test "${enable_progressdlg+set}" = set; then
8938 enableval="$enable_progressdlg"
8939
8940 if test "$enableval" = yes; then
8941 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8942 else
8943 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8944 fi
8945
8946 else
8947
8948 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8949 if test "x$LINE" != x ; then
8950 eval "DEFAULT_$LINE"
8951 else
8952 no_cache=1
8953 fi
8954
8955 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8956
8957 fi;
8958
8959 eval "$ac_cv_use_progressdlg"
8960 if test "$no_cache" != 1; then
8961 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8962 fi
8963
8964 if test "$wxUSE_PROGRESSDLG" = yes; then
8965 echo "$as_me:$LINENO: result: yes" >&5
8966 echo "${ECHO_T}yes" >&6
8967 else
8968 echo "$as_me:$LINENO: result: no" >&5
8969 echo "${ECHO_T}no" >&6
8970 fi
8971
8972
8973 enablestring=
8974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8975 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8976 no_cache=0
8977 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8978 if test "${enable_wizarddlg+set}" = set; then
8979 enableval="$enable_wizarddlg"
8980
8981 if test "$enableval" = yes; then
8982 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8983 else
8984 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8985 fi
8986
8987 else
8988
8989 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8990 if test "x$LINE" != x ; then
8991 eval "DEFAULT_$LINE"
8992 else
8993 no_cache=1
8994 fi
8995
8996 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8997
8998 fi;
8999
9000 eval "$ac_cv_use_wizarddlg"
9001 if test "$no_cache" != 1; then
9002 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9003 fi
9004
9005 if test "$wxUSE_WIZARDDLG" = yes; then
9006 echo "$as_me:$LINENO: result: yes" >&5
9007 echo "${ECHO_T}yes" >&6
9008 else
9009 echo "$as_me:$LINENO: result: no" >&5
9010 echo "${ECHO_T}no" >&6
9011 fi
9012
9013
9014
9015
9016 enablestring=
9017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9018 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9019 no_cache=0
9020 # Check whether --enable-menus or --disable-menus was given.
9021 if test "${enable_menus+set}" = set; then
9022 enableval="$enable_menus"
9023
9024 if test "$enableval" = yes; then
9025 ac_cv_use_menus='wxUSE_MENUS=yes'
9026 else
9027 ac_cv_use_menus='wxUSE_MENUS=no'
9028 fi
9029
9030 else
9031
9032 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9033 if test "x$LINE" != x ; then
9034 eval "DEFAULT_$LINE"
9035 else
9036 no_cache=1
9037 fi
9038
9039 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9040
9041 fi;
9042
9043 eval "$ac_cv_use_menus"
9044 if test "$no_cache" != 1; then
9045 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9046 fi
9047
9048 if test "$wxUSE_MENUS" = yes; then
9049 echo "$as_me:$LINENO: result: yes" >&5
9050 echo "${ECHO_T}yes" >&6
9051 else
9052 echo "$as_me:$LINENO: result: no" >&5
9053 echo "${ECHO_T}no" >&6
9054 fi
9055
9056
9057 enablestring=
9058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9059 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9060 no_cache=0
9061 # Check whether --enable-miniframe or --disable-miniframe was given.
9062 if test "${enable_miniframe+set}" = set; then
9063 enableval="$enable_miniframe"
9064
9065 if test "$enableval" = yes; then
9066 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9067 else
9068 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9069 fi
9070
9071 else
9072
9073 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9074 if test "x$LINE" != x ; then
9075 eval "DEFAULT_$LINE"
9076 else
9077 no_cache=1
9078 fi
9079
9080 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9081
9082 fi;
9083
9084 eval "$ac_cv_use_miniframe"
9085 if test "$no_cache" != 1; then
9086 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9087 fi
9088
9089 if test "$wxUSE_MINIFRAME" = yes; then
9090 echo "$as_me:$LINENO: result: yes" >&5
9091 echo "${ECHO_T}yes" >&6
9092 else
9093 echo "$as_me:$LINENO: result: no" >&5
9094 echo "${ECHO_T}no" >&6
9095 fi
9096
9097
9098 enablestring=
9099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9100 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9101 no_cache=0
9102 # Check whether --enable-tooltips or --disable-tooltips was given.
9103 if test "${enable_tooltips+set}" = set; then
9104 enableval="$enable_tooltips"
9105
9106 if test "$enableval" = yes; then
9107 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9108 else
9109 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9110 fi
9111
9112 else
9113
9114 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9115 if test "x$LINE" != x ; then
9116 eval "DEFAULT_$LINE"
9117 else
9118 no_cache=1
9119 fi
9120
9121 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9122
9123 fi;
9124
9125 eval "$ac_cv_use_tooltips"
9126 if test "$no_cache" != 1; then
9127 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9128 fi
9129
9130 if test "$wxUSE_TOOLTIPS" = yes; then
9131 echo "$as_me:$LINENO: result: yes" >&5
9132 echo "${ECHO_T}yes" >&6
9133 else
9134 echo "$as_me:$LINENO: result: no" >&5
9135 echo "${ECHO_T}no" >&6
9136 fi
9137
9138
9139 enablestring=
9140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9141 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9142 no_cache=0
9143 # Check whether --enable-splines or --disable-splines was given.
9144 if test "${enable_splines+set}" = set; then
9145 enableval="$enable_splines"
9146
9147 if test "$enableval" = yes; then
9148 ac_cv_use_splines='wxUSE_SPLINES=yes'
9149 else
9150 ac_cv_use_splines='wxUSE_SPLINES=no'
9151 fi
9152
9153 else
9154
9155 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9156 if test "x$LINE" != x ; then
9157 eval "DEFAULT_$LINE"
9158 else
9159 no_cache=1
9160 fi
9161
9162 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9163
9164 fi;
9165
9166 eval "$ac_cv_use_splines"
9167 if test "$no_cache" != 1; then
9168 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9169 fi
9170
9171 if test "$wxUSE_SPLINES" = yes; then
9172 echo "$as_me:$LINENO: result: yes" >&5
9173 echo "${ECHO_T}yes" >&6
9174 else
9175 echo "$as_me:$LINENO: result: no" >&5
9176 echo "${ECHO_T}no" >&6
9177 fi
9178
9179
9180 enablestring=
9181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9182 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9183 no_cache=0
9184 # Check whether --enable-validators or --disable-validators was given.
9185 if test "${enable_validators+set}" = set; then
9186 enableval="$enable_validators"
9187
9188 if test "$enableval" = yes; then
9189 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9190 else
9191 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9192 fi
9193
9194 else
9195
9196 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9197 if test "x$LINE" != x ; then
9198 eval "DEFAULT_$LINE"
9199 else
9200 no_cache=1
9201 fi
9202
9203 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9204
9205 fi;
9206
9207 eval "$ac_cv_use_validators"
9208 if test "$no_cache" != 1; then
9209 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9210 fi
9211
9212 if test "$wxUSE_VALIDATORS" = yes; then
9213 echo "$as_me:$LINENO: result: yes" >&5
9214 echo "${ECHO_T}yes" >&6
9215 else
9216 echo "$as_me:$LINENO: result: no" >&5
9217 echo "${ECHO_T}no" >&6
9218 fi
9219
9220
9221 enablestring=
9222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9223 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9224 no_cache=0
9225 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9226 if test "${enable_busyinfo+set}" = set; then
9227 enableval="$enable_busyinfo"
9228
9229 if test "$enableval" = yes; then
9230 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9231 else
9232 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9233 fi
9234
9235 else
9236
9237 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9238 if test "x$LINE" != x ; then
9239 eval "DEFAULT_$LINE"
9240 else
9241 no_cache=1
9242 fi
9243
9244 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9245
9246 fi;
9247
9248 eval "$ac_cv_use_busyinfo"
9249 if test "$no_cache" != 1; then
9250 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9251 fi
9252
9253 if test "$wxUSE_BUSYINFO" = yes; then
9254 echo "$as_me:$LINENO: result: yes" >&5
9255 echo "${ECHO_T}yes" >&6
9256 else
9257 echo "$as_me:$LINENO: result: no" >&5
9258 echo "${ECHO_T}no" >&6
9259 fi
9260
9261
9262 enablestring=
9263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9264 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9265 no_cache=0
9266 # Check whether --enable-joystick or --disable-joystick was given.
9267 if test "${enable_joystick+set}" = set; then
9268 enableval="$enable_joystick"
9269
9270 if test "$enableval" = yes; then
9271 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9272 else
9273 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9274 fi
9275
9276 else
9277
9278 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9279 if test "x$LINE" != x ; then
9280 eval "DEFAULT_$LINE"
9281 else
9282 no_cache=1
9283 fi
9284
9285 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9286
9287 fi;
9288
9289 eval "$ac_cv_use_joystick"
9290 if test "$no_cache" != 1; then
9291 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9292 fi
9293
9294 if test "$wxUSE_JOYSTICK" = yes; then
9295 echo "$as_me:$LINENO: result: yes" >&5
9296 echo "${ECHO_T}yes" >&6
9297 else
9298 echo "$as_me:$LINENO: result: no" >&5
9299 echo "${ECHO_T}no" >&6
9300 fi
9301
9302
9303 enablestring=
9304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9305 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9306 no_cache=0
9307 # Check whether --enable-metafile or --disable-metafile was given.
9308 if test "${enable_metafile+set}" = set; then
9309 enableval="$enable_metafile"
9310
9311 if test "$enableval" = yes; then
9312 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9313 else
9314 ac_cv_use_metafile='wxUSE_METAFILE=no'
9315 fi
9316
9317 else
9318
9319 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9320 if test "x$LINE" != x ; then
9321 eval "DEFAULT_$LINE"
9322 else
9323 no_cache=1
9324 fi
9325
9326 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9327
9328 fi;
9329
9330 eval "$ac_cv_use_metafile"
9331 if test "$no_cache" != 1; then
9332 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9333 fi
9334
9335 if test "$wxUSE_METAFILE" = yes; then
9336 echo "$as_me:$LINENO: result: yes" >&5
9337 echo "${ECHO_T}yes" >&6
9338 else
9339 echo "$as_me:$LINENO: result: no" >&5
9340 echo "${ECHO_T}no" >&6
9341 fi
9342
9343
9344 enablestring=
9345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9346 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9347 no_cache=0
9348 # Check whether --enable-dragimage or --disable-dragimage was given.
9349 if test "${enable_dragimage+set}" = set; then
9350 enableval="$enable_dragimage"
9351
9352 if test "$enableval" = yes; then
9353 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9354 else
9355 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9356 fi
9357
9358 else
9359
9360 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9361 if test "x$LINE" != x ; then
9362 eval "DEFAULT_$LINE"
9363 else
9364 no_cache=1
9365 fi
9366
9367 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9368
9369 fi;
9370
9371 eval "$ac_cv_use_dragimage"
9372 if test "$no_cache" != 1; then
9373 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9374 fi
9375
9376 if test "$wxUSE_DRAGIMAGE" = yes; then
9377 echo "$as_me:$LINENO: result: yes" >&5
9378 echo "${ECHO_T}yes" >&6
9379 else
9380 echo "$as_me:$LINENO: result: no" >&5
9381 echo "${ECHO_T}no" >&6
9382 fi
9383
9384
9385 enablestring=
9386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9387 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9388 no_cache=0
9389 # Check whether --enable-accessibility or --disable-accessibility was given.
9390 if test "${enable_accessibility+set}" = set; then
9391 enableval="$enable_accessibility"
9392
9393 if test "$enableval" = yes; then
9394 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9395 else
9396 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9397 fi
9398
9399 else
9400
9401 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9402 if test "x$LINE" != x ; then
9403 eval "DEFAULT_$LINE"
9404 else
9405 no_cache=1
9406 fi
9407
9408 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9409
9410 fi;
9411
9412 eval "$ac_cv_use_accessibility"
9413 if test "$no_cache" != 1; then
9414 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9415 fi
9416
9417 if test "$wxUSE_ACCESSIBILITY" = yes; then
9418 echo "$as_me:$LINENO: result: yes" >&5
9419 echo "${ECHO_T}yes" >&6
9420 else
9421 echo "$as_me:$LINENO: result: no" >&5
9422 echo "${ECHO_T}no" >&6
9423 fi
9424
9425
9426
9427
9428 enablestring=
9429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9430 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9431 no_cache=0
9432 # Check whether --enable-palette or --disable-palette was given.
9433 if test "${enable_palette+set}" = set; then
9434 enableval="$enable_palette"
9435
9436 if test "$enableval" = yes; then
9437 ac_cv_use_palette='wxUSE_PALETTE=yes'
9438 else
9439 ac_cv_use_palette='wxUSE_PALETTE=no'
9440 fi
9441
9442 else
9443
9444 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9445 if test "x$LINE" != x ; then
9446 eval "DEFAULT_$LINE"
9447 else
9448 no_cache=1
9449 fi
9450
9451 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9452
9453 fi;
9454
9455 eval "$ac_cv_use_palette"
9456 if test "$no_cache" != 1; then
9457 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9458 fi
9459
9460 if test "$wxUSE_PALETTE" = yes; then
9461 echo "$as_me:$LINENO: result: yes" >&5
9462 echo "${ECHO_T}yes" >&6
9463 else
9464 echo "$as_me:$LINENO: result: no" >&5
9465 echo "${ECHO_T}no" >&6
9466 fi
9467
9468
9469 enablestring=
9470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9471 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9472 no_cache=0
9473 # Check whether --enable-image or --disable-image was given.
9474 if test "${enable_image+set}" = set; then
9475 enableval="$enable_image"
9476
9477 if test "$enableval" = yes; then
9478 ac_cv_use_image='wxUSE_IMAGE=yes'
9479 else
9480 ac_cv_use_image='wxUSE_IMAGE=no'
9481 fi
9482
9483 else
9484
9485 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9486 if test "x$LINE" != x ; then
9487 eval "DEFAULT_$LINE"
9488 else
9489 no_cache=1
9490 fi
9491
9492 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9493
9494 fi;
9495
9496 eval "$ac_cv_use_image"
9497 if test "$no_cache" != 1; then
9498 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9499 fi
9500
9501 if test "$wxUSE_IMAGE" = yes; then
9502 echo "$as_me:$LINENO: result: yes" >&5
9503 echo "${ECHO_T}yes" >&6
9504 else
9505 echo "$as_me:$LINENO: result: no" >&5
9506 echo "${ECHO_T}no" >&6
9507 fi
9508
9509
9510 enablestring=
9511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9512 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9513 no_cache=0
9514 # Check whether --enable-gif or --disable-gif was given.
9515 if test "${enable_gif+set}" = set; then
9516 enableval="$enable_gif"
9517
9518 if test "$enableval" = yes; then
9519 ac_cv_use_gif='wxUSE_GIF=yes'
9520 else
9521 ac_cv_use_gif='wxUSE_GIF=no'
9522 fi
9523
9524 else
9525
9526 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9527 if test "x$LINE" != x ; then
9528 eval "DEFAULT_$LINE"
9529 else
9530 no_cache=1
9531 fi
9532
9533 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9534
9535 fi;
9536
9537 eval "$ac_cv_use_gif"
9538 if test "$no_cache" != 1; then
9539 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9540 fi
9541
9542 if test "$wxUSE_GIF" = yes; then
9543 echo "$as_me:$LINENO: result: yes" >&5
9544 echo "${ECHO_T}yes" >&6
9545 else
9546 echo "$as_me:$LINENO: result: no" >&5
9547 echo "${ECHO_T}no" >&6
9548 fi
9549
9550
9551 enablestring=
9552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9553 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9554 no_cache=0
9555 # Check whether --enable-pcx or --disable-pcx was given.
9556 if test "${enable_pcx+set}" = set; then
9557 enableval="$enable_pcx"
9558
9559 if test "$enableval" = yes; then
9560 ac_cv_use_pcx='wxUSE_PCX=yes'
9561 else
9562 ac_cv_use_pcx='wxUSE_PCX=no'
9563 fi
9564
9565 else
9566
9567 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9568 if test "x$LINE" != x ; then
9569 eval "DEFAULT_$LINE"
9570 else
9571 no_cache=1
9572 fi
9573
9574 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9575
9576 fi;
9577
9578 eval "$ac_cv_use_pcx"
9579 if test "$no_cache" != 1; then
9580 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9581 fi
9582
9583 if test "$wxUSE_PCX" = yes; then
9584 echo "$as_me:$LINENO: result: yes" >&5
9585 echo "${ECHO_T}yes" >&6
9586 else
9587 echo "$as_me:$LINENO: result: no" >&5
9588 echo "${ECHO_T}no" >&6
9589 fi
9590
9591
9592 enablestring=
9593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9594 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9595 no_cache=0
9596 # Check whether --enable-iff or --disable-iff was given.
9597 if test "${enable_iff+set}" = set; then
9598 enableval="$enable_iff"
9599
9600 if test "$enableval" = yes; then
9601 ac_cv_use_iff='wxUSE_IFF=yes'
9602 else
9603 ac_cv_use_iff='wxUSE_IFF=no'
9604 fi
9605
9606 else
9607
9608 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9609 if test "x$LINE" != x ; then
9610 eval "DEFAULT_$LINE"
9611 else
9612 no_cache=1
9613 fi
9614
9615 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9616
9617 fi;
9618
9619 eval "$ac_cv_use_iff"
9620 if test "$no_cache" != 1; then
9621 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9622 fi
9623
9624 if test "$wxUSE_IFF" = yes; then
9625 echo "$as_me:$LINENO: result: yes" >&5
9626 echo "${ECHO_T}yes" >&6
9627 else
9628 echo "$as_me:$LINENO: result: no" >&5
9629 echo "${ECHO_T}no" >&6
9630 fi
9631
9632
9633 enablestring=
9634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9635 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9636 no_cache=0
9637 # Check whether --enable-pnm or --disable-pnm was given.
9638 if test "${enable_pnm+set}" = set; then
9639 enableval="$enable_pnm"
9640
9641 if test "$enableval" = yes; then
9642 ac_cv_use_pnm='wxUSE_PNM=yes'
9643 else
9644 ac_cv_use_pnm='wxUSE_PNM=no'
9645 fi
9646
9647 else
9648
9649 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9650 if test "x$LINE" != x ; then
9651 eval "DEFAULT_$LINE"
9652 else
9653 no_cache=1
9654 fi
9655
9656 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9657
9658 fi;
9659
9660 eval "$ac_cv_use_pnm"
9661 if test "$no_cache" != 1; then
9662 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9663 fi
9664
9665 if test "$wxUSE_PNM" = yes; then
9666 echo "$as_me:$LINENO: result: yes" >&5
9667 echo "${ECHO_T}yes" >&6
9668 else
9669 echo "$as_me:$LINENO: result: no" >&5
9670 echo "${ECHO_T}no" >&6
9671 fi
9672
9673
9674 enablestring=
9675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9676 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9677 no_cache=0
9678 # Check whether --enable-xpm or --disable-xpm was given.
9679 if test "${enable_xpm+set}" = set; then
9680 enableval="$enable_xpm"
9681
9682 if test "$enableval" = yes; then
9683 ac_cv_use_xpm='wxUSE_XPM=yes'
9684 else
9685 ac_cv_use_xpm='wxUSE_XPM=no'
9686 fi
9687
9688 else
9689
9690 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9691 if test "x$LINE" != x ; then
9692 eval "DEFAULT_$LINE"
9693 else
9694 no_cache=1
9695 fi
9696
9697 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9698
9699 fi;
9700
9701 eval "$ac_cv_use_xpm"
9702 if test "$no_cache" != 1; then
9703 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9704 fi
9705
9706 if test "$wxUSE_XPM" = yes; then
9707 echo "$as_me:$LINENO: result: yes" >&5
9708 echo "${ECHO_T}yes" >&6
9709 else
9710 echo "$as_me:$LINENO: result: no" >&5
9711 echo "${ECHO_T}no" >&6
9712 fi
9713
9714
9715 enablestring=
9716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9717 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9718 no_cache=0
9719 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9720 if test "${enable_ico_cur+set}" = set; then
9721 enableval="$enable_ico_cur"
9722
9723 if test "$enableval" = yes; then
9724 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9725 else
9726 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9727 fi
9728
9729 else
9730
9731 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9732 if test "x$LINE" != x ; then
9733 eval "DEFAULT_$LINE"
9734 else
9735 no_cache=1
9736 fi
9737
9738 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9739
9740 fi;
9741
9742 eval "$ac_cv_use_ico_cur"
9743 if test "$no_cache" != 1; then
9744 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9745 fi
9746
9747 if test "$wxUSE_ICO_CUR" = yes; then
9748 echo "$as_me:$LINENO: result: yes" >&5
9749 echo "${ECHO_T}yes" >&6
9750 else
9751 echo "$as_me:$LINENO: result: no" >&5
9752 echo "${ECHO_T}no" >&6
9753 fi
9754
9755
9756 fi
9757
9758
9759
9760 enablestring=
9761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9762 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9763 no_cache=0
9764 # Check whether --enable-official_build or --disable-official_build was given.
9765 if test "${enable_official_build+set}" = set; then
9766 enableval="$enable_official_build"
9767
9768 if test "$enableval" = yes; then
9769 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9770 else
9771 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9772 fi
9773
9774 else
9775
9776 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9777 if test "x$LINE" != x ; then
9778 eval "DEFAULT_$LINE"
9779 else
9780 no_cache=1
9781 fi
9782
9783 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9784
9785 fi;
9786
9787 eval "$ac_cv_use_official_build"
9788 if test "$no_cache" != 1; then
9789 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9790 fi
9791
9792 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9793 echo "$as_me:$LINENO: result: yes" >&5
9794 echo "${ECHO_T}yes" >&6
9795 else
9796 echo "$as_me:$LINENO: result: no" >&5
9797 echo "${ECHO_T}no" >&6
9798 fi
9799
9800 # Check whether --enable-vendor or --disable-vendor was given.
9801 if test "${enable_vendor+set}" = set; then
9802 enableval="$enable_vendor"
9803 VENDOR="$enableval"
9804 fi;
9805 if test "x$VENDOR" = "x"; then
9806 VENDOR="custom"
9807 fi
9808
9809 case "${host}" in
9810 *-pc-os2_emx | *-pc-os2-emx )
9811 PATH_IFS=';'
9812 ;;
9813 *)
9814 PATH_IFS=':'
9815 ;;
9816 esac
9817
9818
9819
9820 echo "saving argument cache $wx_arg_cache_file"
9821 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9822
9823
9824
9825 echo "$as_me:$LINENO: checking for toolkit" >&5
9826 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9827
9828 # In Wine, we need to default to MSW, not GTK or MOTIF
9829 if test "$wxUSE_WINE" = "yes"; then
9830 DEFAULT_DEFAULT_wxUSE_GTK=0
9831 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9832 DEFAULT_DEFAULT_wxUSE_MSW=1
9833 wxUSE_SHARED=no
9834 fi
9835
9836 if test "$wxUSE_GUI" = "yes"; then
9837
9838 if test "$USE_BEOS" = 1; then
9839 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9840 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9841 { (exit 1); exit 1; }; }
9842 fi
9843
9844 if test "$TOOLKIT_GIVEN" = 1; then
9845 for toolkit in `echo $ALL_TOOLKITS`; do
9846 var=wxUSE_$toolkit
9847 eval "value=\$${var}"
9848 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9849 done
9850 else
9851 for toolkit in `echo $ALL_TOOLKITS`; do
9852 if test "$has_toolkit_in_cache" != 1; then
9853 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9854 else
9855 var=DEFAULT_wxUSE_$toolkit
9856 fi
9857 eval "wxUSE_$toolkit=\$${var}"
9858 done
9859 fi
9860
9861 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9862 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9863 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9864
9865 case "${host}" in
9866 *-pc-os2_emx | *-pc-os2-emx )
9867 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9868 esac
9869
9870 case "$NUM_TOOLKITS" in
9871 1)
9872 ;;
9873 0)
9874 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9875 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9876 { (exit 1); exit 1; }; }
9877 ;;
9878 *)
9879 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9880 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9881 { (exit 1); exit 1; }; }
9882 esac
9883
9884 for toolkit in `echo $ALL_TOOLKITS`; do
9885 var=wxUSE_$toolkit
9886 eval "value=\$${var}"
9887 if test "x$value" != x; then
9888 cache_var=CACHE_$toolkit
9889 eval "cache=\$${cache_var}"
9890 if test "$cache" = 1; then
9891 echo "$var=$value" >> ${wx_arg_cache_file}
9892 fi
9893 if test "$value" = 1; then
9894 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
9895 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9896 echo "${ECHO_T}$toolkit_echo" >&6
9897 fi
9898 fi
9899 done
9900 else
9901 if test "x$host_alias" != "x"; then
9902 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9903 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9904 else
9905 echo "$as_me:$LINENO: result: base only" >&5
9906 echo "${ECHO_T}base only" >&6
9907 fi
9908 fi
9909
9910 wants_win32=0
9911 doesnt_want_win32=0
9912 case "${host}" in
9913 *-*-cygwin*)
9914 if test "$wxUSE_MSW" = 1 ; then
9915 wants_win32=1
9916 else
9917 doesnt_want_win32=1
9918 fi
9919 ;;
9920 *-*-mingw*)
9921 wants_win32=1
9922 ;;
9923 esac
9924
9925 if test "$wxUSE_WINE" = "yes"; then
9926 wants_win32=1
9927 CC=winegcc
9928 CXX=wineg++
9929 RESCOMP=wrc
9930 LDFLAGS_GUI="-mwindows"
9931 fi
9932
9933 if test "$wants_win32" = 1 ; then
9934 USE_UNIX=0
9935 USE_WIN32=1
9936 cat >>confdefs.h <<\_ACEOF
9937 #define __WIN32__ 1
9938 _ACEOF
9939
9940 cat >>confdefs.h <<\_ACEOF
9941 #define __WIN95__ 1
9942 _ACEOF
9943
9944 cat >>confdefs.h <<\_ACEOF
9945 #define __WINDOWS__ 1
9946 _ACEOF
9947
9948 cat >>confdefs.h <<\_ACEOF
9949 #define __GNUWIN32__ 1
9950 _ACEOF
9951
9952 cat >>confdefs.h <<\_ACEOF
9953 #define STRICT 1
9954 _ACEOF
9955
9956 cat >>confdefs.h <<\_ACEOF
9957 #define WINVER 0x0400
9958 _ACEOF
9959
9960 fi
9961 if test "$doesnt_want_win32" = 1 ; then
9962 USE_UNIX=1
9963 USE_WIN32=0
9964 fi
9965
9966 if test "$USE_UNIX" = 1 ; then
9967 wxUSE_UNIX=yes
9968 cat >>confdefs.h <<\_ACEOF
9969 #define __UNIX__ 1
9970 _ACEOF
9971
9972 fi
9973
9974
9975 cat >confcache <<\_ACEOF
9976 # This file is a shell script that caches the results of configure
9977 # tests run on this system so they can be shared between configure
9978 # scripts and configure runs, see configure's option --config-cache.
9979 # It is not useful on other systems. If it contains results you don't
9980 # want to keep, you may remove or edit it.
9981 #
9982 # config.status only pays attention to the cache file if you give it
9983 # the --recheck option to rerun configure.
9984 #
9985 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9986 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9987 # following values.
9988
9989 _ACEOF
9990
9991 # The following way of writing the cache mishandles newlines in values,
9992 # but we know of no workaround that is simple, portable, and efficient.
9993 # So, don't put newlines in cache variables' values.
9994 # Ultrix sh set writes to stderr and can't be redirected directly,
9995 # and sets the high bit in the cache file unless we assign to the vars.
9996 {
9997 (set) 2>&1 |
9998 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9999 *ac_space=\ *)
10000 # `set' does not quote correctly, so add quotes (double-quote
10001 # substitution turns \\\\ into \\, and sed turns \\ into \).
10002 sed -n \
10003 "s/'/'\\\\''/g;
10004 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10005 ;;
10006 *)
10007 # `set' quotes correctly as required by POSIX, so do not add quotes.
10008 sed -n \
10009 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10010 ;;
10011 esac;
10012 } |
10013 sed '
10014 t clear
10015 : clear
10016 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10017 t end
10018 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10019 : end' >>confcache
10020 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10021 if test -w $cache_file; then
10022 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10023 cat confcache >$cache_file
10024 else
10025 echo "not updating unwritable cache $cache_file"
10026 fi
10027 fi
10028 rm -f confcache
10029
10030 if test "$build" != "$host" ; then
10031 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10032 CC=$host_alias-gcc
10033 CXX=$host_alias-c++
10034 AR=$host_alias-ar
10035 RANLIB=$host_alias-ranlib
10036 DLLTOOL=$host_alias-dlltool
10037 RESCOMP=$host_alias-windres
10038 LD=$host_alias-ld
10039 NM=$host_alias-nm
10040 STRIP=$host_alias-strip
10041 else
10042 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10043 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10044 { (exit 1); exit 1; }; }
10045 fi
10046 fi
10047
10048 CFLAGS=${CFLAGS:=}
10049 ac_ext=c
10050 ac_cpp='$CPP $CPPFLAGS'
10051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10054 if test -n "$ac_tool_prefix"; then
10055 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10056 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10057 echo "$as_me:$LINENO: checking for $ac_word" >&5
10058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10059 if test "${ac_cv_prog_CC+set}" = set; then
10060 echo $ECHO_N "(cached) $ECHO_C" >&6
10061 else
10062 if test -n "$CC"; then
10063 ac_cv_prog_CC="$CC" # Let the user override the test.
10064 else
10065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10066 for as_dir in $PATH
10067 do
10068 IFS=$as_save_IFS
10069 test -z "$as_dir" && as_dir=.
10070 for ac_exec_ext in '' $ac_executable_extensions; do
10071 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10072 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10074 break 2
10075 fi
10076 done
10077 done
10078
10079 fi
10080 fi
10081 CC=$ac_cv_prog_CC
10082 if test -n "$CC"; then
10083 echo "$as_me:$LINENO: result: $CC" >&5
10084 echo "${ECHO_T}$CC" >&6
10085 else
10086 echo "$as_me:$LINENO: result: no" >&5
10087 echo "${ECHO_T}no" >&6
10088 fi
10089
10090 fi
10091 if test -z "$ac_cv_prog_CC"; then
10092 ac_ct_CC=$CC
10093 # Extract the first word of "gcc", so it can be a program name with args.
10094 set dummy gcc; ac_word=$2
10095 echo "$as_me:$LINENO: checking for $ac_word" >&5
10096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10097 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10098 echo $ECHO_N "(cached) $ECHO_C" >&6
10099 else
10100 if test -n "$ac_ct_CC"; then
10101 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10102 else
10103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10104 for as_dir in $PATH
10105 do
10106 IFS=$as_save_IFS
10107 test -z "$as_dir" && as_dir=.
10108 for ac_exec_ext in '' $ac_executable_extensions; do
10109 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10110 ac_cv_prog_ac_ct_CC="gcc"
10111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10112 break 2
10113 fi
10114 done
10115 done
10116
10117 fi
10118 fi
10119 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10120 if test -n "$ac_ct_CC"; then
10121 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10122 echo "${ECHO_T}$ac_ct_CC" >&6
10123 else
10124 echo "$as_me:$LINENO: result: no" >&5
10125 echo "${ECHO_T}no" >&6
10126 fi
10127
10128 CC=$ac_ct_CC
10129 else
10130 CC="$ac_cv_prog_CC"
10131 fi
10132
10133 if test -z "$CC"; then
10134 if test -n "$ac_tool_prefix"; then
10135 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10136 set dummy ${ac_tool_prefix}cc; ac_word=$2
10137 echo "$as_me:$LINENO: checking for $ac_word" >&5
10138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10139 if test "${ac_cv_prog_CC+set}" = set; then
10140 echo $ECHO_N "(cached) $ECHO_C" >&6
10141 else
10142 if test -n "$CC"; then
10143 ac_cv_prog_CC="$CC" # Let the user override the test.
10144 else
10145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10146 for as_dir in $PATH
10147 do
10148 IFS=$as_save_IFS
10149 test -z "$as_dir" && as_dir=.
10150 for ac_exec_ext in '' $ac_executable_extensions; do
10151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10152 ac_cv_prog_CC="${ac_tool_prefix}cc"
10153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10154 break 2
10155 fi
10156 done
10157 done
10158
10159 fi
10160 fi
10161 CC=$ac_cv_prog_CC
10162 if test -n "$CC"; then
10163 echo "$as_me:$LINENO: result: $CC" >&5
10164 echo "${ECHO_T}$CC" >&6
10165 else
10166 echo "$as_me:$LINENO: result: no" >&5
10167 echo "${ECHO_T}no" >&6
10168 fi
10169
10170 fi
10171 if test -z "$ac_cv_prog_CC"; then
10172 ac_ct_CC=$CC
10173 # Extract the first word of "cc", so it can be a program name with args.
10174 set dummy cc; ac_word=$2
10175 echo "$as_me:$LINENO: checking for $ac_word" >&5
10176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10177 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10178 echo $ECHO_N "(cached) $ECHO_C" >&6
10179 else
10180 if test -n "$ac_ct_CC"; then
10181 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10182 else
10183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10184 for as_dir in $PATH
10185 do
10186 IFS=$as_save_IFS
10187 test -z "$as_dir" && as_dir=.
10188 for ac_exec_ext in '' $ac_executable_extensions; do
10189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10190 ac_cv_prog_ac_ct_CC="cc"
10191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10192 break 2
10193 fi
10194 done
10195 done
10196
10197 fi
10198 fi
10199 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10200 if test -n "$ac_ct_CC"; then
10201 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10202 echo "${ECHO_T}$ac_ct_CC" >&6
10203 else
10204 echo "$as_me:$LINENO: result: no" >&5
10205 echo "${ECHO_T}no" >&6
10206 fi
10207
10208 CC=$ac_ct_CC
10209 else
10210 CC="$ac_cv_prog_CC"
10211 fi
10212
10213 fi
10214 if test -z "$CC"; then
10215 # Extract the first word of "cc", so it can be a program name with args.
10216 set dummy cc; ac_word=$2
10217 echo "$as_me:$LINENO: checking for $ac_word" >&5
10218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10219 if test "${ac_cv_prog_CC+set}" = set; then
10220 echo $ECHO_N "(cached) $ECHO_C" >&6
10221 else
10222 if test -n "$CC"; then
10223 ac_cv_prog_CC="$CC" # Let the user override the test.
10224 else
10225 ac_prog_rejected=no
10226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10227 for as_dir in $PATH
10228 do
10229 IFS=$as_save_IFS
10230 test -z "$as_dir" && as_dir=.
10231 for ac_exec_ext in '' $ac_executable_extensions; do
10232 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10233 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10234 ac_prog_rejected=yes
10235 continue
10236 fi
10237 ac_cv_prog_CC="cc"
10238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10239 break 2
10240 fi
10241 done
10242 done
10243
10244 if test $ac_prog_rejected = yes; then
10245 # We found a bogon in the path, so make sure we never use it.
10246 set dummy $ac_cv_prog_CC
10247 shift
10248 if test $# != 0; then
10249 # We chose a different compiler from the bogus one.
10250 # However, it has the same basename, so the bogon will be chosen
10251 # first if we set CC to just the basename; use the full file name.
10252 shift
10253 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10254 fi
10255 fi
10256 fi
10257 fi
10258 CC=$ac_cv_prog_CC
10259 if test -n "$CC"; then
10260 echo "$as_me:$LINENO: result: $CC" >&5
10261 echo "${ECHO_T}$CC" >&6
10262 else
10263 echo "$as_me:$LINENO: result: no" >&5
10264 echo "${ECHO_T}no" >&6
10265 fi
10266
10267 fi
10268 if test -z "$CC"; then
10269 if test -n "$ac_tool_prefix"; then
10270 for ac_prog in cl
10271 do
10272 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10273 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10274 echo "$as_me:$LINENO: checking for $ac_word" >&5
10275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10276 if test "${ac_cv_prog_CC+set}" = set; then
10277 echo $ECHO_N "(cached) $ECHO_C" >&6
10278 else
10279 if test -n "$CC"; then
10280 ac_cv_prog_CC="$CC" # Let the user override the test.
10281 else
10282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10283 for as_dir in $PATH
10284 do
10285 IFS=$as_save_IFS
10286 test -z "$as_dir" && as_dir=.
10287 for ac_exec_ext in '' $ac_executable_extensions; do
10288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10289 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10291 break 2
10292 fi
10293 done
10294 done
10295
10296 fi
10297 fi
10298 CC=$ac_cv_prog_CC
10299 if test -n "$CC"; then
10300 echo "$as_me:$LINENO: result: $CC" >&5
10301 echo "${ECHO_T}$CC" >&6
10302 else
10303 echo "$as_me:$LINENO: result: no" >&5
10304 echo "${ECHO_T}no" >&6
10305 fi
10306
10307 test -n "$CC" && break
10308 done
10309 fi
10310 if test -z "$CC"; then
10311 ac_ct_CC=$CC
10312 for ac_prog in cl
10313 do
10314 # Extract the first word of "$ac_prog", so it can be a program name with args.
10315 set dummy $ac_prog; ac_word=$2
10316 echo "$as_me:$LINENO: checking for $ac_word" >&5
10317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10318 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10319 echo $ECHO_N "(cached) $ECHO_C" >&6
10320 else
10321 if test -n "$ac_ct_CC"; then
10322 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10323 else
10324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10325 for as_dir in $PATH
10326 do
10327 IFS=$as_save_IFS
10328 test -z "$as_dir" && as_dir=.
10329 for ac_exec_ext in '' $ac_executable_extensions; do
10330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10331 ac_cv_prog_ac_ct_CC="$ac_prog"
10332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10333 break 2
10334 fi
10335 done
10336 done
10337
10338 fi
10339 fi
10340 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10341 if test -n "$ac_ct_CC"; then
10342 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10343 echo "${ECHO_T}$ac_ct_CC" >&6
10344 else
10345 echo "$as_me:$LINENO: result: no" >&5
10346 echo "${ECHO_T}no" >&6
10347 fi
10348
10349 test -n "$ac_ct_CC" && break
10350 done
10351
10352 CC=$ac_ct_CC
10353 fi
10354
10355 fi
10356
10357
10358 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10359 See \`config.log' for more details." >&5
10360 echo "$as_me: error: no acceptable C compiler found in \$PATH
10361 See \`config.log' for more details." >&2;}
10362 { (exit 1); exit 1; }; }
10363
10364 # Provide some information about the compiler.
10365 echo "$as_me:$LINENO:" \
10366 "checking for C compiler version" >&5
10367 ac_compiler=`set X $ac_compile; echo $2`
10368 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10369 (eval $ac_compiler --version </dev/null >&5) 2>&5
10370 ac_status=$?
10371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10372 (exit $ac_status); }
10373 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10374 (eval $ac_compiler -v </dev/null >&5) 2>&5
10375 ac_status=$?
10376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10377 (exit $ac_status); }
10378 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10379 (eval $ac_compiler -V </dev/null >&5) 2>&5
10380 ac_status=$?
10381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10382 (exit $ac_status); }
10383
10384 cat >conftest.$ac_ext <<_ACEOF
10385 /* confdefs.h. */
10386 _ACEOF
10387 cat confdefs.h >>conftest.$ac_ext
10388 cat >>conftest.$ac_ext <<_ACEOF
10389 /* end confdefs.h. */
10390
10391 int
10392 main ()
10393 {
10394
10395 ;
10396 return 0;
10397 }
10398 _ACEOF
10399 ac_clean_files_save=$ac_clean_files
10400 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10401 # Try to create an executable without -o first, disregard a.out.
10402 # It will help us diagnose broken compilers, and finding out an intuition
10403 # of exeext.
10404 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10405 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10406 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10407 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10408 (eval $ac_link_default) 2>&5
10409 ac_status=$?
10410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10411 (exit $ac_status); }; then
10412 # Find the output, starting from the most likely. This scheme is
10413 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10414 # resort.
10415
10416 # Be careful to initialize this variable, since it used to be cached.
10417 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10418 ac_cv_exeext=
10419 # b.out is created by i960 compilers.
10420 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10421 do
10422 test -f "$ac_file" || continue
10423 case $ac_file in
10424 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10425 ;;
10426 conftest.$ac_ext )
10427 # This is the source file.
10428 ;;
10429 [ab].out )
10430 # We found the default executable, but exeext='' is most
10431 # certainly right.
10432 break;;
10433 *.* )
10434 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10435 # FIXME: I believe we export ac_cv_exeext for Libtool,
10436 # but it would be cool to find out if it's true. Does anybody
10437 # maintain Libtool? --akim.
10438 export ac_cv_exeext
10439 break;;
10440 * )
10441 break;;
10442 esac
10443 done
10444 else
10445 echo "$as_me: failed program was:" >&5
10446 sed 's/^/| /' conftest.$ac_ext >&5
10447
10448 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10449 See \`config.log' for more details." >&5
10450 echo "$as_me: error: C compiler cannot create executables
10451 See \`config.log' for more details." >&2;}
10452 { (exit 77); exit 77; }; }
10453 fi
10454
10455 ac_exeext=$ac_cv_exeext
10456 echo "$as_me:$LINENO: result: $ac_file" >&5
10457 echo "${ECHO_T}$ac_file" >&6
10458
10459 # Check the compiler produces executables we can run. If not, either
10460 # the compiler is broken, or we cross compile.
10461 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10462 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10463 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10464 # If not cross compiling, check that we can run a simple program.
10465 if test "$cross_compiling" != yes; then
10466 if { ac_try='./$ac_file'
10467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10468 (eval $ac_try) 2>&5
10469 ac_status=$?
10470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10471 (exit $ac_status); }; }; then
10472 cross_compiling=no
10473 else
10474 if test "$cross_compiling" = maybe; then
10475 cross_compiling=yes
10476 else
10477 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10478 If you meant to cross compile, use \`--host'.
10479 See \`config.log' for more details." >&5
10480 echo "$as_me: error: cannot run C compiled programs.
10481 If you meant to cross compile, use \`--host'.
10482 See \`config.log' for more details." >&2;}
10483 { (exit 1); exit 1; }; }
10484 fi
10485 fi
10486 fi
10487 echo "$as_me:$LINENO: result: yes" >&5
10488 echo "${ECHO_T}yes" >&6
10489
10490 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10491 ac_clean_files=$ac_clean_files_save
10492 # Check the compiler produces executables we can run. If not, either
10493 # the compiler is broken, or we cross compile.
10494 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10495 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10496 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10497 echo "${ECHO_T}$cross_compiling" >&6
10498
10499 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10500 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10502 (eval $ac_link) 2>&5
10503 ac_status=$?
10504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10505 (exit $ac_status); }; then
10506 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10507 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10508 # work properly (i.e., refer to `conftest.exe'), while it won't with
10509 # `rm'.
10510 for ac_file in conftest.exe conftest conftest.*; do
10511 test -f "$ac_file" || continue
10512 case $ac_file in
10513 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10514 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10515 export ac_cv_exeext
10516 break;;
10517 * ) break;;
10518 esac
10519 done
10520 else
10521 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10522 See \`config.log' for more details." >&5
10523 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10524 See \`config.log' for more details." >&2;}
10525 { (exit 1); exit 1; }; }
10526 fi
10527
10528 rm -f conftest$ac_cv_exeext
10529 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10530 echo "${ECHO_T}$ac_cv_exeext" >&6
10531
10532 rm -f conftest.$ac_ext
10533 EXEEXT=$ac_cv_exeext
10534 ac_exeext=$EXEEXT
10535 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10536 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10537 if test "${ac_cv_objext+set}" = set; then
10538 echo $ECHO_N "(cached) $ECHO_C" >&6
10539 else
10540 cat >conftest.$ac_ext <<_ACEOF
10541 /* confdefs.h. */
10542 _ACEOF
10543 cat confdefs.h >>conftest.$ac_ext
10544 cat >>conftest.$ac_ext <<_ACEOF
10545 /* end confdefs.h. */
10546
10547 int
10548 main ()
10549 {
10550
10551 ;
10552 return 0;
10553 }
10554 _ACEOF
10555 rm -f conftest.o conftest.obj
10556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10557 (eval $ac_compile) 2>&5
10558 ac_status=$?
10559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10560 (exit $ac_status); }; then
10561 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10562 case $ac_file in
10563 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10564 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10565 break;;
10566 esac
10567 done
10568 else
10569 echo "$as_me: failed program was:" >&5
10570 sed 's/^/| /' conftest.$ac_ext >&5
10571
10572 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10573 See \`config.log' for more details." >&5
10574 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10575 See \`config.log' for more details." >&2;}
10576 { (exit 1); exit 1; }; }
10577 fi
10578
10579 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10580 fi
10581 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10582 echo "${ECHO_T}$ac_cv_objext" >&6
10583 OBJEXT=$ac_cv_objext
10584 ac_objext=$OBJEXT
10585 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10586 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10587 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10588 echo $ECHO_N "(cached) $ECHO_C" >&6
10589 else
10590 cat >conftest.$ac_ext <<_ACEOF
10591 /* confdefs.h. */
10592 _ACEOF
10593 cat confdefs.h >>conftest.$ac_ext
10594 cat >>conftest.$ac_ext <<_ACEOF
10595 /* end confdefs.h. */
10596
10597 int
10598 main ()
10599 {
10600 #ifndef __GNUC__
10601 choke me
10602 #endif
10603
10604 ;
10605 return 0;
10606 }
10607 _ACEOF
10608 rm -f conftest.$ac_objext
10609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10610 (eval $ac_compile) 2>conftest.er1
10611 ac_status=$?
10612 grep -v '^ *+' conftest.er1 >conftest.err
10613 rm -f conftest.er1
10614 cat conftest.err >&5
10615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10616 (exit $ac_status); } &&
10617 { ac_try='test -z "$ac_c_werror_flag"
10618 || test ! -s conftest.err'
10619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10620 (eval $ac_try) 2>&5
10621 ac_status=$?
10622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10623 (exit $ac_status); }; } &&
10624 { ac_try='test -s conftest.$ac_objext'
10625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10626 (eval $ac_try) 2>&5
10627 ac_status=$?
10628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10629 (exit $ac_status); }; }; then
10630 ac_compiler_gnu=yes
10631 else
10632 echo "$as_me: failed program was:" >&5
10633 sed 's/^/| /' conftest.$ac_ext >&5
10634
10635 ac_compiler_gnu=no
10636 fi
10637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10638 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10639
10640 fi
10641 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10642 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10643 GCC=`test $ac_compiler_gnu = yes && echo yes`
10644 ac_test_CFLAGS=${CFLAGS+set}
10645 ac_save_CFLAGS=$CFLAGS
10646 CFLAGS="-g"
10647 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10648 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10649 if test "${ac_cv_prog_cc_g+set}" = set; then
10650 echo $ECHO_N "(cached) $ECHO_C" >&6
10651 else
10652 cat >conftest.$ac_ext <<_ACEOF
10653 /* confdefs.h. */
10654 _ACEOF
10655 cat confdefs.h >>conftest.$ac_ext
10656 cat >>conftest.$ac_ext <<_ACEOF
10657 /* end confdefs.h. */
10658
10659 int
10660 main ()
10661 {
10662
10663 ;
10664 return 0;
10665 }
10666 _ACEOF
10667 rm -f conftest.$ac_objext
10668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10669 (eval $ac_compile) 2>conftest.er1
10670 ac_status=$?
10671 grep -v '^ *+' conftest.er1 >conftest.err
10672 rm -f conftest.er1
10673 cat conftest.err >&5
10674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10675 (exit $ac_status); } &&
10676 { ac_try='test -z "$ac_c_werror_flag"
10677 || test ! -s conftest.err'
10678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10679 (eval $ac_try) 2>&5
10680 ac_status=$?
10681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10682 (exit $ac_status); }; } &&
10683 { ac_try='test -s conftest.$ac_objext'
10684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10685 (eval $ac_try) 2>&5
10686 ac_status=$?
10687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10688 (exit $ac_status); }; }; then
10689 ac_cv_prog_cc_g=yes
10690 else
10691 echo "$as_me: failed program was:" >&5
10692 sed 's/^/| /' conftest.$ac_ext >&5
10693
10694 ac_cv_prog_cc_g=no
10695 fi
10696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10697 fi
10698 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10699 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10700 if test "$ac_test_CFLAGS" = set; then
10701 CFLAGS=$ac_save_CFLAGS
10702 elif test $ac_cv_prog_cc_g = yes; then
10703 if test "$GCC" = yes; then
10704 CFLAGS="-g -O2"
10705 else
10706 CFLAGS="-g"
10707 fi
10708 else
10709 if test "$GCC" = yes; then
10710 CFLAGS="-O2"
10711 else
10712 CFLAGS=
10713 fi
10714 fi
10715 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10716 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10717 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10718 echo $ECHO_N "(cached) $ECHO_C" >&6
10719 else
10720 ac_cv_prog_cc_stdc=no
10721 ac_save_CC=$CC
10722 cat >conftest.$ac_ext <<_ACEOF
10723 /* confdefs.h. */
10724 _ACEOF
10725 cat confdefs.h >>conftest.$ac_ext
10726 cat >>conftest.$ac_ext <<_ACEOF
10727 /* end confdefs.h. */
10728 #include <stdarg.h>
10729 #include <stdio.h>
10730 #include <sys/types.h>
10731 #include <sys/stat.h>
10732 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10733 struct buf { int x; };
10734 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10735 static char *e (p, i)
10736 char **p;
10737 int i;
10738 {
10739 return p[i];
10740 }
10741 static char *f (char * (*g) (char **, int), char **p, ...)
10742 {
10743 char *s;
10744 va_list v;
10745 va_start (v,p);
10746 s = g (p, va_arg (v,int));
10747 va_end (v);
10748 return s;
10749 }
10750
10751 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10752 function prototypes and stuff, but not '\xHH' hex character constants.
10753 These don't provoke an error unfortunately, instead are silently treated
10754 as 'x'. The following induces an error, until -std1 is added to get
10755 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10756 array size at least. It's necessary to write '\x00'==0 to get something
10757 that's true only with -std1. */
10758 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10759
10760 int test (int i, double x);
10761 struct s1 {int (*f) (int a);};
10762 struct s2 {int (*f) (double a);};
10763 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10764 int argc;
10765 char **argv;
10766 int
10767 main ()
10768 {
10769 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10770 ;
10771 return 0;
10772 }
10773 _ACEOF
10774 # Don't try gcc -ansi; that turns off useful extensions and
10775 # breaks some systems' header files.
10776 # AIX -qlanglvl=ansi
10777 # Ultrix and OSF/1 -std1
10778 # HP-UX 10.20 and later -Ae
10779 # HP-UX older versions -Aa -D_HPUX_SOURCE
10780 # SVR4 -Xc -D__EXTENSIONS__
10781 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10782 do
10783 CC="$ac_save_CC $ac_arg"
10784 rm -f conftest.$ac_objext
10785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10786 (eval $ac_compile) 2>conftest.er1
10787 ac_status=$?
10788 grep -v '^ *+' conftest.er1 >conftest.err
10789 rm -f conftest.er1
10790 cat conftest.err >&5
10791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10792 (exit $ac_status); } &&
10793 { ac_try='test -z "$ac_c_werror_flag"
10794 || test ! -s conftest.err'
10795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10796 (eval $ac_try) 2>&5
10797 ac_status=$?
10798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10799 (exit $ac_status); }; } &&
10800 { ac_try='test -s conftest.$ac_objext'
10801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10802 (eval $ac_try) 2>&5
10803 ac_status=$?
10804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10805 (exit $ac_status); }; }; then
10806 ac_cv_prog_cc_stdc=$ac_arg
10807 break
10808 else
10809 echo "$as_me: failed program was:" >&5
10810 sed 's/^/| /' conftest.$ac_ext >&5
10811
10812 fi
10813 rm -f conftest.err conftest.$ac_objext
10814 done
10815 rm -f conftest.$ac_ext conftest.$ac_objext
10816 CC=$ac_save_CC
10817
10818 fi
10819
10820 case "x$ac_cv_prog_cc_stdc" in
10821 x|xno)
10822 echo "$as_me:$LINENO: result: none needed" >&5
10823 echo "${ECHO_T}none needed" >&6 ;;
10824 *)
10825 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10826 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10827 CC="$CC $ac_cv_prog_cc_stdc" ;;
10828 esac
10829
10830 # Some people use a C++ compiler to compile C. Since we use `exit',
10831 # in C++ we need to declare it. In case someone uses the same compiler
10832 # for both compiling C and C++ we need to have the C++ compiler decide
10833 # the declaration of exit, since it's the most demanding environment.
10834 cat >conftest.$ac_ext <<_ACEOF
10835 #ifndef __cplusplus
10836 choke me
10837 #endif
10838 _ACEOF
10839 rm -f conftest.$ac_objext
10840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10841 (eval $ac_compile) 2>conftest.er1
10842 ac_status=$?
10843 grep -v '^ *+' conftest.er1 >conftest.err
10844 rm -f conftest.er1
10845 cat conftest.err >&5
10846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10847 (exit $ac_status); } &&
10848 { ac_try='test -z "$ac_c_werror_flag"
10849 || test ! -s conftest.err'
10850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10851 (eval $ac_try) 2>&5
10852 ac_status=$?
10853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10854 (exit $ac_status); }; } &&
10855 { ac_try='test -s conftest.$ac_objext'
10856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10857 (eval $ac_try) 2>&5
10858 ac_status=$?
10859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10860 (exit $ac_status); }; }; then
10861 for ac_declaration in \
10862 '' \
10863 'extern "C" void std::exit (int) throw (); using std::exit;' \
10864 'extern "C" void std::exit (int); using std::exit;' \
10865 'extern "C" void exit (int) throw ();' \
10866 'extern "C" void exit (int);' \
10867 'void exit (int);'
10868 do
10869 cat >conftest.$ac_ext <<_ACEOF
10870 /* confdefs.h. */
10871 _ACEOF
10872 cat confdefs.h >>conftest.$ac_ext
10873 cat >>conftest.$ac_ext <<_ACEOF
10874 /* end confdefs.h. */
10875 $ac_declaration
10876 #include <stdlib.h>
10877 int
10878 main ()
10879 {
10880 exit (42);
10881 ;
10882 return 0;
10883 }
10884 _ACEOF
10885 rm -f conftest.$ac_objext
10886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10887 (eval $ac_compile) 2>conftest.er1
10888 ac_status=$?
10889 grep -v '^ *+' conftest.er1 >conftest.err
10890 rm -f conftest.er1
10891 cat conftest.err >&5
10892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10893 (exit $ac_status); } &&
10894 { ac_try='test -z "$ac_c_werror_flag"
10895 || test ! -s conftest.err'
10896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10897 (eval $ac_try) 2>&5
10898 ac_status=$?
10899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10900 (exit $ac_status); }; } &&
10901 { ac_try='test -s conftest.$ac_objext'
10902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10903 (eval $ac_try) 2>&5
10904 ac_status=$?
10905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10906 (exit $ac_status); }; }; then
10907 :
10908 else
10909 echo "$as_me: failed program was:" >&5
10910 sed 's/^/| /' conftest.$ac_ext >&5
10911
10912 continue
10913 fi
10914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10915 cat >conftest.$ac_ext <<_ACEOF
10916 /* confdefs.h. */
10917 _ACEOF
10918 cat confdefs.h >>conftest.$ac_ext
10919 cat >>conftest.$ac_ext <<_ACEOF
10920 /* end confdefs.h. */
10921 $ac_declaration
10922 int
10923 main ()
10924 {
10925 exit (42);
10926 ;
10927 return 0;
10928 }
10929 _ACEOF
10930 rm -f conftest.$ac_objext
10931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10932 (eval $ac_compile) 2>conftest.er1
10933 ac_status=$?
10934 grep -v '^ *+' conftest.er1 >conftest.err
10935 rm -f conftest.er1
10936 cat conftest.err >&5
10937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10938 (exit $ac_status); } &&
10939 { ac_try='test -z "$ac_c_werror_flag"
10940 || test ! -s conftest.err'
10941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10942 (eval $ac_try) 2>&5
10943 ac_status=$?
10944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10945 (exit $ac_status); }; } &&
10946 { ac_try='test -s conftest.$ac_objext'
10947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10948 (eval $ac_try) 2>&5
10949 ac_status=$?
10950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10951 (exit $ac_status); }; }; then
10952 break
10953 else
10954 echo "$as_me: failed program was:" >&5
10955 sed 's/^/| /' conftest.$ac_ext >&5
10956
10957 fi
10958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10959 done
10960 rm -f conftest*
10961 if test -n "$ac_declaration"; then
10962 echo '#ifdef __cplusplus' >>confdefs.h
10963 echo $ac_declaration >>confdefs.h
10964 echo '#endif' >>confdefs.h
10965 fi
10966
10967 else
10968 echo "$as_me: failed program was:" >&5
10969 sed 's/^/| /' conftest.$ac_ext >&5
10970
10971 fi
10972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10973 ac_ext=c
10974 ac_cpp='$CPP $CPPFLAGS'
10975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10978
10979
10980
10981 ac_ext=c
10982 ac_cpp='$CPP $CPPFLAGS'
10983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10986 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10987 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10988 # On Suns, sometimes $CPP names a directory.
10989 if test -n "$CPP" && test -d "$CPP"; then
10990 CPP=
10991 fi
10992 if test -z "$CPP"; then
10993 if test "${ac_cv_prog_CPP+set}" = set; then
10994 echo $ECHO_N "(cached) $ECHO_C" >&6
10995 else
10996 # Double quotes because CPP needs to be expanded
10997 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10998 do
10999 ac_preproc_ok=false
11000 for ac_c_preproc_warn_flag in '' yes
11001 do
11002 # Use a header file that comes with gcc, so configuring glibc
11003 # with a fresh cross-compiler works.
11004 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11005 # <limits.h> exists even on freestanding compilers.
11006 # On the NeXT, cc -E runs the code through the compiler's parser,
11007 # not just through cpp. "Syntax error" is here to catch this case.
11008 cat >conftest.$ac_ext <<_ACEOF
11009 /* confdefs.h. */
11010 _ACEOF
11011 cat confdefs.h >>conftest.$ac_ext
11012 cat >>conftest.$ac_ext <<_ACEOF
11013 /* end confdefs.h. */
11014 #ifdef __STDC__
11015 # include <limits.h>
11016 #else
11017 # include <assert.h>
11018 #endif
11019 Syntax error
11020 _ACEOF
11021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11022 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11023 ac_status=$?
11024 grep -v '^ *+' conftest.er1 >conftest.err
11025 rm -f conftest.er1
11026 cat conftest.err >&5
11027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11028 (exit $ac_status); } >/dev/null; then
11029 if test -s conftest.err; then
11030 ac_cpp_err=$ac_c_preproc_warn_flag
11031 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11032 else
11033 ac_cpp_err=
11034 fi
11035 else
11036 ac_cpp_err=yes
11037 fi
11038 if test -z "$ac_cpp_err"; then
11039 :
11040 else
11041 echo "$as_me: failed program was:" >&5
11042 sed 's/^/| /' conftest.$ac_ext >&5
11043
11044 # Broken: fails on valid input.
11045 continue
11046 fi
11047 rm -f conftest.err conftest.$ac_ext
11048
11049 # OK, works on sane cases. Now check whether non-existent headers
11050 # can be detected and how.
11051 cat >conftest.$ac_ext <<_ACEOF
11052 /* confdefs.h. */
11053 _ACEOF
11054 cat confdefs.h >>conftest.$ac_ext
11055 cat >>conftest.$ac_ext <<_ACEOF
11056 /* end confdefs.h. */
11057 #include <ac_nonexistent.h>
11058 _ACEOF
11059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11060 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11061 ac_status=$?
11062 grep -v '^ *+' conftest.er1 >conftest.err
11063 rm -f conftest.er1
11064 cat conftest.err >&5
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); } >/dev/null; then
11067 if test -s conftest.err; then
11068 ac_cpp_err=$ac_c_preproc_warn_flag
11069 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11070 else
11071 ac_cpp_err=
11072 fi
11073 else
11074 ac_cpp_err=yes
11075 fi
11076 if test -z "$ac_cpp_err"; then
11077 # Broken: success on invalid input.
11078 continue
11079 else
11080 echo "$as_me: failed program was:" >&5
11081 sed 's/^/| /' conftest.$ac_ext >&5
11082
11083 # Passes both tests.
11084 ac_preproc_ok=:
11085 break
11086 fi
11087 rm -f conftest.err conftest.$ac_ext
11088
11089 done
11090 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11091 rm -f conftest.err conftest.$ac_ext
11092 if $ac_preproc_ok; then
11093 break
11094 fi
11095
11096 done
11097 ac_cv_prog_CPP=$CPP
11098
11099 fi
11100 CPP=$ac_cv_prog_CPP
11101 else
11102 ac_cv_prog_CPP=$CPP
11103 fi
11104 echo "$as_me:$LINENO: result: $CPP" >&5
11105 echo "${ECHO_T}$CPP" >&6
11106 ac_preproc_ok=false
11107 for ac_c_preproc_warn_flag in '' yes
11108 do
11109 # Use a header file that comes with gcc, so configuring glibc
11110 # with a fresh cross-compiler works.
11111 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11112 # <limits.h> exists even on freestanding compilers.
11113 # On the NeXT, cc -E runs the code through the compiler's parser,
11114 # not just through cpp. "Syntax error" is here to catch this case.
11115 cat >conftest.$ac_ext <<_ACEOF
11116 /* confdefs.h. */
11117 _ACEOF
11118 cat confdefs.h >>conftest.$ac_ext
11119 cat >>conftest.$ac_ext <<_ACEOF
11120 /* end confdefs.h. */
11121 #ifdef __STDC__
11122 # include <limits.h>
11123 #else
11124 # include <assert.h>
11125 #endif
11126 Syntax error
11127 _ACEOF
11128 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11129 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11130 ac_status=$?
11131 grep -v '^ *+' conftest.er1 >conftest.err
11132 rm -f conftest.er1
11133 cat conftest.err >&5
11134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11135 (exit $ac_status); } >/dev/null; then
11136 if test -s conftest.err; then
11137 ac_cpp_err=$ac_c_preproc_warn_flag
11138 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11139 else
11140 ac_cpp_err=
11141 fi
11142 else
11143 ac_cpp_err=yes
11144 fi
11145 if test -z "$ac_cpp_err"; then
11146 :
11147 else
11148 echo "$as_me: failed program was:" >&5
11149 sed 's/^/| /' conftest.$ac_ext >&5
11150
11151 # Broken: fails on valid input.
11152 continue
11153 fi
11154 rm -f conftest.err conftest.$ac_ext
11155
11156 # OK, works on sane cases. Now check whether non-existent headers
11157 # can be detected and how.
11158 cat >conftest.$ac_ext <<_ACEOF
11159 /* confdefs.h. */
11160 _ACEOF
11161 cat confdefs.h >>conftest.$ac_ext
11162 cat >>conftest.$ac_ext <<_ACEOF
11163 /* end confdefs.h. */
11164 #include <ac_nonexistent.h>
11165 _ACEOF
11166 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11167 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11168 ac_status=$?
11169 grep -v '^ *+' conftest.er1 >conftest.err
11170 rm -f conftest.er1
11171 cat conftest.err >&5
11172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11173 (exit $ac_status); } >/dev/null; then
11174 if test -s conftest.err; then
11175 ac_cpp_err=$ac_c_preproc_warn_flag
11176 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11177 else
11178 ac_cpp_err=
11179 fi
11180 else
11181 ac_cpp_err=yes
11182 fi
11183 if test -z "$ac_cpp_err"; then
11184 # Broken: success on invalid input.
11185 continue
11186 else
11187 echo "$as_me: failed program was:" >&5
11188 sed 's/^/| /' conftest.$ac_ext >&5
11189
11190 # Passes both tests.
11191 ac_preproc_ok=:
11192 break
11193 fi
11194 rm -f conftest.err conftest.$ac_ext
11195
11196 done
11197 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11198 rm -f conftest.err conftest.$ac_ext
11199 if $ac_preproc_ok; then
11200 :
11201 else
11202 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11203 See \`config.log' for more details." >&5
11204 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11205 See \`config.log' for more details." >&2;}
11206 { (exit 1); exit 1; }; }
11207 fi
11208
11209 ac_ext=c
11210 ac_cpp='$CPP $CPPFLAGS'
11211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11214
11215
11216 echo "$as_me:$LINENO: checking for egrep" >&5
11217 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11218 if test "${ac_cv_prog_egrep+set}" = set; then
11219 echo $ECHO_N "(cached) $ECHO_C" >&6
11220 else
11221 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
11222 then ac_cv_prog_egrep='grep -E'
11223 else ac_cv_prog_egrep='egrep'
11224 fi
11225 fi
11226 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11227 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11228 EGREP=$ac_cv_prog_egrep
11229
11230
11231 if test $ac_cv_c_compiler_gnu = yes; then
11232 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11233 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11234 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11235 echo $ECHO_N "(cached) $ECHO_C" >&6
11236 else
11237 ac_pattern="Autoconf.*'x'"
11238 cat >conftest.$ac_ext <<_ACEOF
11239 /* confdefs.h. */
11240 _ACEOF
11241 cat confdefs.h >>conftest.$ac_ext
11242 cat >>conftest.$ac_ext <<_ACEOF
11243 /* end confdefs.h. */
11244 #include <sgtty.h>
11245 Autoconf TIOCGETP
11246 _ACEOF
11247 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11248 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11249 ac_cv_prog_gcc_traditional=yes
11250 else
11251 ac_cv_prog_gcc_traditional=no
11252 fi
11253 rm -f conftest*
11254
11255
11256 if test $ac_cv_prog_gcc_traditional = no; then
11257 cat >conftest.$ac_ext <<_ACEOF
11258 /* confdefs.h. */
11259 _ACEOF
11260 cat confdefs.h >>conftest.$ac_ext
11261 cat >>conftest.$ac_ext <<_ACEOF
11262 /* end confdefs.h. */
11263 #include <termio.h>
11264 Autoconf TCGETA
11265 _ACEOF
11266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11267 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11268 ac_cv_prog_gcc_traditional=yes
11269 fi
11270 rm -f conftest*
11271
11272 fi
11273 fi
11274 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11275 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11276 if test $ac_cv_prog_gcc_traditional = yes; then
11277 CC="$CC -traditional"
11278 fi
11279 fi
11280
11281
11282
11283
11284 ac_ext=cc
11285 ac_cpp='$CXXCPP $CPPFLAGS'
11286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11289
11290
11291 CXXFLAGS=${CXXFLAGS:=}
11292 ac_ext=cc
11293 ac_cpp='$CXXCPP $CPPFLAGS'
11294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11297 if test -n "$ac_tool_prefix"; then
11298 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11299 do
11300 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11301 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11302 echo "$as_me:$LINENO: checking for $ac_word" >&5
11303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11304 if test "${ac_cv_prog_CXX+set}" = set; then
11305 echo $ECHO_N "(cached) $ECHO_C" >&6
11306 else
11307 if test -n "$CXX"; then
11308 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11309 else
11310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11311 for as_dir in $PATH
11312 do
11313 IFS=$as_save_IFS
11314 test -z "$as_dir" && as_dir=.
11315 for ac_exec_ext in '' $ac_executable_extensions; do
11316 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11317 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11319 break 2
11320 fi
11321 done
11322 done
11323
11324 fi
11325 fi
11326 CXX=$ac_cv_prog_CXX
11327 if test -n "$CXX"; then
11328 echo "$as_me:$LINENO: result: $CXX" >&5
11329 echo "${ECHO_T}$CXX" >&6
11330 else
11331 echo "$as_me:$LINENO: result: no" >&5
11332 echo "${ECHO_T}no" >&6
11333 fi
11334
11335 test -n "$CXX" && break
11336 done
11337 fi
11338 if test -z "$CXX"; then
11339 ac_ct_CXX=$CXX
11340 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11341 do
11342 # Extract the first word of "$ac_prog", so it can be a program name with args.
11343 set dummy $ac_prog; ac_word=$2
11344 echo "$as_me:$LINENO: checking for $ac_word" >&5
11345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11346 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11347 echo $ECHO_N "(cached) $ECHO_C" >&6
11348 else
11349 if test -n "$ac_ct_CXX"; then
11350 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11351 else
11352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11353 for as_dir in $PATH
11354 do
11355 IFS=$as_save_IFS
11356 test -z "$as_dir" && as_dir=.
11357 for ac_exec_ext in '' $ac_executable_extensions; do
11358 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11359 ac_cv_prog_ac_ct_CXX="$ac_prog"
11360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11361 break 2
11362 fi
11363 done
11364 done
11365
11366 fi
11367 fi
11368 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11369 if test -n "$ac_ct_CXX"; then
11370 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11371 echo "${ECHO_T}$ac_ct_CXX" >&6
11372 else
11373 echo "$as_me:$LINENO: result: no" >&5
11374 echo "${ECHO_T}no" >&6
11375 fi
11376
11377 test -n "$ac_ct_CXX" && break
11378 done
11379 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11380
11381 CXX=$ac_ct_CXX
11382 fi
11383
11384
11385 # Provide some information about the compiler.
11386 echo "$as_me:$LINENO:" \
11387 "checking for C++ compiler version" >&5
11388 ac_compiler=`set X $ac_compile; echo $2`
11389 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11390 (eval $ac_compiler --version </dev/null >&5) 2>&5
11391 ac_status=$?
11392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11393 (exit $ac_status); }
11394 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11395 (eval $ac_compiler -v </dev/null >&5) 2>&5
11396 ac_status=$?
11397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11398 (exit $ac_status); }
11399 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11400 (eval $ac_compiler -V </dev/null >&5) 2>&5
11401 ac_status=$?
11402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11403 (exit $ac_status); }
11404
11405 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11406 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11407 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11408 echo $ECHO_N "(cached) $ECHO_C" >&6
11409 else
11410 cat >conftest.$ac_ext <<_ACEOF
11411 /* confdefs.h. */
11412 _ACEOF
11413 cat confdefs.h >>conftest.$ac_ext
11414 cat >>conftest.$ac_ext <<_ACEOF
11415 /* end confdefs.h. */
11416
11417 int
11418 main ()
11419 {
11420 #ifndef __GNUC__
11421 choke me
11422 #endif
11423
11424 ;
11425 return 0;
11426 }
11427 _ACEOF
11428 rm -f conftest.$ac_objext
11429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11430 (eval $ac_compile) 2>conftest.er1
11431 ac_status=$?
11432 grep -v '^ *+' conftest.er1 >conftest.err
11433 rm -f conftest.er1
11434 cat conftest.err >&5
11435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11436 (exit $ac_status); } &&
11437 { ac_try='test -z "$ac_cxx_werror_flag"
11438 || test ! -s conftest.err'
11439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11440 (eval $ac_try) 2>&5
11441 ac_status=$?
11442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11443 (exit $ac_status); }; } &&
11444 { ac_try='test -s conftest.$ac_objext'
11445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11446 (eval $ac_try) 2>&5
11447 ac_status=$?
11448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11449 (exit $ac_status); }; }; then
11450 ac_compiler_gnu=yes
11451 else
11452 echo "$as_me: failed program was:" >&5
11453 sed 's/^/| /' conftest.$ac_ext >&5
11454
11455 ac_compiler_gnu=no
11456 fi
11457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11458 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11459
11460 fi
11461 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11462 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11463 GXX=`test $ac_compiler_gnu = yes && echo yes`
11464 ac_test_CXXFLAGS=${CXXFLAGS+set}
11465 ac_save_CXXFLAGS=$CXXFLAGS
11466 CXXFLAGS="-g"
11467 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11468 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11469 if test "${ac_cv_prog_cxx_g+set}" = set; then
11470 echo $ECHO_N "(cached) $ECHO_C" >&6
11471 else
11472 cat >conftest.$ac_ext <<_ACEOF
11473 /* confdefs.h. */
11474 _ACEOF
11475 cat confdefs.h >>conftest.$ac_ext
11476 cat >>conftest.$ac_ext <<_ACEOF
11477 /* end confdefs.h. */
11478
11479 int
11480 main ()
11481 {
11482
11483 ;
11484 return 0;
11485 }
11486 _ACEOF
11487 rm -f conftest.$ac_objext
11488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11489 (eval $ac_compile) 2>conftest.er1
11490 ac_status=$?
11491 grep -v '^ *+' conftest.er1 >conftest.err
11492 rm -f conftest.er1
11493 cat conftest.err >&5
11494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11495 (exit $ac_status); } &&
11496 { ac_try='test -z "$ac_cxx_werror_flag"
11497 || test ! -s conftest.err'
11498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11499 (eval $ac_try) 2>&5
11500 ac_status=$?
11501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11502 (exit $ac_status); }; } &&
11503 { ac_try='test -s conftest.$ac_objext'
11504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11505 (eval $ac_try) 2>&5
11506 ac_status=$?
11507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11508 (exit $ac_status); }; }; then
11509 ac_cv_prog_cxx_g=yes
11510 else
11511 echo "$as_me: failed program was:" >&5
11512 sed 's/^/| /' conftest.$ac_ext >&5
11513
11514 ac_cv_prog_cxx_g=no
11515 fi
11516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11517 fi
11518 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11519 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11520 if test "$ac_test_CXXFLAGS" = set; then
11521 CXXFLAGS=$ac_save_CXXFLAGS
11522 elif test $ac_cv_prog_cxx_g = yes; then
11523 if test "$GXX" = yes; then
11524 CXXFLAGS="-g -O2"
11525 else
11526 CXXFLAGS="-g"
11527 fi
11528 else
11529 if test "$GXX" = yes; then
11530 CXXFLAGS="-O2"
11531 else
11532 CXXFLAGS=
11533 fi
11534 fi
11535 for ac_declaration in \
11536 '' \
11537 'extern "C" void std::exit (int) throw (); using std::exit;' \
11538 'extern "C" void std::exit (int); using std::exit;' \
11539 'extern "C" void exit (int) throw ();' \
11540 'extern "C" void exit (int);' \
11541 'void exit (int);'
11542 do
11543 cat >conftest.$ac_ext <<_ACEOF
11544 /* confdefs.h. */
11545 _ACEOF
11546 cat confdefs.h >>conftest.$ac_ext
11547 cat >>conftest.$ac_ext <<_ACEOF
11548 /* end confdefs.h. */
11549 $ac_declaration
11550 #include <stdlib.h>
11551 int
11552 main ()
11553 {
11554 exit (42);
11555 ;
11556 return 0;
11557 }
11558 _ACEOF
11559 rm -f conftest.$ac_objext
11560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11561 (eval $ac_compile) 2>conftest.er1
11562 ac_status=$?
11563 grep -v '^ *+' conftest.er1 >conftest.err
11564 rm -f conftest.er1
11565 cat conftest.err >&5
11566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11567 (exit $ac_status); } &&
11568 { ac_try='test -z "$ac_cxx_werror_flag"
11569 || test ! -s conftest.err'
11570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11571 (eval $ac_try) 2>&5
11572 ac_status=$?
11573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11574 (exit $ac_status); }; } &&
11575 { ac_try='test -s conftest.$ac_objext'
11576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11577 (eval $ac_try) 2>&5
11578 ac_status=$?
11579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11580 (exit $ac_status); }; }; then
11581 :
11582 else
11583 echo "$as_me: failed program was:" >&5
11584 sed 's/^/| /' conftest.$ac_ext >&5
11585
11586 continue
11587 fi
11588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11589 cat >conftest.$ac_ext <<_ACEOF
11590 /* confdefs.h. */
11591 _ACEOF
11592 cat confdefs.h >>conftest.$ac_ext
11593 cat >>conftest.$ac_ext <<_ACEOF
11594 /* end confdefs.h. */
11595 $ac_declaration
11596 int
11597 main ()
11598 {
11599 exit (42);
11600 ;
11601 return 0;
11602 }
11603 _ACEOF
11604 rm -f conftest.$ac_objext
11605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11606 (eval $ac_compile) 2>conftest.er1
11607 ac_status=$?
11608 grep -v '^ *+' conftest.er1 >conftest.err
11609 rm -f conftest.er1
11610 cat conftest.err >&5
11611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11612 (exit $ac_status); } &&
11613 { ac_try='test -z "$ac_cxx_werror_flag"
11614 || test ! -s conftest.err'
11615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11616 (eval $ac_try) 2>&5
11617 ac_status=$?
11618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11619 (exit $ac_status); }; } &&
11620 { ac_try='test -s conftest.$ac_objext'
11621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11622 (eval $ac_try) 2>&5
11623 ac_status=$?
11624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11625 (exit $ac_status); }; }; then
11626 break
11627 else
11628 echo "$as_me: failed program was:" >&5
11629 sed 's/^/| /' conftest.$ac_ext >&5
11630
11631 fi
11632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11633 done
11634 rm -f conftest*
11635 if test -n "$ac_declaration"; then
11636 echo '#ifdef __cplusplus' >>confdefs.h
11637 echo $ac_declaration >>confdefs.h
11638 echo '#endif' >>confdefs.h
11639 fi
11640
11641 ac_ext=cc
11642 ac_cpp='$CXXCPP $CPPFLAGS'
11643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11646
11647
11648 ac_ext=c
11649 ac_cpp='$CPP $CPPFLAGS'
11650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11653
11654
11655 if test -n "$ac_tool_prefix"; then
11656 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11657 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11658 echo "$as_me:$LINENO: checking for $ac_word" >&5
11659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11660 if test "${ac_cv_prog_RANLIB+set}" = set; then
11661 echo $ECHO_N "(cached) $ECHO_C" >&6
11662 else
11663 if test -n "$RANLIB"; then
11664 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11665 else
11666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11667 for as_dir in $PATH
11668 do
11669 IFS=$as_save_IFS
11670 test -z "$as_dir" && as_dir=.
11671 for ac_exec_ext in '' $ac_executable_extensions; do
11672 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11673 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11675 break 2
11676 fi
11677 done
11678 done
11679
11680 fi
11681 fi
11682 RANLIB=$ac_cv_prog_RANLIB
11683 if test -n "$RANLIB"; then
11684 echo "$as_me:$LINENO: result: $RANLIB" >&5
11685 echo "${ECHO_T}$RANLIB" >&6
11686 else
11687 echo "$as_me:$LINENO: result: no" >&5
11688 echo "${ECHO_T}no" >&6
11689 fi
11690
11691 fi
11692 if test -z "$ac_cv_prog_RANLIB"; then
11693 ac_ct_RANLIB=$RANLIB
11694 # Extract the first word of "ranlib", so it can be a program name with args.
11695 set dummy ranlib; ac_word=$2
11696 echo "$as_me:$LINENO: checking for $ac_word" >&5
11697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11698 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11699 echo $ECHO_N "(cached) $ECHO_C" >&6
11700 else
11701 if test -n "$ac_ct_RANLIB"; then
11702 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11703 else
11704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11705 for as_dir in $PATH
11706 do
11707 IFS=$as_save_IFS
11708 test -z "$as_dir" && as_dir=.
11709 for ac_exec_ext in '' $ac_executable_extensions; do
11710 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11711 ac_cv_prog_ac_ct_RANLIB="ranlib"
11712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11713 break 2
11714 fi
11715 done
11716 done
11717
11718 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11719 fi
11720 fi
11721 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11722 if test -n "$ac_ct_RANLIB"; then
11723 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11724 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11725 else
11726 echo "$as_me:$LINENO: result: no" >&5
11727 echo "${ECHO_T}no" >&6
11728 fi
11729
11730 RANLIB=$ac_ct_RANLIB
11731 else
11732 RANLIB="$ac_cv_prog_RANLIB"
11733 fi
11734
11735
11736 # Extract the first word of "ar", so it can be a program name with args.
11737 set dummy ar; ac_word=$2
11738 echo "$as_me:$LINENO: checking for $ac_word" >&5
11739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11740 if test "${ac_cv_prog_AR+set}" = set; then
11741 echo $ECHO_N "(cached) $ECHO_C" >&6
11742 else
11743 if test -n "$AR"; then
11744 ac_cv_prog_AR="$AR" # Let the user override the test.
11745 else
11746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11747 for as_dir in $PATH
11748 do
11749 IFS=$as_save_IFS
11750 test -z "$as_dir" && as_dir=.
11751 for ac_exec_ext in '' $ac_executable_extensions; do
11752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11753 ac_cv_prog_AR="ar"
11754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11755 break 2
11756 fi
11757 done
11758 done
11759
11760 fi
11761 fi
11762 AR=$ac_cv_prog_AR
11763 if test -n "$AR"; then
11764 echo "$as_me:$LINENO: result: $AR" >&5
11765 echo "${ECHO_T}$AR" >&6
11766 else
11767 echo "$as_me:$LINENO: result: no" >&5
11768 echo "${ECHO_T}no" >&6
11769 fi
11770
11771 if test "x$AR" = "x" ; then
11772 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11773 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11774 { (exit 1); exit 1; }; }
11775 fi
11776
11777 # Find a good install program. We prefer a C program (faster),
11778 # so one script is as good as another. But avoid the broken or
11779 # incompatible versions:
11780 # SysV /etc/install, /usr/sbin/install
11781 # SunOS /usr/etc/install
11782 # IRIX /sbin/install
11783 # AIX /bin/install
11784 # AmigaOS /C/install, which installs bootblocks on floppy discs
11785 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11786 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11787 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11788 # OS/2's system install, which has a completely different semantic
11789 # ./install, which can be erroneously created by make from ./install.sh.
11790 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11791 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11792 if test -z "$INSTALL"; then
11793 if test "${ac_cv_path_install+set}" = set; then
11794 echo $ECHO_N "(cached) $ECHO_C" >&6
11795 else
11796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11797 for as_dir in $PATH
11798 do
11799 IFS=$as_save_IFS
11800 test -z "$as_dir" && as_dir=.
11801 # Account for people who put trailing slashes in PATH elements.
11802 case $as_dir/ in
11803 ./ | .// | /cC/* | \
11804 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11805 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
11806 /usr/ucb/* ) ;;
11807 *)
11808 # OSF1 and SCO ODT 3.0 have their own names for install.
11809 # Don't use installbsd from OSF since it installs stuff as root
11810 # by default.
11811 for ac_prog in ginstall scoinst install; do
11812 for ac_exec_ext in '' $ac_executable_extensions; do
11813 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11814 if test $ac_prog = install &&
11815 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11816 # AIX install. It has an incompatible calling convention.
11817 :
11818 elif test $ac_prog = install &&
11819 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11820 # program-specific install script used by HP pwplus--don't use.
11821 :
11822 else
11823 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11824 break 3
11825 fi
11826 fi
11827 done
11828 done
11829 ;;
11830 esac
11831 done
11832
11833
11834 fi
11835 if test "${ac_cv_path_install+set}" = set; then
11836 INSTALL=$ac_cv_path_install
11837 else
11838 # As a last resort, use the slow shell script. We don't cache a
11839 # path for INSTALL within a source directory, because that will
11840 # break other packages using the cache if that directory is
11841 # removed, or if the path is relative.
11842 INSTALL=$ac_install_sh
11843 fi
11844 fi
11845 echo "$as_me:$LINENO: result: $INSTALL" >&5
11846 echo "${ECHO_T}$INSTALL" >&6
11847
11848 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11849 # It thinks the first close brace ends the variable substitution.
11850 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11851
11852 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11853
11854 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11855
11856
11857 case ${INSTALL} in
11858 /* ) # Absolute
11859 ;;
11860 ?:* ) # Drive letter, considered as absolute.
11861 ;;
11862 *)
11863 INSTALL=`pwd`/${INSTALL} ;;
11864 esac
11865
11866 case ${host} in
11867 *-hp-hpux* )
11868 INSTALL_DIR="mkdir"
11869 ;;
11870
11871 *) INSTALL_DIR="$INSTALL -d"
11872 ;;
11873 esac
11874
11875
11876 case "${host}" in
11877
11878 powerpc-*-darwin* )
11879 INSTALL_PROGRAM="cp -fp"
11880 INSTALL_DATA="cp -fp"
11881 ;;
11882 *)
11883 ;;
11884 esac
11885
11886 # Extract the first word of "strip", so it can be a program name with args.
11887 set dummy strip; ac_word=$2
11888 echo "$as_me:$LINENO: checking for $ac_word" >&5
11889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11890 if test "${ac_cv_prog_STRIP+set}" = set; then
11891 echo $ECHO_N "(cached) $ECHO_C" >&6
11892 else
11893 if test -n "$STRIP"; then
11894 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11895 else
11896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11897 for as_dir in $PATH
11898 do
11899 IFS=$as_save_IFS
11900 test -z "$as_dir" && as_dir=.
11901 for ac_exec_ext in '' $ac_executable_extensions; do
11902 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11903 ac_cv_prog_STRIP="strip"
11904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11905 break 2
11906 fi
11907 done
11908 done
11909
11910 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11911 fi
11912 fi
11913 STRIP=$ac_cv_prog_STRIP
11914 if test -n "$STRIP"; then
11915 echo "$as_me:$LINENO: result: $STRIP" >&5
11916 echo "${ECHO_T}$STRIP" >&6
11917 else
11918 echo "$as_me:$LINENO: result: no" >&5
11919 echo "${ECHO_T}no" >&6
11920 fi
11921
11922
11923 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11924 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11925 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11926 echo $ECHO_N "(cached) $ECHO_C" >&6
11927 else
11928
11929 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11930 egrep -s GNU > /dev/null); then
11931 wx_cv_prog_makeisgnu="yes"
11932 else
11933 wx_cv_prog_makeisgnu="no"
11934 fi
11935
11936 fi
11937 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11938 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11939
11940 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11941 IF_GNU_MAKE=""
11942 else
11943 IF_GNU_MAKE="#"
11944 fi
11945
11946
11947
11948 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11949 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11950 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11951 if test "${wx_cv_prog_makevpath+set}" = set; then
11952 echo $ECHO_N "(cached) $ECHO_C" >&6
11953 else
11954
11955 cat - << EOF > confMake
11956 check : file
11957 cp \$? \$@
11958 cp \$? final_file
11959 EOF
11960
11961 if test ! -d sub ; then
11962 mkdir sub
11963 fi
11964 echo dummy > sub/file
11965 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11966 RESULT=$?
11967 rm -f sub/file check final_file confMake
11968 rmdir sub
11969 if test "$RESULT" = 0; then
11970 wx_cv_prog_makevpath="yes"
11971 else
11972 wx_cv_prog_makevpath="no"
11973 fi
11974
11975 fi
11976 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11977 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11978
11979 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11980 { { echo "$as_me:$LINENO: error:
11981 You need a make-utility that is able to use the variable
11982 VPATH correctly.
11983 If your version of make does not support VPATH correctly,
11984 please install GNU-make (possibly as gmake), and start
11985 configure with the following command:
11986 export MAKE=gmake; ./configure for sh-type shells
11987 setenv MAKE gmake; ./configure for csh-type shells
11988 Also please do remember to use gmake in this case every time
11989 you are trying to compile.
11990 " >&5
11991 echo "$as_me: error:
11992 You need a make-utility that is able to use the variable
11993 VPATH correctly.
11994 If your version of make does not support VPATH correctly,
11995 please install GNU-make (possibly as gmake), and start
11996 configure with the following command:
11997 export MAKE=gmake; ./configure for sh-type shells
11998 setenv MAKE gmake; ./configure for csh-type shells
11999 Also please do remember to use gmake in this case every time
12000 you are trying to compile.
12001 " >&2;}
12002 { (exit 1); exit 1; }; }
12003 fi fi
12004 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12005 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12006 LN_S=$as_ln_s
12007 if test "$LN_S" = "ln -s"; then
12008 echo "$as_me:$LINENO: result: yes" >&5
12009 echo "${ECHO_T}yes" >&6
12010 else
12011 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12012 echo "${ECHO_T}no, using $LN_S" >&6
12013 fi
12014
12015
12016 case "${host}" in
12017 *-pc-os2_emx | *-pc-os2-emx )
12018 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12019 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12020 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12021 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12022 echo $ECHO_N "(cached) $ECHO_C" >&6
12023 else
12024 ac_check_lib_save_LIBS=$LIBS
12025 LIBS="-lcExt $LIBS"
12026 cat >conftest.$ac_ext <<_ACEOF
12027 /* confdefs.h. */
12028 _ACEOF
12029 cat confdefs.h >>conftest.$ac_ext
12030 cat >>conftest.$ac_ext <<_ACEOF
12031 /* end confdefs.h. */
12032
12033 /* Override any gcc2 internal prototype to avoid an error. */
12034 #ifdef __cplusplus
12035 extern "C"
12036 #endif
12037 /* We use char because int might match the return type of a gcc2
12038 builtin and then its argument prototype would still apply. */
12039 char drand48 ();
12040 int
12041 main ()
12042 {
12043 drand48 ();
12044 ;
12045 return 0;
12046 }
12047 _ACEOF
12048 rm -f conftest.$ac_objext conftest$ac_exeext
12049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12050 (eval $ac_link) 2>conftest.er1
12051 ac_status=$?
12052 grep -v '^ *+' conftest.er1 >conftest.err
12053 rm -f conftest.er1
12054 cat conftest.err >&5
12055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12056 (exit $ac_status); } &&
12057 { ac_try='test -z "$ac_c_werror_flag"
12058 || test ! -s conftest.err'
12059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12060 (eval $ac_try) 2>&5
12061 ac_status=$?
12062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12063 (exit $ac_status); }; } &&
12064 { ac_try='test -s conftest$ac_exeext'
12065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12066 (eval $ac_try) 2>&5
12067 ac_status=$?
12068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12069 (exit $ac_status); }; }; then
12070 ac_cv_lib_cExt_drand48=yes
12071 else
12072 echo "$as_me: failed program was:" >&5
12073 sed 's/^/| /' conftest.$ac_ext >&5
12074
12075 ac_cv_lib_cExt_drand48=no
12076 fi
12077 rm -f conftest.err conftest.$ac_objext \
12078 conftest$ac_exeext conftest.$ac_ext
12079 LIBS=$ac_check_lib_save_LIBS
12080 fi
12081 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12082 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12083 if test $ac_cv_lib_cExt_drand48 = yes; then
12084 LIBS="$LIBS -lcExt"
12085 fi
12086
12087 else
12088 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
12089 fi
12090 echo "$as_me:$LINENO: checking for gcc 3 or later" >&5
12091 echo $ECHO_N "checking for gcc 3 or later... $ECHO_C" >&6
12092 if test "${wx_cv_gcc3+set}" = set; then
12093 echo $ECHO_N "(cached) $ECHO_C" >&6
12094 else
12095
12096 cat >conftest.$ac_ext <<_ACEOF
12097 /* confdefs.h. */
12098 _ACEOF
12099 cat confdefs.h >>conftest.$ac_ext
12100 cat >>conftest.$ac_ext <<_ACEOF
12101 /* end confdefs.h. */
12102
12103 int
12104 main ()
12105 {
12106
12107 #if (__GNUC__ < 3)
12108 #error old gcc
12109 #endif
12110
12111 ;
12112 return 0;
12113 }
12114 _ACEOF
12115 rm -f conftest.$ac_objext
12116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12117 (eval $ac_compile) 2>conftest.er1
12118 ac_status=$?
12119 grep -v '^ *+' conftest.er1 >conftest.err
12120 rm -f conftest.er1
12121 cat conftest.err >&5
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); } &&
12124 { ac_try='test -z "$ac_c_werror_flag"
12125 || test ! -s conftest.err'
12126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12127 (eval $ac_try) 2>&5
12128 ac_status=$?
12129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12130 (exit $ac_status); }; } &&
12131 { ac_try='test -s conftest.$ac_objext'
12132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12133 (eval $ac_try) 2>&5
12134 ac_status=$?
12135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12136 (exit $ac_status); }; }; then
12137
12138 wx_cv_gcc3=yes
12139
12140 else
12141 echo "$as_me: failed program was:" >&5
12142 sed 's/^/| /' conftest.$ac_ext >&5
12143
12144
12145 wx_cv_gcc3=no
12146
12147
12148 fi
12149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12150
12151 fi
12152 echo "$as_me:$LINENO: result: $wx_cv_gcc3" >&5
12153 echo "${ECHO_T}$wx_cv_gcc3" >&6
12154 if test "$wx_cv_gcc3" = "no"; then
12155 LIBS="$LIBS -lstdcpp"
12156 else
12157 LIBS="$LIBS -lstdcxx"
12158 fi
12159 ;;
12160 esac
12161
12162
12163 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
12164 echo "$as_me:$LINENO: checking for strings.h" >&5
12165 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
12166 if test "${ac_cv_header_strings_h+set}" = set; then
12167 echo $ECHO_N "(cached) $ECHO_C" >&6
12168 else
12169 ac_cv_header_strings_h=no
12170 fi
12171 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
12172 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
12173 if test "$ac_cv_header_strings_h" = "no"; then
12174 echo "$as_me:$LINENO: result: forced no into cache" >&5
12175 echo "${ECHO_T}forced no into cache" >&6
12176 else
12177 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
12178 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
12179 fi
12180 fi
12181 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12182 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12183 if test "${ac_cv_header_stdc+set}" = set; then
12184 echo $ECHO_N "(cached) $ECHO_C" >&6
12185 else
12186 cat >conftest.$ac_ext <<_ACEOF
12187 /* confdefs.h. */
12188 _ACEOF
12189 cat confdefs.h >>conftest.$ac_ext
12190 cat >>conftest.$ac_ext <<_ACEOF
12191 /* end confdefs.h. */
12192 #include <stdlib.h>
12193 #include <stdarg.h>
12194 #include <string.h>
12195 #include <float.h>
12196
12197 int
12198 main ()
12199 {
12200
12201 ;
12202 return 0;
12203 }
12204 _ACEOF
12205 rm -f conftest.$ac_objext
12206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12207 (eval $ac_compile) 2>conftest.er1
12208 ac_status=$?
12209 grep -v '^ *+' conftest.er1 >conftest.err
12210 rm -f conftest.er1
12211 cat conftest.err >&5
12212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12213 (exit $ac_status); } &&
12214 { ac_try='test -z "$ac_c_werror_flag"
12215 || test ! -s conftest.err'
12216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12217 (eval $ac_try) 2>&5
12218 ac_status=$?
12219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12220 (exit $ac_status); }; } &&
12221 { ac_try='test -s conftest.$ac_objext'
12222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12223 (eval $ac_try) 2>&5
12224 ac_status=$?
12225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12226 (exit $ac_status); }; }; then
12227 ac_cv_header_stdc=yes
12228 else
12229 echo "$as_me: failed program was:" >&5
12230 sed 's/^/| /' conftest.$ac_ext >&5
12231
12232 ac_cv_header_stdc=no
12233 fi
12234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12235
12236 if test $ac_cv_header_stdc = yes; then
12237 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12238 cat >conftest.$ac_ext <<_ACEOF
12239 /* confdefs.h. */
12240 _ACEOF
12241 cat confdefs.h >>conftest.$ac_ext
12242 cat >>conftest.$ac_ext <<_ACEOF
12243 /* end confdefs.h. */
12244 #include <string.h>
12245
12246 _ACEOF
12247 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12248 $EGREP "memchr" >/dev/null 2>&1; then
12249 :
12250 else
12251 ac_cv_header_stdc=no
12252 fi
12253 rm -f conftest*
12254
12255 fi
12256
12257 if test $ac_cv_header_stdc = yes; then
12258 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12259 cat >conftest.$ac_ext <<_ACEOF
12260 /* confdefs.h. */
12261 _ACEOF
12262 cat confdefs.h >>conftest.$ac_ext
12263 cat >>conftest.$ac_ext <<_ACEOF
12264 /* end confdefs.h. */
12265 #include <stdlib.h>
12266
12267 _ACEOF
12268 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12269 $EGREP "free" >/dev/null 2>&1; then
12270 :
12271 else
12272 ac_cv_header_stdc=no
12273 fi
12274 rm -f conftest*
12275
12276 fi
12277
12278 if test $ac_cv_header_stdc = yes; then
12279 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12280 if test "$cross_compiling" = yes; then
12281 :
12282 else
12283 cat >conftest.$ac_ext <<_ACEOF
12284 /* confdefs.h. */
12285 _ACEOF
12286 cat confdefs.h >>conftest.$ac_ext
12287 cat >>conftest.$ac_ext <<_ACEOF
12288 /* end confdefs.h. */
12289 #include <ctype.h>
12290 #if ((' ' & 0x0FF) == 0x020)
12291 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12292 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12293 #else
12294 # define ISLOWER(c) \
12295 (('a' <= (c) && (c) <= 'i') \
12296 || ('j' <= (c) && (c) <= 'r') \
12297 || ('s' <= (c) && (c) <= 'z'))
12298 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12299 #endif
12300
12301 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12302 int
12303 main ()
12304 {
12305 int i;
12306 for (i = 0; i < 256; i++)
12307 if (XOR (islower (i), ISLOWER (i))
12308 || toupper (i) != TOUPPER (i))
12309 exit(2);
12310 exit (0);
12311 }
12312 _ACEOF
12313 rm -f conftest$ac_exeext
12314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12315 (eval $ac_link) 2>&5
12316 ac_status=$?
12317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12318 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12320 (eval $ac_try) 2>&5
12321 ac_status=$?
12322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12323 (exit $ac_status); }; }; then
12324 :
12325 else
12326 echo "$as_me: program exited with status $ac_status" >&5
12327 echo "$as_me: failed program was:" >&5
12328 sed 's/^/| /' conftest.$ac_ext >&5
12329
12330 ( exit $ac_status )
12331 ac_cv_header_stdc=no
12332 fi
12333 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12334 fi
12335 fi
12336 fi
12337 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12338 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12339 if test $ac_cv_header_stdc = yes; then
12340
12341 cat >>confdefs.h <<\_ACEOF
12342 #define STDC_HEADERS 1
12343 _ACEOF
12344
12345 fi
12346
12347 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12358 inttypes.h stdint.h unistd.h
12359 do
12360 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12361 echo "$as_me:$LINENO: checking for $ac_header" >&5
12362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12363 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12364 echo $ECHO_N "(cached) $ECHO_C" >&6
12365 else
12366 cat >conftest.$ac_ext <<_ACEOF
12367 /* confdefs.h. */
12368 _ACEOF
12369 cat confdefs.h >>conftest.$ac_ext
12370 cat >>conftest.$ac_ext <<_ACEOF
12371 /* end confdefs.h. */
12372 $ac_includes_default
12373
12374 #include <$ac_header>
12375 _ACEOF
12376 rm -f conftest.$ac_objext
12377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12378 (eval $ac_compile) 2>conftest.er1
12379 ac_status=$?
12380 grep -v '^ *+' conftest.er1 >conftest.err
12381 rm -f conftest.er1
12382 cat conftest.err >&5
12383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12384 (exit $ac_status); } &&
12385 { ac_try='test -z "$ac_c_werror_flag"
12386 || test ! -s conftest.err'
12387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12388 (eval $ac_try) 2>&5
12389 ac_status=$?
12390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12391 (exit $ac_status); }; } &&
12392 { ac_try='test -s conftest.$ac_objext'
12393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12394 (eval $ac_try) 2>&5
12395 ac_status=$?
12396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12397 (exit $ac_status); }; }; then
12398 eval "$as_ac_Header=yes"
12399 else
12400 echo "$as_me: failed program was:" >&5
12401 sed 's/^/| /' conftest.$ac_ext >&5
12402
12403 eval "$as_ac_Header=no"
12404 fi
12405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12406 fi
12407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12408 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12409 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12410 cat >>confdefs.h <<_ACEOF
12411 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12412 _ACEOF
12413
12414 fi
12415
12416 done
12417
12418
12419
12420 for ac_header in strings.h
12421 do
12422 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12423 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12424 echo "$as_me:$LINENO: checking for $ac_header" >&5
12425 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12426 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12427 echo $ECHO_N "(cached) $ECHO_C" >&6
12428 fi
12429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12430 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12431 else
12432 # Is the header compilable?
12433 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12434 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12435 cat >conftest.$ac_ext <<_ACEOF
12436 /* confdefs.h. */
12437 _ACEOF
12438 cat confdefs.h >>conftest.$ac_ext
12439 cat >>conftest.$ac_ext <<_ACEOF
12440 /* end confdefs.h. */
12441 $ac_includes_default
12442 #include <$ac_header>
12443 _ACEOF
12444 rm -f conftest.$ac_objext
12445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12446 (eval $ac_compile) 2>conftest.er1
12447 ac_status=$?
12448 grep -v '^ *+' conftest.er1 >conftest.err
12449 rm -f conftest.er1
12450 cat conftest.err >&5
12451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12452 (exit $ac_status); } &&
12453 { ac_try='test -z "$ac_c_werror_flag"
12454 || test ! -s conftest.err'
12455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12456 (eval $ac_try) 2>&5
12457 ac_status=$?
12458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12459 (exit $ac_status); }; } &&
12460 { ac_try='test -s conftest.$ac_objext'
12461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12462 (eval $ac_try) 2>&5
12463 ac_status=$?
12464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12465 (exit $ac_status); }; }; then
12466 ac_header_compiler=yes
12467 else
12468 echo "$as_me: failed program was:" >&5
12469 sed 's/^/| /' conftest.$ac_ext >&5
12470
12471 ac_header_compiler=no
12472 fi
12473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12474 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12475 echo "${ECHO_T}$ac_header_compiler" >&6
12476
12477 # Is the header present?
12478 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12479 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12480 cat >conftest.$ac_ext <<_ACEOF
12481 /* confdefs.h. */
12482 _ACEOF
12483 cat confdefs.h >>conftest.$ac_ext
12484 cat >>conftest.$ac_ext <<_ACEOF
12485 /* end confdefs.h. */
12486 #include <$ac_header>
12487 _ACEOF
12488 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12489 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12490 ac_status=$?
12491 grep -v '^ *+' conftest.er1 >conftest.err
12492 rm -f conftest.er1
12493 cat conftest.err >&5
12494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12495 (exit $ac_status); } >/dev/null; then
12496 if test -s conftest.err; then
12497 ac_cpp_err=$ac_c_preproc_warn_flag
12498 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12499 else
12500 ac_cpp_err=
12501 fi
12502 else
12503 ac_cpp_err=yes
12504 fi
12505 if test -z "$ac_cpp_err"; then
12506 ac_header_preproc=yes
12507 else
12508 echo "$as_me: failed program was:" >&5
12509 sed 's/^/| /' conftest.$ac_ext >&5
12510
12511 ac_header_preproc=no
12512 fi
12513 rm -f conftest.err conftest.$ac_ext
12514 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12515 echo "${ECHO_T}$ac_header_preproc" >&6
12516
12517 # So? What about this header?
12518 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12519 yes:no: )
12520 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12521 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12522 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12523 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12524 ac_header_preproc=yes
12525 ;;
12526 no:yes:* )
12527 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12528 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12529 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12530 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12531 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12532 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12533 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12534 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12535 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12536 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12537 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12538 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12539 (
12540 cat <<\_ASBOX
12541 ## ----------------------------------------- ##
12542 ## Report this to wx-dev@lists.wxwindows.org ##
12543 ## ----------------------------------------- ##
12544 _ASBOX
12545 ) |
12546 sed "s/^/$as_me: WARNING: /" >&2
12547 ;;
12548 esac
12549 echo "$as_me:$LINENO: checking for $ac_header" >&5
12550 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12551 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12552 echo $ECHO_N "(cached) $ECHO_C" >&6
12553 else
12554 eval "$as_ac_Header=\$ac_header_preproc"
12555 fi
12556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12557 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12558
12559 fi
12560 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12561 cat >>confdefs.h <<_ACEOF
12562 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12563 _ACEOF
12564
12565 fi
12566
12567 done
12568
12569
12570
12571 for ac_header in stdlib.h
12572 do
12573 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12574 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12575 echo "$as_me:$LINENO: checking for $ac_header" >&5
12576 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12577 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12578 echo $ECHO_N "(cached) $ECHO_C" >&6
12579 fi
12580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12581 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12582 else
12583 # Is the header compilable?
12584 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12585 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12586 cat >conftest.$ac_ext <<_ACEOF
12587 /* confdefs.h. */
12588 _ACEOF
12589 cat confdefs.h >>conftest.$ac_ext
12590 cat >>conftest.$ac_ext <<_ACEOF
12591 /* end confdefs.h. */
12592 $ac_includes_default
12593 #include <$ac_header>
12594 _ACEOF
12595 rm -f conftest.$ac_objext
12596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12597 (eval $ac_compile) 2>conftest.er1
12598 ac_status=$?
12599 grep -v '^ *+' conftest.er1 >conftest.err
12600 rm -f conftest.er1
12601 cat conftest.err >&5
12602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12603 (exit $ac_status); } &&
12604 { ac_try='test -z "$ac_c_werror_flag"
12605 || test ! -s conftest.err'
12606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12607 (eval $ac_try) 2>&5
12608 ac_status=$?
12609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12610 (exit $ac_status); }; } &&
12611 { ac_try='test -s conftest.$ac_objext'
12612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12613 (eval $ac_try) 2>&5
12614 ac_status=$?
12615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12616 (exit $ac_status); }; }; then
12617 ac_header_compiler=yes
12618 else
12619 echo "$as_me: failed program was:" >&5
12620 sed 's/^/| /' conftest.$ac_ext >&5
12621
12622 ac_header_compiler=no
12623 fi
12624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12625 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12626 echo "${ECHO_T}$ac_header_compiler" >&6
12627
12628 # Is the header present?
12629 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12630 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12631 cat >conftest.$ac_ext <<_ACEOF
12632 /* confdefs.h. */
12633 _ACEOF
12634 cat confdefs.h >>conftest.$ac_ext
12635 cat >>conftest.$ac_ext <<_ACEOF
12636 /* end confdefs.h. */
12637 #include <$ac_header>
12638 _ACEOF
12639 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12640 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12641 ac_status=$?
12642 grep -v '^ *+' conftest.er1 >conftest.err
12643 rm -f conftest.er1
12644 cat conftest.err >&5
12645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12646 (exit $ac_status); } >/dev/null; then
12647 if test -s conftest.err; then
12648 ac_cpp_err=$ac_c_preproc_warn_flag
12649 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12650 else
12651 ac_cpp_err=
12652 fi
12653 else
12654 ac_cpp_err=yes
12655 fi
12656 if test -z "$ac_cpp_err"; then
12657 ac_header_preproc=yes
12658 else
12659 echo "$as_me: failed program was:" >&5
12660 sed 's/^/| /' conftest.$ac_ext >&5
12661
12662 ac_header_preproc=no
12663 fi
12664 rm -f conftest.err conftest.$ac_ext
12665 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12666 echo "${ECHO_T}$ac_header_preproc" >&6
12667
12668 # So? What about this header?
12669 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12670 yes:no: )
12671 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12672 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12673 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12674 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12675 ac_header_preproc=yes
12676 ;;
12677 no:yes:* )
12678 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12679 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12680 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12681 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12682 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12683 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12684 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12685 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12686 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12687 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12688 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12689 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12690 (
12691 cat <<\_ASBOX
12692 ## ----------------------------------------- ##
12693 ## Report this to wx-dev@lists.wxwindows.org ##
12694 ## ----------------------------------------- ##
12695 _ASBOX
12696 ) |
12697 sed "s/^/$as_me: WARNING: /" >&2
12698 ;;
12699 esac
12700 echo "$as_me:$LINENO: checking for $ac_header" >&5
12701 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12702 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12703 echo $ECHO_N "(cached) $ECHO_C" >&6
12704 else
12705 eval "$as_ac_Header=\$ac_header_preproc"
12706 fi
12707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12708 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12709
12710 fi
12711 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12712 cat >>confdefs.h <<_ACEOF
12713 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12714 _ACEOF
12715
12716 fi
12717
12718 done
12719
12720
12721 for ac_header in malloc.h
12722 do
12723 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12724 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12725 echo "$as_me:$LINENO: checking for $ac_header" >&5
12726 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12728 echo $ECHO_N "(cached) $ECHO_C" >&6
12729 fi
12730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12731 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12732 else
12733 # Is the header compilable?
12734 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12735 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12736 cat >conftest.$ac_ext <<_ACEOF
12737 /* confdefs.h. */
12738 _ACEOF
12739 cat confdefs.h >>conftest.$ac_ext
12740 cat >>conftest.$ac_ext <<_ACEOF
12741 /* end confdefs.h. */
12742 $ac_includes_default
12743 #include <$ac_header>
12744 _ACEOF
12745 rm -f conftest.$ac_objext
12746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12747 (eval $ac_compile) 2>conftest.er1
12748 ac_status=$?
12749 grep -v '^ *+' conftest.er1 >conftest.err
12750 rm -f conftest.er1
12751 cat conftest.err >&5
12752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12753 (exit $ac_status); } &&
12754 { ac_try='test -z "$ac_c_werror_flag"
12755 || test ! -s conftest.err'
12756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12757 (eval $ac_try) 2>&5
12758 ac_status=$?
12759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12760 (exit $ac_status); }; } &&
12761 { ac_try='test -s conftest.$ac_objext'
12762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12763 (eval $ac_try) 2>&5
12764 ac_status=$?
12765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12766 (exit $ac_status); }; }; then
12767 ac_header_compiler=yes
12768 else
12769 echo "$as_me: failed program was:" >&5
12770 sed 's/^/| /' conftest.$ac_ext >&5
12771
12772 ac_header_compiler=no
12773 fi
12774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12775 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12776 echo "${ECHO_T}$ac_header_compiler" >&6
12777
12778 # Is the header present?
12779 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12780 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12781 cat >conftest.$ac_ext <<_ACEOF
12782 /* confdefs.h. */
12783 _ACEOF
12784 cat confdefs.h >>conftest.$ac_ext
12785 cat >>conftest.$ac_ext <<_ACEOF
12786 /* end confdefs.h. */
12787 #include <$ac_header>
12788 _ACEOF
12789 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12790 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12791 ac_status=$?
12792 grep -v '^ *+' conftest.er1 >conftest.err
12793 rm -f conftest.er1
12794 cat conftest.err >&5
12795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12796 (exit $ac_status); } >/dev/null; then
12797 if test -s conftest.err; then
12798 ac_cpp_err=$ac_c_preproc_warn_flag
12799 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12800 else
12801 ac_cpp_err=
12802 fi
12803 else
12804 ac_cpp_err=yes
12805 fi
12806 if test -z "$ac_cpp_err"; then
12807 ac_header_preproc=yes
12808 else
12809 echo "$as_me: failed program was:" >&5
12810 sed 's/^/| /' conftest.$ac_ext >&5
12811
12812 ac_header_preproc=no
12813 fi
12814 rm -f conftest.err conftest.$ac_ext
12815 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12816 echo "${ECHO_T}$ac_header_preproc" >&6
12817
12818 # So? What about this header?
12819 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12820 yes:no: )
12821 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12822 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12823 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12824 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12825 ac_header_preproc=yes
12826 ;;
12827 no:yes:* )
12828 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12829 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12830 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12831 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12832 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12833 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12834 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12835 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12836 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12837 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12838 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12839 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12840 (
12841 cat <<\_ASBOX
12842 ## ----------------------------------------- ##
12843 ## Report this to wx-dev@lists.wxwindows.org ##
12844 ## ----------------------------------------- ##
12845 _ASBOX
12846 ) |
12847 sed "s/^/$as_me: WARNING: /" >&2
12848 ;;
12849 esac
12850 echo "$as_me:$LINENO: checking for $ac_header" >&5
12851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12853 echo $ECHO_N "(cached) $ECHO_C" >&6
12854 else
12855 eval "$as_ac_Header=\$ac_header_preproc"
12856 fi
12857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12858 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12859
12860 fi
12861 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12862 cat >>confdefs.h <<_ACEOF
12863 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12864 _ACEOF
12865
12866 fi
12867
12868 done
12869
12870
12871 for ac_header in unistd.h
12872 do
12873 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12874 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12875 echo "$as_me:$LINENO: checking for $ac_header" >&5
12876 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12878 echo $ECHO_N "(cached) $ECHO_C" >&6
12879 fi
12880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12881 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12882 else
12883 # Is the header compilable?
12884 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12885 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12886 cat >conftest.$ac_ext <<_ACEOF
12887 /* confdefs.h. */
12888 _ACEOF
12889 cat confdefs.h >>conftest.$ac_ext
12890 cat >>conftest.$ac_ext <<_ACEOF
12891 /* end confdefs.h. */
12892 $ac_includes_default
12893 #include <$ac_header>
12894 _ACEOF
12895 rm -f conftest.$ac_objext
12896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12897 (eval $ac_compile) 2>conftest.er1
12898 ac_status=$?
12899 grep -v '^ *+' conftest.er1 >conftest.err
12900 rm -f conftest.er1
12901 cat conftest.err >&5
12902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); } &&
12904 { ac_try='test -z "$ac_c_werror_flag"
12905 || test ! -s conftest.err'
12906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12907 (eval $ac_try) 2>&5
12908 ac_status=$?
12909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12910 (exit $ac_status); }; } &&
12911 { ac_try='test -s conftest.$ac_objext'
12912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12913 (eval $ac_try) 2>&5
12914 ac_status=$?
12915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12916 (exit $ac_status); }; }; then
12917 ac_header_compiler=yes
12918 else
12919 echo "$as_me: failed program was:" >&5
12920 sed 's/^/| /' conftest.$ac_ext >&5
12921
12922 ac_header_compiler=no
12923 fi
12924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12925 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12926 echo "${ECHO_T}$ac_header_compiler" >&6
12927
12928 # Is the header present?
12929 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12930 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12931 cat >conftest.$ac_ext <<_ACEOF
12932 /* confdefs.h. */
12933 _ACEOF
12934 cat confdefs.h >>conftest.$ac_ext
12935 cat >>conftest.$ac_ext <<_ACEOF
12936 /* end confdefs.h. */
12937 #include <$ac_header>
12938 _ACEOF
12939 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12940 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12941 ac_status=$?
12942 grep -v '^ *+' conftest.er1 >conftest.err
12943 rm -f conftest.er1
12944 cat conftest.err >&5
12945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12946 (exit $ac_status); } >/dev/null; then
12947 if test -s conftest.err; then
12948 ac_cpp_err=$ac_c_preproc_warn_flag
12949 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12950 else
12951 ac_cpp_err=
12952 fi
12953 else
12954 ac_cpp_err=yes
12955 fi
12956 if test -z "$ac_cpp_err"; then
12957 ac_header_preproc=yes
12958 else
12959 echo "$as_me: failed program was:" >&5
12960 sed 's/^/| /' conftest.$ac_ext >&5
12961
12962 ac_header_preproc=no
12963 fi
12964 rm -f conftest.err conftest.$ac_ext
12965 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12966 echo "${ECHO_T}$ac_header_preproc" >&6
12967
12968 # So? What about this header?
12969 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12970 yes:no: )
12971 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12972 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12973 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12974 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12975 ac_header_preproc=yes
12976 ;;
12977 no:yes:* )
12978 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12979 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12980 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12981 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12982 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12983 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12984 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12985 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12986 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12987 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12988 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12989 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12990 (
12991 cat <<\_ASBOX
12992 ## ----------------------------------------- ##
12993 ## Report this to wx-dev@lists.wxwindows.org ##
12994 ## ----------------------------------------- ##
12995 _ASBOX
12996 ) |
12997 sed "s/^/$as_me: WARNING: /" >&2
12998 ;;
12999 esac
13000 echo "$as_me:$LINENO: checking for $ac_header" >&5
13001 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13002 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13003 echo $ECHO_N "(cached) $ECHO_C" >&6
13004 else
13005 eval "$as_ac_Header=\$ac_header_preproc"
13006 fi
13007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13008 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13009
13010 fi
13011 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13012 cat >>confdefs.h <<_ACEOF
13013 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13014 _ACEOF
13015
13016 fi
13017
13018 done
13019
13020
13021 for ac_header in wchar.h
13022 do
13023 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13025 echo "$as_me:$LINENO: checking for $ac_header" >&5
13026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13028 echo $ECHO_N "(cached) $ECHO_C" >&6
13029 fi
13030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13031 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13032 else
13033 # Is the header compilable?
13034 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13035 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13036 cat >conftest.$ac_ext <<_ACEOF
13037 /* confdefs.h. */
13038 _ACEOF
13039 cat confdefs.h >>conftest.$ac_ext
13040 cat >>conftest.$ac_ext <<_ACEOF
13041 /* end confdefs.h. */
13042 $ac_includes_default
13043 #include <$ac_header>
13044 _ACEOF
13045 rm -f conftest.$ac_objext
13046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13047 (eval $ac_compile) 2>conftest.er1
13048 ac_status=$?
13049 grep -v '^ *+' conftest.er1 >conftest.err
13050 rm -f conftest.er1
13051 cat conftest.err >&5
13052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13053 (exit $ac_status); } &&
13054 { ac_try='test -z "$ac_c_werror_flag"
13055 || test ! -s conftest.err'
13056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13057 (eval $ac_try) 2>&5
13058 ac_status=$?
13059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13060 (exit $ac_status); }; } &&
13061 { ac_try='test -s conftest.$ac_objext'
13062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13063 (eval $ac_try) 2>&5
13064 ac_status=$?
13065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13066 (exit $ac_status); }; }; then
13067 ac_header_compiler=yes
13068 else
13069 echo "$as_me: failed program was:" >&5
13070 sed 's/^/| /' conftest.$ac_ext >&5
13071
13072 ac_header_compiler=no
13073 fi
13074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13075 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13076 echo "${ECHO_T}$ac_header_compiler" >&6
13077
13078 # Is the header present?
13079 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13080 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13081 cat >conftest.$ac_ext <<_ACEOF
13082 /* confdefs.h. */
13083 _ACEOF
13084 cat confdefs.h >>conftest.$ac_ext
13085 cat >>conftest.$ac_ext <<_ACEOF
13086 /* end confdefs.h. */
13087 #include <$ac_header>
13088 _ACEOF
13089 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13090 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13091 ac_status=$?
13092 grep -v '^ *+' conftest.er1 >conftest.err
13093 rm -f conftest.er1
13094 cat conftest.err >&5
13095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13096 (exit $ac_status); } >/dev/null; then
13097 if test -s conftest.err; then
13098 ac_cpp_err=$ac_c_preproc_warn_flag
13099 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13100 else
13101 ac_cpp_err=
13102 fi
13103 else
13104 ac_cpp_err=yes
13105 fi
13106 if test -z "$ac_cpp_err"; then
13107 ac_header_preproc=yes
13108 else
13109 echo "$as_me: failed program was:" >&5
13110 sed 's/^/| /' conftest.$ac_ext >&5
13111
13112 ac_header_preproc=no
13113 fi
13114 rm -f conftest.err conftest.$ac_ext
13115 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13116 echo "${ECHO_T}$ac_header_preproc" >&6
13117
13118 # So? What about this header?
13119 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13120 yes:no: )
13121 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13122 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13123 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13124 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13125 ac_header_preproc=yes
13126 ;;
13127 no:yes:* )
13128 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13129 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13130 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13131 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13132 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13133 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13134 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13135 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13136 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13137 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13138 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13139 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13140 (
13141 cat <<\_ASBOX
13142 ## ----------------------------------------- ##
13143 ## Report this to wx-dev@lists.wxwindows.org ##
13144 ## ----------------------------------------- ##
13145 _ASBOX
13146 ) |
13147 sed "s/^/$as_me: WARNING: /" >&2
13148 ;;
13149 esac
13150 echo "$as_me:$LINENO: checking for $ac_header" >&5
13151 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13152 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13153 echo $ECHO_N "(cached) $ECHO_C" >&6
13154 else
13155 eval "$as_ac_Header=\$ac_header_preproc"
13156 fi
13157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13158 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13159
13160 fi
13161 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13162 cat >>confdefs.h <<_ACEOF
13163 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13164 _ACEOF
13165
13166 fi
13167
13168 done
13169
13170
13171 if test "$ac_cv_header_wchar_h" != "yes"; then
13172
13173 for ac_header in wcstr.h
13174 do
13175 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13176 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13177 echo "$as_me:$LINENO: checking for $ac_header" >&5
13178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13179 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13180 echo $ECHO_N "(cached) $ECHO_C" >&6
13181 fi
13182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13183 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13184 else
13185 # Is the header compilable?
13186 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13187 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13188 cat >conftest.$ac_ext <<_ACEOF
13189 /* confdefs.h. */
13190 _ACEOF
13191 cat confdefs.h >>conftest.$ac_ext
13192 cat >>conftest.$ac_ext <<_ACEOF
13193 /* end confdefs.h. */
13194 $ac_includes_default
13195 #include <$ac_header>
13196 _ACEOF
13197 rm -f conftest.$ac_objext
13198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13199 (eval $ac_compile) 2>conftest.er1
13200 ac_status=$?
13201 grep -v '^ *+' conftest.er1 >conftest.err
13202 rm -f conftest.er1
13203 cat conftest.err >&5
13204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13205 (exit $ac_status); } &&
13206 { ac_try='test -z "$ac_c_werror_flag"
13207 || test ! -s conftest.err'
13208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13209 (eval $ac_try) 2>&5
13210 ac_status=$?
13211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13212 (exit $ac_status); }; } &&
13213 { ac_try='test -s conftest.$ac_objext'
13214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13215 (eval $ac_try) 2>&5
13216 ac_status=$?
13217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13218 (exit $ac_status); }; }; then
13219 ac_header_compiler=yes
13220 else
13221 echo "$as_me: failed program was:" >&5
13222 sed 's/^/| /' conftest.$ac_ext >&5
13223
13224 ac_header_compiler=no
13225 fi
13226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13227 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13228 echo "${ECHO_T}$ac_header_compiler" >&6
13229
13230 # Is the header present?
13231 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13232 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13233 cat >conftest.$ac_ext <<_ACEOF
13234 /* confdefs.h. */
13235 _ACEOF
13236 cat confdefs.h >>conftest.$ac_ext
13237 cat >>conftest.$ac_ext <<_ACEOF
13238 /* end confdefs.h. */
13239 #include <$ac_header>
13240 _ACEOF
13241 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13242 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13243 ac_status=$?
13244 grep -v '^ *+' conftest.er1 >conftest.err
13245 rm -f conftest.er1
13246 cat conftest.err >&5
13247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13248 (exit $ac_status); } >/dev/null; then
13249 if test -s conftest.err; then
13250 ac_cpp_err=$ac_c_preproc_warn_flag
13251 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13252 else
13253 ac_cpp_err=
13254 fi
13255 else
13256 ac_cpp_err=yes
13257 fi
13258 if test -z "$ac_cpp_err"; then
13259 ac_header_preproc=yes
13260 else
13261 echo "$as_me: failed program was:" >&5
13262 sed 's/^/| /' conftest.$ac_ext >&5
13263
13264 ac_header_preproc=no
13265 fi
13266 rm -f conftest.err conftest.$ac_ext
13267 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13268 echo "${ECHO_T}$ac_header_preproc" >&6
13269
13270 # So? What about this header?
13271 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13272 yes:no: )
13273 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13274 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13275 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13276 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13277 ac_header_preproc=yes
13278 ;;
13279 no:yes:* )
13280 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13281 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13282 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13283 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13284 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13285 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13286 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13287 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13288 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13289 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13290 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13291 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13292 (
13293 cat <<\_ASBOX
13294 ## ----------------------------------------- ##
13295 ## Report this to wx-dev@lists.wxwindows.org ##
13296 ## ----------------------------------------- ##
13297 _ASBOX
13298 ) |
13299 sed "s/^/$as_me: WARNING: /" >&2
13300 ;;
13301 esac
13302 echo "$as_me:$LINENO: checking for $ac_header" >&5
13303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13305 echo $ECHO_N "(cached) $ECHO_C" >&6
13306 else
13307 eval "$as_ac_Header=\$ac_header_preproc"
13308 fi
13309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13310 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13311
13312 fi
13313 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13314 cat >>confdefs.h <<_ACEOF
13315 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13316 _ACEOF
13317
13318 fi
13319
13320 done
13321
13322 fi
13323
13324
13325 for ac_header in fnmatch.h
13326 do
13327 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13329 echo "$as_me:$LINENO: checking for $ac_header" >&5
13330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13331 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13332 echo $ECHO_N "(cached) $ECHO_C" >&6
13333 fi
13334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13335 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13336 else
13337 # Is the header compilable?
13338 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13339 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13340 cat >conftest.$ac_ext <<_ACEOF
13341 /* confdefs.h. */
13342 _ACEOF
13343 cat confdefs.h >>conftest.$ac_ext
13344 cat >>conftest.$ac_ext <<_ACEOF
13345 /* end confdefs.h. */
13346 $ac_includes_default
13347 #include <$ac_header>
13348 _ACEOF
13349 rm -f conftest.$ac_objext
13350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13351 (eval $ac_compile) 2>conftest.er1
13352 ac_status=$?
13353 grep -v '^ *+' conftest.er1 >conftest.err
13354 rm -f conftest.er1
13355 cat conftest.err >&5
13356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13357 (exit $ac_status); } &&
13358 { ac_try='test -z "$ac_c_werror_flag"
13359 || test ! -s conftest.err'
13360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13361 (eval $ac_try) 2>&5
13362 ac_status=$?
13363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13364 (exit $ac_status); }; } &&
13365 { ac_try='test -s conftest.$ac_objext'
13366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13367 (eval $ac_try) 2>&5
13368 ac_status=$?
13369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13370 (exit $ac_status); }; }; then
13371 ac_header_compiler=yes
13372 else
13373 echo "$as_me: failed program was:" >&5
13374 sed 's/^/| /' conftest.$ac_ext >&5
13375
13376 ac_header_compiler=no
13377 fi
13378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13379 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13380 echo "${ECHO_T}$ac_header_compiler" >&6
13381
13382 # Is the header present?
13383 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13384 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13385 cat >conftest.$ac_ext <<_ACEOF
13386 /* confdefs.h. */
13387 _ACEOF
13388 cat confdefs.h >>conftest.$ac_ext
13389 cat >>conftest.$ac_ext <<_ACEOF
13390 /* end confdefs.h. */
13391 #include <$ac_header>
13392 _ACEOF
13393 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13394 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13395 ac_status=$?
13396 grep -v '^ *+' conftest.er1 >conftest.err
13397 rm -f conftest.er1
13398 cat conftest.err >&5
13399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13400 (exit $ac_status); } >/dev/null; then
13401 if test -s conftest.err; then
13402 ac_cpp_err=$ac_c_preproc_warn_flag
13403 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13404 else
13405 ac_cpp_err=
13406 fi
13407 else
13408 ac_cpp_err=yes
13409 fi
13410 if test -z "$ac_cpp_err"; then
13411 ac_header_preproc=yes
13412 else
13413 echo "$as_me: failed program was:" >&5
13414 sed 's/^/| /' conftest.$ac_ext >&5
13415
13416 ac_header_preproc=no
13417 fi
13418 rm -f conftest.err conftest.$ac_ext
13419 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13420 echo "${ECHO_T}$ac_header_preproc" >&6
13421
13422 # So? What about this header?
13423 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13424 yes:no: )
13425 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13426 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13427 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13428 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13429 ac_header_preproc=yes
13430 ;;
13431 no:yes:* )
13432 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13433 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13434 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13435 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13436 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13437 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13438 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13439 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13440 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13441 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13442 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13443 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13444 (
13445 cat <<\_ASBOX
13446 ## ----------------------------------------- ##
13447 ## Report this to wx-dev@lists.wxwindows.org ##
13448 ## ----------------------------------------- ##
13449 _ASBOX
13450 ) |
13451 sed "s/^/$as_me: WARNING: /" >&2
13452 ;;
13453 esac
13454 echo "$as_me:$LINENO: checking for $ac_header" >&5
13455 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13457 echo $ECHO_N "(cached) $ECHO_C" >&6
13458 else
13459 eval "$as_ac_Header=\$ac_header_preproc"
13460 fi
13461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13462 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13463
13464 fi
13465 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13466 cat >>confdefs.h <<_ACEOF
13467 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13468 _ACEOF
13469
13470 fi
13471
13472 done
13473
13474
13475 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13476
13477 for ac_func in fnmatch
13478 do
13479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13480 echo "$as_me:$LINENO: checking for $ac_func" >&5
13481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13482 if eval "test \"\${$as_ac_var+set}\" = set"; then
13483 echo $ECHO_N "(cached) $ECHO_C" >&6
13484 else
13485 cat >conftest.$ac_ext <<_ACEOF
13486 /* confdefs.h. */
13487 _ACEOF
13488 cat confdefs.h >>conftest.$ac_ext
13489 cat >>conftest.$ac_ext <<_ACEOF
13490 /* end confdefs.h. */
13491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13493 #define $ac_func innocuous_$ac_func
13494
13495 /* System header to define __stub macros and hopefully few prototypes,
13496 which can conflict with char $ac_func (); below.
13497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13498 <limits.h> exists even on freestanding compilers. */
13499
13500 #ifdef __STDC__
13501 # include <limits.h>
13502 #else
13503 # include <assert.h>
13504 #endif
13505
13506 #undef $ac_func
13507
13508 /* Override any gcc2 internal prototype to avoid an error. */
13509 #ifdef __cplusplus
13510 extern "C"
13511 {
13512 #endif
13513 /* We use char because int might match the return type of a gcc2
13514 builtin and then its argument prototype would still apply. */
13515 char $ac_func ();
13516 /* The GNU C library defines this for functions which it implements
13517 to always fail with ENOSYS. Some functions are actually named
13518 something starting with __ and the normal name is an alias. */
13519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13520 choke me
13521 #else
13522 char (*f) () = $ac_func;
13523 #endif
13524 #ifdef __cplusplus
13525 }
13526 #endif
13527
13528 int
13529 main ()
13530 {
13531 return f != $ac_func;
13532 ;
13533 return 0;
13534 }
13535 _ACEOF
13536 rm -f conftest.$ac_objext conftest$ac_exeext
13537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13538 (eval $ac_link) 2>conftest.er1
13539 ac_status=$?
13540 grep -v '^ *+' conftest.er1 >conftest.err
13541 rm -f conftest.er1
13542 cat conftest.err >&5
13543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13544 (exit $ac_status); } &&
13545 { ac_try='test -z "$ac_c_werror_flag"
13546 || test ! -s conftest.err'
13547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13548 (eval $ac_try) 2>&5
13549 ac_status=$?
13550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13551 (exit $ac_status); }; } &&
13552 { ac_try='test -s conftest$ac_exeext'
13553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13554 (eval $ac_try) 2>&5
13555 ac_status=$?
13556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13557 (exit $ac_status); }; }; then
13558 eval "$as_ac_var=yes"
13559 else
13560 echo "$as_me: failed program was:" >&5
13561 sed 's/^/| /' conftest.$ac_ext >&5
13562
13563 eval "$as_ac_var=no"
13564 fi
13565 rm -f conftest.err conftest.$ac_objext \
13566 conftest$ac_exeext conftest.$ac_ext
13567 fi
13568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13570 if test `eval echo '${'$as_ac_var'}'` = yes; then
13571 cat >>confdefs.h <<_ACEOF
13572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13573 _ACEOF
13574
13575 fi
13576 done
13577
13578 fi
13579
13580
13581 for ac_header in langinfo.h
13582 do
13583 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13584 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13585 echo "$as_me:$LINENO: checking for $ac_header" >&5
13586 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13587 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13588 echo $ECHO_N "(cached) $ECHO_C" >&6
13589 fi
13590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13591 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13592 else
13593 # Is the header compilable?
13594 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13595 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13596 cat >conftest.$ac_ext <<_ACEOF
13597 /* confdefs.h. */
13598 _ACEOF
13599 cat confdefs.h >>conftest.$ac_ext
13600 cat >>conftest.$ac_ext <<_ACEOF
13601 /* end confdefs.h. */
13602 $ac_includes_default
13603 #include <$ac_header>
13604 _ACEOF
13605 rm -f conftest.$ac_objext
13606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13607 (eval $ac_compile) 2>conftest.er1
13608 ac_status=$?
13609 grep -v '^ *+' conftest.er1 >conftest.err
13610 rm -f conftest.er1
13611 cat conftest.err >&5
13612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13613 (exit $ac_status); } &&
13614 { ac_try='test -z "$ac_c_werror_flag"
13615 || test ! -s conftest.err'
13616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13617 (eval $ac_try) 2>&5
13618 ac_status=$?
13619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13620 (exit $ac_status); }; } &&
13621 { ac_try='test -s conftest.$ac_objext'
13622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13623 (eval $ac_try) 2>&5
13624 ac_status=$?
13625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13626 (exit $ac_status); }; }; then
13627 ac_header_compiler=yes
13628 else
13629 echo "$as_me: failed program was:" >&5
13630 sed 's/^/| /' conftest.$ac_ext >&5
13631
13632 ac_header_compiler=no
13633 fi
13634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13635 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13636 echo "${ECHO_T}$ac_header_compiler" >&6
13637
13638 # Is the header present?
13639 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13640 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13641 cat >conftest.$ac_ext <<_ACEOF
13642 /* confdefs.h. */
13643 _ACEOF
13644 cat confdefs.h >>conftest.$ac_ext
13645 cat >>conftest.$ac_ext <<_ACEOF
13646 /* end confdefs.h. */
13647 #include <$ac_header>
13648 _ACEOF
13649 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13650 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13651 ac_status=$?
13652 grep -v '^ *+' conftest.er1 >conftest.err
13653 rm -f conftest.er1
13654 cat conftest.err >&5
13655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13656 (exit $ac_status); } >/dev/null; then
13657 if test -s conftest.err; then
13658 ac_cpp_err=$ac_c_preproc_warn_flag
13659 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13660 else
13661 ac_cpp_err=
13662 fi
13663 else
13664 ac_cpp_err=yes
13665 fi
13666 if test -z "$ac_cpp_err"; then
13667 ac_header_preproc=yes
13668 else
13669 echo "$as_me: failed program was:" >&5
13670 sed 's/^/| /' conftest.$ac_ext >&5
13671
13672 ac_header_preproc=no
13673 fi
13674 rm -f conftest.err conftest.$ac_ext
13675 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13676 echo "${ECHO_T}$ac_header_preproc" >&6
13677
13678 # So? What about this header?
13679 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13680 yes:no: )
13681 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13682 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13683 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13684 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13685 ac_header_preproc=yes
13686 ;;
13687 no:yes:* )
13688 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13689 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13690 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13691 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13692 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13693 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13694 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13695 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13696 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13697 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13698 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13699 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13700 (
13701 cat <<\_ASBOX
13702 ## ----------------------------------------- ##
13703 ## Report this to wx-dev@lists.wxwindows.org ##
13704 ## ----------------------------------------- ##
13705 _ASBOX
13706 ) |
13707 sed "s/^/$as_me: WARNING: /" >&2
13708 ;;
13709 esac
13710 echo "$as_me:$LINENO: checking for $ac_header" >&5
13711 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13712 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13713 echo $ECHO_N "(cached) $ECHO_C" >&6
13714 else
13715 eval "$as_ac_Header=\$ac_header_preproc"
13716 fi
13717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13718 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13719
13720 fi
13721 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13722 cat >>confdefs.h <<_ACEOF
13723 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13724 _ACEOF
13725
13726 fi
13727
13728 done
13729
13730
13731 case "${host}" in
13732 *-pc-os2_emx | *-pc-os2-emx )
13733 if test $ac_cv_header_langinfo_h = "yes"; then
13734 LIBS="$LIBS -lintl"
13735 fi
13736 ;;
13737 esac
13738
13739 if test "$wxUSE_GUI" = "yes"; then
13740 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13741
13742 for ac_header in X11/Xlib.h
13743 do
13744 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13745 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13746 echo "$as_me:$LINENO: checking for $ac_header" >&5
13747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13749 echo $ECHO_N "(cached) $ECHO_C" >&6
13750 fi
13751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13752 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13753 else
13754 # Is the header compilable?
13755 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13756 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13757 cat >conftest.$ac_ext <<_ACEOF
13758 /* confdefs.h. */
13759 _ACEOF
13760 cat confdefs.h >>conftest.$ac_ext
13761 cat >>conftest.$ac_ext <<_ACEOF
13762 /* end confdefs.h. */
13763 $ac_includes_default
13764 #include <$ac_header>
13765 _ACEOF
13766 rm -f conftest.$ac_objext
13767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13768 (eval $ac_compile) 2>conftest.er1
13769 ac_status=$?
13770 grep -v '^ *+' conftest.er1 >conftest.err
13771 rm -f conftest.er1
13772 cat conftest.err >&5
13773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13774 (exit $ac_status); } &&
13775 { ac_try='test -z "$ac_c_werror_flag"
13776 || test ! -s conftest.err'
13777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13778 (eval $ac_try) 2>&5
13779 ac_status=$?
13780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13781 (exit $ac_status); }; } &&
13782 { ac_try='test -s conftest.$ac_objext'
13783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13784 (eval $ac_try) 2>&5
13785 ac_status=$?
13786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13787 (exit $ac_status); }; }; then
13788 ac_header_compiler=yes
13789 else
13790 echo "$as_me: failed program was:" >&5
13791 sed 's/^/| /' conftest.$ac_ext >&5
13792
13793 ac_header_compiler=no
13794 fi
13795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13796 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13797 echo "${ECHO_T}$ac_header_compiler" >&6
13798
13799 # Is the header present?
13800 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13801 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13802 cat >conftest.$ac_ext <<_ACEOF
13803 /* confdefs.h. */
13804 _ACEOF
13805 cat confdefs.h >>conftest.$ac_ext
13806 cat >>conftest.$ac_ext <<_ACEOF
13807 /* end confdefs.h. */
13808 #include <$ac_header>
13809 _ACEOF
13810 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13811 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13812 ac_status=$?
13813 grep -v '^ *+' conftest.er1 >conftest.err
13814 rm -f conftest.er1
13815 cat conftest.err >&5
13816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13817 (exit $ac_status); } >/dev/null; then
13818 if test -s conftest.err; then
13819 ac_cpp_err=$ac_c_preproc_warn_flag
13820 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13821 else
13822 ac_cpp_err=
13823 fi
13824 else
13825 ac_cpp_err=yes
13826 fi
13827 if test -z "$ac_cpp_err"; then
13828 ac_header_preproc=yes
13829 else
13830 echo "$as_me: failed program was:" >&5
13831 sed 's/^/| /' conftest.$ac_ext >&5
13832
13833 ac_header_preproc=no
13834 fi
13835 rm -f conftest.err conftest.$ac_ext
13836 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13837 echo "${ECHO_T}$ac_header_preproc" >&6
13838
13839 # So? What about this header?
13840 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13841 yes:no: )
13842 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13843 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13844 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13845 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13846 ac_header_preproc=yes
13847 ;;
13848 no:yes:* )
13849 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13850 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13851 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13852 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13853 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13854 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13855 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13856 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13857 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13858 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13859 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13860 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13861 (
13862 cat <<\_ASBOX
13863 ## ----------------------------------------- ##
13864 ## Report this to wx-dev@lists.wxwindows.org ##
13865 ## ----------------------------------------- ##
13866 _ASBOX
13867 ) |
13868 sed "s/^/$as_me: WARNING: /" >&2
13869 ;;
13870 esac
13871 echo "$as_me:$LINENO: checking for $ac_header" >&5
13872 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13873 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13874 echo $ECHO_N "(cached) $ECHO_C" >&6
13875 else
13876 eval "$as_ac_Header=\$ac_header_preproc"
13877 fi
13878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13879 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13880
13881 fi
13882 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13883 cat >>confdefs.h <<_ACEOF
13884 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13885 _ACEOF
13886
13887 fi
13888
13889 done
13890
13891
13892 for ac_header in X11/XKBlib.h
13893 do
13894 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13895 echo "$as_me:$LINENO: checking for $ac_header" >&5
13896 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13897 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13898 echo $ECHO_N "(cached) $ECHO_C" >&6
13899 else
13900 cat >conftest.$ac_ext <<_ACEOF
13901 /* confdefs.h. */
13902 _ACEOF
13903 cat confdefs.h >>conftest.$ac_ext
13904 cat >>conftest.$ac_ext <<_ACEOF
13905 /* end confdefs.h. */
13906
13907 #if HAVE_X11_XLIB_H
13908 #include <X11/Xlib.h>
13909 #endif
13910
13911
13912 #include <$ac_header>
13913 _ACEOF
13914 rm -f conftest.$ac_objext
13915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13916 (eval $ac_compile) 2>conftest.er1
13917 ac_status=$?
13918 grep -v '^ *+' conftest.er1 >conftest.err
13919 rm -f conftest.er1
13920 cat conftest.err >&5
13921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13922 (exit $ac_status); } &&
13923 { ac_try='test -z "$ac_c_werror_flag"
13924 || test ! -s conftest.err'
13925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13926 (eval $ac_try) 2>&5
13927 ac_status=$?
13928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13929 (exit $ac_status); }; } &&
13930 { ac_try='test -s conftest.$ac_objext'
13931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13932 (eval $ac_try) 2>&5
13933 ac_status=$?
13934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13935 (exit $ac_status); }; }; then
13936 eval "$as_ac_Header=yes"
13937 else
13938 echo "$as_me: failed program was:" >&5
13939 sed 's/^/| /' conftest.$ac_ext >&5
13940
13941 eval "$as_ac_Header=no"
13942 fi
13943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13944 fi
13945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13946 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13947 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13948 cat >>confdefs.h <<_ACEOF
13949 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13950 _ACEOF
13951
13952 fi
13953
13954 done
13955
13956 fi
13957 fi
13958
13959
13960 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13961 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13962 if test "${ac_cv_c_const+set}" = set; then
13963 echo $ECHO_N "(cached) $ECHO_C" >&6
13964 else
13965 cat >conftest.$ac_ext <<_ACEOF
13966 /* confdefs.h. */
13967 _ACEOF
13968 cat confdefs.h >>conftest.$ac_ext
13969 cat >>conftest.$ac_ext <<_ACEOF
13970 /* end confdefs.h. */
13971
13972 int
13973 main ()
13974 {
13975 /* FIXME: Include the comments suggested by Paul. */
13976 #ifndef __cplusplus
13977 /* Ultrix mips cc rejects this. */
13978 typedef int charset[2];
13979 const charset x;
13980 /* SunOS 4.1.1 cc rejects this. */
13981 char const *const *ccp;
13982 char **p;
13983 /* NEC SVR4.0.2 mips cc rejects this. */
13984 struct point {int x, y;};
13985 static struct point const zero = {0,0};
13986 /* AIX XL C 1.02.0.0 rejects this.
13987 It does not let you subtract one const X* pointer from another in
13988 an arm of an if-expression whose if-part is not a constant
13989 expression */
13990 const char *g = "string";
13991 ccp = &g + (g ? g-g : 0);
13992 /* HPUX 7.0 cc rejects these. */
13993 ++ccp;
13994 p = (char**) ccp;
13995 ccp = (char const *const *) p;
13996 { /* SCO 3.2v4 cc rejects this. */
13997 char *t;
13998 char const *s = 0 ? (char *) 0 : (char const *) 0;
13999
14000 *t++ = 0;
14001 }
14002 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14003 int x[] = {25, 17};
14004 const int *foo = &x[0];
14005 ++foo;
14006 }
14007 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14008 typedef const int *iptr;
14009 iptr p = 0;
14010 ++p;
14011 }
14012 { /* AIX XL C 1.02.0.0 rejects this saying
14013 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14014 struct s { int j; const int *ap[3]; };
14015 struct s *b; b->j = 5;
14016 }
14017 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14018 const int foo = 10;
14019 }
14020 #endif
14021
14022 ;
14023 return 0;
14024 }
14025 _ACEOF
14026 rm -f conftest.$ac_objext
14027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14028 (eval $ac_compile) 2>conftest.er1
14029 ac_status=$?
14030 grep -v '^ *+' conftest.er1 >conftest.err
14031 rm -f conftest.er1
14032 cat conftest.err >&5
14033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14034 (exit $ac_status); } &&
14035 { ac_try='test -z "$ac_c_werror_flag"
14036 || test ! -s conftest.err'
14037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14038 (eval $ac_try) 2>&5
14039 ac_status=$?
14040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14041 (exit $ac_status); }; } &&
14042 { ac_try='test -s conftest.$ac_objext'
14043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14044 (eval $ac_try) 2>&5
14045 ac_status=$?
14046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14047 (exit $ac_status); }; }; then
14048 ac_cv_c_const=yes
14049 else
14050 echo "$as_me: failed program was:" >&5
14051 sed 's/^/| /' conftest.$ac_ext >&5
14052
14053 ac_cv_c_const=no
14054 fi
14055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14056 fi
14057 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14058 echo "${ECHO_T}$ac_cv_c_const" >&6
14059 if test $ac_cv_c_const = no; then
14060
14061 cat >>confdefs.h <<\_ACEOF
14062 #define const
14063 _ACEOF
14064
14065 fi
14066
14067 echo "$as_me:$LINENO: checking for inline" >&5
14068 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14069 if test "${ac_cv_c_inline+set}" = set; then
14070 echo $ECHO_N "(cached) $ECHO_C" >&6
14071 else
14072 ac_cv_c_inline=no
14073 for ac_kw in inline __inline__ __inline; do
14074 cat >conftest.$ac_ext <<_ACEOF
14075 /* confdefs.h. */
14076 _ACEOF
14077 cat confdefs.h >>conftest.$ac_ext
14078 cat >>conftest.$ac_ext <<_ACEOF
14079 /* end confdefs.h. */
14080 #ifndef __cplusplus
14081 typedef int foo_t;
14082 static $ac_kw foo_t static_foo () {return 0; }
14083 $ac_kw foo_t foo () {return 0; }
14084 #endif
14085
14086 _ACEOF
14087 rm -f conftest.$ac_objext
14088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14089 (eval $ac_compile) 2>conftest.er1
14090 ac_status=$?
14091 grep -v '^ *+' conftest.er1 >conftest.err
14092 rm -f conftest.er1
14093 cat conftest.err >&5
14094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095 (exit $ac_status); } &&
14096 { ac_try='test -z "$ac_c_werror_flag"
14097 || test ! -s conftest.err'
14098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14099 (eval $ac_try) 2>&5
14100 ac_status=$?
14101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14102 (exit $ac_status); }; } &&
14103 { ac_try='test -s conftest.$ac_objext'
14104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14105 (eval $ac_try) 2>&5
14106 ac_status=$?
14107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14108 (exit $ac_status); }; }; then
14109 ac_cv_c_inline=$ac_kw; break
14110 else
14111 echo "$as_me: failed program was:" >&5
14112 sed 's/^/| /' conftest.$ac_ext >&5
14113
14114 fi
14115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14116 done
14117
14118 fi
14119 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14120 echo "${ECHO_T}$ac_cv_c_inline" >&6
14121
14122
14123 case $ac_cv_c_inline in
14124 inline | yes) ;;
14125 *)
14126 case $ac_cv_c_inline in
14127 no) ac_val=;;
14128 *) ac_val=$ac_cv_c_inline;;
14129 esac
14130 cat >>confdefs.h <<_ACEOF
14131 #ifndef __cplusplus
14132 #define inline $ac_val
14133 #endif
14134 _ACEOF
14135 ;;
14136 esac
14137
14138
14139 echo "$as_me:$LINENO: checking for char" >&5
14140 echo $ECHO_N "checking for char... $ECHO_C" >&6
14141 if test "${ac_cv_type_char+set}" = set; then
14142 echo $ECHO_N "(cached) $ECHO_C" >&6
14143 else
14144 cat >conftest.$ac_ext <<_ACEOF
14145 /* confdefs.h. */
14146 _ACEOF
14147 cat confdefs.h >>conftest.$ac_ext
14148 cat >>conftest.$ac_ext <<_ACEOF
14149 /* end confdefs.h. */
14150 $ac_includes_default
14151 int
14152 main ()
14153 {
14154 if ((char *) 0)
14155 return 0;
14156 if (sizeof (char))
14157 return 0;
14158 ;
14159 return 0;
14160 }
14161 _ACEOF
14162 rm -f conftest.$ac_objext
14163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14164 (eval $ac_compile) 2>conftest.er1
14165 ac_status=$?
14166 grep -v '^ *+' conftest.er1 >conftest.err
14167 rm -f conftest.er1
14168 cat conftest.err >&5
14169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14170 (exit $ac_status); } &&
14171 { ac_try='test -z "$ac_c_werror_flag"
14172 || test ! -s conftest.err'
14173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14174 (eval $ac_try) 2>&5
14175 ac_status=$?
14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177 (exit $ac_status); }; } &&
14178 { ac_try='test -s conftest.$ac_objext'
14179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14180 (eval $ac_try) 2>&5
14181 ac_status=$?
14182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14183 (exit $ac_status); }; }; then
14184 ac_cv_type_char=yes
14185 else
14186 echo "$as_me: failed program was:" >&5
14187 sed 's/^/| /' conftest.$ac_ext >&5
14188
14189 ac_cv_type_char=no
14190 fi
14191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14192 fi
14193 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14194 echo "${ECHO_T}$ac_cv_type_char" >&6
14195
14196 echo "$as_me:$LINENO: checking size of char" >&5
14197 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14198 if test "${ac_cv_sizeof_char+set}" = set; then
14199 echo $ECHO_N "(cached) $ECHO_C" >&6
14200 else
14201 if test "$ac_cv_type_char" = yes; then
14202 # The cast to unsigned long works around a bug in the HP C Compiler
14203 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14204 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14205 # This bug is HP SR number 8606223364.
14206 if test "$cross_compiling" = yes; then
14207 # Depending upon the size, compute the lo and hi bounds.
14208 cat >conftest.$ac_ext <<_ACEOF
14209 /* confdefs.h. */
14210 _ACEOF
14211 cat confdefs.h >>conftest.$ac_ext
14212 cat >>conftest.$ac_ext <<_ACEOF
14213 /* end confdefs.h. */
14214 $ac_includes_default
14215 int
14216 main ()
14217 {
14218 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14219 test_array [0] = 0
14220
14221 ;
14222 return 0;
14223 }
14224 _ACEOF
14225 rm -f conftest.$ac_objext
14226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14227 (eval $ac_compile) 2>conftest.er1
14228 ac_status=$?
14229 grep -v '^ *+' conftest.er1 >conftest.err
14230 rm -f conftest.er1
14231 cat conftest.err >&5
14232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14233 (exit $ac_status); } &&
14234 { ac_try='test -z "$ac_c_werror_flag"
14235 || test ! -s conftest.err'
14236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14237 (eval $ac_try) 2>&5
14238 ac_status=$?
14239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14240 (exit $ac_status); }; } &&
14241 { ac_try='test -s conftest.$ac_objext'
14242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14243 (eval $ac_try) 2>&5
14244 ac_status=$?
14245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14246 (exit $ac_status); }; }; then
14247 ac_lo=0 ac_mid=0
14248 while :; do
14249 cat >conftest.$ac_ext <<_ACEOF
14250 /* confdefs.h. */
14251 _ACEOF
14252 cat confdefs.h >>conftest.$ac_ext
14253 cat >>conftest.$ac_ext <<_ACEOF
14254 /* end confdefs.h. */
14255 $ac_includes_default
14256 int
14257 main ()
14258 {
14259 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14260 test_array [0] = 0
14261
14262 ;
14263 return 0;
14264 }
14265 _ACEOF
14266 rm -f conftest.$ac_objext
14267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14268 (eval $ac_compile) 2>conftest.er1
14269 ac_status=$?
14270 grep -v '^ *+' conftest.er1 >conftest.err
14271 rm -f conftest.er1
14272 cat conftest.err >&5
14273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14274 (exit $ac_status); } &&
14275 { ac_try='test -z "$ac_c_werror_flag"
14276 || test ! -s conftest.err'
14277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14278 (eval $ac_try) 2>&5
14279 ac_status=$?
14280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14281 (exit $ac_status); }; } &&
14282 { ac_try='test -s conftest.$ac_objext'
14283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14284 (eval $ac_try) 2>&5
14285 ac_status=$?
14286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14287 (exit $ac_status); }; }; then
14288 ac_hi=$ac_mid; break
14289 else
14290 echo "$as_me: failed program was:" >&5
14291 sed 's/^/| /' conftest.$ac_ext >&5
14292
14293 ac_lo=`expr $ac_mid + 1`
14294 if test $ac_lo -le $ac_mid; then
14295 ac_lo= ac_hi=
14296 break
14297 fi
14298 ac_mid=`expr 2 '*' $ac_mid + 1`
14299 fi
14300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14301 done
14302 else
14303 echo "$as_me: failed program was:" >&5
14304 sed 's/^/| /' conftest.$ac_ext >&5
14305
14306 cat >conftest.$ac_ext <<_ACEOF
14307 /* confdefs.h. */
14308 _ACEOF
14309 cat confdefs.h >>conftest.$ac_ext
14310 cat >>conftest.$ac_ext <<_ACEOF
14311 /* end confdefs.h. */
14312 $ac_includes_default
14313 int
14314 main ()
14315 {
14316 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14317 test_array [0] = 0
14318
14319 ;
14320 return 0;
14321 }
14322 _ACEOF
14323 rm -f conftest.$ac_objext
14324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14325 (eval $ac_compile) 2>conftest.er1
14326 ac_status=$?
14327 grep -v '^ *+' conftest.er1 >conftest.err
14328 rm -f conftest.er1
14329 cat conftest.err >&5
14330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14331 (exit $ac_status); } &&
14332 { ac_try='test -z "$ac_c_werror_flag"
14333 || test ! -s conftest.err'
14334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14335 (eval $ac_try) 2>&5
14336 ac_status=$?
14337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14338 (exit $ac_status); }; } &&
14339 { ac_try='test -s conftest.$ac_objext'
14340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14341 (eval $ac_try) 2>&5
14342 ac_status=$?
14343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14344 (exit $ac_status); }; }; then
14345 ac_hi=-1 ac_mid=-1
14346 while :; do
14347 cat >conftest.$ac_ext <<_ACEOF
14348 /* confdefs.h. */
14349 _ACEOF
14350 cat confdefs.h >>conftest.$ac_ext
14351 cat >>conftest.$ac_ext <<_ACEOF
14352 /* end confdefs.h. */
14353 $ac_includes_default
14354 int
14355 main ()
14356 {
14357 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14358 test_array [0] = 0
14359
14360 ;
14361 return 0;
14362 }
14363 _ACEOF
14364 rm -f conftest.$ac_objext
14365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14366 (eval $ac_compile) 2>conftest.er1
14367 ac_status=$?
14368 grep -v '^ *+' conftest.er1 >conftest.err
14369 rm -f conftest.er1
14370 cat conftest.err >&5
14371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14372 (exit $ac_status); } &&
14373 { ac_try='test -z "$ac_c_werror_flag"
14374 || test ! -s conftest.err'
14375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14376 (eval $ac_try) 2>&5
14377 ac_status=$?
14378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14379 (exit $ac_status); }; } &&
14380 { ac_try='test -s conftest.$ac_objext'
14381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14382 (eval $ac_try) 2>&5
14383 ac_status=$?
14384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14385 (exit $ac_status); }; }; then
14386 ac_lo=$ac_mid; break
14387 else
14388 echo "$as_me: failed program was:" >&5
14389 sed 's/^/| /' conftest.$ac_ext >&5
14390
14391 ac_hi=`expr '(' $ac_mid ')' - 1`
14392 if test $ac_mid -le $ac_hi; then
14393 ac_lo= ac_hi=
14394 break
14395 fi
14396 ac_mid=`expr 2 '*' $ac_mid`
14397 fi
14398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14399 done
14400 else
14401 echo "$as_me: failed program was:" >&5
14402 sed 's/^/| /' conftest.$ac_ext >&5
14403
14404 ac_lo= ac_hi=
14405 fi
14406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14407 fi
14408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14409 # Binary search between lo and hi bounds.
14410 while test "x$ac_lo" != "x$ac_hi"; do
14411 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14412 cat >conftest.$ac_ext <<_ACEOF
14413 /* confdefs.h. */
14414 _ACEOF
14415 cat confdefs.h >>conftest.$ac_ext
14416 cat >>conftest.$ac_ext <<_ACEOF
14417 /* end confdefs.h. */
14418 $ac_includes_default
14419 int
14420 main ()
14421 {
14422 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14423 test_array [0] = 0
14424
14425 ;
14426 return 0;
14427 }
14428 _ACEOF
14429 rm -f conftest.$ac_objext
14430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14431 (eval $ac_compile) 2>conftest.er1
14432 ac_status=$?
14433 grep -v '^ *+' conftest.er1 >conftest.err
14434 rm -f conftest.er1
14435 cat conftest.err >&5
14436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14437 (exit $ac_status); } &&
14438 { ac_try='test -z "$ac_c_werror_flag"
14439 || test ! -s conftest.err'
14440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14441 (eval $ac_try) 2>&5
14442 ac_status=$?
14443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14444 (exit $ac_status); }; } &&
14445 { ac_try='test -s conftest.$ac_objext'
14446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14447 (eval $ac_try) 2>&5
14448 ac_status=$?
14449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14450 (exit $ac_status); }; }; then
14451 ac_hi=$ac_mid
14452 else
14453 echo "$as_me: failed program was:" >&5
14454 sed 's/^/| /' conftest.$ac_ext >&5
14455
14456 ac_lo=`expr '(' $ac_mid ')' + 1`
14457 fi
14458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14459 done
14460 case $ac_lo in
14461 ?*) ac_cv_sizeof_char=$ac_lo;;
14462 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14463 See \`config.log' for more details." >&5
14464 echo "$as_me: error: cannot compute sizeof (char), 77
14465 See \`config.log' for more details." >&2;}
14466 { (exit 1); exit 1; }; } ;;
14467 esac
14468 else
14469 if test "$cross_compiling" = yes; then
14470 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14471 See \`config.log' for more details." >&5
14472 echo "$as_me: error: cannot run test program while cross compiling
14473 See \`config.log' for more details." >&2;}
14474 { (exit 1); exit 1; }; }
14475 else
14476 cat >conftest.$ac_ext <<_ACEOF
14477 /* confdefs.h. */
14478 _ACEOF
14479 cat confdefs.h >>conftest.$ac_ext
14480 cat >>conftest.$ac_ext <<_ACEOF
14481 /* end confdefs.h. */
14482 $ac_includes_default
14483 long longval () { return (long) (sizeof (char)); }
14484 unsigned long ulongval () { return (long) (sizeof (char)); }
14485 #include <stdio.h>
14486 #include <stdlib.h>
14487 int
14488 main ()
14489 {
14490
14491 FILE *f = fopen ("conftest.val", "w");
14492 if (! f)
14493 exit (1);
14494 if (((long) (sizeof (char))) < 0)
14495 {
14496 long i = longval ();
14497 if (i != ((long) (sizeof (char))))
14498 exit (1);
14499 fprintf (f, "%ld\n", i);
14500 }
14501 else
14502 {
14503 unsigned long i = ulongval ();
14504 if (i != ((long) (sizeof (char))))
14505 exit (1);
14506 fprintf (f, "%lu\n", i);
14507 }
14508 exit (ferror (f) || fclose (f) != 0);
14509
14510 ;
14511 return 0;
14512 }
14513 _ACEOF
14514 rm -f conftest$ac_exeext
14515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14516 (eval $ac_link) 2>&5
14517 ac_status=$?
14518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14519 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14521 (eval $ac_try) 2>&5
14522 ac_status=$?
14523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14524 (exit $ac_status); }; }; then
14525 ac_cv_sizeof_char=`cat conftest.val`
14526 else
14527 echo "$as_me: program exited with status $ac_status" >&5
14528 echo "$as_me: failed program was:" >&5
14529 sed 's/^/| /' conftest.$ac_ext >&5
14530
14531 ( exit $ac_status )
14532 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14533 See \`config.log' for more details." >&5
14534 echo "$as_me: error: cannot compute sizeof (char), 77
14535 See \`config.log' for more details." >&2;}
14536 { (exit 1); exit 1; }; }
14537 fi
14538 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14539 fi
14540 fi
14541 rm -f conftest.val
14542 else
14543 ac_cv_sizeof_char=0
14544 fi
14545 fi
14546 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14547 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14548 cat >>confdefs.h <<_ACEOF
14549 #define SIZEOF_CHAR $ac_cv_sizeof_char
14550 _ACEOF
14551
14552
14553 echo "$as_me:$LINENO: checking for short" >&5
14554 echo $ECHO_N "checking for short... $ECHO_C" >&6
14555 if test "${ac_cv_type_short+set}" = set; then
14556 echo $ECHO_N "(cached) $ECHO_C" >&6
14557 else
14558 cat >conftest.$ac_ext <<_ACEOF
14559 /* confdefs.h. */
14560 _ACEOF
14561 cat confdefs.h >>conftest.$ac_ext
14562 cat >>conftest.$ac_ext <<_ACEOF
14563 /* end confdefs.h. */
14564 $ac_includes_default
14565 int
14566 main ()
14567 {
14568 if ((short *) 0)
14569 return 0;
14570 if (sizeof (short))
14571 return 0;
14572 ;
14573 return 0;
14574 }
14575 _ACEOF
14576 rm -f conftest.$ac_objext
14577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14578 (eval $ac_compile) 2>conftest.er1
14579 ac_status=$?
14580 grep -v '^ *+' conftest.er1 >conftest.err
14581 rm -f conftest.er1
14582 cat conftest.err >&5
14583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14584 (exit $ac_status); } &&
14585 { ac_try='test -z "$ac_c_werror_flag"
14586 || test ! -s conftest.err'
14587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14588 (eval $ac_try) 2>&5
14589 ac_status=$?
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 (exit $ac_status); }; } &&
14592 { ac_try='test -s conftest.$ac_objext'
14593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14594 (eval $ac_try) 2>&5
14595 ac_status=$?
14596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597 (exit $ac_status); }; }; then
14598 ac_cv_type_short=yes
14599 else
14600 echo "$as_me: failed program was:" >&5
14601 sed 's/^/| /' conftest.$ac_ext >&5
14602
14603 ac_cv_type_short=no
14604 fi
14605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14606 fi
14607 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14608 echo "${ECHO_T}$ac_cv_type_short" >&6
14609
14610 echo "$as_me:$LINENO: checking size of short" >&5
14611 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14612 if test "${ac_cv_sizeof_short+set}" = set; then
14613 echo $ECHO_N "(cached) $ECHO_C" >&6
14614 else
14615 if test "$ac_cv_type_short" = yes; then
14616 # The cast to unsigned long works around a bug in the HP C Compiler
14617 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14618 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14619 # This bug is HP SR number 8606223364.
14620 if test "$cross_compiling" = yes; then
14621 # Depending upon the size, compute the lo and hi bounds.
14622 cat >conftest.$ac_ext <<_ACEOF
14623 /* confdefs.h. */
14624 _ACEOF
14625 cat confdefs.h >>conftest.$ac_ext
14626 cat >>conftest.$ac_ext <<_ACEOF
14627 /* end confdefs.h. */
14628 $ac_includes_default
14629 int
14630 main ()
14631 {
14632 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14633 test_array [0] = 0
14634
14635 ;
14636 return 0;
14637 }
14638 _ACEOF
14639 rm -f conftest.$ac_objext
14640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14641 (eval $ac_compile) 2>conftest.er1
14642 ac_status=$?
14643 grep -v '^ *+' conftest.er1 >conftest.err
14644 rm -f conftest.er1
14645 cat conftest.err >&5
14646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14647 (exit $ac_status); } &&
14648 { ac_try='test -z "$ac_c_werror_flag"
14649 || test ! -s conftest.err'
14650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14651 (eval $ac_try) 2>&5
14652 ac_status=$?
14653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14654 (exit $ac_status); }; } &&
14655 { ac_try='test -s conftest.$ac_objext'
14656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14657 (eval $ac_try) 2>&5
14658 ac_status=$?
14659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14660 (exit $ac_status); }; }; then
14661 ac_lo=0 ac_mid=0
14662 while :; do
14663 cat >conftest.$ac_ext <<_ACEOF
14664 /* confdefs.h. */
14665 _ACEOF
14666 cat confdefs.h >>conftest.$ac_ext
14667 cat >>conftest.$ac_ext <<_ACEOF
14668 /* end confdefs.h. */
14669 $ac_includes_default
14670 int
14671 main ()
14672 {
14673 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14674 test_array [0] = 0
14675
14676 ;
14677 return 0;
14678 }
14679 _ACEOF
14680 rm -f conftest.$ac_objext
14681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14682 (eval $ac_compile) 2>conftest.er1
14683 ac_status=$?
14684 grep -v '^ *+' conftest.er1 >conftest.err
14685 rm -f conftest.er1
14686 cat conftest.err >&5
14687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14688 (exit $ac_status); } &&
14689 { ac_try='test -z "$ac_c_werror_flag"
14690 || test ! -s conftest.err'
14691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14692 (eval $ac_try) 2>&5
14693 ac_status=$?
14694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14695 (exit $ac_status); }; } &&
14696 { ac_try='test -s conftest.$ac_objext'
14697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14698 (eval $ac_try) 2>&5
14699 ac_status=$?
14700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14701 (exit $ac_status); }; }; then
14702 ac_hi=$ac_mid; break
14703 else
14704 echo "$as_me: failed program was:" >&5
14705 sed 's/^/| /' conftest.$ac_ext >&5
14706
14707 ac_lo=`expr $ac_mid + 1`
14708 if test $ac_lo -le $ac_mid; then
14709 ac_lo= ac_hi=
14710 break
14711 fi
14712 ac_mid=`expr 2 '*' $ac_mid + 1`
14713 fi
14714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14715 done
14716 else
14717 echo "$as_me: failed program was:" >&5
14718 sed 's/^/| /' conftest.$ac_ext >&5
14719
14720 cat >conftest.$ac_ext <<_ACEOF
14721 /* confdefs.h. */
14722 _ACEOF
14723 cat confdefs.h >>conftest.$ac_ext
14724 cat >>conftest.$ac_ext <<_ACEOF
14725 /* end confdefs.h. */
14726 $ac_includes_default
14727 int
14728 main ()
14729 {
14730 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14731 test_array [0] = 0
14732
14733 ;
14734 return 0;
14735 }
14736 _ACEOF
14737 rm -f conftest.$ac_objext
14738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14739 (eval $ac_compile) 2>conftest.er1
14740 ac_status=$?
14741 grep -v '^ *+' conftest.er1 >conftest.err
14742 rm -f conftest.er1
14743 cat conftest.err >&5
14744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14745 (exit $ac_status); } &&
14746 { ac_try='test -z "$ac_c_werror_flag"
14747 || test ! -s conftest.err'
14748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14749 (eval $ac_try) 2>&5
14750 ac_status=$?
14751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14752 (exit $ac_status); }; } &&
14753 { ac_try='test -s conftest.$ac_objext'
14754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14755 (eval $ac_try) 2>&5
14756 ac_status=$?
14757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14758 (exit $ac_status); }; }; then
14759 ac_hi=-1 ac_mid=-1
14760 while :; do
14761 cat >conftest.$ac_ext <<_ACEOF
14762 /* confdefs.h. */
14763 _ACEOF
14764 cat confdefs.h >>conftest.$ac_ext
14765 cat >>conftest.$ac_ext <<_ACEOF
14766 /* end confdefs.h. */
14767 $ac_includes_default
14768 int
14769 main ()
14770 {
14771 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14772 test_array [0] = 0
14773
14774 ;
14775 return 0;
14776 }
14777 _ACEOF
14778 rm -f conftest.$ac_objext
14779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14780 (eval $ac_compile) 2>conftest.er1
14781 ac_status=$?
14782 grep -v '^ *+' conftest.er1 >conftest.err
14783 rm -f conftest.er1
14784 cat conftest.err >&5
14785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14786 (exit $ac_status); } &&
14787 { ac_try='test -z "$ac_c_werror_flag"
14788 || test ! -s conftest.err'
14789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14790 (eval $ac_try) 2>&5
14791 ac_status=$?
14792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14793 (exit $ac_status); }; } &&
14794 { ac_try='test -s conftest.$ac_objext'
14795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14796 (eval $ac_try) 2>&5
14797 ac_status=$?
14798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14799 (exit $ac_status); }; }; then
14800 ac_lo=$ac_mid; break
14801 else
14802 echo "$as_me: failed program was:" >&5
14803 sed 's/^/| /' conftest.$ac_ext >&5
14804
14805 ac_hi=`expr '(' $ac_mid ')' - 1`
14806 if test $ac_mid -le $ac_hi; then
14807 ac_lo= ac_hi=
14808 break
14809 fi
14810 ac_mid=`expr 2 '*' $ac_mid`
14811 fi
14812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14813 done
14814 else
14815 echo "$as_me: failed program was:" >&5
14816 sed 's/^/| /' conftest.$ac_ext >&5
14817
14818 ac_lo= ac_hi=
14819 fi
14820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14821 fi
14822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14823 # Binary search between lo and hi bounds.
14824 while test "x$ac_lo" != "x$ac_hi"; do
14825 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14826 cat >conftest.$ac_ext <<_ACEOF
14827 /* confdefs.h. */
14828 _ACEOF
14829 cat confdefs.h >>conftest.$ac_ext
14830 cat >>conftest.$ac_ext <<_ACEOF
14831 /* end confdefs.h. */
14832 $ac_includes_default
14833 int
14834 main ()
14835 {
14836 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14837 test_array [0] = 0
14838
14839 ;
14840 return 0;
14841 }
14842 _ACEOF
14843 rm -f conftest.$ac_objext
14844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14845 (eval $ac_compile) 2>conftest.er1
14846 ac_status=$?
14847 grep -v '^ *+' conftest.er1 >conftest.err
14848 rm -f conftest.er1
14849 cat conftest.err >&5
14850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14851 (exit $ac_status); } &&
14852 { ac_try='test -z "$ac_c_werror_flag"
14853 || test ! -s conftest.err'
14854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14855 (eval $ac_try) 2>&5
14856 ac_status=$?
14857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14858 (exit $ac_status); }; } &&
14859 { ac_try='test -s conftest.$ac_objext'
14860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14861 (eval $ac_try) 2>&5
14862 ac_status=$?
14863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14864 (exit $ac_status); }; }; then
14865 ac_hi=$ac_mid
14866 else
14867 echo "$as_me: failed program was:" >&5
14868 sed 's/^/| /' conftest.$ac_ext >&5
14869
14870 ac_lo=`expr '(' $ac_mid ')' + 1`
14871 fi
14872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14873 done
14874 case $ac_lo in
14875 ?*) ac_cv_sizeof_short=$ac_lo;;
14876 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14877 See \`config.log' for more details." >&5
14878 echo "$as_me: error: cannot compute sizeof (short), 77
14879 See \`config.log' for more details." >&2;}
14880 { (exit 1); exit 1; }; } ;;
14881 esac
14882 else
14883 if test "$cross_compiling" = yes; then
14884 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14885 See \`config.log' for more details." >&5
14886 echo "$as_me: error: cannot run test program while cross compiling
14887 See \`config.log' for more details." >&2;}
14888 { (exit 1); exit 1; }; }
14889 else
14890 cat >conftest.$ac_ext <<_ACEOF
14891 /* confdefs.h. */
14892 _ACEOF
14893 cat confdefs.h >>conftest.$ac_ext
14894 cat >>conftest.$ac_ext <<_ACEOF
14895 /* end confdefs.h. */
14896 $ac_includes_default
14897 long longval () { return (long) (sizeof (short)); }
14898 unsigned long ulongval () { return (long) (sizeof (short)); }
14899 #include <stdio.h>
14900 #include <stdlib.h>
14901 int
14902 main ()
14903 {
14904
14905 FILE *f = fopen ("conftest.val", "w");
14906 if (! f)
14907 exit (1);
14908 if (((long) (sizeof (short))) < 0)
14909 {
14910 long i = longval ();
14911 if (i != ((long) (sizeof (short))))
14912 exit (1);
14913 fprintf (f, "%ld\n", i);
14914 }
14915 else
14916 {
14917 unsigned long i = ulongval ();
14918 if (i != ((long) (sizeof (short))))
14919 exit (1);
14920 fprintf (f, "%lu\n", i);
14921 }
14922 exit (ferror (f) || fclose (f) != 0);
14923
14924 ;
14925 return 0;
14926 }
14927 _ACEOF
14928 rm -f conftest$ac_exeext
14929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14930 (eval $ac_link) 2>&5
14931 ac_status=$?
14932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14933 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14935 (eval $ac_try) 2>&5
14936 ac_status=$?
14937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14938 (exit $ac_status); }; }; then
14939 ac_cv_sizeof_short=`cat conftest.val`
14940 else
14941 echo "$as_me: program exited with status $ac_status" >&5
14942 echo "$as_me: failed program was:" >&5
14943 sed 's/^/| /' conftest.$ac_ext >&5
14944
14945 ( exit $ac_status )
14946 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14947 See \`config.log' for more details." >&5
14948 echo "$as_me: error: cannot compute sizeof (short), 77
14949 See \`config.log' for more details." >&2;}
14950 { (exit 1); exit 1; }; }
14951 fi
14952 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14953 fi
14954 fi
14955 rm -f conftest.val
14956 else
14957 ac_cv_sizeof_short=0
14958 fi
14959 fi
14960 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14961 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14962 cat >>confdefs.h <<_ACEOF
14963 #define SIZEOF_SHORT $ac_cv_sizeof_short
14964 _ACEOF
14965
14966
14967 echo "$as_me:$LINENO: checking for void *" >&5
14968 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14969 if test "${ac_cv_type_void_p+set}" = set; then
14970 echo $ECHO_N "(cached) $ECHO_C" >&6
14971 else
14972 cat >conftest.$ac_ext <<_ACEOF
14973 /* confdefs.h. */
14974 _ACEOF
14975 cat confdefs.h >>conftest.$ac_ext
14976 cat >>conftest.$ac_ext <<_ACEOF
14977 /* end confdefs.h. */
14978 $ac_includes_default
14979 int
14980 main ()
14981 {
14982 if ((void * *) 0)
14983 return 0;
14984 if (sizeof (void *))
14985 return 0;
14986 ;
14987 return 0;
14988 }
14989 _ACEOF
14990 rm -f conftest.$ac_objext
14991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14992 (eval $ac_compile) 2>conftest.er1
14993 ac_status=$?
14994 grep -v '^ *+' conftest.er1 >conftest.err
14995 rm -f conftest.er1
14996 cat conftest.err >&5
14997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14998 (exit $ac_status); } &&
14999 { ac_try='test -z "$ac_c_werror_flag"
15000 || test ! -s conftest.err'
15001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15002 (eval $ac_try) 2>&5
15003 ac_status=$?
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); }; } &&
15006 { ac_try='test -s conftest.$ac_objext'
15007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15008 (eval $ac_try) 2>&5
15009 ac_status=$?
15010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15011 (exit $ac_status); }; }; then
15012 ac_cv_type_void_p=yes
15013 else
15014 echo "$as_me: failed program was:" >&5
15015 sed 's/^/| /' conftest.$ac_ext >&5
15016
15017 ac_cv_type_void_p=no
15018 fi
15019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15020 fi
15021 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15022 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15023
15024 echo "$as_me:$LINENO: checking size of void *" >&5
15025 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15026 if test "${ac_cv_sizeof_void_p+set}" = set; then
15027 echo $ECHO_N "(cached) $ECHO_C" >&6
15028 else
15029 if test "$ac_cv_type_void_p" = yes; then
15030 # The cast to unsigned long works around a bug in the HP C Compiler
15031 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15032 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15033 # This bug is HP SR number 8606223364.
15034 if test "$cross_compiling" = yes; then
15035 # Depending upon the size, compute the lo and hi bounds.
15036 cat >conftest.$ac_ext <<_ACEOF
15037 /* confdefs.h. */
15038 _ACEOF
15039 cat confdefs.h >>conftest.$ac_ext
15040 cat >>conftest.$ac_ext <<_ACEOF
15041 /* end confdefs.h. */
15042 $ac_includes_default
15043 int
15044 main ()
15045 {
15046 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15047 test_array [0] = 0
15048
15049 ;
15050 return 0;
15051 }
15052 _ACEOF
15053 rm -f conftest.$ac_objext
15054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15055 (eval $ac_compile) 2>conftest.er1
15056 ac_status=$?
15057 grep -v '^ *+' conftest.er1 >conftest.err
15058 rm -f conftest.er1
15059 cat conftest.err >&5
15060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15061 (exit $ac_status); } &&
15062 { ac_try='test -z "$ac_c_werror_flag"
15063 || test ! -s conftest.err'
15064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15065 (eval $ac_try) 2>&5
15066 ac_status=$?
15067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15068 (exit $ac_status); }; } &&
15069 { ac_try='test -s conftest.$ac_objext'
15070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15071 (eval $ac_try) 2>&5
15072 ac_status=$?
15073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15074 (exit $ac_status); }; }; then
15075 ac_lo=0 ac_mid=0
15076 while :; do
15077 cat >conftest.$ac_ext <<_ACEOF
15078 /* confdefs.h. */
15079 _ACEOF
15080 cat confdefs.h >>conftest.$ac_ext
15081 cat >>conftest.$ac_ext <<_ACEOF
15082 /* end confdefs.h. */
15083 $ac_includes_default
15084 int
15085 main ()
15086 {
15087 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15088 test_array [0] = 0
15089
15090 ;
15091 return 0;
15092 }
15093 _ACEOF
15094 rm -f conftest.$ac_objext
15095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15096 (eval $ac_compile) 2>conftest.er1
15097 ac_status=$?
15098 grep -v '^ *+' conftest.er1 >conftest.err
15099 rm -f conftest.er1
15100 cat conftest.err >&5
15101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15102 (exit $ac_status); } &&
15103 { ac_try='test -z "$ac_c_werror_flag"
15104 || test ! -s conftest.err'
15105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15106 (eval $ac_try) 2>&5
15107 ac_status=$?
15108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15109 (exit $ac_status); }; } &&
15110 { ac_try='test -s conftest.$ac_objext'
15111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15112 (eval $ac_try) 2>&5
15113 ac_status=$?
15114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15115 (exit $ac_status); }; }; then
15116 ac_hi=$ac_mid; break
15117 else
15118 echo "$as_me: failed program was:" >&5
15119 sed 's/^/| /' conftest.$ac_ext >&5
15120
15121 ac_lo=`expr $ac_mid + 1`
15122 if test $ac_lo -le $ac_mid; then
15123 ac_lo= ac_hi=
15124 break
15125 fi
15126 ac_mid=`expr 2 '*' $ac_mid + 1`
15127 fi
15128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15129 done
15130 else
15131 echo "$as_me: failed program was:" >&5
15132 sed 's/^/| /' conftest.$ac_ext >&5
15133
15134 cat >conftest.$ac_ext <<_ACEOF
15135 /* confdefs.h. */
15136 _ACEOF
15137 cat confdefs.h >>conftest.$ac_ext
15138 cat >>conftest.$ac_ext <<_ACEOF
15139 /* end confdefs.h. */
15140 $ac_includes_default
15141 int
15142 main ()
15143 {
15144 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15145 test_array [0] = 0
15146
15147 ;
15148 return 0;
15149 }
15150 _ACEOF
15151 rm -f conftest.$ac_objext
15152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15153 (eval $ac_compile) 2>conftest.er1
15154 ac_status=$?
15155 grep -v '^ *+' conftest.er1 >conftest.err
15156 rm -f conftest.er1
15157 cat conftest.err >&5
15158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15159 (exit $ac_status); } &&
15160 { ac_try='test -z "$ac_c_werror_flag"
15161 || test ! -s conftest.err'
15162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15163 (eval $ac_try) 2>&5
15164 ac_status=$?
15165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15166 (exit $ac_status); }; } &&
15167 { ac_try='test -s conftest.$ac_objext'
15168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15169 (eval $ac_try) 2>&5
15170 ac_status=$?
15171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172 (exit $ac_status); }; }; then
15173 ac_hi=-1 ac_mid=-1
15174 while :; do
15175 cat >conftest.$ac_ext <<_ACEOF
15176 /* confdefs.h. */
15177 _ACEOF
15178 cat confdefs.h >>conftest.$ac_ext
15179 cat >>conftest.$ac_ext <<_ACEOF
15180 /* end confdefs.h. */
15181 $ac_includes_default
15182 int
15183 main ()
15184 {
15185 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15186 test_array [0] = 0
15187
15188 ;
15189 return 0;
15190 }
15191 _ACEOF
15192 rm -f conftest.$ac_objext
15193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15194 (eval $ac_compile) 2>conftest.er1
15195 ac_status=$?
15196 grep -v '^ *+' conftest.er1 >conftest.err
15197 rm -f conftest.er1
15198 cat conftest.err >&5
15199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15200 (exit $ac_status); } &&
15201 { ac_try='test -z "$ac_c_werror_flag"
15202 || test ! -s conftest.err'
15203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15204 (eval $ac_try) 2>&5
15205 ac_status=$?
15206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15207 (exit $ac_status); }; } &&
15208 { ac_try='test -s conftest.$ac_objext'
15209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15210 (eval $ac_try) 2>&5
15211 ac_status=$?
15212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15213 (exit $ac_status); }; }; then
15214 ac_lo=$ac_mid; break
15215 else
15216 echo "$as_me: failed program was:" >&5
15217 sed 's/^/| /' conftest.$ac_ext >&5
15218
15219 ac_hi=`expr '(' $ac_mid ')' - 1`
15220 if test $ac_mid -le $ac_hi; then
15221 ac_lo= ac_hi=
15222 break
15223 fi
15224 ac_mid=`expr 2 '*' $ac_mid`
15225 fi
15226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15227 done
15228 else
15229 echo "$as_me: failed program was:" >&5
15230 sed 's/^/| /' conftest.$ac_ext >&5
15231
15232 ac_lo= ac_hi=
15233 fi
15234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15235 fi
15236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15237 # Binary search between lo and hi bounds.
15238 while test "x$ac_lo" != "x$ac_hi"; do
15239 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15240 cat >conftest.$ac_ext <<_ACEOF
15241 /* confdefs.h. */
15242 _ACEOF
15243 cat confdefs.h >>conftest.$ac_ext
15244 cat >>conftest.$ac_ext <<_ACEOF
15245 /* end confdefs.h. */
15246 $ac_includes_default
15247 int
15248 main ()
15249 {
15250 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15251 test_array [0] = 0
15252
15253 ;
15254 return 0;
15255 }
15256 _ACEOF
15257 rm -f conftest.$ac_objext
15258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15259 (eval $ac_compile) 2>conftest.er1
15260 ac_status=$?
15261 grep -v '^ *+' conftest.er1 >conftest.err
15262 rm -f conftest.er1
15263 cat conftest.err >&5
15264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15265 (exit $ac_status); } &&
15266 { ac_try='test -z "$ac_c_werror_flag"
15267 || test ! -s conftest.err'
15268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15269 (eval $ac_try) 2>&5
15270 ac_status=$?
15271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15272 (exit $ac_status); }; } &&
15273 { ac_try='test -s conftest.$ac_objext'
15274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15275 (eval $ac_try) 2>&5
15276 ac_status=$?
15277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15278 (exit $ac_status); }; }; then
15279 ac_hi=$ac_mid
15280 else
15281 echo "$as_me: failed program was:" >&5
15282 sed 's/^/| /' conftest.$ac_ext >&5
15283
15284 ac_lo=`expr '(' $ac_mid ')' + 1`
15285 fi
15286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15287 done
15288 case $ac_lo in
15289 ?*) ac_cv_sizeof_void_p=$ac_lo;;
15290 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15291 See \`config.log' for more details." >&5
15292 echo "$as_me: error: cannot compute sizeof (void *), 77
15293 See \`config.log' for more details." >&2;}
15294 { (exit 1); exit 1; }; } ;;
15295 esac
15296 else
15297 if test "$cross_compiling" = yes; then
15298 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15299 See \`config.log' for more details." >&5
15300 echo "$as_me: error: cannot run test program while cross compiling
15301 See \`config.log' for more details." >&2;}
15302 { (exit 1); exit 1; }; }
15303 else
15304 cat >conftest.$ac_ext <<_ACEOF
15305 /* confdefs.h. */
15306 _ACEOF
15307 cat confdefs.h >>conftest.$ac_ext
15308 cat >>conftest.$ac_ext <<_ACEOF
15309 /* end confdefs.h. */
15310 $ac_includes_default
15311 long longval () { return (long) (sizeof (void *)); }
15312 unsigned long ulongval () { return (long) (sizeof (void *)); }
15313 #include <stdio.h>
15314 #include <stdlib.h>
15315 int
15316 main ()
15317 {
15318
15319 FILE *f = fopen ("conftest.val", "w");
15320 if (! f)
15321 exit (1);
15322 if (((long) (sizeof (void *))) < 0)
15323 {
15324 long i = longval ();
15325 if (i != ((long) (sizeof (void *))))
15326 exit (1);
15327 fprintf (f, "%ld\n", i);
15328 }
15329 else
15330 {
15331 unsigned long i = ulongval ();
15332 if (i != ((long) (sizeof (void *))))
15333 exit (1);
15334 fprintf (f, "%lu\n", i);
15335 }
15336 exit (ferror (f) || fclose (f) != 0);
15337
15338 ;
15339 return 0;
15340 }
15341 _ACEOF
15342 rm -f conftest$ac_exeext
15343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15344 (eval $ac_link) 2>&5
15345 ac_status=$?
15346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15347 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15349 (eval $ac_try) 2>&5
15350 ac_status=$?
15351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15352 (exit $ac_status); }; }; then
15353 ac_cv_sizeof_void_p=`cat conftest.val`
15354 else
15355 echo "$as_me: program exited with status $ac_status" >&5
15356 echo "$as_me: failed program was:" >&5
15357 sed 's/^/| /' conftest.$ac_ext >&5
15358
15359 ( exit $ac_status )
15360 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15361 See \`config.log' for more details." >&5
15362 echo "$as_me: error: cannot compute sizeof (void *), 77
15363 See \`config.log' for more details." >&2;}
15364 { (exit 1); exit 1; }; }
15365 fi
15366 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15367 fi
15368 fi
15369 rm -f conftest.val
15370 else
15371 ac_cv_sizeof_void_p=0
15372 fi
15373 fi
15374 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15375 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15376 cat >>confdefs.h <<_ACEOF
15377 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15378 _ACEOF
15379
15380
15381 echo "$as_me:$LINENO: checking for int" >&5
15382 echo $ECHO_N "checking for int... $ECHO_C" >&6
15383 if test "${ac_cv_type_int+set}" = set; then
15384 echo $ECHO_N "(cached) $ECHO_C" >&6
15385 else
15386 cat >conftest.$ac_ext <<_ACEOF
15387 /* confdefs.h. */
15388 _ACEOF
15389 cat confdefs.h >>conftest.$ac_ext
15390 cat >>conftest.$ac_ext <<_ACEOF
15391 /* end confdefs.h. */
15392 $ac_includes_default
15393 int
15394 main ()
15395 {
15396 if ((int *) 0)
15397 return 0;
15398 if (sizeof (int))
15399 return 0;
15400 ;
15401 return 0;
15402 }
15403 _ACEOF
15404 rm -f conftest.$ac_objext
15405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15406 (eval $ac_compile) 2>conftest.er1
15407 ac_status=$?
15408 grep -v '^ *+' conftest.er1 >conftest.err
15409 rm -f conftest.er1
15410 cat conftest.err >&5
15411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15412 (exit $ac_status); } &&
15413 { ac_try='test -z "$ac_c_werror_flag"
15414 || test ! -s conftest.err'
15415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15416 (eval $ac_try) 2>&5
15417 ac_status=$?
15418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15419 (exit $ac_status); }; } &&
15420 { ac_try='test -s conftest.$ac_objext'
15421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15422 (eval $ac_try) 2>&5
15423 ac_status=$?
15424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15425 (exit $ac_status); }; }; then
15426 ac_cv_type_int=yes
15427 else
15428 echo "$as_me: failed program was:" >&5
15429 sed 's/^/| /' conftest.$ac_ext >&5
15430
15431 ac_cv_type_int=no
15432 fi
15433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15434 fi
15435 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15436 echo "${ECHO_T}$ac_cv_type_int" >&6
15437
15438 echo "$as_me:$LINENO: checking size of int" >&5
15439 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15440 if test "${ac_cv_sizeof_int+set}" = set; then
15441 echo $ECHO_N "(cached) $ECHO_C" >&6
15442 else
15443 if test "$ac_cv_type_int" = yes; then
15444 # The cast to unsigned long works around a bug in the HP C Compiler
15445 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15446 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15447 # This bug is HP SR number 8606223364.
15448 if test "$cross_compiling" = yes; then
15449 # Depending upon the size, compute the lo and hi bounds.
15450 cat >conftest.$ac_ext <<_ACEOF
15451 /* confdefs.h. */
15452 _ACEOF
15453 cat confdefs.h >>conftest.$ac_ext
15454 cat >>conftest.$ac_ext <<_ACEOF
15455 /* end confdefs.h. */
15456 $ac_includes_default
15457 int
15458 main ()
15459 {
15460 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15461 test_array [0] = 0
15462
15463 ;
15464 return 0;
15465 }
15466 _ACEOF
15467 rm -f conftest.$ac_objext
15468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15469 (eval $ac_compile) 2>conftest.er1
15470 ac_status=$?
15471 grep -v '^ *+' conftest.er1 >conftest.err
15472 rm -f conftest.er1
15473 cat conftest.err >&5
15474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15475 (exit $ac_status); } &&
15476 { ac_try='test -z "$ac_c_werror_flag"
15477 || test ! -s conftest.err'
15478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15479 (eval $ac_try) 2>&5
15480 ac_status=$?
15481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15482 (exit $ac_status); }; } &&
15483 { ac_try='test -s conftest.$ac_objext'
15484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15485 (eval $ac_try) 2>&5
15486 ac_status=$?
15487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15488 (exit $ac_status); }; }; then
15489 ac_lo=0 ac_mid=0
15490 while :; do
15491 cat >conftest.$ac_ext <<_ACEOF
15492 /* confdefs.h. */
15493 _ACEOF
15494 cat confdefs.h >>conftest.$ac_ext
15495 cat >>conftest.$ac_ext <<_ACEOF
15496 /* end confdefs.h. */
15497 $ac_includes_default
15498 int
15499 main ()
15500 {
15501 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15502 test_array [0] = 0
15503
15504 ;
15505 return 0;
15506 }
15507 _ACEOF
15508 rm -f conftest.$ac_objext
15509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15510 (eval $ac_compile) 2>conftest.er1
15511 ac_status=$?
15512 grep -v '^ *+' conftest.er1 >conftest.err
15513 rm -f conftest.er1
15514 cat conftest.err >&5
15515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15516 (exit $ac_status); } &&
15517 { ac_try='test -z "$ac_c_werror_flag"
15518 || test ! -s conftest.err'
15519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15520 (eval $ac_try) 2>&5
15521 ac_status=$?
15522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15523 (exit $ac_status); }; } &&
15524 { ac_try='test -s conftest.$ac_objext'
15525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15526 (eval $ac_try) 2>&5
15527 ac_status=$?
15528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15529 (exit $ac_status); }; }; then
15530 ac_hi=$ac_mid; break
15531 else
15532 echo "$as_me: failed program was:" >&5
15533 sed 's/^/| /' conftest.$ac_ext >&5
15534
15535 ac_lo=`expr $ac_mid + 1`
15536 if test $ac_lo -le $ac_mid; then
15537 ac_lo= ac_hi=
15538 break
15539 fi
15540 ac_mid=`expr 2 '*' $ac_mid + 1`
15541 fi
15542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15543 done
15544 else
15545 echo "$as_me: failed program was:" >&5
15546 sed 's/^/| /' conftest.$ac_ext >&5
15547
15548 cat >conftest.$ac_ext <<_ACEOF
15549 /* confdefs.h. */
15550 _ACEOF
15551 cat confdefs.h >>conftest.$ac_ext
15552 cat >>conftest.$ac_ext <<_ACEOF
15553 /* end confdefs.h. */
15554 $ac_includes_default
15555 int
15556 main ()
15557 {
15558 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15559 test_array [0] = 0
15560
15561 ;
15562 return 0;
15563 }
15564 _ACEOF
15565 rm -f conftest.$ac_objext
15566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15567 (eval $ac_compile) 2>conftest.er1
15568 ac_status=$?
15569 grep -v '^ *+' conftest.er1 >conftest.err
15570 rm -f conftest.er1
15571 cat conftest.err >&5
15572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15573 (exit $ac_status); } &&
15574 { ac_try='test -z "$ac_c_werror_flag"
15575 || test ! -s conftest.err'
15576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15577 (eval $ac_try) 2>&5
15578 ac_status=$?
15579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15580 (exit $ac_status); }; } &&
15581 { ac_try='test -s conftest.$ac_objext'
15582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15583 (eval $ac_try) 2>&5
15584 ac_status=$?
15585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15586 (exit $ac_status); }; }; then
15587 ac_hi=-1 ac_mid=-1
15588 while :; do
15589 cat >conftest.$ac_ext <<_ACEOF
15590 /* confdefs.h. */
15591 _ACEOF
15592 cat confdefs.h >>conftest.$ac_ext
15593 cat >>conftest.$ac_ext <<_ACEOF
15594 /* end confdefs.h. */
15595 $ac_includes_default
15596 int
15597 main ()
15598 {
15599 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15600 test_array [0] = 0
15601
15602 ;
15603 return 0;
15604 }
15605 _ACEOF
15606 rm -f conftest.$ac_objext
15607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15608 (eval $ac_compile) 2>conftest.er1
15609 ac_status=$?
15610 grep -v '^ *+' conftest.er1 >conftest.err
15611 rm -f conftest.er1
15612 cat conftest.err >&5
15613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15614 (exit $ac_status); } &&
15615 { ac_try='test -z "$ac_c_werror_flag"
15616 || test ! -s conftest.err'
15617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15618 (eval $ac_try) 2>&5
15619 ac_status=$?
15620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15621 (exit $ac_status); }; } &&
15622 { ac_try='test -s conftest.$ac_objext'
15623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15624 (eval $ac_try) 2>&5
15625 ac_status=$?
15626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15627 (exit $ac_status); }; }; then
15628 ac_lo=$ac_mid; break
15629 else
15630 echo "$as_me: failed program was:" >&5
15631 sed 's/^/| /' conftest.$ac_ext >&5
15632
15633 ac_hi=`expr '(' $ac_mid ')' - 1`
15634 if test $ac_mid -le $ac_hi; then
15635 ac_lo= ac_hi=
15636 break
15637 fi
15638 ac_mid=`expr 2 '*' $ac_mid`
15639 fi
15640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15641 done
15642 else
15643 echo "$as_me: failed program was:" >&5
15644 sed 's/^/| /' conftest.$ac_ext >&5
15645
15646 ac_lo= ac_hi=
15647 fi
15648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15649 fi
15650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15651 # Binary search between lo and hi bounds.
15652 while test "x$ac_lo" != "x$ac_hi"; do
15653 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15654 cat >conftest.$ac_ext <<_ACEOF
15655 /* confdefs.h. */
15656 _ACEOF
15657 cat confdefs.h >>conftest.$ac_ext
15658 cat >>conftest.$ac_ext <<_ACEOF
15659 /* end confdefs.h. */
15660 $ac_includes_default
15661 int
15662 main ()
15663 {
15664 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15665 test_array [0] = 0
15666
15667 ;
15668 return 0;
15669 }
15670 _ACEOF
15671 rm -f conftest.$ac_objext
15672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15673 (eval $ac_compile) 2>conftest.er1
15674 ac_status=$?
15675 grep -v '^ *+' conftest.er1 >conftest.err
15676 rm -f conftest.er1
15677 cat conftest.err >&5
15678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15679 (exit $ac_status); } &&
15680 { ac_try='test -z "$ac_c_werror_flag"
15681 || test ! -s conftest.err'
15682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15683 (eval $ac_try) 2>&5
15684 ac_status=$?
15685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15686 (exit $ac_status); }; } &&
15687 { ac_try='test -s conftest.$ac_objext'
15688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15689 (eval $ac_try) 2>&5
15690 ac_status=$?
15691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15692 (exit $ac_status); }; }; then
15693 ac_hi=$ac_mid
15694 else
15695 echo "$as_me: failed program was:" >&5
15696 sed 's/^/| /' conftest.$ac_ext >&5
15697
15698 ac_lo=`expr '(' $ac_mid ')' + 1`
15699 fi
15700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15701 done
15702 case $ac_lo in
15703 ?*) ac_cv_sizeof_int=$ac_lo;;
15704 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15705 See \`config.log' for more details." >&5
15706 echo "$as_me: error: cannot compute sizeof (int), 77
15707 See \`config.log' for more details." >&2;}
15708 { (exit 1); exit 1; }; } ;;
15709 esac
15710 else
15711 if test "$cross_compiling" = yes; then
15712 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15713 See \`config.log' for more details." >&5
15714 echo "$as_me: error: cannot run test program while cross compiling
15715 See \`config.log' for more details." >&2;}
15716 { (exit 1); exit 1; }; }
15717 else
15718 cat >conftest.$ac_ext <<_ACEOF
15719 /* confdefs.h. */
15720 _ACEOF
15721 cat confdefs.h >>conftest.$ac_ext
15722 cat >>conftest.$ac_ext <<_ACEOF
15723 /* end confdefs.h. */
15724 $ac_includes_default
15725 long longval () { return (long) (sizeof (int)); }
15726 unsigned long ulongval () { return (long) (sizeof (int)); }
15727 #include <stdio.h>
15728 #include <stdlib.h>
15729 int
15730 main ()
15731 {
15732
15733 FILE *f = fopen ("conftest.val", "w");
15734 if (! f)
15735 exit (1);
15736 if (((long) (sizeof (int))) < 0)
15737 {
15738 long i = longval ();
15739 if (i != ((long) (sizeof (int))))
15740 exit (1);
15741 fprintf (f, "%ld\n", i);
15742 }
15743 else
15744 {
15745 unsigned long i = ulongval ();
15746 if (i != ((long) (sizeof (int))))
15747 exit (1);
15748 fprintf (f, "%lu\n", i);
15749 }
15750 exit (ferror (f) || fclose (f) != 0);
15751
15752 ;
15753 return 0;
15754 }
15755 _ACEOF
15756 rm -f conftest$ac_exeext
15757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15758 (eval $ac_link) 2>&5
15759 ac_status=$?
15760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15761 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15763 (eval $ac_try) 2>&5
15764 ac_status=$?
15765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15766 (exit $ac_status); }; }; then
15767 ac_cv_sizeof_int=`cat conftest.val`
15768 else
15769 echo "$as_me: program exited with status $ac_status" >&5
15770 echo "$as_me: failed program was:" >&5
15771 sed 's/^/| /' conftest.$ac_ext >&5
15772
15773 ( exit $ac_status )
15774 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15775 See \`config.log' for more details." >&5
15776 echo "$as_me: error: cannot compute sizeof (int), 77
15777 See \`config.log' for more details." >&2;}
15778 { (exit 1); exit 1; }; }
15779 fi
15780 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15781 fi
15782 fi
15783 rm -f conftest.val
15784 else
15785 ac_cv_sizeof_int=0
15786 fi
15787 fi
15788 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15789 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15790 cat >>confdefs.h <<_ACEOF
15791 #define SIZEOF_INT $ac_cv_sizeof_int
15792 _ACEOF
15793
15794
15795 echo "$as_me:$LINENO: checking for long" >&5
15796 echo $ECHO_N "checking for long... $ECHO_C" >&6
15797 if test "${ac_cv_type_long+set}" = set; then
15798 echo $ECHO_N "(cached) $ECHO_C" >&6
15799 else
15800 cat >conftest.$ac_ext <<_ACEOF
15801 /* confdefs.h. */
15802 _ACEOF
15803 cat confdefs.h >>conftest.$ac_ext
15804 cat >>conftest.$ac_ext <<_ACEOF
15805 /* end confdefs.h. */
15806 $ac_includes_default
15807 int
15808 main ()
15809 {
15810 if ((long *) 0)
15811 return 0;
15812 if (sizeof (long))
15813 return 0;
15814 ;
15815 return 0;
15816 }
15817 _ACEOF
15818 rm -f conftest.$ac_objext
15819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15820 (eval $ac_compile) 2>conftest.er1
15821 ac_status=$?
15822 grep -v '^ *+' conftest.er1 >conftest.err
15823 rm -f conftest.er1
15824 cat conftest.err >&5
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); } &&
15827 { ac_try='test -z "$ac_c_werror_flag"
15828 || test ! -s conftest.err'
15829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15830 (eval $ac_try) 2>&5
15831 ac_status=$?
15832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15833 (exit $ac_status); }; } &&
15834 { ac_try='test -s conftest.$ac_objext'
15835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15836 (eval $ac_try) 2>&5
15837 ac_status=$?
15838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15839 (exit $ac_status); }; }; then
15840 ac_cv_type_long=yes
15841 else
15842 echo "$as_me: failed program was:" >&5
15843 sed 's/^/| /' conftest.$ac_ext >&5
15844
15845 ac_cv_type_long=no
15846 fi
15847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15848 fi
15849 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15850 echo "${ECHO_T}$ac_cv_type_long" >&6
15851
15852 echo "$as_me:$LINENO: checking size of long" >&5
15853 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15854 if test "${ac_cv_sizeof_long+set}" = set; then
15855 echo $ECHO_N "(cached) $ECHO_C" >&6
15856 else
15857 if test "$ac_cv_type_long" = yes; then
15858 # The cast to unsigned long works around a bug in the HP C Compiler
15859 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15860 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15861 # This bug is HP SR number 8606223364.
15862 if test "$cross_compiling" = yes; then
15863 # Depending upon the size, compute the lo and hi bounds.
15864 cat >conftest.$ac_ext <<_ACEOF
15865 /* confdefs.h. */
15866 _ACEOF
15867 cat confdefs.h >>conftest.$ac_ext
15868 cat >>conftest.$ac_ext <<_ACEOF
15869 /* end confdefs.h. */
15870 $ac_includes_default
15871 int
15872 main ()
15873 {
15874 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15875 test_array [0] = 0
15876
15877 ;
15878 return 0;
15879 }
15880 _ACEOF
15881 rm -f conftest.$ac_objext
15882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15883 (eval $ac_compile) 2>conftest.er1
15884 ac_status=$?
15885 grep -v '^ *+' conftest.er1 >conftest.err
15886 rm -f conftest.er1
15887 cat conftest.err >&5
15888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15889 (exit $ac_status); } &&
15890 { ac_try='test -z "$ac_c_werror_flag"
15891 || test ! -s conftest.err'
15892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15893 (eval $ac_try) 2>&5
15894 ac_status=$?
15895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15896 (exit $ac_status); }; } &&
15897 { ac_try='test -s conftest.$ac_objext'
15898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15899 (eval $ac_try) 2>&5
15900 ac_status=$?
15901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15902 (exit $ac_status); }; }; then
15903 ac_lo=0 ac_mid=0
15904 while :; do
15905 cat >conftest.$ac_ext <<_ACEOF
15906 /* confdefs.h. */
15907 _ACEOF
15908 cat confdefs.h >>conftest.$ac_ext
15909 cat >>conftest.$ac_ext <<_ACEOF
15910 /* end confdefs.h. */
15911 $ac_includes_default
15912 int
15913 main ()
15914 {
15915 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15916 test_array [0] = 0
15917
15918 ;
15919 return 0;
15920 }
15921 _ACEOF
15922 rm -f conftest.$ac_objext
15923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15924 (eval $ac_compile) 2>conftest.er1
15925 ac_status=$?
15926 grep -v '^ *+' conftest.er1 >conftest.err
15927 rm -f conftest.er1
15928 cat conftest.err >&5
15929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15930 (exit $ac_status); } &&
15931 { ac_try='test -z "$ac_c_werror_flag"
15932 || test ! -s conftest.err'
15933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15934 (eval $ac_try) 2>&5
15935 ac_status=$?
15936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15937 (exit $ac_status); }; } &&
15938 { ac_try='test -s conftest.$ac_objext'
15939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15940 (eval $ac_try) 2>&5
15941 ac_status=$?
15942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15943 (exit $ac_status); }; }; then
15944 ac_hi=$ac_mid; break
15945 else
15946 echo "$as_me: failed program was:" >&5
15947 sed 's/^/| /' conftest.$ac_ext >&5
15948
15949 ac_lo=`expr $ac_mid + 1`
15950 if test $ac_lo -le $ac_mid; then
15951 ac_lo= ac_hi=
15952 break
15953 fi
15954 ac_mid=`expr 2 '*' $ac_mid + 1`
15955 fi
15956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15957 done
15958 else
15959 echo "$as_me: failed program was:" >&5
15960 sed 's/^/| /' conftest.$ac_ext >&5
15961
15962 cat >conftest.$ac_ext <<_ACEOF
15963 /* confdefs.h. */
15964 _ACEOF
15965 cat confdefs.h >>conftest.$ac_ext
15966 cat >>conftest.$ac_ext <<_ACEOF
15967 /* end confdefs.h. */
15968 $ac_includes_default
15969 int
15970 main ()
15971 {
15972 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15973 test_array [0] = 0
15974
15975 ;
15976 return 0;
15977 }
15978 _ACEOF
15979 rm -f conftest.$ac_objext
15980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15981 (eval $ac_compile) 2>conftest.er1
15982 ac_status=$?
15983 grep -v '^ *+' conftest.er1 >conftest.err
15984 rm -f conftest.er1
15985 cat conftest.err >&5
15986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15987 (exit $ac_status); } &&
15988 { ac_try='test -z "$ac_c_werror_flag"
15989 || test ! -s conftest.err'
15990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15991 (eval $ac_try) 2>&5
15992 ac_status=$?
15993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15994 (exit $ac_status); }; } &&
15995 { ac_try='test -s conftest.$ac_objext'
15996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15997 (eval $ac_try) 2>&5
15998 ac_status=$?
15999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16000 (exit $ac_status); }; }; then
16001 ac_hi=-1 ac_mid=-1
16002 while :; do
16003 cat >conftest.$ac_ext <<_ACEOF
16004 /* confdefs.h. */
16005 _ACEOF
16006 cat confdefs.h >>conftest.$ac_ext
16007 cat >>conftest.$ac_ext <<_ACEOF
16008 /* end confdefs.h. */
16009 $ac_includes_default
16010 int
16011 main ()
16012 {
16013 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16014 test_array [0] = 0
16015
16016 ;
16017 return 0;
16018 }
16019 _ACEOF
16020 rm -f conftest.$ac_objext
16021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16022 (eval $ac_compile) 2>conftest.er1
16023 ac_status=$?
16024 grep -v '^ *+' conftest.er1 >conftest.err
16025 rm -f conftest.er1
16026 cat conftest.err >&5
16027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16028 (exit $ac_status); } &&
16029 { ac_try='test -z "$ac_c_werror_flag"
16030 || test ! -s conftest.err'
16031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16032 (eval $ac_try) 2>&5
16033 ac_status=$?
16034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16035 (exit $ac_status); }; } &&
16036 { ac_try='test -s conftest.$ac_objext'
16037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16038 (eval $ac_try) 2>&5
16039 ac_status=$?
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); }; }; then
16042 ac_lo=$ac_mid; break
16043 else
16044 echo "$as_me: failed program was:" >&5
16045 sed 's/^/| /' conftest.$ac_ext >&5
16046
16047 ac_hi=`expr '(' $ac_mid ')' - 1`
16048 if test $ac_mid -le $ac_hi; then
16049 ac_lo= ac_hi=
16050 break
16051 fi
16052 ac_mid=`expr 2 '*' $ac_mid`
16053 fi
16054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16055 done
16056 else
16057 echo "$as_me: failed program was:" >&5
16058 sed 's/^/| /' conftest.$ac_ext >&5
16059
16060 ac_lo= ac_hi=
16061 fi
16062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16063 fi
16064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16065 # Binary search between lo and hi bounds.
16066 while test "x$ac_lo" != "x$ac_hi"; do
16067 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16068 cat >conftest.$ac_ext <<_ACEOF
16069 /* confdefs.h. */
16070 _ACEOF
16071 cat confdefs.h >>conftest.$ac_ext
16072 cat >>conftest.$ac_ext <<_ACEOF
16073 /* end confdefs.h. */
16074 $ac_includes_default
16075 int
16076 main ()
16077 {
16078 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16079 test_array [0] = 0
16080
16081 ;
16082 return 0;
16083 }
16084 _ACEOF
16085 rm -f conftest.$ac_objext
16086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16087 (eval $ac_compile) 2>conftest.er1
16088 ac_status=$?
16089 grep -v '^ *+' conftest.er1 >conftest.err
16090 rm -f conftest.er1
16091 cat conftest.err >&5
16092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16093 (exit $ac_status); } &&
16094 { ac_try='test -z "$ac_c_werror_flag"
16095 || test ! -s conftest.err'
16096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16097 (eval $ac_try) 2>&5
16098 ac_status=$?
16099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16100 (exit $ac_status); }; } &&
16101 { ac_try='test -s conftest.$ac_objext'
16102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16103 (eval $ac_try) 2>&5
16104 ac_status=$?
16105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16106 (exit $ac_status); }; }; then
16107 ac_hi=$ac_mid
16108 else
16109 echo "$as_me: failed program was:" >&5
16110 sed 's/^/| /' conftest.$ac_ext >&5
16111
16112 ac_lo=`expr '(' $ac_mid ')' + 1`
16113 fi
16114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16115 done
16116 case $ac_lo in
16117 ?*) ac_cv_sizeof_long=$ac_lo;;
16118 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16119 See \`config.log' for more details." >&5
16120 echo "$as_me: error: cannot compute sizeof (long), 77
16121 See \`config.log' for more details." >&2;}
16122 { (exit 1); exit 1; }; } ;;
16123 esac
16124 else
16125 if test "$cross_compiling" = yes; then
16126 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16127 See \`config.log' for more details." >&5
16128 echo "$as_me: error: cannot run test program while cross compiling
16129 See \`config.log' for more details." >&2;}
16130 { (exit 1); exit 1; }; }
16131 else
16132 cat >conftest.$ac_ext <<_ACEOF
16133 /* confdefs.h. */
16134 _ACEOF
16135 cat confdefs.h >>conftest.$ac_ext
16136 cat >>conftest.$ac_ext <<_ACEOF
16137 /* end confdefs.h. */
16138 $ac_includes_default
16139 long longval () { return (long) (sizeof (long)); }
16140 unsigned long ulongval () { return (long) (sizeof (long)); }
16141 #include <stdio.h>
16142 #include <stdlib.h>
16143 int
16144 main ()
16145 {
16146
16147 FILE *f = fopen ("conftest.val", "w");
16148 if (! f)
16149 exit (1);
16150 if (((long) (sizeof (long))) < 0)
16151 {
16152 long i = longval ();
16153 if (i != ((long) (sizeof (long))))
16154 exit (1);
16155 fprintf (f, "%ld\n", i);
16156 }
16157 else
16158 {
16159 unsigned long i = ulongval ();
16160 if (i != ((long) (sizeof (long))))
16161 exit (1);
16162 fprintf (f, "%lu\n", i);
16163 }
16164 exit (ferror (f) || fclose (f) != 0);
16165
16166 ;
16167 return 0;
16168 }
16169 _ACEOF
16170 rm -f conftest$ac_exeext
16171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16172 (eval $ac_link) 2>&5
16173 ac_status=$?
16174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16175 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16177 (eval $ac_try) 2>&5
16178 ac_status=$?
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); }; }; then
16181 ac_cv_sizeof_long=`cat conftest.val`
16182 else
16183 echo "$as_me: program exited with status $ac_status" >&5
16184 echo "$as_me: failed program was:" >&5
16185 sed 's/^/| /' conftest.$ac_ext >&5
16186
16187 ( exit $ac_status )
16188 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16189 See \`config.log' for more details." >&5
16190 echo "$as_me: error: cannot compute sizeof (long), 77
16191 See \`config.log' for more details." >&2;}
16192 { (exit 1); exit 1; }; }
16193 fi
16194 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16195 fi
16196 fi
16197 rm -f conftest.val
16198 else
16199 ac_cv_sizeof_long=0
16200 fi
16201 fi
16202 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16203 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16204 cat >>confdefs.h <<_ACEOF
16205 #define SIZEOF_LONG $ac_cv_sizeof_long
16206 _ACEOF
16207
16208
16209
16210 case "${host}" in
16211 arm-*-linux* )
16212 echo "$as_me:$LINENO: checking for long long" >&5
16213 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16214 if test "${ac_cv_type_long_long+set}" = set; then
16215 echo $ECHO_N "(cached) $ECHO_C" >&6
16216 else
16217 cat >conftest.$ac_ext <<_ACEOF
16218 /* confdefs.h. */
16219 _ACEOF
16220 cat confdefs.h >>conftest.$ac_ext
16221 cat >>conftest.$ac_ext <<_ACEOF
16222 /* end confdefs.h. */
16223 $ac_includes_default
16224 int
16225 main ()
16226 {
16227 if ((long long *) 0)
16228 return 0;
16229 if (sizeof (long long))
16230 return 0;
16231 ;
16232 return 0;
16233 }
16234 _ACEOF
16235 rm -f conftest.$ac_objext
16236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16237 (eval $ac_compile) 2>conftest.er1
16238 ac_status=$?
16239 grep -v '^ *+' conftest.er1 >conftest.err
16240 rm -f conftest.er1
16241 cat conftest.err >&5
16242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16243 (exit $ac_status); } &&
16244 { ac_try='test -z "$ac_c_werror_flag"
16245 || test ! -s conftest.err'
16246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16247 (eval $ac_try) 2>&5
16248 ac_status=$?
16249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16250 (exit $ac_status); }; } &&
16251 { ac_try='test -s conftest.$ac_objext'
16252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16253 (eval $ac_try) 2>&5
16254 ac_status=$?
16255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16256 (exit $ac_status); }; }; then
16257 ac_cv_type_long_long=yes
16258 else
16259 echo "$as_me: failed program was:" >&5
16260 sed 's/^/| /' conftest.$ac_ext >&5
16261
16262 ac_cv_type_long_long=no
16263 fi
16264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16265 fi
16266 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16267 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16268
16269 echo "$as_me:$LINENO: checking size of long long" >&5
16270 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16271 if test "${ac_cv_sizeof_long_long+set}" = set; then
16272 echo $ECHO_N "(cached) $ECHO_C" >&6
16273 else
16274 if test "$ac_cv_type_long_long" = yes; then
16275 # The cast to unsigned long works around a bug in the HP C Compiler
16276 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16277 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16278 # This bug is HP SR number 8606223364.
16279 if test "$cross_compiling" = yes; then
16280 # Depending upon the size, compute the lo and hi bounds.
16281 cat >conftest.$ac_ext <<_ACEOF
16282 /* confdefs.h. */
16283 _ACEOF
16284 cat confdefs.h >>conftest.$ac_ext
16285 cat >>conftest.$ac_ext <<_ACEOF
16286 /* end confdefs.h. */
16287 $ac_includes_default
16288 int
16289 main ()
16290 {
16291 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16292 test_array [0] = 0
16293
16294 ;
16295 return 0;
16296 }
16297 _ACEOF
16298 rm -f conftest.$ac_objext
16299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16300 (eval $ac_compile) 2>conftest.er1
16301 ac_status=$?
16302 grep -v '^ *+' conftest.er1 >conftest.err
16303 rm -f conftest.er1
16304 cat conftest.err >&5
16305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16306 (exit $ac_status); } &&
16307 { ac_try='test -z "$ac_c_werror_flag"
16308 || test ! -s conftest.err'
16309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16310 (eval $ac_try) 2>&5
16311 ac_status=$?
16312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16313 (exit $ac_status); }; } &&
16314 { ac_try='test -s conftest.$ac_objext'
16315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16316 (eval $ac_try) 2>&5
16317 ac_status=$?
16318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16319 (exit $ac_status); }; }; then
16320 ac_lo=0 ac_mid=0
16321 while :; do
16322 cat >conftest.$ac_ext <<_ACEOF
16323 /* confdefs.h. */
16324 _ACEOF
16325 cat confdefs.h >>conftest.$ac_ext
16326 cat >>conftest.$ac_ext <<_ACEOF
16327 /* end confdefs.h. */
16328 $ac_includes_default
16329 int
16330 main ()
16331 {
16332 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16333 test_array [0] = 0
16334
16335 ;
16336 return 0;
16337 }
16338 _ACEOF
16339 rm -f conftest.$ac_objext
16340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16341 (eval $ac_compile) 2>conftest.er1
16342 ac_status=$?
16343 grep -v '^ *+' conftest.er1 >conftest.err
16344 rm -f conftest.er1
16345 cat conftest.err >&5
16346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16347 (exit $ac_status); } &&
16348 { ac_try='test -z "$ac_c_werror_flag"
16349 || test ! -s conftest.err'
16350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16351 (eval $ac_try) 2>&5
16352 ac_status=$?
16353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16354 (exit $ac_status); }; } &&
16355 { ac_try='test -s conftest.$ac_objext'
16356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16357 (eval $ac_try) 2>&5
16358 ac_status=$?
16359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16360 (exit $ac_status); }; }; then
16361 ac_hi=$ac_mid; break
16362 else
16363 echo "$as_me: failed program was:" >&5
16364 sed 's/^/| /' conftest.$ac_ext >&5
16365
16366 ac_lo=`expr $ac_mid + 1`
16367 if test $ac_lo -le $ac_mid; then
16368 ac_lo= ac_hi=
16369 break
16370 fi
16371 ac_mid=`expr 2 '*' $ac_mid + 1`
16372 fi
16373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16374 done
16375 else
16376 echo "$as_me: failed program was:" >&5
16377 sed 's/^/| /' conftest.$ac_ext >&5
16378
16379 cat >conftest.$ac_ext <<_ACEOF
16380 /* confdefs.h. */
16381 _ACEOF
16382 cat confdefs.h >>conftest.$ac_ext
16383 cat >>conftest.$ac_ext <<_ACEOF
16384 /* end confdefs.h. */
16385 $ac_includes_default
16386 int
16387 main ()
16388 {
16389 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16390 test_array [0] = 0
16391
16392 ;
16393 return 0;
16394 }
16395 _ACEOF
16396 rm -f conftest.$ac_objext
16397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16398 (eval $ac_compile) 2>conftest.er1
16399 ac_status=$?
16400 grep -v '^ *+' conftest.er1 >conftest.err
16401 rm -f conftest.er1
16402 cat conftest.err >&5
16403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16404 (exit $ac_status); } &&
16405 { ac_try='test -z "$ac_c_werror_flag"
16406 || test ! -s conftest.err'
16407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16408 (eval $ac_try) 2>&5
16409 ac_status=$?
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); }; } &&
16412 { ac_try='test -s conftest.$ac_objext'
16413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16414 (eval $ac_try) 2>&5
16415 ac_status=$?
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); }; }; then
16418 ac_hi=-1 ac_mid=-1
16419 while :; do
16420 cat >conftest.$ac_ext <<_ACEOF
16421 /* confdefs.h. */
16422 _ACEOF
16423 cat confdefs.h >>conftest.$ac_ext
16424 cat >>conftest.$ac_ext <<_ACEOF
16425 /* end confdefs.h. */
16426 $ac_includes_default
16427 int
16428 main ()
16429 {
16430 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16431 test_array [0] = 0
16432
16433 ;
16434 return 0;
16435 }
16436 _ACEOF
16437 rm -f conftest.$ac_objext
16438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16439 (eval $ac_compile) 2>conftest.er1
16440 ac_status=$?
16441 grep -v '^ *+' conftest.er1 >conftest.err
16442 rm -f conftest.er1
16443 cat conftest.err >&5
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); } &&
16446 { ac_try='test -z "$ac_c_werror_flag"
16447 || test ! -s conftest.err'
16448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16449 (eval $ac_try) 2>&5
16450 ac_status=$?
16451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16452 (exit $ac_status); }; } &&
16453 { ac_try='test -s conftest.$ac_objext'
16454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16455 (eval $ac_try) 2>&5
16456 ac_status=$?
16457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16458 (exit $ac_status); }; }; then
16459 ac_lo=$ac_mid; break
16460 else
16461 echo "$as_me: failed program was:" >&5
16462 sed 's/^/| /' conftest.$ac_ext >&5
16463
16464 ac_hi=`expr '(' $ac_mid ')' - 1`
16465 if test $ac_mid -le $ac_hi; then
16466 ac_lo= ac_hi=
16467 break
16468 fi
16469 ac_mid=`expr 2 '*' $ac_mid`
16470 fi
16471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16472 done
16473 else
16474 echo "$as_me: failed program was:" >&5
16475 sed 's/^/| /' conftest.$ac_ext >&5
16476
16477 ac_lo= ac_hi=
16478 fi
16479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16480 fi
16481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16482 # Binary search between lo and hi bounds.
16483 while test "x$ac_lo" != "x$ac_hi"; do
16484 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16485 cat >conftest.$ac_ext <<_ACEOF
16486 /* confdefs.h. */
16487 _ACEOF
16488 cat confdefs.h >>conftest.$ac_ext
16489 cat >>conftest.$ac_ext <<_ACEOF
16490 /* end confdefs.h. */
16491 $ac_includes_default
16492 int
16493 main ()
16494 {
16495 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16496 test_array [0] = 0
16497
16498 ;
16499 return 0;
16500 }
16501 _ACEOF
16502 rm -f conftest.$ac_objext
16503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16504 (eval $ac_compile) 2>conftest.er1
16505 ac_status=$?
16506 grep -v '^ *+' conftest.er1 >conftest.err
16507 rm -f conftest.er1
16508 cat conftest.err >&5
16509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16510 (exit $ac_status); } &&
16511 { ac_try='test -z "$ac_c_werror_flag"
16512 || test ! -s conftest.err'
16513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16514 (eval $ac_try) 2>&5
16515 ac_status=$?
16516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16517 (exit $ac_status); }; } &&
16518 { ac_try='test -s conftest.$ac_objext'
16519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16520 (eval $ac_try) 2>&5
16521 ac_status=$?
16522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16523 (exit $ac_status); }; }; then
16524 ac_hi=$ac_mid
16525 else
16526 echo "$as_me: failed program was:" >&5
16527 sed 's/^/| /' conftest.$ac_ext >&5
16528
16529 ac_lo=`expr '(' $ac_mid ')' + 1`
16530 fi
16531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16532 done
16533 case $ac_lo in
16534 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16535 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16536 See \`config.log' for more details." >&5
16537 echo "$as_me: error: cannot compute sizeof (long long), 77
16538 See \`config.log' for more details." >&2;}
16539 { (exit 1); exit 1; }; } ;;
16540 esac
16541 else
16542 if test "$cross_compiling" = yes; then
16543 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16544 See \`config.log' for more details." >&5
16545 echo "$as_me: error: cannot run test program while cross compiling
16546 See \`config.log' for more details." >&2;}
16547 { (exit 1); exit 1; }; }
16548 else
16549 cat >conftest.$ac_ext <<_ACEOF
16550 /* confdefs.h. */
16551 _ACEOF
16552 cat confdefs.h >>conftest.$ac_ext
16553 cat >>conftest.$ac_ext <<_ACEOF
16554 /* end confdefs.h. */
16555 $ac_includes_default
16556 long longval () { return (long) (sizeof (long long)); }
16557 unsigned long ulongval () { return (long) (sizeof (long long)); }
16558 #include <stdio.h>
16559 #include <stdlib.h>
16560 int
16561 main ()
16562 {
16563
16564 FILE *f = fopen ("conftest.val", "w");
16565 if (! f)
16566 exit (1);
16567 if (((long) (sizeof (long long))) < 0)
16568 {
16569 long i = longval ();
16570 if (i != ((long) (sizeof (long long))))
16571 exit (1);
16572 fprintf (f, "%ld\n", i);
16573 }
16574 else
16575 {
16576 unsigned long i = ulongval ();
16577 if (i != ((long) (sizeof (long long))))
16578 exit (1);
16579 fprintf (f, "%lu\n", i);
16580 }
16581 exit (ferror (f) || fclose (f) != 0);
16582
16583 ;
16584 return 0;
16585 }
16586 _ACEOF
16587 rm -f conftest$ac_exeext
16588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16589 (eval $ac_link) 2>&5
16590 ac_status=$?
16591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16592 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16594 (eval $ac_try) 2>&5
16595 ac_status=$?
16596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16597 (exit $ac_status); }; }; then
16598 ac_cv_sizeof_long_long=`cat conftest.val`
16599 else
16600 echo "$as_me: program exited with status $ac_status" >&5
16601 echo "$as_me: failed program was:" >&5
16602 sed 's/^/| /' conftest.$ac_ext >&5
16603
16604 ( exit $ac_status )
16605 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16606 See \`config.log' for more details." >&5
16607 echo "$as_me: error: cannot compute sizeof (long long), 77
16608 See \`config.log' for more details." >&2;}
16609 { (exit 1); exit 1; }; }
16610 fi
16611 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16612 fi
16613 fi
16614 rm -f conftest.val
16615 else
16616 ac_cv_sizeof_long_long=0
16617 fi
16618 fi
16619 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16620 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16621 cat >>confdefs.h <<_ACEOF
16622 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16623 _ACEOF
16624
16625
16626 ;;
16627 *-hp-hpux* )
16628 echo "$as_me:$LINENO: checking for long long" >&5
16629 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16630 if test "${ac_cv_type_long_long+set}" = set; then
16631 echo $ECHO_N "(cached) $ECHO_C" >&6
16632 else
16633 cat >conftest.$ac_ext <<_ACEOF
16634 /* confdefs.h. */
16635 _ACEOF
16636 cat confdefs.h >>conftest.$ac_ext
16637 cat >>conftest.$ac_ext <<_ACEOF
16638 /* end confdefs.h. */
16639 $ac_includes_default
16640 int
16641 main ()
16642 {
16643 if ((long long *) 0)
16644 return 0;
16645 if (sizeof (long long))
16646 return 0;
16647 ;
16648 return 0;
16649 }
16650 _ACEOF
16651 rm -f conftest.$ac_objext
16652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16653 (eval $ac_compile) 2>conftest.er1
16654 ac_status=$?
16655 grep -v '^ *+' conftest.er1 >conftest.err
16656 rm -f conftest.er1
16657 cat conftest.err >&5
16658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16659 (exit $ac_status); } &&
16660 { ac_try='test -z "$ac_c_werror_flag"
16661 || test ! -s conftest.err'
16662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16663 (eval $ac_try) 2>&5
16664 ac_status=$?
16665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16666 (exit $ac_status); }; } &&
16667 { ac_try='test -s conftest.$ac_objext'
16668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16669 (eval $ac_try) 2>&5
16670 ac_status=$?
16671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672 (exit $ac_status); }; }; then
16673 ac_cv_type_long_long=yes
16674 else
16675 echo "$as_me: failed program was:" >&5
16676 sed 's/^/| /' conftest.$ac_ext >&5
16677
16678 ac_cv_type_long_long=no
16679 fi
16680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16681 fi
16682 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16683 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16684
16685 echo "$as_me:$LINENO: checking size of long long" >&5
16686 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16687 if test "${ac_cv_sizeof_long_long+set}" = set; then
16688 echo $ECHO_N "(cached) $ECHO_C" >&6
16689 else
16690 if test "$ac_cv_type_long_long" = yes; then
16691 # The cast to unsigned long works around a bug in the HP C Compiler
16692 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16693 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16694 # This bug is HP SR number 8606223364.
16695 if test "$cross_compiling" = yes; then
16696 # Depending upon the size, compute the lo and hi bounds.
16697 cat >conftest.$ac_ext <<_ACEOF
16698 /* confdefs.h. */
16699 _ACEOF
16700 cat confdefs.h >>conftest.$ac_ext
16701 cat >>conftest.$ac_ext <<_ACEOF
16702 /* end confdefs.h. */
16703 $ac_includes_default
16704 int
16705 main ()
16706 {
16707 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16708 test_array [0] = 0
16709
16710 ;
16711 return 0;
16712 }
16713 _ACEOF
16714 rm -f conftest.$ac_objext
16715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16716 (eval $ac_compile) 2>conftest.er1
16717 ac_status=$?
16718 grep -v '^ *+' conftest.er1 >conftest.err
16719 rm -f conftest.er1
16720 cat conftest.err >&5
16721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); } &&
16723 { ac_try='test -z "$ac_c_werror_flag"
16724 || test ! -s conftest.err'
16725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16726 (eval $ac_try) 2>&5
16727 ac_status=$?
16728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16729 (exit $ac_status); }; } &&
16730 { ac_try='test -s conftest.$ac_objext'
16731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16732 (eval $ac_try) 2>&5
16733 ac_status=$?
16734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16735 (exit $ac_status); }; }; then
16736 ac_lo=0 ac_mid=0
16737 while :; do
16738 cat >conftest.$ac_ext <<_ACEOF
16739 /* confdefs.h. */
16740 _ACEOF
16741 cat confdefs.h >>conftest.$ac_ext
16742 cat >>conftest.$ac_ext <<_ACEOF
16743 /* end confdefs.h. */
16744 $ac_includes_default
16745 int
16746 main ()
16747 {
16748 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16749 test_array [0] = 0
16750
16751 ;
16752 return 0;
16753 }
16754 _ACEOF
16755 rm -f conftest.$ac_objext
16756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16757 (eval $ac_compile) 2>conftest.er1
16758 ac_status=$?
16759 grep -v '^ *+' conftest.er1 >conftest.err
16760 rm -f conftest.er1
16761 cat conftest.err >&5
16762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16763 (exit $ac_status); } &&
16764 { ac_try='test -z "$ac_c_werror_flag"
16765 || test ! -s conftest.err'
16766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16767 (eval $ac_try) 2>&5
16768 ac_status=$?
16769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16770 (exit $ac_status); }; } &&
16771 { ac_try='test -s conftest.$ac_objext'
16772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16773 (eval $ac_try) 2>&5
16774 ac_status=$?
16775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16776 (exit $ac_status); }; }; then
16777 ac_hi=$ac_mid; break
16778 else
16779 echo "$as_me: failed program was:" >&5
16780 sed 's/^/| /' conftest.$ac_ext >&5
16781
16782 ac_lo=`expr $ac_mid + 1`
16783 if test $ac_lo -le $ac_mid; then
16784 ac_lo= ac_hi=
16785 break
16786 fi
16787 ac_mid=`expr 2 '*' $ac_mid + 1`
16788 fi
16789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16790 done
16791 else
16792 echo "$as_me: failed program was:" >&5
16793 sed 's/^/| /' conftest.$ac_ext >&5
16794
16795 cat >conftest.$ac_ext <<_ACEOF
16796 /* confdefs.h. */
16797 _ACEOF
16798 cat confdefs.h >>conftest.$ac_ext
16799 cat >>conftest.$ac_ext <<_ACEOF
16800 /* end confdefs.h. */
16801 $ac_includes_default
16802 int
16803 main ()
16804 {
16805 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16806 test_array [0] = 0
16807
16808 ;
16809 return 0;
16810 }
16811 _ACEOF
16812 rm -f conftest.$ac_objext
16813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16814 (eval $ac_compile) 2>conftest.er1
16815 ac_status=$?
16816 grep -v '^ *+' conftest.er1 >conftest.err
16817 rm -f conftest.er1
16818 cat conftest.err >&5
16819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16820 (exit $ac_status); } &&
16821 { ac_try='test -z "$ac_c_werror_flag"
16822 || test ! -s conftest.err'
16823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16824 (eval $ac_try) 2>&5
16825 ac_status=$?
16826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16827 (exit $ac_status); }; } &&
16828 { ac_try='test -s conftest.$ac_objext'
16829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16830 (eval $ac_try) 2>&5
16831 ac_status=$?
16832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16833 (exit $ac_status); }; }; then
16834 ac_hi=-1 ac_mid=-1
16835 while :; do
16836 cat >conftest.$ac_ext <<_ACEOF
16837 /* confdefs.h. */
16838 _ACEOF
16839 cat confdefs.h >>conftest.$ac_ext
16840 cat >>conftest.$ac_ext <<_ACEOF
16841 /* end confdefs.h. */
16842 $ac_includes_default
16843 int
16844 main ()
16845 {
16846 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16847 test_array [0] = 0
16848
16849 ;
16850 return 0;
16851 }
16852 _ACEOF
16853 rm -f conftest.$ac_objext
16854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16855 (eval $ac_compile) 2>conftest.er1
16856 ac_status=$?
16857 grep -v '^ *+' conftest.er1 >conftest.err
16858 rm -f conftest.er1
16859 cat conftest.err >&5
16860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16861 (exit $ac_status); } &&
16862 { ac_try='test -z "$ac_c_werror_flag"
16863 || test ! -s conftest.err'
16864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16865 (eval $ac_try) 2>&5
16866 ac_status=$?
16867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16868 (exit $ac_status); }; } &&
16869 { ac_try='test -s conftest.$ac_objext'
16870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16871 (eval $ac_try) 2>&5
16872 ac_status=$?
16873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16874 (exit $ac_status); }; }; then
16875 ac_lo=$ac_mid; break
16876 else
16877 echo "$as_me: failed program was:" >&5
16878 sed 's/^/| /' conftest.$ac_ext >&5
16879
16880 ac_hi=`expr '(' $ac_mid ')' - 1`
16881 if test $ac_mid -le $ac_hi; then
16882 ac_lo= ac_hi=
16883 break
16884 fi
16885 ac_mid=`expr 2 '*' $ac_mid`
16886 fi
16887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16888 done
16889 else
16890 echo "$as_me: failed program was:" >&5
16891 sed 's/^/| /' conftest.$ac_ext >&5
16892
16893 ac_lo= ac_hi=
16894 fi
16895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16896 fi
16897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16898 # Binary search between lo and hi bounds.
16899 while test "x$ac_lo" != "x$ac_hi"; do
16900 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16901 cat >conftest.$ac_ext <<_ACEOF
16902 /* confdefs.h. */
16903 _ACEOF
16904 cat confdefs.h >>conftest.$ac_ext
16905 cat >>conftest.$ac_ext <<_ACEOF
16906 /* end confdefs.h. */
16907 $ac_includes_default
16908 int
16909 main ()
16910 {
16911 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16912 test_array [0] = 0
16913
16914 ;
16915 return 0;
16916 }
16917 _ACEOF
16918 rm -f conftest.$ac_objext
16919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16920 (eval $ac_compile) 2>conftest.er1
16921 ac_status=$?
16922 grep -v '^ *+' conftest.er1 >conftest.err
16923 rm -f conftest.er1
16924 cat conftest.err >&5
16925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926 (exit $ac_status); } &&
16927 { ac_try='test -z "$ac_c_werror_flag"
16928 || test ! -s conftest.err'
16929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16930 (eval $ac_try) 2>&5
16931 ac_status=$?
16932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16933 (exit $ac_status); }; } &&
16934 { ac_try='test -s conftest.$ac_objext'
16935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16936 (eval $ac_try) 2>&5
16937 ac_status=$?
16938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16939 (exit $ac_status); }; }; then
16940 ac_hi=$ac_mid
16941 else
16942 echo "$as_me: failed program was:" >&5
16943 sed 's/^/| /' conftest.$ac_ext >&5
16944
16945 ac_lo=`expr '(' $ac_mid ')' + 1`
16946 fi
16947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16948 done
16949 case $ac_lo in
16950 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16951 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16952 See \`config.log' for more details." >&5
16953 echo "$as_me: error: cannot compute sizeof (long long), 77
16954 See \`config.log' for more details." >&2;}
16955 { (exit 1); exit 1; }; } ;;
16956 esac
16957 else
16958 if test "$cross_compiling" = yes; then
16959 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16960 See \`config.log' for more details." >&5
16961 echo "$as_me: error: cannot run test program while cross compiling
16962 See \`config.log' for more details." >&2;}
16963 { (exit 1); exit 1; }; }
16964 else
16965 cat >conftest.$ac_ext <<_ACEOF
16966 /* confdefs.h. */
16967 _ACEOF
16968 cat confdefs.h >>conftest.$ac_ext
16969 cat >>conftest.$ac_ext <<_ACEOF
16970 /* end confdefs.h. */
16971 $ac_includes_default
16972 long longval () { return (long) (sizeof (long long)); }
16973 unsigned long ulongval () { return (long) (sizeof (long long)); }
16974 #include <stdio.h>
16975 #include <stdlib.h>
16976 int
16977 main ()
16978 {
16979
16980 FILE *f = fopen ("conftest.val", "w");
16981 if (! f)
16982 exit (1);
16983 if (((long) (sizeof (long long))) < 0)
16984 {
16985 long i = longval ();
16986 if (i != ((long) (sizeof (long long))))
16987 exit (1);
16988 fprintf (f, "%ld\n", i);
16989 }
16990 else
16991 {
16992 unsigned long i = ulongval ();
16993 if (i != ((long) (sizeof (long long))))
16994 exit (1);
16995 fprintf (f, "%lu\n", i);
16996 }
16997 exit (ferror (f) || fclose (f) != 0);
16998
16999 ;
17000 return 0;
17001 }
17002 _ACEOF
17003 rm -f conftest$ac_exeext
17004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17005 (eval $ac_link) 2>&5
17006 ac_status=$?
17007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17008 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17010 (eval $ac_try) 2>&5
17011 ac_status=$?
17012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013 (exit $ac_status); }; }; then
17014 ac_cv_sizeof_long_long=`cat conftest.val`
17015 else
17016 echo "$as_me: program exited with status $ac_status" >&5
17017 echo "$as_me: failed program was:" >&5
17018 sed 's/^/| /' conftest.$ac_ext >&5
17019
17020 ( exit $ac_status )
17021 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17022 See \`config.log' for more details." >&5
17023 echo "$as_me: error: cannot compute sizeof (long long), 77
17024 See \`config.log' for more details." >&2;}
17025 { (exit 1); exit 1; }; }
17026 fi
17027 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17028 fi
17029 fi
17030 rm -f conftest.val
17031 else
17032 ac_cv_sizeof_long_long=0
17033 fi
17034 fi
17035 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17036 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17037 cat >>confdefs.h <<_ACEOF
17038 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17039 _ACEOF
17040
17041
17042 if test "$ac_cv_sizeof_long_long" != "0"; then
17043 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
17044 fi
17045 ;;
17046 * )
17047 echo "$as_me:$LINENO: checking for long long" >&5
17048 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17049 if test "${ac_cv_type_long_long+set}" = set; then
17050 echo $ECHO_N "(cached) $ECHO_C" >&6
17051 else
17052 cat >conftest.$ac_ext <<_ACEOF
17053 /* confdefs.h. */
17054 _ACEOF
17055 cat confdefs.h >>conftest.$ac_ext
17056 cat >>conftest.$ac_ext <<_ACEOF
17057 /* end confdefs.h. */
17058 $ac_includes_default
17059 int
17060 main ()
17061 {
17062 if ((long long *) 0)
17063 return 0;
17064 if (sizeof (long long))
17065 return 0;
17066 ;
17067 return 0;
17068 }
17069 _ACEOF
17070 rm -f conftest.$ac_objext
17071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17072 (eval $ac_compile) 2>conftest.er1
17073 ac_status=$?
17074 grep -v '^ *+' conftest.er1 >conftest.err
17075 rm -f conftest.er1
17076 cat conftest.err >&5
17077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17078 (exit $ac_status); } &&
17079 { ac_try='test -z "$ac_c_werror_flag"
17080 || test ! -s conftest.err'
17081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17082 (eval $ac_try) 2>&5
17083 ac_status=$?
17084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17085 (exit $ac_status); }; } &&
17086 { ac_try='test -s conftest.$ac_objext'
17087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17088 (eval $ac_try) 2>&5
17089 ac_status=$?
17090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17091 (exit $ac_status); }; }; then
17092 ac_cv_type_long_long=yes
17093 else
17094 echo "$as_me: failed program was:" >&5
17095 sed 's/^/| /' conftest.$ac_ext >&5
17096
17097 ac_cv_type_long_long=no
17098 fi
17099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17100 fi
17101 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17102 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17103
17104 echo "$as_me:$LINENO: checking size of long long" >&5
17105 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17106 if test "${ac_cv_sizeof_long_long+set}" = set; then
17107 echo $ECHO_N "(cached) $ECHO_C" >&6
17108 else
17109 if test "$ac_cv_type_long_long" = yes; then
17110 # The cast to unsigned long works around a bug in the HP C Compiler
17111 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17112 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17113 # This bug is HP SR number 8606223364.
17114 if test "$cross_compiling" = yes; then
17115 # Depending upon the size, compute the lo and hi bounds.
17116 cat >conftest.$ac_ext <<_ACEOF
17117 /* confdefs.h. */
17118 _ACEOF
17119 cat confdefs.h >>conftest.$ac_ext
17120 cat >>conftest.$ac_ext <<_ACEOF
17121 /* end confdefs.h. */
17122 $ac_includes_default
17123 int
17124 main ()
17125 {
17126 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17127 test_array [0] = 0
17128
17129 ;
17130 return 0;
17131 }
17132 _ACEOF
17133 rm -f conftest.$ac_objext
17134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17135 (eval $ac_compile) 2>conftest.er1
17136 ac_status=$?
17137 grep -v '^ *+' conftest.er1 >conftest.err
17138 rm -f conftest.er1
17139 cat conftest.err >&5
17140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17141 (exit $ac_status); } &&
17142 { ac_try='test -z "$ac_c_werror_flag"
17143 || test ! -s conftest.err'
17144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17145 (eval $ac_try) 2>&5
17146 ac_status=$?
17147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17148 (exit $ac_status); }; } &&
17149 { ac_try='test -s conftest.$ac_objext'
17150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17151 (eval $ac_try) 2>&5
17152 ac_status=$?
17153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17154 (exit $ac_status); }; }; then
17155 ac_lo=0 ac_mid=0
17156 while :; do
17157 cat >conftest.$ac_ext <<_ACEOF
17158 /* confdefs.h. */
17159 _ACEOF
17160 cat confdefs.h >>conftest.$ac_ext
17161 cat >>conftest.$ac_ext <<_ACEOF
17162 /* end confdefs.h. */
17163 $ac_includes_default
17164 int
17165 main ()
17166 {
17167 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17168 test_array [0] = 0
17169
17170 ;
17171 return 0;
17172 }
17173 _ACEOF
17174 rm -f conftest.$ac_objext
17175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17176 (eval $ac_compile) 2>conftest.er1
17177 ac_status=$?
17178 grep -v '^ *+' conftest.er1 >conftest.err
17179 rm -f conftest.er1
17180 cat conftest.err >&5
17181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17182 (exit $ac_status); } &&
17183 { ac_try='test -z "$ac_c_werror_flag"
17184 || test ! -s conftest.err'
17185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17186 (eval $ac_try) 2>&5
17187 ac_status=$?
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); }; } &&
17190 { ac_try='test -s conftest.$ac_objext'
17191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17192 (eval $ac_try) 2>&5
17193 ac_status=$?
17194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17195 (exit $ac_status); }; }; then
17196 ac_hi=$ac_mid; break
17197 else
17198 echo "$as_me: failed program was:" >&5
17199 sed 's/^/| /' conftest.$ac_ext >&5
17200
17201 ac_lo=`expr $ac_mid + 1`
17202 if test $ac_lo -le $ac_mid; then
17203 ac_lo= ac_hi=
17204 break
17205 fi
17206 ac_mid=`expr 2 '*' $ac_mid + 1`
17207 fi
17208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17209 done
17210 else
17211 echo "$as_me: failed program was:" >&5
17212 sed 's/^/| /' conftest.$ac_ext >&5
17213
17214 cat >conftest.$ac_ext <<_ACEOF
17215 /* confdefs.h. */
17216 _ACEOF
17217 cat confdefs.h >>conftest.$ac_ext
17218 cat >>conftest.$ac_ext <<_ACEOF
17219 /* end confdefs.h. */
17220 $ac_includes_default
17221 int
17222 main ()
17223 {
17224 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17225 test_array [0] = 0
17226
17227 ;
17228 return 0;
17229 }
17230 _ACEOF
17231 rm -f conftest.$ac_objext
17232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17233 (eval $ac_compile) 2>conftest.er1
17234 ac_status=$?
17235 grep -v '^ *+' conftest.er1 >conftest.err
17236 rm -f conftest.er1
17237 cat conftest.err >&5
17238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239 (exit $ac_status); } &&
17240 { ac_try='test -z "$ac_c_werror_flag"
17241 || test ! -s conftest.err'
17242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17243 (eval $ac_try) 2>&5
17244 ac_status=$?
17245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246 (exit $ac_status); }; } &&
17247 { ac_try='test -s conftest.$ac_objext'
17248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17249 (eval $ac_try) 2>&5
17250 ac_status=$?
17251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17252 (exit $ac_status); }; }; then
17253 ac_hi=-1 ac_mid=-1
17254 while :; do
17255 cat >conftest.$ac_ext <<_ACEOF
17256 /* confdefs.h. */
17257 _ACEOF
17258 cat confdefs.h >>conftest.$ac_ext
17259 cat >>conftest.$ac_ext <<_ACEOF
17260 /* end confdefs.h. */
17261 $ac_includes_default
17262 int
17263 main ()
17264 {
17265 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17266 test_array [0] = 0
17267
17268 ;
17269 return 0;
17270 }
17271 _ACEOF
17272 rm -f conftest.$ac_objext
17273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17274 (eval $ac_compile) 2>conftest.er1
17275 ac_status=$?
17276 grep -v '^ *+' conftest.er1 >conftest.err
17277 rm -f conftest.er1
17278 cat conftest.err >&5
17279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17280 (exit $ac_status); } &&
17281 { ac_try='test -z "$ac_c_werror_flag"
17282 || test ! -s conftest.err'
17283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17284 (eval $ac_try) 2>&5
17285 ac_status=$?
17286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17287 (exit $ac_status); }; } &&
17288 { ac_try='test -s conftest.$ac_objext'
17289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17290 (eval $ac_try) 2>&5
17291 ac_status=$?
17292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17293 (exit $ac_status); }; }; then
17294 ac_lo=$ac_mid; break
17295 else
17296 echo "$as_me: failed program was:" >&5
17297 sed 's/^/| /' conftest.$ac_ext >&5
17298
17299 ac_hi=`expr '(' $ac_mid ')' - 1`
17300 if test $ac_mid -le $ac_hi; then
17301 ac_lo= ac_hi=
17302 break
17303 fi
17304 ac_mid=`expr 2 '*' $ac_mid`
17305 fi
17306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17307 done
17308 else
17309 echo "$as_me: failed program was:" >&5
17310 sed 's/^/| /' conftest.$ac_ext >&5
17311
17312 ac_lo= ac_hi=
17313 fi
17314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17315 fi
17316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17317 # Binary search between lo and hi bounds.
17318 while test "x$ac_lo" != "x$ac_hi"; do
17319 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17320 cat >conftest.$ac_ext <<_ACEOF
17321 /* confdefs.h. */
17322 _ACEOF
17323 cat confdefs.h >>conftest.$ac_ext
17324 cat >>conftest.$ac_ext <<_ACEOF
17325 /* end confdefs.h. */
17326 $ac_includes_default
17327 int
17328 main ()
17329 {
17330 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17331 test_array [0] = 0
17332
17333 ;
17334 return 0;
17335 }
17336 _ACEOF
17337 rm -f conftest.$ac_objext
17338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17339 (eval $ac_compile) 2>conftest.er1
17340 ac_status=$?
17341 grep -v '^ *+' conftest.er1 >conftest.err
17342 rm -f conftest.er1
17343 cat conftest.err >&5
17344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17345 (exit $ac_status); } &&
17346 { ac_try='test -z "$ac_c_werror_flag"
17347 || test ! -s conftest.err'
17348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17349 (eval $ac_try) 2>&5
17350 ac_status=$?
17351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17352 (exit $ac_status); }; } &&
17353 { ac_try='test -s conftest.$ac_objext'
17354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17355 (eval $ac_try) 2>&5
17356 ac_status=$?
17357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17358 (exit $ac_status); }; }; then
17359 ac_hi=$ac_mid
17360 else
17361 echo "$as_me: failed program was:" >&5
17362 sed 's/^/| /' conftest.$ac_ext >&5
17363
17364 ac_lo=`expr '(' $ac_mid ')' + 1`
17365 fi
17366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17367 done
17368 case $ac_lo in
17369 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17370 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17371 See \`config.log' for more details." >&5
17372 echo "$as_me: error: cannot compute sizeof (long long), 77
17373 See \`config.log' for more details." >&2;}
17374 { (exit 1); exit 1; }; } ;;
17375 esac
17376 else
17377 if test "$cross_compiling" = yes; then
17378 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17379 See \`config.log' for more details." >&5
17380 echo "$as_me: error: cannot run test program while cross compiling
17381 See \`config.log' for more details." >&2;}
17382 { (exit 1); exit 1; }; }
17383 else
17384 cat >conftest.$ac_ext <<_ACEOF
17385 /* confdefs.h. */
17386 _ACEOF
17387 cat confdefs.h >>conftest.$ac_ext
17388 cat >>conftest.$ac_ext <<_ACEOF
17389 /* end confdefs.h. */
17390 $ac_includes_default
17391 long longval () { return (long) (sizeof (long long)); }
17392 unsigned long ulongval () { return (long) (sizeof (long long)); }
17393 #include <stdio.h>
17394 #include <stdlib.h>
17395 int
17396 main ()
17397 {
17398
17399 FILE *f = fopen ("conftest.val", "w");
17400 if (! f)
17401 exit (1);
17402 if (((long) (sizeof (long long))) < 0)
17403 {
17404 long i = longval ();
17405 if (i != ((long) (sizeof (long long))))
17406 exit (1);
17407 fprintf (f, "%ld\n", i);
17408 }
17409 else
17410 {
17411 unsigned long i = ulongval ();
17412 if (i != ((long) (sizeof (long long))))
17413 exit (1);
17414 fprintf (f, "%lu\n", i);
17415 }
17416 exit (ferror (f) || fclose (f) != 0);
17417
17418 ;
17419 return 0;
17420 }
17421 _ACEOF
17422 rm -f conftest$ac_exeext
17423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17424 (eval $ac_link) 2>&5
17425 ac_status=$?
17426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17427 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17429 (eval $ac_try) 2>&5
17430 ac_status=$?
17431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17432 (exit $ac_status); }; }; then
17433 ac_cv_sizeof_long_long=`cat conftest.val`
17434 else
17435 echo "$as_me: program exited with status $ac_status" >&5
17436 echo "$as_me: failed program was:" >&5
17437 sed 's/^/| /' conftest.$ac_ext >&5
17438
17439 ( exit $ac_status )
17440 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17441 See \`config.log' for more details." >&5
17442 echo "$as_me: error: cannot compute sizeof (long long), 77
17443 See \`config.log' for more details." >&2;}
17444 { (exit 1); exit 1; }; }
17445 fi
17446 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17447 fi
17448 fi
17449 rm -f conftest.val
17450 else
17451 ac_cv_sizeof_long_long=0
17452 fi
17453 fi
17454 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17455 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17456 cat >>confdefs.h <<_ACEOF
17457 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17458 _ACEOF
17459
17460
17461 esac
17462
17463 echo "$as_me:$LINENO: checking size of wchar_t" >&5
17464 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
17465 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
17466 echo $ECHO_N "(cached) $ECHO_C" >&6
17467 else
17468
17469 if test "$cross_compiling" = yes; then
17470
17471 case "${host}" in
17472 *-pc-msdosdjgpp )
17473 wx_cv_sizeof_wchar_t=0
17474 ;;
17475 * )
17476 wx_cv_sizeof_wchar_t=4
17477 ;;
17478 esac
17479
17480
17481 else
17482 cat >conftest.$ac_ext <<_ACEOF
17483 /* confdefs.h. */
17484 _ACEOF
17485 cat confdefs.h >>conftest.$ac_ext
17486 cat >>conftest.$ac_ext <<_ACEOF
17487 /* end confdefs.h. */
17488
17489 /* DJGPP only has fake wchar_t: */
17490 #ifdef __DJGPP__
17491 # error "fake wchar_t"
17492 #endif
17493 #ifdef HAVE_WCHAR_H
17494 # ifdef __CYGWIN__
17495 # include <stddef.h>
17496 # endif
17497 # include <wchar.h>
17498 #endif
17499 #ifdef HAVE_STDLIB_H
17500 # include <stdlib.h>
17501 #endif
17502 #include <stdio.h>
17503 int main()
17504 {
17505 FILE *f=fopen("conftestval", "w");
17506 if (!f) exit(1);
17507 fprintf(f, "%i", sizeof(wchar_t));
17508 exit(0);
17509 }
17510
17511 _ACEOF
17512 rm -f conftest$ac_exeext
17513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17514 (eval $ac_link) 2>&5
17515 ac_status=$?
17516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17517 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17519 (eval $ac_try) 2>&5
17520 ac_status=$?
17521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17522 (exit $ac_status); }; }; then
17523 wx_cv_sizeof_wchar_t=`cat conftestval`
17524 else
17525 echo "$as_me: program exited with status $ac_status" >&5
17526 echo "$as_me: failed program was:" >&5
17527 sed 's/^/| /' conftest.$ac_ext >&5
17528
17529 ( exit $ac_status )
17530 wx_cv_sizeof_wchar_t=0
17531 fi
17532 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17533 fi
17534
17535 fi
17536 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
17537 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
17538
17539 cat >>confdefs.h <<_ACEOF
17540 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
17541 _ACEOF
17542
17543
17544 # Check whether --enable-largefile or --disable-largefile was given.
17545 if test "${enable_largefile+set}" = set; then
17546 enableval="$enable_largefile"
17547
17548 fi;
17549 if test "$enable_largefile" != no; then
17550 wx_largefile=no
17551
17552 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
17553 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
17554 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
17555 echo $ECHO_N "(cached) $ECHO_C" >&6
17556 else
17557
17558 cat >conftest.$ac_ext <<_ACEOF
17559 /* confdefs.h. */
17560 _ACEOF
17561 cat confdefs.h >>conftest.$ac_ext
17562 cat >>conftest.$ac_ext <<_ACEOF
17563 /* end confdefs.h. */
17564 #define _FILE_OFFSET_BITS 64
17565 #include <sys/types.h>
17566 int
17567 main ()
17568 {
17569 typedef struct {
17570 unsigned int field: sizeof(off_t) == 8;
17571 } wxlf;
17572
17573 ;
17574 return 0;
17575 }
17576 _ACEOF
17577 rm -f conftest.$ac_objext
17578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17579 (eval $ac_compile) 2>conftest.er1
17580 ac_status=$?
17581 grep -v '^ *+' conftest.er1 >conftest.err
17582 rm -f conftest.er1
17583 cat conftest.err >&5
17584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17585 (exit $ac_status); } &&
17586 { ac_try='test -z "$ac_c_werror_flag"
17587 || test ! -s conftest.err'
17588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17589 (eval $ac_try) 2>&5
17590 ac_status=$?
17591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17592 (exit $ac_status); }; } &&
17593 { ac_try='test -s conftest.$ac_objext'
17594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17595 (eval $ac_try) 2>&5
17596 ac_status=$?
17597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17598 (exit $ac_status); }; }; then
17599 ac_cv_sys_file_offset_bits=64
17600 else
17601 echo "$as_me: failed program was:" >&5
17602 sed 's/^/| /' conftest.$ac_ext >&5
17603
17604 ac_cv_sys_file_offset_bits=no
17605 fi
17606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17607
17608
17609 fi
17610 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
17611 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
17612
17613 if test "$ac_cv_sys_file_offset_bits" != no; then
17614 wx_largefile=yes
17615 cat >>confdefs.h <<_ACEOF
17616 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
17617 _ACEOF
17618
17619 fi
17620
17621 if test "x$wx_largefile" != "xyes"; then
17622
17623 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
17624 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
17625 if test "${ac_cv_sys_large_files+set}" = set; then
17626 echo $ECHO_N "(cached) $ECHO_C" >&6
17627 else
17628
17629 cat >conftest.$ac_ext <<_ACEOF
17630 /* confdefs.h. */
17631 _ACEOF
17632 cat confdefs.h >>conftest.$ac_ext
17633 cat >>conftest.$ac_ext <<_ACEOF
17634 /* end confdefs.h. */
17635 #define _LARGE_FILES 1
17636 #include <sys/types.h>
17637 int
17638 main ()
17639 {
17640 typedef struct {
17641 unsigned int field: sizeof(off_t) == 8;
17642 } wxlf;
17643
17644 ;
17645 return 0;
17646 }
17647 _ACEOF
17648 rm -f conftest.$ac_objext
17649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17650 (eval $ac_compile) 2>conftest.er1
17651 ac_status=$?
17652 grep -v '^ *+' conftest.er1 >conftest.err
17653 rm -f conftest.er1
17654 cat conftest.err >&5
17655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17656 (exit $ac_status); } &&
17657 { ac_try='test -z "$ac_c_werror_flag"
17658 || test ! -s conftest.err'
17659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17660 (eval $ac_try) 2>&5
17661 ac_status=$?
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); }; } &&
17664 { ac_try='test -s conftest.$ac_objext'
17665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17666 (eval $ac_try) 2>&5
17667 ac_status=$?
17668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17669 (exit $ac_status); }; }; then
17670 ac_cv_sys_large_files=1
17671 else
17672 echo "$as_me: failed program was:" >&5
17673 sed 's/^/| /' conftest.$ac_ext >&5
17674
17675 ac_cv_sys_large_files=no
17676 fi
17677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17678
17679
17680 fi
17681 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
17682 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
17683
17684 if test "$ac_cv_sys_large_files" != no; then
17685 wx_largefile=yes
17686 cat >>confdefs.h <<_ACEOF
17687 #define _LARGE_FILES $ac_cv_sys_large_files
17688 _ACEOF
17689
17690 fi
17691
17692 fi
17693
17694 echo "$as_me:$LINENO: checking if large file support is available" >&5
17695 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
17696 if test "x$wx_largefile" = "xyes"; then
17697 cat >>confdefs.h <<\_ACEOF
17698 #define HAVE_LARGEFILE_SUPPORT 1
17699 _ACEOF
17700
17701 fi
17702 echo "$as_me:$LINENO: result: $wx_largefile" >&5
17703 echo "${ECHO_T}$wx_largefile" >&6
17704 fi
17705
17706
17707 if test "x$wx_largefile" = "xyes"; then
17708 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
17709 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
17710 else
17711 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
17712 fi
17713 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
17714 fi
17715
17716 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
17717 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
17718 if test "${ac_cv_c_bigendian+set}" = set; then
17719 echo $ECHO_N "(cached) $ECHO_C" >&6
17720 else
17721 ac_cv_c_bigendian=unknown
17722 # See if sys/param.h defines the BYTE_ORDER macro.
17723 cat >conftest.$ac_ext <<_ACEOF
17724 /* confdefs.h. */
17725 _ACEOF
17726 cat confdefs.h >>conftest.$ac_ext
17727 cat >>conftest.$ac_ext <<_ACEOF
17728 /* end confdefs.h. */
17729 #include <sys/types.h>
17730 #include <sys/param.h>
17731 int
17732 main ()
17733 {
17734
17735 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
17736 bogus endian macros
17737 #endif
17738 ;
17739 return 0;
17740 }
17741 _ACEOF
17742 rm -f conftest.$ac_objext
17743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17744 (eval $ac_compile) 2>conftest.er1
17745 ac_status=$?
17746 grep -v '^ *+' conftest.er1 >conftest.err
17747 rm -f conftest.er1
17748 cat conftest.err >&5
17749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750 (exit $ac_status); } &&
17751 { ac_try='test -z "$ac_c_werror_flag"
17752 || test ! -s conftest.err'
17753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17754 (eval $ac_try) 2>&5
17755 ac_status=$?
17756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17757 (exit $ac_status); }; } &&
17758 { ac_try='test -s conftest.$ac_objext'
17759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17760 (eval $ac_try) 2>&5
17761 ac_status=$?
17762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17763 (exit $ac_status); }; }; then
17764 # It does; now see whether it defined to BIG_ENDIAN or not.
17765 cat >conftest.$ac_ext <<_ACEOF
17766 /* confdefs.h. */
17767 _ACEOF
17768 cat confdefs.h >>conftest.$ac_ext
17769 cat >>conftest.$ac_ext <<_ACEOF
17770 /* end confdefs.h. */
17771 #include <sys/types.h>
17772 #include <sys/param.h>
17773 int
17774 main ()
17775 {
17776
17777 #if BYTE_ORDER != BIG_ENDIAN
17778 not big endian
17779 #endif
17780 ;
17781 return 0;
17782 }
17783 _ACEOF
17784 rm -f conftest.$ac_objext
17785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17786 (eval $ac_compile) 2>conftest.er1
17787 ac_status=$?
17788 grep -v '^ *+' conftest.er1 >conftest.err
17789 rm -f conftest.er1
17790 cat conftest.err >&5
17791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17792 (exit $ac_status); } &&
17793 { ac_try='test -z "$ac_c_werror_flag"
17794 || test ! -s conftest.err'
17795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17796 (eval $ac_try) 2>&5
17797 ac_status=$?
17798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17799 (exit $ac_status); }; } &&
17800 { ac_try='test -s conftest.$ac_objext'
17801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17802 (eval $ac_try) 2>&5
17803 ac_status=$?
17804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17805 (exit $ac_status); }; }; then
17806 ac_cv_c_bigendian=yes
17807 else
17808 echo "$as_me: failed program was:" >&5
17809 sed 's/^/| /' conftest.$ac_ext >&5
17810
17811 ac_cv_c_bigendian=no
17812 fi
17813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17814 else
17815 echo "$as_me: failed program was:" >&5
17816 sed 's/^/| /' conftest.$ac_ext >&5
17817
17818 fi
17819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17820 if test $ac_cv_c_bigendian = unknown; then
17821 if test "$cross_compiling" = yes; then
17822 ac_cv_c_bigendian=unknown
17823 else
17824 cat >conftest.$ac_ext <<_ACEOF
17825 /* confdefs.h. */
17826 _ACEOF
17827 cat confdefs.h >>conftest.$ac_ext
17828 cat >>conftest.$ac_ext <<_ACEOF
17829 /* end confdefs.h. */
17830 main () {
17831 /* Are we little or big endian? From Harbison&Steele. */
17832 union
17833 {
17834 long l;
17835 char c[sizeof (long)];
17836 } u;
17837 u.l = 1;
17838 exit (u.c[sizeof (long) - 1] == 1);
17839 }
17840 _ACEOF
17841 rm -f conftest$ac_exeext
17842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17843 (eval $ac_link) 2>&5
17844 ac_status=$?
17845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17846 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17848 (eval $ac_try) 2>&5
17849 ac_status=$?
17850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851 (exit $ac_status); }; }; then
17852 ac_cv_c_bigendian=no
17853 else
17854 echo "$as_me: program exited with status $ac_status" >&5
17855 echo "$as_me: failed program was:" >&5
17856 sed 's/^/| /' conftest.$ac_ext >&5
17857
17858 ( exit $ac_status )
17859 ac_cv_c_bigendian=yes
17860 fi
17861 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17862 fi
17863 fi
17864 fi
17865 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17866 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17867 if test $ac_cv_c_bigendian = unknown; then
17868 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
17869 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
17870 fi
17871 if test $ac_cv_c_bigendian = yes; then
17872 cat >>confdefs.h <<\_ACEOF
17873 #define WORDS_BIGENDIAN 1
17874 _ACEOF
17875
17876 fi
17877
17878
17879
17880 ac_ext=cc
17881 ac_cpp='$CXXCPP $CPPFLAGS'
17882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17885 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17886 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
17887 if test -z "$CXXCPP"; then
17888 if test "${ac_cv_prog_CXXCPP+set}" = set; then
17889 echo $ECHO_N "(cached) $ECHO_C" >&6
17890 else
17891 # Double quotes because CXXCPP needs to be expanded
17892 for CXXCPP in "$CXX -E" "/lib/cpp"
17893 do
17894 ac_preproc_ok=false
17895 for ac_cxx_preproc_warn_flag in '' yes
17896 do
17897 # Use a header file that comes with gcc, so configuring glibc
17898 # with a fresh cross-compiler works.
17899 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17900 # <limits.h> exists even on freestanding compilers.
17901 # On the NeXT, cc -E runs the code through the compiler's parser,
17902 # not just through cpp. "Syntax error" is here to catch this case.
17903 cat >conftest.$ac_ext <<_ACEOF
17904 /* confdefs.h. */
17905 _ACEOF
17906 cat confdefs.h >>conftest.$ac_ext
17907 cat >>conftest.$ac_ext <<_ACEOF
17908 /* end confdefs.h. */
17909 #ifdef __STDC__
17910 # include <limits.h>
17911 #else
17912 # include <assert.h>
17913 #endif
17914 Syntax error
17915 _ACEOF
17916 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17917 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17918 ac_status=$?
17919 grep -v '^ *+' conftest.er1 >conftest.err
17920 rm -f conftest.er1
17921 cat conftest.err >&5
17922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17923 (exit $ac_status); } >/dev/null; then
17924 if test -s conftest.err; then
17925 ac_cpp_err=$ac_cxx_preproc_warn_flag
17926 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17927 else
17928 ac_cpp_err=
17929 fi
17930 else
17931 ac_cpp_err=yes
17932 fi
17933 if test -z "$ac_cpp_err"; then
17934 :
17935 else
17936 echo "$as_me: failed program was:" >&5
17937 sed 's/^/| /' conftest.$ac_ext >&5
17938
17939 # Broken: fails on valid input.
17940 continue
17941 fi
17942 rm -f conftest.err conftest.$ac_ext
17943
17944 # OK, works on sane cases. Now check whether non-existent headers
17945 # can be detected and how.
17946 cat >conftest.$ac_ext <<_ACEOF
17947 /* confdefs.h. */
17948 _ACEOF
17949 cat confdefs.h >>conftest.$ac_ext
17950 cat >>conftest.$ac_ext <<_ACEOF
17951 /* end confdefs.h. */
17952 #include <ac_nonexistent.h>
17953 _ACEOF
17954 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17955 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17956 ac_status=$?
17957 grep -v '^ *+' conftest.er1 >conftest.err
17958 rm -f conftest.er1
17959 cat conftest.err >&5
17960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17961 (exit $ac_status); } >/dev/null; then
17962 if test -s conftest.err; then
17963 ac_cpp_err=$ac_cxx_preproc_warn_flag
17964 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17965 else
17966 ac_cpp_err=
17967 fi
17968 else
17969 ac_cpp_err=yes
17970 fi
17971 if test -z "$ac_cpp_err"; then
17972 # Broken: success on invalid input.
17973 continue
17974 else
17975 echo "$as_me: failed program was:" >&5
17976 sed 's/^/| /' conftest.$ac_ext >&5
17977
17978 # Passes both tests.
17979 ac_preproc_ok=:
17980 break
17981 fi
17982 rm -f conftest.err conftest.$ac_ext
17983
17984 done
17985 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17986 rm -f conftest.err conftest.$ac_ext
17987 if $ac_preproc_ok; then
17988 break
17989 fi
17990
17991 done
17992 ac_cv_prog_CXXCPP=$CXXCPP
17993
17994 fi
17995 CXXCPP=$ac_cv_prog_CXXCPP
17996 else
17997 ac_cv_prog_CXXCPP=$CXXCPP
17998 fi
17999 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18000 echo "${ECHO_T}$CXXCPP" >&6
18001 ac_preproc_ok=false
18002 for ac_cxx_preproc_warn_flag in '' yes
18003 do
18004 # Use a header file that comes with gcc, so configuring glibc
18005 # with a fresh cross-compiler works.
18006 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18007 # <limits.h> exists even on freestanding compilers.
18008 # On the NeXT, cc -E runs the code through the compiler's parser,
18009 # not just through cpp. "Syntax error" is here to catch this case.
18010 cat >conftest.$ac_ext <<_ACEOF
18011 /* confdefs.h. */
18012 _ACEOF
18013 cat confdefs.h >>conftest.$ac_ext
18014 cat >>conftest.$ac_ext <<_ACEOF
18015 /* end confdefs.h. */
18016 #ifdef __STDC__
18017 # include <limits.h>
18018 #else
18019 # include <assert.h>
18020 #endif
18021 Syntax error
18022 _ACEOF
18023 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18024 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18025 ac_status=$?
18026 grep -v '^ *+' conftest.er1 >conftest.err
18027 rm -f conftest.er1
18028 cat conftest.err >&5
18029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18030 (exit $ac_status); } >/dev/null; then
18031 if test -s conftest.err; then
18032 ac_cpp_err=$ac_cxx_preproc_warn_flag
18033 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18034 else
18035 ac_cpp_err=
18036 fi
18037 else
18038 ac_cpp_err=yes
18039 fi
18040 if test -z "$ac_cpp_err"; then
18041 :
18042 else
18043 echo "$as_me: failed program was:" >&5
18044 sed 's/^/| /' conftest.$ac_ext >&5
18045
18046 # Broken: fails on valid input.
18047 continue
18048 fi
18049 rm -f conftest.err conftest.$ac_ext
18050
18051 # OK, works on sane cases. Now check whether non-existent headers
18052 # can be detected and how.
18053 cat >conftest.$ac_ext <<_ACEOF
18054 /* confdefs.h. */
18055 _ACEOF
18056 cat confdefs.h >>conftest.$ac_ext
18057 cat >>conftest.$ac_ext <<_ACEOF
18058 /* end confdefs.h. */
18059 #include <ac_nonexistent.h>
18060 _ACEOF
18061 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18062 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18063 ac_status=$?
18064 grep -v '^ *+' conftest.er1 >conftest.err
18065 rm -f conftest.er1
18066 cat conftest.err >&5
18067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18068 (exit $ac_status); } >/dev/null; then
18069 if test -s conftest.err; then
18070 ac_cpp_err=$ac_cxx_preproc_warn_flag
18071 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18072 else
18073 ac_cpp_err=
18074 fi
18075 else
18076 ac_cpp_err=yes
18077 fi
18078 if test -z "$ac_cpp_err"; then
18079 # Broken: success on invalid input.
18080 continue
18081 else
18082 echo "$as_me: failed program was:" >&5
18083 sed 's/^/| /' conftest.$ac_ext >&5
18084
18085 # Passes both tests.
18086 ac_preproc_ok=:
18087 break
18088 fi
18089 rm -f conftest.err conftest.$ac_ext
18090
18091 done
18092 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18093 rm -f conftest.err conftest.$ac_ext
18094 if $ac_preproc_ok; then
18095 :
18096 else
18097 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18098 See \`config.log' for more details." >&5
18099 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18100 See \`config.log' for more details." >&2;}
18101 { (exit 1); exit 1; }; }
18102 fi
18103
18104 ac_ext=cc
18105 ac_cpp='$CXXCPP $CPPFLAGS'
18106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18109
18110
18111
18112 if test "$cross_compiling" = "yes"; then
18113 cat >>confdefs.h <<\_ACEOF
18114 #define wxUSE_IOSTREAMH 1
18115 _ACEOF
18116
18117 else
18118
18119
18120 ac_ext=cc
18121 ac_cpp='$CXXCPP $CPPFLAGS'
18122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18125
18126
18127
18128 for ac_header in iostream
18129 do
18130 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18132 echo "$as_me:$LINENO: checking for $ac_header" >&5
18133 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18134 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18135 echo $ECHO_N "(cached) $ECHO_C" >&6
18136 fi
18137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18138 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18139 else
18140 # Is the header compilable?
18141 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18142 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18143 cat >conftest.$ac_ext <<_ACEOF
18144 /* confdefs.h. */
18145 _ACEOF
18146 cat confdefs.h >>conftest.$ac_ext
18147 cat >>conftest.$ac_ext <<_ACEOF
18148 /* end confdefs.h. */
18149 $ac_includes_default
18150 #include <$ac_header>
18151 _ACEOF
18152 rm -f conftest.$ac_objext
18153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18154 (eval $ac_compile) 2>conftest.er1
18155 ac_status=$?
18156 grep -v '^ *+' conftest.er1 >conftest.err
18157 rm -f conftest.er1
18158 cat conftest.err >&5
18159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18160 (exit $ac_status); } &&
18161 { ac_try='test -z "$ac_cxx_werror_flag"
18162 || test ! -s conftest.err'
18163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18164 (eval $ac_try) 2>&5
18165 ac_status=$?
18166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18167 (exit $ac_status); }; } &&
18168 { ac_try='test -s conftest.$ac_objext'
18169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18170 (eval $ac_try) 2>&5
18171 ac_status=$?
18172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18173 (exit $ac_status); }; }; then
18174 ac_header_compiler=yes
18175 else
18176 echo "$as_me: failed program was:" >&5
18177 sed 's/^/| /' conftest.$ac_ext >&5
18178
18179 ac_header_compiler=no
18180 fi
18181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18182 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18183 echo "${ECHO_T}$ac_header_compiler" >&6
18184
18185 # Is the header present?
18186 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18187 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18188 cat >conftest.$ac_ext <<_ACEOF
18189 /* confdefs.h. */
18190 _ACEOF
18191 cat confdefs.h >>conftest.$ac_ext
18192 cat >>conftest.$ac_ext <<_ACEOF
18193 /* end confdefs.h. */
18194 #include <$ac_header>
18195 _ACEOF
18196 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18197 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18198 ac_status=$?
18199 grep -v '^ *+' conftest.er1 >conftest.err
18200 rm -f conftest.er1
18201 cat conftest.err >&5
18202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203 (exit $ac_status); } >/dev/null; then
18204 if test -s conftest.err; then
18205 ac_cpp_err=$ac_cxx_preproc_warn_flag
18206 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18207 else
18208 ac_cpp_err=
18209 fi
18210 else
18211 ac_cpp_err=yes
18212 fi
18213 if test -z "$ac_cpp_err"; then
18214 ac_header_preproc=yes
18215 else
18216 echo "$as_me: failed program was:" >&5
18217 sed 's/^/| /' conftest.$ac_ext >&5
18218
18219 ac_header_preproc=no
18220 fi
18221 rm -f conftest.err conftest.$ac_ext
18222 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18223 echo "${ECHO_T}$ac_header_preproc" >&6
18224
18225 # So? What about this header?
18226 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18227 yes:no: )
18228 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18229 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18230 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18231 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18232 ac_header_preproc=yes
18233 ;;
18234 no:yes:* )
18235 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18236 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18237 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18238 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18239 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18240 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18241 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18242 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18243 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18244 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18245 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18246 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18247 (
18248 cat <<\_ASBOX
18249 ## ----------------------------------------- ##
18250 ## Report this to wx-dev@lists.wxwindows.org ##
18251 ## ----------------------------------------- ##
18252 _ASBOX
18253 ) |
18254 sed "s/^/$as_me: WARNING: /" >&2
18255 ;;
18256 esac
18257 echo "$as_me:$LINENO: checking for $ac_header" >&5
18258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18260 echo $ECHO_N "(cached) $ECHO_C" >&6
18261 else
18262 eval "$as_ac_Header=\$ac_header_preproc"
18263 fi
18264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18265 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18266
18267 fi
18268 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18269 cat >>confdefs.h <<_ACEOF
18270 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18271 _ACEOF
18272
18273 fi
18274
18275 done
18276
18277
18278 if test "$ac_cv_header_iostream" = "yes" ; then
18279 :
18280 else
18281 cat >>confdefs.h <<\_ACEOF
18282 #define wxUSE_IOSTREAMH 1
18283 _ACEOF
18284
18285 fi
18286
18287 ac_ext=c
18288 ac_cpp='$CPP $CPPFLAGS'
18289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18292
18293 fi
18294
18295
18296
18297 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18298 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18299 if test "${wx_cv_cpp_bool+set}" = set; then
18300 echo $ECHO_N "(cached) $ECHO_C" >&6
18301 else
18302
18303
18304
18305 ac_ext=cc
18306 ac_cpp='$CXXCPP $CPPFLAGS'
18307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18310
18311
18312 cat >conftest.$ac_ext <<_ACEOF
18313 /* confdefs.h. */
18314 _ACEOF
18315 cat confdefs.h >>conftest.$ac_ext
18316 cat >>conftest.$ac_ext <<_ACEOF
18317 /* end confdefs.h. */
18318
18319
18320 int
18321 main ()
18322 {
18323
18324 bool b = true;
18325
18326 return 0;
18327
18328 ;
18329 return 0;
18330 }
18331 _ACEOF
18332 rm -f conftest.$ac_objext
18333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18334 (eval $ac_compile) 2>conftest.er1
18335 ac_status=$?
18336 grep -v '^ *+' conftest.er1 >conftest.err
18337 rm -f conftest.er1
18338 cat conftest.err >&5
18339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18340 (exit $ac_status); } &&
18341 { ac_try='test -z "$ac_cxx_werror_flag"
18342 || test ! -s conftest.err'
18343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18344 (eval $ac_try) 2>&5
18345 ac_status=$?
18346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18347 (exit $ac_status); }; } &&
18348 { ac_try='test -s conftest.$ac_objext'
18349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18350 (eval $ac_try) 2>&5
18351 ac_status=$?
18352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18353 (exit $ac_status); }; }; then
18354
18355 wx_cv_cpp_bool=yes
18356
18357 else
18358 echo "$as_me: failed program was:" >&5
18359 sed 's/^/| /' conftest.$ac_ext >&5
18360
18361
18362 wx_cv_cpp_bool=no
18363
18364
18365 fi
18366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18367
18368 ac_ext=c
18369 ac_cpp='$CPP $CPPFLAGS'
18370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18373
18374
18375 fi
18376 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18377 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18378
18379 if test "$wx_cv_cpp_bool" = "yes"; then
18380 cat >>confdefs.h <<\_ACEOF
18381 #define HAVE_BOOL 1
18382 _ACEOF
18383
18384 fi
18385
18386
18387
18388 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18389 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18390 if test "${wx_cv_explicit+set}" = set; then
18391 echo $ECHO_N "(cached) $ECHO_C" >&6
18392 else
18393
18394
18395
18396 ac_ext=cc
18397 ac_cpp='$CXXCPP $CPPFLAGS'
18398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18401
18402
18403 cat >conftest.$ac_ext <<_ACEOF
18404 /* confdefs.h. */
18405 _ACEOF
18406 cat confdefs.h >>conftest.$ac_ext
18407 cat >>conftest.$ac_ext <<_ACEOF
18408 /* end confdefs.h. */
18409
18410 class Foo { public: explicit Foo(int) {} };
18411
18412 int
18413 main ()
18414 {
18415
18416 return 0;
18417
18418 ;
18419 return 0;
18420 }
18421 _ACEOF
18422 rm -f conftest.$ac_objext
18423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18424 (eval $ac_compile) 2>conftest.er1
18425 ac_status=$?
18426 grep -v '^ *+' conftest.er1 >conftest.err
18427 rm -f conftest.er1
18428 cat conftest.err >&5
18429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 (exit $ac_status); } &&
18431 { ac_try='test -z "$ac_cxx_werror_flag"
18432 || test ! -s conftest.err'
18433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18434 (eval $ac_try) 2>&5
18435 ac_status=$?
18436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18437 (exit $ac_status); }; } &&
18438 { ac_try='test -s conftest.$ac_objext'
18439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18440 (eval $ac_try) 2>&5
18441 ac_status=$?
18442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18443 (exit $ac_status); }; }; then
18444
18445 cat >conftest.$ac_ext <<_ACEOF
18446 /* confdefs.h. */
18447 _ACEOF
18448 cat confdefs.h >>conftest.$ac_ext
18449 cat >>conftest.$ac_ext <<_ACEOF
18450 /* end confdefs.h. */
18451
18452 class Foo { public: explicit Foo(int) {} };
18453 static void TakeFoo(const Foo& foo) { }
18454
18455 int
18456 main ()
18457 {
18458
18459 TakeFoo(17);
18460 return 0;
18461
18462 ;
18463 return 0;
18464 }
18465 _ACEOF
18466 rm -f conftest.$ac_objext
18467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18468 (eval $ac_compile) 2>conftest.er1
18469 ac_status=$?
18470 grep -v '^ *+' conftest.er1 >conftest.err
18471 rm -f conftest.er1
18472 cat conftest.err >&5
18473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18474 (exit $ac_status); } &&
18475 { ac_try='test -z "$ac_cxx_werror_flag"
18476 || test ! -s conftest.err'
18477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18478 (eval $ac_try) 2>&5
18479 ac_status=$?
18480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481 (exit $ac_status); }; } &&
18482 { ac_try='test -s conftest.$ac_objext'
18483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18484 (eval $ac_try) 2>&5
18485 ac_status=$?
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); }; }; then
18488 wx_cv_explicit=no
18489 else
18490 echo "$as_me: failed program was:" >&5
18491 sed 's/^/| /' conftest.$ac_ext >&5
18492
18493 wx_cv_explicit=yes
18494
18495 fi
18496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18497
18498 else
18499 echo "$as_me: failed program was:" >&5
18500 sed 's/^/| /' conftest.$ac_ext >&5
18501
18502 wx_cv_explicit=no
18503
18504 fi
18505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18506
18507 ac_ext=c
18508 ac_cpp='$CPP $CPPFLAGS'
18509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18512
18513
18514 fi
18515 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
18516 echo "${ECHO_T}$wx_cv_explicit" >&6
18517
18518 if test "$wx_cv_explicit" = "yes"; then
18519 cat >>confdefs.h <<\_ACEOF
18520 #define HAVE_EXPLICIT 1
18521 _ACEOF
18522
18523 fi
18524
18525
18526 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
18527 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
18528 if test "${ac_cv_cxx_const_cast+set}" = set; then
18529 echo $ECHO_N "(cached) $ECHO_C" >&6
18530 else
18531
18532
18533 ac_ext=cc
18534 ac_cpp='$CXXCPP $CPPFLAGS'
18535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18538
18539 cat >conftest.$ac_ext <<_ACEOF
18540 /* confdefs.h. */
18541 _ACEOF
18542 cat confdefs.h >>conftest.$ac_ext
18543 cat >>conftest.$ac_ext <<_ACEOF
18544 /* end confdefs.h. */
18545
18546 int
18547 main ()
18548 {
18549 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
18550 ;
18551 return 0;
18552 }
18553 _ACEOF
18554 rm -f conftest.$ac_objext
18555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18556 (eval $ac_compile) 2>conftest.er1
18557 ac_status=$?
18558 grep -v '^ *+' conftest.er1 >conftest.err
18559 rm -f conftest.er1
18560 cat conftest.err >&5
18561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18562 (exit $ac_status); } &&
18563 { ac_try='test -z "$ac_cxx_werror_flag"
18564 || test ! -s conftest.err'
18565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18566 (eval $ac_try) 2>&5
18567 ac_status=$?
18568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18569 (exit $ac_status); }; } &&
18570 { ac_try='test -s conftest.$ac_objext'
18571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18572 (eval $ac_try) 2>&5
18573 ac_status=$?
18574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18575 (exit $ac_status); }; }; then
18576 ac_cv_cxx_const_cast=yes
18577 else
18578 echo "$as_me: failed program was:" >&5
18579 sed 's/^/| /' conftest.$ac_ext >&5
18580
18581 ac_cv_cxx_const_cast=no
18582 fi
18583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18584 ac_ext=c
18585 ac_cpp='$CPP $CPPFLAGS'
18586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18589
18590
18591 fi
18592 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
18593 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
18594 if test "$ac_cv_cxx_const_cast" = yes; then
18595
18596 cat >>confdefs.h <<\_ACEOF
18597 #define HAVE_CONST_CAST
18598 _ACEOF
18599
18600 fi
18601
18602
18603 if test "$wxUSE_STL" = "yes"; then
18604 ac_ext=cc
18605 ac_cpp='$CXXCPP $CPPFLAGS'
18606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18609
18610
18611 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
18612 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
18613 cat >conftest.$ac_ext <<_ACEOF
18614 /* confdefs.h. */
18615 _ACEOF
18616 cat confdefs.h >>conftest.$ac_ext
18617 cat >>conftest.$ac_ext <<_ACEOF
18618 /* end confdefs.h. */
18619 #include <string>
18620 #include <functional>
18621 #include <algorithm>
18622 #include <vector>
18623 #include <list>
18624 int
18625 main ()
18626 {
18627 std::vector<int> moo;
18628 std::list<int> foo;
18629 std::vector<int>::iterator it =
18630 std::find_if(moo.begin(), moo.end(),
18631 std::bind2nd(std::less<int>(), 3));
18632 ;
18633 return 0;
18634 }
18635 _ACEOF
18636 rm -f conftest.$ac_objext
18637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18638 (eval $ac_compile) 2>conftest.er1
18639 ac_status=$?
18640 grep -v '^ *+' conftest.er1 >conftest.err
18641 rm -f conftest.er1
18642 cat conftest.err >&5
18643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18644 (exit $ac_status); } &&
18645 { ac_try='test -z "$ac_cxx_werror_flag"
18646 || test ! -s conftest.err'
18647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18648 (eval $ac_try) 2>&5
18649 ac_status=$?
18650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18651 (exit $ac_status); }; } &&
18652 { ac_try='test -s conftest.$ac_objext'
18653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18654 (eval $ac_try) 2>&5
18655 ac_status=$?
18656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18657 (exit $ac_status); }; }; then
18658 echo "$as_me:$LINENO: result: yes" >&5
18659 echo "${ECHO_T}yes" >&6
18660 else
18661 echo "$as_me: failed program was:" >&5
18662 sed 's/^/| /' conftest.$ac_ext >&5
18663
18664 echo "$as_me:$LINENO: result: no" >&5
18665 echo "${ECHO_T}no" >&6
18666 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
18667 echo "$as_me: error: Basic STL functionality missing" >&2;}
18668 { (exit 1); exit 1; }; }
18669 fi
18670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18671
18672 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
18673 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
18674 cat >conftest.$ac_ext <<_ACEOF
18675 /* confdefs.h. */
18676 _ACEOF
18677 cat confdefs.h >>conftest.$ac_ext
18678 cat >>conftest.$ac_ext <<_ACEOF
18679 /* end confdefs.h. */
18680 #include <string>
18681 int
18682 main ()
18683 {
18684 std::wstring foo;
18685 ;
18686 return 0;
18687 }
18688 _ACEOF
18689 rm -f conftest.$ac_objext
18690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18691 (eval $ac_compile) 2>conftest.er1
18692 ac_status=$?
18693 grep -v '^ *+' conftest.er1 >conftest.err
18694 rm -f conftest.er1
18695 cat conftest.err >&5
18696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18697 (exit $ac_status); } &&
18698 { ac_try='test -z "$ac_cxx_werror_flag"
18699 || test ! -s conftest.err'
18700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18701 (eval $ac_try) 2>&5
18702 ac_status=$?
18703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18704 (exit $ac_status); }; } &&
18705 { ac_try='test -s conftest.$ac_objext'
18706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18707 (eval $ac_try) 2>&5
18708 ac_status=$?
18709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18710 (exit $ac_status); }; }; then
18711 echo "$as_me:$LINENO: result: yes" >&5
18712 echo "${ECHO_T}yes" >&6
18713 cat >>confdefs.h <<\_ACEOF
18714 #define HAVE_STD_WSTRING 1
18715 _ACEOF
18716
18717 else
18718 echo "$as_me: failed program was:" >&5
18719 sed 's/^/| /' conftest.$ac_ext >&5
18720
18721 echo "$as_me:$LINENO: result: no" >&5
18722 echo "${ECHO_T}no" >&6
18723 fi
18724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18725
18726 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
18727 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
18728 cat >conftest.$ac_ext <<_ACEOF
18729 /* confdefs.h. */
18730 _ACEOF
18731 cat confdefs.h >>conftest.$ac_ext
18732 cat >>conftest.$ac_ext <<_ACEOF
18733 /* end confdefs.h. */
18734 #include <string>
18735 int
18736 main ()
18737 {
18738 std::string foo, bar;
18739 foo.compare(bar);
18740 foo.compare(1, 1, bar);
18741 foo.compare(1, 1, bar, 1, 1);
18742 foo.compare("");
18743 foo.compare(1, 1, "");
18744 foo.compare(1, 1, "", 2);
18745 ;
18746 return 0;
18747 }
18748 _ACEOF
18749 rm -f conftest.$ac_objext
18750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18751 (eval $ac_compile) 2>conftest.er1
18752 ac_status=$?
18753 grep -v '^ *+' conftest.er1 >conftest.err
18754 rm -f conftest.er1
18755 cat conftest.err >&5
18756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18757 (exit $ac_status); } &&
18758 { ac_try='test -z "$ac_cxx_werror_flag"
18759 || test ! -s conftest.err'
18760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18761 (eval $ac_try) 2>&5
18762 ac_status=$?
18763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18764 (exit $ac_status); }; } &&
18765 { ac_try='test -s conftest.$ac_objext'
18766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18767 (eval $ac_try) 2>&5
18768 ac_status=$?
18769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18770 (exit $ac_status); }; }; then
18771 echo "$as_me:$LINENO: result: yes" >&5
18772 echo "${ECHO_T}yes" >&6
18773 cat >>confdefs.h <<\_ACEOF
18774 #define HAVE_STD_STRING_COMPARE 1
18775 _ACEOF
18776
18777 else
18778 echo "$as_me: failed program was:" >&5
18779 sed 's/^/| /' conftest.$ac_ext >&5
18780
18781 echo "$as_me:$LINENO: result: no" >&5
18782 echo "${ECHO_T}no" >&6
18783 fi
18784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18785
18786 ac_ext=c
18787 ac_cpp='$CPP $CPPFLAGS'
18788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18791
18792 fi
18793
18794
18795 SEARCH_INCLUDE="\
18796 /usr/local/include \
18797 \
18798 /usr/Motif-1.2/include \
18799 /usr/Motif-2.1/include \
18800 \
18801 /usr/include/Motif1.2 \
18802 /opt/xpm/include/X11 \
18803 /opt/GBxpm/include/ \
18804 /opt/GBxpm/X11/include/ \
18805 \
18806 /usr/Motif1.2/include \
18807 /usr/dt/include \
18808 /usr/openwin/include \
18809 \
18810 /usr/include/Xm \
18811 \
18812 /usr/X11R6/include \
18813 /usr/X11R6.4/include \
18814 /usr/X11R5/include \
18815 /usr/X11R4/include \
18816 \
18817 /usr/include/X11R6 \
18818 /usr/include/X11R5 \
18819 /usr/include/X11R4 \
18820 \
18821 /usr/local/X11R6/include \
18822 /usr/local/X11R5/include \
18823 /usr/local/X11R4/include \
18824 \
18825 /usr/local/include/X11R6 \
18826 /usr/local/include/X11R5 \
18827 /usr/local/include/X11R4 \
18828 \
18829 /usr/X11/include \
18830 /usr/include/X11 \
18831 /usr/local/X11/include \
18832 /usr/local/include/X11 \
18833 \
18834 /usr/X386/include \
18835 /usr/x386/include \
18836 /usr/XFree86/include/X11 \
18837 \
18838 X:/XFree86/include \
18839 X:/XFree86/include/X11 \
18840 \
18841 /usr/include/gtk \
18842 /usr/local/include/gtk \
18843 /usr/include/glib \
18844 /usr/local/include/glib \
18845 \
18846 /usr/include/qt \
18847 /usr/local/include/qt \
18848 \
18849 /usr/include/windows \
18850 /usr/include/wine \
18851 /usr/local/include/wine \
18852 \
18853 /usr/unsupported/include \
18854 /usr/athena/include \
18855 /usr/local/x11r5/include \
18856 /usr/lpp/Xamples/include \
18857 \
18858 /usr/openwin/share/include"
18859
18860 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
18861
18862
18863 cat >confcache <<\_ACEOF
18864 # This file is a shell script that caches the results of configure
18865 # tests run on this system so they can be shared between configure
18866 # scripts and configure runs, see configure's option --config-cache.
18867 # It is not useful on other systems. If it contains results you don't
18868 # want to keep, you may remove or edit it.
18869 #
18870 # config.status only pays attention to the cache file if you give it
18871 # the --recheck option to rerun configure.
18872 #
18873 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18874 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18875 # following values.
18876
18877 _ACEOF
18878
18879 # The following way of writing the cache mishandles newlines in values,
18880 # but we know of no workaround that is simple, portable, and efficient.
18881 # So, don't put newlines in cache variables' values.
18882 # Ultrix sh set writes to stderr and can't be redirected directly,
18883 # and sets the high bit in the cache file unless we assign to the vars.
18884 {
18885 (set) 2>&1 |
18886 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18887 *ac_space=\ *)
18888 # `set' does not quote correctly, so add quotes (double-quote
18889 # substitution turns \\\\ into \\, and sed turns \\ into \).
18890 sed -n \
18891 "s/'/'\\\\''/g;
18892 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18893 ;;
18894 *)
18895 # `set' quotes correctly as required by POSIX, so do not add quotes.
18896 sed -n \
18897 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
18898 ;;
18899 esac;
18900 } |
18901 sed '
18902 t clear
18903 : clear
18904 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18905 t end
18906 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18907 : end' >>confcache
18908 if diff $cache_file confcache >/dev/null 2>&1; then :; else
18909 if test -w $cache_file; then
18910 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18911 cat confcache >$cache_file
18912 else
18913 echo "not updating unwritable cache $cache_file"
18914 fi
18915 fi
18916 rm -f confcache
18917
18918 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
18919 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
18920 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
18921 if test "${wx_cv_lib_glibc21+set}" = set; then
18922 echo $ECHO_N "(cached) $ECHO_C" >&6
18923 else
18924
18925 cat >conftest.$ac_ext <<_ACEOF
18926 /* confdefs.h. */
18927 _ACEOF
18928 cat confdefs.h >>conftest.$ac_ext
18929 cat >>conftest.$ac_ext <<_ACEOF
18930 /* end confdefs.h. */
18931 #include <features.h>
18932 int
18933 main ()
18934 {
18935
18936 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
18937 #error not glibc2.1
18938 #endif
18939
18940 ;
18941 return 0;
18942 }
18943 _ACEOF
18944 rm -f conftest.$ac_objext
18945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18946 (eval $ac_compile) 2>conftest.er1
18947 ac_status=$?
18948 grep -v '^ *+' conftest.er1 >conftest.err
18949 rm -f conftest.er1
18950 cat conftest.err >&5
18951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18952 (exit $ac_status); } &&
18953 { ac_try='test -z "$ac_c_werror_flag"
18954 || test ! -s conftest.err'
18955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18956 (eval $ac_try) 2>&5
18957 ac_status=$?
18958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18959 (exit $ac_status); }; } &&
18960 { ac_try='test -s conftest.$ac_objext'
18961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18962 (eval $ac_try) 2>&5
18963 ac_status=$?
18964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18965 (exit $ac_status); }; }; then
18966
18967 wx_cv_lib_glibc21=yes
18968
18969 else
18970 echo "$as_me: failed program was:" >&5
18971 sed 's/^/| /' conftest.$ac_ext >&5
18972
18973
18974 wx_cv_lib_glibc21=no
18975
18976
18977 fi
18978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18979
18980 fi
18981 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
18982 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
18983 if test "$wx_cv_lib_glibc21" = "yes"; then
18984 cat >>confdefs.h <<\_ACEOF
18985 #define wxHAVE_GLIBC2 1
18986 _ACEOF
18987
18988 fi
18989 fi
18990
18991 if test "x$wx_cv_lib_glibc21" = "xyes"; then
18992 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
18993 cat >>confdefs.h <<\_ACEOF
18994 #define _GNU_SOURCE 1
18995 _ACEOF
18996
18997 fi
18998 fi
18999
19000
19001
19002 if test "$wxUSE_REGEX" != "no"; then
19003 cat >>confdefs.h <<\_ACEOF
19004 #define wxUSE_REGEX 1
19005 _ACEOF
19006
19007
19008 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
19009 { echo "$as_me:$LINENO: WARNING: Unicode build requires built-in regex library, will use it instead" >&5
19010 echo "$as_me: WARNING: Unicode build requires built-in regex library, will use it instead" >&2;}
19011 wxUSE_REGEX=builtin
19012 fi
19013
19014 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
19015 if test "${ac_cv_header_regex_h+set}" = set; then
19016 echo "$as_me:$LINENO: checking for regex.h" >&5
19017 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19018 if test "${ac_cv_header_regex_h+set}" = set; then
19019 echo $ECHO_N "(cached) $ECHO_C" >&6
19020 fi
19021 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19022 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19023 else
19024 # Is the header compilable?
19025 echo "$as_me:$LINENO: checking regex.h usability" >&5
19026 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
19027 cat >conftest.$ac_ext <<_ACEOF
19028 /* confdefs.h. */
19029 _ACEOF
19030 cat confdefs.h >>conftest.$ac_ext
19031 cat >>conftest.$ac_ext <<_ACEOF
19032 /* end confdefs.h. */
19033 $ac_includes_default
19034 #include <regex.h>
19035 _ACEOF
19036 rm -f conftest.$ac_objext
19037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19038 (eval $ac_compile) 2>conftest.er1
19039 ac_status=$?
19040 grep -v '^ *+' conftest.er1 >conftest.err
19041 rm -f conftest.er1
19042 cat conftest.err >&5
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); } &&
19045 { ac_try='test -z "$ac_c_werror_flag"
19046 || test ! -s conftest.err'
19047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19048 (eval $ac_try) 2>&5
19049 ac_status=$?
19050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19051 (exit $ac_status); }; } &&
19052 { ac_try='test -s conftest.$ac_objext'
19053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19054 (eval $ac_try) 2>&5
19055 ac_status=$?
19056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19057 (exit $ac_status); }; }; then
19058 ac_header_compiler=yes
19059 else
19060 echo "$as_me: failed program was:" >&5
19061 sed 's/^/| /' conftest.$ac_ext >&5
19062
19063 ac_header_compiler=no
19064 fi
19065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19066 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19067 echo "${ECHO_T}$ac_header_compiler" >&6
19068
19069 # Is the header present?
19070 echo "$as_me:$LINENO: checking regex.h presence" >&5
19071 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
19072 cat >conftest.$ac_ext <<_ACEOF
19073 /* confdefs.h. */
19074 _ACEOF
19075 cat confdefs.h >>conftest.$ac_ext
19076 cat >>conftest.$ac_ext <<_ACEOF
19077 /* end confdefs.h. */
19078 #include <regex.h>
19079 _ACEOF
19080 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19081 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19082 ac_status=$?
19083 grep -v '^ *+' conftest.er1 >conftest.err
19084 rm -f conftest.er1
19085 cat conftest.err >&5
19086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087 (exit $ac_status); } >/dev/null; then
19088 if test -s conftest.err; then
19089 ac_cpp_err=$ac_c_preproc_warn_flag
19090 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19091 else
19092 ac_cpp_err=
19093 fi
19094 else
19095 ac_cpp_err=yes
19096 fi
19097 if test -z "$ac_cpp_err"; then
19098 ac_header_preproc=yes
19099 else
19100 echo "$as_me: failed program was:" >&5
19101 sed 's/^/| /' conftest.$ac_ext >&5
19102
19103 ac_header_preproc=no
19104 fi
19105 rm -f conftest.err conftest.$ac_ext
19106 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19107 echo "${ECHO_T}$ac_header_preproc" >&6
19108
19109 # So? What about this header?
19110 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19111 yes:no: )
19112 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
19113 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19114 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
19115 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
19116 ac_header_preproc=yes
19117 ;;
19118 no:yes:* )
19119 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
19120 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
19121 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
19122 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
19123 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
19124 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
19125 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
19126 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
19127 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
19128 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
19129 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
19130 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
19131 (
19132 cat <<\_ASBOX
19133 ## ----------------------------------------- ##
19134 ## Report this to wx-dev@lists.wxwindows.org ##
19135 ## ----------------------------------------- ##
19136 _ASBOX
19137 ) |
19138 sed "s/^/$as_me: WARNING: /" >&2
19139 ;;
19140 esac
19141 echo "$as_me:$LINENO: checking for regex.h" >&5
19142 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19143 if test "${ac_cv_header_regex_h+set}" = set; then
19144 echo $ECHO_N "(cached) $ECHO_C" >&6
19145 else
19146 ac_cv_header_regex_h=$ac_header_preproc
19147 fi
19148 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19149 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19150
19151 fi
19152 if test $ac_cv_header_regex_h = yes; then
19153
19154 for ac_func in regcomp
19155 do
19156 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19157 echo "$as_me:$LINENO: checking for $ac_func" >&5
19158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19159 if eval "test \"\${$as_ac_var+set}\" = set"; then
19160 echo $ECHO_N "(cached) $ECHO_C" >&6
19161 else
19162 cat >conftest.$ac_ext <<_ACEOF
19163 /* confdefs.h. */
19164 _ACEOF
19165 cat confdefs.h >>conftest.$ac_ext
19166 cat >>conftest.$ac_ext <<_ACEOF
19167 /* end confdefs.h. */
19168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19170 #define $ac_func innocuous_$ac_func
19171
19172 /* System header to define __stub macros and hopefully few prototypes,
19173 which can conflict with char $ac_func (); below.
19174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19175 <limits.h> exists even on freestanding compilers. */
19176
19177 #ifdef __STDC__
19178 # include <limits.h>
19179 #else
19180 # include <assert.h>
19181 #endif
19182
19183 #undef $ac_func
19184
19185 /* Override any gcc2 internal prototype to avoid an error. */
19186 #ifdef __cplusplus
19187 extern "C"
19188 {
19189 #endif
19190 /* We use char because int might match the return type of a gcc2
19191 builtin and then its argument prototype would still apply. */
19192 char $ac_func ();
19193 /* The GNU C library defines this for functions which it implements
19194 to always fail with ENOSYS. Some functions are actually named
19195 something starting with __ and the normal name is an alias. */
19196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19197 choke me
19198 #else
19199 char (*f) () = $ac_func;
19200 #endif
19201 #ifdef __cplusplus
19202 }
19203 #endif
19204
19205 int
19206 main ()
19207 {
19208 return f != $ac_func;
19209 ;
19210 return 0;
19211 }
19212 _ACEOF
19213 rm -f conftest.$ac_objext conftest$ac_exeext
19214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19215 (eval $ac_link) 2>conftest.er1
19216 ac_status=$?
19217 grep -v '^ *+' conftest.er1 >conftest.err
19218 rm -f conftest.er1
19219 cat conftest.err >&5
19220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19221 (exit $ac_status); } &&
19222 { ac_try='test -z "$ac_c_werror_flag"
19223 || test ! -s conftest.err'
19224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19225 (eval $ac_try) 2>&5
19226 ac_status=$?
19227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19228 (exit $ac_status); }; } &&
19229 { ac_try='test -s conftest$ac_exeext'
19230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19231 (eval $ac_try) 2>&5
19232 ac_status=$?
19233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19234 (exit $ac_status); }; }; then
19235 eval "$as_ac_var=yes"
19236 else
19237 echo "$as_me: failed program was:" >&5
19238 sed 's/^/| /' conftest.$ac_ext >&5
19239
19240 eval "$as_ac_var=no"
19241 fi
19242 rm -f conftest.err conftest.$ac_objext \
19243 conftest$ac_exeext conftest.$ac_ext
19244 fi
19245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19247 if test `eval echo '${'$as_ac_var'}'` = yes; then
19248 cat >>confdefs.h <<_ACEOF
19249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19250 _ACEOF
19251
19252 fi
19253 done
19254
19255 fi
19256
19257
19258
19259 if test "x$ac_cv_func_regcomp" != "xyes"; then
19260 if test "$wxUSE_REGEX" = "sys" ; then
19261 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
19262 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
19263 { (exit 1); exit 1; }; }
19264 else
19265 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
19266 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
19267 wxUSE_REGEX=builtin
19268 fi
19269 else
19270 wxUSE_REGEX=sys
19271 fi
19272 fi
19273 fi
19274
19275
19276 ZLIB_LINK=
19277 if test "$wxUSE_ZLIB" != "no" ; then
19278 cat >>confdefs.h <<\_ACEOF
19279 #define wxUSE_ZLIB 1
19280 _ACEOF
19281
19282
19283 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
19284 if test "$USE_DARWIN" = 1; then
19285 system_zlib_h_ok="yes"
19286 else
19287 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
19288 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
19289 if test "${ac_cv_header_zlib_h+set}" = set; then
19290 echo $ECHO_N "(cached) $ECHO_C" >&6
19291 else
19292 if test "$cross_compiling" = yes; then
19293 unset ac_cv_header_zlib_h
19294
19295 else
19296 cat >conftest.$ac_ext <<_ACEOF
19297 /* confdefs.h. */
19298 _ACEOF
19299 cat confdefs.h >>conftest.$ac_ext
19300 cat >>conftest.$ac_ext <<_ACEOF
19301 /* end confdefs.h. */
19302
19303 #include <zlib.h>
19304 #include <stdio.h>
19305
19306 int main()
19307 {
19308 FILE *f=fopen("conftestval", "w");
19309 if (!f) exit(1);
19310 fprintf(f, "%s",
19311 ZLIB_VERSION[0] == '1' &&
19312 (ZLIB_VERSION[2] > '1' ||
19313 (ZLIB_VERSION[2] == '1' &&
19314 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
19315 exit(0);
19316 }
19317
19318 _ACEOF
19319 rm -f conftest$ac_exeext
19320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19321 (eval $ac_link) 2>&5
19322 ac_status=$?
19323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19324 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19326 (eval $ac_try) 2>&5
19327 ac_status=$?
19328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19329 (exit $ac_status); }; }; then
19330 ac_cv_header_zlib_h=`cat conftestval`
19331 else
19332 echo "$as_me: program exited with status $ac_status" >&5
19333 echo "$as_me: failed program was:" >&5
19334 sed 's/^/| /' conftest.$ac_ext >&5
19335
19336 ( exit $ac_status )
19337 ac_cv_header_zlib_h=no
19338 fi
19339 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19340 fi
19341
19342 fi
19343 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19344 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19345 if test "${ac_cv_header_zlib_h+set}" = set; then
19346 echo "$as_me:$LINENO: checking for zlib.h" >&5
19347 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19348 if test "${ac_cv_header_zlib_h+set}" = set; then
19349 echo $ECHO_N "(cached) $ECHO_C" >&6
19350 fi
19351 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19352 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19353 else
19354 # Is the header compilable?
19355 echo "$as_me:$LINENO: checking zlib.h usability" >&5
19356 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
19357 cat >conftest.$ac_ext <<_ACEOF
19358 /* confdefs.h. */
19359 _ACEOF
19360 cat confdefs.h >>conftest.$ac_ext
19361 cat >>conftest.$ac_ext <<_ACEOF
19362 /* end confdefs.h. */
19363 $ac_includes_default
19364 #include <zlib.h>
19365 _ACEOF
19366 rm -f conftest.$ac_objext
19367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19368 (eval $ac_compile) 2>conftest.er1
19369 ac_status=$?
19370 grep -v '^ *+' conftest.er1 >conftest.err
19371 rm -f conftest.er1
19372 cat conftest.err >&5
19373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19374 (exit $ac_status); } &&
19375 { ac_try='test -z "$ac_c_werror_flag"
19376 || test ! -s conftest.err'
19377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19378 (eval $ac_try) 2>&5
19379 ac_status=$?
19380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19381 (exit $ac_status); }; } &&
19382 { ac_try='test -s conftest.$ac_objext'
19383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19384 (eval $ac_try) 2>&5
19385 ac_status=$?
19386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19387 (exit $ac_status); }; }; then
19388 ac_header_compiler=yes
19389 else
19390 echo "$as_me: failed program was:" >&5
19391 sed 's/^/| /' conftest.$ac_ext >&5
19392
19393 ac_header_compiler=no
19394 fi
19395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19396 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19397 echo "${ECHO_T}$ac_header_compiler" >&6
19398
19399 # Is the header present?
19400 echo "$as_me:$LINENO: checking zlib.h presence" >&5
19401 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
19402 cat >conftest.$ac_ext <<_ACEOF
19403 /* confdefs.h. */
19404 _ACEOF
19405 cat confdefs.h >>conftest.$ac_ext
19406 cat >>conftest.$ac_ext <<_ACEOF
19407 /* end confdefs.h. */
19408 #include <zlib.h>
19409 _ACEOF
19410 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19411 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19412 ac_status=$?
19413 grep -v '^ *+' conftest.er1 >conftest.err
19414 rm -f conftest.er1
19415 cat conftest.err >&5
19416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19417 (exit $ac_status); } >/dev/null; then
19418 if test -s conftest.err; then
19419 ac_cpp_err=$ac_c_preproc_warn_flag
19420 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19421 else
19422 ac_cpp_err=
19423 fi
19424 else
19425 ac_cpp_err=yes
19426 fi
19427 if test -z "$ac_cpp_err"; then
19428 ac_header_preproc=yes
19429 else
19430 echo "$as_me: failed program was:" >&5
19431 sed 's/^/| /' conftest.$ac_ext >&5
19432
19433 ac_header_preproc=no
19434 fi
19435 rm -f conftest.err conftest.$ac_ext
19436 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19437 echo "${ECHO_T}$ac_header_preproc" >&6
19438
19439 # So? What about this header?
19440 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19441 yes:no: )
19442 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
19443 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19444 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
19445 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
19446 ac_header_preproc=yes
19447 ;;
19448 no:yes:* )
19449 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
19450 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
19451 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
19452 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
19453 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
19454 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
19455 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
19456 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
19457 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
19458 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
19459 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
19460 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
19461 (
19462 cat <<\_ASBOX
19463 ## ----------------------------------------- ##
19464 ## Report this to wx-dev@lists.wxwindows.org ##
19465 ## ----------------------------------------- ##
19466 _ASBOX
19467 ) |
19468 sed "s/^/$as_me: WARNING: /" >&2
19469 ;;
19470 esac
19471 echo "$as_me:$LINENO: checking for zlib.h" >&5
19472 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19473 if test "${ac_cv_header_zlib_h+set}" = set; then
19474 echo $ECHO_N "(cached) $ECHO_C" >&6
19475 else
19476 ac_cv_header_zlib_h=$ac_header_preproc
19477 fi
19478 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19479 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19480
19481 fi
19482
19483
19484
19485 system_zlib_h_ok=$ac_cv_header_zlib_h
19486 fi
19487
19488 if test "$system_zlib_h_ok" = "yes"; then
19489 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
19490 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
19491 if test "${ac_cv_lib_z_deflate+set}" = set; then
19492 echo $ECHO_N "(cached) $ECHO_C" >&6
19493 else
19494 ac_check_lib_save_LIBS=$LIBS
19495 LIBS="-lz $LIBS"
19496 cat >conftest.$ac_ext <<_ACEOF
19497 /* confdefs.h. */
19498 _ACEOF
19499 cat confdefs.h >>conftest.$ac_ext
19500 cat >>conftest.$ac_ext <<_ACEOF
19501 /* end confdefs.h. */
19502
19503 /* Override any gcc2 internal prototype to avoid an error. */
19504 #ifdef __cplusplus
19505 extern "C"
19506 #endif
19507 /* We use char because int might match the return type of a gcc2
19508 builtin and then its argument prototype would still apply. */
19509 char deflate ();
19510 int
19511 main ()
19512 {
19513 deflate ();
19514 ;
19515 return 0;
19516 }
19517 _ACEOF
19518 rm -f conftest.$ac_objext conftest$ac_exeext
19519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19520 (eval $ac_link) 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"
19528 || test ! -s conftest.err'
19529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19530 (eval $ac_try) 2>&5
19531 ac_status=$?
19532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19533 (exit $ac_status); }; } &&
19534 { ac_try='test -s conftest$ac_exeext'
19535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19536 (eval $ac_try) 2>&5
19537 ac_status=$?
19538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19539 (exit $ac_status); }; }; then
19540 ac_cv_lib_z_deflate=yes
19541 else
19542 echo "$as_me: failed program was:" >&5
19543 sed 's/^/| /' conftest.$ac_ext >&5
19544
19545 ac_cv_lib_z_deflate=no
19546 fi
19547 rm -f conftest.err conftest.$ac_objext \
19548 conftest$ac_exeext conftest.$ac_ext
19549 LIBS=$ac_check_lib_save_LIBS
19550 fi
19551 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
19552 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
19553 if test $ac_cv_lib_z_deflate = yes; then
19554 ZLIB_LINK=" -lz"
19555 fi
19556
19557 fi
19558
19559 if test "x$ZLIB_LINK" = "x" ; then
19560 if test "$wxUSE_ZLIB" = "sys" ; then
19561 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
19562 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
19563 { (exit 1); exit 1; }; }
19564 else
19565 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
19566 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
19567 wxUSE_ZLIB=builtin
19568 fi
19569 else
19570 wxUSE_ZLIB=sys
19571 fi
19572 fi
19573 fi
19574
19575
19576 PNG_LINK=
19577 if test "$wxUSE_LIBPNG" != "no" ; then
19578 cat >>confdefs.h <<\_ACEOF
19579 #define wxUSE_LIBPNG 1
19580 _ACEOF
19581
19582
19583 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
19584 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
19585 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
19586 wxUSE_LIBPNG=sys
19587 fi
19588
19589 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
19590 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
19591 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
19592 wxUSE_LIBPNG=builtin
19593 fi
19594
19595 if test "$wxUSE_MGL" != 1 ; then
19596 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
19597 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
19598 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
19599 if test "${ac_cv_header_png_h+set}" = set; then
19600 echo $ECHO_N "(cached) $ECHO_C" >&6
19601 else
19602 if test "$cross_compiling" = yes; then
19603 unset ac_cv_header_png_h
19604
19605 else
19606 cat >conftest.$ac_ext <<_ACEOF
19607 /* confdefs.h. */
19608 _ACEOF
19609 cat confdefs.h >>conftest.$ac_ext
19610 cat >>conftest.$ac_ext <<_ACEOF
19611 /* end confdefs.h. */
19612
19613 #include <png.h>
19614 #include <stdio.h>
19615
19616 int main()
19617 {
19618 FILE *f=fopen("conftestval", "w");
19619 if (!f) exit(1);
19620 fprintf(f, "%s",
19621 PNG_LIBPNG_VER > 90 ? "yes" : "no");
19622 exit(0);
19623 }
19624
19625 _ACEOF
19626 rm -f conftest$ac_exeext
19627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19628 (eval $ac_link) 2>&5
19629 ac_status=$?
19630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19631 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19633 (eval $ac_try) 2>&5
19634 ac_status=$?
19635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19636 (exit $ac_status); }; }; then
19637 ac_cv_header_png_h=`cat conftestval`
19638 else
19639 echo "$as_me: program exited with status $ac_status" >&5
19640 echo "$as_me: failed program was:" >&5
19641 sed 's/^/| /' conftest.$ac_ext >&5
19642
19643 ( exit $ac_status )
19644 ac_cv_header_png_h=no
19645 fi
19646 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19647 fi
19648
19649 fi
19650 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
19651 echo "${ECHO_T}$ac_cv_header_png_h" >&6
19652 if test "${ac_cv_header_png_h+set}" = set; then
19653 echo "$as_me:$LINENO: checking for png.h" >&5
19654 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
19655 if test "${ac_cv_header_png_h+set}" = set; then
19656 echo $ECHO_N "(cached) $ECHO_C" >&6
19657 fi
19658 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
19659 echo "${ECHO_T}$ac_cv_header_png_h" >&6
19660 else
19661 # Is the header compilable?
19662 echo "$as_me:$LINENO: checking png.h usability" >&5
19663 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
19664 cat >conftest.$ac_ext <<_ACEOF
19665 /* confdefs.h. */
19666 _ACEOF
19667 cat confdefs.h >>conftest.$ac_ext
19668 cat >>conftest.$ac_ext <<_ACEOF
19669 /* end confdefs.h. */
19670 $ac_includes_default
19671 #include <png.h>
19672 _ACEOF
19673 rm -f conftest.$ac_objext
19674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19675 (eval $ac_compile) 2>conftest.er1
19676 ac_status=$?
19677 grep -v '^ *+' conftest.er1 >conftest.err
19678 rm -f conftest.er1
19679 cat conftest.err >&5
19680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681 (exit $ac_status); } &&
19682 { ac_try='test -z "$ac_c_werror_flag"
19683 || test ! -s conftest.err'
19684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19685 (eval $ac_try) 2>&5
19686 ac_status=$?
19687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19688 (exit $ac_status); }; } &&
19689 { ac_try='test -s conftest.$ac_objext'
19690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19691 (eval $ac_try) 2>&5
19692 ac_status=$?
19693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19694 (exit $ac_status); }; }; then
19695 ac_header_compiler=yes
19696 else
19697 echo "$as_me: failed program was:" >&5
19698 sed 's/^/| /' conftest.$ac_ext >&5
19699
19700 ac_header_compiler=no
19701 fi
19702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19703 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19704 echo "${ECHO_T}$ac_header_compiler" >&6
19705
19706 # Is the header present?
19707 echo "$as_me:$LINENO: checking png.h presence" >&5
19708 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
19709 cat >conftest.$ac_ext <<_ACEOF
19710 /* confdefs.h. */
19711 _ACEOF
19712 cat confdefs.h >>conftest.$ac_ext
19713 cat >>conftest.$ac_ext <<_ACEOF
19714 /* end confdefs.h. */
19715 #include <png.h>
19716 _ACEOF
19717 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19718 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19719 ac_status=$?
19720 grep -v '^ *+' conftest.er1 >conftest.err
19721 rm -f conftest.er1
19722 cat conftest.err >&5
19723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19724 (exit $ac_status); } >/dev/null; then
19725 if test -s conftest.err; then
19726 ac_cpp_err=$ac_c_preproc_warn_flag
19727 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19728 else
19729 ac_cpp_err=
19730 fi
19731 else
19732 ac_cpp_err=yes
19733 fi
19734 if test -z "$ac_cpp_err"; then
19735 ac_header_preproc=yes
19736 else
19737 echo "$as_me: failed program was:" >&5
19738 sed 's/^/| /' conftest.$ac_ext >&5
19739
19740 ac_header_preproc=no
19741 fi
19742 rm -f conftest.err conftest.$ac_ext
19743 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19744 echo "${ECHO_T}$ac_header_preproc" >&6
19745
19746 # So? What about this header?
19747 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19748 yes:no: )
19749 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
19750 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19751 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
19752 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
19753 ac_header_preproc=yes
19754 ;;
19755 no:yes:* )
19756 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
19757 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
19758 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
19759 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
19760 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
19761 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
19762 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
19763 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
19764 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
19765 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
19766 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
19767 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
19768 (
19769 cat <<\_ASBOX
19770 ## ----------------------------------------- ##
19771 ## Report this to wx-dev@lists.wxwindows.org ##
19772 ## ----------------------------------------- ##
19773 _ASBOX
19774 ) |
19775 sed "s/^/$as_me: WARNING: /" >&2
19776 ;;
19777 esac
19778 echo "$as_me:$LINENO: checking for png.h" >&5
19779 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
19780 if test "${ac_cv_header_png_h+set}" = set; then
19781 echo $ECHO_N "(cached) $ECHO_C" >&6
19782 else
19783 ac_cv_header_png_h=$ac_header_preproc
19784 fi
19785 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
19786 echo "${ECHO_T}$ac_cv_header_png_h" >&6
19787
19788 fi
19789
19790
19791
19792 if test "$ac_cv_header_png_h" = "yes"; then
19793 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
19794 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
19795 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
19796 echo $ECHO_N "(cached) $ECHO_C" >&6
19797 else
19798 ac_check_lib_save_LIBS=$LIBS
19799 LIBS="-lpng -lz -lm $LIBS"
19800 cat >conftest.$ac_ext <<_ACEOF
19801 /* confdefs.h. */
19802 _ACEOF
19803 cat confdefs.h >>conftest.$ac_ext
19804 cat >>conftest.$ac_ext <<_ACEOF
19805 /* end confdefs.h. */
19806
19807 /* Override any gcc2 internal prototype to avoid an error. */
19808 #ifdef __cplusplus
19809 extern "C"
19810 #endif
19811 /* We use char because int might match the return type of a gcc2
19812 builtin and then its argument prototype would still apply. */
19813 char png_check_sig ();
19814 int
19815 main ()
19816 {
19817 png_check_sig ();
19818 ;
19819 return 0;
19820 }
19821 _ACEOF
19822 rm -f conftest.$ac_objext conftest$ac_exeext
19823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19824 (eval $ac_link) 2>conftest.er1
19825 ac_status=$?
19826 grep -v '^ *+' conftest.er1 >conftest.err
19827 rm -f conftest.er1
19828 cat conftest.err >&5
19829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19830 (exit $ac_status); } &&
19831 { ac_try='test -z "$ac_c_werror_flag"
19832 || test ! -s conftest.err'
19833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19834 (eval $ac_try) 2>&5
19835 ac_status=$?
19836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19837 (exit $ac_status); }; } &&
19838 { ac_try='test -s conftest$ac_exeext'
19839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19840 (eval $ac_try) 2>&5
19841 ac_status=$?
19842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19843 (exit $ac_status); }; }; then
19844 ac_cv_lib_png_png_check_sig=yes
19845 else
19846 echo "$as_me: failed program was:" >&5
19847 sed 's/^/| /' conftest.$ac_ext >&5
19848
19849 ac_cv_lib_png_png_check_sig=no
19850 fi
19851 rm -f conftest.err conftest.$ac_objext \
19852 conftest$ac_exeext conftest.$ac_ext
19853 LIBS=$ac_check_lib_save_LIBS
19854 fi
19855 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
19856 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
19857 if test $ac_cv_lib_png_png_check_sig = yes; then
19858 PNG_LINK=" -lpng"
19859 fi
19860
19861 fi
19862
19863 if test "x$PNG_LINK" = "x" ; then
19864 if test "$wxUSE_LIBPNG" = "sys" ; then
19865 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
19866 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
19867 { (exit 1); exit 1; }; }
19868 else
19869 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
19870 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
19871 wxUSE_LIBPNG=builtin
19872 fi
19873 else
19874 wxUSE_LIBPNG=sys
19875 fi
19876 fi
19877 fi
19878
19879 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
19880 fi
19881
19882
19883 JPEG_LINK=
19884 if test "$wxUSE_LIBJPEG" != "no" ; then
19885 cat >>confdefs.h <<\_ACEOF
19886 #define wxUSE_LIBJPEG 1
19887 _ACEOF
19888
19889
19890 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
19891 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
19892 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
19893 wxUSE_LIBJPEG=sys
19894 fi
19895
19896 if test "$wxUSE_MGL" != 1 ; then
19897 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
19898 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
19899 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
19900 if test "${ac_cv_header_jpeglib_h+set}" = set; then
19901 echo $ECHO_N "(cached) $ECHO_C" >&6
19902 else
19903 cat >conftest.$ac_ext <<_ACEOF
19904 /* confdefs.h. */
19905 _ACEOF
19906 cat confdefs.h >>conftest.$ac_ext
19907 cat >>conftest.$ac_ext <<_ACEOF
19908 /* end confdefs.h. */
19909
19910 #undef HAVE_STDLIB_H
19911 #include <stdio.h>
19912 #include <jpeglib.h>
19913
19914 int
19915 main ()
19916 {
19917
19918
19919 ;
19920 return 0;
19921 }
19922 _ACEOF
19923 rm -f conftest.$ac_objext
19924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19925 (eval $ac_compile) 2>conftest.er1
19926 ac_status=$?
19927 grep -v '^ *+' conftest.er1 >conftest.err
19928 rm -f conftest.er1
19929 cat conftest.err >&5
19930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19931 (exit $ac_status); } &&
19932 { ac_try='test -z "$ac_c_werror_flag"
19933 || test ! -s conftest.err'
19934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19935 (eval $ac_try) 2>&5
19936 ac_status=$?
19937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19938 (exit $ac_status); }; } &&
19939 { ac_try='test -s conftest.$ac_objext'
19940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19941 (eval $ac_try) 2>&5
19942 ac_status=$?
19943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19944 (exit $ac_status); }; }; then
19945 ac_cv_header_jpeglib_h=yes
19946 else
19947 echo "$as_me: failed program was:" >&5
19948 sed 's/^/| /' conftest.$ac_ext >&5
19949
19950 ac_cv_header_jpeglib_h=no
19951
19952 fi
19953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19954
19955 fi
19956
19957 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
19958 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
19959
19960 if test "$ac_cv_header_jpeglib_h" = "yes"; then
19961 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
19962 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
19963 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
19964 echo $ECHO_N "(cached) $ECHO_C" >&6
19965 else
19966 ac_check_lib_save_LIBS=$LIBS
19967 LIBS="-ljpeg $LIBS"
19968 cat >conftest.$ac_ext <<_ACEOF
19969 /* confdefs.h. */
19970 _ACEOF
19971 cat confdefs.h >>conftest.$ac_ext
19972 cat >>conftest.$ac_ext <<_ACEOF
19973 /* end confdefs.h. */
19974
19975 /* Override any gcc2 internal prototype to avoid an error. */
19976 #ifdef __cplusplus
19977 extern "C"
19978 #endif
19979 /* We use char because int might match the return type of a gcc2
19980 builtin and then its argument prototype would still apply. */
19981 char jpeg_read_header ();
19982 int
19983 main ()
19984 {
19985 jpeg_read_header ();
19986 ;
19987 return 0;
19988 }
19989 _ACEOF
19990 rm -f conftest.$ac_objext conftest$ac_exeext
19991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19992 (eval $ac_link) 2>conftest.er1
19993 ac_status=$?
19994 grep -v '^ *+' conftest.er1 >conftest.err
19995 rm -f conftest.er1
19996 cat conftest.err >&5
19997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19998 (exit $ac_status); } &&
19999 { ac_try='test -z "$ac_c_werror_flag"
20000 || test ! -s conftest.err'
20001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20002 (eval $ac_try) 2>&5
20003 ac_status=$?
20004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20005 (exit $ac_status); }; } &&
20006 { ac_try='test -s conftest$ac_exeext'
20007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20008 (eval $ac_try) 2>&5
20009 ac_status=$?
20010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20011 (exit $ac_status); }; }; then
20012 ac_cv_lib_jpeg_jpeg_read_header=yes
20013 else
20014 echo "$as_me: failed program was:" >&5
20015 sed 's/^/| /' conftest.$ac_ext >&5
20016
20017 ac_cv_lib_jpeg_jpeg_read_header=no
20018 fi
20019 rm -f conftest.err conftest.$ac_objext \
20020 conftest$ac_exeext conftest.$ac_ext
20021 LIBS=$ac_check_lib_save_LIBS
20022 fi
20023 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
20024 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
20025 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
20026 JPEG_LINK=" -ljpeg"
20027 fi
20028
20029 fi
20030
20031 if test "x$JPEG_LINK" = "x" ; then
20032 if test "$wxUSE_LIBJPEG" = "sys" ; then
20033 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
20034 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
20035 { (exit 1); exit 1; }; }
20036 else
20037 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
20038 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
20039 wxUSE_LIBJPEG=builtin
20040 fi
20041 else
20042 wxUSE_LIBJPEG=sys
20043 fi
20044 fi
20045 fi
20046 fi
20047
20048
20049 TIFF_LINK=
20050 TIFF_PREREQ_LINKS=-lm
20051 if test "$wxUSE_LIBTIFF" != "no" ; then
20052 cat >>confdefs.h <<\_ACEOF
20053 #define wxUSE_LIBTIFF 1
20054 _ACEOF
20055
20056
20057 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
20058 if test "$wxUSE_LIBJPEG" = "sys"; then
20059 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
20060 fi
20061 if test "$wxUSE_ZLIB" = "sys"; then
20062 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
20063 fi
20064 if test "${ac_cv_header_tiffio_h+set}" = set; then
20065 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20066 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20067 if test "${ac_cv_header_tiffio_h+set}" = set; then
20068 echo $ECHO_N "(cached) $ECHO_C" >&6
20069 fi
20070 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20071 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20072 else
20073 # Is the header compilable?
20074 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
20075 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
20076 cat >conftest.$ac_ext <<_ACEOF
20077 /* confdefs.h. */
20078 _ACEOF
20079 cat confdefs.h >>conftest.$ac_ext
20080 cat >>conftest.$ac_ext <<_ACEOF
20081 /* end confdefs.h. */
20082 $ac_includes_default
20083 #include <tiffio.h>
20084 _ACEOF
20085 rm -f conftest.$ac_objext
20086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20087 (eval $ac_compile) 2>conftest.er1
20088 ac_status=$?
20089 grep -v '^ *+' conftest.er1 >conftest.err
20090 rm -f conftest.er1
20091 cat conftest.err >&5
20092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20093 (exit $ac_status); } &&
20094 { ac_try='test -z "$ac_c_werror_flag"
20095 || test ! -s conftest.err'
20096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20097 (eval $ac_try) 2>&5
20098 ac_status=$?
20099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20100 (exit $ac_status); }; } &&
20101 { ac_try='test -s conftest.$ac_objext'
20102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20103 (eval $ac_try) 2>&5
20104 ac_status=$?
20105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20106 (exit $ac_status); }; }; then
20107 ac_header_compiler=yes
20108 else
20109 echo "$as_me: failed program was:" >&5
20110 sed 's/^/| /' conftest.$ac_ext >&5
20111
20112 ac_header_compiler=no
20113 fi
20114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20115 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20116 echo "${ECHO_T}$ac_header_compiler" >&6
20117
20118 # Is the header present?
20119 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
20120 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
20121 cat >conftest.$ac_ext <<_ACEOF
20122 /* confdefs.h. */
20123 _ACEOF
20124 cat confdefs.h >>conftest.$ac_ext
20125 cat >>conftest.$ac_ext <<_ACEOF
20126 /* end confdefs.h. */
20127 #include <tiffio.h>
20128 _ACEOF
20129 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20130 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20131 ac_status=$?
20132 grep -v '^ *+' conftest.er1 >conftest.err
20133 rm -f conftest.er1
20134 cat conftest.err >&5
20135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20136 (exit $ac_status); } >/dev/null; then
20137 if test -s conftest.err; then
20138 ac_cpp_err=$ac_c_preproc_warn_flag
20139 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20140 else
20141 ac_cpp_err=
20142 fi
20143 else
20144 ac_cpp_err=yes
20145 fi
20146 if test -z "$ac_cpp_err"; then
20147 ac_header_preproc=yes
20148 else
20149 echo "$as_me: failed program was:" >&5
20150 sed 's/^/| /' conftest.$ac_ext >&5
20151
20152 ac_header_preproc=no
20153 fi
20154 rm -f conftest.err conftest.$ac_ext
20155 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20156 echo "${ECHO_T}$ac_header_preproc" >&6
20157
20158 # So? What about this header?
20159 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20160 yes:no: )
20161 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
20162 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20163 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
20164 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
20165 ac_header_preproc=yes
20166 ;;
20167 no:yes:* )
20168 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
20169 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
20170 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
20171 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
20172 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
20173 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
20174 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
20175 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
20176 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
20177 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
20178 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
20179 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
20180 (
20181 cat <<\_ASBOX
20182 ## ----------------------------------------- ##
20183 ## Report this to wx-dev@lists.wxwindows.org ##
20184 ## ----------------------------------------- ##
20185 _ASBOX
20186 ) |
20187 sed "s/^/$as_me: WARNING: /" >&2
20188 ;;
20189 esac
20190 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20191 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20192 if test "${ac_cv_header_tiffio_h+set}" = set; then
20193 echo $ECHO_N "(cached) $ECHO_C" >&6
20194 else
20195 ac_cv_header_tiffio_h=$ac_header_preproc
20196 fi
20197 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20198 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20199
20200 fi
20201 if test $ac_cv_header_tiffio_h = yes; then
20202
20203 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
20204 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
20205 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
20206 echo $ECHO_N "(cached) $ECHO_C" >&6
20207 else
20208 ac_check_lib_save_LIBS=$LIBS
20209 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
20210 cat >conftest.$ac_ext <<_ACEOF
20211 /* confdefs.h. */
20212 _ACEOF
20213 cat confdefs.h >>conftest.$ac_ext
20214 cat >>conftest.$ac_ext <<_ACEOF
20215 /* end confdefs.h. */
20216
20217 /* Override any gcc2 internal prototype to avoid an error. */
20218 #ifdef __cplusplus
20219 extern "C"
20220 #endif
20221 /* We use char because int might match the return type of a gcc2
20222 builtin and then its argument prototype would still apply. */
20223 char TIFFError ();
20224 int
20225 main ()
20226 {
20227 TIFFError ();
20228 ;
20229 return 0;
20230 }
20231 _ACEOF
20232 rm -f conftest.$ac_objext conftest$ac_exeext
20233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20234 (eval $ac_link) 2>conftest.er1
20235 ac_status=$?
20236 grep -v '^ *+' conftest.er1 >conftest.err
20237 rm -f conftest.er1
20238 cat conftest.err >&5
20239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20240 (exit $ac_status); } &&
20241 { ac_try='test -z "$ac_c_werror_flag"
20242 || test ! -s conftest.err'
20243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20244 (eval $ac_try) 2>&5
20245 ac_status=$?
20246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20247 (exit $ac_status); }; } &&
20248 { ac_try='test -s conftest$ac_exeext'
20249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20250 (eval $ac_try) 2>&5
20251 ac_status=$?
20252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20253 (exit $ac_status); }; }; then
20254 ac_cv_lib_tiff_TIFFError=yes
20255 else
20256 echo "$as_me: failed program was:" >&5
20257 sed 's/^/| /' conftest.$ac_ext >&5
20258
20259 ac_cv_lib_tiff_TIFFError=no
20260 fi
20261 rm -f conftest.err conftest.$ac_objext \
20262 conftest$ac_exeext conftest.$ac_ext
20263 LIBS=$ac_check_lib_save_LIBS
20264 fi
20265 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
20266 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
20267 if test $ac_cv_lib_tiff_TIFFError = yes; then
20268 TIFF_LINK=" -ltiff"
20269 fi
20270
20271
20272
20273 fi
20274
20275
20276
20277 if test "x$TIFF_LINK" = "x" ; then
20278 if test "$wxUSE_LIBTIFF" = "sys" ; then
20279 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
20280 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
20281 { (exit 1); exit 1; }; }
20282 else
20283 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
20284 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
20285 wxUSE_LIBTIFF=builtin
20286 fi
20287 else
20288 wxUSE_LIBTIFF=sys
20289 fi
20290 fi
20291 fi
20292
20293
20294 if test "$wxUSE_EXPAT" != "no"; then
20295 wxUSE_XML=yes
20296 cat >>confdefs.h <<\_ACEOF
20297 #define wxUSE_EXPAT 1
20298 _ACEOF
20299
20300 cat >>confdefs.h <<\_ACEOF
20301 #define wxUSE_XML 1
20302 _ACEOF
20303
20304
20305 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
20306 if test "${ac_cv_header_expat_h+set}" = set; then
20307 echo "$as_me:$LINENO: checking for expat.h" >&5
20308 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20309 if test "${ac_cv_header_expat_h+set}" = set; then
20310 echo $ECHO_N "(cached) $ECHO_C" >&6
20311 fi
20312 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20313 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20314 else
20315 # Is the header compilable?
20316 echo "$as_me:$LINENO: checking expat.h usability" >&5
20317 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
20318 cat >conftest.$ac_ext <<_ACEOF
20319 /* confdefs.h. */
20320 _ACEOF
20321 cat confdefs.h >>conftest.$ac_ext
20322 cat >>conftest.$ac_ext <<_ACEOF
20323 /* end confdefs.h. */
20324 $ac_includes_default
20325 #include <expat.h>
20326 _ACEOF
20327 rm -f conftest.$ac_objext
20328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20329 (eval $ac_compile) 2>conftest.er1
20330 ac_status=$?
20331 grep -v '^ *+' conftest.er1 >conftest.err
20332 rm -f conftest.er1
20333 cat conftest.err >&5
20334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20335 (exit $ac_status); } &&
20336 { ac_try='test -z "$ac_c_werror_flag"
20337 || test ! -s conftest.err'
20338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20339 (eval $ac_try) 2>&5
20340 ac_status=$?
20341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20342 (exit $ac_status); }; } &&
20343 { ac_try='test -s conftest.$ac_objext'
20344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20345 (eval $ac_try) 2>&5
20346 ac_status=$?
20347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20348 (exit $ac_status); }; }; then
20349 ac_header_compiler=yes
20350 else
20351 echo "$as_me: failed program was:" >&5
20352 sed 's/^/| /' conftest.$ac_ext >&5
20353
20354 ac_header_compiler=no
20355 fi
20356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20357 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20358 echo "${ECHO_T}$ac_header_compiler" >&6
20359
20360 # Is the header present?
20361 echo "$as_me:$LINENO: checking expat.h presence" >&5
20362 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
20363 cat >conftest.$ac_ext <<_ACEOF
20364 /* confdefs.h. */
20365 _ACEOF
20366 cat confdefs.h >>conftest.$ac_ext
20367 cat >>conftest.$ac_ext <<_ACEOF
20368 /* end confdefs.h. */
20369 #include <expat.h>
20370 _ACEOF
20371 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20372 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20373 ac_status=$?
20374 grep -v '^ *+' conftest.er1 >conftest.err
20375 rm -f conftest.er1
20376 cat conftest.err >&5
20377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20378 (exit $ac_status); } >/dev/null; then
20379 if test -s conftest.err; then
20380 ac_cpp_err=$ac_c_preproc_warn_flag
20381 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20382 else
20383 ac_cpp_err=
20384 fi
20385 else
20386 ac_cpp_err=yes
20387 fi
20388 if test -z "$ac_cpp_err"; then
20389 ac_header_preproc=yes
20390 else
20391 echo "$as_me: failed program was:" >&5
20392 sed 's/^/| /' conftest.$ac_ext >&5
20393
20394 ac_header_preproc=no
20395 fi
20396 rm -f conftest.err conftest.$ac_ext
20397 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20398 echo "${ECHO_T}$ac_header_preproc" >&6
20399
20400 # So? What about this header?
20401 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20402 yes:no: )
20403 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
20404 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20405 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
20406 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
20407 ac_header_preproc=yes
20408 ;;
20409 no:yes:* )
20410 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
20411 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
20412 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
20413 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
20414 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
20415 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
20416 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
20417 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
20418 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
20419 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
20420 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
20421 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
20422 (
20423 cat <<\_ASBOX
20424 ## ----------------------------------------- ##
20425 ## Report this to wx-dev@lists.wxwindows.org ##
20426 ## ----------------------------------------- ##
20427 _ASBOX
20428 ) |
20429 sed "s/^/$as_me: WARNING: /" >&2
20430 ;;
20431 esac
20432 echo "$as_me:$LINENO: checking for expat.h" >&5
20433 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20434 if test "${ac_cv_header_expat_h+set}" = set; then
20435 echo $ECHO_N "(cached) $ECHO_C" >&6
20436 else
20437 ac_cv_header_expat_h=$ac_header_preproc
20438 fi
20439 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20440 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20441
20442 fi
20443 if test $ac_cv_header_expat_h = yes; then
20444 found_expat_h=1
20445 fi
20446
20447
20448 if test "x$found_expat_h" = "x1"; then
20449 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
20450 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
20451 if test "${wx_cv_expat_is_not_broken+set}" = set; then
20452 echo $ECHO_N "(cached) $ECHO_C" >&6
20453 else
20454
20455
20456
20457 ac_ext=cc
20458 ac_cpp='$CXXCPP $CPPFLAGS'
20459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20462
20463 cat >conftest.$ac_ext <<_ACEOF
20464 /* confdefs.h. */
20465 _ACEOF
20466 cat confdefs.h >>conftest.$ac_ext
20467 cat >>conftest.$ac_ext <<_ACEOF
20468 /* end confdefs.h. */
20469 #include <expat.h>
20470 int
20471 main ()
20472 {
20473
20474 ;
20475 return 0;
20476 }
20477 _ACEOF
20478 rm -f conftest.$ac_objext
20479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20480 (eval $ac_compile) 2>conftest.er1
20481 ac_status=$?
20482 grep -v '^ *+' conftest.er1 >conftest.err
20483 rm -f conftest.er1
20484 cat conftest.err >&5
20485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20486 (exit $ac_status); } &&
20487 { ac_try='test -z "$ac_cxx_werror_flag"
20488 || test ! -s conftest.err'
20489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20490 (eval $ac_try) 2>&5
20491 ac_status=$?
20492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20493 (exit $ac_status); }; } &&
20494 { ac_try='test -s conftest.$ac_objext'
20495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20496 (eval $ac_try) 2>&5
20497 ac_status=$?
20498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20499 (exit $ac_status); }; }; then
20500 wx_cv_expat_is_not_broken=yes
20501 else
20502 echo "$as_me: failed program was:" >&5
20503 sed 's/^/| /' conftest.$ac_ext >&5
20504
20505 wx_cv_expat_is_not_broken=no
20506
20507 fi
20508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20509 ac_ext=c
20510 ac_cpp='$CPP $CPPFLAGS'
20511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20514
20515
20516
20517 fi
20518 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
20519 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
20520 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
20521 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
20522 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
20523 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
20524 echo $ECHO_N "(cached) $ECHO_C" >&6
20525 else
20526 ac_check_lib_save_LIBS=$LIBS
20527 LIBS="-lexpat $LIBS"
20528 cat >conftest.$ac_ext <<_ACEOF
20529 /* confdefs.h. */
20530 _ACEOF
20531 cat confdefs.h >>conftest.$ac_ext
20532 cat >>conftest.$ac_ext <<_ACEOF
20533 /* end confdefs.h. */
20534
20535 /* Override any gcc2 internal prototype to avoid an error. */
20536 #ifdef __cplusplus
20537 extern "C"
20538 #endif
20539 /* We use char because int might match the return type of a gcc2
20540 builtin and then its argument prototype would still apply. */
20541 char XML_ParserCreate ();
20542 int
20543 main ()
20544 {
20545 XML_ParserCreate ();
20546 ;
20547 return 0;
20548 }
20549 _ACEOF
20550 rm -f conftest.$ac_objext conftest$ac_exeext
20551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20552 (eval $ac_link) 2>conftest.er1
20553 ac_status=$?
20554 grep -v '^ *+' conftest.er1 >conftest.err
20555 rm -f conftest.er1
20556 cat conftest.err >&5
20557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20558 (exit $ac_status); } &&
20559 { ac_try='test -z "$ac_c_werror_flag"
20560 || test ! -s conftest.err'
20561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20562 (eval $ac_try) 2>&5
20563 ac_status=$?
20564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20565 (exit $ac_status); }; } &&
20566 { ac_try='test -s conftest$ac_exeext'
20567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20568 (eval $ac_try) 2>&5
20569 ac_status=$?
20570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20571 (exit $ac_status); }; }; then
20572 ac_cv_lib_expat_XML_ParserCreate=yes
20573 else
20574 echo "$as_me: failed program was:" >&5
20575 sed 's/^/| /' conftest.$ac_ext >&5
20576
20577 ac_cv_lib_expat_XML_ParserCreate=no
20578 fi
20579 rm -f conftest.err conftest.$ac_objext \
20580 conftest$ac_exeext conftest.$ac_ext
20581 LIBS=$ac_check_lib_save_LIBS
20582 fi
20583 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
20584 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
20585 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
20586 EXPAT_LINK=" -lexpat"
20587 fi
20588
20589 fi
20590 fi
20591 if test "x$EXPAT_LINK" = "x" ; then
20592 if test "$wxUSE_EXPAT" = "sys" ; then
20593 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
20594 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
20595 { (exit 1); exit 1; }; }
20596 else
20597 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
20598 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
20599 wxUSE_EXPAT=builtin
20600 fi
20601 else
20602 wxUSE_EXPAT=sys
20603 fi
20604 fi
20605 if test "$wxUSE_EXPAT" = "builtin" ; then
20606
20607
20608 subdirs="$subdirs src/expat"
20609
20610 fi
20611 fi
20612
20613
20614
20615 if test "$wxUSE_LIBMSPACK" != "no"; then
20616
20617 if test "${ac_cv_header_mspack_h+set}" = set; then
20618 echo "$as_me:$LINENO: checking for mspack.h" >&5
20619 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
20620 if test "${ac_cv_header_mspack_h+set}" = set; then
20621 echo $ECHO_N "(cached) $ECHO_C" >&6
20622 fi
20623 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
20624 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
20625 else
20626 # Is the header compilable?
20627 echo "$as_me:$LINENO: checking mspack.h usability" >&5
20628 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
20629 cat >conftest.$ac_ext <<_ACEOF
20630 /* confdefs.h. */
20631 _ACEOF
20632 cat confdefs.h >>conftest.$ac_ext
20633 cat >>conftest.$ac_ext <<_ACEOF
20634 /* end confdefs.h. */
20635 $ac_includes_default
20636 #include <mspack.h>
20637 _ACEOF
20638 rm -f conftest.$ac_objext
20639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20640 (eval $ac_compile) 2>conftest.er1
20641 ac_status=$?
20642 grep -v '^ *+' conftest.er1 >conftest.err
20643 rm -f conftest.er1
20644 cat conftest.err >&5
20645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20646 (exit $ac_status); } &&
20647 { ac_try='test -z "$ac_c_werror_flag"
20648 || test ! -s conftest.err'
20649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20650 (eval $ac_try) 2>&5
20651 ac_status=$?
20652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20653 (exit $ac_status); }; } &&
20654 { ac_try='test -s conftest.$ac_objext'
20655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20656 (eval $ac_try) 2>&5
20657 ac_status=$?
20658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20659 (exit $ac_status); }; }; then
20660 ac_header_compiler=yes
20661 else
20662 echo "$as_me: failed program was:" >&5
20663 sed 's/^/| /' conftest.$ac_ext >&5
20664
20665 ac_header_compiler=no
20666 fi
20667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20668 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20669 echo "${ECHO_T}$ac_header_compiler" >&6
20670
20671 # Is the header present?
20672 echo "$as_me:$LINENO: checking mspack.h presence" >&5
20673 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
20674 cat >conftest.$ac_ext <<_ACEOF
20675 /* confdefs.h. */
20676 _ACEOF
20677 cat confdefs.h >>conftest.$ac_ext
20678 cat >>conftest.$ac_ext <<_ACEOF
20679 /* end confdefs.h. */
20680 #include <mspack.h>
20681 _ACEOF
20682 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20683 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20684 ac_status=$?
20685 grep -v '^ *+' conftest.er1 >conftest.err
20686 rm -f conftest.er1
20687 cat conftest.err >&5
20688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20689 (exit $ac_status); } >/dev/null; then
20690 if test -s conftest.err; then
20691 ac_cpp_err=$ac_c_preproc_warn_flag
20692 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20693 else
20694 ac_cpp_err=
20695 fi
20696 else
20697 ac_cpp_err=yes
20698 fi
20699 if test -z "$ac_cpp_err"; then
20700 ac_header_preproc=yes
20701 else
20702 echo "$as_me: failed program was:" >&5
20703 sed 's/^/| /' conftest.$ac_ext >&5
20704
20705 ac_header_preproc=no
20706 fi
20707 rm -f conftest.err conftest.$ac_ext
20708 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20709 echo "${ECHO_T}$ac_header_preproc" >&6
20710
20711 # So? What about this header?
20712 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20713 yes:no: )
20714 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
20715 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20716 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
20717 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
20718 ac_header_preproc=yes
20719 ;;
20720 no:yes:* )
20721 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
20722 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
20723 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
20724 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
20725 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
20726 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
20727 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
20728 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
20729 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
20730 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
20731 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
20732 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
20733 (
20734 cat <<\_ASBOX
20735 ## ----------------------------------------- ##
20736 ## Report this to wx-dev@lists.wxwindows.org ##
20737 ## ----------------------------------------- ##
20738 _ASBOX
20739 ) |
20740 sed "s/^/$as_me: WARNING: /" >&2
20741 ;;
20742 esac
20743 echo "$as_me:$LINENO: checking for mspack.h" >&5
20744 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
20745 if test "${ac_cv_header_mspack_h+set}" = set; then
20746 echo $ECHO_N "(cached) $ECHO_C" >&6
20747 else
20748 ac_cv_header_mspack_h=$ac_header_preproc
20749 fi
20750 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
20751 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
20752
20753 fi
20754 if test $ac_cv_header_mspack_h = yes; then
20755 found_mspack_h=1
20756 fi
20757
20758
20759 if test "x$found_mspack_h" = "x1"; then
20760 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
20761 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
20762 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
20763 echo $ECHO_N "(cached) $ECHO_C" >&6
20764 else
20765 ac_check_lib_save_LIBS=$LIBS
20766 LIBS="-lmspack $LIBS"
20767 cat >conftest.$ac_ext <<_ACEOF
20768 /* confdefs.h. */
20769 _ACEOF
20770 cat confdefs.h >>conftest.$ac_ext
20771 cat >>conftest.$ac_ext <<_ACEOF
20772 /* end confdefs.h. */
20773
20774 /* Override any gcc2 internal prototype to avoid an error. */
20775 #ifdef __cplusplus
20776 extern "C"
20777 #endif
20778 /* We use char because int might match the return type of a gcc2
20779 builtin and then its argument prototype would still apply. */
20780 char mspack_create_chm_decompressor ();
20781 int
20782 main ()
20783 {
20784 mspack_create_chm_decompressor ();
20785 ;
20786 return 0;
20787 }
20788 _ACEOF
20789 rm -f conftest.$ac_objext conftest$ac_exeext
20790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20791 (eval $ac_link) 2>conftest.er1
20792 ac_status=$?
20793 grep -v '^ *+' conftest.er1 >conftest.err
20794 rm -f conftest.er1
20795 cat conftest.err >&5
20796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797 (exit $ac_status); } &&
20798 { ac_try='test -z "$ac_c_werror_flag"
20799 || test ! -s conftest.err'
20800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20801 (eval $ac_try) 2>&5
20802 ac_status=$?
20803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20804 (exit $ac_status); }; } &&
20805 { ac_try='test -s conftest$ac_exeext'
20806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20807 (eval $ac_try) 2>&5
20808 ac_status=$?
20809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20810 (exit $ac_status); }; }; then
20811 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
20812 else
20813 echo "$as_me: failed program was:" >&5
20814 sed 's/^/| /' conftest.$ac_ext >&5
20815
20816 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
20817 fi
20818 rm -f conftest.err conftest.$ac_objext \
20819 conftest$ac_exeext conftest.$ac_ext
20820 LIBS=$ac_check_lib_save_LIBS
20821 fi
20822 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
20823 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
20824 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
20825 MSPACK_LINK=" -lmspack"
20826 fi
20827
20828 fi
20829 if test "x$MSPACK_LINK" = "x" ; then
20830 wxUSE_LIBMSPACK=no
20831 else
20832 cat >>confdefs.h <<\_ACEOF
20833 #define wxUSE_LIBMSPACK 1
20834 _ACEOF
20835
20836 fi
20837 fi
20838
20839
20840
20841 AFMINSTALL=
20842 WIN32INSTALL=
20843
20844 TOOLKIT=
20845 TOOLKIT_INCLUDE=
20846 WIDGET_SET=
20847
20848 if test "$USE_WIN32" = 1 ; then
20849
20850 for ac_header in w32api.h
20851 do
20852 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20853 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20854 echo "$as_me:$LINENO: checking for $ac_header" >&5
20855 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20856 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20857 echo $ECHO_N "(cached) $ECHO_C" >&6
20858 fi
20859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20860 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20861 else
20862 # Is the header compilable?
20863 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20864 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20865 cat >conftest.$ac_ext <<_ACEOF
20866 /* confdefs.h. */
20867 _ACEOF
20868 cat confdefs.h >>conftest.$ac_ext
20869 cat >>conftest.$ac_ext <<_ACEOF
20870 /* end confdefs.h. */
20871 $ac_includes_default
20872 #include <$ac_header>
20873 _ACEOF
20874 rm -f conftest.$ac_objext
20875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20876 (eval $ac_compile) 2>conftest.er1
20877 ac_status=$?
20878 grep -v '^ *+' conftest.er1 >conftest.err
20879 rm -f conftest.er1
20880 cat conftest.err >&5
20881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20882 (exit $ac_status); } &&
20883 { ac_try='test -z "$ac_c_werror_flag"
20884 || test ! -s conftest.err'
20885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20886 (eval $ac_try) 2>&5
20887 ac_status=$?
20888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20889 (exit $ac_status); }; } &&
20890 { ac_try='test -s conftest.$ac_objext'
20891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20892 (eval $ac_try) 2>&5
20893 ac_status=$?
20894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20895 (exit $ac_status); }; }; then
20896 ac_header_compiler=yes
20897 else
20898 echo "$as_me: failed program was:" >&5
20899 sed 's/^/| /' conftest.$ac_ext >&5
20900
20901 ac_header_compiler=no
20902 fi
20903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20904 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20905 echo "${ECHO_T}$ac_header_compiler" >&6
20906
20907 # Is the header present?
20908 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20909 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20910 cat >conftest.$ac_ext <<_ACEOF
20911 /* confdefs.h. */
20912 _ACEOF
20913 cat confdefs.h >>conftest.$ac_ext
20914 cat >>conftest.$ac_ext <<_ACEOF
20915 /* end confdefs.h. */
20916 #include <$ac_header>
20917 _ACEOF
20918 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20919 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20920 ac_status=$?
20921 grep -v '^ *+' conftest.er1 >conftest.err
20922 rm -f conftest.er1
20923 cat conftest.err >&5
20924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20925 (exit $ac_status); } >/dev/null; then
20926 if test -s conftest.err; then
20927 ac_cpp_err=$ac_c_preproc_warn_flag
20928 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20929 else
20930 ac_cpp_err=
20931 fi
20932 else
20933 ac_cpp_err=yes
20934 fi
20935 if test -z "$ac_cpp_err"; then
20936 ac_header_preproc=yes
20937 else
20938 echo "$as_me: failed program was:" >&5
20939 sed 's/^/| /' conftest.$ac_ext >&5
20940
20941 ac_header_preproc=no
20942 fi
20943 rm -f conftest.err conftest.$ac_ext
20944 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20945 echo "${ECHO_T}$ac_header_preproc" >&6
20946
20947 # So? What about this header?
20948 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20949 yes:no: )
20950 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20951 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20952 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20953 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20954 ac_header_preproc=yes
20955 ;;
20956 no:yes:* )
20957 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20958 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20959 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20960 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20961 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20962 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20963 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20964 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20965 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20966 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20967 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20968 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20969 (
20970 cat <<\_ASBOX
20971 ## ----------------------------------------- ##
20972 ## Report this to wx-dev@lists.wxwindows.org ##
20973 ## ----------------------------------------- ##
20974 _ASBOX
20975 ) |
20976 sed "s/^/$as_me: WARNING: /" >&2
20977 ;;
20978 esac
20979 echo "$as_me:$LINENO: checking for $ac_header" >&5
20980 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20981 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20982 echo $ECHO_N "(cached) $ECHO_C" >&6
20983 else
20984 eval "$as_ac_Header=\$ac_header_preproc"
20985 fi
20986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20987 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20988
20989 fi
20990 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20991 cat >>confdefs.h <<_ACEOF
20992 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20993 _ACEOF
20994
20995 fi
20996
20997 done
20998
20999 if test "${ac_cv_header_windows_h+set}" = set; then
21000 echo "$as_me:$LINENO: checking for windows.h" >&5
21001 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21002 if test "${ac_cv_header_windows_h+set}" = set; then
21003 echo $ECHO_N "(cached) $ECHO_C" >&6
21004 fi
21005 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21006 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21007 else
21008 # Is the header compilable?
21009 echo "$as_me:$LINENO: checking windows.h usability" >&5
21010 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
21011 cat >conftest.$ac_ext <<_ACEOF
21012 /* confdefs.h. */
21013 _ACEOF
21014 cat confdefs.h >>conftest.$ac_ext
21015 cat >>conftest.$ac_ext <<_ACEOF
21016 /* end confdefs.h. */
21017 $ac_includes_default
21018 #include <windows.h>
21019 _ACEOF
21020 rm -f conftest.$ac_objext
21021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21022 (eval $ac_compile) 2>conftest.er1
21023 ac_status=$?
21024 grep -v '^ *+' conftest.er1 >conftest.err
21025 rm -f conftest.er1
21026 cat conftest.err >&5
21027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21028 (exit $ac_status); } &&
21029 { ac_try='test -z "$ac_c_werror_flag"
21030 || test ! -s conftest.err'
21031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21032 (eval $ac_try) 2>&5
21033 ac_status=$?
21034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21035 (exit $ac_status); }; } &&
21036 { ac_try='test -s conftest.$ac_objext'
21037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21038 (eval $ac_try) 2>&5
21039 ac_status=$?
21040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21041 (exit $ac_status); }; }; then
21042 ac_header_compiler=yes
21043 else
21044 echo "$as_me: failed program was:" >&5
21045 sed 's/^/| /' conftest.$ac_ext >&5
21046
21047 ac_header_compiler=no
21048 fi
21049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21050 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21051 echo "${ECHO_T}$ac_header_compiler" >&6
21052
21053 # Is the header present?
21054 echo "$as_me:$LINENO: checking windows.h presence" >&5
21055 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
21056 cat >conftest.$ac_ext <<_ACEOF
21057 /* confdefs.h. */
21058 _ACEOF
21059 cat confdefs.h >>conftest.$ac_ext
21060 cat >>conftest.$ac_ext <<_ACEOF
21061 /* end confdefs.h. */
21062 #include <windows.h>
21063 _ACEOF
21064 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21065 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21066 ac_status=$?
21067 grep -v '^ *+' conftest.er1 >conftest.err
21068 rm -f conftest.er1
21069 cat conftest.err >&5
21070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21071 (exit $ac_status); } >/dev/null; then
21072 if test -s conftest.err; then
21073 ac_cpp_err=$ac_c_preproc_warn_flag
21074 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21075 else
21076 ac_cpp_err=
21077 fi
21078 else
21079 ac_cpp_err=yes
21080 fi
21081 if test -z "$ac_cpp_err"; then
21082 ac_header_preproc=yes
21083 else
21084 echo "$as_me: failed program was:" >&5
21085 sed 's/^/| /' conftest.$ac_ext >&5
21086
21087 ac_header_preproc=no
21088 fi
21089 rm -f conftest.err conftest.$ac_ext
21090 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21091 echo "${ECHO_T}$ac_header_preproc" >&6
21092
21093 # So? What about this header?
21094 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21095 yes:no: )
21096 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
21097 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21098 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
21099 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
21100 ac_header_preproc=yes
21101 ;;
21102 no:yes:* )
21103 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
21104 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
21105 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
21106 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
21107 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
21108 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
21109 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
21110 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
21111 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
21112 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
21113 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
21114 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
21115 (
21116 cat <<\_ASBOX
21117 ## ----------------------------------------- ##
21118 ## Report this to wx-dev@lists.wxwindows.org ##
21119 ## ----------------------------------------- ##
21120 _ASBOX
21121 ) |
21122 sed "s/^/$as_me: WARNING: /" >&2
21123 ;;
21124 esac
21125 echo "$as_me:$LINENO: checking for windows.h" >&5
21126 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21127 if test "${ac_cv_header_windows_h+set}" = set; then
21128 echo $ECHO_N "(cached) $ECHO_C" >&6
21129 else
21130 ac_cv_header_windows_h=$ac_header_preproc
21131 fi
21132 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21133 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21134
21135 fi
21136 if test $ac_cv_header_windows_h = yes; then
21137 :
21138 else
21139
21140 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
21141 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
21142 { (exit 1); exit 1; }; }
21143
21144 fi
21145
21146
21147
21148 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
21149
21150 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
21151 LIBS="$LIBS -loleacc"
21152 fi
21153
21154 case "${host}" in
21155 *-*-cygwin* )
21156 LIBS="$LIBS -lkernel32 -luser32"
21157 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
21158 esac
21159
21160 if test "$wxUSE_ODBC" = "sys" ; then
21161 wxUSE_ODBC = "yes"
21162 fi
21163 if test "$wxUSE_ODBC" = "yes" ; then
21164 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
21165 cat >>confdefs.h <<\_ACEOF
21166 #define wxUSE_ODBC 1
21167 _ACEOF
21168
21169 fi
21170
21171 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
21172 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
21173
21174 WIN32INSTALL=win32install
21175 fi
21176
21177 if test "$wxUSE_GUI" = "yes"; then
21178 USE_GUI=1
21179
21180 GUI_TK_LIBRARY=
21181
21182 WXGTK12=
21183 WXGTK127=
21184 WXGTK20=
21185
21186 if test "$wxUSE_MSW" = 1 ; then
21187 TOOLKIT=MSW
21188 GUIDIST=MSW_DIST
21189
21190 case "${host}" in
21191 *-*-mingw32* )
21192 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
21193 esac
21194 fi
21195
21196 if test "$wxUSE_GTK" = 1; then
21197 echo "$as_me:$LINENO: checking for GTK+ version" >&5
21198 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
21199
21200 gtk_version_cached=1
21201 if test "${wx_cv_lib_gtk+set}" = set; then
21202 echo $ECHO_N "(cached) $ECHO_C" >&6
21203 else
21204
21205 gtk_version_cached=0
21206 echo "$as_me:$LINENO: result: " >&5
21207 echo "${ECHO_T}" >&6
21208
21209 GTK_MODULES=
21210 if test "$wxUSE_THREADS" = "yes"; then
21211 GTK_MODULES=gthread
21212 fi
21213
21214 wx_cv_lib_gtk=
21215 if test "x$wxUSE_GTK2" = "xyes"; then
21216 # Check whether --enable-gtktest or --disable-gtktest was given.
21217 if test "${enable_gtktest+set}" = set; then
21218 enableval="$enable_gtktest"
21219
21220 else
21221 enable_gtktest=yes
21222 fi;
21223
21224 pkg_config_args=gtk+-2.0
21225 for module in . $GTK_MODULES
21226 do
21227 case "$module" in
21228 gthread)
21229 pkg_config_args="$pkg_config_args gthread-2.0"
21230 ;;
21231 esac
21232 done
21233
21234 no_gtk=""
21235
21236 # Extract the first word of "pkg-config", so it can be a program name with args.
21237 set dummy pkg-config; ac_word=$2
21238 echo "$as_me:$LINENO: checking for $ac_word" >&5
21239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21240 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21241 echo $ECHO_N "(cached) $ECHO_C" >&6
21242 else
21243 case $PKG_CONFIG in
21244 [\\/]* | ?:[\\/]*)
21245 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21246 ;;
21247 *)
21248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21249 for as_dir in $PATH
21250 do
21251 IFS=$as_save_IFS
21252 test -z "$as_dir" && as_dir=.
21253 for ac_exec_ext in '' $ac_executable_extensions; do
21254 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21255 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21257 break 2
21258 fi
21259 done
21260 done
21261
21262 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21263 ;;
21264 esac
21265 fi
21266 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21267
21268 if test -n "$PKG_CONFIG"; then
21269 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21270 echo "${ECHO_T}$PKG_CONFIG" >&6
21271 else
21272 echo "$as_me:$LINENO: result: no" >&5
21273 echo "${ECHO_T}no" >&6
21274 fi
21275
21276
21277 if test x$PKG_CONFIG != xno ; then
21278 if pkg-config --atleast-pkgconfig-version 0.7 ; then
21279 :
21280 else
21281 echo *** pkg-config too old; version 0.7 or better required.
21282 no_gtk=yes
21283 PKG_CONFIG=no
21284 fi
21285 else
21286 no_gtk=yes
21287 fi
21288
21289 min_gtk_version=2.0.0
21290 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
21291 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
21292
21293 if test x$PKG_CONFIG != xno ; then
21294 ## don't try to run the test against uninstalled libtool libs
21295 if $PKG_CONFIG --uninstalled $pkg_config_args; then
21296 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
21297 enable_gtktest=no
21298 fi
21299
21300 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
21301 :
21302 else
21303 no_gtk=yes
21304 fi
21305 fi
21306
21307 if test x"$no_gtk" = x ; then
21308 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
21309 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
21310 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
21311 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21312 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
21313 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21314 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
21315 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21316 if test "x$enable_gtktest" = "xyes" ; then
21317 ac_save_CFLAGS="$CFLAGS"
21318 ac_save_LIBS="$LIBS"
21319 CFLAGS="$CFLAGS $GTK_CFLAGS"
21320 LIBS="$GTK_LIBS $LIBS"
21321 rm -f conf.gtktest
21322 if test "$cross_compiling" = yes; then
21323 echo $ac_n "cross compiling; assumed OK... $ac_c"
21324 else
21325 cat >conftest.$ac_ext <<_ACEOF
21326 /* confdefs.h. */
21327 _ACEOF
21328 cat confdefs.h >>conftest.$ac_ext
21329 cat >>conftest.$ac_ext <<_ACEOF
21330 /* end confdefs.h. */
21331
21332 #include <gtk/gtk.h>
21333 #include <stdio.h>
21334 #include <stdlib.h>
21335
21336 int
21337 main ()
21338 {
21339 int major, minor, micro;
21340 char *tmp_version;
21341
21342 system ("touch conf.gtktest");
21343
21344 /* HP/UX 9 (%@#!) writes to sscanf strings */
21345 tmp_version = g_strdup("$min_gtk_version");
21346 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
21347 printf("%s, bad version string\n", "$min_gtk_version");
21348 exit(1);
21349 }
21350
21351 if ((gtk_major_version != $gtk_config_major_version) ||
21352 (gtk_minor_version != $gtk_config_minor_version) ||
21353 (gtk_micro_version != $gtk_config_micro_version))
21354 {
21355 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21356 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21357 gtk_major_version, gtk_minor_version, gtk_micro_version);
21358 printf ("*** was found! If pkg-config was correct, then it is best\n");
21359 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21360 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21361 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21362 printf("*** required on your system.\n");
21363 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
21364 printf("*** to point to the correct configuration files\n");
21365 }
21366 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21367 (gtk_minor_version != GTK_MINOR_VERSION) ||
21368 (gtk_micro_version != GTK_MICRO_VERSION))
21369 {
21370 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21371 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21372 printf("*** library (version %d.%d.%d)\n",
21373 gtk_major_version, gtk_minor_version, gtk_micro_version);
21374 }
21375 else
21376 {
21377 if ((gtk_major_version > major) ||
21378 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21379 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21380 {
21381 return 0;
21382 }
21383 else
21384 {
21385 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21386 gtk_major_version, gtk_minor_version, gtk_micro_version);
21387 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21388 major, minor, micro);
21389 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21390 printf("***\n");
21391 printf("*** If you have already installed a sufficiently new version, this error\n");
21392 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
21393 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21394 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
21395 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
21396 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21397 printf("*** so that the correct libraries are found at run-time))\n");
21398 }
21399 }
21400 return 1;
21401 }
21402
21403 _ACEOF
21404 rm -f conftest$ac_exeext
21405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21406 (eval $ac_link) 2>&5
21407 ac_status=$?
21408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21409 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21411 (eval $ac_try) 2>&5
21412 ac_status=$?
21413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21414 (exit $ac_status); }; }; then
21415 :
21416 else
21417 echo "$as_me: program exited with status $ac_status" >&5
21418 echo "$as_me: failed program was:" >&5
21419 sed 's/^/| /' conftest.$ac_ext >&5
21420
21421 ( exit $ac_status )
21422 no_gtk=yes
21423 fi
21424 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21425 fi
21426 CFLAGS="$ac_save_CFLAGS"
21427 LIBS="$ac_save_LIBS"
21428 fi
21429 fi
21430 if test "x$no_gtk" = x ; then
21431 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
21432 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
21433 wx_cv_lib_gtk=2.0
21434 else
21435 echo "$as_me:$LINENO: result: no" >&5
21436 echo "${ECHO_T}no" >&6
21437 if test "$PKG_CONFIG" = "no" ; then
21438 echo "*** A new enough version of pkg-config was not found."
21439 echo "*** See http://pkgconfig.sourceforge.net"
21440 else
21441 if test -f conf.gtktest ; then
21442 :
21443 else
21444 echo "*** Could not run GTK+ test program, checking why..."
21445 ac_save_CFLAGS="$CFLAGS"
21446 ac_save_LIBS="$LIBS"
21447 CFLAGS="$CFLAGS $GTK_CFLAGS"
21448 LIBS="$LIBS $GTK_LIBS"
21449 cat >conftest.$ac_ext <<_ACEOF
21450 /* confdefs.h. */
21451 _ACEOF
21452 cat confdefs.h >>conftest.$ac_ext
21453 cat >>conftest.$ac_ext <<_ACEOF
21454 /* end confdefs.h. */
21455
21456 #include <gtk/gtk.h>
21457 #include <stdio.h>
21458
21459 int
21460 main ()
21461 {
21462 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21463 ;
21464 return 0;
21465 }
21466 _ACEOF
21467 rm -f conftest.$ac_objext conftest$ac_exeext
21468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21469 (eval $ac_link) 2>conftest.er1
21470 ac_status=$?
21471 grep -v '^ *+' conftest.er1 >conftest.err
21472 rm -f conftest.er1
21473 cat conftest.err >&5
21474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21475 (exit $ac_status); } &&
21476 { ac_try='test -z "$ac_c_werror_flag"
21477 || test ! -s conftest.err'
21478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21479 (eval $ac_try) 2>&5
21480 ac_status=$?
21481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21482 (exit $ac_status); }; } &&
21483 { ac_try='test -s conftest$ac_exeext'
21484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21485 (eval $ac_try) 2>&5
21486 ac_status=$?
21487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21488 (exit $ac_status); }; }; then
21489 echo "*** The test program compiled, but did not run. This usually means"
21490 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
21491 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
21492 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21493 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21494 echo "*** is required on your system"
21495 echo "***"
21496 echo "*** If you have an old version installed, it is best to remove it, although"
21497 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21498 else
21499 echo "$as_me: failed program was:" >&5
21500 sed 's/^/| /' conftest.$ac_ext >&5
21501
21502 echo "*** The test program failed to compile or link. See the file config.log for the"
21503 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
21504 fi
21505 rm -f conftest.err conftest.$ac_objext \
21506 conftest$ac_exeext conftest.$ac_ext
21507 CFLAGS="$ac_save_CFLAGS"
21508 LIBS="$ac_save_LIBS"
21509 fi
21510 fi
21511 GTK_CFLAGS=""
21512 GTK_LIBS=""
21513 :
21514 fi
21515
21516
21517 rm -f conf.gtktest
21518
21519 else
21520
21521 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
21522 if test "${with_gtk_prefix+set}" = set; then
21523 withval="$with_gtk_prefix"
21524 gtk_config_prefix="$withval"
21525 else
21526 gtk_config_prefix=""
21527 fi;
21528
21529 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
21530 if test "${with_gtk_exec_prefix+set}" = set; then
21531 withval="$with_gtk_exec_prefix"
21532 gtk_config_exec_prefix="$withval"
21533 else
21534 gtk_config_exec_prefix=""
21535 fi;
21536 # Check whether --enable-gtktest or --disable-gtktest was given.
21537 if test "${enable_gtktest+set}" = set; then
21538 enableval="$enable_gtktest"
21539
21540 else
21541 enable_gtktest=yes
21542 fi;
21543
21544 for module in . $GTK_MODULES
21545 do
21546 case "$module" in
21547 gthread)
21548 gtk_config_args="$gtk_config_args gthread"
21549 ;;
21550 esac
21551 done
21552
21553 if test x$gtk_config_exec_prefix != x ; then
21554 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
21555 if test x${GTK_CONFIG+set} != xset ; then
21556 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
21557 fi
21558 fi
21559 if test x$gtk_config_prefix != x ; then
21560 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
21561 if test x${GTK_CONFIG+set} != xset ; then
21562 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
21563 fi
21564 fi
21565
21566 # Extract the first word of "gtk-config", so it can be a program name with args.
21567 set dummy gtk-config; ac_word=$2
21568 echo "$as_me:$LINENO: checking for $ac_word" >&5
21569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21570 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
21571 echo $ECHO_N "(cached) $ECHO_C" >&6
21572 else
21573 case $GTK_CONFIG in
21574 [\\/]* | ?:[\\/]*)
21575 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
21576 ;;
21577 *)
21578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21579 for as_dir in $PATH
21580 do
21581 IFS=$as_save_IFS
21582 test -z "$as_dir" && as_dir=.
21583 for ac_exec_ext in '' $ac_executable_extensions; do
21584 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21585 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21587 break 2
21588 fi
21589 done
21590 done
21591
21592 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
21593 ;;
21594 esac
21595 fi
21596 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
21597
21598 if test -n "$GTK_CONFIG"; then
21599 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
21600 echo "${ECHO_T}$GTK_CONFIG" >&6
21601 else
21602 echo "$as_me:$LINENO: result: no" >&5
21603 echo "${ECHO_T}no" >&6
21604 fi
21605
21606 min_gtk_version=1.2.7
21607 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
21608 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
21609 no_gtk=""
21610 if test "$GTK_CONFIG" = "no" ; then
21611 no_gtk=yes
21612 else
21613 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
21614 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
21615 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
21616 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21617 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
21618 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21619 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
21620 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21621 if test "x$enable_gtktest" = "xyes" ; then
21622 ac_save_CFLAGS="$CFLAGS"
21623 ac_save_LIBS="$LIBS"
21624 CFLAGS="$CFLAGS $GTK_CFLAGS"
21625 LIBS="$GTK_LIBS $LIBS"
21626 rm -f conf.gtktest
21627 if test "$cross_compiling" = yes; then
21628 echo $ac_n "cross compiling; assumed OK... $ac_c"
21629 else
21630 cat >conftest.$ac_ext <<_ACEOF
21631 /* confdefs.h. */
21632 _ACEOF
21633 cat confdefs.h >>conftest.$ac_ext
21634 cat >>conftest.$ac_ext <<_ACEOF
21635 /* end confdefs.h. */
21636
21637 #include <gtk/gtk.h>
21638 #include <stdio.h>
21639 #include <stdlib.h>
21640
21641 int
21642 main ()
21643 {
21644 int major, minor, micro;
21645 char *tmp_version;
21646
21647 system ("touch conf.gtktest");
21648
21649 /* HP/UX 9 (%@#!) writes to sscanf strings */
21650 tmp_version = g_strdup("$min_gtk_version");
21651 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
21652 printf("%s, bad version string\n", "$min_gtk_version");
21653 exit(1);
21654 }
21655
21656 if ((gtk_major_version != $gtk_config_major_version) ||
21657 (gtk_minor_version != $gtk_config_minor_version) ||
21658 (gtk_micro_version != $gtk_config_micro_version))
21659 {
21660 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21661 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21662 gtk_major_version, gtk_minor_version, gtk_micro_version);
21663 printf ("*** was found! If gtk-config was correct, then it is best\n");
21664 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21665 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21666 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21667 printf("*** required on your system.\n");
21668 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
21669 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
21670 printf("*** before re-running configure\n");
21671 }
21672 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
21673 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21674 (gtk_minor_version != GTK_MINOR_VERSION) ||
21675 (gtk_micro_version != GTK_MICRO_VERSION))
21676 {
21677 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21678 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21679 printf("*** library (version %d.%d.%d)\n",
21680 gtk_major_version, gtk_minor_version, gtk_micro_version);
21681 }
21682 #endif /* defined (GTK_MAJOR_VERSION) ... */
21683 else
21684 {
21685 if ((gtk_major_version > major) ||
21686 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21687 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21688 {
21689 return 0;
21690 }
21691 else
21692 {
21693 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21694 gtk_major_version, gtk_minor_version, gtk_micro_version);
21695 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21696 major, minor, micro);
21697 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21698 printf("***\n");
21699 printf("*** If you have already installed a sufficiently new version, this error\n");
21700 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
21701 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21702 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
21703 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
21704 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21705 printf("*** so that the correct libraries are found at run-time))\n");
21706 }
21707 }
21708 return 1;
21709 }
21710
21711 _ACEOF
21712 rm -f conftest$ac_exeext
21713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21714 (eval $ac_link) 2>&5
21715 ac_status=$?
21716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21717 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21719 (eval $ac_try) 2>&5
21720 ac_status=$?
21721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21722 (exit $ac_status); }; }; then
21723 :
21724 else
21725 echo "$as_me: program exited with status $ac_status" >&5
21726 echo "$as_me: failed program was:" >&5
21727 sed 's/^/| /' conftest.$ac_ext >&5
21728
21729 ( exit $ac_status )
21730 no_gtk=yes
21731 fi
21732 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21733 fi
21734 CFLAGS="$ac_save_CFLAGS"
21735 LIBS="$ac_save_LIBS"
21736 fi
21737 fi
21738 if test "x$no_gtk" = x ; then
21739 echo "$as_me:$LINENO: result: yes" >&5
21740 echo "${ECHO_T}yes" >&6
21741 wx_cv_lib_gtk=1.2.7
21742 else
21743 echo "$as_me:$LINENO: result: no" >&5
21744 echo "${ECHO_T}no" >&6
21745 if test "$GTK_CONFIG" = "no" ; then
21746 echo "*** The gtk-config script installed by GTK could not be found"
21747 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
21748 echo "*** your path, or set the GTK_CONFIG environment variable to the"
21749 echo "*** full path to gtk-config."
21750 else
21751 if test -f conf.gtktest ; then
21752 :
21753 else
21754 echo "*** Could not run GTK test program, checking why..."
21755 CFLAGS="$CFLAGS $GTK_CFLAGS"
21756 LIBS="$LIBS $GTK_LIBS"
21757 cat >conftest.$ac_ext <<_ACEOF
21758 /* confdefs.h. */
21759 _ACEOF
21760 cat confdefs.h >>conftest.$ac_ext
21761 cat >>conftest.$ac_ext <<_ACEOF
21762 /* end confdefs.h. */
21763
21764 #include <gtk/gtk.h>
21765 #include <stdio.h>
21766
21767 int
21768 main ()
21769 {
21770 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21771 ;
21772 return 0;
21773 }
21774 _ACEOF
21775 rm -f conftest.$ac_objext conftest$ac_exeext
21776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21777 (eval $ac_link) 2>conftest.er1
21778 ac_status=$?
21779 grep -v '^ *+' conftest.er1 >conftest.err
21780 rm -f conftest.er1
21781 cat conftest.err >&5
21782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21783 (exit $ac_status); } &&
21784 { ac_try='test -z "$ac_c_werror_flag"
21785 || test ! -s conftest.err'
21786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21787 (eval $ac_try) 2>&5
21788 ac_status=$?
21789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21790 (exit $ac_status); }; } &&
21791 { ac_try='test -s conftest$ac_exeext'
21792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21793 (eval $ac_try) 2>&5
21794 ac_status=$?
21795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21796 (exit $ac_status); }; }; then
21797 echo "*** The test program compiled, but did not run. This usually means"
21798 echo "*** that the run-time linker is not finding GTK or finding the wrong"
21799 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
21800 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21801 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21802 echo "*** is required on your system"
21803 echo "***"
21804 echo "*** If you have an old version installed, it is best to remove it, although"
21805 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21806 echo "***"
21807 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
21808 echo "*** came with the system with the command"
21809 echo "***"
21810 echo "*** rpm --erase --nodeps gtk gtk-devel"
21811 else
21812 echo "$as_me: failed program was:" >&5
21813 sed 's/^/| /' conftest.$ac_ext >&5
21814
21815 echo "*** The test program failed to compile or link. See the file config.log for the"
21816 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
21817 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
21818 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
21819 fi
21820 rm -f conftest.err conftest.$ac_objext \
21821 conftest$ac_exeext conftest.$ac_ext
21822 CFLAGS="$ac_save_CFLAGS"
21823 LIBS="$ac_save_LIBS"
21824 fi
21825 fi
21826 GTK_CFLAGS=""
21827 GTK_LIBS=""
21828 :
21829 fi
21830
21831
21832 rm -f conf.gtktest
21833
21834
21835 if test -z "$wx_cv_lib_gtk"; then
21836
21837 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
21838 if test "${with_gtk_prefix+set}" = set; then
21839 withval="$with_gtk_prefix"
21840 gtk_config_prefix="$withval"
21841 else
21842 gtk_config_prefix=""
21843 fi;
21844
21845 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
21846 if test "${with_gtk_exec_prefix+set}" = set; then
21847 withval="$with_gtk_exec_prefix"
21848 gtk_config_exec_prefix="$withval"
21849 else
21850 gtk_config_exec_prefix=""
21851 fi;
21852 # Check whether --enable-gtktest or --disable-gtktest was given.
21853 if test "${enable_gtktest+set}" = set; then
21854 enableval="$enable_gtktest"
21855
21856 else
21857 enable_gtktest=yes
21858 fi;
21859
21860 for module in . $GTK_MODULES
21861 do
21862 case "$module" in
21863 gthread)
21864 gtk_config_args="$gtk_config_args gthread"
21865 ;;
21866 esac
21867 done
21868
21869 if test x$gtk_config_exec_prefix != x ; then
21870 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
21871 if test x${GTK_CONFIG+set} != xset ; then
21872 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
21873 fi
21874 fi
21875 if test x$gtk_config_prefix != x ; then
21876 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
21877 if test x${GTK_CONFIG+set} != xset ; then
21878 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
21879 fi
21880 fi
21881
21882 # Extract the first word of "gtk-config", so it can be a program name with args.
21883 set dummy gtk-config; ac_word=$2
21884 echo "$as_me:$LINENO: checking for $ac_word" >&5
21885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21886 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
21887 echo $ECHO_N "(cached) $ECHO_C" >&6
21888 else
21889 case $GTK_CONFIG in
21890 [\\/]* | ?:[\\/]*)
21891 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
21892 ;;
21893 *)
21894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21895 for as_dir in $PATH
21896 do
21897 IFS=$as_save_IFS
21898 test -z "$as_dir" && as_dir=.
21899 for ac_exec_ext in '' $ac_executable_extensions; do
21900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21901 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21903 break 2
21904 fi
21905 done
21906 done
21907
21908 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
21909 ;;
21910 esac
21911 fi
21912 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
21913
21914 if test -n "$GTK_CONFIG"; then
21915 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
21916 echo "${ECHO_T}$GTK_CONFIG" >&6
21917 else
21918 echo "$as_me:$LINENO: result: no" >&5
21919 echo "${ECHO_T}no" >&6
21920 fi
21921
21922 min_gtk_version=1.2.3
21923 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
21924 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
21925 no_gtk=""
21926 if test "$GTK_CONFIG" = "no" ; then
21927 no_gtk=yes
21928 else
21929 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
21930 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
21931 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
21932 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21933 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
21934 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21935 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
21936 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21937 if test "x$enable_gtktest" = "xyes" ; then
21938 ac_save_CFLAGS="$CFLAGS"
21939 ac_save_LIBS="$LIBS"
21940 CFLAGS="$CFLAGS $GTK_CFLAGS"
21941 LIBS="$GTK_LIBS $LIBS"
21942 rm -f conf.gtktest
21943 if test "$cross_compiling" = yes; then
21944 echo $ac_n "cross compiling; assumed OK... $ac_c"
21945 else
21946 cat >conftest.$ac_ext <<_ACEOF
21947 /* confdefs.h. */
21948 _ACEOF
21949 cat confdefs.h >>conftest.$ac_ext
21950 cat >>conftest.$ac_ext <<_ACEOF
21951 /* end confdefs.h. */
21952
21953 #include <gtk/gtk.h>
21954 #include <stdio.h>
21955 #include <stdlib.h>
21956
21957 int
21958 main ()
21959 {
21960 int major, minor, micro;
21961 char *tmp_version;
21962
21963 system ("touch conf.gtktest");
21964
21965 /* HP/UX 9 (%@#!) writes to sscanf strings */
21966 tmp_version = g_strdup("$min_gtk_version");
21967 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
21968 printf("%s, bad version string\n", "$min_gtk_version");
21969 exit(1);
21970 }
21971
21972 if ((gtk_major_version != $gtk_config_major_version) ||
21973 (gtk_minor_version != $gtk_config_minor_version) ||
21974 (gtk_micro_version != $gtk_config_micro_version))
21975 {
21976 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21977 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21978 gtk_major_version, gtk_minor_version, gtk_micro_version);
21979 printf ("*** was found! If gtk-config was correct, then it is best\n");
21980 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21981 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21982 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21983 printf("*** required on your system.\n");
21984 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
21985 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
21986 printf("*** before re-running configure\n");
21987 }
21988 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
21989 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21990 (gtk_minor_version != GTK_MINOR_VERSION) ||
21991 (gtk_micro_version != GTK_MICRO_VERSION))
21992 {
21993 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21994 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21995 printf("*** library (version %d.%d.%d)\n",
21996 gtk_major_version, gtk_minor_version, gtk_micro_version);
21997 }
21998 #endif /* defined (GTK_MAJOR_VERSION) ... */
21999 else
22000 {
22001 if ((gtk_major_version > major) ||
22002 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22003 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22004 {
22005 return 0;
22006 }
22007 else
22008 {
22009 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22010 gtk_major_version, gtk_minor_version, gtk_micro_version);
22011 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22012 major, minor, micro);
22013 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22014 printf("***\n");
22015 printf("*** If you have already installed a sufficiently new version, this error\n");
22016 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22017 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22018 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22019 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22020 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22021 printf("*** so that the correct libraries are found at run-time))\n");
22022 }
22023 }
22024 return 1;
22025 }
22026
22027 _ACEOF
22028 rm -f conftest$ac_exeext
22029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22030 (eval $ac_link) 2>&5
22031 ac_status=$?
22032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22033 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22035 (eval $ac_try) 2>&5
22036 ac_status=$?
22037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22038 (exit $ac_status); }; }; then
22039 :
22040 else
22041 echo "$as_me: program exited with status $ac_status" >&5
22042 echo "$as_me: failed program was:" >&5
22043 sed 's/^/| /' conftest.$ac_ext >&5
22044
22045 ( exit $ac_status )
22046 no_gtk=yes
22047 fi
22048 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22049 fi
22050 CFLAGS="$ac_save_CFLAGS"
22051 LIBS="$ac_save_LIBS"
22052 fi
22053 fi
22054 if test "x$no_gtk" = x ; then
22055 echo "$as_me:$LINENO: result: yes" >&5
22056 echo "${ECHO_T}yes" >&6
22057 wx_cv_lib_gtk=1.2.3
22058 else
22059 echo "$as_me:$LINENO: result: no" >&5
22060 echo "${ECHO_T}no" >&6
22061 if test "$GTK_CONFIG" = "no" ; then
22062 echo "*** The gtk-config script installed by GTK could not be found"
22063 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22064 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22065 echo "*** full path to gtk-config."
22066 else
22067 if test -f conf.gtktest ; then
22068 :
22069 else
22070 echo "*** Could not run GTK test program, checking why..."
22071 CFLAGS="$CFLAGS $GTK_CFLAGS"
22072 LIBS="$LIBS $GTK_LIBS"
22073 cat >conftest.$ac_ext <<_ACEOF
22074 /* confdefs.h. */
22075 _ACEOF
22076 cat confdefs.h >>conftest.$ac_ext
22077 cat >>conftest.$ac_ext <<_ACEOF
22078 /* end confdefs.h. */
22079
22080 #include <gtk/gtk.h>
22081 #include <stdio.h>
22082
22083 int
22084 main ()
22085 {
22086 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22087 ;
22088 return 0;
22089 }
22090 _ACEOF
22091 rm -f conftest.$ac_objext conftest$ac_exeext
22092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22093 (eval $ac_link) 2>conftest.er1
22094 ac_status=$?
22095 grep -v '^ *+' conftest.er1 >conftest.err
22096 rm -f conftest.er1
22097 cat conftest.err >&5
22098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22099 (exit $ac_status); } &&
22100 { ac_try='test -z "$ac_c_werror_flag"
22101 || test ! -s conftest.err'
22102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22103 (eval $ac_try) 2>&5
22104 ac_status=$?
22105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22106 (exit $ac_status); }; } &&
22107 { ac_try='test -s conftest$ac_exeext'
22108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22109 (eval $ac_try) 2>&5
22110 ac_status=$?
22111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22112 (exit $ac_status); }; }; then
22113 echo "*** The test program compiled, but did not run. This usually means"
22114 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22115 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22116 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22117 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22118 echo "*** is required on your system"
22119 echo "***"
22120 echo "*** If you have an old version installed, it is best to remove it, although"
22121 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22122 echo "***"
22123 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22124 echo "*** came with the system with the command"
22125 echo "***"
22126 echo "*** rpm --erase --nodeps gtk gtk-devel"
22127 else
22128 echo "$as_me: failed program was:" >&5
22129 sed 's/^/| /' conftest.$ac_ext >&5
22130
22131 echo "*** The test program failed to compile or link. See the file config.log for the"
22132 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22133 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22134 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22135 fi
22136 rm -f conftest.err conftest.$ac_objext \
22137 conftest$ac_exeext conftest.$ac_ext
22138 CFLAGS="$ac_save_CFLAGS"
22139 LIBS="$ac_save_LIBS"
22140 fi
22141 fi
22142 GTK_CFLAGS=""
22143 GTK_LIBS=""
22144 :
22145 fi
22146
22147
22148 rm -f conf.gtktest
22149
22150 fi
22151 fi
22152
22153 if test -z "$wx_cv_lib_gtk"; then
22154 wx_cv_lib_gtk=none
22155 else
22156 wx_cv_cflags_gtk=$GTK_CFLAGS
22157 wx_cv_libs_gtk=$GTK_LIBS
22158 fi
22159
22160
22161 fi
22162
22163
22164 if test "$gtk_version_cached" = 1; then
22165 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
22166 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
22167 fi
22168
22169 case "$wx_cv_lib_gtk" in
22170 2.0) WXGTK20=1
22171 TOOLKIT_VERSION=2
22172 ;;
22173 1.2.7) WXGTK127=1
22174 WXGTK12=1
22175 ;;
22176 1.2.3) WXGTK12=1
22177 ;;
22178 *) { { echo "$as_me:$LINENO: error:
22179 Please check that gtk-config is in path, the directory
22180 where GTK+ libraries are installed (returned by
22181 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22182 equivalent variable and GTK+ is version 1.2.3 or above.
22183 " >&5
22184 echo "$as_me: error:
22185 Please check that gtk-config is in path, the directory
22186 where GTK+ libraries are installed (returned by
22187 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22188 equivalent variable and GTK+ is version 1.2.3 or above.
22189 " >&2;}
22190 { (exit 1); exit 1; }; }
22191 ;;
22192 esac
22193
22194 if test "$WXGTK20" = 1; then
22195 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
22196
22197 succeeded=no
22198
22199 if test -z "$PKG_CONFIG"; then
22200 # Extract the first word of "pkg-config", so it can be a program name with args.
22201 set dummy pkg-config; ac_word=$2
22202 echo "$as_me:$LINENO: checking for $ac_word" >&5
22203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22204 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22205 echo $ECHO_N "(cached) $ECHO_C" >&6
22206 else
22207 case $PKG_CONFIG in
22208 [\\/]* | ?:[\\/]*)
22209 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22210 ;;
22211 *)
22212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22213 for as_dir in $PATH
22214 do
22215 IFS=$as_save_IFS
22216 test -z "$as_dir" && as_dir=.
22217 for ac_exec_ext in '' $ac_executable_extensions; do
22218 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22219 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22221 break 2
22222 fi
22223 done
22224 done
22225
22226 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22227 ;;
22228 esac
22229 fi
22230 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22231
22232 if test -n "$PKG_CONFIG"; then
22233 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22234 echo "${ECHO_T}$PKG_CONFIG" >&6
22235 else
22236 echo "$as_me:$LINENO: result: no" >&5
22237 echo "${ECHO_T}no" >&6
22238 fi
22239
22240 fi
22241
22242 if test "$PKG_CONFIG" = "no" ; then
22243 echo "*** The pkg-config script could not be found. Make sure it is"
22244 echo "*** in your path, or set the PKG_CONFIG environment variable"
22245 echo "*** to the full path to pkg-config."
22246 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22247 else
22248 PKG_CONFIG_MIN_VERSION=0.9.0
22249 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22250 echo "$as_me:$LINENO: checking for pangoft2" >&5
22251 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22252
22253 if $PKG_CONFIG --exists "pangoft2" ; then
22254 echo "$as_me:$LINENO: result: yes" >&5
22255 echo "${ECHO_T}yes" >&6
22256 succeeded=yes
22257
22258 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22259 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22260 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22261 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22262 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22263
22264 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22265 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22266 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22267 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22268 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22269 else
22270 PANGOFT2_CFLAGS=""
22271 PANGOFT2_LIBS=""
22272 ## If we have a custom action on failure, don't print errors, but
22273 ## do set a variable so people can do so.
22274 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22275
22276 fi
22277
22278
22279
22280 else
22281 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22282 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22283 fi
22284 fi
22285
22286 if test $succeeded = yes; then
22287
22288 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22289 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22290
22291 else
22292
22293 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22294 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22295 wxUSE_PRINTING_ARCHITECTURE="no"
22296
22297
22298 fi
22299
22300 fi
22301 else
22302 if test "$wxUSE_UNICODE" = "yes"; then
22303 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
22304 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
22305 wxUSE_UNICODE=no
22306 fi
22307 fi
22308
22309 if test "$USE_DARWIN" != 1; then
22310
22311 for ac_func in poll
22312 do
22313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22314 echo "$as_me:$LINENO: checking for $ac_func" >&5
22315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22316 if eval "test \"\${$as_ac_var+set}\" = set"; then
22317 echo $ECHO_N "(cached) $ECHO_C" >&6
22318 else
22319 cat >conftest.$ac_ext <<_ACEOF
22320 /* confdefs.h. */
22321 _ACEOF
22322 cat confdefs.h >>conftest.$ac_ext
22323 cat >>conftest.$ac_ext <<_ACEOF
22324 /* end confdefs.h. */
22325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22327 #define $ac_func innocuous_$ac_func
22328
22329 /* System header to define __stub macros and hopefully few prototypes,
22330 which can conflict with char $ac_func (); below.
22331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22332 <limits.h> exists even on freestanding compilers. */
22333
22334 #ifdef __STDC__
22335 # include <limits.h>
22336 #else
22337 # include <assert.h>
22338 #endif
22339
22340 #undef $ac_func
22341
22342 /* Override any gcc2 internal prototype to avoid an error. */
22343 #ifdef __cplusplus
22344 extern "C"
22345 {
22346 #endif
22347 /* We use char because int might match the return type of a gcc2
22348 builtin and then its argument prototype would still apply. */
22349 char $ac_func ();
22350 /* The GNU C library defines this for functions which it implements
22351 to always fail with ENOSYS. Some functions are actually named
22352 something starting with __ and the normal name is an alias. */
22353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22354 choke me
22355 #else
22356 char (*f) () = $ac_func;
22357 #endif
22358 #ifdef __cplusplus
22359 }
22360 #endif
22361
22362 int
22363 main ()
22364 {
22365 return f != $ac_func;
22366 ;
22367 return 0;
22368 }
22369 _ACEOF
22370 rm -f conftest.$ac_objext conftest$ac_exeext
22371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22372 (eval $ac_link) 2>conftest.er1
22373 ac_status=$?
22374 grep -v '^ *+' conftest.er1 >conftest.err
22375 rm -f conftest.er1
22376 cat conftest.err >&5
22377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22378 (exit $ac_status); } &&
22379 { ac_try='test -z "$ac_c_werror_flag"
22380 || test ! -s conftest.err'
22381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22382 (eval $ac_try) 2>&5
22383 ac_status=$?
22384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22385 (exit $ac_status); }; } &&
22386 { ac_try='test -s conftest$ac_exeext'
22387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22388 (eval $ac_try) 2>&5
22389 ac_status=$?
22390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22391 (exit $ac_status); }; }; then
22392 eval "$as_ac_var=yes"
22393 else
22394 echo "$as_me: failed program was:" >&5
22395 sed 's/^/| /' conftest.$ac_ext >&5
22396
22397 eval "$as_ac_var=no"
22398 fi
22399 rm -f conftest.err conftest.$ac_objext \
22400 conftest$ac_exeext conftest.$ac_ext
22401 fi
22402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22404 if test `eval echo '${'$as_ac_var'}'` = yes; then
22405 cat >>confdefs.h <<_ACEOF
22406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22407 _ACEOF
22408
22409 fi
22410 done
22411
22412 fi
22413
22414 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
22415 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
22416
22417 AFMINSTALL=afminstall
22418 TOOLKIT=GTK
22419 GUIDIST=GTK_DIST
22420
22421 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
22422 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
22423 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
22424 echo $ECHO_N "(cached) $ECHO_C" >&6
22425 else
22426 ac_check_lib_save_LIBS=$LIBS
22427 LIBS="-lgdk $LIBS"
22428 cat >conftest.$ac_ext <<_ACEOF
22429 /* confdefs.h. */
22430 _ACEOF
22431 cat confdefs.h >>conftest.$ac_ext
22432 cat >>conftest.$ac_ext <<_ACEOF
22433 /* end confdefs.h. */
22434
22435 /* Override any gcc2 internal prototype to avoid an error. */
22436 #ifdef __cplusplus
22437 extern "C"
22438 #endif
22439 /* We use char because int might match the return type of a gcc2
22440 builtin and then its argument prototype would still apply. */
22441 char gdk_im_open ();
22442 int
22443 main ()
22444 {
22445 gdk_im_open ();
22446 ;
22447 return 0;
22448 }
22449 _ACEOF
22450 rm -f conftest.$ac_objext conftest$ac_exeext
22451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22452 (eval $ac_link) 2>conftest.er1
22453 ac_status=$?
22454 grep -v '^ *+' conftest.er1 >conftest.err
22455 rm -f conftest.er1
22456 cat conftest.err >&5
22457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22458 (exit $ac_status); } &&
22459 { ac_try='test -z "$ac_c_werror_flag"
22460 || test ! -s conftest.err'
22461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22462 (eval $ac_try) 2>&5
22463 ac_status=$?
22464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22465 (exit $ac_status); }; } &&
22466 { ac_try='test -s conftest$ac_exeext'
22467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22468 (eval $ac_try) 2>&5
22469 ac_status=$?
22470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22471 (exit $ac_status); }; }; then
22472 ac_cv_lib_gdk_gdk_im_open=yes
22473 else
22474 echo "$as_me: failed program was:" >&5
22475 sed 's/^/| /' conftest.$ac_ext >&5
22476
22477 ac_cv_lib_gdk_gdk_im_open=no
22478 fi
22479 rm -f conftest.err conftest.$ac_objext \
22480 conftest$ac_exeext conftest.$ac_ext
22481 LIBS=$ac_check_lib_save_LIBS
22482 fi
22483 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
22484 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
22485 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
22486 cat >>confdefs.h <<\_ACEOF
22487 #define HAVE_XIM 1
22488 _ACEOF
22489
22490 fi
22491
22492 fi
22493
22494 if test "$wxUSE_MGL" = 1; then
22495 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
22496 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
22497 if test "x$MGL_ROOT" = x ; then
22498 echo "$as_me:$LINENO: result: not found" >&5
22499 echo "${ECHO_T}not found" >&6
22500 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
22501 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
22502 { (exit 1); exit 1; }; }
22503 else
22504 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
22505 echo "${ECHO_T}$MGL_ROOT" >&6
22506 fi
22507
22508 echo "$as_me:$LINENO: checking for libmgl location" >&5
22509 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
22510 case "${host}" in
22511 *-*-linux* )
22512 if test "x$wxUSE_SHARED" = xyes ; then
22513 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
22514 else
22515 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
22516 fi
22517 ;;
22518 *-pc-msdosdjgpp )
22519 mgl_os_candidates="dos32/dj2"
22520 ;;
22521 *)
22522 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
22523 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
22524 { (exit 1); exit 1; }; }
22525 esac
22526
22527 mgl_lib_type=""
22528 mgl_os=""
22529
22530 for mgl_os_i in $mgl_os_candidates ; do
22531 if test "x$mgl_os" = x ; then
22532 if test "$wxUSE_DEBUG_FLAG" = yes ; then
22533 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
22534 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
22535 mgl_lib_type=debug
22536 mgl_os=$mgl_os_i
22537 fi
22538 fi
22539 if test "x$mgl_lib_type" = x ; then
22540 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
22541 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
22542 mgl_lib_type=release
22543 mgl_os=$mgl_os_i
22544 fi
22545 fi
22546 fi
22547 done
22548
22549 if test "x$mgl_os" = x ; then
22550 echo "$as_me:$LINENO: result: not found" >&5
22551 echo "${ECHO_T}not found" >&6
22552 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
22553 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
22554 { (exit 1); exit 1; }; }
22555 fi
22556 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
22557 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
22558
22559 wxUSE_UNIVERSAL="yes"
22560
22561 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
22562 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
22563
22564 AFMINSTALL=afminstall
22565 TOOLKIT=MGL
22566 GUIDIST=MGL_DIST
22567 fi
22568
22569 if test "$wxUSE_MICROWIN" = 1; then
22570 echo "$as_me:$LINENO: checking for MicroWindows" >&5
22571 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
22572 if test "x$MICROWINDOWS" = x ; then
22573 echo "$as_me:$LINENO: result: not found" >&5
22574 echo "${ECHO_T}not found" >&6
22575 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
22576 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
22577 { (exit 1); exit 1; }; }
22578 else
22579 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
22580 echo "${ECHO_T}$MICROWINDOWS" >&6
22581 fi
22582
22583 if test -f $MICROWINDOWS/lib/libmwin.a; then
22584 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
22585 echo "${ECHO_T}MicroWindows' libraries found." >&6
22586 else
22587 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
22588 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
22589 { (exit 1); exit 1; }; }
22590 fi
22591
22592 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
22593 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
22594
22595 wxUSE_UNIVERSAL="yes"
22596
22597 AFMINSTALL=afminstall
22598 TOOLKIT=MICROWIN
22599 GUIDIST=MICROWIN_DIST
22600
22601 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
22602 fi
22603
22604 if test "$wxUSE_X11" = 1; then
22605 echo "$as_me:$LINENO: checking for X" >&5
22606 echo $ECHO_N "checking for X... $ECHO_C" >&6
22607
22608
22609 # Check whether --with-x or --without-x was given.
22610 if test "${with_x+set}" = set; then
22611 withval="$with_x"
22612
22613 fi;
22614 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
22615 if test "x$with_x" = xno; then
22616 # The user explicitly disabled X.
22617 have_x=disabled
22618 else
22619 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
22620 # Both variables are already set.
22621 have_x=yes
22622 else
22623 if test "${ac_cv_have_x+set}" = set; then
22624 echo $ECHO_N "(cached) $ECHO_C" >&6
22625 else
22626 # One or both of the vars are not set, and there is no cached value.
22627 ac_x_includes=no ac_x_libraries=no
22628 rm -fr conftest.dir
22629 if mkdir conftest.dir; then
22630 cd conftest.dir
22631 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
22632 cat >Imakefile <<'_ACEOF'
22633 acfindx:
22634 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
22635 _ACEOF
22636 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
22637 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
22638 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
22639 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
22640 for ac_extension in a so sl; do
22641 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
22642 test -f $ac_im_libdir/libX11.$ac_extension; then
22643 ac_im_usrlibdir=$ac_im_libdir; break
22644 fi
22645 done
22646 # Screen out bogus values from the imake configuration. They are
22647 # bogus both because they are the default anyway, and because
22648 # using them would break gcc on systems where it needs fixed includes.
22649 case $ac_im_incroot in
22650 /usr/include) ;;
22651 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
22652 esac
22653 case $ac_im_usrlibdir in
22654 /usr/lib | /lib) ;;
22655 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
22656 esac
22657 fi
22658 cd ..
22659 rm -fr conftest.dir
22660 fi
22661
22662 # Standard set of common directories for X headers.
22663 # Check X11 before X11Rn because it is often a symlink to the current release.
22664 ac_x_header_dirs='
22665 /usr/X11/include
22666 /usr/X11R6/include
22667 /usr/X11R5/include
22668 /usr/X11R4/include
22669
22670 /usr/include/X11
22671 /usr/include/X11R6
22672 /usr/include/X11R5
22673 /usr/include/X11R4
22674
22675 /usr/local/X11/include
22676 /usr/local/X11R6/include
22677 /usr/local/X11R5/include
22678 /usr/local/X11R4/include
22679
22680 /usr/local/include/X11
22681 /usr/local/include/X11R6
22682 /usr/local/include/X11R5
22683 /usr/local/include/X11R4
22684
22685 /usr/X386/include
22686 /usr/x386/include
22687 /usr/XFree86/include/X11
22688
22689 /usr/include
22690 /usr/local/include
22691 /usr/unsupported/include
22692 /usr/athena/include
22693 /usr/local/x11r5/include
22694 /usr/lpp/Xamples/include
22695
22696 /usr/openwin/include
22697 /usr/openwin/share/include'
22698
22699 if test "$ac_x_includes" = no; then
22700 # Guess where to find include files, by looking for Intrinsic.h.
22701 # First, try using that file with no special directory specified.
22702 cat >conftest.$ac_ext <<_ACEOF
22703 /* confdefs.h. */
22704 _ACEOF
22705 cat confdefs.h >>conftest.$ac_ext
22706 cat >>conftest.$ac_ext <<_ACEOF
22707 /* end confdefs.h. */
22708 #include <X11/Intrinsic.h>
22709 _ACEOF
22710 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22711 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22712 ac_status=$?
22713 grep -v '^ *+' conftest.er1 >conftest.err
22714 rm -f conftest.er1
22715 cat conftest.err >&5
22716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22717 (exit $ac_status); } >/dev/null; then
22718 if test -s conftest.err; then
22719 ac_cpp_err=$ac_c_preproc_warn_flag
22720 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22721 else
22722 ac_cpp_err=
22723 fi
22724 else
22725 ac_cpp_err=yes
22726 fi
22727 if test -z "$ac_cpp_err"; then
22728 # We can compile using X headers with no special include directory.
22729 ac_x_includes=
22730 else
22731 echo "$as_me: failed program was:" >&5
22732 sed 's/^/| /' conftest.$ac_ext >&5
22733
22734 for ac_dir in $ac_x_header_dirs; do
22735 if test -r "$ac_dir/X11/Intrinsic.h"; then
22736 ac_x_includes=$ac_dir
22737 break
22738 fi
22739 done
22740 fi
22741 rm -f conftest.err conftest.$ac_ext
22742 fi # $ac_x_includes = no
22743
22744 if test "$ac_x_libraries" = no; then
22745 # Check for the libraries.
22746 # See if we find them without any special options.
22747 # Don't add to $LIBS permanently.
22748 ac_save_LIBS=$LIBS
22749 LIBS="-lXt $LIBS"
22750 cat >conftest.$ac_ext <<_ACEOF
22751 /* confdefs.h. */
22752 _ACEOF
22753 cat confdefs.h >>conftest.$ac_ext
22754 cat >>conftest.$ac_ext <<_ACEOF
22755 /* end confdefs.h. */
22756 #include <X11/Intrinsic.h>
22757 int
22758 main ()
22759 {
22760 XtMalloc (0)
22761 ;
22762 return 0;
22763 }
22764 _ACEOF
22765 rm -f conftest.$ac_objext conftest$ac_exeext
22766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22767 (eval $ac_link) 2>conftest.er1
22768 ac_status=$?
22769 grep -v '^ *+' conftest.er1 >conftest.err
22770 rm -f conftest.er1
22771 cat conftest.err >&5
22772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22773 (exit $ac_status); } &&
22774 { ac_try='test -z "$ac_c_werror_flag"
22775 || test ! -s conftest.err'
22776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22777 (eval $ac_try) 2>&5
22778 ac_status=$?
22779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22780 (exit $ac_status); }; } &&
22781 { ac_try='test -s conftest$ac_exeext'
22782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22783 (eval $ac_try) 2>&5
22784 ac_status=$?
22785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22786 (exit $ac_status); }; }; then
22787 LIBS=$ac_save_LIBS
22788 # We can link X programs with no special library path.
22789 ac_x_libraries=
22790 else
22791 echo "$as_me: failed program was:" >&5
22792 sed 's/^/| /' conftest.$ac_ext >&5
22793
22794 LIBS=$ac_save_LIBS
22795 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
22796 do
22797 # Don't even attempt the hair of trying to link an X program!
22798 for ac_extension in a so sl; do
22799 if test -r $ac_dir/libXt.$ac_extension; then
22800 ac_x_libraries=$ac_dir
22801 break 2
22802 fi
22803 done
22804 done
22805 fi
22806 rm -f conftest.err conftest.$ac_objext \
22807 conftest$ac_exeext conftest.$ac_ext
22808 fi # $ac_x_libraries = no
22809
22810 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
22811 # Didn't find X anywhere. Cache the known absence of X.
22812 ac_cv_have_x="have_x=no"
22813 else
22814 # Record where we found X for the cache.
22815 ac_cv_have_x="have_x=yes \
22816 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
22817 fi
22818 fi
22819
22820 fi
22821 eval "$ac_cv_have_x"
22822 fi # $with_x != no
22823
22824 if test "$have_x" != yes; then
22825 echo "$as_me:$LINENO: result: $have_x" >&5
22826 echo "${ECHO_T}$have_x" >&6
22827 no_x=yes
22828 else
22829 # If each of the values was on the command line, it overrides each guess.
22830 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
22831 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
22832 # Update the cache value to reflect the command line values.
22833 ac_cv_have_x="have_x=yes \
22834 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
22835 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
22836 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
22837 fi
22838
22839 if test "$no_x" = yes; then
22840 # Not all programs may use this symbol, but it does not hurt to define it.
22841
22842 cat >>confdefs.h <<\_ACEOF
22843 #define X_DISPLAY_MISSING 1
22844 _ACEOF
22845
22846 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22847 else
22848 if test -n "$x_includes"; then
22849 X_CFLAGS="$X_CFLAGS -I$x_includes"
22850 fi
22851
22852 # It would also be nice to do this for all -L options, not just this one.
22853 if test -n "$x_libraries"; then
22854 X_LIBS="$X_LIBS -L$x_libraries"
22855 # For Solaris; some versions of Sun CC require a space after -R and
22856 # others require no space. Words are not sufficient . . . .
22857 case `(uname -sr) 2>/dev/null` in
22858 "SunOS 5"*)
22859 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22860 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22861 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22862 cat >conftest.$ac_ext <<_ACEOF
22863 /* confdefs.h. */
22864 _ACEOF
22865 cat confdefs.h >>conftest.$ac_ext
22866 cat >>conftest.$ac_ext <<_ACEOF
22867 /* end confdefs.h. */
22868
22869 int
22870 main ()
22871 {
22872
22873 ;
22874 return 0;
22875 }
22876 _ACEOF
22877 rm -f conftest.$ac_objext conftest$ac_exeext
22878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22879 (eval $ac_link) 2>conftest.er1
22880 ac_status=$?
22881 grep -v '^ *+' conftest.er1 >conftest.err
22882 rm -f conftest.er1
22883 cat conftest.err >&5
22884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22885 (exit $ac_status); } &&
22886 { ac_try='test -z "$ac_c_werror_flag"
22887 || test ! -s conftest.err'
22888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22889 (eval $ac_try) 2>&5
22890 ac_status=$?
22891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22892 (exit $ac_status); }; } &&
22893 { ac_try='test -s conftest$ac_exeext'
22894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22895 (eval $ac_try) 2>&5
22896 ac_status=$?
22897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22898 (exit $ac_status); }; }; then
22899 ac_R_nospace=yes
22900 else
22901 echo "$as_me: failed program was:" >&5
22902 sed 's/^/| /' conftest.$ac_ext >&5
22903
22904 ac_R_nospace=no
22905 fi
22906 rm -f conftest.err conftest.$ac_objext \
22907 conftest$ac_exeext conftest.$ac_ext
22908 if test $ac_R_nospace = yes; then
22909 echo "$as_me:$LINENO: result: no" >&5
22910 echo "${ECHO_T}no" >&6
22911 X_LIBS="$X_LIBS -R$x_libraries"
22912 else
22913 LIBS="$ac_xsave_LIBS -R $x_libraries"
22914 cat >conftest.$ac_ext <<_ACEOF
22915 /* confdefs.h. */
22916 _ACEOF
22917 cat confdefs.h >>conftest.$ac_ext
22918 cat >>conftest.$ac_ext <<_ACEOF
22919 /* end confdefs.h. */
22920
22921 int
22922 main ()
22923 {
22924
22925 ;
22926 return 0;
22927 }
22928 _ACEOF
22929 rm -f conftest.$ac_objext conftest$ac_exeext
22930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22931 (eval $ac_link) 2>conftest.er1
22932 ac_status=$?
22933 grep -v '^ *+' conftest.er1 >conftest.err
22934 rm -f conftest.er1
22935 cat conftest.err >&5
22936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22937 (exit $ac_status); } &&
22938 { ac_try='test -z "$ac_c_werror_flag"
22939 || test ! -s conftest.err'
22940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22941 (eval $ac_try) 2>&5
22942 ac_status=$?
22943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22944 (exit $ac_status); }; } &&
22945 { ac_try='test -s conftest$ac_exeext'
22946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22947 (eval $ac_try) 2>&5
22948 ac_status=$?
22949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22950 (exit $ac_status); }; }; then
22951 ac_R_space=yes
22952 else
22953 echo "$as_me: failed program was:" >&5
22954 sed 's/^/| /' conftest.$ac_ext >&5
22955
22956 ac_R_space=no
22957 fi
22958 rm -f conftest.err conftest.$ac_objext \
22959 conftest$ac_exeext conftest.$ac_ext
22960 if test $ac_R_space = yes; then
22961 echo "$as_me:$LINENO: result: yes" >&5
22962 echo "${ECHO_T}yes" >&6
22963 X_LIBS="$X_LIBS -R $x_libraries"
22964 else
22965 echo "$as_me:$LINENO: result: neither works" >&5
22966 echo "${ECHO_T}neither works" >&6
22967 fi
22968 fi
22969 LIBS=$ac_xsave_LIBS
22970 esac
22971 fi
22972
22973 # Check for system-dependent libraries X programs must link with.
22974 # Do this before checking for the system-independent R6 libraries
22975 # (-lICE), since we may need -lsocket or whatever for X linking.
22976
22977 if test "$ISC" = yes; then
22978 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
22979 else
22980 # Martyn Johnson says this is needed for Ultrix, if the X
22981 # libraries were built with DECnet support. And Karl Berry says
22982 # the Alpha needs dnet_stub (dnet does not exist).
22983 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
22984 cat >conftest.$ac_ext <<_ACEOF
22985 /* confdefs.h. */
22986 _ACEOF
22987 cat confdefs.h >>conftest.$ac_ext
22988 cat >>conftest.$ac_ext <<_ACEOF
22989 /* end confdefs.h. */
22990
22991 /* Override any gcc2 internal prototype to avoid an error. */
22992 #ifdef __cplusplus
22993 extern "C"
22994 #endif
22995 /* We use char because int might match the return type of a gcc2
22996 builtin and then its argument prototype would still apply. */
22997 char XOpenDisplay ();
22998 int
22999 main ()
23000 {
23001 XOpenDisplay ();
23002 ;
23003 return 0;
23004 }
23005 _ACEOF
23006 rm -f conftest.$ac_objext conftest$ac_exeext
23007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23008 (eval $ac_link) 2>conftest.er1
23009 ac_status=$?
23010 grep -v '^ *+' conftest.er1 >conftest.err
23011 rm -f conftest.er1
23012 cat conftest.err >&5
23013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23014 (exit $ac_status); } &&
23015 { ac_try='test -z "$ac_c_werror_flag"
23016 || test ! -s conftest.err'
23017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23018 (eval $ac_try) 2>&5
23019 ac_status=$?
23020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23021 (exit $ac_status); }; } &&
23022 { ac_try='test -s conftest$ac_exeext'
23023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23024 (eval $ac_try) 2>&5
23025 ac_status=$?
23026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23027 (exit $ac_status); }; }; then
23028 :
23029 else
23030 echo "$as_me: failed program was:" >&5
23031 sed 's/^/| /' conftest.$ac_ext >&5
23032
23033 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23034 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23035 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23036 echo $ECHO_N "(cached) $ECHO_C" >&6
23037 else
23038 ac_check_lib_save_LIBS=$LIBS
23039 LIBS="-ldnet $LIBS"
23040 cat >conftest.$ac_ext <<_ACEOF
23041 /* confdefs.h. */
23042 _ACEOF
23043 cat confdefs.h >>conftest.$ac_ext
23044 cat >>conftest.$ac_ext <<_ACEOF
23045 /* end confdefs.h. */
23046
23047 /* Override any gcc2 internal prototype to avoid an error. */
23048 #ifdef __cplusplus
23049 extern "C"
23050 #endif
23051 /* We use char because int might match the return type of a gcc2
23052 builtin and then its argument prototype would still apply. */
23053 char dnet_ntoa ();
23054 int
23055 main ()
23056 {
23057 dnet_ntoa ();
23058 ;
23059 return 0;
23060 }
23061 _ACEOF
23062 rm -f conftest.$ac_objext conftest$ac_exeext
23063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23064 (eval $ac_link) 2>conftest.er1
23065 ac_status=$?
23066 grep -v '^ *+' conftest.er1 >conftest.err
23067 rm -f conftest.er1
23068 cat conftest.err >&5
23069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23070 (exit $ac_status); } &&
23071 { ac_try='test -z "$ac_c_werror_flag"
23072 || test ! -s conftest.err'
23073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23074 (eval $ac_try) 2>&5
23075 ac_status=$?
23076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23077 (exit $ac_status); }; } &&
23078 { ac_try='test -s conftest$ac_exeext'
23079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23080 (eval $ac_try) 2>&5
23081 ac_status=$?
23082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23083 (exit $ac_status); }; }; then
23084 ac_cv_lib_dnet_dnet_ntoa=yes
23085 else
23086 echo "$as_me: failed program was:" >&5
23087 sed 's/^/| /' conftest.$ac_ext >&5
23088
23089 ac_cv_lib_dnet_dnet_ntoa=no
23090 fi
23091 rm -f conftest.err conftest.$ac_objext \
23092 conftest$ac_exeext conftest.$ac_ext
23093 LIBS=$ac_check_lib_save_LIBS
23094 fi
23095 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23096 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23097 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23098 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23099 fi
23100
23101 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23102 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23103 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23104 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23105 echo $ECHO_N "(cached) $ECHO_C" >&6
23106 else
23107 ac_check_lib_save_LIBS=$LIBS
23108 LIBS="-ldnet_stub $LIBS"
23109 cat >conftest.$ac_ext <<_ACEOF
23110 /* confdefs.h. */
23111 _ACEOF
23112 cat confdefs.h >>conftest.$ac_ext
23113 cat >>conftest.$ac_ext <<_ACEOF
23114 /* end confdefs.h. */
23115
23116 /* Override any gcc2 internal prototype to avoid an error. */
23117 #ifdef __cplusplus
23118 extern "C"
23119 #endif
23120 /* We use char because int might match the return type of a gcc2
23121 builtin and then its argument prototype would still apply. */
23122 char dnet_ntoa ();
23123 int
23124 main ()
23125 {
23126 dnet_ntoa ();
23127 ;
23128 return 0;
23129 }
23130 _ACEOF
23131 rm -f conftest.$ac_objext conftest$ac_exeext
23132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23133 (eval $ac_link) 2>conftest.er1
23134 ac_status=$?
23135 grep -v '^ *+' conftest.er1 >conftest.err
23136 rm -f conftest.er1
23137 cat conftest.err >&5
23138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23139 (exit $ac_status); } &&
23140 { ac_try='test -z "$ac_c_werror_flag"
23141 || test ! -s conftest.err'
23142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23143 (eval $ac_try) 2>&5
23144 ac_status=$?
23145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23146 (exit $ac_status); }; } &&
23147 { ac_try='test -s conftest$ac_exeext'
23148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23149 (eval $ac_try) 2>&5
23150 ac_status=$?
23151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23152 (exit $ac_status); }; }; then
23153 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23154 else
23155 echo "$as_me: failed program was:" >&5
23156 sed 's/^/| /' conftest.$ac_ext >&5
23157
23158 ac_cv_lib_dnet_stub_dnet_ntoa=no
23159 fi
23160 rm -f conftest.err conftest.$ac_objext \
23161 conftest$ac_exeext conftest.$ac_ext
23162 LIBS=$ac_check_lib_save_LIBS
23163 fi
23164 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23165 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23166 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23167 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23168 fi
23169
23170 fi
23171 fi
23172 rm -f conftest.err conftest.$ac_objext \
23173 conftest$ac_exeext conftest.$ac_ext
23174 LIBS="$ac_xsave_LIBS"
23175
23176 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23177 # to get the SysV transport functions.
23178 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23179 # needs -lnsl.
23180 # The nsl library prevents programs from opening the X display
23181 # on Irix 5.2, according to T.E. Dickey.
23182 # The functions gethostbyname, getservbyname, and inet_addr are
23183 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23184 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23185 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23186 if test "${ac_cv_func_gethostbyname+set}" = set; then
23187 echo $ECHO_N "(cached) $ECHO_C" >&6
23188 else
23189 cat >conftest.$ac_ext <<_ACEOF
23190 /* confdefs.h. */
23191 _ACEOF
23192 cat confdefs.h >>conftest.$ac_ext
23193 cat >>conftest.$ac_ext <<_ACEOF
23194 /* end confdefs.h. */
23195 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
23196 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23197 #define gethostbyname innocuous_gethostbyname
23198
23199 /* System header to define __stub macros and hopefully few prototypes,
23200 which can conflict with char gethostbyname (); below.
23201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23202 <limits.h> exists even on freestanding compilers. */
23203
23204 #ifdef __STDC__
23205 # include <limits.h>
23206 #else
23207 # include <assert.h>
23208 #endif
23209
23210 #undef gethostbyname
23211
23212 /* Override any gcc2 internal prototype to avoid an error. */
23213 #ifdef __cplusplus
23214 extern "C"
23215 {
23216 #endif
23217 /* We use char because int might match the return type of a gcc2
23218 builtin and then its argument prototype would still apply. */
23219 char gethostbyname ();
23220 /* The GNU C library defines this for functions which it implements
23221 to always fail with ENOSYS. Some functions are actually named
23222 something starting with __ and the normal name is an alias. */
23223 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23224 choke me
23225 #else
23226 char (*f) () = gethostbyname;
23227 #endif
23228 #ifdef __cplusplus
23229 }
23230 #endif
23231
23232 int
23233 main ()
23234 {
23235 return f != gethostbyname;
23236 ;
23237 return 0;
23238 }
23239 _ACEOF
23240 rm -f conftest.$ac_objext conftest$ac_exeext
23241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23242 (eval $ac_link) 2>conftest.er1
23243 ac_status=$?
23244 grep -v '^ *+' conftest.er1 >conftest.err
23245 rm -f conftest.er1
23246 cat conftest.err >&5
23247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23248 (exit $ac_status); } &&
23249 { ac_try='test -z "$ac_c_werror_flag"
23250 || test ! -s conftest.err'
23251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23252 (eval $ac_try) 2>&5
23253 ac_status=$?
23254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23255 (exit $ac_status); }; } &&
23256 { ac_try='test -s conftest$ac_exeext'
23257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23258 (eval $ac_try) 2>&5
23259 ac_status=$?
23260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23261 (exit $ac_status); }; }; then
23262 ac_cv_func_gethostbyname=yes
23263 else
23264 echo "$as_me: failed program was:" >&5
23265 sed 's/^/| /' conftest.$ac_ext >&5
23266
23267 ac_cv_func_gethostbyname=no
23268 fi
23269 rm -f conftest.err conftest.$ac_objext \
23270 conftest$ac_exeext conftest.$ac_ext
23271 fi
23272 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23273 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23274
23275 if test $ac_cv_func_gethostbyname = no; then
23276 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23277 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23278 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23279 echo $ECHO_N "(cached) $ECHO_C" >&6
23280 else
23281 ac_check_lib_save_LIBS=$LIBS
23282 LIBS="-lnsl $LIBS"
23283 cat >conftest.$ac_ext <<_ACEOF
23284 /* confdefs.h. */
23285 _ACEOF
23286 cat confdefs.h >>conftest.$ac_ext
23287 cat >>conftest.$ac_ext <<_ACEOF
23288 /* end confdefs.h. */
23289
23290 /* Override any gcc2 internal prototype to avoid an error. */
23291 #ifdef __cplusplus
23292 extern "C"
23293 #endif
23294 /* We use char because int might match the return type of a gcc2
23295 builtin and then its argument prototype would still apply. */
23296 char gethostbyname ();
23297 int
23298 main ()
23299 {
23300 gethostbyname ();
23301 ;
23302 return 0;
23303 }
23304 _ACEOF
23305 rm -f conftest.$ac_objext conftest$ac_exeext
23306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23307 (eval $ac_link) 2>conftest.er1
23308 ac_status=$?
23309 grep -v '^ *+' conftest.er1 >conftest.err
23310 rm -f conftest.er1
23311 cat conftest.err >&5
23312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23313 (exit $ac_status); } &&
23314 { ac_try='test -z "$ac_c_werror_flag"
23315 || test ! -s conftest.err'
23316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23317 (eval $ac_try) 2>&5
23318 ac_status=$?
23319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23320 (exit $ac_status); }; } &&
23321 { ac_try='test -s conftest$ac_exeext'
23322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23323 (eval $ac_try) 2>&5
23324 ac_status=$?
23325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23326 (exit $ac_status); }; }; then
23327 ac_cv_lib_nsl_gethostbyname=yes
23328 else
23329 echo "$as_me: failed program was:" >&5
23330 sed 's/^/| /' conftest.$ac_ext >&5
23331
23332 ac_cv_lib_nsl_gethostbyname=no
23333 fi
23334 rm -f conftest.err conftest.$ac_objext \
23335 conftest$ac_exeext conftest.$ac_ext
23336 LIBS=$ac_check_lib_save_LIBS
23337 fi
23338 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23339 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23340 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23341 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23342 fi
23343
23344 if test $ac_cv_lib_nsl_gethostbyname = no; then
23345 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23346 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23347 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23348 echo $ECHO_N "(cached) $ECHO_C" >&6
23349 else
23350 ac_check_lib_save_LIBS=$LIBS
23351 LIBS="-lbsd $LIBS"
23352 cat >conftest.$ac_ext <<_ACEOF
23353 /* confdefs.h. */
23354 _ACEOF
23355 cat confdefs.h >>conftest.$ac_ext
23356 cat >>conftest.$ac_ext <<_ACEOF
23357 /* end confdefs.h. */
23358
23359 /* Override any gcc2 internal prototype to avoid an error. */
23360 #ifdef __cplusplus
23361 extern "C"
23362 #endif
23363 /* We use char because int might match the return type of a gcc2
23364 builtin and then its argument prototype would still apply. */
23365 char gethostbyname ();
23366 int
23367 main ()
23368 {
23369 gethostbyname ();
23370 ;
23371 return 0;
23372 }
23373 _ACEOF
23374 rm -f conftest.$ac_objext conftest$ac_exeext
23375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23376 (eval $ac_link) 2>conftest.er1
23377 ac_status=$?
23378 grep -v '^ *+' conftest.er1 >conftest.err
23379 rm -f conftest.er1
23380 cat conftest.err >&5
23381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23382 (exit $ac_status); } &&
23383 { ac_try='test -z "$ac_c_werror_flag"
23384 || test ! -s conftest.err'
23385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23386 (eval $ac_try) 2>&5
23387 ac_status=$?
23388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23389 (exit $ac_status); }; } &&
23390 { ac_try='test -s conftest$ac_exeext'
23391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23392 (eval $ac_try) 2>&5
23393 ac_status=$?
23394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23395 (exit $ac_status); }; }; then
23396 ac_cv_lib_bsd_gethostbyname=yes
23397 else
23398 echo "$as_me: failed program was:" >&5
23399 sed 's/^/| /' conftest.$ac_ext >&5
23400
23401 ac_cv_lib_bsd_gethostbyname=no
23402 fi
23403 rm -f conftest.err conftest.$ac_objext \
23404 conftest$ac_exeext conftest.$ac_ext
23405 LIBS=$ac_check_lib_save_LIBS
23406 fi
23407 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23408 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23409 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23410 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23411 fi
23412
23413 fi
23414 fi
23415
23416 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23417 # socket/setsockopt and other routines are undefined under SCO ODT
23418 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23419 # on later versions), says Simon Leinen: it contains gethostby*
23420 # variants that don't use the name server (or something). -lsocket
23421 # must be given before -lnsl if both are needed. We assume that
23422 # if connect needs -lnsl, so does gethostbyname.
23423 echo "$as_me:$LINENO: checking for connect" >&5
23424 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23425 if test "${ac_cv_func_connect+set}" = set; then
23426 echo $ECHO_N "(cached) $ECHO_C" >&6
23427 else
23428 cat >conftest.$ac_ext <<_ACEOF
23429 /* confdefs.h. */
23430 _ACEOF
23431 cat confdefs.h >>conftest.$ac_ext
23432 cat >>conftest.$ac_ext <<_ACEOF
23433 /* end confdefs.h. */
23434 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
23435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23436 #define connect innocuous_connect
23437
23438 /* System header to define __stub macros and hopefully few prototypes,
23439 which can conflict with char connect (); below.
23440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23441 <limits.h> exists even on freestanding compilers. */
23442
23443 #ifdef __STDC__
23444 # include <limits.h>
23445 #else
23446 # include <assert.h>
23447 #endif
23448
23449 #undef connect
23450
23451 /* Override any gcc2 internal prototype to avoid an error. */
23452 #ifdef __cplusplus
23453 extern "C"
23454 {
23455 #endif
23456 /* We use char because int might match the return type of a gcc2
23457 builtin and then its argument prototype would still apply. */
23458 char connect ();
23459 /* The GNU C library defines this for functions which it implements
23460 to always fail with ENOSYS. Some functions are actually named
23461 something starting with __ and the normal name is an alias. */
23462 #if defined (__stub_connect) || defined (__stub___connect)
23463 choke me
23464 #else
23465 char (*f) () = connect;
23466 #endif
23467 #ifdef __cplusplus
23468 }
23469 #endif
23470
23471 int
23472 main ()
23473 {
23474 return f != connect;
23475 ;
23476 return 0;
23477 }
23478 _ACEOF
23479 rm -f conftest.$ac_objext conftest$ac_exeext
23480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23481 (eval $ac_link) 2>conftest.er1
23482 ac_status=$?
23483 grep -v '^ *+' conftest.er1 >conftest.err
23484 rm -f conftest.er1
23485 cat conftest.err >&5
23486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23487 (exit $ac_status); } &&
23488 { ac_try='test -z "$ac_c_werror_flag"
23489 || test ! -s conftest.err'
23490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23491 (eval $ac_try) 2>&5
23492 ac_status=$?
23493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23494 (exit $ac_status); }; } &&
23495 { ac_try='test -s conftest$ac_exeext'
23496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23497 (eval $ac_try) 2>&5
23498 ac_status=$?
23499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23500 (exit $ac_status); }; }; then
23501 ac_cv_func_connect=yes
23502 else
23503 echo "$as_me: failed program was:" >&5
23504 sed 's/^/| /' conftest.$ac_ext >&5
23505
23506 ac_cv_func_connect=no
23507 fi
23508 rm -f conftest.err conftest.$ac_objext \
23509 conftest$ac_exeext conftest.$ac_ext
23510 fi
23511 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23512 echo "${ECHO_T}$ac_cv_func_connect" >&6
23513
23514 if test $ac_cv_func_connect = no; then
23515 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23516 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23517 if test "${ac_cv_lib_socket_connect+set}" = set; then
23518 echo $ECHO_N "(cached) $ECHO_C" >&6
23519 else
23520 ac_check_lib_save_LIBS=$LIBS
23521 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23522 cat >conftest.$ac_ext <<_ACEOF
23523 /* confdefs.h. */
23524 _ACEOF
23525 cat confdefs.h >>conftest.$ac_ext
23526 cat >>conftest.$ac_ext <<_ACEOF
23527 /* end confdefs.h. */
23528
23529 /* Override any gcc2 internal prototype to avoid an error. */
23530 #ifdef __cplusplus
23531 extern "C"
23532 #endif
23533 /* We use char because int might match the return type of a gcc2
23534 builtin and then its argument prototype would still apply. */
23535 char connect ();
23536 int
23537 main ()
23538 {
23539 connect ();
23540 ;
23541 return 0;
23542 }
23543 _ACEOF
23544 rm -f conftest.$ac_objext conftest$ac_exeext
23545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23546 (eval $ac_link) 2>conftest.er1
23547 ac_status=$?
23548 grep -v '^ *+' conftest.er1 >conftest.err
23549 rm -f conftest.er1
23550 cat conftest.err >&5
23551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23552 (exit $ac_status); } &&
23553 { ac_try='test -z "$ac_c_werror_flag"
23554 || test ! -s conftest.err'
23555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23556 (eval $ac_try) 2>&5
23557 ac_status=$?
23558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23559 (exit $ac_status); }; } &&
23560 { ac_try='test -s conftest$ac_exeext'
23561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23562 (eval $ac_try) 2>&5
23563 ac_status=$?
23564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23565 (exit $ac_status); }; }; then
23566 ac_cv_lib_socket_connect=yes
23567 else
23568 echo "$as_me: failed program was:" >&5
23569 sed 's/^/| /' conftest.$ac_ext >&5
23570
23571 ac_cv_lib_socket_connect=no
23572 fi
23573 rm -f conftest.err conftest.$ac_objext \
23574 conftest$ac_exeext conftest.$ac_ext
23575 LIBS=$ac_check_lib_save_LIBS
23576 fi
23577 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23578 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23579 if test $ac_cv_lib_socket_connect = yes; then
23580 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23581 fi
23582
23583 fi
23584
23585 # Guillermo Gomez says -lposix is necessary on A/UX.
23586 echo "$as_me:$LINENO: checking for remove" >&5
23587 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23588 if test "${ac_cv_func_remove+set}" = set; then
23589 echo $ECHO_N "(cached) $ECHO_C" >&6
23590 else
23591 cat >conftest.$ac_ext <<_ACEOF
23592 /* confdefs.h. */
23593 _ACEOF
23594 cat confdefs.h >>conftest.$ac_ext
23595 cat >>conftest.$ac_ext <<_ACEOF
23596 /* end confdefs.h. */
23597 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
23598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23599 #define remove innocuous_remove
23600
23601 /* System header to define __stub macros and hopefully few prototypes,
23602 which can conflict with char remove (); below.
23603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23604 <limits.h> exists even on freestanding compilers. */
23605
23606 #ifdef __STDC__
23607 # include <limits.h>
23608 #else
23609 # include <assert.h>
23610 #endif
23611
23612 #undef remove
23613
23614 /* Override any gcc2 internal prototype to avoid an error. */
23615 #ifdef __cplusplus
23616 extern "C"
23617 {
23618 #endif
23619 /* We use char because int might match the return type of a gcc2
23620 builtin and then its argument prototype would still apply. */
23621 char remove ();
23622 /* The GNU C library defines this for functions which it implements
23623 to always fail with ENOSYS. Some functions are actually named
23624 something starting with __ and the normal name is an alias. */
23625 #if defined (__stub_remove) || defined (__stub___remove)
23626 choke me
23627 #else
23628 char (*f) () = remove;
23629 #endif
23630 #ifdef __cplusplus
23631 }
23632 #endif
23633
23634 int
23635 main ()
23636 {
23637 return f != remove;
23638 ;
23639 return 0;
23640 }
23641 _ACEOF
23642 rm -f conftest.$ac_objext conftest$ac_exeext
23643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23644 (eval $ac_link) 2>conftest.er1
23645 ac_status=$?
23646 grep -v '^ *+' conftest.er1 >conftest.err
23647 rm -f conftest.er1
23648 cat conftest.err >&5
23649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23650 (exit $ac_status); } &&
23651 { ac_try='test -z "$ac_c_werror_flag"
23652 || test ! -s conftest.err'
23653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23654 (eval $ac_try) 2>&5
23655 ac_status=$?
23656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23657 (exit $ac_status); }; } &&
23658 { ac_try='test -s conftest$ac_exeext'
23659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23660 (eval $ac_try) 2>&5
23661 ac_status=$?
23662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23663 (exit $ac_status); }; }; then
23664 ac_cv_func_remove=yes
23665 else
23666 echo "$as_me: failed program was:" >&5
23667 sed 's/^/| /' conftest.$ac_ext >&5
23668
23669 ac_cv_func_remove=no
23670 fi
23671 rm -f conftest.err conftest.$ac_objext \
23672 conftest$ac_exeext conftest.$ac_ext
23673 fi
23674 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23675 echo "${ECHO_T}$ac_cv_func_remove" >&6
23676
23677 if test $ac_cv_func_remove = no; then
23678 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23679 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23680 if test "${ac_cv_lib_posix_remove+set}" = set; then
23681 echo $ECHO_N "(cached) $ECHO_C" >&6
23682 else
23683 ac_check_lib_save_LIBS=$LIBS
23684 LIBS="-lposix $LIBS"
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
23692 /* Override any gcc2 internal prototype to avoid an error. */
23693 #ifdef __cplusplus
23694 extern "C"
23695 #endif
23696 /* We use char because int might match the return type of a gcc2
23697 builtin and then its argument prototype would still apply. */
23698 char remove ();
23699 int
23700 main ()
23701 {
23702 remove ();
23703 ;
23704 return 0;
23705 }
23706 _ACEOF
23707 rm -f conftest.$ac_objext conftest$ac_exeext
23708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23709 (eval $ac_link) 2>conftest.er1
23710 ac_status=$?
23711 grep -v '^ *+' conftest.er1 >conftest.err
23712 rm -f conftest.er1
23713 cat conftest.err >&5
23714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23715 (exit $ac_status); } &&
23716 { ac_try='test -z "$ac_c_werror_flag"
23717 || test ! -s conftest.err'
23718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23719 (eval $ac_try) 2>&5
23720 ac_status=$?
23721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23722 (exit $ac_status); }; } &&
23723 { ac_try='test -s conftest$ac_exeext'
23724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23725 (eval $ac_try) 2>&5
23726 ac_status=$?
23727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23728 (exit $ac_status); }; }; then
23729 ac_cv_lib_posix_remove=yes
23730 else
23731 echo "$as_me: failed program was:" >&5
23732 sed 's/^/| /' conftest.$ac_ext >&5
23733
23734 ac_cv_lib_posix_remove=no
23735 fi
23736 rm -f conftest.err conftest.$ac_objext \
23737 conftest$ac_exeext conftest.$ac_ext
23738 LIBS=$ac_check_lib_save_LIBS
23739 fi
23740 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23741 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23742 if test $ac_cv_lib_posix_remove = yes; then
23743 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23744 fi
23745
23746 fi
23747
23748 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23749 echo "$as_me:$LINENO: checking for shmat" >&5
23750 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23751 if test "${ac_cv_func_shmat+set}" = set; then
23752 echo $ECHO_N "(cached) $ECHO_C" >&6
23753 else
23754 cat >conftest.$ac_ext <<_ACEOF
23755 /* confdefs.h. */
23756 _ACEOF
23757 cat confdefs.h >>conftest.$ac_ext
23758 cat >>conftest.$ac_ext <<_ACEOF
23759 /* end confdefs.h. */
23760 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
23761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23762 #define shmat innocuous_shmat
23763
23764 /* System header to define __stub macros and hopefully few prototypes,
23765 which can conflict with char shmat (); below.
23766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23767 <limits.h> exists even on freestanding compilers. */
23768
23769 #ifdef __STDC__
23770 # include <limits.h>
23771 #else
23772 # include <assert.h>
23773 #endif
23774
23775 #undef shmat
23776
23777 /* Override any gcc2 internal prototype to avoid an error. */
23778 #ifdef __cplusplus
23779 extern "C"
23780 {
23781 #endif
23782 /* We use char because int might match the return type of a gcc2
23783 builtin and then its argument prototype would still apply. */
23784 char shmat ();
23785 /* The GNU C library defines this for functions which it implements
23786 to always fail with ENOSYS. Some functions are actually named
23787 something starting with __ and the normal name is an alias. */
23788 #if defined (__stub_shmat) || defined (__stub___shmat)
23789 choke me
23790 #else
23791 char (*f) () = shmat;
23792 #endif
23793 #ifdef __cplusplus
23794 }
23795 #endif
23796
23797 int
23798 main ()
23799 {
23800 return f != shmat;
23801 ;
23802 return 0;
23803 }
23804 _ACEOF
23805 rm -f conftest.$ac_objext conftest$ac_exeext
23806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23807 (eval $ac_link) 2>conftest.er1
23808 ac_status=$?
23809 grep -v '^ *+' conftest.er1 >conftest.err
23810 rm -f conftest.er1
23811 cat conftest.err >&5
23812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23813 (exit $ac_status); } &&
23814 { ac_try='test -z "$ac_c_werror_flag"
23815 || test ! -s conftest.err'
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); }; } &&
23821 { ac_try='test -s conftest$ac_exeext'
23822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23823 (eval $ac_try) 2>&5
23824 ac_status=$?
23825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23826 (exit $ac_status); }; }; then
23827 ac_cv_func_shmat=yes
23828 else
23829 echo "$as_me: failed program was:" >&5
23830 sed 's/^/| /' conftest.$ac_ext >&5
23831
23832 ac_cv_func_shmat=no
23833 fi
23834 rm -f conftest.err conftest.$ac_objext \
23835 conftest$ac_exeext conftest.$ac_ext
23836 fi
23837 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23838 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23839
23840 if test $ac_cv_func_shmat = no; then
23841 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23842 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23843 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23844 echo $ECHO_N "(cached) $ECHO_C" >&6
23845 else
23846 ac_check_lib_save_LIBS=$LIBS
23847 LIBS="-lipc $LIBS"
23848 cat >conftest.$ac_ext <<_ACEOF
23849 /* confdefs.h. */
23850 _ACEOF
23851 cat confdefs.h >>conftest.$ac_ext
23852 cat >>conftest.$ac_ext <<_ACEOF
23853 /* end confdefs.h. */
23854
23855 /* Override any gcc2 internal prototype to avoid an error. */
23856 #ifdef __cplusplus
23857 extern "C"
23858 #endif
23859 /* We use char because int might match the return type of a gcc2
23860 builtin and then its argument prototype would still apply. */
23861 char shmat ();
23862 int
23863 main ()
23864 {
23865 shmat ();
23866 ;
23867 return 0;
23868 }
23869 _ACEOF
23870 rm -f conftest.$ac_objext conftest$ac_exeext
23871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23872 (eval $ac_link) 2>conftest.er1
23873 ac_status=$?
23874 grep -v '^ *+' conftest.er1 >conftest.err
23875 rm -f conftest.er1
23876 cat conftest.err >&5
23877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23878 (exit $ac_status); } &&
23879 { ac_try='test -z "$ac_c_werror_flag"
23880 || test ! -s conftest.err'
23881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23882 (eval $ac_try) 2>&5
23883 ac_status=$?
23884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23885 (exit $ac_status); }; } &&
23886 { ac_try='test -s conftest$ac_exeext'
23887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23888 (eval $ac_try) 2>&5
23889 ac_status=$?
23890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23891 (exit $ac_status); }; }; then
23892 ac_cv_lib_ipc_shmat=yes
23893 else
23894 echo "$as_me: failed program was:" >&5
23895 sed 's/^/| /' conftest.$ac_ext >&5
23896
23897 ac_cv_lib_ipc_shmat=no
23898 fi
23899 rm -f conftest.err conftest.$ac_objext \
23900 conftest$ac_exeext conftest.$ac_ext
23901 LIBS=$ac_check_lib_save_LIBS
23902 fi
23903 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23904 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23905 if test $ac_cv_lib_ipc_shmat = yes; then
23906 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23907 fi
23908
23909 fi
23910 fi
23911
23912 # Check for libraries that X11R6 Xt/Xaw programs need.
23913 ac_save_LDFLAGS=$LDFLAGS
23914 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23915 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23916 # check for ICE first), but we must link in the order -lSM -lICE or
23917 # we get undefined symbols. So assume we have SM if we have ICE.
23918 # These have to be linked with before -lX11, unlike the other
23919 # libraries we check for below, so use a different variable.
23920 # John Interrante, Karl Berry
23921 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23922 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23923 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23924 echo $ECHO_N "(cached) $ECHO_C" >&6
23925 else
23926 ac_check_lib_save_LIBS=$LIBS
23927 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23928 cat >conftest.$ac_ext <<_ACEOF
23929 /* confdefs.h. */
23930 _ACEOF
23931 cat confdefs.h >>conftest.$ac_ext
23932 cat >>conftest.$ac_ext <<_ACEOF
23933 /* end confdefs.h. */
23934
23935 /* Override any gcc2 internal prototype to avoid an error. */
23936 #ifdef __cplusplus
23937 extern "C"
23938 #endif
23939 /* We use char because int might match the return type of a gcc2
23940 builtin and then its argument prototype would still apply. */
23941 char IceConnectionNumber ();
23942 int
23943 main ()
23944 {
23945 IceConnectionNumber ();
23946 ;
23947 return 0;
23948 }
23949 _ACEOF
23950 rm -f conftest.$ac_objext conftest$ac_exeext
23951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23952 (eval $ac_link) 2>conftest.er1
23953 ac_status=$?
23954 grep -v '^ *+' conftest.er1 >conftest.err
23955 rm -f conftest.er1
23956 cat conftest.err >&5
23957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23958 (exit $ac_status); } &&
23959 { ac_try='test -z "$ac_c_werror_flag"
23960 || test ! -s conftest.err'
23961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23962 (eval $ac_try) 2>&5
23963 ac_status=$?
23964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23965 (exit $ac_status); }; } &&
23966 { ac_try='test -s conftest$ac_exeext'
23967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23968 (eval $ac_try) 2>&5
23969 ac_status=$?
23970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23971 (exit $ac_status); }; }; then
23972 ac_cv_lib_ICE_IceConnectionNumber=yes
23973 else
23974 echo "$as_me: failed program was:" >&5
23975 sed 's/^/| /' conftest.$ac_ext >&5
23976
23977 ac_cv_lib_ICE_IceConnectionNumber=no
23978 fi
23979 rm -f conftest.err conftest.$ac_objext \
23980 conftest$ac_exeext conftest.$ac_ext
23981 LIBS=$ac_check_lib_save_LIBS
23982 fi
23983 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23984 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23985 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23986 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23987 fi
23988
23989 LDFLAGS=$ac_save_LDFLAGS
23990
23991 fi
23992
23993
23994 if test "$no_x" = "yes"; then
23995 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23996 echo "$as_me: error: X11 not found" >&2;}
23997 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
23998 fi
23999
24000 GUI_TK_LIBRARY="$X_LIBS"
24001 TOOLKIT_INCLUDE="$X_CFLAGS"
24002 AFMINSTALL=afminstall
24003 COMPILED_X_PROGRAM=0
24004
24005 if test "$wxUSE_NANOX" = "yes"; then
24006 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
24007 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
24008 if test "x$MICROWIN" = x ; then
24009 echo "$as_me:$LINENO: result: not found" >&5
24010 echo "${ECHO_T}not found" >&6
24011 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
24012 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
24013 { (exit 1); exit 1; }; }
24014 else
24015 echo "$as_me:$LINENO: result: $MICROWIN" >&5
24016 echo "${ECHO_T}$MICROWIN" >&6
24017 cat >>confdefs.h <<\_ACEOF
24018 #define wxUSE_NANOX 1
24019 _ACEOF
24020
24021 fi
24022 fi
24023
24024 if test "$wxUSE_UNICODE" = "yes"; then
24025
24026 succeeded=no
24027
24028 if test -z "$PKG_CONFIG"; then
24029 # Extract the first word of "pkg-config", so it can be a program name with args.
24030 set dummy pkg-config; ac_word=$2
24031 echo "$as_me:$LINENO: checking for $ac_word" >&5
24032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24033 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24034 echo $ECHO_N "(cached) $ECHO_C" >&6
24035 else
24036 case $PKG_CONFIG in
24037 [\\/]* | ?:[\\/]*)
24038 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24039 ;;
24040 *)
24041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24042 for as_dir in $PATH
24043 do
24044 IFS=$as_save_IFS
24045 test -z "$as_dir" && as_dir=.
24046 for ac_exec_ext in '' $ac_executable_extensions; do
24047 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24048 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24050 break 2
24051 fi
24052 done
24053 done
24054
24055 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24056 ;;
24057 esac
24058 fi
24059 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24060
24061 if test -n "$PKG_CONFIG"; then
24062 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24063 echo "${ECHO_T}$PKG_CONFIG" >&6
24064 else
24065 echo "$as_me:$LINENO: result: no" >&5
24066 echo "${ECHO_T}no" >&6
24067 fi
24068
24069 fi
24070
24071 if test "$PKG_CONFIG" = "no" ; then
24072 echo "*** The pkg-config script could not be found. Make sure it is"
24073 echo "*** in your path, or set the PKG_CONFIG environment variable"
24074 echo "*** to the full path to pkg-config."
24075 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24076 else
24077 PKG_CONFIG_MIN_VERSION=0.9.0
24078 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24079 echo "$as_me:$LINENO: checking for pangox" >&5
24080 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
24081
24082 if $PKG_CONFIG --exists "pangox" ; then
24083 echo "$as_me:$LINENO: result: yes" >&5
24084 echo "${ECHO_T}yes" >&6
24085 succeeded=yes
24086
24087 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
24088 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
24089 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
24090 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
24091 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
24092
24093 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
24094 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
24095 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
24096 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
24097 echo "${ECHO_T}$PANGOX_LIBS" >&6
24098 else
24099 PANGOX_CFLAGS=""
24100 PANGOX_LIBS=""
24101 ## If we have a custom action on failure, don't print errors, but
24102 ## do set a variable so people can do so.
24103 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
24104
24105 fi
24106
24107
24108
24109 else
24110 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24111 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24112 fi
24113 fi
24114
24115 if test $succeeded = yes; then
24116
24117 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
24118 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
24119
24120 else
24121
24122 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
24123 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
24124 { (exit 1); exit 1; }; }
24125
24126
24127 fi
24128
24129
24130 succeeded=no
24131
24132 if test -z "$PKG_CONFIG"; then
24133 # Extract the first word of "pkg-config", so it can be a program name with args.
24134 set dummy pkg-config; ac_word=$2
24135 echo "$as_me:$LINENO: checking for $ac_word" >&5
24136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24137 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24138 echo $ECHO_N "(cached) $ECHO_C" >&6
24139 else
24140 case $PKG_CONFIG in
24141 [\\/]* | ?:[\\/]*)
24142 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24143 ;;
24144 *)
24145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24146 for as_dir in $PATH
24147 do
24148 IFS=$as_save_IFS
24149 test -z "$as_dir" && as_dir=.
24150 for ac_exec_ext in '' $ac_executable_extensions; do
24151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24152 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24154 break 2
24155 fi
24156 done
24157 done
24158
24159 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24160 ;;
24161 esac
24162 fi
24163 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24164
24165 if test -n "$PKG_CONFIG"; then
24166 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24167 echo "${ECHO_T}$PKG_CONFIG" >&6
24168 else
24169 echo "$as_me:$LINENO: result: no" >&5
24170 echo "${ECHO_T}no" >&6
24171 fi
24172
24173 fi
24174
24175 if test "$PKG_CONFIG" = "no" ; then
24176 echo "*** The pkg-config script could not be found. Make sure it is"
24177 echo "*** in your path, or set the PKG_CONFIG environment variable"
24178 echo "*** to the full path to pkg-config."
24179 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24180 else
24181 PKG_CONFIG_MIN_VERSION=0.9.0
24182 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24183 echo "$as_me:$LINENO: checking for pangoft2" >&5
24184 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
24185
24186 if $PKG_CONFIG --exists "pangoft2" ; then
24187 echo "$as_me:$LINENO: result: yes" >&5
24188 echo "${ECHO_T}yes" >&6
24189 succeeded=yes
24190
24191 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
24192 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
24193 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
24194 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
24195 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
24196
24197 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
24198 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
24199 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
24200 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
24201 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
24202 else
24203 PANGOFT2_CFLAGS=""
24204 PANGOFT2_LIBS=""
24205 ## If we have a custom action on failure, don't print errors, but
24206 ## do set a variable so people can do so.
24207 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
24208
24209 fi
24210
24211
24212
24213 else
24214 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24215 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24216 fi
24217 fi
24218
24219 if test $succeeded = yes; then
24220
24221 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
24222 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
24223
24224 else
24225
24226 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
24227 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
24228 wxUSE_PRINTING_ARCHITECTURE="no"
24229
24230
24231 fi
24232
24233
24234 succeeded=no
24235
24236 if test -z "$PKG_CONFIG"; then
24237 # Extract the first word of "pkg-config", so it can be a program name with args.
24238 set dummy pkg-config; ac_word=$2
24239 echo "$as_me:$LINENO: checking for $ac_word" >&5
24240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24241 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24242 echo $ECHO_N "(cached) $ECHO_C" >&6
24243 else
24244 case $PKG_CONFIG in
24245 [\\/]* | ?:[\\/]*)
24246 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24247 ;;
24248 *)
24249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24250 for as_dir in $PATH
24251 do
24252 IFS=$as_save_IFS
24253 test -z "$as_dir" && as_dir=.
24254 for ac_exec_ext in '' $ac_executable_extensions; do
24255 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24256 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24258 break 2
24259 fi
24260 done
24261 done
24262
24263 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24264 ;;
24265 esac
24266 fi
24267 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24268
24269 if test -n "$PKG_CONFIG"; then
24270 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24271 echo "${ECHO_T}$PKG_CONFIG" >&6
24272 else
24273 echo "$as_me:$LINENO: result: no" >&5
24274 echo "${ECHO_T}no" >&6
24275 fi
24276
24277 fi
24278
24279 if test "$PKG_CONFIG" = "no" ; then
24280 echo "*** The pkg-config script could not be found. Make sure it is"
24281 echo "*** in your path, or set the PKG_CONFIG environment variable"
24282 echo "*** to the full path to pkg-config."
24283 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24284 else
24285 PKG_CONFIG_MIN_VERSION=0.9.0
24286 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24287 echo "$as_me:$LINENO: checking for pangoxft" >&5
24288 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
24289
24290 if $PKG_CONFIG --exists "pangoxft" ; then
24291 echo "$as_me:$LINENO: result: yes" >&5
24292 echo "${ECHO_T}yes" >&6
24293 succeeded=yes
24294
24295 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
24296 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
24297 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
24298 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
24299 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
24300
24301 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
24302 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
24303 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
24304 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
24305 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
24306 else
24307 PANGOXFT_CFLAGS=""
24308 PANGOXFT_LIBS=""
24309 ## If we have a custom action on failure, don't print errors, but
24310 ## do set a variable so people can do so.
24311 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
24312
24313 fi
24314
24315
24316
24317 else
24318 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24319 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24320 fi
24321 fi
24322
24323 if test $succeeded = yes; then
24324
24325 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
24326 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
24327
24328 else
24329
24330 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
24331 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
24332
24333
24334 fi
24335
24336 fi
24337
24338 wxUSE_UNIVERSAL="yes"
24339
24340 if test "$wxUSE_NANOX" = "yes"; then
24341 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
24342 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"
24343 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
24344 else
24345 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
24346 fi
24347
24348 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
24349 TOOLKIT=X11
24350 GUIDIST=X11_DIST
24351 fi
24352
24353 if test "$wxUSE_MOTIF" = 1; then
24354 if test "$no_x" = yes; then
24355 # Not all programs may use this symbol, but it does not hurt to define it.
24356
24357 cat >>confdefs.h <<\_ACEOF
24358 #define X_DISPLAY_MISSING 1
24359 _ACEOF
24360
24361 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24362 else
24363 if test -n "$x_includes"; then
24364 X_CFLAGS="$X_CFLAGS -I$x_includes"
24365 fi
24366
24367 # It would also be nice to do this for all -L options, not just this one.
24368 if test -n "$x_libraries"; then
24369 X_LIBS="$X_LIBS -L$x_libraries"
24370 # For Solaris; some versions of Sun CC require a space after -R and
24371 # others require no space. Words are not sufficient . . . .
24372 case `(uname -sr) 2>/dev/null` in
24373 "SunOS 5"*)
24374 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24375 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24376 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24377 cat >conftest.$ac_ext <<_ACEOF
24378 /* confdefs.h. */
24379 _ACEOF
24380 cat confdefs.h >>conftest.$ac_ext
24381 cat >>conftest.$ac_ext <<_ACEOF
24382 /* end confdefs.h. */
24383
24384 int
24385 main ()
24386 {
24387
24388 ;
24389 return 0;
24390 }
24391 _ACEOF
24392 rm -f conftest.$ac_objext conftest$ac_exeext
24393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24394 (eval $ac_link) 2>conftest.er1
24395 ac_status=$?
24396 grep -v '^ *+' conftest.er1 >conftest.err
24397 rm -f conftest.er1
24398 cat conftest.err >&5
24399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24400 (exit $ac_status); } &&
24401 { ac_try='test -z "$ac_c_werror_flag"
24402 || test ! -s conftest.err'
24403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24404 (eval $ac_try) 2>&5
24405 ac_status=$?
24406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24407 (exit $ac_status); }; } &&
24408 { ac_try='test -s conftest$ac_exeext'
24409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24410 (eval $ac_try) 2>&5
24411 ac_status=$?
24412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24413 (exit $ac_status); }; }; then
24414 ac_R_nospace=yes
24415 else
24416 echo "$as_me: failed program was:" >&5
24417 sed 's/^/| /' conftest.$ac_ext >&5
24418
24419 ac_R_nospace=no
24420 fi
24421 rm -f conftest.err conftest.$ac_objext \
24422 conftest$ac_exeext conftest.$ac_ext
24423 if test $ac_R_nospace = yes; then
24424 echo "$as_me:$LINENO: result: no" >&5
24425 echo "${ECHO_T}no" >&6
24426 X_LIBS="$X_LIBS -R$x_libraries"
24427 else
24428 LIBS="$ac_xsave_LIBS -R $x_libraries"
24429 cat >conftest.$ac_ext <<_ACEOF
24430 /* confdefs.h. */
24431 _ACEOF
24432 cat confdefs.h >>conftest.$ac_ext
24433 cat >>conftest.$ac_ext <<_ACEOF
24434 /* end confdefs.h. */
24435
24436 int
24437 main ()
24438 {
24439
24440 ;
24441 return 0;
24442 }
24443 _ACEOF
24444 rm -f conftest.$ac_objext conftest$ac_exeext
24445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24446 (eval $ac_link) 2>conftest.er1
24447 ac_status=$?
24448 grep -v '^ *+' conftest.er1 >conftest.err
24449 rm -f conftest.er1
24450 cat conftest.err >&5
24451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24452 (exit $ac_status); } &&
24453 { ac_try='test -z "$ac_c_werror_flag"
24454 || test ! -s conftest.err'
24455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24456 (eval $ac_try) 2>&5
24457 ac_status=$?
24458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24459 (exit $ac_status); }; } &&
24460 { ac_try='test -s conftest$ac_exeext'
24461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24462 (eval $ac_try) 2>&5
24463 ac_status=$?
24464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24465 (exit $ac_status); }; }; then
24466 ac_R_space=yes
24467 else
24468 echo "$as_me: failed program was:" >&5
24469 sed 's/^/| /' conftest.$ac_ext >&5
24470
24471 ac_R_space=no
24472 fi
24473 rm -f conftest.err conftest.$ac_objext \
24474 conftest$ac_exeext conftest.$ac_ext
24475 if test $ac_R_space = yes; then
24476 echo "$as_me:$LINENO: result: yes" >&5
24477 echo "${ECHO_T}yes" >&6
24478 X_LIBS="$X_LIBS -R $x_libraries"
24479 else
24480 echo "$as_me:$LINENO: result: neither works" >&5
24481 echo "${ECHO_T}neither works" >&6
24482 fi
24483 fi
24484 LIBS=$ac_xsave_LIBS
24485 esac
24486 fi
24487
24488 # Check for system-dependent libraries X programs must link with.
24489 # Do this before checking for the system-independent R6 libraries
24490 # (-lICE), since we may need -lsocket or whatever for X linking.
24491
24492 if test "$ISC" = yes; then
24493 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24494 else
24495 # Martyn Johnson says this is needed for Ultrix, if the X
24496 # libraries were built with DECnet support. And Karl Berry says
24497 # the Alpha needs dnet_stub (dnet does not exist).
24498 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24499 cat >conftest.$ac_ext <<_ACEOF
24500 /* confdefs.h. */
24501 _ACEOF
24502 cat confdefs.h >>conftest.$ac_ext
24503 cat >>conftest.$ac_ext <<_ACEOF
24504 /* end confdefs.h. */
24505
24506 /* Override any gcc2 internal prototype to avoid an error. */
24507 #ifdef __cplusplus
24508 extern "C"
24509 #endif
24510 /* We use char because int might match the return type of a gcc2
24511 builtin and then its argument prototype would still apply. */
24512 char XOpenDisplay ();
24513 int
24514 main ()
24515 {
24516 XOpenDisplay ();
24517 ;
24518 return 0;
24519 }
24520 _ACEOF
24521 rm -f conftest.$ac_objext conftest$ac_exeext
24522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24523 (eval $ac_link) 2>conftest.er1
24524 ac_status=$?
24525 grep -v '^ *+' conftest.er1 >conftest.err
24526 rm -f conftest.er1
24527 cat conftest.err >&5
24528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24529 (exit $ac_status); } &&
24530 { ac_try='test -z "$ac_c_werror_flag"
24531 || test ! -s conftest.err'
24532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24533 (eval $ac_try) 2>&5
24534 ac_status=$?
24535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24536 (exit $ac_status); }; } &&
24537 { ac_try='test -s conftest$ac_exeext'
24538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24539 (eval $ac_try) 2>&5
24540 ac_status=$?
24541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24542 (exit $ac_status); }; }; then
24543 :
24544 else
24545 echo "$as_me: failed program was:" >&5
24546 sed 's/^/| /' conftest.$ac_ext >&5
24547
24548 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24549 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24550 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24551 echo $ECHO_N "(cached) $ECHO_C" >&6
24552 else
24553 ac_check_lib_save_LIBS=$LIBS
24554 LIBS="-ldnet $LIBS"
24555 cat >conftest.$ac_ext <<_ACEOF
24556 /* confdefs.h. */
24557 _ACEOF
24558 cat confdefs.h >>conftest.$ac_ext
24559 cat >>conftest.$ac_ext <<_ACEOF
24560 /* end confdefs.h. */
24561
24562 /* Override any gcc2 internal prototype to avoid an error. */
24563 #ifdef __cplusplus
24564 extern "C"
24565 #endif
24566 /* We use char because int might match the return type of a gcc2
24567 builtin and then its argument prototype would still apply. */
24568 char dnet_ntoa ();
24569 int
24570 main ()
24571 {
24572 dnet_ntoa ();
24573 ;
24574 return 0;
24575 }
24576 _ACEOF
24577 rm -f conftest.$ac_objext conftest$ac_exeext
24578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24579 (eval $ac_link) 2>conftest.er1
24580 ac_status=$?
24581 grep -v '^ *+' conftest.er1 >conftest.err
24582 rm -f conftest.er1
24583 cat conftest.err >&5
24584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24585 (exit $ac_status); } &&
24586 { ac_try='test -z "$ac_c_werror_flag"
24587 || test ! -s conftest.err'
24588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24589 (eval $ac_try) 2>&5
24590 ac_status=$?
24591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24592 (exit $ac_status); }; } &&
24593 { ac_try='test -s conftest$ac_exeext'
24594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24595 (eval $ac_try) 2>&5
24596 ac_status=$?
24597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24598 (exit $ac_status); }; }; then
24599 ac_cv_lib_dnet_dnet_ntoa=yes
24600 else
24601 echo "$as_me: failed program was:" >&5
24602 sed 's/^/| /' conftest.$ac_ext >&5
24603
24604 ac_cv_lib_dnet_dnet_ntoa=no
24605 fi
24606 rm -f conftest.err conftest.$ac_objext \
24607 conftest$ac_exeext conftest.$ac_ext
24608 LIBS=$ac_check_lib_save_LIBS
24609 fi
24610 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24611 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24612 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24613 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
24614 fi
24615
24616 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
24617 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24618 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24619 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24620 echo $ECHO_N "(cached) $ECHO_C" >&6
24621 else
24622 ac_check_lib_save_LIBS=$LIBS
24623 LIBS="-ldnet_stub $LIBS"
24624 cat >conftest.$ac_ext <<_ACEOF
24625 /* confdefs.h. */
24626 _ACEOF
24627 cat confdefs.h >>conftest.$ac_ext
24628 cat >>conftest.$ac_ext <<_ACEOF
24629 /* end confdefs.h. */
24630
24631 /* Override any gcc2 internal prototype to avoid an error. */
24632 #ifdef __cplusplus
24633 extern "C"
24634 #endif
24635 /* We use char because int might match the return type of a gcc2
24636 builtin and then its argument prototype would still apply. */
24637 char dnet_ntoa ();
24638 int
24639 main ()
24640 {
24641 dnet_ntoa ();
24642 ;
24643 return 0;
24644 }
24645 _ACEOF
24646 rm -f conftest.$ac_objext conftest$ac_exeext
24647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24648 (eval $ac_link) 2>conftest.er1
24649 ac_status=$?
24650 grep -v '^ *+' conftest.er1 >conftest.err
24651 rm -f conftest.er1
24652 cat conftest.err >&5
24653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24654 (exit $ac_status); } &&
24655 { ac_try='test -z "$ac_c_werror_flag"
24656 || test ! -s conftest.err'
24657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24658 (eval $ac_try) 2>&5
24659 ac_status=$?
24660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24661 (exit $ac_status); }; } &&
24662 { ac_try='test -s conftest$ac_exeext'
24663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24664 (eval $ac_try) 2>&5
24665 ac_status=$?
24666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24667 (exit $ac_status); }; }; then
24668 ac_cv_lib_dnet_stub_dnet_ntoa=yes
24669 else
24670 echo "$as_me: failed program was:" >&5
24671 sed 's/^/| /' conftest.$ac_ext >&5
24672
24673 ac_cv_lib_dnet_stub_dnet_ntoa=no
24674 fi
24675 rm -f conftest.err conftest.$ac_objext \
24676 conftest$ac_exeext conftest.$ac_ext
24677 LIBS=$ac_check_lib_save_LIBS
24678 fi
24679 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24680 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24681 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24682 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
24683 fi
24684
24685 fi
24686 fi
24687 rm -f conftest.err conftest.$ac_objext \
24688 conftest$ac_exeext conftest.$ac_ext
24689 LIBS="$ac_xsave_LIBS"
24690
24691 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24692 # to get the SysV transport functions.
24693 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24694 # needs -lnsl.
24695 # The nsl library prevents programs from opening the X display
24696 # on Irix 5.2, according to T.E. Dickey.
24697 # The functions gethostbyname, getservbyname, and inet_addr are
24698 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24699 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24700 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24701 if test "${ac_cv_func_gethostbyname+set}" = set; then
24702 echo $ECHO_N "(cached) $ECHO_C" >&6
24703 else
24704 cat >conftest.$ac_ext <<_ACEOF
24705 /* confdefs.h. */
24706 _ACEOF
24707 cat confdefs.h >>conftest.$ac_ext
24708 cat >>conftest.$ac_ext <<_ACEOF
24709 /* end confdefs.h. */
24710 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24712 #define gethostbyname innocuous_gethostbyname
24713
24714 /* System header to define __stub macros and hopefully few prototypes,
24715 which can conflict with char gethostbyname (); below.
24716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24717 <limits.h> exists even on freestanding compilers. */
24718
24719 #ifdef __STDC__
24720 # include <limits.h>
24721 #else
24722 # include <assert.h>
24723 #endif
24724
24725 #undef gethostbyname
24726
24727 /* Override any gcc2 internal prototype to avoid an error. */
24728 #ifdef __cplusplus
24729 extern "C"
24730 {
24731 #endif
24732 /* We use char because int might match the return type of a gcc2
24733 builtin and then its argument prototype would still apply. */
24734 char gethostbyname ();
24735 /* The GNU C library defines this for functions which it implements
24736 to always fail with ENOSYS. Some functions are actually named
24737 something starting with __ and the normal name is an alias. */
24738 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24739 choke me
24740 #else
24741 char (*f) () = gethostbyname;
24742 #endif
24743 #ifdef __cplusplus
24744 }
24745 #endif
24746
24747 int
24748 main ()
24749 {
24750 return f != gethostbyname;
24751 ;
24752 return 0;
24753 }
24754 _ACEOF
24755 rm -f conftest.$ac_objext conftest$ac_exeext
24756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24757 (eval $ac_link) 2>conftest.er1
24758 ac_status=$?
24759 grep -v '^ *+' conftest.er1 >conftest.err
24760 rm -f conftest.er1
24761 cat conftest.err >&5
24762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24763 (exit $ac_status); } &&
24764 { ac_try='test -z "$ac_c_werror_flag"
24765 || test ! -s conftest.err'
24766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24767 (eval $ac_try) 2>&5
24768 ac_status=$?
24769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24770 (exit $ac_status); }; } &&
24771 { ac_try='test -s conftest$ac_exeext'
24772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24773 (eval $ac_try) 2>&5
24774 ac_status=$?
24775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24776 (exit $ac_status); }; }; then
24777 ac_cv_func_gethostbyname=yes
24778 else
24779 echo "$as_me: failed program was:" >&5
24780 sed 's/^/| /' conftest.$ac_ext >&5
24781
24782 ac_cv_func_gethostbyname=no
24783 fi
24784 rm -f conftest.err conftest.$ac_objext \
24785 conftest$ac_exeext conftest.$ac_ext
24786 fi
24787 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24788 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24789
24790 if test $ac_cv_func_gethostbyname = no; then
24791 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24792 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24793 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24794 echo $ECHO_N "(cached) $ECHO_C" >&6
24795 else
24796 ac_check_lib_save_LIBS=$LIBS
24797 LIBS="-lnsl $LIBS"
24798 cat >conftest.$ac_ext <<_ACEOF
24799 /* confdefs.h. */
24800 _ACEOF
24801 cat confdefs.h >>conftest.$ac_ext
24802 cat >>conftest.$ac_ext <<_ACEOF
24803 /* end confdefs.h. */
24804
24805 /* Override any gcc2 internal prototype to avoid an error. */
24806 #ifdef __cplusplus
24807 extern "C"
24808 #endif
24809 /* We use char because int might match the return type of a gcc2
24810 builtin and then its argument prototype would still apply. */
24811 char gethostbyname ();
24812 int
24813 main ()
24814 {
24815 gethostbyname ();
24816 ;
24817 return 0;
24818 }
24819 _ACEOF
24820 rm -f conftest.$ac_objext conftest$ac_exeext
24821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24822 (eval $ac_link) 2>conftest.er1
24823 ac_status=$?
24824 grep -v '^ *+' conftest.er1 >conftest.err
24825 rm -f conftest.er1
24826 cat conftest.err >&5
24827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24828 (exit $ac_status); } &&
24829 { ac_try='test -z "$ac_c_werror_flag"
24830 || test ! -s conftest.err'
24831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24832 (eval $ac_try) 2>&5
24833 ac_status=$?
24834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24835 (exit $ac_status); }; } &&
24836 { ac_try='test -s conftest$ac_exeext'
24837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24838 (eval $ac_try) 2>&5
24839 ac_status=$?
24840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24841 (exit $ac_status); }; }; then
24842 ac_cv_lib_nsl_gethostbyname=yes
24843 else
24844 echo "$as_me: failed program was:" >&5
24845 sed 's/^/| /' conftest.$ac_ext >&5
24846
24847 ac_cv_lib_nsl_gethostbyname=no
24848 fi
24849 rm -f conftest.err conftest.$ac_objext \
24850 conftest$ac_exeext conftest.$ac_ext
24851 LIBS=$ac_check_lib_save_LIBS
24852 fi
24853 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24854 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24855 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24856 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
24857 fi
24858
24859 if test $ac_cv_lib_nsl_gethostbyname = no; then
24860 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24861 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24862 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24863 echo $ECHO_N "(cached) $ECHO_C" >&6
24864 else
24865 ac_check_lib_save_LIBS=$LIBS
24866 LIBS="-lbsd $LIBS"
24867 cat >conftest.$ac_ext <<_ACEOF
24868 /* confdefs.h. */
24869 _ACEOF
24870 cat confdefs.h >>conftest.$ac_ext
24871 cat >>conftest.$ac_ext <<_ACEOF
24872 /* end confdefs.h. */
24873
24874 /* Override any gcc2 internal prototype to avoid an error. */
24875 #ifdef __cplusplus
24876 extern "C"
24877 #endif
24878 /* We use char because int might match the return type of a gcc2
24879 builtin and then its argument prototype would still apply. */
24880 char gethostbyname ();
24881 int
24882 main ()
24883 {
24884 gethostbyname ();
24885 ;
24886 return 0;
24887 }
24888 _ACEOF
24889 rm -f conftest.$ac_objext conftest$ac_exeext
24890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24891 (eval $ac_link) 2>conftest.er1
24892 ac_status=$?
24893 grep -v '^ *+' conftest.er1 >conftest.err
24894 rm -f conftest.er1
24895 cat conftest.err >&5
24896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24897 (exit $ac_status); } &&
24898 { ac_try='test -z "$ac_c_werror_flag"
24899 || test ! -s conftest.err'
24900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24901 (eval $ac_try) 2>&5
24902 ac_status=$?
24903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24904 (exit $ac_status); }; } &&
24905 { ac_try='test -s conftest$ac_exeext'
24906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24907 (eval $ac_try) 2>&5
24908 ac_status=$?
24909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24910 (exit $ac_status); }; }; then
24911 ac_cv_lib_bsd_gethostbyname=yes
24912 else
24913 echo "$as_me: failed program was:" >&5
24914 sed 's/^/| /' conftest.$ac_ext >&5
24915
24916 ac_cv_lib_bsd_gethostbyname=no
24917 fi
24918 rm -f conftest.err conftest.$ac_objext \
24919 conftest$ac_exeext conftest.$ac_ext
24920 LIBS=$ac_check_lib_save_LIBS
24921 fi
24922 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24923 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24924 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24925 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
24926 fi
24927
24928 fi
24929 fi
24930
24931 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24932 # socket/setsockopt and other routines are undefined under SCO ODT
24933 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24934 # on later versions), says Simon Leinen: it contains gethostby*
24935 # variants that don't use the name server (or something). -lsocket
24936 # must be given before -lnsl if both are needed. We assume that
24937 # if connect needs -lnsl, so does gethostbyname.
24938 echo "$as_me:$LINENO: checking for connect" >&5
24939 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24940 if test "${ac_cv_func_connect+set}" = set; then
24941 echo $ECHO_N "(cached) $ECHO_C" >&6
24942 else
24943 cat >conftest.$ac_ext <<_ACEOF
24944 /* confdefs.h. */
24945 _ACEOF
24946 cat confdefs.h >>conftest.$ac_ext
24947 cat >>conftest.$ac_ext <<_ACEOF
24948 /* end confdefs.h. */
24949 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24951 #define connect innocuous_connect
24952
24953 /* System header to define __stub macros and hopefully few prototypes,
24954 which can conflict with char connect (); below.
24955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24956 <limits.h> exists even on freestanding compilers. */
24957
24958 #ifdef __STDC__
24959 # include <limits.h>
24960 #else
24961 # include <assert.h>
24962 #endif
24963
24964 #undef connect
24965
24966 /* Override any gcc2 internal prototype to avoid an error. */
24967 #ifdef __cplusplus
24968 extern "C"
24969 {
24970 #endif
24971 /* We use char because int might match the return type of a gcc2
24972 builtin and then its argument prototype would still apply. */
24973 char connect ();
24974 /* The GNU C library defines this for functions which it implements
24975 to always fail with ENOSYS. Some functions are actually named
24976 something starting with __ and the normal name is an alias. */
24977 #if defined (__stub_connect) || defined (__stub___connect)
24978 choke me
24979 #else
24980 char (*f) () = connect;
24981 #endif
24982 #ifdef __cplusplus
24983 }
24984 #endif
24985
24986 int
24987 main ()
24988 {
24989 return f != connect;
24990 ;
24991 return 0;
24992 }
24993 _ACEOF
24994 rm -f conftest.$ac_objext conftest$ac_exeext
24995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24996 (eval $ac_link) 2>conftest.er1
24997 ac_status=$?
24998 grep -v '^ *+' conftest.er1 >conftest.err
24999 rm -f conftest.er1
25000 cat conftest.err >&5
25001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25002 (exit $ac_status); } &&
25003 { ac_try='test -z "$ac_c_werror_flag"
25004 || test ! -s conftest.err'
25005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25006 (eval $ac_try) 2>&5
25007 ac_status=$?
25008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25009 (exit $ac_status); }; } &&
25010 { ac_try='test -s conftest$ac_exeext'
25011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25012 (eval $ac_try) 2>&5
25013 ac_status=$?
25014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25015 (exit $ac_status); }; }; then
25016 ac_cv_func_connect=yes
25017 else
25018 echo "$as_me: failed program was:" >&5
25019 sed 's/^/| /' conftest.$ac_ext >&5
25020
25021 ac_cv_func_connect=no
25022 fi
25023 rm -f conftest.err conftest.$ac_objext \
25024 conftest$ac_exeext conftest.$ac_ext
25025 fi
25026 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25027 echo "${ECHO_T}$ac_cv_func_connect" >&6
25028
25029 if test $ac_cv_func_connect = no; then
25030 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25031 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25032 if test "${ac_cv_lib_socket_connect+set}" = set; then
25033 echo $ECHO_N "(cached) $ECHO_C" >&6
25034 else
25035 ac_check_lib_save_LIBS=$LIBS
25036 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25037 cat >conftest.$ac_ext <<_ACEOF
25038 /* confdefs.h. */
25039 _ACEOF
25040 cat confdefs.h >>conftest.$ac_ext
25041 cat >>conftest.$ac_ext <<_ACEOF
25042 /* end confdefs.h. */
25043
25044 /* Override any gcc2 internal prototype to avoid an error. */
25045 #ifdef __cplusplus
25046 extern "C"
25047 #endif
25048 /* We use char because int might match the return type of a gcc2
25049 builtin and then its argument prototype would still apply. */
25050 char connect ();
25051 int
25052 main ()
25053 {
25054 connect ();
25055 ;
25056 return 0;
25057 }
25058 _ACEOF
25059 rm -f conftest.$ac_objext conftest$ac_exeext
25060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25061 (eval $ac_link) 2>conftest.er1
25062 ac_status=$?
25063 grep -v '^ *+' conftest.er1 >conftest.err
25064 rm -f conftest.er1
25065 cat conftest.err >&5
25066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25067 (exit $ac_status); } &&
25068 { ac_try='test -z "$ac_c_werror_flag"
25069 || 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_socket_connect=yes
25082 else
25083 echo "$as_me: failed program was:" >&5
25084 sed 's/^/| /' conftest.$ac_ext >&5
25085
25086 ac_cv_lib_socket_connect=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_socket_connect" >&5
25093 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25094 if test $ac_cv_lib_socket_connect = yes; then
25095 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25096 fi
25097
25098 fi
25099
25100 # Guillermo Gomez says -lposix is necessary on A/UX.
25101 echo "$as_me:$LINENO: checking for remove" >&5
25102 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25103 if test "${ac_cv_func_remove+set}" = set; then
25104 echo $ECHO_N "(cached) $ECHO_C" >&6
25105 else
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 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25114 #define remove innocuous_remove
25115
25116 /* System header to define __stub macros and hopefully few prototypes,
25117 which can conflict with char remove (); below.
25118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25119 <limits.h> exists even on freestanding compilers. */
25120
25121 #ifdef __STDC__
25122 # include <limits.h>
25123 #else
25124 # include <assert.h>
25125 #endif
25126
25127 #undef remove
25128
25129 /* Override any gcc2 internal prototype to avoid an error. */
25130 #ifdef __cplusplus
25131 extern "C"
25132 {
25133 #endif
25134 /* We use char because int might match the return type of a gcc2
25135 builtin and then its argument prototype would still apply. */
25136 char remove ();
25137 /* The GNU C library defines this for functions which it implements
25138 to always fail with ENOSYS. Some functions are actually named
25139 something starting with __ and the normal name is an alias. */
25140 #if defined (__stub_remove) || defined (__stub___remove)
25141 choke me
25142 #else
25143 char (*f) () = remove;
25144 #endif
25145 #ifdef __cplusplus
25146 }
25147 #endif
25148
25149 int
25150 main ()
25151 {
25152 return f != remove;
25153 ;
25154 return 0;
25155 }
25156 _ACEOF
25157 rm -f conftest.$ac_objext conftest$ac_exeext
25158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25159 (eval $ac_link) 2>conftest.er1
25160 ac_status=$?
25161 grep -v '^ *+' conftest.er1 >conftest.err
25162 rm -f conftest.er1
25163 cat conftest.err >&5
25164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25165 (exit $ac_status); } &&
25166 { ac_try='test -z "$ac_c_werror_flag"
25167 || test ! -s conftest.err'
25168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25169 (eval $ac_try) 2>&5
25170 ac_status=$?
25171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25172 (exit $ac_status); }; } &&
25173 { ac_try='test -s conftest$ac_exeext'
25174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25175 (eval $ac_try) 2>&5
25176 ac_status=$?
25177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25178 (exit $ac_status); }; }; then
25179 ac_cv_func_remove=yes
25180 else
25181 echo "$as_me: failed program was:" >&5
25182 sed 's/^/| /' conftest.$ac_ext >&5
25183
25184 ac_cv_func_remove=no
25185 fi
25186 rm -f conftest.err conftest.$ac_objext \
25187 conftest$ac_exeext conftest.$ac_ext
25188 fi
25189 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25190 echo "${ECHO_T}$ac_cv_func_remove" >&6
25191
25192 if test $ac_cv_func_remove = no; then
25193 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25194 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25195 if test "${ac_cv_lib_posix_remove+set}" = set; then
25196 echo $ECHO_N "(cached) $ECHO_C" >&6
25197 else
25198 ac_check_lib_save_LIBS=$LIBS
25199 LIBS="-lposix $LIBS"
25200 cat >conftest.$ac_ext <<_ACEOF
25201 /* confdefs.h. */
25202 _ACEOF
25203 cat confdefs.h >>conftest.$ac_ext
25204 cat >>conftest.$ac_ext <<_ACEOF
25205 /* end confdefs.h. */
25206
25207 /* Override any gcc2 internal prototype to avoid an error. */
25208 #ifdef __cplusplus
25209 extern "C"
25210 #endif
25211 /* We use char because int might match the return type of a gcc2
25212 builtin and then its argument prototype would still apply. */
25213 char remove ();
25214 int
25215 main ()
25216 {
25217 remove ();
25218 ;
25219 return 0;
25220 }
25221 _ACEOF
25222 rm -f conftest.$ac_objext conftest$ac_exeext
25223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25224 (eval $ac_link) 2>conftest.er1
25225 ac_status=$?
25226 grep -v '^ *+' conftest.er1 >conftest.err
25227 rm -f conftest.er1
25228 cat conftest.err >&5
25229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25230 (exit $ac_status); } &&
25231 { ac_try='test -z "$ac_c_werror_flag"
25232 || test ! -s conftest.err'
25233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25234 (eval $ac_try) 2>&5
25235 ac_status=$?
25236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25237 (exit $ac_status); }; } &&
25238 { ac_try='test -s conftest$ac_exeext'
25239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25240 (eval $ac_try) 2>&5
25241 ac_status=$?
25242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25243 (exit $ac_status); }; }; then
25244 ac_cv_lib_posix_remove=yes
25245 else
25246 echo "$as_me: failed program was:" >&5
25247 sed 's/^/| /' conftest.$ac_ext >&5
25248
25249 ac_cv_lib_posix_remove=no
25250 fi
25251 rm -f conftest.err conftest.$ac_objext \
25252 conftest$ac_exeext conftest.$ac_ext
25253 LIBS=$ac_check_lib_save_LIBS
25254 fi
25255 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25256 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25257 if test $ac_cv_lib_posix_remove = yes; then
25258 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25259 fi
25260
25261 fi
25262
25263 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25264 echo "$as_me:$LINENO: checking for shmat" >&5
25265 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25266 if test "${ac_cv_func_shmat+set}" = set; then
25267 echo $ECHO_N "(cached) $ECHO_C" >&6
25268 else
25269 cat >conftest.$ac_ext <<_ACEOF
25270 /* confdefs.h. */
25271 _ACEOF
25272 cat confdefs.h >>conftest.$ac_ext
25273 cat >>conftest.$ac_ext <<_ACEOF
25274 /* end confdefs.h. */
25275 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25277 #define shmat innocuous_shmat
25278
25279 /* System header to define __stub macros and hopefully few prototypes,
25280 which can conflict with char shmat (); below.
25281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25282 <limits.h> exists even on freestanding compilers. */
25283
25284 #ifdef __STDC__
25285 # include <limits.h>
25286 #else
25287 # include <assert.h>
25288 #endif
25289
25290 #undef shmat
25291
25292 /* Override any gcc2 internal prototype to avoid an error. */
25293 #ifdef __cplusplus
25294 extern "C"
25295 {
25296 #endif
25297 /* We use char because int might match the return type of a gcc2
25298 builtin and then its argument prototype would still apply. */
25299 char shmat ();
25300 /* The GNU C library defines this for functions which it implements
25301 to always fail with ENOSYS. Some functions are actually named
25302 something starting with __ and the normal name is an alias. */
25303 #if defined (__stub_shmat) || defined (__stub___shmat)
25304 choke me
25305 #else
25306 char (*f) () = shmat;
25307 #endif
25308 #ifdef __cplusplus
25309 }
25310 #endif
25311
25312 int
25313 main ()
25314 {
25315 return f != shmat;
25316 ;
25317 return 0;
25318 }
25319 _ACEOF
25320 rm -f conftest.$ac_objext conftest$ac_exeext
25321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25322 (eval $ac_link) 2>conftest.er1
25323 ac_status=$?
25324 grep -v '^ *+' conftest.er1 >conftest.err
25325 rm -f conftest.er1
25326 cat conftest.err >&5
25327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25328 (exit $ac_status); } &&
25329 { ac_try='test -z "$ac_c_werror_flag"
25330 || test ! -s conftest.err'
25331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25332 (eval $ac_try) 2>&5
25333 ac_status=$?
25334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25335 (exit $ac_status); }; } &&
25336 { ac_try='test -s conftest$ac_exeext'
25337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25338 (eval $ac_try) 2>&5
25339 ac_status=$?
25340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25341 (exit $ac_status); }; }; then
25342 ac_cv_func_shmat=yes
25343 else
25344 echo "$as_me: failed program was:" >&5
25345 sed 's/^/| /' conftest.$ac_ext >&5
25346
25347 ac_cv_func_shmat=no
25348 fi
25349 rm -f conftest.err conftest.$ac_objext \
25350 conftest$ac_exeext conftest.$ac_ext
25351 fi
25352 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25353 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25354
25355 if test $ac_cv_func_shmat = no; then
25356 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25357 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25358 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25359 echo $ECHO_N "(cached) $ECHO_C" >&6
25360 else
25361 ac_check_lib_save_LIBS=$LIBS
25362 LIBS="-lipc $LIBS"
25363 cat >conftest.$ac_ext <<_ACEOF
25364 /* confdefs.h. */
25365 _ACEOF
25366 cat confdefs.h >>conftest.$ac_ext
25367 cat >>conftest.$ac_ext <<_ACEOF
25368 /* end confdefs.h. */
25369
25370 /* Override any gcc2 internal prototype to avoid an error. */
25371 #ifdef __cplusplus
25372 extern "C"
25373 #endif
25374 /* We use char because int might match the return type of a gcc2
25375 builtin and then its argument prototype would still apply. */
25376 char shmat ();
25377 int
25378 main ()
25379 {
25380 shmat ();
25381 ;
25382 return 0;
25383 }
25384 _ACEOF
25385 rm -f conftest.$ac_objext conftest$ac_exeext
25386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25387 (eval $ac_link) 2>conftest.er1
25388 ac_status=$?
25389 grep -v '^ *+' conftest.er1 >conftest.err
25390 rm -f conftest.er1
25391 cat conftest.err >&5
25392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25393 (exit $ac_status); } &&
25394 { ac_try='test -z "$ac_c_werror_flag"
25395 || test ! -s conftest.err'
25396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25397 (eval $ac_try) 2>&5
25398 ac_status=$?
25399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25400 (exit $ac_status); }; } &&
25401 { ac_try='test -s conftest$ac_exeext'
25402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25403 (eval $ac_try) 2>&5
25404 ac_status=$?
25405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25406 (exit $ac_status); }; }; then
25407 ac_cv_lib_ipc_shmat=yes
25408 else
25409 echo "$as_me: failed program was:" >&5
25410 sed 's/^/| /' conftest.$ac_ext >&5
25411
25412 ac_cv_lib_ipc_shmat=no
25413 fi
25414 rm -f conftest.err conftest.$ac_objext \
25415 conftest$ac_exeext conftest.$ac_ext
25416 LIBS=$ac_check_lib_save_LIBS
25417 fi
25418 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25419 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25420 if test $ac_cv_lib_ipc_shmat = yes; then
25421 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25422 fi
25423
25424 fi
25425 fi
25426
25427 # Check for libraries that X11R6 Xt/Xaw programs need.
25428 ac_save_LDFLAGS=$LDFLAGS
25429 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25430 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25431 # check for ICE first), but we must link in the order -lSM -lICE or
25432 # we get undefined symbols. So assume we have SM if we have ICE.
25433 # These have to be linked with before -lX11, unlike the other
25434 # libraries we check for below, so use a different variable.
25435 # John Interrante, Karl Berry
25436 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25437 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25438 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25439 echo $ECHO_N "(cached) $ECHO_C" >&6
25440 else
25441 ac_check_lib_save_LIBS=$LIBS
25442 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25443 cat >conftest.$ac_ext <<_ACEOF
25444 /* confdefs.h. */
25445 _ACEOF
25446 cat confdefs.h >>conftest.$ac_ext
25447 cat >>conftest.$ac_ext <<_ACEOF
25448 /* end confdefs.h. */
25449
25450 /* Override any gcc2 internal prototype to avoid an error. */
25451 #ifdef __cplusplus
25452 extern "C"
25453 #endif
25454 /* We use char because int might match the return type of a gcc2
25455 builtin and then its argument prototype would still apply. */
25456 char IceConnectionNumber ();
25457 int
25458 main ()
25459 {
25460 IceConnectionNumber ();
25461 ;
25462 return 0;
25463 }
25464 _ACEOF
25465 rm -f conftest.$ac_objext conftest$ac_exeext
25466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25467 (eval $ac_link) 2>conftest.er1
25468 ac_status=$?
25469 grep -v '^ *+' conftest.er1 >conftest.err
25470 rm -f conftest.er1
25471 cat conftest.err >&5
25472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25473 (exit $ac_status); } &&
25474 { ac_try='test -z "$ac_c_werror_flag"
25475 || test ! -s conftest.err'
25476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25477 (eval $ac_try) 2>&5
25478 ac_status=$?
25479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25480 (exit $ac_status); }; } &&
25481 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
25487 ac_cv_lib_ICE_IceConnectionNumber=yes
25488 else
25489 echo "$as_me: failed program was:" >&5
25490 sed 's/^/| /' conftest.$ac_ext >&5
25491
25492 ac_cv_lib_ICE_IceConnectionNumber=no
25493 fi
25494 rm -f conftest.err conftest.$ac_objext \
25495 conftest$ac_exeext conftest.$ac_ext
25496 LIBS=$ac_check_lib_save_LIBS
25497 fi
25498 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25499 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25500 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25501 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25502 fi
25503
25504 LDFLAGS=$ac_save_LDFLAGS
25505
25506 fi
25507
25508
25509 if test "$no_x" = "yes"; then
25510 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25511 echo "$as_me: error: X11 not found" >&2;}
25512 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
25513 fi
25514
25515 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
25516 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25517 AFMINSTALL=afminstall
25518 COMPILED_X_PROGRAM=0
25519
25520 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
25521 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
25522
25523 ac_find_includes=
25524 for ac_dir in $SEARCH_INCLUDE /usr/include;
25525 do
25526 if test -f "$ac_dir/Xm/Xm.h"; then
25527 ac_find_includes=$ac_dir
25528 break
25529 fi
25530 done
25531
25532 if test "$ac_find_includes" != "" ; then
25533 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25534 echo "${ECHO_T}found in $ac_find_includes" >&6
25535
25536 if test "x$ac_find_includes" = "x/usr/include"; then
25537 ac_path_to_include=""
25538 else
25539 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
25540 result=$?
25541 if test $result = 0; then
25542 ac_path_to_include=""
25543 else
25544 ac_path_to_include=" -I$ac_find_includes"
25545 fi
25546 fi
25547
25548 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
25549 else
25550 cat >conftest.$ac_ext <<_ACEOF
25551 /* confdefs.h. */
25552 _ACEOF
25553 cat confdefs.h >>conftest.$ac_ext
25554 cat >>conftest.$ac_ext <<_ACEOF
25555 /* end confdefs.h. */
25556
25557 #include <Xm/Xm.h>
25558
25559 int
25560 main ()
25561 {
25562
25563 int version;
25564 version = xmUseVersion;
25565
25566 ;
25567 return 0;
25568 }
25569 _ACEOF
25570 rm -f conftest.$ac_objext
25571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25572 (eval $ac_compile) 2>conftest.er1
25573 ac_status=$?
25574 grep -v '^ *+' conftest.er1 >conftest.err
25575 rm -f conftest.er1
25576 cat conftest.err >&5
25577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25578 (exit $ac_status); } &&
25579 { ac_try='test -z "$ac_c_werror_flag"
25580 || test ! -s conftest.err'
25581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25582 (eval $ac_try) 2>&5
25583 ac_status=$?
25584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25585 (exit $ac_status); }; } &&
25586 { ac_try='test -s conftest.$ac_objext'
25587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25588 (eval $ac_try) 2>&5
25589 ac_status=$?
25590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25591 (exit $ac_status); }; }; then
25592
25593 echo "$as_me:$LINENO: result: found in default search path" >&5
25594 echo "${ECHO_T}found in default search path" >&6
25595 COMPILED_X_PROGRAM=1
25596
25597 else
25598 echo "$as_me: failed program was:" >&5
25599 sed 's/^/| /' conftest.$ac_ext >&5
25600
25601
25602 echo "$as_me:$LINENO: result: no" >&5
25603 echo "${ECHO_T}no" >&6
25604 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
25605 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
25606 { (exit 1); exit 1; }; }
25607
25608
25609 fi
25610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25611 fi
25612
25613 if test "$COMPILED_X_PROGRAM" = 0; then
25614 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
25615 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
25616
25617 ac_find_libraries=
25618 for ac_dir in $SEARCH_LIB /usr/lib;
25619 do
25620 for ac_extension in a so sl dylib; do
25621 if test -f "$ac_dir/libXm.$ac_extension"; then
25622 ac_find_libraries=$ac_dir
25623 break 2
25624 fi
25625 done
25626 done
25627
25628 if test "$ac_find_libraries" != "" ; then
25629 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25630 echo "${ECHO_T}found at $ac_find_libraries" >&6
25631
25632
25633 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25634 result=$?
25635 if test $result = 0; then
25636 ac_path_to_link=""
25637 else
25638 ac_path_to_link=" -L$ac_find_libraries"
25639 fi
25640
25641 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
25642 else
25643 save_CFLAGS=$CFLAGS
25644 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25645
25646 cat >conftest.$ac_ext <<_ACEOF
25647 /* confdefs.h. */
25648 _ACEOF
25649 cat confdefs.h >>conftest.$ac_ext
25650 cat >>conftest.$ac_ext <<_ACEOF
25651 /* end confdefs.h. */
25652
25653 #include <Xm/Xm.h>
25654
25655 int
25656 main ()
25657 {
25658
25659 int version;
25660 version = xmUseVersion;
25661
25662 ;
25663 return 0;
25664 }
25665 _ACEOF
25666 rm -f conftest.$ac_objext
25667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25668 (eval $ac_compile) 2>conftest.er1
25669 ac_status=$?
25670 grep -v '^ *+' conftest.er1 >conftest.err
25671 rm -f conftest.er1
25672 cat conftest.err >&5
25673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25674 (exit $ac_status); } &&
25675 { ac_try='test -z "$ac_c_werror_flag"
25676 || test ! -s conftest.err'
25677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25678 (eval $ac_try) 2>&5
25679 ac_status=$?
25680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25681 (exit $ac_status); }; } &&
25682 { ac_try='test -s conftest.$ac_objext'
25683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25684 (eval $ac_try) 2>&5
25685 ac_status=$?
25686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25687 (exit $ac_status); }; }; then
25688
25689 echo "$as_me:$LINENO: result: found in default search path" >&5
25690 echo "${ECHO_T}found in default search path" >&6
25691 COMPILED_X_PROGRAM=1
25692
25693 else
25694 echo "$as_me: failed program was:" >&5
25695 sed 's/^/| /' conftest.$ac_ext >&5
25696
25697
25698 echo "$as_me:$LINENO: result: no" >&5
25699 echo "${ECHO_T}no" >&6
25700 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
25701 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
25702 { (exit 1); exit 1; }; }
25703
25704
25705 fi
25706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25707
25708 CFLAGS=$save_CFLAGS
25709 fi
25710 fi
25711
25712 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
25713 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
25714 libp_link=""
25715 libsm_ice_link=""
25716 libs_found=0
25717 for libp in "" " -lXp"; do
25718 if test "$libs_found" = "0"; then
25719 for libsm_ice in "" " -lSM -lICE"; do
25720 if test "$libs_found" = "0"; then
25721 save_LIBS="$LIBS"
25722 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
25723 save_CFLAGS=$CFLAGS
25724 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25725
25726 cat >conftest.$ac_ext <<_ACEOF
25727 /* confdefs.h. */
25728 _ACEOF
25729 cat confdefs.h >>conftest.$ac_ext
25730 cat >>conftest.$ac_ext <<_ACEOF
25731 /* end confdefs.h. */
25732
25733 #include <Xm/Xm.h>
25734 #include <Xm/List.h>
25735
25736 int
25737 main ()
25738 {
25739
25740 XmString string = NULL;
25741 Widget w = NULL;
25742 int position = 0;
25743 XmListAddItem(w, string, position);
25744
25745 ;
25746 return 0;
25747 }
25748 _ACEOF
25749 rm -f conftest.$ac_objext conftest$ac_exeext
25750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25751 (eval $ac_link) 2>conftest.er1
25752 ac_status=$?
25753 grep -v '^ *+' conftest.er1 >conftest.err
25754 rm -f conftest.er1
25755 cat conftest.err >&5
25756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25757 (exit $ac_status); } &&
25758 { ac_try='test -z "$ac_c_werror_flag"
25759 || test ! -s conftest.err'
25760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25761 (eval $ac_try) 2>&5
25762 ac_status=$?
25763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25764 (exit $ac_status); }; } &&
25765 { ac_try='test -s conftest$ac_exeext'
25766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25767 (eval $ac_try) 2>&5
25768 ac_status=$?
25769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25770 (exit $ac_status); }; }; then
25771
25772 libp_link="$libp"
25773 libsm_ice_link="$libsm_ice"
25774 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
25775 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
25776 libs_found=1
25777
25778 else
25779 echo "$as_me: failed program was:" >&5
25780 sed 's/^/| /' conftest.$ac_ext >&5
25781
25782
25783
25784 fi
25785 rm -f conftest.err conftest.$ac_objext \
25786 conftest$ac_exeext conftest.$ac_ext
25787
25788 LIBS="$save_LIBS"
25789 CFLAGS=$save_CFLAGS
25790 fi
25791 done
25792 fi
25793 done
25794
25795 if test "$libs_found" = "0"; then
25796 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
25797 echo "${ECHO_T}can't find the right libraries" >&6
25798 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
25799 echo "$as_me: error: can't link a simple motif program" >&2;}
25800 { (exit 1); exit 1; }; }
25801 fi
25802
25803 save_CFLAGS=$CFLAGS
25804 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25805 echo "$as_me:$LINENO: checking for Motif 2" >&5
25806 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
25807 cat >conftest.$ac_ext <<_ACEOF
25808 /* confdefs.h. */
25809 _ACEOF
25810 cat confdefs.h >>conftest.$ac_ext
25811 cat >>conftest.$ac_ext <<_ACEOF
25812 /* end confdefs.h. */
25813
25814 #include <Xm/Xm.h>
25815
25816 int
25817 main ()
25818 {
25819
25820 #if XmVersion < 2000
25821 #error "Not Motif 2"
25822 #endif
25823
25824 ;
25825 return 0;
25826 }
25827 _ACEOF
25828 rm -f conftest.$ac_objext
25829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25830 (eval $ac_compile) 2>conftest.er1
25831 ac_status=$?
25832 grep -v '^ *+' conftest.er1 >conftest.err
25833 rm -f conftest.er1
25834 cat conftest.err >&5
25835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25836 (exit $ac_status); } &&
25837 { ac_try='test -z "$ac_c_werror_flag"
25838 || test ! -s conftest.err'
25839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25840 (eval $ac_try) 2>&5
25841 ac_status=$?
25842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25843 (exit $ac_status); }; } &&
25844 { ac_try='test -s conftest.$ac_objext'
25845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25846 (eval $ac_try) 2>&5
25847 ac_status=$?
25848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25849 (exit $ac_status); }; }; then
25850
25851 cat >>confdefs.h <<\_ACEOF
25852 #define __WXMOTIF20__ 1
25853 _ACEOF
25854
25855 echo "$as_me:$LINENO: result: found" >&5
25856 echo "${ECHO_T}found" >&6
25857
25858 else
25859 echo "$as_me: failed program was:" >&5
25860 sed 's/^/| /' conftest.$ac_ext >&5
25861
25862
25863 cat >>confdefs.h <<\_ACEOF
25864 #define __WXMOTIF20__ 0
25865 _ACEOF
25866
25867 echo "$as_me:$LINENO: result: not found" >&5
25868 echo "${ECHO_T}not found" >&6
25869
25870 fi
25871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25872 CFLAGS=$save_CFLAGS
25873
25874 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
25875 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
25876 TOOLKIT=MOTIF
25877 GUIDIST=MOTIF_DIST
25878 fi
25879
25880 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
25881 if test "$wxUSE_LIBXPM" = "sys"; then
25882 echo "$as_me:$LINENO: checking for Xpm library" >&5
25883 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
25884
25885 ac_find_libraries=
25886 for ac_dir in $SEARCH_LIB /usr/lib;
25887 do
25888 for ac_extension in a so sl dylib; do
25889 if test -f "$ac_dir/libXpm.$ac_extension"; then
25890 ac_find_libraries=$ac_dir
25891 break 2
25892 fi
25893 done
25894 done
25895
25896 if test "$ac_find_libraries" != "" ; then
25897
25898 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25899 result=$?
25900 if test $result = 0; then
25901 ac_path_to_link=""
25902 else
25903 ac_path_to_link=" -L$ac_find_libraries"
25904 fi
25905
25906 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
25907 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25908 echo "${ECHO_T}found at $ac_find_libraries" >&6
25909
25910 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
25911 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
25912 if test "${wx_cv_x11_xpm_h+set}" = set; then
25913 echo $ECHO_N "(cached) $ECHO_C" >&6
25914 else
25915
25916 save_CFLAGS=$CFLAGS
25917 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25918
25919 cat >conftest.$ac_ext <<_ACEOF
25920 /* confdefs.h. */
25921 _ACEOF
25922 cat confdefs.h >>conftest.$ac_ext
25923 cat >>conftest.$ac_ext <<_ACEOF
25924 /* end confdefs.h. */
25925
25926 #include <X11/xpm.h>
25927
25928 int
25929 main ()
25930 {
25931
25932 int version;
25933 version = XpmLibraryVersion();
25934
25935 ;
25936 return 0;
25937 }
25938 _ACEOF
25939 rm -f conftest.$ac_objext
25940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25941 (eval $ac_compile) 2>conftest.er1
25942 ac_status=$?
25943 grep -v '^ *+' conftest.er1 >conftest.err
25944 rm -f conftest.er1
25945 cat conftest.err >&5
25946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25947 (exit $ac_status); } &&
25948 { ac_try='test -z "$ac_c_werror_flag"
25949 || test ! -s conftest.err'
25950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25951 (eval $ac_try) 2>&5
25952 ac_status=$?
25953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25954 (exit $ac_status); }; } &&
25955 { ac_try='test -s conftest.$ac_objext'
25956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25957 (eval $ac_try) 2>&5
25958 ac_status=$?
25959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25960 (exit $ac_status); }; }; then
25961 wx_cv_x11_xpm_h=yes
25962 else
25963 echo "$as_me: failed program was:" >&5
25964 sed 's/^/| /' conftest.$ac_ext >&5
25965
25966 wx_cv_x11_xpm_h=no
25967
25968 fi
25969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25970
25971 CFLAGS=$save_CFLAGS
25972
25973
25974 fi
25975 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
25976 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
25977
25978 if test $wx_cv_x11_xpm_h = "yes"; then
25979 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
25980 cat >>confdefs.h <<\_ACEOF
25981 #define wxHAVE_LIB_XPM 1
25982 _ACEOF
25983
25984 else
25985 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
25986 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
25987 fi
25988 fi
25989
25990 fi
25991
25992 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
25993 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
25994 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
25995 echo $ECHO_N "(cached) $ECHO_C" >&6
25996 else
25997 ac_check_lib_save_LIBS=$LIBS
25998 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
25999 cat >conftest.$ac_ext <<_ACEOF
26000 /* confdefs.h. */
26001 _ACEOF
26002 cat confdefs.h >>conftest.$ac_ext
26003 cat >>conftest.$ac_ext <<_ACEOF
26004 /* end confdefs.h. */
26005
26006 /* Override any gcc2 internal prototype to avoid an error. */
26007 #ifdef __cplusplus
26008 extern "C"
26009 #endif
26010 /* We use char because int might match the return type of a gcc2
26011 builtin and then its argument prototype would still apply. */
26012 char XShapeQueryExtension ();
26013 int
26014 main ()
26015 {
26016 XShapeQueryExtension ();
26017 ;
26018 return 0;
26019 }
26020 _ACEOF
26021 rm -f conftest.$ac_objext conftest$ac_exeext
26022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26023 (eval $ac_link) 2>conftest.er1
26024 ac_status=$?
26025 grep -v '^ *+' conftest.er1 >conftest.err
26026 rm -f conftest.er1
26027 cat conftest.err >&5
26028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26029 (exit $ac_status); } &&
26030 { ac_try='test -z "$ac_c_werror_flag"
26031 || test ! -s conftest.err'
26032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26033 (eval $ac_try) 2>&5
26034 ac_status=$?
26035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26036 (exit $ac_status); }; } &&
26037 { ac_try='test -s conftest$ac_exeext'
26038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26039 (eval $ac_try) 2>&5
26040 ac_status=$?
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); }; }; then
26043 ac_cv_lib_Xext_XShapeQueryExtension=yes
26044 else
26045 echo "$as_me: failed program was:" >&5
26046 sed 's/^/| /' conftest.$ac_ext >&5
26047
26048 ac_cv_lib_Xext_XShapeQueryExtension=no
26049 fi
26050 rm -f conftest.err conftest.$ac_objext \
26051 conftest$ac_exeext conftest.$ac_ext
26052 LIBS=$ac_check_lib_save_LIBS
26053 fi
26054 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26055 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26056 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26057
26058 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26059 wxHAVE_XEXT_LIB=1
26060
26061 fi
26062
26063
26064 if test "$wxHAVE_XEXT_LIB" = 1; then
26065 save_CFLAGS="$CFLAGS"
26066 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26067
26068 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26069 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26070 cat >conftest.$ac_ext <<_ACEOF
26071 /* confdefs.h. */
26072 _ACEOF
26073 cat confdefs.h >>conftest.$ac_ext
26074 cat >>conftest.$ac_ext <<_ACEOF
26075 /* end confdefs.h. */
26076
26077 #include <X11/Xlib.h>
26078 #include <X11/extensions/shape.h>
26079
26080 int
26081 main ()
26082 {
26083
26084 int dummy1, dummy2;
26085 XShapeQueryExtension((Display*)NULL,
26086 (int*)NULL, (int*)NULL);
26087
26088 ;
26089 return 0;
26090 }
26091 _ACEOF
26092 rm -f conftest.$ac_objext
26093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26094 (eval $ac_compile) 2>conftest.er1
26095 ac_status=$?
26096 grep -v '^ *+' conftest.er1 >conftest.err
26097 rm -f conftest.er1
26098 cat conftest.err >&5
26099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26100 (exit $ac_status); } &&
26101 { ac_try='test -z "$ac_c_werror_flag"
26102 || test ! -s conftest.err'
26103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26104 (eval $ac_try) 2>&5
26105 ac_status=$?
26106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26107 (exit $ac_status); }; } &&
26108 { ac_try='test -s conftest.$ac_objext'
26109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26110 (eval $ac_try) 2>&5
26111 ac_status=$?
26112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26113 (exit $ac_status); }; }; then
26114
26115 cat >>confdefs.h <<\_ACEOF
26116 #define HAVE_XSHAPE 1
26117 _ACEOF
26118
26119 echo "$as_me:$LINENO: result: found" >&5
26120 echo "${ECHO_T}found" >&6
26121
26122 else
26123 echo "$as_me: failed program was:" >&5
26124 sed 's/^/| /' conftest.$ac_ext >&5
26125
26126
26127 echo "$as_me:$LINENO: result: not found" >&5
26128 echo "${ECHO_T}not found" >&6
26129
26130 fi
26131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26132 CFLAGS="$save_CFLAGS"
26133
26134 fi
26135 fi
26136
26137 if test "$wxUSE_MAC" = 1; then
26138 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26139 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26140 if test "$GCC" = yes; then
26141 echo "$as_me:$LINENO: result: gcc" >&5
26142 echo "${ECHO_T}gcc" >&6
26143 CPPFLAGS_PASCAL="-fpascal-strings"
26144 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26145 echo "$as_me:$LINENO: result: xlc" >&5
26146 echo "${ECHO_T}xlc" >&6
26147 CPPFLAGS_PASCAL="-qmacpstr"
26148 else
26149 echo "$as_me:$LINENO: result: none" >&5
26150 echo "${ECHO_T}none" >&6
26151 fi
26152
26153 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
26154
26155 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
26156 TOOLKIT=MAC
26157 GUIDIST=MACX_DIST
26158 WXBASEPORT="_carbon"
26159 fi
26160
26161 if test "$wxUSE_COCOA" = 1; then
26162 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
26163 TOOLKIT=COCOA
26164 GUIDIST=COCOA_DIST
26165 fi
26166
26167 if test "$wxUSE_PM" = 1; then
26168 TOOLKIT=PM
26169 GUIDIST=GTK_DIST
26170 fi
26171
26172 if test "$TOOLKIT" = "PM" ; then
26173 TOOLKIT_DIR="os2"
26174 else
26175 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26176 fi
26177
26178 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
26179
26180 if test "$wxUSE_UNIVERSAL" = "yes"; then
26181 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
26182
26183 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
26184 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
26185
26186 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
26187 if test "$wxUSE_X11" = 1; then
26188 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
26189 else
26190 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
26191 fi
26192 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26193 WIDGET_SET=univ
26194 else
26195 ALL_OBJECTS="\$(GUIOBJS)"
26196 ALL_SOURCES="\$(ALL_SOURCES)"
26197 ALL_HEADERS="\$(ALL_HEADERS)"
26198 fi
26199
26200 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
26201
26202 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
26203 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
26204 fi
26205
26206 if test "$wxUSE_HTML" = "yes"; then
26207 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
26208 fi
26209
26210 if test "$wxUSE_LIBJPEG" = "builtin" ; then
26211 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
26212 fi
26213 if test "$wxUSE_LIBTIFF" = "builtin" ; then
26214 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
26215 fi
26216 if test "$wxUSE_LIBPNG" = "builtin" ; then
26217 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
26218 fi
26219
26220 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26221 DISTDIR="wx\$(TOOLKIT)"
26222 else
26223 USE_GUI=0
26224
26225 TOOLKIT_DIR="base"
26226
26227 if test "$USE_WIN32" = 1 ; then
26228 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
26229 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
26230
26231 TOOLKIT="MSW"
26232 else
26233 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
26234 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
26235 fi
26236
26237 ALL_SOURCES="\$(ALL_SOURCES)"
26238 ALL_HEADERS="\$(ALL_HEADERS)"
26239
26240 PORT_FILES="\${top_srcdir}/src/files.lst"
26241
26242 GUIDIST="BASE_DIST"
26243 DISTDIR="wxBase"
26244 fi
26245
26246
26247
26248
26249 IODBC_C_SRC=""
26250
26251
26252 if test "$TOOLKIT" != "MSW" ; then
26253
26254 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26255
26256 if test "${ac_cv_header_sql_h+set}" = set; then
26257 echo "$as_me:$LINENO: checking for sql.h" >&5
26258 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26259 if test "${ac_cv_header_sql_h+set}" = set; then
26260 echo $ECHO_N "(cached) $ECHO_C" >&6
26261 fi
26262 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26263 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26264 else
26265 # Is the header compilable?
26266 echo "$as_me:$LINENO: checking sql.h usability" >&5
26267 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26268 cat >conftest.$ac_ext <<_ACEOF
26269 /* confdefs.h. */
26270 _ACEOF
26271 cat confdefs.h >>conftest.$ac_ext
26272 cat >>conftest.$ac_ext <<_ACEOF
26273 /* end confdefs.h. */
26274 $ac_includes_default
26275 #include <sql.h>
26276 _ACEOF
26277 rm -f conftest.$ac_objext
26278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26279 (eval $ac_compile) 2>conftest.er1
26280 ac_status=$?
26281 grep -v '^ *+' conftest.er1 >conftest.err
26282 rm -f conftest.er1
26283 cat conftest.err >&5
26284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26285 (exit $ac_status); } &&
26286 { ac_try='test -z "$ac_c_werror_flag"
26287 || test ! -s conftest.err'
26288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26289 (eval $ac_try) 2>&5
26290 ac_status=$?
26291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26292 (exit $ac_status); }; } &&
26293 { ac_try='test -s conftest.$ac_objext'
26294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26295 (eval $ac_try) 2>&5
26296 ac_status=$?
26297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26298 (exit $ac_status); }; }; then
26299 ac_header_compiler=yes
26300 else
26301 echo "$as_me: failed program was:" >&5
26302 sed 's/^/| /' conftest.$ac_ext >&5
26303
26304 ac_header_compiler=no
26305 fi
26306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26307 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26308 echo "${ECHO_T}$ac_header_compiler" >&6
26309
26310 # Is the header present?
26311 echo "$as_me:$LINENO: checking sql.h presence" >&5
26312 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26313 cat >conftest.$ac_ext <<_ACEOF
26314 /* confdefs.h. */
26315 _ACEOF
26316 cat confdefs.h >>conftest.$ac_ext
26317 cat >>conftest.$ac_ext <<_ACEOF
26318 /* end confdefs.h. */
26319 #include <sql.h>
26320 _ACEOF
26321 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26322 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26323 ac_status=$?
26324 grep -v '^ *+' conftest.er1 >conftest.err
26325 rm -f conftest.er1
26326 cat conftest.err >&5
26327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26328 (exit $ac_status); } >/dev/null; then
26329 if test -s conftest.err; then
26330 ac_cpp_err=$ac_c_preproc_warn_flag
26331 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26332 else
26333 ac_cpp_err=
26334 fi
26335 else
26336 ac_cpp_err=yes
26337 fi
26338 if test -z "$ac_cpp_err"; then
26339 ac_header_preproc=yes
26340 else
26341 echo "$as_me: failed program was:" >&5
26342 sed 's/^/| /' conftest.$ac_ext >&5
26343
26344 ac_header_preproc=no
26345 fi
26346 rm -f conftest.err conftest.$ac_ext
26347 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26348 echo "${ECHO_T}$ac_header_preproc" >&6
26349
26350 # So? What about this header?
26351 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26352 yes:no: )
26353 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26354 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26355 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26356 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26357 ac_header_preproc=yes
26358 ;;
26359 no:yes:* )
26360 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26361 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26362 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26363 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26364 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26365 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26366 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26367 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26368 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26369 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26370 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26371 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26372 (
26373 cat <<\_ASBOX
26374 ## ----------------------------------------- ##
26375 ## Report this to wx-dev@lists.wxwindows.org ##
26376 ## ----------------------------------------- ##
26377 _ASBOX
26378 ) |
26379 sed "s/^/$as_me: WARNING: /" >&2
26380 ;;
26381 esac
26382 echo "$as_me:$LINENO: checking for sql.h" >&5
26383 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26384 if test "${ac_cv_header_sql_h+set}" = set; then
26385 echo $ECHO_N "(cached) $ECHO_C" >&6
26386 else
26387 ac_cv_header_sql_h=$ac_header_preproc
26388 fi
26389 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26390 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26391
26392 fi
26393 if test $ac_cv_header_sql_h = yes; then
26394 found_sql_h=1
26395 fi
26396
26397
26398 if test "x$found_sql_h" = "x1" ; then
26399 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26400 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26401 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26402 echo $ECHO_N "(cached) $ECHO_C" >&6
26403 else
26404 ac_check_lib_save_LIBS=$LIBS
26405 LIBS="-liodbc $LIBS"
26406 cat >conftest.$ac_ext <<_ACEOF
26407 /* confdefs.h. */
26408 _ACEOF
26409 cat confdefs.h >>conftest.$ac_ext
26410 cat >>conftest.$ac_ext <<_ACEOF
26411 /* end confdefs.h. */
26412
26413 /* Override any gcc2 internal prototype to avoid an error. */
26414 #ifdef __cplusplus
26415 extern "C"
26416 #endif
26417 /* We use char because int might match the return type of a gcc2
26418 builtin and then its argument prototype would still apply. */
26419 char SQLAllocEnv ();
26420 int
26421 main ()
26422 {
26423 SQLAllocEnv ();
26424 ;
26425 return 0;
26426 }
26427 _ACEOF
26428 rm -f conftest.$ac_objext conftest$ac_exeext
26429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26430 (eval $ac_link) 2>conftest.er1
26431 ac_status=$?
26432 grep -v '^ *+' conftest.er1 >conftest.err
26433 rm -f conftest.er1
26434 cat conftest.err >&5
26435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26436 (exit $ac_status); } &&
26437 { ac_try='test -z "$ac_c_werror_flag"
26438 || test ! -s conftest.err'
26439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26440 (eval $ac_try) 2>&5
26441 ac_status=$?
26442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26443 (exit $ac_status); }; } &&
26444 { ac_try='test -s conftest$ac_exeext'
26445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26446 (eval $ac_try) 2>&5
26447 ac_status=$?
26448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26449 (exit $ac_status); }; }; then
26450 ac_cv_lib_iodbc_SQLAllocEnv=yes
26451 else
26452 echo "$as_me: failed program was:" >&5
26453 sed 's/^/| /' conftest.$ac_ext >&5
26454
26455 ac_cv_lib_iodbc_SQLAllocEnv=no
26456 fi
26457 rm -f conftest.err conftest.$ac_objext \
26458 conftest$ac_exeext conftest.$ac_ext
26459 LIBS=$ac_check_lib_save_LIBS
26460 fi
26461 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26462 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26463 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
26464 ODBC_LINK=" -liodbc"
26465 else
26466
26467 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26468 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26469 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26470 echo $ECHO_N "(cached) $ECHO_C" >&6
26471 else
26472 ac_check_lib_save_LIBS=$LIBS
26473 LIBS="-lunixodbc $LIBS"
26474 cat >conftest.$ac_ext <<_ACEOF
26475 /* confdefs.h. */
26476 _ACEOF
26477 cat confdefs.h >>conftest.$ac_ext
26478 cat >>conftest.$ac_ext <<_ACEOF
26479 /* end confdefs.h. */
26480
26481 /* Override any gcc2 internal prototype to avoid an error. */
26482 #ifdef __cplusplus
26483 extern "C"
26484 #endif
26485 /* We use char because int might match the return type of a gcc2
26486 builtin and then its argument prototype would still apply. */
26487 char SQLAllocEnv ();
26488 int
26489 main ()
26490 {
26491 SQLAllocEnv ();
26492 ;
26493 return 0;
26494 }
26495 _ACEOF
26496 rm -f conftest.$ac_objext conftest$ac_exeext
26497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26498 (eval $ac_link) 2>conftest.er1
26499 ac_status=$?
26500 grep -v '^ *+' conftest.er1 >conftest.err
26501 rm -f conftest.er1
26502 cat conftest.err >&5
26503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26504 (exit $ac_status); } &&
26505 { ac_try='test -z "$ac_c_werror_flag"
26506 || test ! -s conftest.err'
26507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26508 (eval $ac_try) 2>&5
26509 ac_status=$?
26510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26511 (exit $ac_status); }; } &&
26512 { ac_try='test -s conftest$ac_exeext'
26513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26514 (eval $ac_try) 2>&5
26515 ac_status=$?
26516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26517 (exit $ac_status); }; }; then
26518 ac_cv_lib_unixodbc_SQLAllocEnv=yes
26519 else
26520 echo "$as_me: failed program was:" >&5
26521 sed 's/^/| /' conftest.$ac_ext >&5
26522
26523 ac_cv_lib_unixodbc_SQLAllocEnv=no
26524 fi
26525 rm -f conftest.err conftest.$ac_objext \
26526 conftest$ac_exeext conftest.$ac_ext
26527 LIBS=$ac_check_lib_save_LIBS
26528 fi
26529 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
26530 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
26531 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
26532 ODBC_LINK=" -lunixodbc"
26533 else
26534
26535 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
26536 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
26537 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
26538 echo $ECHO_N "(cached) $ECHO_C" >&6
26539 else
26540 ac_check_lib_save_LIBS=$LIBS
26541 LIBS="-lodbc $LIBS"
26542 cat >conftest.$ac_ext <<_ACEOF
26543 /* confdefs.h. */
26544 _ACEOF
26545 cat confdefs.h >>conftest.$ac_ext
26546 cat >>conftest.$ac_ext <<_ACEOF
26547 /* end confdefs.h. */
26548
26549 /* Override any gcc2 internal prototype to avoid an error. */
26550 #ifdef __cplusplus
26551 extern "C"
26552 #endif
26553 /* We use char because int might match the return type of a gcc2
26554 builtin and then its argument prototype would still apply. */
26555 char SQLAllocEnv ();
26556 int
26557 main ()
26558 {
26559 SQLAllocEnv ();
26560 ;
26561 return 0;
26562 }
26563 _ACEOF
26564 rm -f conftest.$ac_objext conftest$ac_exeext
26565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26566 (eval $ac_link) 2>conftest.er1
26567 ac_status=$?
26568 grep -v '^ *+' conftest.er1 >conftest.err
26569 rm -f conftest.er1
26570 cat conftest.err >&5
26571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26572 (exit $ac_status); } &&
26573 { ac_try='test -z "$ac_c_werror_flag"
26574 || test ! -s conftest.err'
26575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26576 (eval $ac_try) 2>&5
26577 ac_status=$?
26578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26579 (exit $ac_status); }; } &&
26580 { ac_try='test -s conftest$ac_exeext'
26581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26582 (eval $ac_try) 2>&5
26583 ac_status=$?
26584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26585 (exit $ac_status); }; }; then
26586 ac_cv_lib_odbc_SQLAllocEnv=yes
26587 else
26588 echo "$as_me: failed program was:" >&5
26589 sed 's/^/| /' conftest.$ac_ext >&5
26590
26591 ac_cv_lib_odbc_SQLAllocEnv=no
26592 fi
26593 rm -f conftest.err conftest.$ac_objext \
26594 conftest$ac_exeext conftest.$ac_ext
26595 LIBS=$ac_check_lib_save_LIBS
26596 fi
26597 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
26598 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
26599 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
26600 ODBC_LINK=" -lodbc"
26601 fi
26602
26603
26604 fi
26605
26606
26607 fi
26608
26609 fi
26610 if test "x$ODBC_LINK" = "x" ; then
26611 if test "$wxUSE_ODBC" = "sys" ; then
26612 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
26613 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
26614 { (exit 1); exit 1; }; }
26615 else
26616 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
26617 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
26618 wxUSE_ODBC=builtin
26619 fi
26620 else
26621 wxUSE_ODBC=sys
26622 fi
26623 fi
26624 if test "$wxUSE_ODBC" != "no" ; then
26625 cat >>confdefs.h <<\_ACEOF
26626 #define wxUSE_ODBC 1
26627 _ACEOF
26628
26629 if test "$wxUSE_ODBC" = "builtin" ; then
26630 cat >>confdefs.h <<\_ACEOF
26631 #define wxUSE_BUILTIN_IODBC 1
26632 _ACEOF
26633
26634 fi
26635 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
26636
26637 WXODBCFLAG="-D_IODBC_"
26638 fi
26639 fi
26640
26641 if test "$wxUSE_REGEX" = "builtin" ; then
26642 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
26643 fi
26644 if test "$wxUSE_ZLIB" = "builtin" ; then
26645 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
26646 fi
26647
26648 if test "$wxUSE_DISPLAY" = "yes"; then
26649 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1; then
26650 echo "$as_me:$LINENO: checking for Xinerama" >&5
26651 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
26652
26653 ac_find_libraries=
26654 for ac_dir in $SEARCH_LIB /usr/lib;
26655 do
26656 for ac_extension in a so sl dylib; do
26657 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26658 ac_find_libraries=$ac_dir
26659 break 2
26660 fi
26661 done
26662 done
26663
26664 if test "$ac_find_libraries" != "" ; then
26665
26666 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26667 result=$?
26668 if test $result = 0; then
26669 ac_path_to_link=""
26670 else
26671 ac_path_to_link=" -L$ac_find_libraries"
26672 fi
26673
26674 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26675 LDFLAGS="$LDFLAGS $ac_path_to_link"
26676 fi
26677 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
26678 echo "$as_me:$LINENO: result: yes" >&5
26679 echo "${ECHO_T}yes" >&6
26680
26681 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
26682 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
26683
26684 ac_find_libraries=
26685 for ac_dir in $SEARCH_LIB /usr/lib;
26686 do
26687 for ac_extension in a so sl dylib; do
26688 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
26689 ac_find_libraries=$ac_dir
26690 break 2
26691 fi
26692 done
26693 done
26694
26695 if test "$ac_find_libraries" != "" ; then
26696 echo "$as_me:$LINENO: result: yes" >&5
26697 echo "${ECHO_T}yes" >&6
26698
26699 for ac_header in X11/extensions/xf86vmode.h
26700 do
26701 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26702 echo "$as_me:$LINENO: checking for $ac_header" >&5
26703 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26704 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26705 echo $ECHO_N "(cached) $ECHO_C" >&6
26706 else
26707 cat >conftest.$ac_ext <<_ACEOF
26708 /* confdefs.h. */
26709 _ACEOF
26710 cat confdefs.h >>conftest.$ac_ext
26711 cat >>conftest.$ac_ext <<_ACEOF
26712 /* end confdefs.h. */
26713
26714 #if HAVE_X11_XLIB_H
26715 #include <X11/Xlib.h>
26716 #endif
26717
26718
26719 #include <$ac_header>
26720 _ACEOF
26721 rm -f conftest.$ac_objext
26722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26723 (eval $ac_compile) 2>conftest.er1
26724 ac_status=$?
26725 grep -v '^ *+' conftest.er1 >conftest.err
26726 rm -f conftest.er1
26727 cat conftest.err >&5
26728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26729 (exit $ac_status); } &&
26730 { ac_try='test -z "$ac_c_werror_flag"
26731 || test ! -s conftest.err'
26732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26733 (eval $ac_try) 2>&5
26734 ac_status=$?
26735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26736 (exit $ac_status); }; } &&
26737 { ac_try='test -s conftest.$ac_objext'
26738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26739 (eval $ac_try) 2>&5
26740 ac_status=$?
26741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26742 (exit $ac_status); }; }; then
26743 eval "$as_ac_Header=yes"
26744 else
26745 echo "$as_me: failed program was:" >&5
26746 sed 's/^/| /' conftest.$ac_ext >&5
26747
26748 eval "$as_ac_Header=no"
26749 fi
26750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26751 fi
26752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26753 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26754 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26755 cat >>confdefs.h <<_ACEOF
26756 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26757 _ACEOF
26758
26759 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
26760
26761 fi
26762
26763 done
26764
26765 else
26766 echo "$as_me:$LINENO: result: no" >&5
26767 echo "${ECHO_T}no" >&6
26768 fi
26769
26770 else
26771 echo "$as_me:$LINENO: result: no" >&5
26772 echo "${ECHO_T}no" >&6
26773 { echo "$as_me:$LINENO: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&5
26774 echo "$as_me: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&2;}
26775 wxUSE_DISPLAY="no"
26776 fi
26777 fi
26778 fi
26779
26780
26781 USE_OPENGL=0
26782 if test "$wxUSE_OPENGL" = "yes"; then
26783 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
26784 OPENGL_LIBS="-framework OpenGL -framework AGL"
26785 elif test "$wxUSE_MSW" = 1; then
26786 OPENGL_LIBS="-lopengl32 -lglu32"
26787 else
26788
26789
26790 ac_find_includes=
26791 for ac_dir in $SEARCH_INCLUDE /usr/include;
26792 do
26793 if test -f "$ac_dir/GL/gl.h"; then
26794 ac_find_includes=$ac_dir
26795 break
26796 fi
26797 done
26798
26799 if test "$ac_find_includes" != "" ; then
26800 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26801 echo "${ECHO_T}found in $ac_find_includes" >&6
26802
26803 if test "x$ac_find_includes" = "x/usr/include"; then
26804 ac_path_to_include=""
26805 else
26806 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
26807 result=$?
26808 if test $result = 0; then
26809 ac_path_to_include=""
26810 else
26811 ac_path_to_include=" -I$ac_find_includes"
26812 fi
26813 fi
26814
26815 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
26816 fi
26817
26818 if test "${ac_cv_header_GL_gl_h+set}" = set; then
26819 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
26820 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
26821 if test "${ac_cv_header_GL_gl_h+set}" = set; then
26822 echo $ECHO_N "(cached) $ECHO_C" >&6
26823 fi
26824 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
26825 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
26826 else
26827 # Is the header compilable?
26828 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
26829 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
26830 cat >conftest.$ac_ext <<_ACEOF
26831 /* confdefs.h. */
26832 _ACEOF
26833 cat confdefs.h >>conftest.$ac_ext
26834 cat >>conftest.$ac_ext <<_ACEOF
26835 /* end confdefs.h. */
26836 $ac_includes_default
26837 #include <GL/gl.h>
26838 _ACEOF
26839 rm -f conftest.$ac_objext
26840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26841 (eval $ac_compile) 2>conftest.er1
26842 ac_status=$?
26843 grep -v '^ *+' conftest.er1 >conftest.err
26844 rm -f conftest.er1
26845 cat conftest.err >&5
26846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26847 (exit $ac_status); } &&
26848 { ac_try='test -z "$ac_c_werror_flag"
26849 || test ! -s conftest.err'
26850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26851 (eval $ac_try) 2>&5
26852 ac_status=$?
26853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26854 (exit $ac_status); }; } &&
26855 { ac_try='test -s conftest.$ac_objext'
26856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26857 (eval $ac_try) 2>&5
26858 ac_status=$?
26859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26860 (exit $ac_status); }; }; then
26861 ac_header_compiler=yes
26862 else
26863 echo "$as_me: failed program was:" >&5
26864 sed 's/^/| /' conftest.$ac_ext >&5
26865
26866 ac_header_compiler=no
26867 fi
26868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26869 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26870 echo "${ECHO_T}$ac_header_compiler" >&6
26871
26872 # Is the header present?
26873 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
26874 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
26875 cat >conftest.$ac_ext <<_ACEOF
26876 /* confdefs.h. */
26877 _ACEOF
26878 cat confdefs.h >>conftest.$ac_ext
26879 cat >>conftest.$ac_ext <<_ACEOF
26880 /* end confdefs.h. */
26881 #include <GL/gl.h>
26882 _ACEOF
26883 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26884 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26885 ac_status=$?
26886 grep -v '^ *+' conftest.er1 >conftest.err
26887 rm -f conftest.er1
26888 cat conftest.err >&5
26889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26890 (exit $ac_status); } >/dev/null; then
26891 if test -s conftest.err; then
26892 ac_cpp_err=$ac_c_preproc_warn_flag
26893 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26894 else
26895 ac_cpp_err=
26896 fi
26897 else
26898 ac_cpp_err=yes
26899 fi
26900 if test -z "$ac_cpp_err"; then
26901 ac_header_preproc=yes
26902 else
26903 echo "$as_me: failed program was:" >&5
26904 sed 's/^/| /' conftest.$ac_ext >&5
26905
26906 ac_header_preproc=no
26907 fi
26908 rm -f conftest.err conftest.$ac_ext
26909 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26910 echo "${ECHO_T}$ac_header_preproc" >&6
26911
26912 # So? What about this header?
26913 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26914 yes:no: )
26915 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
26916 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26917 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
26918 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
26919 ac_header_preproc=yes
26920 ;;
26921 no:yes:* )
26922 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
26923 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
26924 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
26925 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
26926 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
26927 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
26928 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
26929 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
26930 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
26931 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
26932 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
26933 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
26934 (
26935 cat <<\_ASBOX
26936 ## ----------------------------------------- ##
26937 ## Report this to wx-dev@lists.wxwindows.org ##
26938 ## ----------------------------------------- ##
26939 _ASBOX
26940 ) |
26941 sed "s/^/$as_me: WARNING: /" >&2
26942 ;;
26943 esac
26944 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
26945 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
26946 if test "${ac_cv_header_GL_gl_h+set}" = set; then
26947 echo $ECHO_N "(cached) $ECHO_C" >&6
26948 else
26949 ac_cv_header_GL_gl_h=$ac_header_preproc
26950 fi
26951 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
26952 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
26953
26954 fi
26955 if test $ac_cv_header_GL_gl_h = yes; then
26956
26957 found_gl=0
26958
26959 echo "$as_me:$LINENO: checking for -lGL" >&5
26960 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
26961
26962 ac_find_libraries=
26963 for ac_dir in $SEARCH_LIB /usr/lib;
26964 do
26965 for ac_extension in a so sl dylib; do
26966 if test -f "$ac_dir/libGL.$ac_extension"; then
26967 ac_find_libraries=$ac_dir
26968 break 2
26969 fi
26970 done
26971 done
26972
26973 if test "$ac_find_libraries" != "" ; then
26974
26975 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26976 result=$?
26977 if test $result = 0; then
26978 ac_path_to_link=""
26979 else
26980 ac_path_to_link=" -L$ac_find_libraries"
26981 fi
26982
26983 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26984 LDFLAGS_GL="$ac_path_to_link"
26985 fi
26986
26987
26988 ac_find_libraries=
26989 for ac_dir in $SEARCH_LIB /usr/lib;
26990 do
26991 for ac_extension in a so sl dylib; do
26992 if test -f "$ac_dir/libGLU.$ac_extension"; then
26993 ac_find_libraries=$ac_dir
26994 break 2
26995 fi
26996 done
26997 done
26998
26999 if test "$ac_find_libraries" != "" ; then
27000
27001 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27002 result=$?
27003 if test $result = 0; then
27004 ac_path_to_link=""
27005 else
27006 ac_path_to_link=" -L$ac_find_libraries"
27007 fi
27008
27009 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27010 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27011 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
27012 fi
27013
27014 found_gl=1
27015 OPENGL_LIBS="-lGL -lGLU"
27016 echo "$as_me:$LINENO: result: yes" >&5
27017 echo "${ECHO_T}yes" >&6
27018 fi
27019 fi
27020
27021 if test "$found_gl" != 1; then
27022 echo "$as_me:$LINENO: result: no" >&5
27023 echo "${ECHO_T}no" >&6
27024 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27025 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27026
27027 ac_find_libraries=
27028 for ac_dir in $SEARCH_LIB /usr/lib;
27029 do
27030 for ac_extension in a so sl dylib; do
27031 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27032 ac_find_libraries=$ac_dir
27033 break 2
27034 fi
27035 done
27036 done
27037
27038 if test "$ac_find_libraries" != "" ; then
27039
27040 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27041 result=$?
27042 if test $result = 0; then
27043 ac_path_to_link=""
27044 else
27045 ac_path_to_link=" -L$ac_find_libraries"
27046 fi
27047
27048 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
27049 OPENGL_LIBS="-lMesaGL -lMesaGLU"
27050 echo "$as_me:$LINENO: result: yes" >&5
27051 echo "${ECHO_T}yes" >&6
27052 else
27053 echo "$as_me:$LINENO: result: no" >&5
27054 echo "${ECHO_T}no" >&6
27055 fi
27056 fi
27057
27058 fi
27059
27060
27061
27062 if test "x$OPENGL_LIBS" = "x"; then
27063 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27064 echo "$as_me: error: OpenGL libraries not available" >&2;}
27065 { (exit 1); exit 1; }; }
27066 fi
27067 fi
27068
27069 if test "$wxUSE_OPENGL" = "yes"; then
27070 USE_OPENGL=1
27071 cat >>confdefs.h <<\_ACEOF
27072 #define wxUSE_OPENGL 1
27073 _ACEOF
27074
27075 cat >>confdefs.h <<\_ACEOF
27076 #define wxUSE_GLCANVAS 1
27077 _ACEOF
27078
27079 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27080 fi
27081 fi
27082
27083 if test -z "$TOOLKIT_VPATH" ; then
27084 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
27085 fi
27086
27087 if test -n "$TOOLKIT" ; then
27088 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27089 fi
27090
27091 UNICODE=0
27092 lib_unicode_suffix=
27093 if test "$wxUSE_UNICODE" = "yes"; then
27094 lib_unicode_suffix=u
27095 UNICODE=1
27096 fi
27097
27098 lib_debug_suffix=
27099 DEBUG_FLAG=0
27100 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27101 lib_debug_suffix=d
27102 DEBUG_FLAG=1
27103 fi
27104
27105 DEBUG_INFO=0
27106 if test "$wxUSE_DEBUG_INFO" = "yes"; then
27107 DEBUG_INFO=1
27108 fi
27109
27110 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27111
27112 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
27113 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
27114
27115 if test "$cross_compiling" = "yes"; then
27116 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
27117 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
27118 HOST_SUFFIX="-${host_alias}"
27119 fi
27120
27121 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
27122 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
27123 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
27124 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
27125
27126 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27127 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27128
27129 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
27130 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
27131 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
27132 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27133
27134 case "${host}" in
27135 *-*-cygwin* | *-*-mingw32* )
27136 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
27137 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27138 ;;
27139
27140 *-*-darwin* )
27141
27142 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27143 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27144
27145 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
27146 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
27147 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
27148 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27149
27150 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27151 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
27152 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
27153 fi
27154 ;;
27155 esac
27156
27157 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
27158 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
27159
27160 WXCONFIG_LIBS="-l${WX_LIBRARY}"
27161 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
27162
27163 if test "$wxUSE_OPENGL" = "yes"; then
27164 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
27165 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
27166 fi
27167
27168
27169
27170 if test "$wxUSE_SHARED" = "yes"; then
27171 case "${host}" in
27172 *-pc-os2_emx | *-pc-os2-emx | \
27173 *-pc-msdosdjgpp )
27174 wxUSE_SHARED=no
27175 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27176 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27177 ;;
27178 esac
27179 fi
27180
27181 SHARED=0
27182 if test "$wxUSE_SHARED" = "yes"; then
27183 SHARED=1
27184
27185
27186 found_versioning=no
27187
27188
27189 if test $found_versioning = no ; then
27190 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27191 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27192 if test "${wx_cv_version_script+set}" = set; then
27193 echo $ECHO_N "(cached) $ECHO_C" >&6
27194 else
27195
27196 echo "VER_1 { *; };" >conftest.sym
27197 echo "int main() { return 0; }" >conftest.cpp
27198
27199 if { ac_try='
27200 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27201 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27203 (eval $ac_try) 2>&5
27204 ac_status=$?
27205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27206 (exit $ac_status); }; } ; then
27207 if test -s conftest.stderr ; then
27208 wx_cv_version_script=no
27209 else
27210 wx_cv_version_script=yes
27211 fi
27212 else
27213 wx_cv_version_script=no
27214 fi
27215 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27216
27217 fi
27218 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27219 echo "${ECHO_T}$wx_cv_version_script" >&6
27220 if test $wx_cv_version_script = yes ; then
27221 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
27222 fi
27223 fi
27224
27225
27226 case "${host}" in
27227 *-*-linux* | *-*-gnu* )
27228 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
27229 ;;
27230
27231 *-*-solaris2* )
27232 if test "$GCC" = yes ; then
27233 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
27234
27235 saveLdflags="$LDFLAGS"
27236 LDFLAGS="$saveLdflags -Wl,-rpath,/"
27237 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27238 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27239 cat >conftest.$ac_ext <<_ACEOF
27240 /* confdefs.h. */
27241 _ACEOF
27242 cat confdefs.h >>conftest.$ac_ext
27243 cat >>conftest.$ac_ext <<_ACEOF
27244 /* end confdefs.h. */
27245
27246 int
27247 main ()
27248 {
27249
27250 ;
27251 return 0;
27252 }
27253 _ACEOF
27254 rm -f conftest.$ac_objext conftest$ac_exeext
27255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27256 (eval $ac_link) 2>conftest.er1
27257 ac_status=$?
27258 grep -v '^ *+' conftest.er1 >conftest.err
27259 rm -f conftest.er1
27260 cat conftest.err >&5
27261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27262 (exit $ac_status); } &&
27263 { ac_try='test -z "$ac_c_werror_flag"
27264 || test ! -s conftest.err'
27265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27266 (eval $ac_try) 2>&5
27267 ac_status=$?
27268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27269 (exit $ac_status); }; } &&
27270 { ac_try='test -s conftest$ac_exeext'
27271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27272 (eval $ac_try) 2>&5
27273 ac_status=$?
27274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27275 (exit $ac_status); }; }; then
27276
27277 echo "$as_me:$LINENO: result: yes" >&5
27278 echo "${ECHO_T}yes" >&6
27279 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
27280
27281 else
27282 echo "$as_me: failed program was:" >&5
27283 sed 's/^/| /' conftest.$ac_ext >&5
27284
27285
27286 echo "$as_me:$LINENO: result: no" >&5
27287 echo "${ECHO_T}no" >&6
27288 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27289 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27290 LDFLAGS="$saveLdflags -Wl,-R,/"
27291 cat >conftest.$ac_ext <<_ACEOF
27292 /* confdefs.h. */
27293 _ACEOF
27294 cat confdefs.h >>conftest.$ac_ext
27295 cat >>conftest.$ac_ext <<_ACEOF
27296 /* end confdefs.h. */
27297
27298 int
27299 main ()
27300 {
27301
27302 ;
27303 return 0;
27304 }
27305 _ACEOF
27306 rm -f conftest.$ac_objext conftest$ac_exeext
27307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27308 (eval $ac_link) 2>conftest.er1
27309 ac_status=$?
27310 grep -v '^ *+' conftest.er1 >conftest.err
27311 rm -f conftest.er1
27312 cat conftest.err >&5
27313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27314 (exit $ac_status); } &&
27315 { ac_try='test -z "$ac_c_werror_flag"
27316 || test ! -s conftest.err'
27317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27318 (eval $ac_try) 2>&5
27319 ac_status=$?
27320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27321 (exit $ac_status); }; } &&
27322 { ac_try='test -s conftest$ac_exeext'
27323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27324 (eval $ac_try) 2>&5
27325 ac_status=$?
27326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27327 (exit $ac_status); }; }; then
27328
27329 echo "$as_me:$LINENO: result: yes" >&5
27330 echo "${ECHO_T}yes" >&6
27331 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
27332 else
27333 echo "$as_me: failed program was:" >&5
27334 sed 's/^/| /' conftest.$ac_ext >&5
27335
27336
27337 echo "$as_me:$LINENO: result: no" >&5
27338 echo "${ECHO_T}no" >&6
27339
27340 fi
27341 rm -f conftest.err conftest.$ac_objext \
27342 conftest$ac_exeext conftest.$ac_ext
27343
27344 fi
27345 rm -f conftest.err conftest.$ac_objext \
27346 conftest$ac_exeext conftest.$ac_ext
27347 LDFLAGS="$saveLdflags"
27348 else
27349 SHARED_LD="${CXX} -G -o"
27350 PIC_FLAG="-KPIC"
27351 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
27352 fi
27353 ;;
27354
27355 powerpc-*-darwin* )
27356 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
27357 cat <<EOF >change-install-names
27358 #!/bin/sh
27359 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
27360 inst_cmd="install_name_tool "
27361 for i in \${libnames} ; do
27362 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
27363 done
27364 \${inst_cmd} \${3}
27365 EOF
27366 chmod +x change-install-names
27367 ;;
27368
27369 esac
27370
27371 if test "x$WX_TARGET_LIBRARY" = "x"; then
27372 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
27373 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
27374 fi
27375
27376 WX_TARGET_LIBRARY_TYPE="so"
27377 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
27378 fi
27379
27380 if test "$wxUSE_SHARED" = "no"; then
27381
27382 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
27383 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
27384 fi
27385
27386 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
27387 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
27388 fi
27389
27390 if test "$wxUSE_OPENGL" = "yes"; then
27391 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
27392 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
27393 else
27394 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
27395 fi
27396
27397 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
27398 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
27399
27400 WX_TARGET_LIBRARY_TYPE="a"
27401 INSTALL_LIBRARY='$(INSTALL_DATA)'
27402
27403 STATIC_FLAG="yes"
27404 else
27405 STATIC_FLAG="no"
27406 fi
27407
27408 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
27409 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
27410 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
27411 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
27412
27413 # Extract the first word of "Rez", so it can be a program name with args.
27414 set dummy Rez; ac_word=$2
27415 echo "$as_me:$LINENO: checking for $ac_word" >&5
27416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27417 if test "${ac_cv_prog_RESCOMP+set}" = set; then
27418 echo $ECHO_N "(cached) $ECHO_C" >&6
27419 else
27420 if test -n "$RESCOMP"; then
27421 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
27422 else
27423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27424 for as_dir in $PATH
27425 do
27426 IFS=$as_save_IFS
27427 test -z "$as_dir" && as_dir=.
27428 for ac_exec_ext in '' $ac_executable_extensions; do
27429 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27430 ac_cv_prog_RESCOMP="Rez"
27431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27432 break 2
27433 fi
27434 done
27435 done
27436
27437 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
27438 fi
27439 fi
27440 RESCOMP=$ac_cv_prog_RESCOMP
27441 if test -n "$RESCOMP"; then
27442 echo "$as_me:$LINENO: result: $RESCOMP" >&5
27443 echo "${ECHO_T}$RESCOMP" >&6
27444 else
27445 echo "$as_me:$LINENO: result: no" >&5
27446 echo "${ECHO_T}no" >&6
27447 fi
27448
27449 # Extract the first word of "DeRez", so it can be a program name with args.
27450 set dummy DeRez; ac_word=$2
27451 echo "$as_me:$LINENO: checking for $ac_word" >&5
27452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27453 if test "${ac_cv_prog_DEREZ+set}" = set; then
27454 echo $ECHO_N "(cached) $ECHO_C" >&6
27455 else
27456 if test -n "$DEREZ"; then
27457 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
27458 else
27459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27460 for as_dir in $PATH
27461 do
27462 IFS=$as_save_IFS
27463 test -z "$as_dir" && as_dir=.
27464 for ac_exec_ext in '' $ac_executable_extensions; do
27465 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27466 ac_cv_prog_DEREZ="DeRez"
27467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27468 break 2
27469 fi
27470 done
27471 done
27472
27473 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
27474 fi
27475 fi
27476 DEREZ=$ac_cv_prog_DEREZ
27477 if test -n "$DEREZ"; then
27478 echo "$as_me:$LINENO: result: $DEREZ" >&5
27479 echo "${ECHO_T}$DEREZ" >&6
27480 else
27481 echo "$as_me:$LINENO: result: no" >&5
27482 echo "${ECHO_T}no" >&6
27483 fi
27484
27485 # Extract the first word of "SetFile", so it can be a program name with args.
27486 set dummy SetFile; ac_word=$2
27487 echo "$as_me:$LINENO: checking for $ac_word" >&5
27488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27489 if test "${ac_cv_prog_SETFILE+set}" = set; then
27490 echo $ECHO_N "(cached) $ECHO_C" >&6
27491 else
27492 if test -n "$SETFILE"; then
27493 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
27494 else
27495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27496 for as_dir in $PATH
27497 do
27498 IFS=$as_save_IFS
27499 test -z "$as_dir" && as_dir=.
27500 for ac_exec_ext in '' $ac_executable_extensions; do
27501 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27502 ac_cv_prog_SETFILE="SetFile"
27503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27504 break 2
27505 fi
27506 done
27507 done
27508
27509 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
27510 fi
27511 fi
27512 SETFILE=$ac_cv_prog_SETFILE
27513 if test -n "$SETFILE"; then
27514 echo "$as_me:$LINENO: result: $SETFILE" >&5
27515 echo "${ECHO_T}$SETFILE" >&6
27516 else
27517 echo "$as_me:$LINENO: result: no" >&5
27518 echo "${ECHO_T}no" >&6
27519 fi
27520
27521
27522 MACSETFILE="\$(SETFILE)"
27523
27524 if test "$wxUSE_MAC" = 1; then
27525 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
27526
27527 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27528 else
27529 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
27530 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27531 fi
27532 else
27533 MACSETFILE="@#"
27534 MACRESWXCONFIG="#"
27535
27536 if test "$wxUSE_PM" = 1; then
27537 MACRESCOMP="emxbind -ep"
27538 else
27539 MACRESCOMP="@#"
27540 fi
27541 fi
27542
27543
27544
27545 echo "$as_me:$LINENO: checking for mode_t" >&5
27546 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
27547 if test "${ac_cv_type_mode_t+set}" = set; then
27548 echo $ECHO_N "(cached) $ECHO_C" >&6
27549 else
27550 cat >conftest.$ac_ext <<_ACEOF
27551 /* confdefs.h. */
27552 _ACEOF
27553 cat confdefs.h >>conftest.$ac_ext
27554 cat >>conftest.$ac_ext <<_ACEOF
27555 /* end confdefs.h. */
27556 $ac_includes_default
27557 int
27558 main ()
27559 {
27560 if ((mode_t *) 0)
27561 return 0;
27562 if (sizeof (mode_t))
27563 return 0;
27564 ;
27565 return 0;
27566 }
27567 _ACEOF
27568 rm -f conftest.$ac_objext
27569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27570 (eval $ac_compile) 2>conftest.er1
27571 ac_status=$?
27572 grep -v '^ *+' conftest.er1 >conftest.err
27573 rm -f conftest.er1
27574 cat conftest.err >&5
27575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27576 (exit $ac_status); } &&
27577 { ac_try='test -z "$ac_c_werror_flag"
27578 || test ! -s conftest.err'
27579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27580 (eval $ac_try) 2>&5
27581 ac_status=$?
27582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27583 (exit $ac_status); }; } &&
27584 { ac_try='test -s conftest.$ac_objext'
27585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27586 (eval $ac_try) 2>&5
27587 ac_status=$?
27588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27589 (exit $ac_status); }; }; then
27590 ac_cv_type_mode_t=yes
27591 else
27592 echo "$as_me: failed program was:" >&5
27593 sed 's/^/| /' conftest.$ac_ext >&5
27594
27595 ac_cv_type_mode_t=no
27596 fi
27597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27598 fi
27599 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
27600 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
27601 if test $ac_cv_type_mode_t = yes; then
27602 :
27603 else
27604
27605 cat >>confdefs.h <<_ACEOF
27606 #define mode_t int
27607 _ACEOF
27608
27609 fi
27610
27611 echo "$as_me:$LINENO: checking for off_t" >&5
27612 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
27613 if test "${ac_cv_type_off_t+set}" = set; then
27614 echo $ECHO_N "(cached) $ECHO_C" >&6
27615 else
27616 cat >conftest.$ac_ext <<_ACEOF
27617 /* confdefs.h. */
27618 _ACEOF
27619 cat confdefs.h >>conftest.$ac_ext
27620 cat >>conftest.$ac_ext <<_ACEOF
27621 /* end confdefs.h. */
27622 $ac_includes_default
27623 int
27624 main ()
27625 {
27626 if ((off_t *) 0)
27627 return 0;
27628 if (sizeof (off_t))
27629 return 0;
27630 ;
27631 return 0;
27632 }
27633 _ACEOF
27634 rm -f conftest.$ac_objext
27635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27636 (eval $ac_compile) 2>conftest.er1
27637 ac_status=$?
27638 grep -v '^ *+' conftest.er1 >conftest.err
27639 rm -f conftest.er1
27640 cat conftest.err >&5
27641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27642 (exit $ac_status); } &&
27643 { ac_try='test -z "$ac_c_werror_flag"
27644 || test ! -s conftest.err'
27645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27646 (eval $ac_try) 2>&5
27647 ac_status=$?
27648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27649 (exit $ac_status); }; } &&
27650 { ac_try='test -s conftest.$ac_objext'
27651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27652 (eval $ac_try) 2>&5
27653 ac_status=$?
27654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27655 (exit $ac_status); }; }; then
27656 ac_cv_type_off_t=yes
27657 else
27658 echo "$as_me: failed program was:" >&5
27659 sed 's/^/| /' conftest.$ac_ext >&5
27660
27661 ac_cv_type_off_t=no
27662 fi
27663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27664 fi
27665 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
27666 echo "${ECHO_T}$ac_cv_type_off_t" >&6
27667 if test $ac_cv_type_off_t = yes; then
27668 :
27669 else
27670
27671 cat >>confdefs.h <<_ACEOF
27672 #define off_t long
27673 _ACEOF
27674
27675 fi
27676
27677 echo "$as_me:$LINENO: checking for pid_t" >&5
27678 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
27679 if test "${ac_cv_type_pid_t+set}" = set; then
27680 echo $ECHO_N "(cached) $ECHO_C" >&6
27681 else
27682 cat >conftest.$ac_ext <<_ACEOF
27683 /* confdefs.h. */
27684 _ACEOF
27685 cat confdefs.h >>conftest.$ac_ext
27686 cat >>conftest.$ac_ext <<_ACEOF
27687 /* end confdefs.h. */
27688 $ac_includes_default
27689 int
27690 main ()
27691 {
27692 if ((pid_t *) 0)
27693 return 0;
27694 if (sizeof (pid_t))
27695 return 0;
27696 ;
27697 return 0;
27698 }
27699 _ACEOF
27700 rm -f conftest.$ac_objext
27701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27702 (eval $ac_compile) 2>conftest.er1
27703 ac_status=$?
27704 grep -v '^ *+' conftest.er1 >conftest.err
27705 rm -f conftest.er1
27706 cat conftest.err >&5
27707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27708 (exit $ac_status); } &&
27709 { ac_try='test -z "$ac_c_werror_flag"
27710 || test ! -s conftest.err'
27711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27712 (eval $ac_try) 2>&5
27713 ac_status=$?
27714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27715 (exit $ac_status); }; } &&
27716 { ac_try='test -s conftest.$ac_objext'
27717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27718 (eval $ac_try) 2>&5
27719 ac_status=$?
27720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27721 (exit $ac_status); }; }; then
27722 ac_cv_type_pid_t=yes
27723 else
27724 echo "$as_me: failed program was:" >&5
27725 sed 's/^/| /' conftest.$ac_ext >&5
27726
27727 ac_cv_type_pid_t=no
27728 fi
27729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27730 fi
27731 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
27732 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
27733 if test $ac_cv_type_pid_t = yes; then
27734 :
27735 else
27736
27737 cat >>confdefs.h <<_ACEOF
27738 #define pid_t int
27739 _ACEOF
27740
27741 fi
27742
27743 echo "$as_me:$LINENO: checking for size_t" >&5
27744 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
27745 if test "${ac_cv_type_size_t+set}" = set; then
27746 echo $ECHO_N "(cached) $ECHO_C" >&6
27747 else
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 $ac_includes_default
27755 int
27756 main ()
27757 {
27758 if ((size_t *) 0)
27759 return 0;
27760 if (sizeof (size_t))
27761 return 0;
27762 ;
27763 return 0;
27764 }
27765 _ACEOF
27766 rm -f conftest.$ac_objext
27767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27768 (eval $ac_compile) 2>conftest.er1
27769 ac_status=$?
27770 grep -v '^ *+' conftest.er1 >conftest.err
27771 rm -f conftest.er1
27772 cat conftest.err >&5
27773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27774 (exit $ac_status); } &&
27775 { ac_try='test -z "$ac_c_werror_flag"
27776 || test ! -s conftest.err'
27777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27778 (eval $ac_try) 2>&5
27779 ac_status=$?
27780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27781 (exit $ac_status); }; } &&
27782 { ac_try='test -s conftest.$ac_objext'
27783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27784 (eval $ac_try) 2>&5
27785 ac_status=$?
27786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27787 (exit $ac_status); }; }; then
27788 ac_cv_type_size_t=yes
27789 else
27790 echo "$as_me: failed program was:" >&5
27791 sed 's/^/| /' conftest.$ac_ext >&5
27792
27793 ac_cv_type_size_t=no
27794 fi
27795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27796 fi
27797 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
27798 echo "${ECHO_T}$ac_cv_type_size_t" >&6
27799 if test $ac_cv_type_size_t = yes; then
27800 :
27801 else
27802
27803 cat >>confdefs.h <<_ACEOF
27804 #define size_t unsigned
27805 _ACEOF
27806
27807 fi
27808
27809 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
27810 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
27811 if test "${ac_cv_type_uid_t+set}" = set; then
27812 echo $ECHO_N "(cached) $ECHO_C" >&6
27813 else
27814 cat >conftest.$ac_ext <<_ACEOF
27815 /* confdefs.h. */
27816 _ACEOF
27817 cat confdefs.h >>conftest.$ac_ext
27818 cat >>conftest.$ac_ext <<_ACEOF
27819 /* end confdefs.h. */
27820 #include <sys/types.h>
27821
27822 _ACEOF
27823 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
27824 $EGREP "uid_t" >/dev/null 2>&1; then
27825 ac_cv_type_uid_t=yes
27826 else
27827 ac_cv_type_uid_t=no
27828 fi
27829 rm -f conftest*
27830
27831 fi
27832 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
27833 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
27834 if test $ac_cv_type_uid_t = no; then
27835
27836 cat >>confdefs.h <<\_ACEOF
27837 #define uid_t int
27838 _ACEOF
27839
27840
27841 cat >>confdefs.h <<\_ACEOF
27842 #define gid_t int
27843 _ACEOF
27844
27845 fi
27846
27847
27848
27849
27850 ac_ext=cc
27851 ac_cpp='$CXXCPP $CPPFLAGS'
27852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27855
27856 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
27857 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
27858 if test "${wx_cv_size_t_is_uint+set}" = set; then
27859 echo $ECHO_N "(cached) $ECHO_C" >&6
27860 else
27861
27862 cat >conftest.$ac_ext <<_ACEOF
27863 /* confdefs.h. */
27864 _ACEOF
27865 cat confdefs.h >>conftest.$ac_ext
27866 cat >>conftest.$ac_ext <<_ACEOF
27867 /* end confdefs.h. */
27868 #include <stddef.h>
27869 int
27870 main ()
27871 {
27872
27873 return 0; }
27874
27875 struct Foo { void foo(size_t); void foo(unsigned int); };
27876
27877 int bar() {
27878
27879 ;
27880 return 0;
27881 }
27882 _ACEOF
27883 rm -f conftest.$ac_objext
27884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27885 (eval $ac_compile) 2>conftest.er1
27886 ac_status=$?
27887 grep -v '^ *+' conftest.er1 >conftest.err
27888 rm -f conftest.er1
27889 cat conftest.err >&5
27890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27891 (exit $ac_status); } &&
27892 { ac_try='test -z "$ac_cxx_werror_flag"
27893 || test ! -s conftest.err'
27894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27895 (eval $ac_try) 2>&5
27896 ac_status=$?
27897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27898 (exit $ac_status); }; } &&
27899 { ac_try='test -s conftest.$ac_objext'
27900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27901 (eval $ac_try) 2>&5
27902 ac_status=$?
27903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27904 (exit $ac_status); }; }; then
27905 wx_cv_size_t_is_uint=no
27906 else
27907 echo "$as_me: failed program was:" >&5
27908 sed 's/^/| /' conftest.$ac_ext >&5
27909
27910 wx_cv_size_t_is_uint=yes
27911
27912 fi
27913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27914
27915
27916 fi
27917 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
27918 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
27919
27920 if test "$wx_cv_size_t_is_uint" = "yes"; then
27921 cat >>confdefs.h <<\_ACEOF
27922 #define wxSIZE_T_IS_UINT 1
27923 _ACEOF
27924
27925 else
27926 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
27927 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
27928 if test "${wx_cv_size_t_is_ulong+set}" = set; then
27929 echo $ECHO_N "(cached) $ECHO_C" >&6
27930 else
27931 cat >conftest.$ac_ext <<_ACEOF
27932 /* confdefs.h. */
27933 _ACEOF
27934 cat confdefs.h >>conftest.$ac_ext
27935 cat >>conftest.$ac_ext <<_ACEOF
27936 /* end confdefs.h. */
27937 #include <stddef.h>
27938 int
27939 main ()
27940 {
27941
27942 return 0; }
27943
27944 struct Foo { void foo(size_t); void foo(unsigned long); };
27945
27946 int bar() {
27947
27948 ;
27949 return 0;
27950 }
27951 _ACEOF
27952 rm -f conftest.$ac_objext
27953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27954 (eval $ac_compile) 2>conftest.er1
27955 ac_status=$?
27956 grep -v '^ *+' conftest.er1 >conftest.err
27957 rm -f conftest.er1
27958 cat conftest.err >&5
27959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27960 (exit $ac_status); } &&
27961 { ac_try='test -z "$ac_cxx_werror_flag"
27962 || test ! -s conftest.err'
27963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27964 (eval $ac_try) 2>&5
27965 ac_status=$?
27966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27967 (exit $ac_status); }; } &&
27968 { ac_try='test -s conftest.$ac_objext'
27969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27970 (eval $ac_try) 2>&5
27971 ac_status=$?
27972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27973 (exit $ac_status); }; }; then
27974 wx_cv_size_t_is_ulong=no
27975 else
27976 echo "$as_me: failed program was:" >&5
27977 sed 's/^/| /' conftest.$ac_ext >&5
27978
27979 wx_cv_size_t_is_ulong=yes
27980
27981 fi
27982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27983
27984 fi
27985 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
27986 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
27987
27988 if test "$wx_cv_size_t_is_ulong" = "yes"; then
27989 cat >>confdefs.h <<\_ACEOF
27990 #define wxSIZE_T_IS_ULONG 1
27991 _ACEOF
27992
27993 fi
27994 fi
27995
27996 ac_ext=c
27997 ac_cpp='$CPP $CPPFLAGS'
27998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28001
28002
28003
28004 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28005 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28006 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28007 echo $ECHO_N "(cached) $ECHO_C" >&6
28008 else
28009
28010 cat >conftest.$ac_ext <<_ACEOF
28011 /* confdefs.h. */
28012 _ACEOF
28013 cat confdefs.h >>conftest.$ac_ext
28014 cat >>conftest.$ac_ext <<_ACEOF
28015 /* end confdefs.h. */
28016 #include <pwd.h>
28017 int
28018 main ()
28019 {
28020
28021 char *p;
28022 struct passwd *pw;
28023 p = pw->pw_gecos;
28024
28025 ;
28026 return 0;
28027 }
28028 _ACEOF
28029 rm -f conftest.$ac_objext
28030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28031 (eval $ac_compile) 2>conftest.er1
28032 ac_status=$?
28033 grep -v '^ *+' conftest.er1 >conftest.err
28034 rm -f conftest.er1
28035 cat conftest.err >&5
28036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28037 (exit $ac_status); } &&
28038 { ac_try='test -z "$ac_c_werror_flag"
28039 || test ! -s conftest.err'
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); }; } &&
28045 { ac_try='test -s conftest.$ac_objext'
28046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28047 (eval $ac_try) 2>&5
28048 ac_status=$?
28049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28050 (exit $ac_status); }; }; then
28051
28052 wx_cv_struct_pw_gecos=yes
28053
28054 else
28055 echo "$as_me: failed program was:" >&5
28056 sed 's/^/| /' conftest.$ac_ext >&5
28057
28058
28059 wx_cv_struct_pw_gecos=no
28060
28061
28062 fi
28063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28064
28065
28066 fi
28067 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28068 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28069
28070 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28071 cat >>confdefs.h <<\_ACEOF
28072 #define HAVE_PW_GECOS 1
28073 _ACEOF
28074
28075 fi
28076
28077
28078 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28079 cat >>confdefs.h <<\_ACEOF
28080 #define wxUSE_WCHAR_T 1
28081 _ACEOF
28082
28083
28084 WCSLEN_FOUND=0
28085 WCHAR_LINK=
28086
28087 for ac_func in wcslen
28088 do
28089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28090 echo "$as_me:$LINENO: checking for $ac_func" >&5
28091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28092 if eval "test \"\${$as_ac_var+set}\" = set"; then
28093 echo $ECHO_N "(cached) $ECHO_C" >&6
28094 else
28095 cat >conftest.$ac_ext <<_ACEOF
28096 /* confdefs.h. */
28097 _ACEOF
28098 cat confdefs.h >>conftest.$ac_ext
28099 cat >>conftest.$ac_ext <<_ACEOF
28100 /* end confdefs.h. */
28101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28103 #define $ac_func innocuous_$ac_func
28104
28105 /* System header to define __stub macros and hopefully few prototypes,
28106 which can conflict with char $ac_func (); below.
28107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28108 <limits.h> exists even on freestanding compilers. */
28109
28110 #ifdef __STDC__
28111 # include <limits.h>
28112 #else
28113 # include <assert.h>
28114 #endif
28115
28116 #undef $ac_func
28117
28118 /* Override any gcc2 internal prototype to avoid an error. */
28119 #ifdef __cplusplus
28120 extern "C"
28121 {
28122 #endif
28123 /* We use char because int might match the return type of a gcc2
28124 builtin and then its argument prototype would still apply. */
28125 char $ac_func ();
28126 /* The GNU C library defines this for functions which it implements
28127 to always fail with ENOSYS. Some functions are actually named
28128 something starting with __ and the normal name is an alias. */
28129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28130 choke me
28131 #else
28132 char (*f) () = $ac_func;
28133 #endif
28134 #ifdef __cplusplus
28135 }
28136 #endif
28137
28138 int
28139 main ()
28140 {
28141 return f != $ac_func;
28142 ;
28143 return 0;
28144 }
28145 _ACEOF
28146 rm -f conftest.$ac_objext conftest$ac_exeext
28147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28148 (eval $ac_link) 2>conftest.er1
28149 ac_status=$?
28150 grep -v '^ *+' conftest.er1 >conftest.err
28151 rm -f conftest.er1
28152 cat conftest.err >&5
28153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28154 (exit $ac_status); } &&
28155 { ac_try='test -z "$ac_c_werror_flag"
28156 || test ! -s conftest.err'
28157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28158 (eval $ac_try) 2>&5
28159 ac_status=$?
28160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28161 (exit $ac_status); }; } &&
28162 { ac_try='test -s conftest$ac_exeext'
28163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28164 (eval $ac_try) 2>&5
28165 ac_status=$?
28166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28167 (exit $ac_status); }; }; then
28168 eval "$as_ac_var=yes"
28169 else
28170 echo "$as_me: failed program was:" >&5
28171 sed 's/^/| /' conftest.$ac_ext >&5
28172
28173 eval "$as_ac_var=no"
28174 fi
28175 rm -f conftest.err conftest.$ac_objext \
28176 conftest$ac_exeext conftest.$ac_ext
28177 fi
28178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28180 if test `eval echo '${'$as_ac_var'}'` = yes; then
28181 cat >>confdefs.h <<_ACEOF
28182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28183 _ACEOF
28184 WCSLEN_FOUND=1
28185 fi
28186 done
28187
28188
28189 if test "$WCSLEN_FOUND" = 0; then
28190 if test "$TOOLKIT" = "MSW"; then
28191 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28192 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28193 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28194 echo $ECHO_N "(cached) $ECHO_C" >&6
28195 else
28196 ac_check_lib_save_LIBS=$LIBS
28197 LIBS="-lmsvcrt $LIBS"
28198 cat >conftest.$ac_ext <<_ACEOF
28199 /* confdefs.h. */
28200 _ACEOF
28201 cat confdefs.h >>conftest.$ac_ext
28202 cat >>conftest.$ac_ext <<_ACEOF
28203 /* end confdefs.h. */
28204
28205 /* Override any gcc2 internal prototype to avoid an error. */
28206 #ifdef __cplusplus
28207 extern "C"
28208 #endif
28209 /* We use char because int might match the return type of a gcc2
28210 builtin and then its argument prototype would still apply. */
28211 char wcslen ();
28212 int
28213 main ()
28214 {
28215 wcslen ();
28216 ;
28217 return 0;
28218 }
28219 _ACEOF
28220 rm -f conftest.$ac_objext conftest$ac_exeext
28221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28222 (eval $ac_link) 2>conftest.er1
28223 ac_status=$?
28224 grep -v '^ *+' conftest.er1 >conftest.err
28225 rm -f conftest.er1
28226 cat conftest.err >&5
28227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28228 (exit $ac_status); } &&
28229 { ac_try='test -z "$ac_c_werror_flag"
28230 || test ! -s conftest.err'
28231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28232 (eval $ac_try) 2>&5
28233 ac_status=$?
28234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28235 (exit $ac_status); }; } &&
28236 { ac_try='test -s conftest$ac_exeext'
28237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28238 (eval $ac_try) 2>&5
28239 ac_status=$?
28240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28241 (exit $ac_status); }; }; then
28242 ac_cv_lib_msvcrt_wcslen=yes
28243 else
28244 echo "$as_me: failed program was:" >&5
28245 sed 's/^/| /' conftest.$ac_ext >&5
28246
28247 ac_cv_lib_msvcrt_wcslen=no
28248 fi
28249 rm -f conftest.err conftest.$ac_objext \
28250 conftest$ac_exeext conftest.$ac_ext
28251 LIBS=$ac_check_lib_save_LIBS
28252 fi
28253 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28254 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28255 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28256 WCHAR_OK=1
28257 fi
28258
28259 else
28260 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28261 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28262 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28263 echo $ECHO_N "(cached) $ECHO_C" >&6
28264 else
28265 ac_check_lib_save_LIBS=$LIBS
28266 LIBS="-lw $LIBS"
28267 cat >conftest.$ac_ext <<_ACEOF
28268 /* confdefs.h. */
28269 _ACEOF
28270 cat confdefs.h >>conftest.$ac_ext
28271 cat >>conftest.$ac_ext <<_ACEOF
28272 /* end confdefs.h. */
28273
28274 /* Override any gcc2 internal prototype to avoid an error. */
28275 #ifdef __cplusplus
28276 extern "C"
28277 #endif
28278 /* We use char because int might match the return type of a gcc2
28279 builtin and then its argument prototype would still apply. */
28280 char wcslen ();
28281 int
28282 main ()
28283 {
28284 wcslen ();
28285 ;
28286 return 0;
28287 }
28288 _ACEOF
28289 rm -f conftest.$ac_objext conftest$ac_exeext
28290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28291 (eval $ac_link) 2>conftest.er1
28292 ac_status=$?
28293 grep -v '^ *+' conftest.er1 >conftest.err
28294 rm -f conftest.er1
28295 cat conftest.err >&5
28296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28297 (exit $ac_status); } &&
28298 { ac_try='test -z "$ac_c_werror_flag"
28299 || test ! -s conftest.err'
28300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28301 (eval $ac_try) 2>&5
28302 ac_status=$?
28303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28304 (exit $ac_status); }; } &&
28305 { ac_try='test -s conftest$ac_exeext'
28306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28307 (eval $ac_try) 2>&5
28308 ac_status=$?
28309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28310 (exit $ac_status); }; }; then
28311 ac_cv_lib_w_wcslen=yes
28312 else
28313 echo "$as_me: failed program was:" >&5
28314 sed 's/^/| /' conftest.$ac_ext >&5
28315
28316 ac_cv_lib_w_wcslen=no
28317 fi
28318 rm -f conftest.err conftest.$ac_objext \
28319 conftest$ac_exeext conftest.$ac_ext
28320 LIBS=$ac_check_lib_save_LIBS
28321 fi
28322 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
28323 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
28324 if test $ac_cv_lib_w_wcslen = yes; then
28325
28326 WCHAR_LINK=" -lw"
28327 WCSLEN_FOUND=1
28328
28329 fi
28330
28331 fi
28332 fi
28333
28334 if test "$WCSLEN_FOUND" = 1; then
28335 cat >>confdefs.h <<\_ACEOF
28336 #define HAVE_WCSLEN 1
28337 _ACEOF
28338
28339 fi
28340
28341
28342 for ac_func in wcsrtombs
28343 do
28344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28345 echo "$as_me:$LINENO: checking for $ac_func" >&5
28346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28347 if eval "test \"\${$as_ac_var+set}\" = set"; then
28348 echo $ECHO_N "(cached) $ECHO_C" >&6
28349 else
28350 cat >conftest.$ac_ext <<_ACEOF
28351 /* confdefs.h. */
28352 _ACEOF
28353 cat confdefs.h >>conftest.$ac_ext
28354 cat >>conftest.$ac_ext <<_ACEOF
28355 /* end confdefs.h. */
28356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28358 #define $ac_func innocuous_$ac_func
28359
28360 /* System header to define __stub macros and hopefully few prototypes,
28361 which can conflict with char $ac_func (); below.
28362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28363 <limits.h> exists even on freestanding compilers. */
28364
28365 #ifdef __STDC__
28366 # include <limits.h>
28367 #else
28368 # include <assert.h>
28369 #endif
28370
28371 #undef $ac_func
28372
28373 /* Override any gcc2 internal prototype to avoid an error. */
28374 #ifdef __cplusplus
28375 extern "C"
28376 {
28377 #endif
28378 /* We use char because int might match the return type of a gcc2
28379 builtin and then its argument prototype would still apply. */
28380 char $ac_func ();
28381 /* The GNU C library defines this for functions which it implements
28382 to always fail with ENOSYS. Some functions are actually named
28383 something starting with __ and the normal name is an alias. */
28384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28385 choke me
28386 #else
28387 char (*f) () = $ac_func;
28388 #endif
28389 #ifdef __cplusplus
28390 }
28391 #endif
28392
28393 int
28394 main ()
28395 {
28396 return f != $ac_func;
28397 ;
28398 return 0;
28399 }
28400 _ACEOF
28401 rm -f conftest.$ac_objext conftest$ac_exeext
28402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28403 (eval $ac_link) 2>conftest.er1
28404 ac_status=$?
28405 grep -v '^ *+' conftest.er1 >conftest.err
28406 rm -f conftest.er1
28407 cat conftest.err >&5
28408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28409 (exit $ac_status); } &&
28410 { ac_try='test -z "$ac_c_werror_flag"
28411 || test ! -s conftest.err'
28412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28413 (eval $ac_try) 2>&5
28414 ac_status=$?
28415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28416 (exit $ac_status); }; } &&
28417 { ac_try='test -s conftest$ac_exeext'
28418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28419 (eval $ac_try) 2>&5
28420 ac_status=$?
28421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28422 (exit $ac_status); }; }; then
28423 eval "$as_ac_var=yes"
28424 else
28425 echo "$as_me: failed program was:" >&5
28426 sed 's/^/| /' conftest.$ac_ext >&5
28427
28428 eval "$as_ac_var=no"
28429 fi
28430 rm -f conftest.err conftest.$ac_objext \
28431 conftest$ac_exeext conftest.$ac_ext
28432 fi
28433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28435 if test `eval echo '${'$as_ac_var'}'` = yes; then
28436 cat >>confdefs.h <<_ACEOF
28437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28438 _ACEOF
28439
28440 fi
28441 done
28442
28443 else
28444 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
28445 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
28446 fi
28447
28448
28449
28450 ac_ext=cc
28451 ac_cpp='$CXXCPP $CPPFLAGS'
28452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28455
28456
28457
28458 for ac_func in vsnprintf
28459 do
28460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28461 echo "$as_me:$LINENO: checking for $ac_func" >&5
28462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28463 if eval "test \"\${$as_ac_var+set}\" = set"; then
28464 echo $ECHO_N "(cached) $ECHO_C" >&6
28465 else
28466 cat >conftest.$ac_ext <<_ACEOF
28467 /* confdefs.h. */
28468 _ACEOF
28469 cat confdefs.h >>conftest.$ac_ext
28470 cat >>conftest.$ac_ext <<_ACEOF
28471 /* end confdefs.h. */
28472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28474 #define $ac_func innocuous_$ac_func
28475
28476 /* System header to define __stub macros and hopefully few prototypes,
28477 which can conflict with char $ac_func (); below.
28478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28479 <limits.h> exists even on freestanding compilers. */
28480
28481 #ifdef __STDC__
28482 # include <limits.h>
28483 #else
28484 # include <assert.h>
28485 #endif
28486
28487 #undef $ac_func
28488
28489 /* Override any gcc2 internal prototype to avoid an error. */
28490 #ifdef __cplusplus
28491 extern "C"
28492 {
28493 #endif
28494 /* We use char because int might match the return type of a gcc2
28495 builtin and then its argument prototype would still apply. */
28496 char $ac_func ();
28497 /* The GNU C library defines this for functions which it implements
28498 to always fail with ENOSYS. Some functions are actually named
28499 something starting with __ and the normal name is an alias. */
28500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28501 choke me
28502 #else
28503 char (*f) () = $ac_func;
28504 #endif
28505 #ifdef __cplusplus
28506 }
28507 #endif
28508
28509 int
28510 main ()
28511 {
28512 return f != $ac_func;
28513 ;
28514 return 0;
28515 }
28516 _ACEOF
28517 rm -f conftest.$ac_objext conftest$ac_exeext
28518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28519 (eval $ac_link) 2>conftest.er1
28520 ac_status=$?
28521 grep -v '^ *+' conftest.er1 >conftest.err
28522 rm -f conftest.er1
28523 cat conftest.err >&5
28524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28525 (exit $ac_status); } &&
28526 { ac_try='test -z "$ac_cxx_werror_flag"
28527 || test ! -s conftest.err'
28528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28529 (eval $ac_try) 2>&5
28530 ac_status=$?
28531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28532 (exit $ac_status); }; } &&
28533 { ac_try='test -s conftest$ac_exeext'
28534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28535 (eval $ac_try) 2>&5
28536 ac_status=$?
28537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28538 (exit $ac_status); }; }; then
28539 eval "$as_ac_var=yes"
28540 else
28541 echo "$as_me: failed program was:" >&5
28542 sed 's/^/| /' conftest.$ac_ext >&5
28543
28544 eval "$as_ac_var=no"
28545 fi
28546 rm -f conftest.err conftest.$ac_objext \
28547 conftest$ac_exeext conftest.$ac_ext
28548 fi
28549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28550 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28551 if test `eval echo '${'$as_ac_var'}'` = yes; then
28552 cat >>confdefs.h <<_ACEOF
28553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28554 _ACEOF
28555
28556 fi
28557 done
28558
28559
28560 if test "$ac_cv_func_vsnprintf" = "yes"; then
28561 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
28562 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
28563 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
28564 echo $ECHO_N "(cached) $ECHO_C" >&6
28565 else
28566
28567 cat >conftest.$ac_ext <<_ACEOF
28568 /* confdefs.h. */
28569 _ACEOF
28570 cat confdefs.h >>conftest.$ac_ext
28571 cat >>conftest.$ac_ext <<_ACEOF
28572 /* end confdefs.h. */
28573
28574 #include <stdio.h>
28575 #include <stdarg.h>
28576
28577 int
28578 main ()
28579 {
28580
28581 char *buf;
28582 va_list ap;
28583 vsnprintf(buf, 10u, "%s", ap);
28584
28585 ;
28586 return 0;
28587 }
28588 _ACEOF
28589 rm -f conftest.$ac_objext
28590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28591 (eval $ac_compile) 2>conftest.er1
28592 ac_status=$?
28593 grep -v '^ *+' conftest.er1 >conftest.err
28594 rm -f conftest.er1
28595 cat conftest.err >&5
28596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28597 (exit $ac_status); } &&
28598 { ac_try='test -z "$ac_cxx_werror_flag"
28599 || test ! -s conftest.err'
28600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28601 (eval $ac_try) 2>&5
28602 ac_status=$?
28603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28604 (exit $ac_status); }; } &&
28605 { ac_try='test -s conftest.$ac_objext'
28606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28607 (eval $ac_try) 2>&5
28608 ac_status=$?
28609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28610 (exit $ac_status); }; }; then
28611 wx_cv_func_vsnprintf_decl=yes
28612 else
28613 echo "$as_me: failed program was:" >&5
28614 sed 's/^/| /' conftest.$ac_ext >&5
28615
28616 wx_cv_func_vsnprintf_decl=no
28617
28618 fi
28619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28620
28621
28622 fi
28623 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
28624 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
28625
28626 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
28627 cat >>confdefs.h <<\_ACEOF
28628 #define HAVE_VSNPRINTF_DECL 1
28629 _ACEOF
28630
28631 fi
28632 fi
28633
28634 if test "$wxUSE_UNICODE" = yes; then
28635
28636
28637
28638 for ac_func in fputwc wprintf vswprintf
28639 do
28640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28641 echo "$as_me:$LINENO: checking for $ac_func" >&5
28642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28643 if eval "test \"\${$as_ac_var+set}\" = set"; then
28644 echo $ECHO_N "(cached) $ECHO_C" >&6
28645 else
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28654 #define $ac_func innocuous_$ac_func
28655
28656 /* System header to define __stub macros and hopefully few prototypes,
28657 which can conflict with char $ac_func (); below.
28658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28659 <limits.h> exists even on freestanding compilers. */
28660
28661 #ifdef __STDC__
28662 # include <limits.h>
28663 #else
28664 # include <assert.h>
28665 #endif
28666
28667 #undef $ac_func
28668
28669 /* Override any gcc2 internal prototype to avoid an error. */
28670 #ifdef __cplusplus
28671 extern "C"
28672 {
28673 #endif
28674 /* We use char because int might match the return type of a gcc2
28675 builtin and then its argument prototype would still apply. */
28676 char $ac_func ();
28677 /* The GNU C library defines this for functions which it implements
28678 to always fail with ENOSYS. Some functions are actually named
28679 something starting with __ and the normal name is an alias. */
28680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28681 choke me
28682 #else
28683 char (*f) () = $ac_func;
28684 #endif
28685 #ifdef __cplusplus
28686 }
28687 #endif
28688
28689 int
28690 main ()
28691 {
28692 return f != $ac_func;
28693 ;
28694 return 0;
28695 }
28696 _ACEOF
28697 rm -f conftest.$ac_objext conftest$ac_exeext
28698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28699 (eval $ac_link) 2>conftest.er1
28700 ac_status=$?
28701 grep -v '^ *+' conftest.er1 >conftest.err
28702 rm -f conftest.er1
28703 cat conftest.err >&5
28704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28705 (exit $ac_status); } &&
28706 { ac_try='test -z "$ac_cxx_werror_flag"
28707 || test ! -s conftest.err'
28708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28709 (eval $ac_try) 2>&5
28710 ac_status=$?
28711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28712 (exit $ac_status); }; } &&
28713 { ac_try='test -s conftest$ac_exeext'
28714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28715 (eval $ac_try) 2>&5
28716 ac_status=$?
28717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28718 (exit $ac_status); }; }; then
28719 eval "$as_ac_var=yes"
28720 else
28721 echo "$as_me: failed program was:" >&5
28722 sed 's/^/| /' conftest.$ac_ext >&5
28723
28724 eval "$as_ac_var=no"
28725 fi
28726 rm -f conftest.err conftest.$ac_objext \
28727 conftest$ac_exeext conftest.$ac_ext
28728 fi
28729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28731 if test `eval echo '${'$as_ac_var'}'` = yes; then
28732 cat >>confdefs.h <<_ACEOF
28733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28734 _ACEOF
28735
28736 fi
28737 done
28738
28739
28740 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
28741 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
28742 cat >conftest.$ac_ext <<_ACEOF
28743 /* confdefs.h. */
28744 _ACEOF
28745 cat confdefs.h >>conftest.$ac_ext
28746 cat >>conftest.$ac_ext <<_ACEOF
28747 /* end confdefs.h. */
28748 #include <wchar.h>
28749 int
28750 main ()
28751 {
28752 &_vsnwprintf;
28753 ;
28754 return 0;
28755 }
28756 _ACEOF
28757 rm -f conftest.$ac_objext
28758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28759 (eval $ac_compile) 2>conftest.er1
28760 ac_status=$?
28761 grep -v '^ *+' conftest.er1 >conftest.err
28762 rm -f conftest.er1
28763 cat conftest.err >&5
28764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28765 (exit $ac_status); } &&
28766 { ac_try='test -z "$ac_cxx_werror_flag"
28767 || test ! -s conftest.err'
28768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28769 (eval $ac_try) 2>&5
28770 ac_status=$?
28771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28772 (exit $ac_status); }; } &&
28773 { ac_try='test -s conftest.$ac_objext'
28774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28775 (eval $ac_try) 2>&5
28776 ac_status=$?
28777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28778 (exit $ac_status); }; }; then
28779 echo "$as_me:$LINENO: result: yes" >&5
28780 echo "${ECHO_T}yes" >&6
28781 cat >>confdefs.h <<\_ACEOF
28782 #define HAVE__VSNWPRINTF 1
28783 _ACEOF
28784
28785 else
28786 echo "$as_me: failed program was:" >&5
28787 sed 's/^/| /' conftest.$ac_ext >&5
28788
28789 echo "$as_me:$LINENO: result: no" >&5
28790 echo "${ECHO_T}no" >&6
28791 fi
28792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
28793 fi
28794
28795 ac_ext=c
28796 ac_cpp='$CPP $CPPFLAGS'
28797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28800
28801
28802
28803
28804 if test "$TOOLKIT" != "MSW"; then
28805
28806
28807
28808
28809 ac_ext=cc
28810 ac_cpp='$CXXCPP $CPPFLAGS'
28811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28814
28815
28816
28817
28818 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
28819 if test "${with_libiconv_prefix+set}" = set; then
28820 withval="$with_libiconv_prefix"
28821
28822 for dir in `echo "$withval" | tr : ' '`; do
28823 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
28824 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
28825 done
28826
28827 fi;
28828
28829 echo "$as_me:$LINENO: checking for iconv" >&5
28830 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
28831 if test "${am_cv_func_iconv+set}" = set; then
28832 echo $ECHO_N "(cached) $ECHO_C" >&6
28833 else
28834
28835 am_cv_func_iconv="no, consider installing GNU libiconv"
28836 am_cv_lib_iconv=no
28837 cat >conftest.$ac_ext <<_ACEOF
28838 /* confdefs.h. */
28839 _ACEOF
28840 cat confdefs.h >>conftest.$ac_ext
28841 cat >>conftest.$ac_ext <<_ACEOF
28842 /* end confdefs.h. */
28843 #include <stdlib.h>
28844 #include <iconv.h>
28845 int
28846 main ()
28847 {
28848 iconv_t cd = iconv_open("","");
28849 iconv(cd,NULL,NULL,NULL,NULL);
28850 iconv_close(cd);
28851 ;
28852 return 0;
28853 }
28854 _ACEOF
28855 rm -f conftest.$ac_objext conftest$ac_exeext
28856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28857 (eval $ac_link) 2>conftest.er1
28858 ac_status=$?
28859 grep -v '^ *+' conftest.er1 >conftest.err
28860 rm -f conftest.er1
28861 cat conftest.err >&5
28862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28863 (exit $ac_status); } &&
28864 { ac_try='test -z "$ac_cxx_werror_flag"
28865 || test ! -s conftest.err'
28866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28867 (eval $ac_try) 2>&5
28868 ac_status=$?
28869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28870 (exit $ac_status); }; } &&
28871 { ac_try='test -s conftest$ac_exeext'
28872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28873 (eval $ac_try) 2>&5
28874 ac_status=$?
28875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28876 (exit $ac_status); }; }; then
28877 am_cv_func_iconv=yes
28878 else
28879 echo "$as_me: failed program was:" >&5
28880 sed 's/^/| /' conftest.$ac_ext >&5
28881
28882 fi
28883 rm -f conftest.err conftest.$ac_objext \
28884 conftest$ac_exeext conftest.$ac_ext
28885 if test "$am_cv_func_iconv" != yes; then
28886 am_save_LIBS="$LIBS"
28887 LIBS="$LIBS -liconv"
28888 cat >conftest.$ac_ext <<_ACEOF
28889 /* confdefs.h. */
28890 _ACEOF
28891 cat confdefs.h >>conftest.$ac_ext
28892 cat >>conftest.$ac_ext <<_ACEOF
28893 /* end confdefs.h. */
28894 #include <stdlib.h>
28895 #include <iconv.h>
28896 int
28897 main ()
28898 {
28899 iconv_t cd = iconv_open("","");
28900 iconv(cd,NULL,NULL,NULL,NULL);
28901 iconv_close(cd);
28902 ;
28903 return 0;
28904 }
28905 _ACEOF
28906 rm -f conftest.$ac_objext conftest$ac_exeext
28907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28908 (eval $ac_link) 2>conftest.er1
28909 ac_status=$?
28910 grep -v '^ *+' conftest.er1 >conftest.err
28911 rm -f conftest.er1
28912 cat conftest.err >&5
28913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28914 (exit $ac_status); } &&
28915 { ac_try='test -z "$ac_cxx_werror_flag"
28916 || test ! -s conftest.err'
28917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28918 (eval $ac_try) 2>&5
28919 ac_status=$?
28920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28921 (exit $ac_status); }; } &&
28922 { ac_try='test -s conftest$ac_exeext'
28923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28924 (eval $ac_try) 2>&5
28925 ac_status=$?
28926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28927 (exit $ac_status); }; }; then
28928 am_cv_lib_iconv=yes
28929 am_cv_func_iconv=yes
28930 else
28931 echo "$as_me: failed program was:" >&5
28932 sed 's/^/| /' conftest.$ac_ext >&5
28933
28934 fi
28935 rm -f conftest.err conftest.$ac_objext \
28936 conftest$ac_exeext conftest.$ac_ext
28937 LIBS="$am_save_LIBS"
28938 fi
28939
28940 fi
28941 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
28942 echo "${ECHO_T}$am_cv_func_iconv" >&6
28943 if test "$am_cv_func_iconv" = yes; then
28944
28945 cat >>confdefs.h <<\_ACEOF
28946 #define HAVE_ICONV 1
28947 _ACEOF
28948
28949 echo "$as_me:$LINENO: checking if iconv needs const" >&5
28950 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
28951 if test "${wx_cv_func_iconv_const+set}" = set; then
28952 echo $ECHO_N "(cached) $ECHO_C" >&6
28953 else
28954 cat >conftest.$ac_ext <<_ACEOF
28955 /* confdefs.h. */
28956 _ACEOF
28957 cat confdefs.h >>conftest.$ac_ext
28958 cat >>conftest.$ac_ext <<_ACEOF
28959 /* end confdefs.h. */
28960
28961 #include <stdlib.h>
28962 #include <iconv.h>
28963 extern
28964 #ifdef __cplusplus
28965 "C"
28966 #endif
28967 #if defined(__STDC__) || defined(__cplusplus)
28968 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28969 #else
28970 size_t iconv();
28971 #endif
28972
28973 int
28974 main ()
28975 {
28976
28977 ;
28978 return 0;
28979 }
28980 _ACEOF
28981 rm -f conftest.$ac_objext
28982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28983 (eval $ac_compile) 2>conftest.er1
28984 ac_status=$?
28985 grep -v '^ *+' conftest.er1 >conftest.err
28986 rm -f conftest.er1
28987 cat conftest.err >&5
28988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28989 (exit $ac_status); } &&
28990 { ac_try='test -z "$ac_cxx_werror_flag"
28991 || test ! -s conftest.err'
28992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28993 (eval $ac_try) 2>&5
28994 ac_status=$?
28995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28996 (exit $ac_status); }; } &&
28997 { ac_try='test -s conftest.$ac_objext'
28998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28999 (eval $ac_try) 2>&5
29000 ac_status=$?
29001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29002 (exit $ac_status); }; }; then
29003 wx_cv_func_iconv_const="no"
29004 else
29005 echo "$as_me: failed program was:" >&5
29006 sed 's/^/| /' conftest.$ac_ext >&5
29007
29008 wx_cv_func_iconv_const="yes"
29009
29010 fi
29011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29012
29013 fi
29014 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29015 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29016
29017 iconv_const=
29018 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29019 iconv_const="const"
29020 fi
29021
29022
29023 cat >>confdefs.h <<_ACEOF
29024 #define ICONV_CONST $iconv_const
29025 _ACEOF
29026
29027 fi
29028 LIBICONV=
29029 if test "$am_cv_lib_iconv" = yes; then
29030 LIBICONV="-liconv"
29031 fi
29032
29033
29034 LIBS="$LIBICONV $LIBS"
29035 ac_ext=c
29036 ac_cpp='$CPP $CPPFLAGS'
29037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29040
29041
29042 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29043
29044 for ac_func in sigaction
29045 do
29046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29047 echo "$as_me:$LINENO: checking for $ac_func" >&5
29048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29049 if eval "test \"\${$as_ac_var+set}\" = set"; then
29050 echo $ECHO_N "(cached) $ECHO_C" >&6
29051 else
29052 cat >conftest.$ac_ext <<_ACEOF
29053 /* confdefs.h. */
29054 _ACEOF
29055 cat confdefs.h >>conftest.$ac_ext
29056 cat >>conftest.$ac_ext <<_ACEOF
29057 /* end confdefs.h. */
29058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29060 #define $ac_func innocuous_$ac_func
29061
29062 /* System header to define __stub macros and hopefully few prototypes,
29063 which can conflict with char $ac_func (); below.
29064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29065 <limits.h> exists even on freestanding compilers. */
29066
29067 #ifdef __STDC__
29068 # include <limits.h>
29069 #else
29070 # include <assert.h>
29071 #endif
29072
29073 #undef $ac_func
29074
29075 /* Override any gcc2 internal prototype to avoid an error. */
29076 #ifdef __cplusplus
29077 extern "C"
29078 {
29079 #endif
29080 /* We use char because int might match the return type of a gcc2
29081 builtin and then its argument prototype would still apply. */
29082 char $ac_func ();
29083 /* The GNU C library defines this for functions which it implements
29084 to always fail with ENOSYS. Some functions are actually named
29085 something starting with __ and the normal name is an alias. */
29086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29087 choke me
29088 #else
29089 char (*f) () = $ac_func;
29090 #endif
29091 #ifdef __cplusplus
29092 }
29093 #endif
29094
29095 int
29096 main ()
29097 {
29098 return f != $ac_func;
29099 ;
29100 return 0;
29101 }
29102 _ACEOF
29103 rm -f conftest.$ac_objext conftest$ac_exeext
29104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29105 (eval $ac_link) 2>conftest.er1
29106 ac_status=$?
29107 grep -v '^ *+' conftest.er1 >conftest.err
29108 rm -f conftest.er1
29109 cat conftest.err >&5
29110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29111 (exit $ac_status); } &&
29112 { ac_try='test -z "$ac_c_werror_flag"
29113 || test ! -s conftest.err'
29114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29115 (eval $ac_try) 2>&5
29116 ac_status=$?
29117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29118 (exit $ac_status); }; } &&
29119 { ac_try='test -s conftest$ac_exeext'
29120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29121 (eval $ac_try) 2>&5
29122 ac_status=$?
29123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29124 (exit $ac_status); }; }; then
29125 eval "$as_ac_var=yes"
29126 else
29127 echo "$as_me: failed program was:" >&5
29128 sed 's/^/| /' conftest.$ac_ext >&5
29129
29130 eval "$as_ac_var=no"
29131 fi
29132 rm -f conftest.err conftest.$ac_objext \
29133 conftest$ac_exeext conftest.$ac_ext
29134 fi
29135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29137 if test `eval echo '${'$as_ac_var'}'` = yes; then
29138 cat >>confdefs.h <<_ACEOF
29139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29140 _ACEOF
29141
29142 fi
29143 done
29144
29145
29146 if test "$ac_cv_func_sigaction" = "no"; then
29147 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29148 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29149 wxUSE_ON_FATAL_EXCEPTION=no
29150 fi
29151
29152 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29153
29154
29155 ac_ext=cc
29156 ac_cpp='$CXXCPP $CPPFLAGS'
29157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29160
29161
29162 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29163 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29164 if test "${wx_cv_type_sa_handler+set}" = set; then
29165 echo $ECHO_N "(cached) $ECHO_C" >&6
29166 else
29167
29168 cat >conftest.$ac_ext <<_ACEOF
29169 /* confdefs.h. */
29170 _ACEOF
29171 cat confdefs.h >>conftest.$ac_ext
29172 cat >>conftest.$ac_ext <<_ACEOF
29173 /* end confdefs.h. */
29174 #include <signal.h>
29175 int
29176 main ()
29177 {
29178
29179 extern void testSigHandler(int);
29180
29181 struct sigaction sa;
29182 sa.sa_handler = testSigHandler;
29183
29184 ;
29185 return 0;
29186 }
29187 _ACEOF
29188 rm -f conftest.$ac_objext
29189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29190 (eval $ac_compile) 2>conftest.er1
29191 ac_status=$?
29192 grep -v '^ *+' conftest.er1 >conftest.err
29193 rm -f conftest.er1
29194 cat conftest.err >&5
29195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29196 (exit $ac_status); } &&
29197 { ac_try='test -z "$ac_cxx_werror_flag"
29198 || test ! -s conftest.err'
29199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29200 (eval $ac_try) 2>&5
29201 ac_status=$?
29202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29203 (exit $ac_status); }; } &&
29204 { ac_try='test -s conftest.$ac_objext'
29205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29206 (eval $ac_try) 2>&5
29207 ac_status=$?
29208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29209 (exit $ac_status); }; }; then
29210
29211 wx_cv_type_sa_handler=int
29212
29213 else
29214 echo "$as_me: failed program was:" >&5
29215 sed 's/^/| /' conftest.$ac_ext >&5
29216
29217
29218 wx_cv_type_sa_handler=void
29219
29220 fi
29221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29222
29223 fi
29224 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29225 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29226
29227 ac_ext=c
29228 ac_cpp='$CPP $CPPFLAGS'
29229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29232
29233
29234 cat >>confdefs.h <<_ACEOF
29235 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29236 _ACEOF
29237
29238 fi
29239 fi
29240
29241
29242
29243 for ac_func in mkstemp mktemp
29244 do
29245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29246 echo "$as_me:$LINENO: checking for $ac_func" >&5
29247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29248 if eval "test \"\${$as_ac_var+set}\" = set"; then
29249 echo $ECHO_N "(cached) $ECHO_C" >&6
29250 else
29251 cat >conftest.$ac_ext <<_ACEOF
29252 /* confdefs.h. */
29253 _ACEOF
29254 cat confdefs.h >>conftest.$ac_ext
29255 cat >>conftest.$ac_ext <<_ACEOF
29256 /* end confdefs.h. */
29257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29259 #define $ac_func innocuous_$ac_func
29260
29261 /* System header to define __stub macros and hopefully few prototypes,
29262 which can conflict with char $ac_func (); below.
29263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29264 <limits.h> exists even on freestanding compilers. */
29265
29266 #ifdef __STDC__
29267 # include <limits.h>
29268 #else
29269 # include <assert.h>
29270 #endif
29271
29272 #undef $ac_func
29273
29274 /* Override any gcc2 internal prototype to avoid an error. */
29275 #ifdef __cplusplus
29276 extern "C"
29277 {
29278 #endif
29279 /* We use char because int might match the return type of a gcc2
29280 builtin and then its argument prototype would still apply. */
29281 char $ac_func ();
29282 /* The GNU C library defines this for functions which it implements
29283 to always fail with ENOSYS. Some functions are actually named
29284 something starting with __ and the normal name is an alias. */
29285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29286 choke me
29287 #else
29288 char (*f) () = $ac_func;
29289 #endif
29290 #ifdef __cplusplus
29291 }
29292 #endif
29293
29294 int
29295 main ()
29296 {
29297 return f != $ac_func;
29298 ;
29299 return 0;
29300 }
29301 _ACEOF
29302 rm -f conftest.$ac_objext conftest$ac_exeext
29303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29304 (eval $ac_link) 2>conftest.er1
29305 ac_status=$?
29306 grep -v '^ *+' conftest.er1 >conftest.err
29307 rm -f conftest.er1
29308 cat conftest.err >&5
29309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29310 (exit $ac_status); } &&
29311 { ac_try='test -z "$ac_c_werror_flag"
29312 || test ! -s conftest.err'
29313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29314 (eval $ac_try) 2>&5
29315 ac_status=$?
29316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29317 (exit $ac_status); }; } &&
29318 { ac_try='test -s conftest$ac_exeext'
29319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29320 (eval $ac_try) 2>&5
29321 ac_status=$?
29322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29323 (exit $ac_status); }; }; then
29324 eval "$as_ac_var=yes"
29325 else
29326 echo "$as_me: failed program was:" >&5
29327 sed 's/^/| /' conftest.$ac_ext >&5
29328
29329 eval "$as_ac_var=no"
29330 fi
29331 rm -f conftest.err conftest.$ac_objext \
29332 conftest$ac_exeext conftest.$ac_ext
29333 fi
29334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29336 if test `eval echo '${'$as_ac_var'}'` = yes; then
29337 cat >>confdefs.h <<_ACEOF
29338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29339 _ACEOF
29340 break
29341 fi
29342 done
29343
29344
29345 echo "$as_me:$LINENO: checking for statfs" >&5
29346 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
29347 if test "${wx_cv_func_statfs+set}" = set; then
29348 echo $ECHO_N "(cached) $ECHO_C" >&6
29349 else
29350 cat >conftest.$ac_ext <<_ACEOF
29351 /* confdefs.h. */
29352 _ACEOF
29353 cat confdefs.h >>conftest.$ac_ext
29354 cat >>conftest.$ac_ext <<_ACEOF
29355 /* end confdefs.h. */
29356
29357 #if defined(__BSD__)
29358 #include <sys/param.h>
29359 #include <sys/mount.h>
29360 #else
29361 #include <sys/vfs.h>
29362 #endif
29363
29364 int
29365 main ()
29366 {
29367
29368 long l;
29369 struct statfs fs;
29370 statfs("/", &fs);
29371 l = fs.f_bsize;
29372 l += fs.f_blocks;
29373 l += fs.f_bavail;
29374
29375 ;
29376 return 0;
29377 }
29378 _ACEOF
29379 rm -f conftest.$ac_objext
29380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29381 (eval $ac_compile) 2>conftest.er1
29382 ac_status=$?
29383 grep -v '^ *+' conftest.er1 >conftest.err
29384 rm -f conftest.er1
29385 cat conftest.err >&5
29386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29387 (exit $ac_status); } &&
29388 { ac_try='test -z "$ac_c_werror_flag"
29389 || test ! -s conftest.err'
29390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29391 (eval $ac_try) 2>&5
29392 ac_status=$?
29393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29394 (exit $ac_status); }; } &&
29395 { ac_try='test -s conftest.$ac_objext'
29396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29397 (eval $ac_try) 2>&5
29398 ac_status=$?
29399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29400 (exit $ac_status); }; }; then
29401
29402 wx_cv_func_statfs=yes
29403
29404 else
29405 echo "$as_me: failed program was:" >&5
29406 sed 's/^/| /' conftest.$ac_ext >&5
29407
29408
29409 wx_cv_func_statfs=no
29410
29411
29412 fi
29413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29414
29415 fi
29416 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
29417 echo "${ECHO_T}$wx_cv_func_statfs" >&6
29418
29419 if test "$wx_cv_func_statfs" = "yes"; then
29420 wx_cv_type_statvfs_t="struct statfs"
29421 cat >>confdefs.h <<\_ACEOF
29422 #define HAVE_STATFS 1
29423 _ACEOF
29424
29425 else
29426 echo "$as_me:$LINENO: checking for statvfs" >&5
29427 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
29428 if test "${wx_cv_func_statvfs+set}" = set; then
29429 echo $ECHO_N "(cached) $ECHO_C" >&6
29430 else
29431 cat >conftest.$ac_ext <<_ACEOF
29432 /* confdefs.h. */
29433 _ACEOF
29434 cat confdefs.h >>conftest.$ac_ext
29435 cat >>conftest.$ac_ext <<_ACEOF
29436 /* end confdefs.h. */
29437
29438 #include <stddef.h>
29439 #include <sys/statvfs.h>
29440
29441 int
29442 main ()
29443 {
29444
29445 statvfs("/", NULL);
29446
29447 ;
29448 return 0;
29449 }
29450 _ACEOF
29451 rm -f conftest.$ac_objext
29452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29453 (eval $ac_compile) 2>conftest.er1
29454 ac_status=$?
29455 grep -v '^ *+' conftest.er1 >conftest.err
29456 rm -f conftest.er1
29457 cat conftest.err >&5
29458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29459 (exit $ac_status); } &&
29460 { ac_try='test -z "$ac_c_werror_flag"
29461 || test ! -s conftest.err'
29462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29463 (eval $ac_try) 2>&5
29464 ac_status=$?
29465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29466 (exit $ac_status); }; } &&
29467 { ac_try='test -s conftest.$ac_objext'
29468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29469 (eval $ac_try) 2>&5
29470 ac_status=$?
29471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29472 (exit $ac_status); }; }; then
29473 wx_cv_func_statvfs=yes
29474 else
29475 echo "$as_me: failed program was:" >&5
29476 sed 's/^/| /' conftest.$ac_ext >&5
29477
29478 wx_cv_func_statvfs=no
29479
29480 fi
29481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29482
29483 fi
29484 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
29485 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
29486
29487 if test "$wx_cv_func_statvfs" = "yes"; then
29488
29489
29490 ac_ext=cc
29491 ac_cpp='$CXXCPP $CPPFLAGS'
29492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29495
29496
29497 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
29498 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
29499 if test "${wx_cv_type_statvfs_t+set}" = set; then
29500 echo $ECHO_N "(cached) $ECHO_C" >&6
29501 else
29502 cat >conftest.$ac_ext <<_ACEOF
29503 /* confdefs.h. */
29504 _ACEOF
29505 cat confdefs.h >>conftest.$ac_ext
29506 cat >>conftest.$ac_ext <<_ACEOF
29507 /* end confdefs.h. */
29508
29509 #include <sys/statvfs.h>
29510
29511 int
29512 main ()
29513 {
29514
29515 long l;
29516 statvfs_t fs;
29517 statvfs("/", &fs);
29518 l = fs.f_bsize;
29519 l += fs.f_blocks;
29520 l += fs.f_bavail;
29521
29522 ;
29523 return 0;
29524 }
29525 _ACEOF
29526 rm -f conftest.$ac_objext
29527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29528 (eval $ac_compile) 2>conftest.er1
29529 ac_status=$?
29530 grep -v '^ *+' conftest.er1 >conftest.err
29531 rm -f conftest.er1
29532 cat conftest.err >&5
29533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29534 (exit $ac_status); } &&
29535 { ac_try='test -z "$ac_cxx_werror_flag"
29536 || test ! -s conftest.err'
29537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29538 (eval $ac_try) 2>&5
29539 ac_status=$?
29540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29541 (exit $ac_status); }; } &&
29542 { ac_try='test -s conftest.$ac_objext'
29543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29544 (eval $ac_try) 2>&5
29545 ac_status=$?
29546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29547 (exit $ac_status); }; }; then
29548 wx_cv_type_statvfs_t=statvfs_t
29549 else
29550 echo "$as_me: failed program was:" >&5
29551 sed 's/^/| /' conftest.$ac_ext >&5
29552
29553
29554 cat >conftest.$ac_ext <<_ACEOF
29555 /* confdefs.h. */
29556 _ACEOF
29557 cat confdefs.h >>conftest.$ac_ext
29558 cat >>conftest.$ac_ext <<_ACEOF
29559 /* end confdefs.h. */
29560
29561 #include <sys/statvfs.h>
29562
29563 int
29564 main ()
29565 {
29566
29567 long l;
29568 struct statvfs fs;
29569 statvfs("/", &fs);
29570 l = fs.f_bsize;
29571 l += fs.f_blocks;
29572 l += fs.f_bavail;
29573
29574 ;
29575 return 0;
29576 }
29577 _ACEOF
29578 rm -f conftest.$ac_objext
29579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29580 (eval $ac_compile) 2>conftest.er1
29581 ac_status=$?
29582 grep -v '^ *+' conftest.er1 >conftest.err
29583 rm -f conftest.er1
29584 cat conftest.err >&5
29585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29586 (exit $ac_status); } &&
29587 { ac_try='test -z "$ac_cxx_werror_flag"
29588 || test ! -s conftest.err'
29589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29590 (eval $ac_try) 2>&5
29591 ac_status=$?
29592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29593 (exit $ac_status); }; } &&
29594 { ac_try='test -s conftest.$ac_objext'
29595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29596 (eval $ac_try) 2>&5
29597 ac_status=$?
29598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29599 (exit $ac_status); }; }; then
29600 wx_cv_type_statvfs_t="struct statvfs"
29601 else
29602 echo "$as_me: failed program was:" >&5
29603 sed 's/^/| /' conftest.$ac_ext >&5
29604
29605 wx_cv_type_statvfs_t="unknown"
29606
29607 fi
29608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29609
29610
29611 fi
29612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29613
29614 fi
29615 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
29616 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
29617
29618 ac_ext=c
29619 ac_cpp='$CPP $CPPFLAGS'
29620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29623
29624
29625 if test "$wx_cv_type_statvfs_t" != "unknown"; then
29626 cat >>confdefs.h <<\_ACEOF
29627 #define HAVE_STATVFS 1
29628 _ACEOF
29629
29630 fi
29631 else
29632 wx_cv_type_statvfs_t="unknown"
29633 fi
29634 fi
29635
29636 if test "$wx_cv_type_statvfs_t" != "unknown"; then
29637 cat >>confdefs.h <<_ACEOF
29638 #define WX_STATFS_T $wx_cv_type_statvfs_t
29639 _ACEOF
29640
29641 else
29642 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
29643 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
29644 fi
29645
29646 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
29647
29648
29649 for ac_func in fcntl flock
29650 do
29651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29652 echo "$as_me:$LINENO: checking for $ac_func" >&5
29653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29654 if eval "test \"\${$as_ac_var+set}\" = set"; then
29655 echo $ECHO_N "(cached) $ECHO_C" >&6
29656 else
29657 cat >conftest.$ac_ext <<_ACEOF
29658 /* confdefs.h. */
29659 _ACEOF
29660 cat confdefs.h >>conftest.$ac_ext
29661 cat >>conftest.$ac_ext <<_ACEOF
29662 /* end confdefs.h. */
29663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29665 #define $ac_func innocuous_$ac_func
29666
29667 /* System header to define __stub macros and hopefully few prototypes,
29668 which can conflict with char $ac_func (); below.
29669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29670 <limits.h> exists even on freestanding compilers. */
29671
29672 #ifdef __STDC__
29673 # include <limits.h>
29674 #else
29675 # include <assert.h>
29676 #endif
29677
29678 #undef $ac_func
29679
29680 /* Override any gcc2 internal prototype to avoid an error. */
29681 #ifdef __cplusplus
29682 extern "C"
29683 {
29684 #endif
29685 /* We use char because int might match the return type of a gcc2
29686 builtin and then its argument prototype would still apply. */
29687 char $ac_func ();
29688 /* The GNU C library defines this for functions which it implements
29689 to always fail with ENOSYS. Some functions are actually named
29690 something starting with __ and the normal name is an alias. */
29691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29692 choke me
29693 #else
29694 char (*f) () = $ac_func;
29695 #endif
29696 #ifdef __cplusplus
29697 }
29698 #endif
29699
29700 int
29701 main ()
29702 {
29703 return f != $ac_func;
29704 ;
29705 return 0;
29706 }
29707 _ACEOF
29708 rm -f conftest.$ac_objext conftest$ac_exeext
29709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29710 (eval $ac_link) 2>conftest.er1
29711 ac_status=$?
29712 grep -v '^ *+' conftest.er1 >conftest.err
29713 rm -f conftest.er1
29714 cat conftest.err >&5
29715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29716 (exit $ac_status); } &&
29717 { ac_try='test -z "$ac_c_werror_flag"
29718 || test ! -s conftest.err'
29719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29720 (eval $ac_try) 2>&5
29721 ac_status=$?
29722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29723 (exit $ac_status); }; } &&
29724 { ac_try='test -s conftest$ac_exeext'
29725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29726 (eval $ac_try) 2>&5
29727 ac_status=$?
29728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29729 (exit $ac_status); }; }; then
29730 eval "$as_ac_var=yes"
29731 else
29732 echo "$as_me: failed program was:" >&5
29733 sed 's/^/| /' conftest.$ac_ext >&5
29734
29735 eval "$as_ac_var=no"
29736 fi
29737 rm -f conftest.err conftest.$ac_objext \
29738 conftest$ac_exeext conftest.$ac_ext
29739 fi
29740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29742 if test `eval echo '${'$as_ac_var'}'` = yes; then
29743 cat >>confdefs.h <<_ACEOF
29744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29745 _ACEOF
29746 break
29747 fi
29748 done
29749
29750
29751 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
29752 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
29753 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
29754 wxUSE_SNGLINST_CHECKER=no
29755 fi
29756 fi
29757
29758
29759 for ac_func in timegm
29760 do
29761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29762 echo "$as_me:$LINENO: checking for $ac_func" >&5
29763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29764 if eval "test \"\${$as_ac_var+set}\" = set"; then
29765 echo $ECHO_N "(cached) $ECHO_C" >&6
29766 else
29767 cat >conftest.$ac_ext <<_ACEOF
29768 /* confdefs.h. */
29769 _ACEOF
29770 cat confdefs.h >>conftest.$ac_ext
29771 cat >>conftest.$ac_ext <<_ACEOF
29772 /* end confdefs.h. */
29773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29775 #define $ac_func innocuous_$ac_func
29776
29777 /* System header to define __stub macros and hopefully few prototypes,
29778 which can conflict with char $ac_func (); below.
29779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29780 <limits.h> exists even on freestanding compilers. */
29781
29782 #ifdef __STDC__
29783 # include <limits.h>
29784 #else
29785 # include <assert.h>
29786 #endif
29787
29788 #undef $ac_func
29789
29790 /* Override any gcc2 internal prototype to avoid an error. */
29791 #ifdef __cplusplus
29792 extern "C"
29793 {
29794 #endif
29795 /* We use char because int might match the return type of a gcc2
29796 builtin and then its argument prototype would still apply. */
29797 char $ac_func ();
29798 /* The GNU C library defines this for functions which it implements
29799 to always fail with ENOSYS. Some functions are actually named
29800 something starting with __ and the normal name is an alias. */
29801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29802 choke me
29803 #else
29804 char (*f) () = $ac_func;
29805 #endif
29806 #ifdef __cplusplus
29807 }
29808 #endif
29809
29810 int
29811 main ()
29812 {
29813 return f != $ac_func;
29814 ;
29815 return 0;
29816 }
29817 _ACEOF
29818 rm -f conftest.$ac_objext conftest$ac_exeext
29819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29820 (eval $ac_link) 2>conftest.er1
29821 ac_status=$?
29822 grep -v '^ *+' conftest.er1 >conftest.err
29823 rm -f conftest.er1
29824 cat conftest.err >&5
29825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29826 (exit $ac_status); } &&
29827 { ac_try='test -z "$ac_c_werror_flag"
29828 || test ! -s conftest.err'
29829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29830 (eval $ac_try) 2>&5
29831 ac_status=$?
29832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29833 (exit $ac_status); }; } &&
29834 { ac_try='test -s conftest$ac_exeext'
29835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29836 (eval $ac_try) 2>&5
29837 ac_status=$?
29838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29839 (exit $ac_status); }; }; then
29840 eval "$as_ac_var=yes"
29841 else
29842 echo "$as_me: failed program was:" >&5
29843 sed 's/^/| /' conftest.$ac_ext >&5
29844
29845 eval "$as_ac_var=no"
29846 fi
29847 rm -f conftest.err conftest.$ac_objext \
29848 conftest$ac_exeext conftest.$ac_ext
29849 fi
29850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29852 if test `eval echo '${'$as_ac_var'}'` = yes; then
29853 cat >>confdefs.h <<_ACEOF
29854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29855 _ACEOF
29856
29857 fi
29858 done
29859
29860
29861
29862
29863 for ac_func in putenv setenv
29864 do
29865 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29866 echo "$as_me:$LINENO: checking for $ac_func" >&5
29867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29868 if eval "test \"\${$as_ac_var+set}\" = set"; then
29869 echo $ECHO_N "(cached) $ECHO_C" >&6
29870 else
29871 cat >conftest.$ac_ext <<_ACEOF
29872 /* confdefs.h. */
29873 _ACEOF
29874 cat confdefs.h >>conftest.$ac_ext
29875 cat >>conftest.$ac_ext <<_ACEOF
29876 /* end confdefs.h. */
29877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29879 #define $ac_func innocuous_$ac_func
29880
29881 /* System header to define __stub macros and hopefully few prototypes,
29882 which can conflict with char $ac_func (); below.
29883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29884 <limits.h> exists even on freestanding compilers. */
29885
29886 #ifdef __STDC__
29887 # include <limits.h>
29888 #else
29889 # include <assert.h>
29890 #endif
29891
29892 #undef $ac_func
29893
29894 /* Override any gcc2 internal prototype to avoid an error. */
29895 #ifdef __cplusplus
29896 extern "C"
29897 {
29898 #endif
29899 /* We use char because int might match the return type of a gcc2
29900 builtin and then its argument prototype would still apply. */
29901 char $ac_func ();
29902 /* The GNU C library defines this for functions which it implements
29903 to always fail with ENOSYS. Some functions are actually named
29904 something starting with __ and the normal name is an alias. */
29905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29906 choke me
29907 #else
29908 char (*f) () = $ac_func;
29909 #endif
29910 #ifdef __cplusplus
29911 }
29912 #endif
29913
29914 int
29915 main ()
29916 {
29917 return f != $ac_func;
29918 ;
29919 return 0;
29920 }
29921 _ACEOF
29922 rm -f conftest.$ac_objext conftest$ac_exeext
29923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29924 (eval $ac_link) 2>conftest.er1
29925 ac_status=$?
29926 grep -v '^ *+' conftest.er1 >conftest.err
29927 rm -f conftest.er1
29928 cat conftest.err >&5
29929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29930 (exit $ac_status); } &&
29931 { ac_try='test -z "$ac_c_werror_flag"
29932 || test ! -s conftest.err'
29933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29934 (eval $ac_try) 2>&5
29935 ac_status=$?
29936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29937 (exit $ac_status); }; } &&
29938 { ac_try='test -s conftest$ac_exeext'
29939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29940 (eval $ac_try) 2>&5
29941 ac_status=$?
29942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29943 (exit $ac_status); }; }; then
29944 eval "$as_ac_var=yes"
29945 else
29946 echo "$as_me: failed program was:" >&5
29947 sed 's/^/| /' conftest.$ac_ext >&5
29948
29949 eval "$as_ac_var=no"
29950 fi
29951 rm -f conftest.err conftest.$ac_objext \
29952 conftest$ac_exeext conftest.$ac_ext
29953 fi
29954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29956 if test `eval echo '${'$as_ac_var'}'` = yes; then
29957 cat >>confdefs.h <<_ACEOF
29958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29959 _ACEOF
29960 break
29961 fi
29962 done
29963
29964
29965 HAVE_SOME_SLEEP_FUNC=0
29966 if test "$USE_BEOS" = 1; then
29967 cat >>confdefs.h <<\_ACEOF
29968 #define HAVE_SLEEP 1
29969 _ACEOF
29970
29971 HAVE_SOME_SLEEP_FUNC=1
29972 fi
29973
29974 if test "$USE_DARWIN" = 1; then
29975 cat >>confdefs.h <<\_ACEOF
29976 #define HAVE_USLEEP 1
29977 _ACEOF
29978
29979 HAVE_SOME_SLEEP_FUNC=1
29980 fi
29981
29982 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
29983 POSIX4_LINK=
29984
29985 for ac_func in nanosleep
29986 do
29987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29988 echo "$as_me:$LINENO: checking for $ac_func" >&5
29989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29990 if eval "test \"\${$as_ac_var+set}\" = set"; then
29991 echo $ECHO_N "(cached) $ECHO_C" >&6
29992 else
29993 cat >conftest.$ac_ext <<_ACEOF
29994 /* confdefs.h. */
29995 _ACEOF
29996 cat confdefs.h >>conftest.$ac_ext
29997 cat >>conftest.$ac_ext <<_ACEOF
29998 /* end confdefs.h. */
29999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30001 #define $ac_func innocuous_$ac_func
30002
30003 /* System header to define __stub macros and hopefully few prototypes,
30004 which can conflict with char $ac_func (); below.
30005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30006 <limits.h> exists even on freestanding compilers. */
30007
30008 #ifdef __STDC__
30009 # include <limits.h>
30010 #else
30011 # include <assert.h>
30012 #endif
30013
30014 #undef $ac_func
30015
30016 /* Override any gcc2 internal prototype to avoid an error. */
30017 #ifdef __cplusplus
30018 extern "C"
30019 {
30020 #endif
30021 /* We use char because int might match the return type of a gcc2
30022 builtin and then its argument prototype would still apply. */
30023 char $ac_func ();
30024 /* The GNU C library defines this for functions which it implements
30025 to always fail with ENOSYS. Some functions are actually named
30026 something starting with __ and the normal name is an alias. */
30027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30028 choke me
30029 #else
30030 char (*f) () = $ac_func;
30031 #endif
30032 #ifdef __cplusplus
30033 }
30034 #endif
30035
30036 int
30037 main ()
30038 {
30039 return f != $ac_func;
30040 ;
30041 return 0;
30042 }
30043 _ACEOF
30044 rm -f conftest.$ac_objext conftest$ac_exeext
30045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30046 (eval $ac_link) 2>conftest.er1
30047 ac_status=$?
30048 grep -v '^ *+' conftest.er1 >conftest.err
30049 rm -f conftest.er1
30050 cat conftest.err >&5
30051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30052 (exit $ac_status); } &&
30053 { ac_try='test -z "$ac_c_werror_flag"
30054 || test ! -s conftest.err'
30055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30056 (eval $ac_try) 2>&5
30057 ac_status=$?
30058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30059 (exit $ac_status); }; } &&
30060 { ac_try='test -s conftest$ac_exeext'
30061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30062 (eval $ac_try) 2>&5
30063 ac_status=$?
30064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30065 (exit $ac_status); }; }; then
30066 eval "$as_ac_var=yes"
30067 else
30068 echo "$as_me: failed program was:" >&5
30069 sed 's/^/| /' conftest.$ac_ext >&5
30070
30071 eval "$as_ac_var=no"
30072 fi
30073 rm -f conftest.err conftest.$ac_objext \
30074 conftest$ac_exeext conftest.$ac_ext
30075 fi
30076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30078 if test `eval echo '${'$as_ac_var'}'` = yes; then
30079 cat >>confdefs.h <<_ACEOF
30080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30081 _ACEOF
30082 cat >>confdefs.h <<\_ACEOF
30083 #define HAVE_NANOSLEEP 1
30084 _ACEOF
30085
30086 else
30087
30088 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30089 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30090 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30091 echo $ECHO_N "(cached) $ECHO_C" >&6
30092 else
30093 ac_check_lib_save_LIBS=$LIBS
30094 LIBS="-lposix4 $LIBS"
30095 cat >conftest.$ac_ext <<_ACEOF
30096 /* confdefs.h. */
30097 _ACEOF
30098 cat confdefs.h >>conftest.$ac_ext
30099 cat >>conftest.$ac_ext <<_ACEOF
30100 /* end confdefs.h. */
30101
30102 /* Override any gcc2 internal prototype to avoid an error. */
30103 #ifdef __cplusplus
30104 extern "C"
30105 #endif
30106 /* We use char because int might match the return type of a gcc2
30107 builtin and then its argument prototype would still apply. */
30108 char nanosleep ();
30109 int
30110 main ()
30111 {
30112 nanosleep ();
30113 ;
30114 return 0;
30115 }
30116 _ACEOF
30117 rm -f conftest.$ac_objext conftest$ac_exeext
30118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30119 (eval $ac_link) 2>conftest.er1
30120 ac_status=$?
30121 grep -v '^ *+' conftest.er1 >conftest.err
30122 rm -f conftest.er1
30123 cat conftest.err >&5
30124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30125 (exit $ac_status); } &&
30126 { ac_try='test -z "$ac_c_werror_flag"
30127 || test ! -s conftest.err'
30128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30129 (eval $ac_try) 2>&5
30130 ac_status=$?
30131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30132 (exit $ac_status); }; } &&
30133 { ac_try='test -s conftest$ac_exeext'
30134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30135 (eval $ac_try) 2>&5
30136 ac_status=$?
30137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30138 (exit $ac_status); }; }; then
30139 ac_cv_lib_posix4_nanosleep=yes
30140 else
30141 echo "$as_me: failed program was:" >&5
30142 sed 's/^/| /' conftest.$ac_ext >&5
30143
30144 ac_cv_lib_posix4_nanosleep=no
30145 fi
30146 rm -f conftest.err conftest.$ac_objext \
30147 conftest$ac_exeext conftest.$ac_ext
30148 LIBS=$ac_check_lib_save_LIBS
30149 fi
30150 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30151 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30152 if test $ac_cv_lib_posix4_nanosleep = yes; then
30153
30154 cat >>confdefs.h <<\_ACEOF
30155 #define HAVE_NANOSLEEP 1
30156 _ACEOF
30157
30158 POSIX4_LINK=" -lposix4"
30159
30160 else
30161
30162
30163 for ac_func in usleep
30164 do
30165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30166 echo "$as_me:$LINENO: checking for $ac_func" >&5
30167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30168 if eval "test \"\${$as_ac_var+set}\" = set"; then
30169 echo $ECHO_N "(cached) $ECHO_C" >&6
30170 else
30171 cat >conftest.$ac_ext <<_ACEOF
30172 /* confdefs.h. */
30173 _ACEOF
30174 cat confdefs.h >>conftest.$ac_ext
30175 cat >>conftest.$ac_ext <<_ACEOF
30176 /* end confdefs.h. */
30177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30179 #define $ac_func innocuous_$ac_func
30180
30181 /* System header to define __stub macros and hopefully few prototypes,
30182 which can conflict with char $ac_func (); below.
30183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30184 <limits.h> exists even on freestanding compilers. */
30185
30186 #ifdef __STDC__
30187 # include <limits.h>
30188 #else
30189 # include <assert.h>
30190 #endif
30191
30192 #undef $ac_func
30193
30194 /* Override any gcc2 internal prototype to avoid an error. */
30195 #ifdef __cplusplus
30196 extern "C"
30197 {
30198 #endif
30199 /* We use char because int might match the return type of a gcc2
30200 builtin and then its argument prototype would still apply. */
30201 char $ac_func ();
30202 /* The GNU C library defines this for functions which it implements
30203 to always fail with ENOSYS. Some functions are actually named
30204 something starting with __ and the normal name is an alias. */
30205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30206 choke me
30207 #else
30208 char (*f) () = $ac_func;
30209 #endif
30210 #ifdef __cplusplus
30211 }
30212 #endif
30213
30214 int
30215 main ()
30216 {
30217 return f != $ac_func;
30218 ;
30219 return 0;
30220 }
30221 _ACEOF
30222 rm -f conftest.$ac_objext conftest$ac_exeext
30223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30224 (eval $ac_link) 2>conftest.er1
30225 ac_status=$?
30226 grep -v '^ *+' conftest.er1 >conftest.err
30227 rm -f conftest.er1
30228 cat conftest.err >&5
30229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30230 (exit $ac_status); } &&
30231 { ac_try='test -z "$ac_c_werror_flag"
30232 || test ! -s conftest.err'
30233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30234 (eval $ac_try) 2>&5
30235 ac_status=$?
30236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30237 (exit $ac_status); }; } &&
30238 { ac_try='test -s conftest$ac_exeext'
30239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30240 (eval $ac_try) 2>&5
30241 ac_status=$?
30242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30243 (exit $ac_status); }; }; then
30244 eval "$as_ac_var=yes"
30245 else
30246 echo "$as_me: failed program was:" >&5
30247 sed 's/^/| /' conftest.$ac_ext >&5
30248
30249 eval "$as_ac_var=no"
30250 fi
30251 rm -f conftest.err conftest.$ac_objext \
30252 conftest$ac_exeext conftest.$ac_ext
30253 fi
30254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30256 if test `eval echo '${'$as_ac_var'}'` = yes; then
30257 cat >>confdefs.h <<_ACEOF
30258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30259 _ACEOF
30260 cat >>confdefs.h <<\_ACEOF
30261 #define HAVE_USLEEP 1
30262 _ACEOF
30263
30264 else
30265 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30266 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30267
30268 fi
30269 done
30270
30271
30272
30273 fi
30274
30275
30276
30277 fi
30278 done
30279
30280 fi
30281
30282
30283
30284 for ac_func in uname gethostname
30285 do
30286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30287 echo "$as_me:$LINENO: checking for $ac_func" >&5
30288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30289 if eval "test \"\${$as_ac_var+set}\" = set"; then
30290 echo $ECHO_N "(cached) $ECHO_C" >&6
30291 else
30292 cat >conftest.$ac_ext <<_ACEOF
30293 /* confdefs.h. */
30294 _ACEOF
30295 cat confdefs.h >>conftest.$ac_ext
30296 cat >>conftest.$ac_ext <<_ACEOF
30297 /* end confdefs.h. */
30298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30300 #define $ac_func innocuous_$ac_func
30301
30302 /* System header to define __stub macros and hopefully few prototypes,
30303 which can conflict with char $ac_func (); below.
30304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30305 <limits.h> exists even on freestanding compilers. */
30306
30307 #ifdef __STDC__
30308 # include <limits.h>
30309 #else
30310 # include <assert.h>
30311 #endif
30312
30313 #undef $ac_func
30314
30315 /* Override any gcc2 internal prototype to avoid an error. */
30316 #ifdef __cplusplus
30317 extern "C"
30318 {
30319 #endif
30320 /* We use char because int might match the return type of a gcc2
30321 builtin and then its argument prototype would still apply. */
30322 char $ac_func ();
30323 /* The GNU C library defines this for functions which it implements
30324 to always fail with ENOSYS. Some functions are actually named
30325 something starting with __ and the normal name is an alias. */
30326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30327 choke me
30328 #else
30329 char (*f) () = $ac_func;
30330 #endif
30331 #ifdef __cplusplus
30332 }
30333 #endif
30334
30335 int
30336 main ()
30337 {
30338 return f != $ac_func;
30339 ;
30340 return 0;
30341 }
30342 _ACEOF
30343 rm -f conftest.$ac_objext conftest$ac_exeext
30344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30345 (eval $ac_link) 2>conftest.er1
30346 ac_status=$?
30347 grep -v '^ *+' conftest.er1 >conftest.err
30348 rm -f conftest.er1
30349 cat conftest.err >&5
30350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30351 (exit $ac_status); } &&
30352 { ac_try='test -z "$ac_c_werror_flag"
30353 || test ! -s conftest.err'
30354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30355 (eval $ac_try) 2>&5
30356 ac_status=$?
30357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30358 (exit $ac_status); }; } &&
30359 { ac_try='test -s conftest$ac_exeext'
30360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30361 (eval $ac_try) 2>&5
30362 ac_status=$?
30363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30364 (exit $ac_status); }; }; then
30365 eval "$as_ac_var=yes"
30366 else
30367 echo "$as_me: failed program was:" >&5
30368 sed 's/^/| /' conftest.$ac_ext >&5
30369
30370 eval "$as_ac_var=no"
30371 fi
30372 rm -f conftest.err conftest.$ac_objext \
30373 conftest$ac_exeext conftest.$ac_ext
30374 fi
30375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30377 if test `eval echo '${'$as_ac_var'}'` = yes; then
30378 cat >>confdefs.h <<_ACEOF
30379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30380 _ACEOF
30381 break
30382 fi
30383 done
30384
30385
30386
30387
30388 ac_ext=cc
30389 ac_cpp='$CXXCPP $CPPFLAGS'
30390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30393
30394
30395
30396 for ac_func in strtok_r
30397 do
30398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30399 echo "$as_me:$LINENO: checking for $ac_func" >&5
30400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30401 if eval "test \"\${$as_ac_var+set}\" = set"; then
30402 echo $ECHO_N "(cached) $ECHO_C" >&6
30403 else
30404 cat >conftest.$ac_ext <<_ACEOF
30405 /* confdefs.h. */
30406 _ACEOF
30407 cat confdefs.h >>conftest.$ac_ext
30408 cat >>conftest.$ac_ext <<_ACEOF
30409 /* end confdefs.h. */
30410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30412 #define $ac_func innocuous_$ac_func
30413
30414 /* System header to define __stub macros and hopefully few prototypes,
30415 which can conflict with char $ac_func (); below.
30416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30417 <limits.h> exists even on freestanding compilers. */
30418
30419 #ifdef __STDC__
30420 # include <limits.h>
30421 #else
30422 # include <assert.h>
30423 #endif
30424
30425 #undef $ac_func
30426
30427 /* Override any gcc2 internal prototype to avoid an error. */
30428 #ifdef __cplusplus
30429 extern "C"
30430 {
30431 #endif
30432 /* We use char because int might match the return type of a gcc2
30433 builtin and then its argument prototype would still apply. */
30434 char $ac_func ();
30435 /* The GNU C library defines this for functions which it implements
30436 to always fail with ENOSYS. Some functions are actually named
30437 something starting with __ and the normal name is an alias. */
30438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30439 choke me
30440 #else
30441 char (*f) () = $ac_func;
30442 #endif
30443 #ifdef __cplusplus
30444 }
30445 #endif
30446
30447 int
30448 main ()
30449 {
30450 return f != $ac_func;
30451 ;
30452 return 0;
30453 }
30454 _ACEOF
30455 rm -f conftest.$ac_objext conftest$ac_exeext
30456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30457 (eval $ac_link) 2>conftest.er1
30458 ac_status=$?
30459 grep -v '^ *+' conftest.er1 >conftest.err
30460 rm -f conftest.er1
30461 cat conftest.err >&5
30462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30463 (exit $ac_status); } &&
30464 { ac_try='test -z "$ac_cxx_werror_flag"
30465 || test ! -s conftest.err'
30466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30467 (eval $ac_try) 2>&5
30468 ac_status=$?
30469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30470 (exit $ac_status); }; } &&
30471 { ac_try='test -s conftest$ac_exeext'
30472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30473 (eval $ac_try) 2>&5
30474 ac_status=$?
30475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30476 (exit $ac_status); }; }; then
30477 eval "$as_ac_var=yes"
30478 else
30479 echo "$as_me: failed program was:" >&5
30480 sed 's/^/| /' conftest.$ac_ext >&5
30481
30482 eval "$as_ac_var=no"
30483 fi
30484 rm -f conftest.err conftest.$ac_objext \
30485 conftest$ac_exeext conftest.$ac_ext
30486 fi
30487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30489 if test `eval echo '${'$as_ac_var'}'` = yes; then
30490 cat >>confdefs.h <<_ACEOF
30491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30492 _ACEOF
30493
30494 fi
30495 done
30496
30497
30498 ac_ext=c
30499 ac_cpp='$CPP $CPPFLAGS'
30500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30503
30504
30505 INET_LINK=
30506
30507 for ac_func in inet_addr
30508 do
30509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30510 echo "$as_me:$LINENO: checking for $ac_func" >&5
30511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30512 if eval "test \"\${$as_ac_var+set}\" = set"; then
30513 echo $ECHO_N "(cached) $ECHO_C" >&6
30514 else
30515 cat >conftest.$ac_ext <<_ACEOF
30516 /* confdefs.h. */
30517 _ACEOF
30518 cat confdefs.h >>conftest.$ac_ext
30519 cat >>conftest.$ac_ext <<_ACEOF
30520 /* end confdefs.h. */
30521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30523 #define $ac_func innocuous_$ac_func
30524
30525 /* System header to define __stub macros and hopefully few prototypes,
30526 which can conflict with char $ac_func (); below.
30527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30528 <limits.h> exists even on freestanding compilers. */
30529
30530 #ifdef __STDC__
30531 # include <limits.h>
30532 #else
30533 # include <assert.h>
30534 #endif
30535
30536 #undef $ac_func
30537
30538 /* Override any gcc2 internal prototype to avoid an error. */
30539 #ifdef __cplusplus
30540 extern "C"
30541 {
30542 #endif
30543 /* We use char because int might match the return type of a gcc2
30544 builtin and then its argument prototype would still apply. */
30545 char $ac_func ();
30546 /* The GNU C library defines this for functions which it implements
30547 to always fail with ENOSYS. Some functions are actually named
30548 something starting with __ and the normal name is an alias. */
30549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30550 choke me
30551 #else
30552 char (*f) () = $ac_func;
30553 #endif
30554 #ifdef __cplusplus
30555 }
30556 #endif
30557
30558 int
30559 main ()
30560 {
30561 return f != $ac_func;
30562 ;
30563 return 0;
30564 }
30565 _ACEOF
30566 rm -f conftest.$ac_objext conftest$ac_exeext
30567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30568 (eval $ac_link) 2>conftest.er1
30569 ac_status=$?
30570 grep -v '^ *+' conftest.er1 >conftest.err
30571 rm -f conftest.er1
30572 cat conftest.err >&5
30573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30574 (exit $ac_status); } &&
30575 { ac_try='test -z "$ac_c_werror_flag"
30576 || test ! -s conftest.err'
30577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30578 (eval $ac_try) 2>&5
30579 ac_status=$?
30580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30581 (exit $ac_status); }; } &&
30582 { ac_try='test -s conftest$ac_exeext'
30583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30584 (eval $ac_try) 2>&5
30585 ac_status=$?
30586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30587 (exit $ac_status); }; }; then
30588 eval "$as_ac_var=yes"
30589 else
30590 echo "$as_me: failed program was:" >&5
30591 sed 's/^/| /' conftest.$ac_ext >&5
30592
30593 eval "$as_ac_var=no"
30594 fi
30595 rm -f conftest.err conftest.$ac_objext \
30596 conftest$ac_exeext conftest.$ac_ext
30597 fi
30598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30600 if test `eval echo '${'$as_ac_var'}'` = yes; then
30601 cat >>confdefs.h <<_ACEOF
30602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30603 _ACEOF
30604 cat >>confdefs.h <<\_ACEOF
30605 #define HAVE_INET_ADDR 1
30606 _ACEOF
30607
30608 else
30609
30610 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
30611 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
30612 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
30613 echo $ECHO_N "(cached) $ECHO_C" >&6
30614 else
30615 ac_check_lib_save_LIBS=$LIBS
30616 LIBS="-lnsl $LIBS"
30617 cat >conftest.$ac_ext <<_ACEOF
30618 /* confdefs.h. */
30619 _ACEOF
30620 cat confdefs.h >>conftest.$ac_ext
30621 cat >>conftest.$ac_ext <<_ACEOF
30622 /* end confdefs.h. */
30623
30624 /* Override any gcc2 internal prototype to avoid an error. */
30625 #ifdef __cplusplus
30626 extern "C"
30627 #endif
30628 /* We use char because int might match the return type of a gcc2
30629 builtin and then its argument prototype would still apply. */
30630 char inet_addr ();
30631 int
30632 main ()
30633 {
30634 inet_addr ();
30635 ;
30636 return 0;
30637 }
30638 _ACEOF
30639 rm -f conftest.$ac_objext conftest$ac_exeext
30640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30641 (eval $ac_link) 2>conftest.er1
30642 ac_status=$?
30643 grep -v '^ *+' conftest.er1 >conftest.err
30644 rm -f conftest.er1
30645 cat conftest.err >&5
30646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30647 (exit $ac_status); } &&
30648 { ac_try='test -z "$ac_c_werror_flag"
30649 || test ! -s conftest.err'
30650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30651 (eval $ac_try) 2>&5
30652 ac_status=$?
30653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30654 (exit $ac_status); }; } &&
30655 { ac_try='test -s conftest$ac_exeext'
30656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30657 (eval $ac_try) 2>&5
30658 ac_status=$?
30659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30660 (exit $ac_status); }; }; then
30661 ac_cv_lib_nsl_inet_addr=yes
30662 else
30663 echo "$as_me: failed program was:" >&5
30664 sed 's/^/| /' conftest.$ac_ext >&5
30665
30666 ac_cv_lib_nsl_inet_addr=no
30667 fi
30668 rm -f conftest.err conftest.$ac_objext \
30669 conftest$ac_exeext conftest.$ac_ext
30670 LIBS=$ac_check_lib_save_LIBS
30671 fi
30672 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
30673 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
30674 if test $ac_cv_lib_nsl_inet_addr = yes; then
30675 INET_LINK="nsl"
30676 else
30677
30678 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
30679 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
30680 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
30681 echo $ECHO_N "(cached) $ECHO_C" >&6
30682 else
30683 ac_check_lib_save_LIBS=$LIBS
30684 LIBS="-lresolv $LIBS"
30685 cat >conftest.$ac_ext <<_ACEOF
30686 /* confdefs.h. */
30687 _ACEOF
30688 cat confdefs.h >>conftest.$ac_ext
30689 cat >>conftest.$ac_ext <<_ACEOF
30690 /* end confdefs.h. */
30691
30692 /* Override any gcc2 internal prototype to avoid an error. */
30693 #ifdef __cplusplus
30694 extern "C"
30695 #endif
30696 /* We use char because int might match the return type of a gcc2
30697 builtin and then its argument prototype would still apply. */
30698 char inet_addr ();
30699 int
30700 main ()
30701 {
30702 inet_addr ();
30703 ;
30704 return 0;
30705 }
30706 _ACEOF
30707 rm -f conftest.$ac_objext conftest$ac_exeext
30708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30709 (eval $ac_link) 2>conftest.er1
30710 ac_status=$?
30711 grep -v '^ *+' conftest.er1 >conftest.err
30712 rm -f conftest.er1
30713 cat conftest.err >&5
30714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30715 (exit $ac_status); } &&
30716 { ac_try='test -z "$ac_c_werror_flag"
30717 || test ! -s conftest.err'
30718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30719 (eval $ac_try) 2>&5
30720 ac_status=$?
30721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30722 (exit $ac_status); }; } &&
30723 { ac_try='test -s conftest$ac_exeext'
30724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30725 (eval $ac_try) 2>&5
30726 ac_status=$?
30727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30728 (exit $ac_status); }; }; then
30729 ac_cv_lib_resolv_inet_addr=yes
30730 else
30731 echo "$as_me: failed program was:" >&5
30732 sed 's/^/| /' conftest.$ac_ext >&5
30733
30734 ac_cv_lib_resolv_inet_addr=no
30735 fi
30736 rm -f conftest.err conftest.$ac_objext \
30737 conftest$ac_exeext conftest.$ac_ext
30738 LIBS=$ac_check_lib_save_LIBS
30739 fi
30740 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
30741 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
30742 if test $ac_cv_lib_resolv_inet_addr = yes; then
30743 INET_LINK="resolv"
30744 else
30745
30746 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
30747 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
30748 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
30749 echo $ECHO_N "(cached) $ECHO_C" >&6
30750 else
30751 ac_check_lib_save_LIBS=$LIBS
30752 LIBS="-lsocket $LIBS"
30753 cat >conftest.$ac_ext <<_ACEOF
30754 /* confdefs.h. */
30755 _ACEOF
30756 cat confdefs.h >>conftest.$ac_ext
30757 cat >>conftest.$ac_ext <<_ACEOF
30758 /* end confdefs.h. */
30759
30760 /* Override any gcc2 internal prototype to avoid an error. */
30761 #ifdef __cplusplus
30762 extern "C"
30763 #endif
30764 /* We use char because int might match the return type of a gcc2
30765 builtin and then its argument prototype would still apply. */
30766 char inet_addr ();
30767 int
30768 main ()
30769 {
30770 inet_addr ();
30771 ;
30772 return 0;
30773 }
30774 _ACEOF
30775 rm -f conftest.$ac_objext conftest$ac_exeext
30776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30777 (eval $ac_link) 2>conftest.er1
30778 ac_status=$?
30779 grep -v '^ *+' conftest.er1 >conftest.err
30780 rm -f conftest.er1
30781 cat conftest.err >&5
30782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30783 (exit $ac_status); } &&
30784 { ac_try='test -z "$ac_c_werror_flag"
30785 || test ! -s conftest.err'
30786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30787 (eval $ac_try) 2>&5
30788 ac_status=$?
30789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30790 (exit $ac_status); }; } &&
30791 { ac_try='test -s conftest$ac_exeext'
30792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30793 (eval $ac_try) 2>&5
30794 ac_status=$?
30795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30796 (exit $ac_status); }; }; then
30797 ac_cv_lib_socket_inet_addr=yes
30798 else
30799 echo "$as_me: failed program was:" >&5
30800 sed 's/^/| /' conftest.$ac_ext >&5
30801
30802 ac_cv_lib_socket_inet_addr=no
30803 fi
30804 rm -f conftest.err conftest.$ac_objext \
30805 conftest$ac_exeext conftest.$ac_ext
30806 LIBS=$ac_check_lib_save_LIBS
30807 fi
30808 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
30809 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
30810 if test $ac_cv_lib_socket_inet_addr = yes; then
30811 INET_LINK="socket"
30812
30813 fi
30814
30815
30816
30817 fi
30818
30819
30820
30821 fi
30822
30823
30824
30825 fi
30826 done
30827
30828
30829
30830 for ac_func in inet_aton
30831 do
30832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30833 echo "$as_me:$LINENO: checking for $ac_func" >&5
30834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30835 if eval "test \"\${$as_ac_var+set}\" = set"; then
30836 echo $ECHO_N "(cached) $ECHO_C" >&6
30837 else
30838 cat >conftest.$ac_ext <<_ACEOF
30839 /* confdefs.h. */
30840 _ACEOF
30841 cat confdefs.h >>conftest.$ac_ext
30842 cat >>conftest.$ac_ext <<_ACEOF
30843 /* end confdefs.h. */
30844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30846 #define $ac_func innocuous_$ac_func
30847
30848 /* System header to define __stub macros and hopefully few prototypes,
30849 which can conflict with char $ac_func (); below.
30850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30851 <limits.h> exists even on freestanding compilers. */
30852
30853 #ifdef __STDC__
30854 # include <limits.h>
30855 #else
30856 # include <assert.h>
30857 #endif
30858
30859 #undef $ac_func
30860
30861 /* Override any gcc2 internal prototype to avoid an error. */
30862 #ifdef __cplusplus
30863 extern "C"
30864 {
30865 #endif
30866 /* We use char because int might match the return type of a gcc2
30867 builtin and then its argument prototype would still apply. */
30868 char $ac_func ();
30869 /* The GNU C library defines this for functions which it implements
30870 to always fail with ENOSYS. Some functions are actually named
30871 something starting with __ and the normal name is an alias. */
30872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30873 choke me
30874 #else
30875 char (*f) () = $ac_func;
30876 #endif
30877 #ifdef __cplusplus
30878 }
30879 #endif
30880
30881 int
30882 main ()
30883 {
30884 return f != $ac_func;
30885 ;
30886 return 0;
30887 }
30888 _ACEOF
30889 rm -f conftest.$ac_objext conftest$ac_exeext
30890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30891 (eval $ac_link) 2>conftest.er1
30892 ac_status=$?
30893 grep -v '^ *+' conftest.er1 >conftest.err
30894 rm -f conftest.er1
30895 cat conftest.err >&5
30896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30897 (exit $ac_status); } &&
30898 { ac_try='test -z "$ac_c_werror_flag"
30899 || test ! -s conftest.err'
30900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30901 (eval $ac_try) 2>&5
30902 ac_status=$?
30903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30904 (exit $ac_status); }; } &&
30905 { ac_try='test -s conftest$ac_exeext'
30906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30907 (eval $ac_try) 2>&5
30908 ac_status=$?
30909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30910 (exit $ac_status); }; }; then
30911 eval "$as_ac_var=yes"
30912 else
30913 echo "$as_me: failed program was:" >&5
30914 sed 's/^/| /' conftest.$ac_ext >&5
30915
30916 eval "$as_ac_var=no"
30917 fi
30918 rm -f conftest.err conftest.$ac_objext \
30919 conftest$ac_exeext conftest.$ac_ext
30920 fi
30921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30923 if test `eval echo '${'$as_ac_var'}'` = yes; then
30924 cat >>confdefs.h <<_ACEOF
30925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30926 _ACEOF
30927 cat >>confdefs.h <<\_ACEOF
30928 #define HAVE_INET_ATON 1
30929 _ACEOF
30930
30931 else
30932
30933 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
30934 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
30935 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
30936 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
30937 echo $ECHO_N "(cached) $ECHO_C" >&6
30938 else
30939 ac_check_lib_save_LIBS=$LIBS
30940 LIBS="-l$INET_LINK $LIBS"
30941 cat >conftest.$ac_ext <<_ACEOF
30942 /* confdefs.h. */
30943 _ACEOF
30944 cat confdefs.h >>conftest.$ac_ext
30945 cat >>conftest.$ac_ext <<_ACEOF
30946 /* end confdefs.h. */
30947
30948 /* Override any gcc2 internal prototype to avoid an error. */
30949 #ifdef __cplusplus
30950 extern "C"
30951 #endif
30952 /* We use char because int might match the return type of a gcc2
30953 builtin and then its argument prototype would still apply. */
30954 char inet_aton ();
30955 int
30956 main ()
30957 {
30958 inet_aton ();
30959 ;
30960 return 0;
30961 }
30962 _ACEOF
30963 rm -f conftest.$ac_objext conftest$ac_exeext
30964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30965 (eval $ac_link) 2>conftest.er1
30966 ac_status=$?
30967 grep -v '^ *+' conftest.er1 >conftest.err
30968 rm -f conftest.er1
30969 cat conftest.err >&5
30970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30971 (exit $ac_status); } &&
30972 { ac_try='test -z "$ac_c_werror_flag"
30973 || test ! -s conftest.err'
30974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30975 (eval $ac_try) 2>&5
30976 ac_status=$?
30977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30978 (exit $ac_status); }; } &&
30979 { ac_try='test -s conftest$ac_exeext'
30980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30981 (eval $ac_try) 2>&5
30982 ac_status=$?
30983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30984 (exit $ac_status); }; }; then
30985 eval "$as_ac_Lib=yes"
30986 else
30987 echo "$as_me: failed program was:" >&5
30988 sed 's/^/| /' conftest.$ac_ext >&5
30989
30990 eval "$as_ac_Lib=no"
30991 fi
30992 rm -f conftest.err conftest.$ac_objext \
30993 conftest$ac_exeext conftest.$ac_ext
30994 LIBS=$ac_check_lib_save_LIBS
30995 fi
30996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
30997 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
30998 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
30999 cat >>confdefs.h <<\_ACEOF
31000 #define HAVE_INET_ATON 1
31001 _ACEOF
31002
31003 fi
31004
31005
31006 fi
31007 done
31008
31009
31010 if test "x$INET_LINK" != "x"; then
31011 cat >>confdefs.h <<\_ACEOF
31012 #define HAVE_INET_ADDR 1
31013 _ACEOF
31014
31015 INET_LINK=" -l$INET_LINK"
31016 fi
31017
31018 fi
31019
31020
31021
31022 EXTRALIBS_ESD=
31023 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31024 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31025 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31026 echo $ECHO_N "(cached) $ECHO_C" >&6
31027 else
31028 ac_check_lib_save_LIBS=$LIBS
31029 LIBS="-lesd $LIBS"
31030 cat >conftest.$ac_ext <<_ACEOF
31031 /* confdefs.h. */
31032 _ACEOF
31033 cat confdefs.h >>conftest.$ac_ext
31034 cat >>conftest.$ac_ext <<_ACEOF
31035 /* end confdefs.h. */
31036
31037 /* Override any gcc2 internal prototype to avoid an error. */
31038 #ifdef __cplusplus
31039 extern "C"
31040 #endif
31041 /* We use char because int might match the return type of a gcc2
31042 builtin and then its argument prototype would still apply. */
31043 char esd_close ();
31044 int
31045 main ()
31046 {
31047 esd_close ();
31048 ;
31049 return 0;
31050 }
31051 _ACEOF
31052 rm -f conftest.$ac_objext conftest$ac_exeext
31053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31054 (eval $ac_link) 2>conftest.er1
31055 ac_status=$?
31056 grep -v '^ *+' conftest.er1 >conftest.err
31057 rm -f conftest.er1
31058 cat conftest.err >&5
31059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31060 (exit $ac_status); } &&
31061 { ac_try='test -z "$ac_c_werror_flag"
31062 || test ! -s conftest.err'
31063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31064 (eval $ac_try) 2>&5
31065 ac_status=$?
31066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31067 (exit $ac_status); }; } &&
31068 { ac_try='test -s conftest$ac_exeext'
31069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31070 (eval $ac_try) 2>&5
31071 ac_status=$?
31072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31073 (exit $ac_status); }; }; then
31074 ac_cv_lib_esd_esd_close=yes
31075 else
31076 echo "$as_me: failed program was:" >&5
31077 sed 's/^/| /' conftest.$ac_ext >&5
31078
31079 ac_cv_lib_esd_esd_close=no
31080 fi
31081 rm -f conftest.err conftest.$ac_objext \
31082 conftest$ac_exeext conftest.$ac_ext
31083 LIBS=$ac_check_lib_save_LIBS
31084 fi
31085 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31086 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31087 if test $ac_cv_lib_esd_esd_close = yes; then
31088
31089
31090 for ac_header in esd.h
31091 do
31092 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31093 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31094 echo "$as_me:$LINENO: checking for $ac_header" >&5
31095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31097 echo $ECHO_N "(cached) $ECHO_C" >&6
31098 fi
31099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31101 else
31102 # Is the header compilable?
31103 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31104 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31105 cat >conftest.$ac_ext <<_ACEOF
31106 /* confdefs.h. */
31107 _ACEOF
31108 cat confdefs.h >>conftest.$ac_ext
31109 cat >>conftest.$ac_ext <<_ACEOF
31110 /* end confdefs.h. */
31111 $ac_includes_default
31112 #include <$ac_header>
31113 _ACEOF
31114 rm -f conftest.$ac_objext
31115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31116 (eval $ac_compile) 2>conftest.er1
31117 ac_status=$?
31118 grep -v '^ *+' conftest.er1 >conftest.err
31119 rm -f conftest.er1
31120 cat conftest.err >&5
31121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31122 (exit $ac_status); } &&
31123 { ac_try='test -z "$ac_c_werror_flag"
31124 || test ! -s conftest.err'
31125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31126 (eval $ac_try) 2>&5
31127 ac_status=$?
31128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31129 (exit $ac_status); }; } &&
31130 { ac_try='test -s conftest.$ac_objext'
31131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31132 (eval $ac_try) 2>&5
31133 ac_status=$?
31134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31135 (exit $ac_status); }; }; then
31136 ac_header_compiler=yes
31137 else
31138 echo "$as_me: failed program was:" >&5
31139 sed 's/^/| /' conftest.$ac_ext >&5
31140
31141 ac_header_compiler=no
31142 fi
31143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31144 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31145 echo "${ECHO_T}$ac_header_compiler" >&6
31146
31147 # Is the header present?
31148 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31149 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31150 cat >conftest.$ac_ext <<_ACEOF
31151 /* confdefs.h. */
31152 _ACEOF
31153 cat confdefs.h >>conftest.$ac_ext
31154 cat >>conftest.$ac_ext <<_ACEOF
31155 /* end confdefs.h. */
31156 #include <$ac_header>
31157 _ACEOF
31158 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31159 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31160 ac_status=$?
31161 grep -v '^ *+' conftest.er1 >conftest.err
31162 rm -f conftest.er1
31163 cat conftest.err >&5
31164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31165 (exit $ac_status); } >/dev/null; then
31166 if test -s conftest.err; then
31167 ac_cpp_err=$ac_c_preproc_warn_flag
31168 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31169 else
31170 ac_cpp_err=
31171 fi
31172 else
31173 ac_cpp_err=yes
31174 fi
31175 if test -z "$ac_cpp_err"; then
31176 ac_header_preproc=yes
31177 else
31178 echo "$as_me: failed program was:" >&5
31179 sed 's/^/| /' conftest.$ac_ext >&5
31180
31181 ac_header_preproc=no
31182 fi
31183 rm -f conftest.err conftest.$ac_ext
31184 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31185 echo "${ECHO_T}$ac_header_preproc" >&6
31186
31187 # So? What about this header?
31188 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31189 yes:no: )
31190 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31191 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31192 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31193 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31194 ac_header_preproc=yes
31195 ;;
31196 no:yes:* )
31197 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31198 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31199 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31200 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31201 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31202 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31203 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31204 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31205 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31206 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31207 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31208 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31209 (
31210 cat <<\_ASBOX
31211 ## ----------------------------------------- ##
31212 ## Report this to wx-dev@lists.wxwindows.org ##
31213 ## ----------------------------------------- ##
31214 _ASBOX
31215 ) |
31216 sed "s/^/$as_me: WARNING: /" >&2
31217 ;;
31218 esac
31219 echo "$as_me:$LINENO: checking for $ac_header" >&5
31220 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31221 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31222 echo $ECHO_N "(cached) $ECHO_C" >&6
31223 else
31224 eval "$as_ac_Header=\$ac_header_preproc"
31225 fi
31226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31227 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31228
31229 fi
31230 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31231 cat >>confdefs.h <<_ACEOF
31232 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31233 _ACEOF
31234
31235 EXTRALIBS_ESD="-lesd"
31236
31237 fi
31238
31239 done
31240
31241
31242 fi
31243
31244
31245
31246 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31247 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31248 cat >conftest.$ac_ext <<_ACEOF
31249 /* confdefs.h. */
31250 _ACEOF
31251 cat confdefs.h >>conftest.$ac_ext
31252 cat >>conftest.$ac_ext <<_ACEOF
31253 /* end confdefs.h. */
31254 #ifdef __linux__
31255 #include <linux/cdrom.h>
31256 #else
31257 /* For Solaris */
31258 #include <sys/cdio.h>
31259 #endif
31260
31261 int
31262 main ()
31263 {
31264 struct cdrom_tocentry entry, old_entry;
31265 ;
31266 return 0;
31267 }
31268 _ACEOF
31269 rm -f conftest.$ac_objext
31270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31271 (eval $ac_compile) 2>conftest.er1
31272 ac_status=$?
31273 grep -v '^ *+' conftest.er1 >conftest.err
31274 rm -f conftest.er1
31275 cat conftest.err >&5
31276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31277 (exit $ac_status); } &&
31278 { ac_try='test -z "$ac_c_werror_flag"
31279 || test ! -s conftest.err'
31280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31281 (eval $ac_try) 2>&5
31282 ac_status=$?
31283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31284 (exit $ac_status); }; } &&
31285 { ac_try='test -s conftest.$ac_objext'
31286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31287 (eval $ac_try) 2>&5
31288 ac_status=$?
31289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31290 (exit $ac_status); }; }; then
31291 echo "$as_me:$LINENO: result: yes" >&5
31292 echo "${ECHO_T}yes" >&6
31293 cat >>confdefs.h <<\_ACEOF
31294 #define HAVE_KNOWN_CDROM_INTERFACE 1
31295 _ACEOF
31296
31297 else
31298 echo "$as_me: failed program was:" >&5
31299 sed 's/^/| /' conftest.$ac_ext >&5
31300
31301 echo "$as_me:$LINENO: result: no" >&5
31302 echo "${ECHO_T}no" >&6
31303 fi
31304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31305
31306
31307 cat >confcache <<\_ACEOF
31308 # This file is a shell script that caches the results of configure
31309 # tests run on this system so they can be shared between configure
31310 # scripts and configure runs, see configure's option --config-cache.
31311 # It is not useful on other systems. If it contains results you don't
31312 # want to keep, you may remove or edit it.
31313 #
31314 # config.status only pays attention to the cache file if you give it
31315 # the --recheck option to rerun configure.
31316 #
31317 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31318 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31319 # following values.
31320
31321 _ACEOF
31322
31323 # The following way of writing the cache mishandles newlines in values,
31324 # but we know of no workaround that is simple, portable, and efficient.
31325 # So, don't put newlines in cache variables' values.
31326 # Ultrix sh set writes to stderr and can't be redirected directly,
31327 # and sets the high bit in the cache file unless we assign to the vars.
31328 {
31329 (set) 2>&1 |
31330 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31331 *ac_space=\ *)
31332 # `set' does not quote correctly, so add quotes (double-quote
31333 # substitution turns \\\\ into \\, and sed turns \\ into \).
31334 sed -n \
31335 "s/'/'\\\\''/g;
31336 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31337 ;;
31338 *)
31339 # `set' quotes correctly as required by POSIX, so do not add quotes.
31340 sed -n \
31341 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
31342 ;;
31343 esac;
31344 } |
31345 sed '
31346 t clear
31347 : clear
31348 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31349 t end
31350 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31351 : end' >>confcache
31352 if diff $cache_file confcache >/dev/null 2>&1; then :; else
31353 if test -w $cache_file; then
31354 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
31355 cat confcache >$cache_file
31356 else
31357 echo "not updating unwritable cache $cache_file"
31358 fi
31359 fi
31360 rm -f confcache
31361
31362
31363 CPP_MT_FLAG=
31364 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31365
31366
31367 THREADS_LINK=
31368 THREADS_CFLAGS=
31369
31370 if test "$wxUSE_THREADS" = "yes" ; then
31371 if test "$USE_BEOS" = 1; then
31372 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
31373 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31374 wxUSE_THREADS="no"
31375 fi
31376 fi
31377
31378 if test "$wxUSE_THREADS" = "yes" ; then
31379
31380
31381 THREAD_OPTS="-pthread"
31382 case "${host}" in
31383 *-*-solaris2* | *-*-sunos4* )
31384 if test "x$GCC" = "xyes"; then
31385 THREAD_OPTS="-pthreads $THREAD_OPTS"
31386 else
31387 THREAD_OPTS="-mt $THREAD_OPTS"
31388 fi
31389 ;;
31390 *-*-freebsd*)
31391 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
31392 ;;
31393 *-*-darwin* | *-*-cygwin* )
31394 THREAD_OPTS=""
31395 ;;
31396 *-*-aix*)
31397 THREAD_OPTS="pthreads"
31398 ;;
31399 *-hp-hpux* )
31400 if test "x$GCC" != "xyes"; then
31401 THREAD_OPTS=""
31402 fi
31403 ;;
31404
31405 *-*-irix* )
31406 if test "x$GCC" = "xyes"; then
31407 THREAD_OPTS=""
31408 fi
31409 ;;
31410
31411 *-*-*UnixWare*)
31412 if test "x$GCC" != "xyes"; then
31413 THREAD_OPTS="-Ethread"
31414 fi
31415 ;;
31416 esac
31417
31418 THREAD_OPTS="$THREAD_OPTS pthread none"
31419
31420 THREADS_OK=no
31421 for flag in $THREAD_OPTS; do
31422 case $flag in
31423 none)
31424 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
31425 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
31426 ;;
31427
31428 -*)
31429 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
31430 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
31431 THREADS_CFLAGS="$flag"
31432 ;;
31433
31434 *)
31435 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
31436 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
31437 THREADS_LINK="-l$flag"
31438 ;;
31439 esac
31440
31441 save_LIBS="$LIBS"
31442 save_CFLAGS="$CFLAGS"
31443 LIBS="$THREADS_LINK $LIBS"
31444 CFLAGS="$THREADS_CFLAGS $CFLAGS"
31445
31446 cat >conftest.$ac_ext <<_ACEOF
31447 /* confdefs.h. */
31448 _ACEOF
31449 cat confdefs.h >>conftest.$ac_ext
31450 cat >>conftest.$ac_ext <<_ACEOF
31451 /* end confdefs.h. */
31452 #include <pthread.h>
31453 int
31454 main ()
31455 {
31456 pthread_create(0,0,0,0);
31457 ;
31458 return 0;
31459 }
31460 _ACEOF
31461 rm -f conftest.$ac_objext conftest$ac_exeext
31462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31463 (eval $ac_link) 2>conftest.er1
31464 ac_status=$?
31465 grep -v '^ *+' conftest.er1 >conftest.err
31466 rm -f conftest.er1
31467 cat conftest.err >&5
31468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31469 (exit $ac_status); } &&
31470 { ac_try='test -z "$ac_c_werror_flag"
31471 || test ! -s conftest.err'
31472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31473 (eval $ac_try) 2>&5
31474 ac_status=$?
31475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31476 (exit $ac_status); }; } &&
31477 { ac_try='test -s conftest$ac_exeext'
31478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31479 (eval $ac_try) 2>&5
31480 ac_status=$?
31481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31482 (exit $ac_status); }; }; then
31483 THREADS_OK=yes
31484 else
31485 echo "$as_me: failed program was:" >&5
31486 sed 's/^/| /' conftest.$ac_ext >&5
31487
31488 fi
31489 rm -f conftest.err conftest.$ac_objext \
31490 conftest$ac_exeext conftest.$ac_ext
31491
31492 LIBS="$save_LIBS"
31493 CFLAGS="$save_CFLAGS"
31494
31495 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
31496 echo "${ECHO_T}$THREADS_OK" >&6
31497 if test "x$THREADS_OK" = "xyes"; then
31498 break;
31499 fi
31500
31501 THREADS_LINK=""
31502 THREADS_CFLAGS=""
31503 done
31504
31505 if test "x$THREADS_OK" != "xyes"; then
31506 wxUSE_THREADS=no
31507 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
31508 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31509 else
31510 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
31511 LIBS="$THREADS_LINK $LIBS"
31512
31513 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
31514 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
31515 flag=no
31516 case "${host}" in
31517 *-aix*)
31518 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
31519 flag="-D_THREAD_SAFE"
31520 ;;
31521 *-freebsd*)
31522 flag="-D_THREAD_SAFE"
31523 ;;
31524 *-hp-hpux* )
31525 flag="-D_REENTRANT"
31526 if test "x$GCC" != "xyes"; then
31527 flag="$flag -D_RWSTD_MULTI_THREAD"
31528 fi
31529 ;;
31530 *solaris* | alpha*-osf*)
31531 flag="-D_REENTRANT"
31532 ;;
31533 esac
31534 echo "$as_me:$LINENO: result: ${flag}" >&5
31535 echo "${ECHO_T}${flag}" >&6
31536 if test "x$flag" != xno; then
31537 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
31538 fi
31539
31540 if test "x$THREADS_CFLAGS" != "x"; then
31541 CFLAGS="$CFLAGS $THREADS_CFLAGS"
31542 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
31543 fi
31544 fi
31545 fi
31546
31547 if test "$wxUSE_THREADS" = "yes" ; then
31548
31549 for ac_func in thr_setconcurrency
31550 do
31551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31552 echo "$as_me:$LINENO: checking for $ac_func" >&5
31553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31554 if eval "test \"\${$as_ac_var+set}\" = set"; then
31555 echo $ECHO_N "(cached) $ECHO_C" >&6
31556 else
31557 cat >conftest.$ac_ext <<_ACEOF
31558 /* confdefs.h. */
31559 _ACEOF
31560 cat confdefs.h >>conftest.$ac_ext
31561 cat >>conftest.$ac_ext <<_ACEOF
31562 /* end confdefs.h. */
31563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31565 #define $ac_func innocuous_$ac_func
31566
31567 /* System header to define __stub macros and hopefully few prototypes,
31568 which can conflict with char $ac_func (); below.
31569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31570 <limits.h> exists even on freestanding compilers. */
31571
31572 #ifdef __STDC__
31573 # include <limits.h>
31574 #else
31575 # include <assert.h>
31576 #endif
31577
31578 #undef $ac_func
31579
31580 /* Override any gcc2 internal prototype to avoid an error. */
31581 #ifdef __cplusplus
31582 extern "C"
31583 {
31584 #endif
31585 /* We use char because int might match the return type of a gcc2
31586 builtin and then its argument prototype would still apply. */
31587 char $ac_func ();
31588 /* The GNU C library defines this for functions which it implements
31589 to always fail with ENOSYS. Some functions are actually named
31590 something starting with __ and the normal name is an alias. */
31591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31592 choke me
31593 #else
31594 char (*f) () = $ac_func;
31595 #endif
31596 #ifdef __cplusplus
31597 }
31598 #endif
31599
31600 int
31601 main ()
31602 {
31603 return f != $ac_func;
31604 ;
31605 return 0;
31606 }
31607 _ACEOF
31608 rm -f conftest.$ac_objext conftest$ac_exeext
31609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31610 (eval $ac_link) 2>conftest.er1
31611 ac_status=$?
31612 grep -v '^ *+' conftest.er1 >conftest.err
31613 rm -f conftest.er1
31614 cat conftest.err >&5
31615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31616 (exit $ac_status); } &&
31617 { ac_try='test -z "$ac_c_werror_flag"
31618 || test ! -s conftest.err'
31619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31620 (eval $ac_try) 2>&5
31621 ac_status=$?
31622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31623 (exit $ac_status); }; } &&
31624 { ac_try='test -s conftest$ac_exeext'
31625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31626 (eval $ac_try) 2>&5
31627 ac_status=$?
31628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31629 (exit $ac_status); }; }; then
31630 eval "$as_ac_var=yes"
31631 else
31632 echo "$as_me: failed program was:" >&5
31633 sed 's/^/| /' conftest.$ac_ext >&5
31634
31635 eval "$as_ac_var=no"
31636 fi
31637 rm -f conftest.err conftest.$ac_objext \
31638 conftest$ac_exeext conftest.$ac_ext
31639 fi
31640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31642 if test `eval echo '${'$as_ac_var'}'` = yes; then
31643 cat >>confdefs.h <<_ACEOF
31644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31645 _ACEOF
31646
31647 fi
31648 done
31649
31650
31651
31652 for ac_header in sched.h
31653 do
31654 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31655 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31656 echo "$as_me:$LINENO: checking for $ac_header" >&5
31657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31659 echo $ECHO_N "(cached) $ECHO_C" >&6
31660 fi
31661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31662 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31663 else
31664 # Is the header compilable?
31665 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31666 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31667 cat >conftest.$ac_ext <<_ACEOF
31668 /* confdefs.h. */
31669 _ACEOF
31670 cat confdefs.h >>conftest.$ac_ext
31671 cat >>conftest.$ac_ext <<_ACEOF
31672 /* end confdefs.h. */
31673 $ac_includes_default
31674 #include <$ac_header>
31675 _ACEOF
31676 rm -f conftest.$ac_objext
31677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31678 (eval $ac_compile) 2>conftest.er1
31679 ac_status=$?
31680 grep -v '^ *+' conftest.er1 >conftest.err
31681 rm -f conftest.er1
31682 cat conftest.err >&5
31683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31684 (exit $ac_status); } &&
31685 { ac_try='test -z "$ac_c_werror_flag"
31686 || test ! -s conftest.err'
31687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31688 (eval $ac_try) 2>&5
31689 ac_status=$?
31690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31691 (exit $ac_status); }; } &&
31692 { ac_try='test -s conftest.$ac_objext'
31693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31694 (eval $ac_try) 2>&5
31695 ac_status=$?
31696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31697 (exit $ac_status); }; }; then
31698 ac_header_compiler=yes
31699 else
31700 echo "$as_me: failed program was:" >&5
31701 sed 's/^/| /' conftest.$ac_ext >&5
31702
31703 ac_header_compiler=no
31704 fi
31705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31706 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31707 echo "${ECHO_T}$ac_header_compiler" >&6
31708
31709 # Is the header present?
31710 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31711 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31712 cat >conftest.$ac_ext <<_ACEOF
31713 /* confdefs.h. */
31714 _ACEOF
31715 cat confdefs.h >>conftest.$ac_ext
31716 cat >>conftest.$ac_ext <<_ACEOF
31717 /* end confdefs.h. */
31718 #include <$ac_header>
31719 _ACEOF
31720 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31721 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31722 ac_status=$?
31723 grep -v '^ *+' conftest.er1 >conftest.err
31724 rm -f conftest.er1
31725 cat conftest.err >&5
31726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31727 (exit $ac_status); } >/dev/null; then
31728 if test -s conftest.err; then
31729 ac_cpp_err=$ac_c_preproc_warn_flag
31730 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31731 else
31732 ac_cpp_err=
31733 fi
31734 else
31735 ac_cpp_err=yes
31736 fi
31737 if test -z "$ac_cpp_err"; then
31738 ac_header_preproc=yes
31739 else
31740 echo "$as_me: failed program was:" >&5
31741 sed 's/^/| /' conftest.$ac_ext >&5
31742
31743 ac_header_preproc=no
31744 fi
31745 rm -f conftest.err conftest.$ac_ext
31746 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31747 echo "${ECHO_T}$ac_header_preproc" >&6
31748
31749 # So? What about this header?
31750 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31751 yes:no: )
31752 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31753 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31754 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31755 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31756 ac_header_preproc=yes
31757 ;;
31758 no:yes:* )
31759 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31760 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31761 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31762 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31763 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31764 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31765 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31766 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31767 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31768 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31769 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31770 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31771 (
31772 cat <<\_ASBOX
31773 ## ----------------------------------------- ##
31774 ## Report this to wx-dev@lists.wxwindows.org ##
31775 ## ----------------------------------------- ##
31776 _ASBOX
31777 ) |
31778 sed "s/^/$as_me: WARNING: /" >&2
31779 ;;
31780 esac
31781 echo "$as_me:$LINENO: checking for $ac_header" >&5
31782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31784 echo $ECHO_N "(cached) $ECHO_C" >&6
31785 else
31786 eval "$as_ac_Header=\$ac_header_preproc"
31787 fi
31788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31789 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31790
31791 fi
31792 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31793 cat >>confdefs.h <<_ACEOF
31794 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31795 _ACEOF
31796
31797 fi
31798
31799 done
31800
31801 if test "$ac_cv_header_sched_h" = "yes"; then
31802 echo "$as_me:$LINENO: checking for sched_yield" >&5
31803 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
31804 if test "${ac_cv_func_sched_yield+set}" = set; then
31805 echo $ECHO_N "(cached) $ECHO_C" >&6
31806 else
31807 cat >conftest.$ac_ext <<_ACEOF
31808 /* confdefs.h. */
31809 _ACEOF
31810 cat confdefs.h >>conftest.$ac_ext
31811 cat >>conftest.$ac_ext <<_ACEOF
31812 /* end confdefs.h. */
31813 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
31814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31815 #define sched_yield innocuous_sched_yield
31816
31817 /* System header to define __stub macros and hopefully few prototypes,
31818 which can conflict with char sched_yield (); below.
31819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31820 <limits.h> exists even on freestanding compilers. */
31821
31822 #ifdef __STDC__
31823 # include <limits.h>
31824 #else
31825 # include <assert.h>
31826 #endif
31827
31828 #undef sched_yield
31829
31830 /* Override any gcc2 internal prototype to avoid an error. */
31831 #ifdef __cplusplus
31832 extern "C"
31833 {
31834 #endif
31835 /* We use char because int might match the return type of a gcc2
31836 builtin and then its argument prototype would still apply. */
31837 char sched_yield ();
31838 /* The GNU C library defines this for functions which it implements
31839 to always fail with ENOSYS. Some functions are actually named
31840 something starting with __ and the normal name is an alias. */
31841 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
31842 choke me
31843 #else
31844 char (*f) () = sched_yield;
31845 #endif
31846 #ifdef __cplusplus
31847 }
31848 #endif
31849
31850 int
31851 main ()
31852 {
31853 return f != sched_yield;
31854 ;
31855 return 0;
31856 }
31857 _ACEOF
31858 rm -f conftest.$ac_objext conftest$ac_exeext
31859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31860 (eval $ac_link) 2>conftest.er1
31861 ac_status=$?
31862 grep -v '^ *+' conftest.er1 >conftest.err
31863 rm -f conftest.er1
31864 cat conftest.err >&5
31865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31866 (exit $ac_status); } &&
31867 { ac_try='test -z "$ac_c_werror_flag"
31868 || test ! -s conftest.err'
31869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31870 (eval $ac_try) 2>&5
31871 ac_status=$?
31872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31873 (exit $ac_status); }; } &&
31874 { ac_try='test -s conftest$ac_exeext'
31875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31876 (eval $ac_try) 2>&5
31877 ac_status=$?
31878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31879 (exit $ac_status); }; }; then
31880 ac_cv_func_sched_yield=yes
31881 else
31882 echo "$as_me: failed program was:" >&5
31883 sed 's/^/| /' conftest.$ac_ext >&5
31884
31885 ac_cv_func_sched_yield=no
31886 fi
31887 rm -f conftest.err conftest.$ac_objext \
31888 conftest$ac_exeext conftest.$ac_ext
31889 fi
31890 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
31891 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
31892 if test $ac_cv_func_sched_yield = yes; then
31893 cat >>confdefs.h <<\_ACEOF
31894 #define HAVE_SCHED_YIELD 1
31895 _ACEOF
31896
31897 else
31898
31899 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
31900 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
31901 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
31902 echo $ECHO_N "(cached) $ECHO_C" >&6
31903 else
31904 ac_check_lib_save_LIBS=$LIBS
31905 LIBS="-lposix4 $LIBS"
31906 cat >conftest.$ac_ext <<_ACEOF
31907 /* confdefs.h. */
31908 _ACEOF
31909 cat confdefs.h >>conftest.$ac_ext
31910 cat >>conftest.$ac_ext <<_ACEOF
31911 /* end confdefs.h. */
31912
31913 /* Override any gcc2 internal prototype to avoid an error. */
31914 #ifdef __cplusplus
31915 extern "C"
31916 #endif
31917 /* We use char because int might match the return type of a gcc2
31918 builtin and then its argument prototype would still apply. */
31919 char sched_yield ();
31920 int
31921 main ()
31922 {
31923 sched_yield ();
31924 ;
31925 return 0;
31926 }
31927 _ACEOF
31928 rm -f conftest.$ac_objext conftest$ac_exeext
31929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31930 (eval $ac_link) 2>conftest.er1
31931 ac_status=$?
31932 grep -v '^ *+' conftest.er1 >conftest.err
31933 rm -f conftest.er1
31934 cat conftest.err >&5
31935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31936 (exit $ac_status); } &&
31937 { ac_try='test -z "$ac_c_werror_flag"
31938 || test ! -s conftest.err'
31939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31940 (eval $ac_try) 2>&5
31941 ac_status=$?
31942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31943 (exit $ac_status); }; } &&
31944 { ac_try='test -s conftest$ac_exeext'
31945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31946 (eval $ac_try) 2>&5
31947 ac_status=$?
31948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31949 (exit $ac_status); }; }; then
31950 ac_cv_lib_posix4_sched_yield=yes
31951 else
31952 echo "$as_me: failed program was:" >&5
31953 sed 's/^/| /' conftest.$ac_ext >&5
31954
31955 ac_cv_lib_posix4_sched_yield=no
31956 fi
31957 rm -f conftest.err conftest.$ac_objext \
31958 conftest$ac_exeext conftest.$ac_ext
31959 LIBS=$ac_check_lib_save_LIBS
31960 fi
31961 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
31962 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
31963 if test $ac_cv_lib_posix4_sched_yield = yes; then
31964 cat >>confdefs.h <<\_ACEOF
31965 #define HAVE_SCHED_YIELD 1
31966 _ACEOF
31967 POSIX4_LINK=" -lposix4"
31968 else
31969 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
31970 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
31971
31972 fi
31973
31974
31975
31976 fi
31977
31978 fi
31979
31980 HAVE_PRIOR_FUNCS=0
31981 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
31982 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
31983 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
31984 echo $ECHO_N "(cached) $ECHO_C" >&6
31985 else
31986 cat >conftest.$ac_ext <<_ACEOF
31987 /* confdefs.h. */
31988 _ACEOF
31989 cat confdefs.h >>conftest.$ac_ext
31990 cat >>conftest.$ac_ext <<_ACEOF
31991 /* end confdefs.h. */
31992 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
31993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31994 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
31995
31996 /* System header to define __stub macros and hopefully few prototypes,
31997 which can conflict with char pthread_attr_getschedpolicy (); below.
31998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31999 <limits.h> exists even on freestanding compilers. */
32000
32001 #ifdef __STDC__
32002 # include <limits.h>
32003 #else
32004 # include <assert.h>
32005 #endif
32006
32007 #undef pthread_attr_getschedpolicy
32008
32009 /* Override any gcc2 internal prototype to avoid an error. */
32010 #ifdef __cplusplus
32011 extern "C"
32012 {
32013 #endif
32014 /* We use char because int might match the return type of a gcc2
32015 builtin and then its argument prototype would still apply. */
32016 char pthread_attr_getschedpolicy ();
32017 /* The GNU C library defines this for functions which it implements
32018 to always fail with ENOSYS. Some functions are actually named
32019 something starting with __ and the normal name is an alias. */
32020 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32021 choke me
32022 #else
32023 char (*f) () = pthread_attr_getschedpolicy;
32024 #endif
32025 #ifdef __cplusplus
32026 }
32027 #endif
32028
32029 int
32030 main ()
32031 {
32032 return f != pthread_attr_getschedpolicy;
32033 ;
32034 return 0;
32035 }
32036 _ACEOF
32037 rm -f conftest.$ac_objext conftest$ac_exeext
32038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32039 (eval $ac_link) 2>conftest.er1
32040 ac_status=$?
32041 grep -v '^ *+' conftest.er1 >conftest.err
32042 rm -f conftest.er1
32043 cat conftest.err >&5
32044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32045 (exit $ac_status); } &&
32046 { ac_try='test -z "$ac_c_werror_flag"
32047 || test ! -s conftest.err'
32048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32049 (eval $ac_try) 2>&5
32050 ac_status=$?
32051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32052 (exit $ac_status); }; } &&
32053 { ac_try='test -s conftest$ac_exeext'
32054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32055 (eval $ac_try) 2>&5
32056 ac_status=$?
32057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32058 (exit $ac_status); }; }; then
32059 ac_cv_func_pthread_attr_getschedpolicy=yes
32060 else
32061 echo "$as_me: failed program was:" >&5
32062 sed 's/^/| /' conftest.$ac_ext >&5
32063
32064 ac_cv_func_pthread_attr_getschedpolicy=no
32065 fi
32066 rm -f conftest.err conftest.$ac_objext \
32067 conftest$ac_exeext conftest.$ac_ext
32068 fi
32069 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32070 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32071 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32072 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32073 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32074 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32075 echo $ECHO_N "(cached) $ECHO_C" >&6
32076 else
32077 cat >conftest.$ac_ext <<_ACEOF
32078 /* confdefs.h. */
32079 _ACEOF
32080 cat confdefs.h >>conftest.$ac_ext
32081 cat >>conftest.$ac_ext <<_ACEOF
32082 /* end confdefs.h. */
32083 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32085 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32086
32087 /* System header to define __stub macros and hopefully few prototypes,
32088 which can conflict with char pthread_attr_setschedparam (); below.
32089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32090 <limits.h> exists even on freestanding compilers. */
32091
32092 #ifdef __STDC__
32093 # include <limits.h>
32094 #else
32095 # include <assert.h>
32096 #endif
32097
32098 #undef pthread_attr_setschedparam
32099
32100 /* Override any gcc2 internal prototype to avoid an error. */
32101 #ifdef __cplusplus
32102 extern "C"
32103 {
32104 #endif
32105 /* We use char because int might match the return type of a gcc2
32106 builtin and then its argument prototype would still apply. */
32107 char pthread_attr_setschedparam ();
32108 /* The GNU C library defines this for functions which it implements
32109 to always fail with ENOSYS. Some functions are actually named
32110 something starting with __ and the normal name is an alias. */
32111 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32112 choke me
32113 #else
32114 char (*f) () = pthread_attr_setschedparam;
32115 #endif
32116 #ifdef __cplusplus
32117 }
32118 #endif
32119
32120 int
32121 main ()
32122 {
32123 return f != pthread_attr_setschedparam;
32124 ;
32125 return 0;
32126 }
32127 _ACEOF
32128 rm -f conftest.$ac_objext conftest$ac_exeext
32129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32130 (eval $ac_link) 2>conftest.er1
32131 ac_status=$?
32132 grep -v '^ *+' conftest.er1 >conftest.err
32133 rm -f conftest.er1
32134 cat conftest.err >&5
32135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32136 (exit $ac_status); } &&
32137 { ac_try='test -z "$ac_c_werror_flag"
32138 || test ! -s conftest.err'
32139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32140 (eval $ac_try) 2>&5
32141 ac_status=$?
32142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32143 (exit $ac_status); }; } &&
32144 { ac_try='test -s conftest$ac_exeext'
32145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32146 (eval $ac_try) 2>&5
32147 ac_status=$?
32148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32149 (exit $ac_status); }; }; then
32150 ac_cv_func_pthread_attr_setschedparam=yes
32151 else
32152 echo "$as_me: failed program was:" >&5
32153 sed 's/^/| /' conftest.$ac_ext >&5
32154
32155 ac_cv_func_pthread_attr_setschedparam=no
32156 fi
32157 rm -f conftest.err conftest.$ac_objext \
32158 conftest$ac_exeext conftest.$ac_ext
32159 fi
32160 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32161 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32162 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32163 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32164 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32165 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32166 echo $ECHO_N "(cached) $ECHO_C" >&6
32167 else
32168 cat >conftest.$ac_ext <<_ACEOF
32169 /* confdefs.h. */
32170 _ACEOF
32171 cat confdefs.h >>conftest.$ac_ext
32172 cat >>conftest.$ac_ext <<_ACEOF
32173 /* end confdefs.h. */
32174 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32176 #define sched_get_priority_max innocuous_sched_get_priority_max
32177
32178 /* System header to define __stub macros and hopefully few prototypes,
32179 which can conflict with char sched_get_priority_max (); below.
32180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32181 <limits.h> exists even on freestanding compilers. */
32182
32183 #ifdef __STDC__
32184 # include <limits.h>
32185 #else
32186 # include <assert.h>
32187 #endif
32188
32189 #undef sched_get_priority_max
32190
32191 /* Override any gcc2 internal prototype to avoid an error. */
32192 #ifdef __cplusplus
32193 extern "C"
32194 {
32195 #endif
32196 /* We use char because int might match the return type of a gcc2
32197 builtin and then its argument prototype would still apply. */
32198 char sched_get_priority_max ();
32199 /* The GNU C library defines this for functions which it implements
32200 to always fail with ENOSYS. Some functions are actually named
32201 something starting with __ and the normal name is an alias. */
32202 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32203 choke me
32204 #else
32205 char (*f) () = sched_get_priority_max;
32206 #endif
32207 #ifdef __cplusplus
32208 }
32209 #endif
32210
32211 int
32212 main ()
32213 {
32214 return f != sched_get_priority_max;
32215 ;
32216 return 0;
32217 }
32218 _ACEOF
32219 rm -f conftest.$ac_objext conftest$ac_exeext
32220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32221 (eval $ac_link) 2>conftest.er1
32222 ac_status=$?
32223 grep -v '^ *+' conftest.er1 >conftest.err
32224 rm -f conftest.er1
32225 cat conftest.err >&5
32226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32227 (exit $ac_status); } &&
32228 { ac_try='test -z "$ac_c_werror_flag"
32229 || test ! -s conftest.err'
32230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32231 (eval $ac_try) 2>&5
32232 ac_status=$?
32233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32234 (exit $ac_status); }; } &&
32235 { ac_try='test -s conftest$ac_exeext'
32236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32237 (eval $ac_try) 2>&5
32238 ac_status=$?
32239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32240 (exit $ac_status); }; }; then
32241 ac_cv_func_sched_get_priority_max=yes
32242 else
32243 echo "$as_me: failed program was:" >&5
32244 sed 's/^/| /' conftest.$ac_ext >&5
32245
32246 ac_cv_func_sched_get_priority_max=no
32247 fi
32248 rm -f conftest.err conftest.$ac_objext \
32249 conftest$ac_exeext conftest.$ac_ext
32250 fi
32251 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32252 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32253 if test $ac_cv_func_sched_get_priority_max = yes; then
32254 HAVE_PRIOR_FUNCS=1
32255 else
32256 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32257 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32258 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32259 echo $ECHO_N "(cached) $ECHO_C" >&6
32260 else
32261 ac_check_lib_save_LIBS=$LIBS
32262 LIBS="-lposix4 $LIBS"
32263 cat >conftest.$ac_ext <<_ACEOF
32264 /* confdefs.h. */
32265 _ACEOF
32266 cat confdefs.h >>conftest.$ac_ext
32267 cat >>conftest.$ac_ext <<_ACEOF
32268 /* end confdefs.h. */
32269
32270 /* Override any gcc2 internal prototype to avoid an error. */
32271 #ifdef __cplusplus
32272 extern "C"
32273 #endif
32274 /* We use char because int might match the return type of a gcc2
32275 builtin and then its argument prototype would still apply. */
32276 char sched_get_priority_max ();
32277 int
32278 main ()
32279 {
32280 sched_get_priority_max ();
32281 ;
32282 return 0;
32283 }
32284 _ACEOF
32285 rm -f conftest.$ac_objext conftest$ac_exeext
32286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32287 (eval $ac_link) 2>conftest.er1
32288 ac_status=$?
32289 grep -v '^ *+' conftest.er1 >conftest.err
32290 rm -f conftest.er1
32291 cat conftest.err >&5
32292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32293 (exit $ac_status); } &&
32294 { ac_try='test -z "$ac_c_werror_flag"
32295 || test ! -s conftest.err'
32296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32297 (eval $ac_try) 2>&5
32298 ac_status=$?
32299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32300 (exit $ac_status); }; } &&
32301 { ac_try='test -s conftest$ac_exeext'
32302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32303 (eval $ac_try) 2>&5
32304 ac_status=$?
32305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32306 (exit $ac_status); }; }; then
32307 ac_cv_lib_posix4_sched_get_priority_max=yes
32308 else
32309 echo "$as_me: failed program was:" >&5
32310 sed 's/^/| /' conftest.$ac_ext >&5
32311
32312 ac_cv_lib_posix4_sched_get_priority_max=no
32313 fi
32314 rm -f conftest.err conftest.$ac_objext \
32315 conftest$ac_exeext conftest.$ac_ext
32316 LIBS=$ac_check_lib_save_LIBS
32317 fi
32318 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32319 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32320 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32321
32322 HAVE_PRIOR_FUNCS=1
32323 POSIX4_LINK=" -lposix4"
32324
32325 fi
32326
32327
32328 fi
32329
32330
32331 fi
32332
32333
32334 fi
32335
32336
32337 if test "$HAVE_PRIOR_FUNCS" = 1; then
32338 cat >>confdefs.h <<\_ACEOF
32339 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32340 _ACEOF
32341
32342 else
32343 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32344 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32345 fi
32346
32347 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32348 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32349 if test "${ac_cv_func_pthread_cancel+set}" = set; then
32350 echo $ECHO_N "(cached) $ECHO_C" >&6
32351 else
32352 cat >conftest.$ac_ext <<_ACEOF
32353 /* confdefs.h. */
32354 _ACEOF
32355 cat confdefs.h >>conftest.$ac_ext
32356 cat >>conftest.$ac_ext <<_ACEOF
32357 /* end confdefs.h. */
32358 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
32359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32360 #define pthread_cancel innocuous_pthread_cancel
32361
32362 /* System header to define __stub macros and hopefully few prototypes,
32363 which can conflict with char pthread_cancel (); below.
32364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32365 <limits.h> exists even on freestanding compilers. */
32366
32367 #ifdef __STDC__
32368 # include <limits.h>
32369 #else
32370 # include <assert.h>
32371 #endif
32372
32373 #undef pthread_cancel
32374
32375 /* Override any gcc2 internal prototype to avoid an error. */
32376 #ifdef __cplusplus
32377 extern "C"
32378 {
32379 #endif
32380 /* We use char because int might match the return type of a gcc2
32381 builtin and then its argument prototype would still apply. */
32382 char pthread_cancel ();
32383 /* The GNU C library defines this for functions which it implements
32384 to always fail with ENOSYS. Some functions are actually named
32385 something starting with __ and the normal name is an alias. */
32386 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
32387 choke me
32388 #else
32389 char (*f) () = pthread_cancel;
32390 #endif
32391 #ifdef __cplusplus
32392 }
32393 #endif
32394
32395 int
32396 main ()
32397 {
32398 return f != pthread_cancel;
32399 ;
32400 return 0;
32401 }
32402 _ACEOF
32403 rm -f conftest.$ac_objext conftest$ac_exeext
32404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32405 (eval $ac_link) 2>conftest.er1
32406 ac_status=$?
32407 grep -v '^ *+' conftest.er1 >conftest.err
32408 rm -f conftest.er1
32409 cat conftest.err >&5
32410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32411 (exit $ac_status); } &&
32412 { ac_try='test -z "$ac_c_werror_flag"
32413 || test ! -s conftest.err'
32414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32415 (eval $ac_try) 2>&5
32416 ac_status=$?
32417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32418 (exit $ac_status); }; } &&
32419 { ac_try='test -s conftest$ac_exeext'
32420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32421 (eval $ac_try) 2>&5
32422 ac_status=$?
32423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32424 (exit $ac_status); }; }; then
32425 ac_cv_func_pthread_cancel=yes
32426 else
32427 echo "$as_me: failed program was:" >&5
32428 sed 's/^/| /' conftest.$ac_ext >&5
32429
32430 ac_cv_func_pthread_cancel=no
32431 fi
32432 rm -f conftest.err conftest.$ac_objext \
32433 conftest$ac_exeext conftest.$ac_ext
32434 fi
32435 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
32436 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
32437 if test $ac_cv_func_pthread_cancel = yes; then
32438 cat >>confdefs.h <<\_ACEOF
32439 #define HAVE_PTHREAD_CANCEL 1
32440 _ACEOF
32441
32442 else
32443 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
32444 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32445 fi
32446
32447
32448
32449
32450 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
32451 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
32452 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
32453 echo $ECHO_N "(cached) $ECHO_C" >&6
32454 else
32455
32456 cat >conftest.$ac_ext <<_ACEOF
32457 /* confdefs.h. */
32458 _ACEOF
32459 cat confdefs.h >>conftest.$ac_ext
32460 cat >>conftest.$ac_ext <<_ACEOF
32461 /* end confdefs.h. */
32462 #include <pthread.h>
32463 int
32464 main ()
32465 {
32466
32467 pthread_mutexattr_t attr;
32468 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32469
32470 ;
32471 return 0;
32472 }
32473 _ACEOF
32474 rm -f conftest.$ac_objext
32475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32476 (eval $ac_compile) 2>conftest.er1
32477 ac_status=$?
32478 grep -v '^ *+' conftest.er1 >conftest.err
32479 rm -f conftest.er1
32480 cat conftest.err >&5
32481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32482 (exit $ac_status); } &&
32483 { ac_try='test -z "$ac_c_werror_flag"
32484 || test ! -s conftest.err'
32485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32486 (eval $ac_try) 2>&5
32487 ac_status=$?
32488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32489 (exit $ac_status); }; } &&
32490 { ac_try='test -s conftest.$ac_objext'
32491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32492 (eval $ac_try) 2>&5
32493 ac_status=$?
32494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32495 (exit $ac_status); }; }; then
32496
32497 wx_cv_type_pthread_mutexattr_t=yes
32498
32499 else
32500 echo "$as_me: failed program was:" >&5
32501 sed 's/^/| /' conftest.$ac_ext >&5
32502
32503
32504 wx_cv_type_pthread_mutexattr_t=no
32505
32506
32507 fi
32508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32509
32510 fi
32511 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
32512 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
32513
32514 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32515 cat >>confdefs.h <<\_ACEOF
32516 #define HAVE_PTHREAD_MUTEXATTR_T 1
32517 _ACEOF
32518
32519 else
32520 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32521 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
32522 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
32523 echo $ECHO_N "(cached) $ECHO_C" >&6
32524 else
32525
32526 cat >conftest.$ac_ext <<_ACEOF
32527 /* confdefs.h. */
32528 _ACEOF
32529 cat confdefs.h >>conftest.$ac_ext
32530 cat >>conftest.$ac_ext <<_ACEOF
32531 /* end confdefs.h. */
32532 #include <pthread.h>
32533 int
32534 main ()
32535 {
32536
32537 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32538
32539 ;
32540 return 0;
32541 }
32542 _ACEOF
32543 rm -f conftest.$ac_objext
32544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32545 (eval $ac_compile) 2>conftest.er1
32546 ac_status=$?
32547 grep -v '^ *+' conftest.er1 >conftest.err
32548 rm -f conftest.er1
32549 cat conftest.err >&5
32550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32551 (exit $ac_status); } &&
32552 { ac_try='test -z "$ac_c_werror_flag"
32553 || test ! -s conftest.err'
32554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32555 (eval $ac_try) 2>&5
32556 ac_status=$?
32557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32558 (exit $ac_status); }; } &&
32559 { ac_try='test -s conftest.$ac_objext'
32560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32561 (eval $ac_try) 2>&5
32562 ac_status=$?
32563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32564 (exit $ac_status); }; }; then
32565
32566 wx_cv_type_pthread_rec_mutex_init=yes
32567
32568 else
32569 echo "$as_me: failed program was:" >&5
32570 sed 's/^/| /' conftest.$ac_ext >&5
32571
32572
32573 wx_cv_type_pthread_rec_mutex_init=no
32574
32575
32576 fi
32577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32578
32579 fi
32580 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32581 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
32582 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32583 cat >>confdefs.h <<\_ACEOF
32584 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
32585 _ACEOF
32586
32587 else
32588 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
32589 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32590 fi
32591 fi
32592 fi
32593
32594 else
32595 if test "$wxUSE_THREADS" = "yes" ; then
32596 case "${host}" in
32597 *-*-mingw32* )
32598 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
32599 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
32600 if test "${wx_cv_cflags_mthread+set}" = set; then
32601 echo $ECHO_N "(cached) $ECHO_C" >&6
32602 else
32603
32604 CFLAGS_OLD="$CFLAGS"
32605 CFLAGS="$CFLAGS -mthreads"
32606 cat >conftest.$ac_ext <<_ACEOF
32607 /* confdefs.h. */
32608 _ACEOF
32609 cat confdefs.h >>conftest.$ac_ext
32610 cat >>conftest.$ac_ext <<_ACEOF
32611 /* end confdefs.h. */
32612
32613 int
32614 main ()
32615 {
32616
32617 ;
32618 return 0;
32619 }
32620 _ACEOF
32621 rm -f conftest.$ac_objext
32622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32623 (eval $ac_compile) 2>conftest.er1
32624 ac_status=$?
32625 grep -v '^ *+' conftest.er1 >conftest.err
32626 rm -f conftest.er1
32627 cat conftest.err >&5
32628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32629 (exit $ac_status); } &&
32630 { ac_try='test -z "$ac_c_werror_flag"
32631 || test ! -s conftest.err'
32632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32633 (eval $ac_try) 2>&5
32634 ac_status=$?
32635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32636 (exit $ac_status); }; } &&
32637 { ac_try='test -s conftest.$ac_objext'
32638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32639 (eval $ac_try) 2>&5
32640 ac_status=$?
32641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32642 (exit $ac_status); }; }; then
32643 wx_cv_cflags_mthread=yes
32644 else
32645 echo "$as_me: failed program was:" >&5
32646 sed 's/^/| /' conftest.$ac_ext >&5
32647
32648 wx_cv_cflags_mthread=no
32649
32650 fi
32651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32652
32653
32654 fi
32655 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
32656 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
32657
32658 if test "$wx_cv_cflags_mthread" = "yes"; then
32659 CXXFLAGS="$CXXFLAGS -mthreads"
32660 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
32661 LDFLAGS="$LDFLAGS -mthreads"
32662 else
32663 CFLAGS="$CFLAGS_OLD"
32664 fi
32665 ;;
32666 *-pc-os2*emx )
32667 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
32668 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
32669 LDFLAGS="$LDFLAGS -Zmt"
32670 ;;
32671 esac
32672 fi
32673 fi
32674
32675 if test "$wxUSE_THREADS" = "yes"; then
32676 cat >>confdefs.h <<\_ACEOF
32677 #define wxUSE_THREADS 1
32678 _ACEOF
32679
32680
32681 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
32682 else
32683 if test "$ac_cv_func_strtok_r" = "yes"; then
32684 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
32685 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
32686 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
32687 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
32688 echo "$as_me:$LINENO: result: yes" >&5
32689 echo "${ECHO_T}yes" >&6
32690 else
32691 echo "$as_me:$LINENO: result: no" >&5
32692 echo "${ECHO_T}no" >&6
32693 fi
32694 fi
32695 fi
32696
32697 if test "$WXGTK20" = 1 ; then
32698 cat >>confdefs.h <<_ACEOF
32699 #define __WXGTK20__ $WXGTK20
32700 _ACEOF
32701
32702 WXGTK12=1
32703 fi
32704
32705 if test "$WXGTK12" = 1 ; then
32706 cat >>confdefs.h <<_ACEOF
32707 #define __WXGTK12__ $WXGTK12
32708 _ACEOF
32709
32710 fi
32711
32712 if test "$WXGTK127" = 1 ; then
32713 cat >>confdefs.h <<_ACEOF
32714 #define __WXGTK127__ $WXGTK127
32715 _ACEOF
32716
32717 fi
32718
32719 WXDEBUG=
32720
32721 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
32722 WXDEBUG="-g"
32723 wxUSE_OPTIMISE=no
32724 fi
32725
32726 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
32727 wxUSE_DEBUG_INFO=yes
32728 WXDEBUG="-ggdb"
32729 fi
32730
32731 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
32732 cat >>confdefs.h <<\_ACEOF
32733 #define WXDEBUG 1
32734 _ACEOF
32735
32736 WXDEBUG_DEFINE="-D__WXDEBUG__"
32737 else
32738 if test "$wxUSE_GTK" = 1 ; then
32739 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
32740 fi
32741 fi
32742
32743 if test "$wxUSE_MEM_TRACING" = "yes" ; then
32744 cat >>confdefs.h <<\_ACEOF
32745 #define wxUSE_MEMORY_TRACING 1
32746 _ACEOF
32747
32748 cat >>confdefs.h <<\_ACEOF
32749 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
32750 _ACEOF
32751
32752 cat >>confdefs.h <<\_ACEOF
32753 #define wxUSE_DEBUG_NEW_ALWAYS 1
32754 _ACEOF
32755
32756 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
32757 fi
32758
32759 if test "$wxUSE_DMALLOC" = "yes" ; then
32760 DMALLOC_LIBS="-ldmalloc"
32761 fi
32762
32763 PROFILE=
32764 if test "$wxUSE_PROFILE" = "yes" ; then
32765 PROFILE=" -pg"
32766 fi
32767
32768 CODE_GEN_FLAGS=
32769 CODE_GEN_FLAGS_CXX=
32770 if test "$GCC" = "yes" ; then
32771 if test "$wxUSE_NO_RTTI" = "yes" ; then
32772 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
32773 fi
32774 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
32775 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
32776 fi
32777 if test "$wxUSE_PERMISSIVE" = "yes" ; then
32778 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
32779 fi
32780
32781 case "${host}" in
32782 powerpc*-*-aix* )
32783 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
32784 ;;
32785 *-hppa* )
32786 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
32787 ;;
32788 esac
32789 fi
32790
32791 OPTIMISE=
32792 if test "$wxUSE_OPTIMISE" = "no" ; then
32793 if test "$GCC" = yes ; then
32794 OPTIMISE="-O0"
32795 fi
32796 else
32797 if test "$GCC" = yes ; then
32798 OPTIMISE="-O2"
32799
32800 case "${host}" in
32801 i586-*-*|i686-*-* )
32802 OPTIMISE="${OPTIMISE} "
32803 ;;
32804 esac
32805 else
32806 OPTIMISE="-O"
32807 fi
32808 fi
32809
32810
32811 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
32812 cat >>confdefs.h <<\_ACEOF
32813 #define WXWIN_COMPATIBILITY_2_2 1
32814 _ACEOF
32815
32816
32817 WXWIN_COMPATIBILITY_2_4="yes"
32818 fi
32819
32820 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
32821 cat >>confdefs.h <<\_ACEOF
32822 #define WXWIN_COMPATIBILITY_2_4 1
32823 _ACEOF
32824
32825 fi
32826
32827
32828 if test "$wxUSE_GUI" = "yes"; then
32829 cat >>confdefs.h <<\_ACEOF
32830 #define wxUSE_GUI 1
32831 _ACEOF
32832
32833
32834 else
32835 cat >>confdefs.h <<\_ACEOF
32836 #define wxUSE_NOGUI 1
32837 _ACEOF
32838
32839 fi
32840
32841
32842 if test "$wxUSE_UNIX" = "yes"; then
32843 cat >>confdefs.h <<\_ACEOF
32844 #define wxUSE_UNIX 1
32845 _ACEOF
32846
32847 fi
32848
32849
32850 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32851
32852 HAVE_DL_FUNCS=0
32853 HAVE_SHL_FUNCS=0
32854 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32855 if test "$USE_DARWIN" = 1; then
32856 HAVE_DL_FUNCS=1
32857 else
32858
32859 for ac_func in dlopen
32860 do
32861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32862 echo "$as_me:$LINENO: checking for $ac_func" >&5
32863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32864 if eval "test \"\${$as_ac_var+set}\" = set"; then
32865 echo $ECHO_N "(cached) $ECHO_C" >&6
32866 else
32867 cat >conftest.$ac_ext <<_ACEOF
32868 /* confdefs.h. */
32869 _ACEOF
32870 cat confdefs.h >>conftest.$ac_ext
32871 cat >>conftest.$ac_ext <<_ACEOF
32872 /* end confdefs.h. */
32873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32875 #define $ac_func innocuous_$ac_func
32876
32877 /* System header to define __stub macros and hopefully few prototypes,
32878 which can conflict with char $ac_func (); below.
32879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32880 <limits.h> exists even on freestanding compilers. */
32881
32882 #ifdef __STDC__
32883 # include <limits.h>
32884 #else
32885 # include <assert.h>
32886 #endif
32887
32888 #undef $ac_func
32889
32890 /* Override any gcc2 internal prototype to avoid an error. */
32891 #ifdef __cplusplus
32892 extern "C"
32893 {
32894 #endif
32895 /* We use char because int might match the return type of a gcc2
32896 builtin and then its argument prototype would still apply. */
32897 char $ac_func ();
32898 /* The GNU C library defines this for functions which it implements
32899 to always fail with ENOSYS. Some functions are actually named
32900 something starting with __ and the normal name is an alias. */
32901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32902 choke me
32903 #else
32904 char (*f) () = $ac_func;
32905 #endif
32906 #ifdef __cplusplus
32907 }
32908 #endif
32909
32910 int
32911 main ()
32912 {
32913 return f != $ac_func;
32914 ;
32915 return 0;
32916 }
32917 _ACEOF
32918 rm -f conftest.$ac_objext conftest$ac_exeext
32919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32920 (eval $ac_link) 2>conftest.er1
32921 ac_status=$?
32922 grep -v '^ *+' conftest.er1 >conftest.err
32923 rm -f conftest.er1
32924 cat conftest.err >&5
32925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32926 (exit $ac_status); } &&
32927 { ac_try='test -z "$ac_c_werror_flag"
32928 || test ! -s conftest.err'
32929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32930 (eval $ac_try) 2>&5
32931 ac_status=$?
32932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32933 (exit $ac_status); }; } &&
32934 { ac_try='test -s conftest$ac_exeext'
32935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32936 (eval $ac_try) 2>&5
32937 ac_status=$?
32938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32939 (exit $ac_status); }; }; then
32940 eval "$as_ac_var=yes"
32941 else
32942 echo "$as_me: failed program was:" >&5
32943 sed 's/^/| /' conftest.$ac_ext >&5
32944
32945 eval "$as_ac_var=no"
32946 fi
32947 rm -f conftest.err conftest.$ac_objext \
32948 conftest$ac_exeext conftest.$ac_ext
32949 fi
32950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32952 if test `eval echo '${'$as_ac_var'}'` = yes; then
32953 cat >>confdefs.h <<_ACEOF
32954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32955 _ACEOF
32956
32957 cat >>confdefs.h <<\_ACEOF
32958 #define HAVE_DLOPEN 1
32959 _ACEOF
32960
32961 HAVE_DL_FUNCS=1
32962
32963 else
32964
32965 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
32966 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
32967 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
32968 echo $ECHO_N "(cached) $ECHO_C" >&6
32969 else
32970 ac_check_lib_save_LIBS=$LIBS
32971 LIBS="-ldl $LIBS"
32972 cat >conftest.$ac_ext <<_ACEOF
32973 /* confdefs.h. */
32974 _ACEOF
32975 cat confdefs.h >>conftest.$ac_ext
32976 cat >>conftest.$ac_ext <<_ACEOF
32977 /* end confdefs.h. */
32978
32979 /* Override any gcc2 internal prototype to avoid an error. */
32980 #ifdef __cplusplus
32981 extern "C"
32982 #endif
32983 /* We use char because int might match the return type of a gcc2
32984 builtin and then its argument prototype would still apply. */
32985 char dlopen ();
32986 int
32987 main ()
32988 {
32989 dlopen ();
32990 ;
32991 return 0;
32992 }
32993 _ACEOF
32994 rm -f conftest.$ac_objext conftest$ac_exeext
32995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32996 (eval $ac_link) 2>conftest.er1
32997 ac_status=$?
32998 grep -v '^ *+' conftest.er1 >conftest.err
32999 rm -f conftest.er1
33000 cat conftest.err >&5
33001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33002 (exit $ac_status); } &&
33003 { ac_try='test -z "$ac_c_werror_flag"
33004 || test ! -s conftest.err'
33005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33006 (eval $ac_try) 2>&5
33007 ac_status=$?
33008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33009 (exit $ac_status); }; } &&
33010 { ac_try='test -s conftest$ac_exeext'
33011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33012 (eval $ac_try) 2>&5
33013 ac_status=$?
33014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33015 (exit $ac_status); }; }; then
33016 ac_cv_lib_dl_dlopen=yes
33017 else
33018 echo "$as_me: failed program was:" >&5
33019 sed 's/^/| /' conftest.$ac_ext >&5
33020
33021 ac_cv_lib_dl_dlopen=no
33022 fi
33023 rm -f conftest.err conftest.$ac_objext \
33024 conftest$ac_exeext conftest.$ac_ext
33025 LIBS=$ac_check_lib_save_LIBS
33026 fi
33027 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33028 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33029 if test $ac_cv_lib_dl_dlopen = yes; then
33030
33031 cat >>confdefs.h <<\_ACEOF
33032 #define HAVE_DLOPEN 1
33033 _ACEOF
33034
33035 HAVE_DL_FUNCS=1
33036 DL_LINK=" -ldl$DL_LINK"
33037
33038 else
33039
33040
33041 for ac_func in shl_load
33042 do
33043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33044 echo "$as_me:$LINENO: checking for $ac_func" >&5
33045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33046 if eval "test \"\${$as_ac_var+set}\" = set"; then
33047 echo $ECHO_N "(cached) $ECHO_C" >&6
33048 else
33049 cat >conftest.$ac_ext <<_ACEOF
33050 /* confdefs.h. */
33051 _ACEOF
33052 cat confdefs.h >>conftest.$ac_ext
33053 cat >>conftest.$ac_ext <<_ACEOF
33054 /* end confdefs.h. */
33055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33057 #define $ac_func innocuous_$ac_func
33058
33059 /* System header to define __stub macros and hopefully few prototypes,
33060 which can conflict with char $ac_func (); below.
33061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33062 <limits.h> exists even on freestanding compilers. */
33063
33064 #ifdef __STDC__
33065 # include <limits.h>
33066 #else
33067 # include <assert.h>
33068 #endif
33069
33070 #undef $ac_func
33071
33072 /* Override any gcc2 internal prototype to avoid an error. */
33073 #ifdef __cplusplus
33074 extern "C"
33075 {
33076 #endif
33077 /* We use char because int might match the return type of a gcc2
33078 builtin and then its argument prototype would still apply. */
33079 char $ac_func ();
33080 /* The GNU C library defines this for functions which it implements
33081 to always fail with ENOSYS. Some functions are actually named
33082 something starting with __ and the normal name is an alias. */
33083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33084 choke me
33085 #else
33086 char (*f) () = $ac_func;
33087 #endif
33088 #ifdef __cplusplus
33089 }
33090 #endif
33091
33092 int
33093 main ()
33094 {
33095 return f != $ac_func;
33096 ;
33097 return 0;
33098 }
33099 _ACEOF
33100 rm -f conftest.$ac_objext conftest$ac_exeext
33101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33102 (eval $ac_link) 2>conftest.er1
33103 ac_status=$?
33104 grep -v '^ *+' conftest.er1 >conftest.err
33105 rm -f conftest.er1
33106 cat conftest.err >&5
33107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33108 (exit $ac_status); } &&
33109 { ac_try='test -z "$ac_c_werror_flag"
33110 || test ! -s conftest.err'
33111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33112 (eval $ac_try) 2>&5
33113 ac_status=$?
33114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33115 (exit $ac_status); }; } &&
33116 { ac_try='test -s conftest$ac_exeext'
33117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33118 (eval $ac_try) 2>&5
33119 ac_status=$?
33120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33121 (exit $ac_status); }; }; then
33122 eval "$as_ac_var=yes"
33123 else
33124 echo "$as_me: failed program was:" >&5
33125 sed 's/^/| /' conftest.$ac_ext >&5
33126
33127 eval "$as_ac_var=no"
33128 fi
33129 rm -f conftest.err conftest.$ac_objext \
33130 conftest$ac_exeext conftest.$ac_ext
33131 fi
33132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33134 if test `eval echo '${'$as_ac_var'}'` = yes; then
33135 cat >>confdefs.h <<_ACEOF
33136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33137 _ACEOF
33138
33139 cat >>confdefs.h <<\_ACEOF
33140 #define HAVE_SHL_LOAD 1
33141 _ACEOF
33142
33143 HAVE_SHL_FUNCS=1
33144
33145 else
33146
33147 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33148 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33149 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33150 echo $ECHO_N "(cached) $ECHO_C" >&6
33151 else
33152 ac_check_lib_save_LIBS=$LIBS
33153 LIBS="-lshl_load $LIBS"
33154 cat >conftest.$ac_ext <<_ACEOF
33155 /* confdefs.h. */
33156 _ACEOF
33157 cat confdefs.h >>conftest.$ac_ext
33158 cat >>conftest.$ac_ext <<_ACEOF
33159 /* end confdefs.h. */
33160
33161 /* Override any gcc2 internal prototype to avoid an error. */
33162 #ifdef __cplusplus
33163 extern "C"
33164 #endif
33165 /* We use char because int might match the return type of a gcc2
33166 builtin and then its argument prototype would still apply. */
33167 char dld ();
33168 int
33169 main ()
33170 {
33171 dld ();
33172 ;
33173 return 0;
33174 }
33175 _ACEOF
33176 rm -f conftest.$ac_objext conftest$ac_exeext
33177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33178 (eval $ac_link) 2>conftest.er1
33179 ac_status=$?
33180 grep -v '^ *+' conftest.er1 >conftest.err
33181 rm -f conftest.er1
33182 cat conftest.err >&5
33183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33184 (exit $ac_status); } &&
33185 { ac_try='test -z "$ac_c_werror_flag"
33186 || test ! -s conftest.err'
33187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33188 (eval $ac_try) 2>&5
33189 ac_status=$?
33190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33191 (exit $ac_status); }; } &&
33192 { ac_try='test -s conftest$ac_exeext'
33193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33194 (eval $ac_try) 2>&5
33195 ac_status=$?
33196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33197 (exit $ac_status); }; }; then
33198 ac_cv_lib_shl_load_dld=yes
33199 else
33200 echo "$as_me: failed program was:" >&5
33201 sed 's/^/| /' conftest.$ac_ext >&5
33202
33203 ac_cv_lib_shl_load_dld=no
33204 fi
33205 rm -f conftest.err conftest.$ac_objext \
33206 conftest$ac_exeext conftest.$ac_ext
33207 LIBS=$ac_check_lib_save_LIBS
33208 fi
33209 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33210 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33211 if test $ac_cv_lib_shl_load_dld = yes; then
33212
33213 HAVE_SHL_FUNCS=1
33214 DL_LINK=" -ldld$DL_LINK"
33215
33216 fi
33217
33218
33219 fi
33220 done
33221
33222
33223 fi
33224
33225
33226 fi
33227 done
33228
33229
33230 if test "$HAVE_DL_FUNCS" = 1; then
33231
33232 for ac_func in dlerror
33233 do
33234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33235 echo "$as_me:$LINENO: checking for $ac_func" >&5
33236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33237 if eval "test \"\${$as_ac_var+set}\" = set"; then
33238 echo $ECHO_N "(cached) $ECHO_C" >&6
33239 else
33240 cat >conftest.$ac_ext <<_ACEOF
33241 /* confdefs.h. */
33242 _ACEOF
33243 cat confdefs.h >>conftest.$ac_ext
33244 cat >>conftest.$ac_ext <<_ACEOF
33245 /* end confdefs.h. */
33246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33248 #define $ac_func innocuous_$ac_func
33249
33250 /* System header to define __stub macros and hopefully few prototypes,
33251 which can conflict with char $ac_func (); below.
33252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33253 <limits.h> exists even on freestanding compilers. */
33254
33255 #ifdef __STDC__
33256 # include <limits.h>
33257 #else
33258 # include <assert.h>
33259 #endif
33260
33261 #undef $ac_func
33262
33263 /* Override any gcc2 internal prototype to avoid an error. */
33264 #ifdef __cplusplus
33265 extern "C"
33266 {
33267 #endif
33268 /* We use char because int might match the return type of a gcc2
33269 builtin and then its argument prototype would still apply. */
33270 char $ac_func ();
33271 /* The GNU C library defines this for functions which it implements
33272 to always fail with ENOSYS. Some functions are actually named
33273 something starting with __ and the normal name is an alias. */
33274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33275 choke me
33276 #else
33277 char (*f) () = $ac_func;
33278 #endif
33279 #ifdef __cplusplus
33280 }
33281 #endif
33282
33283 int
33284 main ()
33285 {
33286 return f != $ac_func;
33287 ;
33288 return 0;
33289 }
33290 _ACEOF
33291 rm -f conftest.$ac_objext conftest$ac_exeext
33292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33293 (eval $ac_link) 2>conftest.er1
33294 ac_status=$?
33295 grep -v '^ *+' conftest.er1 >conftest.err
33296 rm -f conftest.er1
33297 cat conftest.err >&5
33298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33299 (exit $ac_status); } &&
33300 { ac_try='test -z "$ac_c_werror_flag"
33301 || test ! -s conftest.err'
33302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33303 (eval $ac_try) 2>&5
33304 ac_status=$?
33305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33306 (exit $ac_status); }; } &&
33307 { ac_try='test -s conftest$ac_exeext'
33308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33309 (eval $ac_try) 2>&5
33310 ac_status=$?
33311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33312 (exit $ac_status); }; }; then
33313 eval "$as_ac_var=yes"
33314 else
33315 echo "$as_me: failed program was:" >&5
33316 sed 's/^/| /' conftest.$ac_ext >&5
33317
33318 eval "$as_ac_var=no"
33319 fi
33320 rm -f conftest.err conftest.$ac_objext \
33321 conftest$ac_exeext conftest.$ac_ext
33322 fi
33323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33325 if test `eval echo '${'$as_ac_var'}'` = yes; then
33326 cat >>confdefs.h <<_ACEOF
33327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33328 _ACEOF
33329 cat >>confdefs.h <<\_ACEOF
33330 #define HAVE_DLERROR 1
33331 _ACEOF
33332
33333 else
33334
33335 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
33336 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
33337 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
33338 echo $ECHO_N "(cached) $ECHO_C" >&6
33339 else
33340 ac_check_lib_save_LIBS=$LIBS
33341 LIBS="-ldl $LIBS"
33342 cat >conftest.$ac_ext <<_ACEOF
33343 /* confdefs.h. */
33344 _ACEOF
33345 cat confdefs.h >>conftest.$ac_ext
33346 cat >>conftest.$ac_ext <<_ACEOF
33347 /* end confdefs.h. */
33348
33349 /* Override any gcc2 internal prototype to avoid an error. */
33350 #ifdef __cplusplus
33351 extern "C"
33352 #endif
33353 /* We use char because int might match the return type of a gcc2
33354 builtin and then its argument prototype would still apply. */
33355 char dlerror ();
33356 int
33357 main ()
33358 {
33359 dlerror ();
33360 ;
33361 return 0;
33362 }
33363 _ACEOF
33364 rm -f conftest.$ac_objext conftest$ac_exeext
33365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33366 (eval $ac_link) 2>conftest.er1
33367 ac_status=$?
33368 grep -v '^ *+' conftest.er1 >conftest.err
33369 rm -f conftest.er1
33370 cat conftest.err >&5
33371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33372 (exit $ac_status); } &&
33373 { ac_try='test -z "$ac_c_werror_flag"
33374 || test ! -s conftest.err'
33375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33376 (eval $ac_try) 2>&5
33377 ac_status=$?
33378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33379 (exit $ac_status); }; } &&
33380 { ac_try='test -s conftest$ac_exeext'
33381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33382 (eval $ac_try) 2>&5
33383 ac_status=$?
33384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33385 (exit $ac_status); }; }; then
33386 ac_cv_lib_dl_dlerror=yes
33387 else
33388 echo "$as_me: failed program was:" >&5
33389 sed 's/^/| /' conftest.$ac_ext >&5
33390
33391 ac_cv_lib_dl_dlerror=no
33392 fi
33393 rm -f conftest.err conftest.$ac_objext \
33394 conftest$ac_exeext conftest.$ac_ext
33395 LIBS=$ac_check_lib_save_LIBS
33396 fi
33397 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
33398 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
33399 if test $ac_cv_lib_dl_dlerror = yes; then
33400 cat >>confdefs.h <<\_ACEOF
33401 #define HAVE_DLERROR 1
33402 _ACEOF
33403
33404 fi
33405
33406
33407
33408 fi
33409 done
33410
33411 fi
33412 fi
33413
33414 if test "$HAVE_DL_FUNCS" = 0; then
33415 if test "$HAVE_SHL_FUNCS" = 0; then
33416 if test "$USE_UNIX" = 1; then
33417 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33418 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33419 wxUSE_DYNAMIC_LOADER=no
33420 wxUSE_DYNLIB_CLASS=no
33421 else
33422 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
33423 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33424 fi
33425 fi
33426 fi
33427 fi
33428 fi
33429
33430 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33431 cat >>confdefs.h <<\_ACEOF
33432 #define wxUSE_DYNAMIC_LOADER 1
33433 _ACEOF
33434
33435 fi
33436 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33437 cat >>confdefs.h <<\_ACEOF
33438 #define wxUSE_DYNLIB_CLASS 1
33439 _ACEOF
33440
33441 fi
33442
33443
33444
33445 if test "$wxUSE_PLUGINS" = "yes" ; then
33446 if test "$wxUSE_SHARED" = "no" ; then
33447 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
33448 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33449 wxUSE_PLUGINS=no
33450 fi
33451 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33452 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
33453 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33454 wxUSE_PLUGINS=no
33455 fi
33456 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33457 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33458 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33459 wxUSE_PLUGINS=no
33460 fi
33461 if test "$wxUSE_PLUGINS" = "yes" ; then
33462 cat >>confdefs.h <<\_ACEOF
33463 #define wxUSE_PLUGINS 1
33464 _ACEOF
33465
33466 fi
33467 fi
33468
33469
33470 if test "$wxUSE_STL" = "yes"; then
33471 cat >>confdefs.h <<\_ACEOF
33472 #define wxUSE_STL 1
33473 _ACEOF
33474
33475 fi
33476
33477 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33478 cat >>confdefs.h <<\_ACEOF
33479 #define wxUSE_APPLE_IEEE 1
33480 _ACEOF
33481
33482 fi
33483
33484 if test "$wxUSE_TIMER" = "yes"; then
33485 cat >>confdefs.h <<\_ACEOF
33486 #define wxUSE_TIMER 1
33487 _ACEOF
33488
33489 fi
33490
33491 WITH_PLUGIN_SDL=0
33492 if test "$wxUSE_SOUND" = "yes"; then
33493 if test "$USE_UNIX" = "1" ; then
33494
33495 for ac_header in sys/soundcard.h
33496 do
33497 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33499 echo "$as_me:$LINENO: checking for $ac_header" >&5
33500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33502 echo $ECHO_N "(cached) $ECHO_C" >&6
33503 fi
33504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33505 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33506 else
33507 # Is the header compilable?
33508 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33509 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33510 cat >conftest.$ac_ext <<_ACEOF
33511 /* confdefs.h. */
33512 _ACEOF
33513 cat confdefs.h >>conftest.$ac_ext
33514 cat >>conftest.$ac_ext <<_ACEOF
33515 /* end confdefs.h. */
33516 $ac_includes_default
33517 #include <$ac_header>
33518 _ACEOF
33519 rm -f conftest.$ac_objext
33520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33521 (eval $ac_compile) 2>conftest.er1
33522 ac_status=$?
33523 grep -v '^ *+' conftest.er1 >conftest.err
33524 rm -f conftest.er1
33525 cat conftest.err >&5
33526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33527 (exit $ac_status); } &&
33528 { ac_try='test -z "$ac_c_werror_flag"
33529 || test ! -s conftest.err'
33530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33531 (eval $ac_try) 2>&5
33532 ac_status=$?
33533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33534 (exit $ac_status); }; } &&
33535 { ac_try='test -s conftest.$ac_objext'
33536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33537 (eval $ac_try) 2>&5
33538 ac_status=$?
33539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33540 (exit $ac_status); }; }; then
33541 ac_header_compiler=yes
33542 else
33543 echo "$as_me: failed program was:" >&5
33544 sed 's/^/| /' conftest.$ac_ext >&5
33545
33546 ac_header_compiler=no
33547 fi
33548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33549 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33550 echo "${ECHO_T}$ac_header_compiler" >&6
33551
33552 # Is the header present?
33553 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33554 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33555 cat >conftest.$ac_ext <<_ACEOF
33556 /* confdefs.h. */
33557 _ACEOF
33558 cat confdefs.h >>conftest.$ac_ext
33559 cat >>conftest.$ac_ext <<_ACEOF
33560 /* end confdefs.h. */
33561 #include <$ac_header>
33562 _ACEOF
33563 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33564 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33565 ac_status=$?
33566 grep -v '^ *+' conftest.er1 >conftest.err
33567 rm -f conftest.er1
33568 cat conftest.err >&5
33569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33570 (exit $ac_status); } >/dev/null; then
33571 if test -s conftest.err; then
33572 ac_cpp_err=$ac_c_preproc_warn_flag
33573 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33574 else
33575 ac_cpp_err=
33576 fi
33577 else
33578 ac_cpp_err=yes
33579 fi
33580 if test -z "$ac_cpp_err"; then
33581 ac_header_preproc=yes
33582 else
33583 echo "$as_me: failed program was:" >&5
33584 sed 's/^/| /' conftest.$ac_ext >&5
33585
33586 ac_header_preproc=no
33587 fi
33588 rm -f conftest.err conftest.$ac_ext
33589 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33590 echo "${ECHO_T}$ac_header_preproc" >&6
33591
33592 # So? What about this header?
33593 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33594 yes:no: )
33595 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33596 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33597 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33598 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33599 ac_header_preproc=yes
33600 ;;
33601 no:yes:* )
33602 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33603 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33604 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33605 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33606 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33607 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33608 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33609 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33610 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33611 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33612 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33613 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33614 (
33615 cat <<\_ASBOX
33616 ## ----------------------------------------- ##
33617 ## Report this to wx-dev@lists.wxwindows.org ##
33618 ## ----------------------------------------- ##
33619 _ASBOX
33620 ) |
33621 sed "s/^/$as_me: WARNING: /" >&2
33622 ;;
33623 esac
33624 echo "$as_me:$LINENO: checking for $ac_header" >&5
33625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33626 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33627 echo $ECHO_N "(cached) $ECHO_C" >&6
33628 else
33629 eval "$as_ac_Header=\$ac_header_preproc"
33630 fi
33631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33632 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33633
33634 fi
33635 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33636 cat >>confdefs.h <<_ACEOF
33637 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33638 _ACEOF
33639
33640 fi
33641
33642 done
33643
33644
33645 if test "$wxUSE_LIBSDL" != "no"; then
33646
33647 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
33648 if test "${with_sdl_prefix+set}" = set; then
33649 withval="$with_sdl_prefix"
33650 sdl_prefix="$withval"
33651 else
33652 sdl_prefix=""
33653 fi;
33654
33655 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
33656 if test "${with_sdl_exec_prefix+set}" = set; then
33657 withval="$with_sdl_exec_prefix"
33658 sdl_exec_prefix="$withval"
33659 else
33660 sdl_exec_prefix=""
33661 fi;
33662 # Check whether --enable-sdltest or --disable-sdltest was given.
33663 if test "${enable_sdltest+set}" = set; then
33664 enableval="$enable_sdltest"
33665
33666 else
33667 enable_sdltest=yes
33668 fi;
33669
33670 if test x$sdl_exec_prefix != x ; then
33671 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
33672 if test x${SDL_CONFIG+set} != xset ; then
33673 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
33674 fi
33675 fi
33676 if test x$sdl_prefix != x ; then
33677 sdl_args="$sdl_args --prefix=$sdl_prefix"
33678 if test x${SDL_CONFIG+set} != xset ; then
33679 SDL_CONFIG=$sdl_prefix/bin/sdl-config
33680 fi
33681 fi
33682
33683
33684 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
33685 # Extract the first word of "sdl-config", so it can be a program name with args.
33686 set dummy sdl-config; ac_word=$2
33687 echo "$as_me:$LINENO: checking for $ac_word" >&5
33688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33689 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
33690 echo $ECHO_N "(cached) $ECHO_C" >&6
33691 else
33692 case $SDL_CONFIG in
33693 [\\/]* | ?:[\\/]*)
33694 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
33695 ;;
33696 *)
33697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33698 for as_dir in $PATH
33699 do
33700 IFS=$as_save_IFS
33701 test -z "$as_dir" && as_dir=.
33702 for ac_exec_ext in '' $ac_executable_extensions; do
33703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33704 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33706 break 2
33707 fi
33708 done
33709 done
33710
33711 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
33712 ;;
33713 esac
33714 fi
33715 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
33716
33717 if test -n "$SDL_CONFIG"; then
33718 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
33719 echo "${ECHO_T}$SDL_CONFIG" >&6
33720 else
33721 echo "$as_me:$LINENO: result: no" >&5
33722 echo "${ECHO_T}no" >&6
33723 fi
33724
33725 min_sdl_version=1.2.0
33726 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
33727 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
33728 no_sdl=""
33729 if test "$SDL_CONFIG" = "no" ; then
33730 no_sdl=yes
33731 else
33732 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
33733 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
33734
33735 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
33736 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33737 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
33738 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33739 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
33740 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33741 if test "x$enable_sdltest" = "xyes" ; then
33742 ac_save_CFLAGS="$CFLAGS"
33743 ac_save_LIBS="$LIBS"
33744 CFLAGS="$CFLAGS $SDL_CFLAGS"
33745 LIBS="$LIBS $SDL_LIBS"
33746 rm -f conf.sdltest
33747 if test "$cross_compiling" = yes; then
33748 echo $ac_n "cross compiling; assumed OK... $ac_c"
33749 else
33750 cat >conftest.$ac_ext <<_ACEOF
33751 /* confdefs.h. */
33752 _ACEOF
33753 cat confdefs.h >>conftest.$ac_ext
33754 cat >>conftest.$ac_ext <<_ACEOF
33755 /* end confdefs.h. */
33756
33757 #include <stdio.h>
33758 #include <stdlib.h>
33759 #include <string.h>
33760 #include "SDL.h"
33761
33762 char*
33763 my_strdup (char *str)
33764 {
33765 char *new_str;
33766
33767 if (str)
33768 {
33769 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33770 strcpy (new_str, str);
33771 }
33772 else
33773 new_str = NULL;
33774
33775 return new_str;
33776 }
33777
33778 int main (int argc, char *argv[])
33779 {
33780 int major, minor, micro;
33781 char *tmp_version;
33782
33783 /* This hangs on some systems (?)
33784 system ("touch conf.sdltest");
33785 */
33786 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33787
33788 /* HP/UX 9 (%@#!) writes to sscanf strings */
33789 tmp_version = my_strdup("$min_sdl_version");
33790 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
33791 printf("%s, bad version string\n", "$min_sdl_version");
33792 exit(1);
33793 }
33794
33795 if (($sdl_major_version > major) ||
33796 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33797 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33798 {
33799 return 0;
33800 }
33801 else
33802 {
33803 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33804 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33805 printf("*** best to upgrade to the required version.\n");
33806 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33807 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33808 printf("*** config.cache before re-running configure\n");
33809 return 1;
33810 }
33811 }
33812
33813
33814 _ACEOF
33815 rm -f conftest$ac_exeext
33816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33817 (eval $ac_link) 2>&5
33818 ac_status=$?
33819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33820 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33822 (eval $ac_try) 2>&5
33823 ac_status=$?
33824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33825 (exit $ac_status); }; }; then
33826 :
33827 else
33828 echo "$as_me: program exited with status $ac_status" >&5
33829 echo "$as_me: failed program was:" >&5
33830 sed 's/^/| /' conftest.$ac_ext >&5
33831
33832 ( exit $ac_status )
33833 no_sdl=yes
33834 fi
33835 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33836 fi
33837 CFLAGS="$ac_save_CFLAGS"
33838 LIBS="$ac_save_LIBS"
33839 fi
33840 fi
33841 if test "x$no_sdl" = x ; then
33842 echo "$as_me:$LINENO: result: yes" >&5
33843 echo "${ECHO_T}yes" >&6
33844
33845 EXTRALIBS_SDL="$SDL_LIBS"
33846 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33847 cat >>confdefs.h <<\_ACEOF
33848 #define wxUSE_LIBSDL 1
33849 _ACEOF
33850
33851
33852 else
33853 echo "$as_me:$LINENO: result: no" >&5
33854 echo "${ECHO_T}no" >&6
33855 if test "$SDL_CONFIG" = "no" ; then
33856 echo "*** The sdl-config script installed by SDL could not be found"
33857 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33858 echo "*** your path, or set the SDL_CONFIG environment variable to the"
33859 echo "*** full path to sdl-config."
33860 else
33861 if test -f conf.sdltest ; then
33862 :
33863 else
33864 echo "*** Could not run SDL test program, checking why..."
33865 CFLAGS="$CFLAGS $SDL_CFLAGS"
33866 LIBS="$LIBS $SDL_LIBS"
33867 cat >conftest.$ac_ext <<_ACEOF
33868 /* confdefs.h. */
33869 _ACEOF
33870 cat confdefs.h >>conftest.$ac_ext
33871 cat >>conftest.$ac_ext <<_ACEOF
33872 /* end confdefs.h. */
33873
33874 #include <stdio.h>
33875 #include "SDL.h"
33876
33877 int main(int argc, char *argv[])
33878 { return 0; }
33879 #undef main
33880 #define main K_and_R_C_main
33881
33882 int
33883 main ()
33884 {
33885 return 0;
33886 ;
33887 return 0;
33888 }
33889 _ACEOF
33890 rm -f conftest.$ac_objext conftest$ac_exeext
33891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33892 (eval $ac_link) 2>conftest.er1
33893 ac_status=$?
33894 grep -v '^ *+' conftest.er1 >conftest.err
33895 rm -f conftest.er1
33896 cat conftest.err >&5
33897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33898 (exit $ac_status); } &&
33899 { ac_try='test -z "$ac_c_werror_flag"
33900 || test ! -s conftest.err'
33901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33902 (eval $ac_try) 2>&5
33903 ac_status=$?
33904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33905 (exit $ac_status); }; } &&
33906 { ac_try='test -s conftest$ac_exeext'
33907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33908 (eval $ac_try) 2>&5
33909 ac_status=$?
33910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33911 (exit $ac_status); }; }; then
33912 echo "*** The test program compiled, but did not run. This usually means"
33913 echo "*** that the run-time linker is not finding SDL or finding the wrong"
33914 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33915 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33916 echo "*** to the installed location Also, make sure you have run ldconfig if that"
33917 echo "*** is required on your system"
33918 echo "***"
33919 echo "*** If you have an old version installed, it is best to remove it, although"
33920 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33921 else
33922 echo "$as_me: failed program was:" >&5
33923 sed 's/^/| /' conftest.$ac_ext >&5
33924
33925 echo "*** The test program failed to compile or link. See the file config.log for the"
33926 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
33927 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33928 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33929 fi
33930 rm -f conftest.err conftest.$ac_objext \
33931 conftest$ac_exeext conftest.$ac_ext
33932 CFLAGS="$ac_save_CFLAGS"
33933 LIBS="$ac_save_LIBS"
33934 fi
33935 fi
33936 SDL_CFLAGS=""
33937 SDL_LIBS=""
33938 wxUSE_LIBSDL="no"
33939 fi
33940
33941
33942 rm -f conf.sdltest
33943
33944 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33945 WITH_PLUGIN_SDL=1
33946 fi
33947 fi
33948 fi
33949
33950 cat >>confdefs.h <<\_ACEOF
33951 #define wxUSE_SOUND 1
33952 _ACEOF
33953
33954 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
33955 fi
33956
33957 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
33958 cat >>confdefs.h <<\_ACEOF
33959 #define wxUSE_CMDLINE_PARSER 1
33960 _ACEOF
33961
33962 fi
33963
33964 if test "$wxUSE_STOPWATCH" = "yes"; then
33965 cat >>confdefs.h <<\_ACEOF
33966 #define wxUSE_STOPWATCH 1
33967 _ACEOF
33968
33969 fi
33970
33971 if test "$wxUSE_DATETIME" = "yes"; then
33972 cat >>confdefs.h <<\_ACEOF
33973 #define wxUSE_DATETIME 1
33974 _ACEOF
33975
33976 fi
33977
33978 if test "$wxUSE_FILE" = "yes"; then
33979 cat >>confdefs.h <<\_ACEOF
33980 #define wxUSE_FILE 1
33981 _ACEOF
33982
33983 fi
33984
33985 if test "$wxUSE_FFILE" = "yes"; then
33986 cat >>confdefs.h <<\_ACEOF
33987 #define wxUSE_FFILE 1
33988 _ACEOF
33989
33990 fi
33991
33992 if test "$wxUSE_FILESYSTEM" = "yes"; then
33993 cat >>confdefs.h <<\_ACEOF
33994 #define wxUSE_FILESYSTEM 1
33995 _ACEOF
33996
33997 fi
33998
33999 if test "$wxUSE_FS_ZIP" = "yes"; then
34000 cat >>confdefs.h <<\_ACEOF
34001 #define wxUSE_FS_ZIP 1
34002 _ACEOF
34003
34004 fi
34005
34006 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34007 cat >>confdefs.h <<\_ACEOF
34008 #define wxUSE_ZIPSTREAM 1
34009 _ACEOF
34010
34011 fi
34012
34013 if test "$wxUSE_GZSTREAM" = "yes"; then
34014 cat >>confdefs.h <<\_ACEOF
34015 #define wxUSE_GZSTREAM 1
34016 _ACEOF
34017
34018 fi
34019
34020 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34021 cat >>confdefs.h <<\_ACEOF
34022 #define wxUSE_ON_FATAL_EXCEPTION 1
34023 _ACEOF
34024
34025 fi
34026
34027 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34028 cat >>confdefs.h <<\_ACEOF
34029 #define wxUSE_SNGLINST_CHECKER 1
34030 _ACEOF
34031
34032 fi
34033
34034 if test "$wxUSE_BUSYINFO" = "yes"; then
34035 cat >>confdefs.h <<\_ACEOF
34036 #define wxUSE_BUSYINFO 1
34037 _ACEOF
34038
34039 fi
34040
34041 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34042 cat >>confdefs.h <<\_ACEOF
34043 #define wxUSE_STD_IOSTREAM 1
34044 _ACEOF
34045
34046 fi
34047
34048 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34049 cat >>confdefs.h <<\_ACEOF
34050 #define wxUSE_TEXTBUFFER 1
34051 _ACEOF
34052
34053 fi
34054
34055 if test "$wxUSE_TEXTFILE" = "yes"; then
34056 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34057 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34058 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34059 else
34060 cat >>confdefs.h <<\_ACEOF
34061 #define wxUSE_TEXTFILE 1
34062 _ACEOF
34063
34064 fi
34065 fi
34066
34067 if test "$wxUSE_CONFIG" = "yes" ; then
34068 if test "$wxUSE_TEXTFILE" != "yes"; then
34069 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34070 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34071 else
34072 cat >>confdefs.h <<\_ACEOF
34073 #define wxUSE_CONFIG 1
34074 _ACEOF
34075
34076 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34077 fi
34078 fi
34079
34080 if test "$wxUSE_INTL" = "yes" ; then
34081 if test "$wxUSE_FILE" != "yes"; then
34082 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34083 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34084 else
34085 cat >>confdefs.h <<\_ACEOF
34086 #define wxUSE_INTL 1
34087 _ACEOF
34088
34089 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
34090 GUIDIST="$GUIDIST INTL_DIST"
34091 fi
34092 fi
34093
34094 if test "$wxUSE_LOG" = "yes"; then
34095 cat >>confdefs.h <<\_ACEOF
34096 #define wxUSE_LOG 1
34097 _ACEOF
34098
34099
34100 if test "$wxUSE_LOGGUI" = "yes"; then
34101 cat >>confdefs.h <<\_ACEOF
34102 #define wxUSE_LOGGUI 1
34103 _ACEOF
34104
34105 fi
34106
34107 if test "$wxUSE_LOGWINDOW" = "yes"; then
34108 cat >>confdefs.h <<\_ACEOF
34109 #define wxUSE_LOGWINDOW 1
34110 _ACEOF
34111
34112 fi
34113
34114 if test "$wxUSE_LOGDIALOG" = "yes"; then
34115 cat >>confdefs.h <<\_ACEOF
34116 #define wxUSE_LOG_DIALOG 1
34117 _ACEOF
34118
34119 fi
34120 fi
34121
34122 if test "$wxUSE_LONGLONG" = "yes"; then
34123 cat >>confdefs.h <<\_ACEOF
34124 #define wxUSE_LONGLONG 1
34125 _ACEOF
34126
34127 fi
34128
34129 if test "$wxUSE_GEOMETRY" = "yes"; then
34130 cat >>confdefs.h <<\_ACEOF
34131 #define wxUSE_GEOMETRY 1
34132 _ACEOF
34133
34134 fi
34135
34136 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34137 cat >>confdefs.h <<\_ACEOF
34138 #define wxUSE_DIALUP_MANAGER 1
34139 _ACEOF
34140
34141 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
34142 fi
34143
34144 if test "$wxUSE_STREAMS" = "yes" ; then
34145 cat >>confdefs.h <<\_ACEOF
34146 #define wxUSE_STREAMS 1
34147 _ACEOF
34148
34149 fi
34150
34151
34152 if test "$wxUSE_DATETIME" = "yes"; then
34153
34154 for ac_func in strptime
34155 do
34156 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34157 echo "$as_me:$LINENO: checking for $ac_func" >&5
34158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34159 if eval "test \"\${$as_ac_var+set}\" = set"; then
34160 echo $ECHO_N "(cached) $ECHO_C" >&6
34161 else
34162 cat >conftest.$ac_ext <<_ACEOF
34163 /* confdefs.h. */
34164 _ACEOF
34165 cat confdefs.h >>conftest.$ac_ext
34166 cat >>conftest.$ac_ext <<_ACEOF
34167 /* end confdefs.h. */
34168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34170 #define $ac_func innocuous_$ac_func
34171
34172 /* System header to define __stub macros and hopefully few prototypes,
34173 which can conflict with char $ac_func (); below.
34174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34175 <limits.h> exists even on freestanding compilers. */
34176
34177 #ifdef __STDC__
34178 # include <limits.h>
34179 #else
34180 # include <assert.h>
34181 #endif
34182
34183 #undef $ac_func
34184
34185 /* Override any gcc2 internal prototype to avoid an error. */
34186 #ifdef __cplusplus
34187 extern "C"
34188 {
34189 #endif
34190 /* We use char because int might match the return type of a gcc2
34191 builtin and then its argument prototype would still apply. */
34192 char $ac_func ();
34193 /* The GNU C library defines this for functions which it implements
34194 to always fail with ENOSYS. Some functions are actually named
34195 something starting with __ and the normal name is an alias. */
34196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34197 choke me
34198 #else
34199 char (*f) () = $ac_func;
34200 #endif
34201 #ifdef __cplusplus
34202 }
34203 #endif
34204
34205 int
34206 main ()
34207 {
34208 return f != $ac_func;
34209 ;
34210 return 0;
34211 }
34212 _ACEOF
34213 rm -f conftest.$ac_objext conftest$ac_exeext
34214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34215 (eval $ac_link) 2>conftest.er1
34216 ac_status=$?
34217 grep -v '^ *+' conftest.er1 >conftest.err
34218 rm -f conftest.er1
34219 cat conftest.err >&5
34220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34221 (exit $ac_status); } &&
34222 { ac_try='test -z "$ac_c_werror_flag"
34223 || test ! -s conftest.err'
34224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34225 (eval $ac_try) 2>&5
34226 ac_status=$?
34227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34228 (exit $ac_status); }; } &&
34229 { ac_try='test -s conftest$ac_exeext'
34230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34231 (eval $ac_try) 2>&5
34232 ac_status=$?
34233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34234 (exit $ac_status); }; }; then
34235 eval "$as_ac_var=yes"
34236 else
34237 echo "$as_me: failed program was:" >&5
34238 sed 's/^/| /' conftest.$ac_ext >&5
34239
34240 eval "$as_ac_var=no"
34241 fi
34242 rm -f conftest.err conftest.$ac_objext \
34243 conftest$ac_exeext conftest.$ac_ext
34244 fi
34245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34247 if test `eval echo '${'$as_ac_var'}'` = yes; then
34248 cat >>confdefs.h <<_ACEOF
34249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34250 _ACEOF
34251
34252 fi
34253 done
34254
34255
34256 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34257 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34258 if test "${wx_cv_var_timezone+set}" = set; then
34259 echo $ECHO_N "(cached) $ECHO_C" >&6
34260 else
34261
34262 cat >conftest.$ac_ext <<_ACEOF
34263 /* confdefs.h. */
34264 _ACEOF
34265 cat confdefs.h >>conftest.$ac_ext
34266 cat >>conftest.$ac_ext <<_ACEOF
34267 /* end confdefs.h. */
34268
34269 #include <time.h>
34270
34271 int
34272 main ()
34273 {
34274
34275 int tz;
34276 tz = timezone;
34277
34278 ;
34279 return 0;
34280 }
34281 _ACEOF
34282 rm -f conftest.$ac_objext
34283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34284 (eval $ac_compile) 2>conftest.er1
34285 ac_status=$?
34286 grep -v '^ *+' conftest.er1 >conftest.err
34287 rm -f conftest.er1
34288 cat conftest.err >&5
34289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34290 (exit $ac_status); } &&
34291 { ac_try='test -z "$ac_c_werror_flag"
34292 || test ! -s conftest.err'
34293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34294 (eval $ac_try) 2>&5
34295 ac_status=$?
34296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34297 (exit $ac_status); }; } &&
34298 { ac_try='test -s conftest.$ac_objext'
34299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34300 (eval $ac_try) 2>&5
34301 ac_status=$?
34302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34303 (exit $ac_status); }; }; then
34304
34305 wx_cv_var_timezone=timezone
34306
34307 else
34308 echo "$as_me: failed program was:" >&5
34309 sed 's/^/| /' conftest.$ac_ext >&5
34310
34311
34312 cat >conftest.$ac_ext <<_ACEOF
34313 /* confdefs.h. */
34314 _ACEOF
34315 cat confdefs.h >>conftest.$ac_ext
34316 cat >>conftest.$ac_ext <<_ACEOF
34317 /* end confdefs.h. */
34318
34319 #include <time.h>
34320
34321 int
34322 main ()
34323 {
34324
34325 int tz;
34326 tz = _timezone;
34327
34328 ;
34329 return 0;
34330 }
34331 _ACEOF
34332 rm -f conftest.$ac_objext
34333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34334 (eval $ac_compile) 2>conftest.er1
34335 ac_status=$?
34336 grep -v '^ *+' conftest.er1 >conftest.err
34337 rm -f conftest.er1
34338 cat conftest.err >&5
34339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34340 (exit $ac_status); } &&
34341 { ac_try='test -z "$ac_c_werror_flag"
34342 || test ! -s conftest.err'
34343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34344 (eval $ac_try) 2>&5
34345 ac_status=$?
34346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34347 (exit $ac_status); }; } &&
34348 { ac_try='test -s conftest.$ac_objext'
34349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34350 (eval $ac_try) 2>&5
34351 ac_status=$?
34352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34353 (exit $ac_status); }; }; then
34354
34355 wx_cv_var_timezone=_timezone
34356
34357 else
34358 echo "$as_me: failed program was:" >&5
34359 sed 's/^/| /' conftest.$ac_ext >&5
34360
34361
34362 cat >conftest.$ac_ext <<_ACEOF
34363 /* confdefs.h. */
34364 _ACEOF
34365 cat confdefs.h >>conftest.$ac_ext
34366 cat >>conftest.$ac_ext <<_ACEOF
34367 /* end confdefs.h. */
34368
34369 #include <time.h>
34370
34371 int
34372 main ()
34373 {
34374
34375 int tz;
34376 tz = __timezone;
34377
34378 ;
34379 return 0;
34380 }
34381 _ACEOF
34382 rm -f conftest.$ac_objext
34383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34384 (eval $ac_compile) 2>conftest.er1
34385 ac_status=$?
34386 grep -v '^ *+' conftest.er1 >conftest.err
34387 rm -f conftest.er1
34388 cat conftest.err >&5
34389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34390 (exit $ac_status); } &&
34391 { ac_try='test -z "$ac_c_werror_flag"
34392 || test ! -s conftest.err'
34393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34394 (eval $ac_try) 2>&5
34395 ac_status=$?
34396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34397 (exit $ac_status); }; } &&
34398 { ac_try='test -s conftest.$ac_objext'
34399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34400 (eval $ac_try) 2>&5
34401 ac_status=$?
34402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34403 (exit $ac_status); }; }; then
34404
34405 wx_cv_var_timezone=__timezone
34406
34407 else
34408 echo "$as_me: failed program was:" >&5
34409 sed 's/^/| /' conftest.$ac_ext >&5
34410
34411
34412 if test "$USE_DOS" = 0 ; then
34413 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
34414 echo "$as_me: WARNING: no timezone variable" >&2;}
34415 fi
34416
34417
34418 fi
34419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34420
34421
34422 fi
34423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34424
34425
34426 fi
34427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34428
34429
34430 fi
34431 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
34432 echo "${ECHO_T}$wx_cv_var_timezone" >&6
34433
34434 if test "x$wx_cv_var_timezone" != x ; then
34435 cat >>confdefs.h <<_ACEOF
34436 #define WX_TIMEZONE $wx_cv_var_timezone
34437 _ACEOF
34438
34439 fi
34440
34441
34442 for ac_func in localtime
34443 do
34444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34445 echo "$as_me:$LINENO: checking for $ac_func" >&5
34446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34447 if eval "test \"\${$as_ac_var+set}\" = set"; then
34448 echo $ECHO_N "(cached) $ECHO_C" >&6
34449 else
34450 cat >conftest.$ac_ext <<_ACEOF
34451 /* confdefs.h. */
34452 _ACEOF
34453 cat confdefs.h >>conftest.$ac_ext
34454 cat >>conftest.$ac_ext <<_ACEOF
34455 /* end confdefs.h. */
34456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34458 #define $ac_func innocuous_$ac_func
34459
34460 /* System header to define __stub macros and hopefully few prototypes,
34461 which can conflict with char $ac_func (); below.
34462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34463 <limits.h> exists even on freestanding compilers. */
34464
34465 #ifdef __STDC__
34466 # include <limits.h>
34467 #else
34468 # include <assert.h>
34469 #endif
34470
34471 #undef $ac_func
34472
34473 /* Override any gcc2 internal prototype to avoid an error. */
34474 #ifdef __cplusplus
34475 extern "C"
34476 {
34477 #endif
34478 /* We use char because int might match the return type of a gcc2
34479 builtin and then its argument prototype would still apply. */
34480 char $ac_func ();
34481 /* The GNU C library defines this for functions which it implements
34482 to always fail with ENOSYS. Some functions are actually named
34483 something starting with __ and the normal name is an alias. */
34484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34485 choke me
34486 #else
34487 char (*f) () = $ac_func;
34488 #endif
34489 #ifdef __cplusplus
34490 }
34491 #endif
34492
34493 int
34494 main ()
34495 {
34496 return f != $ac_func;
34497 ;
34498 return 0;
34499 }
34500 _ACEOF
34501 rm -f conftest.$ac_objext conftest$ac_exeext
34502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34503 (eval $ac_link) 2>conftest.er1
34504 ac_status=$?
34505 grep -v '^ *+' conftest.er1 >conftest.err
34506 rm -f conftest.er1
34507 cat conftest.err >&5
34508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34509 (exit $ac_status); } &&
34510 { ac_try='test -z "$ac_c_werror_flag"
34511 || test ! -s conftest.err'
34512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34513 (eval $ac_try) 2>&5
34514 ac_status=$?
34515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34516 (exit $ac_status); }; } &&
34517 { ac_try='test -s conftest$ac_exeext'
34518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34519 (eval $ac_try) 2>&5
34520 ac_status=$?
34521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34522 (exit $ac_status); }; }; then
34523 eval "$as_ac_var=yes"
34524 else
34525 echo "$as_me: failed program was:" >&5
34526 sed 's/^/| /' conftest.$ac_ext >&5
34527
34528 eval "$as_ac_var=no"
34529 fi
34530 rm -f conftest.err conftest.$ac_objext \
34531 conftest$ac_exeext conftest.$ac_ext
34532 fi
34533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34534 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34535 if test `eval echo '${'$as_ac_var'}'` = yes; then
34536 cat >>confdefs.h <<_ACEOF
34537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34538 _ACEOF
34539
34540 fi
34541 done
34542
34543
34544 if test "$ac_cv_func_localtime" = "yes"; then
34545 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
34546 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
34547 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
34548 echo $ECHO_N "(cached) $ECHO_C" >&6
34549 else
34550
34551 cat >conftest.$ac_ext <<_ACEOF
34552 /* confdefs.h. */
34553 _ACEOF
34554 cat confdefs.h >>conftest.$ac_ext
34555 cat >>conftest.$ac_ext <<_ACEOF
34556 /* end confdefs.h. */
34557
34558 #include <time.h>
34559
34560 int
34561 main ()
34562 {
34563
34564 struct tm tm;
34565 tm.tm_gmtoff++;
34566
34567 ;
34568 return 0;
34569 }
34570 _ACEOF
34571 rm -f conftest.$ac_objext
34572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34573 (eval $ac_compile) 2>conftest.er1
34574 ac_status=$?
34575 grep -v '^ *+' conftest.er1 >conftest.err
34576 rm -f conftest.er1
34577 cat conftest.err >&5
34578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34579 (exit $ac_status); } &&
34580 { ac_try='test -z "$ac_c_werror_flag"
34581 || test ! -s conftest.err'
34582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34583 (eval $ac_try) 2>&5
34584 ac_status=$?
34585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34586 (exit $ac_status); }; } &&
34587 { ac_try='test -s conftest.$ac_objext'
34588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34589 (eval $ac_try) 2>&5
34590 ac_status=$?
34591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34592 (exit $ac_status); }; }; then
34593
34594 wx_cv_struct_tm_has_gmtoff=yes
34595
34596 else
34597 echo "$as_me: failed program was:" >&5
34598 sed 's/^/| /' conftest.$ac_ext >&5
34599
34600 wx_cv_struct_tm_has_gmtoff=no
34601
34602 fi
34603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34604
34605 fi
34606 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
34607 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
34608 fi
34609
34610 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
34611 cat >>confdefs.h <<\_ACEOF
34612 #define WX_GMTOFF_IN_TM 1
34613 _ACEOF
34614
34615 fi
34616
34617
34618
34619 for ac_func in gettimeofday ftime
34620 do
34621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34622 echo "$as_me:$LINENO: checking for $ac_func" >&5
34623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34624 if eval "test \"\${$as_ac_var+set}\" = set"; then
34625 echo $ECHO_N "(cached) $ECHO_C" >&6
34626 else
34627 cat >conftest.$ac_ext <<_ACEOF
34628 /* confdefs.h. */
34629 _ACEOF
34630 cat confdefs.h >>conftest.$ac_ext
34631 cat >>conftest.$ac_ext <<_ACEOF
34632 /* end confdefs.h. */
34633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34635 #define $ac_func innocuous_$ac_func
34636
34637 /* System header to define __stub macros and hopefully few prototypes,
34638 which can conflict with char $ac_func (); below.
34639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34640 <limits.h> exists even on freestanding compilers. */
34641
34642 #ifdef __STDC__
34643 # include <limits.h>
34644 #else
34645 # include <assert.h>
34646 #endif
34647
34648 #undef $ac_func
34649
34650 /* Override any gcc2 internal prototype to avoid an error. */
34651 #ifdef __cplusplus
34652 extern "C"
34653 {
34654 #endif
34655 /* We use char because int might match the return type of a gcc2
34656 builtin and then its argument prototype would still apply. */
34657 char $ac_func ();
34658 /* The GNU C library defines this for functions which it implements
34659 to always fail with ENOSYS. Some functions are actually named
34660 something starting with __ and the normal name is an alias. */
34661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34662 choke me
34663 #else
34664 char (*f) () = $ac_func;
34665 #endif
34666 #ifdef __cplusplus
34667 }
34668 #endif
34669
34670 int
34671 main ()
34672 {
34673 return f != $ac_func;
34674 ;
34675 return 0;
34676 }
34677 _ACEOF
34678 rm -f conftest.$ac_objext conftest$ac_exeext
34679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34680 (eval $ac_link) 2>conftest.er1
34681 ac_status=$?
34682 grep -v '^ *+' conftest.er1 >conftest.err
34683 rm -f conftest.er1
34684 cat conftest.err >&5
34685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34686 (exit $ac_status); } &&
34687 { ac_try='test -z "$ac_c_werror_flag"
34688 || test ! -s conftest.err'
34689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34690 (eval $ac_try) 2>&5
34691 ac_status=$?
34692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34693 (exit $ac_status); }; } &&
34694 { ac_try='test -s conftest$ac_exeext'
34695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34696 (eval $ac_try) 2>&5
34697 ac_status=$?
34698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34699 (exit $ac_status); }; }; then
34700 eval "$as_ac_var=yes"
34701 else
34702 echo "$as_me: failed program was:" >&5
34703 sed 's/^/| /' conftest.$ac_ext >&5
34704
34705 eval "$as_ac_var=no"
34706 fi
34707 rm -f conftest.err conftest.$ac_objext \
34708 conftest$ac_exeext conftest.$ac_ext
34709 fi
34710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34712 if test `eval echo '${'$as_ac_var'}'` = yes; then
34713 cat >>confdefs.h <<_ACEOF
34714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34715 _ACEOF
34716 break
34717 fi
34718 done
34719
34720
34721 if test "$ac_cv_func_gettimeofday" = "yes"; then
34722 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
34723 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
34724 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
34725 echo $ECHO_N "(cached) $ECHO_C" >&6
34726 else
34727
34728
34729
34730 ac_ext=cc
34731 ac_cpp='$CXXCPP $CPPFLAGS'
34732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34735
34736
34737 cat >conftest.$ac_ext <<_ACEOF
34738 /* confdefs.h. */
34739 _ACEOF
34740 cat confdefs.h >>conftest.$ac_ext
34741 cat >>conftest.$ac_ext <<_ACEOF
34742 /* end confdefs.h. */
34743
34744 #include <sys/time.h>
34745 #include <unistd.h>
34746
34747 int
34748 main ()
34749 {
34750
34751 struct timeval tv;
34752 gettimeofday(&tv, NULL);
34753
34754 ;
34755 return 0;
34756 }
34757 _ACEOF
34758 rm -f conftest.$ac_objext
34759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34760 (eval $ac_compile) 2>conftest.er1
34761 ac_status=$?
34762 grep -v '^ *+' conftest.er1 >conftest.err
34763 rm -f conftest.er1
34764 cat conftest.err >&5
34765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34766 (exit $ac_status); } &&
34767 { ac_try='test -z "$ac_cxx_werror_flag"
34768 || test ! -s conftest.err'
34769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34770 (eval $ac_try) 2>&5
34771 ac_status=$?
34772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34773 (exit $ac_status); }; } &&
34774 { ac_try='test -s conftest.$ac_objext'
34775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34776 (eval $ac_try) 2>&5
34777 ac_status=$?
34778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34779 (exit $ac_status); }; }; then
34780 wx_cv_func_gettimeofday_has_2_args=yes
34781 else
34782 echo "$as_me: failed program was:" >&5
34783 sed 's/^/| /' conftest.$ac_ext >&5
34784
34785 cat >conftest.$ac_ext <<_ACEOF
34786 /* confdefs.h. */
34787 _ACEOF
34788 cat confdefs.h >>conftest.$ac_ext
34789 cat >>conftest.$ac_ext <<_ACEOF
34790 /* end confdefs.h. */
34791
34792 #include <sys/time.h>
34793 #include <unistd.h>
34794
34795 int
34796 main ()
34797 {
34798
34799 struct timeval tv;
34800 gettimeofday(&tv);
34801
34802 ;
34803 return 0;
34804 }
34805 _ACEOF
34806 rm -f conftest.$ac_objext
34807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34808 (eval $ac_compile) 2>conftest.er1
34809 ac_status=$?
34810 grep -v '^ *+' conftest.er1 >conftest.err
34811 rm -f conftest.er1
34812 cat conftest.err >&5
34813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34814 (exit $ac_status); } &&
34815 { ac_try='test -z "$ac_cxx_werror_flag"
34816 || test ! -s conftest.err'
34817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34818 (eval $ac_try) 2>&5
34819 ac_status=$?
34820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34821 (exit $ac_status); }; } &&
34822 { ac_try='test -s conftest.$ac_objext'
34823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34824 (eval $ac_try) 2>&5
34825 ac_status=$?
34826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34827 (exit $ac_status); }; }; then
34828 wx_cv_func_gettimeofday_has_2_args=no
34829 else
34830 echo "$as_me: failed program was:" >&5
34831 sed 's/^/| /' conftest.$ac_ext >&5
34832
34833
34834 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
34835 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
34836 wx_cv_func_gettimeofday_has_2_args=unknown
34837
34838
34839 fi
34840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34841
34842 fi
34843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34844 ac_ext=c
34845 ac_cpp='$CPP $CPPFLAGS'
34846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34849
34850
34851 fi
34852 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
34853 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
34854
34855 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
34856 cat >>confdefs.h <<\_ACEOF
34857 #define WX_GETTIMEOFDAY_NO_TZ 1
34858 _ACEOF
34859
34860 fi
34861 fi
34862
34863 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
34864 fi
34865
34866
34867 if test "$wxUSE_SOCKETS" = "yes"; then
34868 if test "$wxUSE_MGL" = "1"; then
34869 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
34870 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
34871 wxUSE_SOCKETS="no"
34872 fi
34873 fi
34874
34875 if test "$wxUSE_SOCKETS" = "yes"; then
34876 if test "$TOOLKIT" != "MSW"; then
34877 echo "$as_me:$LINENO: checking for socket" >&5
34878 echo $ECHO_N "checking for socket... $ECHO_C" >&6
34879 if test "${ac_cv_func_socket+set}" = set; then
34880 echo $ECHO_N "(cached) $ECHO_C" >&6
34881 else
34882 cat >conftest.$ac_ext <<_ACEOF
34883 /* confdefs.h. */
34884 _ACEOF
34885 cat confdefs.h >>conftest.$ac_ext
34886 cat >>conftest.$ac_ext <<_ACEOF
34887 /* end confdefs.h. */
34888 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
34889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34890 #define socket innocuous_socket
34891
34892 /* System header to define __stub macros and hopefully few prototypes,
34893 which can conflict with char socket (); below.
34894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34895 <limits.h> exists even on freestanding compilers. */
34896
34897 #ifdef __STDC__
34898 # include <limits.h>
34899 #else
34900 # include <assert.h>
34901 #endif
34902
34903 #undef socket
34904
34905 /* Override any gcc2 internal prototype to avoid an error. */
34906 #ifdef __cplusplus
34907 extern "C"
34908 {
34909 #endif
34910 /* We use char because int might match the return type of a gcc2
34911 builtin and then its argument prototype would still apply. */
34912 char socket ();
34913 /* The GNU C library defines this for functions which it implements
34914 to always fail with ENOSYS. Some functions are actually named
34915 something starting with __ and the normal name is an alias. */
34916 #if defined (__stub_socket) || defined (__stub___socket)
34917 choke me
34918 #else
34919 char (*f) () = socket;
34920 #endif
34921 #ifdef __cplusplus
34922 }
34923 #endif
34924
34925 int
34926 main ()
34927 {
34928 return f != socket;
34929 ;
34930 return 0;
34931 }
34932 _ACEOF
34933 rm -f conftest.$ac_objext conftest$ac_exeext
34934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34935 (eval $ac_link) 2>conftest.er1
34936 ac_status=$?
34937 grep -v '^ *+' conftest.er1 >conftest.err
34938 rm -f conftest.er1
34939 cat conftest.err >&5
34940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34941 (exit $ac_status); } &&
34942 { ac_try='test -z "$ac_c_werror_flag"
34943 || test ! -s conftest.err'
34944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34945 (eval $ac_try) 2>&5
34946 ac_status=$?
34947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34948 (exit $ac_status); }; } &&
34949 { ac_try='test -s conftest$ac_exeext'
34950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34951 (eval $ac_try) 2>&5
34952 ac_status=$?
34953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34954 (exit $ac_status); }; }; then
34955 ac_cv_func_socket=yes
34956 else
34957 echo "$as_me: failed program was:" >&5
34958 sed 's/^/| /' conftest.$ac_ext >&5
34959
34960 ac_cv_func_socket=no
34961 fi
34962 rm -f conftest.err conftest.$ac_objext \
34963 conftest$ac_exeext conftest.$ac_ext
34964 fi
34965 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
34966 echo "${ECHO_T}$ac_cv_func_socket" >&6
34967 if test $ac_cv_func_socket = yes; then
34968 :
34969 else
34970
34971 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
34972 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
34973 if test "${ac_cv_lib_socket_socket+set}" = set; then
34974 echo $ECHO_N "(cached) $ECHO_C" >&6
34975 else
34976 ac_check_lib_save_LIBS=$LIBS
34977 LIBS="-lsocket $LIBS"
34978 cat >conftest.$ac_ext <<_ACEOF
34979 /* confdefs.h. */
34980 _ACEOF
34981 cat confdefs.h >>conftest.$ac_ext
34982 cat >>conftest.$ac_ext <<_ACEOF
34983 /* end confdefs.h. */
34984
34985 /* Override any gcc2 internal prototype to avoid an error. */
34986 #ifdef __cplusplus
34987 extern "C"
34988 #endif
34989 /* We use char because int might match the return type of a gcc2
34990 builtin and then its argument prototype would still apply. */
34991 char socket ();
34992 int
34993 main ()
34994 {
34995 socket ();
34996 ;
34997 return 0;
34998 }
34999 _ACEOF
35000 rm -f conftest.$ac_objext conftest$ac_exeext
35001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35002 (eval $ac_link) 2>conftest.er1
35003 ac_status=$?
35004 grep -v '^ *+' conftest.er1 >conftest.err
35005 rm -f conftest.er1
35006 cat conftest.err >&5
35007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35008 (exit $ac_status); } &&
35009 { ac_try='test -z "$ac_c_werror_flag"
35010 || test ! -s conftest.err'
35011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35012 (eval $ac_try) 2>&5
35013 ac_status=$?
35014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35015 (exit $ac_status); }; } &&
35016 { ac_try='test -s conftest$ac_exeext'
35017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35018 (eval $ac_try) 2>&5
35019 ac_status=$?
35020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35021 (exit $ac_status); }; }; then
35022 ac_cv_lib_socket_socket=yes
35023 else
35024 echo "$as_me: failed program was:" >&5
35025 sed 's/^/| /' conftest.$ac_ext >&5
35026
35027 ac_cv_lib_socket_socket=no
35028 fi
35029 rm -f conftest.err conftest.$ac_objext \
35030 conftest$ac_exeext conftest.$ac_ext
35031 LIBS=$ac_check_lib_save_LIBS
35032 fi
35033 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35034 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35035 if test $ac_cv_lib_socket_socket = yes; then
35036 if test "$INET_LINK" != " -lsocket"; then
35037 INET_LINK="$INET_LINK -lsocket"
35038 fi
35039 else
35040
35041 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35042 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35043 wxUSE_SOCKETS=no
35044
35045
35046 fi
35047
35048
35049
35050 fi
35051
35052 fi
35053 fi
35054
35055 if test "$wxUSE_SOCKETS" = "yes" ; then
35056 if test "$TOOLKIT" != "MSW"; then
35057 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35058 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35059 if test "${wx_cv_type_getsockname3+set}" = set; then
35060 echo $ECHO_N "(cached) $ECHO_C" >&6
35061 else
35062
35063 cat >conftest.$ac_ext <<_ACEOF
35064 /* confdefs.h. */
35065 _ACEOF
35066 cat confdefs.h >>conftest.$ac_ext
35067 cat >>conftest.$ac_ext <<_ACEOF
35068 /* end confdefs.h. */
35069
35070 #include <sys/types.h>
35071 #include <sys/socket.h>
35072
35073 int
35074 main ()
35075 {
35076
35077 socklen_t len;
35078 getsockname(0, 0, &len);
35079
35080 ;
35081 return 0;
35082 }
35083 _ACEOF
35084 rm -f conftest.$ac_objext
35085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35086 (eval $ac_compile) 2>conftest.er1
35087 ac_status=$?
35088 grep -v '^ *+' conftest.er1 >conftest.err
35089 rm -f conftest.er1
35090 cat conftest.err >&5
35091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35092 (exit $ac_status); } &&
35093 { ac_try='test -z "$ac_c_werror_flag"
35094 || test ! -s conftest.err'
35095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35096 (eval $ac_try) 2>&5
35097 ac_status=$?
35098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35099 (exit $ac_status); }; } &&
35100 { ac_try='test -s conftest.$ac_objext'
35101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35102 (eval $ac_try) 2>&5
35103 ac_status=$?
35104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35105 (exit $ac_status); }; }; then
35106 wx_cv_type_getsockname3=socklen_t
35107 else
35108 echo "$as_me: failed program was:" >&5
35109 sed 's/^/| /' conftest.$ac_ext >&5
35110
35111
35112 CFLAGS_OLD="$CFLAGS"
35113 if test "$GCC" = yes ; then
35114 CFLAGS="$CFLAGS -Werror"
35115 fi
35116
35117 cat >conftest.$ac_ext <<_ACEOF
35118 /* confdefs.h. */
35119 _ACEOF
35120 cat confdefs.h >>conftest.$ac_ext
35121 cat >>conftest.$ac_ext <<_ACEOF
35122 /* end confdefs.h. */
35123
35124 #include <sys/types.h>
35125 #include <sys/socket.h>
35126
35127 int
35128 main ()
35129 {
35130
35131 size_t len;
35132 getsockname(0, 0, &len);
35133
35134 ;
35135 return 0;
35136 }
35137 _ACEOF
35138 rm -f conftest.$ac_objext
35139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35140 (eval $ac_compile) 2>conftest.er1
35141 ac_status=$?
35142 grep -v '^ *+' conftest.er1 >conftest.err
35143 rm -f conftest.er1
35144 cat conftest.err >&5
35145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35146 (exit $ac_status); } &&
35147 { ac_try='test -z "$ac_c_werror_flag"
35148 || test ! -s conftest.err'
35149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35150 (eval $ac_try) 2>&5
35151 ac_status=$?
35152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35153 (exit $ac_status); }; } &&
35154 { ac_try='test -s conftest.$ac_objext'
35155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35156 (eval $ac_try) 2>&5
35157 ac_status=$?
35158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35159 (exit $ac_status); }; }; then
35160 wx_cv_type_getsockname3=size_t
35161 else
35162 echo "$as_me: failed program was:" >&5
35163 sed 's/^/| /' conftest.$ac_ext >&5
35164
35165 cat >conftest.$ac_ext <<_ACEOF
35166 /* confdefs.h. */
35167 _ACEOF
35168 cat confdefs.h >>conftest.$ac_ext
35169 cat >>conftest.$ac_ext <<_ACEOF
35170 /* end confdefs.h. */
35171
35172 #include <sys/types.h>
35173 #include <sys/socket.h>
35174
35175 int
35176 main ()
35177 {
35178
35179 int len;
35180 getsockname(0, 0, &len);
35181
35182 ;
35183 return 0;
35184 }
35185 _ACEOF
35186 rm -f conftest.$ac_objext
35187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35188 (eval $ac_compile) 2>conftest.er1
35189 ac_status=$?
35190 grep -v '^ *+' conftest.er1 >conftest.err
35191 rm -f conftest.er1
35192 cat conftest.err >&5
35193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35194 (exit $ac_status); } &&
35195 { ac_try='test -z "$ac_c_werror_flag"
35196 || test ! -s conftest.err'
35197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35198 (eval $ac_try) 2>&5
35199 ac_status=$?
35200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35201 (exit $ac_status); }; } &&
35202 { ac_try='test -s conftest.$ac_objext'
35203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35204 (eval $ac_try) 2>&5
35205 ac_status=$?
35206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35207 (exit $ac_status); }; }; then
35208 wx_cv_type_getsockname3=int
35209 else
35210 echo "$as_me: failed program was:" >&5
35211 sed 's/^/| /' conftest.$ac_ext >&5
35212
35213 wx_cv_type_getsockname3=unknown
35214
35215 fi
35216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35217
35218 fi
35219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35220
35221 CFLAGS="$CFLAGS_OLD"
35222
35223
35224 fi
35225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35226
35227 fi
35228 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35229 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35230
35231 if test "$wx_cv_type_getsockname3" = "unknown"; then
35232 wxUSE_SOCKETS=no
35233 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35234 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35235 else
35236 cat >>confdefs.h <<_ACEOF
35237 #define SOCKLEN_T $wx_cv_type_getsockname3
35238 _ACEOF
35239
35240 fi
35241 fi
35242 fi
35243
35244 if test "$wxUSE_SOCKETS" = "yes" ; then
35245 cat >>confdefs.h <<\_ACEOF
35246 #define wxUSE_SOCKETS 1
35247 _ACEOF
35248
35249 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35250 fi
35251
35252 if test "$wxUSE_PROTOCOL" = "yes"; then
35253 if test "$wxUSE_SOCKETS" != "yes"; then
35254 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35255 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35256 wxUSE_PROTOCOL=no
35257 fi
35258 fi
35259
35260 if test "$wxUSE_PROTOCOL" = "yes"; then
35261 cat >>confdefs.h <<\_ACEOF
35262 #define wxUSE_PROTOCOL 1
35263 _ACEOF
35264
35265
35266 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35267 cat >>confdefs.h <<\_ACEOF
35268 #define wxUSE_PROTOCOL_HTTP 1
35269 _ACEOF
35270
35271 fi
35272 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35273 cat >>confdefs.h <<\_ACEOF
35274 #define wxUSE_PROTOCOL_FTP 1
35275 _ACEOF
35276
35277 fi
35278 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35279 cat >>confdefs.h <<\_ACEOF
35280 #define wxUSE_PROTOCOL_FILE 1
35281 _ACEOF
35282
35283 fi
35284 else
35285 if test "$wxUSE_FS_INET" = "yes"; then
35286 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35287 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35288 wxUSE_FS_INET="no"
35289 fi
35290 fi
35291
35292 if test "$wxUSE_URL" = "yes"; then
35293 if test "$wxUSE_PROTOCOL" != "yes"; then
35294 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35295 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35296 wxUSE_URL=no
35297 fi
35298 if test "$wxUSE_URL" = "yes"; then
35299 cat >>confdefs.h <<\_ACEOF
35300 #define wxUSE_URL 1
35301 _ACEOF
35302
35303 fi
35304 fi
35305
35306 if test "$wxUSE_FS_INET" = "yes"; then
35307 cat >>confdefs.h <<\_ACEOF
35308 #define wxUSE_FS_INET 1
35309 _ACEOF
35310
35311 fi
35312
35313
35314 if test "$wxUSE_GUI" = "yes"; then
35315
35316 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
35317 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
35318 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
35319 wxUSE_JOYSTICK=no
35320 fi
35321
35322 if test "$TOOLKIT" != "MSW"; then
35323 if test "$wxUSE_JOYSTICK" = "yes"; then
35324
35325 for ac_header in linux/joystick.h
35326 do
35327 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35329 echo "$as_me:$LINENO: checking for $ac_header" >&5
35330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35331 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35332 echo $ECHO_N "(cached) $ECHO_C" >&6
35333 fi
35334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35335 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35336 else
35337 # Is the header compilable?
35338 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35339 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35340 cat >conftest.$ac_ext <<_ACEOF
35341 /* confdefs.h. */
35342 _ACEOF
35343 cat confdefs.h >>conftest.$ac_ext
35344 cat >>conftest.$ac_ext <<_ACEOF
35345 /* end confdefs.h. */
35346 $ac_includes_default
35347 #include <$ac_header>
35348 _ACEOF
35349 rm -f conftest.$ac_objext
35350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35351 (eval $ac_compile) 2>conftest.er1
35352 ac_status=$?
35353 grep -v '^ *+' conftest.er1 >conftest.err
35354 rm -f conftest.er1
35355 cat conftest.err >&5
35356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35357 (exit $ac_status); } &&
35358 { ac_try='test -z "$ac_c_werror_flag"
35359 || test ! -s conftest.err'
35360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35361 (eval $ac_try) 2>&5
35362 ac_status=$?
35363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35364 (exit $ac_status); }; } &&
35365 { ac_try='test -s conftest.$ac_objext'
35366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35367 (eval $ac_try) 2>&5
35368 ac_status=$?
35369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35370 (exit $ac_status); }; }; then
35371 ac_header_compiler=yes
35372 else
35373 echo "$as_me: failed program was:" >&5
35374 sed 's/^/| /' conftest.$ac_ext >&5
35375
35376 ac_header_compiler=no
35377 fi
35378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35379 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35380 echo "${ECHO_T}$ac_header_compiler" >&6
35381
35382 # Is the header present?
35383 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35384 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35385 cat >conftest.$ac_ext <<_ACEOF
35386 /* confdefs.h. */
35387 _ACEOF
35388 cat confdefs.h >>conftest.$ac_ext
35389 cat >>conftest.$ac_ext <<_ACEOF
35390 /* end confdefs.h. */
35391 #include <$ac_header>
35392 _ACEOF
35393 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35394 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35395 ac_status=$?
35396 grep -v '^ *+' conftest.er1 >conftest.err
35397 rm -f conftest.er1
35398 cat conftest.err >&5
35399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35400 (exit $ac_status); } >/dev/null; then
35401 if test -s conftest.err; then
35402 ac_cpp_err=$ac_c_preproc_warn_flag
35403 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35404 else
35405 ac_cpp_err=
35406 fi
35407 else
35408 ac_cpp_err=yes
35409 fi
35410 if test -z "$ac_cpp_err"; then
35411 ac_header_preproc=yes
35412 else
35413 echo "$as_me: failed program was:" >&5
35414 sed 's/^/| /' conftest.$ac_ext >&5
35415
35416 ac_header_preproc=no
35417 fi
35418 rm -f conftest.err conftest.$ac_ext
35419 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35420 echo "${ECHO_T}$ac_header_preproc" >&6
35421
35422 # So? What about this header?
35423 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35424 yes:no: )
35425 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35426 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35427 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35428 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35429 ac_header_preproc=yes
35430 ;;
35431 no:yes:* )
35432 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35433 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35434 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35435 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35436 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35437 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35438 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35439 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35440 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35441 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35442 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35443 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35444 (
35445 cat <<\_ASBOX
35446 ## ----------------------------------------- ##
35447 ## Report this to wx-dev@lists.wxwindows.org ##
35448 ## ----------------------------------------- ##
35449 _ASBOX
35450 ) |
35451 sed "s/^/$as_me: WARNING: /" >&2
35452 ;;
35453 esac
35454 echo "$as_me:$LINENO: checking for $ac_header" >&5
35455 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35457 echo $ECHO_N "(cached) $ECHO_C" >&6
35458 else
35459 eval "$as_ac_Header=\$ac_header_preproc"
35460 fi
35461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35462 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35463
35464 fi
35465 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35466 cat >>confdefs.h <<_ACEOF
35467 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35468 _ACEOF
35469
35470 fi
35471
35472 done
35473
35474 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
35475 wxUSE_JOYSTICK=no
35476 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
35477 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35478 fi
35479 fi
35480 fi
35481
35482 if test "$wxUSE_JOYSTICK" = "yes"; then
35483 cat >>confdefs.h <<\_ACEOF
35484 #define wxUSE_JOYSTICK 1
35485 _ACEOF
35486
35487 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
35488 fi
35489 fi
35490
35491
35492
35493
35494 if test "$wxUSE_FONTMAP" = "yes" ; then
35495 cat >>confdefs.h <<\_ACEOF
35496 #define wxUSE_FONTMAP 1
35497 _ACEOF
35498
35499 fi
35500
35501 if test "$wxUSE_UNICODE" = "yes" ; then
35502 cat >>confdefs.h <<\_ACEOF
35503 #define wxUSE_UNICODE 1
35504 _ACEOF
35505
35506
35507 if test "$USE_WIN32" != 1; then
35508 wxUSE_UNICODE_MSLU=no
35509 fi
35510
35511 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35512 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
35513 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
35514 if test "${ac_cv_lib_unicows_main+set}" = set; then
35515 echo $ECHO_N "(cached) $ECHO_C" >&6
35516 else
35517 ac_check_lib_save_LIBS=$LIBS
35518 LIBS="-lunicows $LIBS"
35519 cat >conftest.$ac_ext <<_ACEOF
35520 /* confdefs.h. */
35521 _ACEOF
35522 cat confdefs.h >>conftest.$ac_ext
35523 cat >>conftest.$ac_ext <<_ACEOF
35524 /* end confdefs.h. */
35525
35526
35527 int
35528 main ()
35529 {
35530 main ();
35531 ;
35532 return 0;
35533 }
35534 _ACEOF
35535 rm -f conftest.$ac_objext conftest$ac_exeext
35536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35537 (eval $ac_link) 2>conftest.er1
35538 ac_status=$?
35539 grep -v '^ *+' conftest.er1 >conftest.err
35540 rm -f conftest.er1
35541 cat conftest.err >&5
35542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35543 (exit $ac_status); } &&
35544 { ac_try='test -z "$ac_c_werror_flag"
35545 || test ! -s conftest.err'
35546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35547 (eval $ac_try) 2>&5
35548 ac_status=$?
35549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35550 (exit $ac_status); }; } &&
35551 { ac_try='test -s conftest$ac_exeext'
35552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35553 (eval $ac_try) 2>&5
35554 ac_status=$?
35555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35556 (exit $ac_status); }; }; then
35557 ac_cv_lib_unicows_main=yes
35558 else
35559 echo "$as_me: failed program was:" >&5
35560 sed 's/^/| /' conftest.$ac_ext >&5
35561
35562 ac_cv_lib_unicows_main=no
35563 fi
35564 rm -f conftest.err conftest.$ac_objext \
35565 conftest$ac_exeext conftest.$ac_ext
35566 LIBS=$ac_check_lib_save_LIBS
35567 fi
35568 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
35569 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
35570 if test $ac_cv_lib_unicows_main = yes; then
35571
35572 cat >>confdefs.h <<\_ACEOF
35573 #define wxUSE_UNICODE_MSLU 1
35574 _ACEOF
35575
35576
35577 else
35578
35579 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35580 Applications will only run on Windows NT/2000/XP!" >&5
35581 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35582 Applications will only run on Windows NT/2000/XP!" >&2;}
35583 wxUSE_UNICODE_MSLU=no
35584
35585 fi
35586
35587 fi
35588 fi
35589
35590 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
35591 cat >>confdefs.h <<\_ACEOF
35592 #define wxUSE_EXPERIMENTAL_PRINTF 1
35593 _ACEOF
35594
35595 fi
35596
35597
35598 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35599 cat >>confdefs.h <<\_ACEOF
35600 #define wxUSE_POSTSCRIPT 1
35601 _ACEOF
35602
35603 fi
35604
35605 cat >>confdefs.h <<\_ACEOF
35606 #define wxUSE_AFM_FOR_POSTSCRIPT 1
35607 _ACEOF
35608
35609
35610 cat >>confdefs.h <<\_ACEOF
35611 #define wxUSE_NORMALIZED_PS_FONTS 1
35612 _ACEOF
35613
35614
35615
35616 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35617 cat >>confdefs.h <<\_ACEOF
35618 #define wxUSE_CONSTRAINTS 1
35619 _ACEOF
35620
35621 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
35622 fi
35623
35624 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35625 cat >>confdefs.h <<\_ACEOF
35626 #define wxUSE_MDI_ARCHITECTURE 1
35627 _ACEOF
35628
35629 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
35630 fi
35631
35632 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35633 cat >>confdefs.h <<\_ACEOF
35634 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
35635 _ACEOF
35636
35637 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
35638 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35639 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
35640 fi
35641 fi
35642
35643 if test "$wxUSE_HELP" = "yes"; then
35644 cat >>confdefs.h <<\_ACEOF
35645 #define wxUSE_HELP 1
35646 _ACEOF
35647
35648 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
35649
35650 if test "$wxUSE_MSW" = 1; then
35651 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35652 cat >>confdefs.h <<\_ACEOF
35653 #define wxUSE_MS_HTML_HELP 1
35654 _ACEOF
35655
35656 fi
35657 fi
35658
35659 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35660 if test "$wxUSE_HTML" = "yes"; then
35661 cat >>confdefs.h <<\_ACEOF
35662 #define wxUSE_WXHTML_HELP 1
35663 _ACEOF
35664
35665 else
35666 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35667 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35668 wxUSE_WXHTML_HELP=no
35669 fi
35670 fi
35671 fi
35672
35673 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35674 if test "$wxUSE_CONSTRAINTS" != "yes"; then
35675 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
35676 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
35677 else
35678 cat >>confdefs.h <<\_ACEOF
35679 #define wxUSE_PRINTING_ARCHITECTURE 1
35680 _ACEOF
35681
35682 fi
35683 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
35684 fi
35685
35686 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
35687 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
35688 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
35689 { (exit 1); exit 1; }; }
35690 fi
35691
35692
35693 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
35694 -o "$wxUSE_CLIPBOARD" = "yes" \
35695 -o "$wxUSE_OLE" = "yes" \
35696 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
35697
35698 for ac_header in ole2.h
35699 do
35700 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35701 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35702 echo "$as_me:$LINENO: checking for $ac_header" >&5
35703 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35704 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35705 echo $ECHO_N "(cached) $ECHO_C" >&6
35706 fi
35707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35708 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35709 else
35710 # Is the header compilable?
35711 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35712 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35713 cat >conftest.$ac_ext <<_ACEOF
35714 /* confdefs.h. */
35715 _ACEOF
35716 cat confdefs.h >>conftest.$ac_ext
35717 cat >>conftest.$ac_ext <<_ACEOF
35718 /* end confdefs.h. */
35719 $ac_includes_default
35720 #include <$ac_header>
35721 _ACEOF
35722 rm -f conftest.$ac_objext
35723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35724 (eval $ac_compile) 2>conftest.er1
35725 ac_status=$?
35726 grep -v '^ *+' conftest.er1 >conftest.err
35727 rm -f conftest.er1
35728 cat conftest.err >&5
35729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35730 (exit $ac_status); } &&
35731 { ac_try='test -z "$ac_c_werror_flag"
35732 || test ! -s conftest.err'
35733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35734 (eval $ac_try) 2>&5
35735 ac_status=$?
35736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35737 (exit $ac_status); }; } &&
35738 { ac_try='test -s conftest.$ac_objext'
35739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35740 (eval $ac_try) 2>&5
35741 ac_status=$?
35742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35743 (exit $ac_status); }; }; then
35744 ac_header_compiler=yes
35745 else
35746 echo "$as_me: failed program was:" >&5
35747 sed 's/^/| /' conftest.$ac_ext >&5
35748
35749 ac_header_compiler=no
35750 fi
35751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35752 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35753 echo "${ECHO_T}$ac_header_compiler" >&6
35754
35755 # Is the header present?
35756 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35757 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35758 cat >conftest.$ac_ext <<_ACEOF
35759 /* confdefs.h. */
35760 _ACEOF
35761 cat confdefs.h >>conftest.$ac_ext
35762 cat >>conftest.$ac_ext <<_ACEOF
35763 /* end confdefs.h. */
35764 #include <$ac_header>
35765 _ACEOF
35766 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35767 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35768 ac_status=$?
35769 grep -v '^ *+' conftest.er1 >conftest.err
35770 rm -f conftest.er1
35771 cat conftest.err >&5
35772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35773 (exit $ac_status); } >/dev/null; then
35774 if test -s conftest.err; then
35775 ac_cpp_err=$ac_c_preproc_warn_flag
35776 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35777 else
35778 ac_cpp_err=
35779 fi
35780 else
35781 ac_cpp_err=yes
35782 fi
35783 if test -z "$ac_cpp_err"; then
35784 ac_header_preproc=yes
35785 else
35786 echo "$as_me: failed program was:" >&5
35787 sed 's/^/| /' conftest.$ac_ext >&5
35788
35789 ac_header_preproc=no
35790 fi
35791 rm -f conftest.err conftest.$ac_ext
35792 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35793 echo "${ECHO_T}$ac_header_preproc" >&6
35794
35795 # So? What about this header?
35796 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35797 yes:no: )
35798 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35799 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35800 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35801 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35802 ac_header_preproc=yes
35803 ;;
35804 no:yes:* )
35805 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35806 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35807 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35808 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35809 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35810 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35811 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35812 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35813 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35814 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35815 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35816 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35817 (
35818 cat <<\_ASBOX
35819 ## ----------------------------------------- ##
35820 ## Report this to wx-dev@lists.wxwindows.org ##
35821 ## ----------------------------------------- ##
35822 _ASBOX
35823 ) |
35824 sed "s/^/$as_me: WARNING: /" >&2
35825 ;;
35826 esac
35827 echo "$as_me:$LINENO: checking for $ac_header" >&5
35828 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35829 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35830 echo $ECHO_N "(cached) $ECHO_C" >&6
35831 else
35832 eval "$as_ac_Header=\$ac_header_preproc"
35833 fi
35834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35835 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35836
35837 fi
35838 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35839 cat >>confdefs.h <<_ACEOF
35840 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35841 _ACEOF
35842
35843 fi
35844
35845 done
35846
35847
35848 if test "$ac_cv_header_ole2_h" = "yes" ; then
35849 if test "$GCC" = yes ; then
35850
35851
35852 ac_ext=cc
35853 ac_cpp='$CXXCPP $CPPFLAGS'
35854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35857
35858
35859 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
35860 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
35861 cat >conftest.$ac_ext <<_ACEOF
35862 /* confdefs.h. */
35863 _ACEOF
35864 cat confdefs.h >>conftest.$ac_ext
35865 cat >>conftest.$ac_ext <<_ACEOF
35866 /* end confdefs.h. */
35867 #include <windows.h>
35868 #include <ole2.h>
35869 int
35870 main ()
35871 {
35872
35873 ;
35874 return 0;
35875 }
35876 _ACEOF
35877 rm -f conftest.$ac_objext
35878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35879 (eval $ac_compile) 2>conftest.er1
35880 ac_status=$?
35881 grep -v '^ *+' conftest.er1 >conftest.err
35882 rm -f conftest.er1
35883 cat conftest.err >&5
35884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35885 (exit $ac_status); } &&
35886 { ac_try='test -z "$ac_cxx_werror_flag"
35887 || test ! -s conftest.err'
35888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35889 (eval $ac_try) 2>&5
35890 ac_status=$?
35891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35892 (exit $ac_status); }; } &&
35893 { ac_try='test -s conftest.$ac_objext'
35894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35895 (eval $ac_try) 2>&5
35896 ac_status=$?
35897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35898 (exit $ac_status); }; }; then
35899 echo "$as_me:$LINENO: result: no" >&5
35900 echo "${ECHO_T}no" >&6
35901 else
35902 echo "$as_me: failed program was:" >&5
35903 sed 's/^/| /' conftest.$ac_ext >&5
35904
35905 echo "$as_me:$LINENO: result: yes" >&5
35906 echo "${ECHO_T}yes" >&6
35907 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
35908 fi
35909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35910 ac_ext=c
35911 ac_cpp='$CPP $CPPFLAGS'
35912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35915
35916 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
35917 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
35918 if test "$wxUSE_OLE" = "yes" ; then
35919 cat >>confdefs.h <<\_ACEOF
35920 #define wxUSE_OLE 1
35921 _ACEOF
35922
35923 fi
35924 fi
35925
35926 if test "$wxUSE_DATAOBJ" = "yes" ; then
35927 cat >>confdefs.h <<\_ACEOF
35928 #define wxUSE_DATAOBJ 1
35929 _ACEOF
35930
35931 fi
35932 else
35933 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
35934 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
35935
35936 wxUSE_CLIPBOARD=no
35937 wxUSE_DRAG_AND_DROP=no
35938 wxUSE_DATAOBJ=no
35939 wxUSE_OLE=no
35940 fi
35941
35942 if test "$wxUSE_METAFILE" = "yes"; then
35943 cat >>confdefs.h <<\_ACEOF
35944 #define wxUSE_METAFILE 1
35945 _ACEOF
35946
35947
35948 cat >>confdefs.h <<\_ACEOF
35949 #define wxUSE_ENH_METAFILE 1
35950 _ACEOF
35951
35952 fi
35953 fi
35954
35955 if test "$wxUSE_IPC" = "yes"; then
35956 if test "$wxUSE_SOCKETS" != "yes"; then
35957 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
35958 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
35959 fi
35960
35961 cat >>confdefs.h <<\_ACEOF
35962 #define wxUSE_IPC 1
35963 _ACEOF
35964
35965 fi
35966
35967 if test "$wxUSE_CLIPBOARD" = "yes"; then
35968 if test "$wxUSE_MGL" = 1; then
35969 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
35970 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
35971 wxUSE_CLIPBOARD=no
35972 fi
35973
35974 if test "$wxUSE_CLIPBOARD" = "yes"; then
35975 cat >>confdefs.h <<\_ACEOF
35976 #define wxUSE_CLIPBOARD 1
35977 _ACEOF
35978
35979
35980 cat >>confdefs.h <<\_ACEOF
35981 #define wxUSE_DATAOBJ 1
35982 _ACEOF
35983
35984 fi
35985 fi
35986
35987 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
35988 if test "$wxUSE_GTK" = 1; then
35989 if test "$WXGTK12" != 1; then
35990 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
35991 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
35992 wxUSE_DRAG_AND_DROP=no
35993 fi
35994 fi
35995
35996 if test "$wxUSE_MOTIF" = 1; then
35997 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
35998 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
35999 wxUSE_DRAG_AND_DROP=no
36000 fi
36001
36002 if test "$wxUSE_X11" = 1; then
36003 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36004 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36005 wxUSE_DRAG_AND_DROP=no
36006 fi
36007
36008 if test "$wxUSE_MGL" = 1; then
36009 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36010 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36011 wxUSE_DRAG_AND_DROP=no
36012 fi
36013
36014 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36015 cat >>confdefs.h <<\_ACEOF
36016 #define wxUSE_DRAG_AND_DROP 1
36017 _ACEOF
36018
36019 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
36020 fi
36021
36022 fi
36023
36024 if test "$wxUSE_SPLINES" = "yes" ; then
36025 cat >>confdefs.h <<\_ACEOF
36026 #define wxUSE_SPLINES 1
36027 _ACEOF
36028
36029 fi
36030
36031
36032 USES_CONTROLS=0
36033 if test "$wxUSE_CONTROLS" = "yes"; then
36034 USES_CONTROLS=1
36035 fi
36036
36037 if test "$wxUSE_ACCEL" = "yes"; then
36038 cat >>confdefs.h <<\_ACEOF
36039 #define wxUSE_ACCEL 1
36040 _ACEOF
36041
36042 USES_CONTROLS=1
36043 fi
36044
36045 if test "$wxUSE_BUTTON" = "yes"; then
36046 cat >>confdefs.h <<\_ACEOF
36047 #define wxUSE_BUTTON 1
36048 _ACEOF
36049
36050 USES_CONTROLS=1
36051 fi
36052
36053 if test "$wxUSE_BMPBUTTON" = "yes"; then
36054 cat >>confdefs.h <<\_ACEOF
36055 #define wxUSE_BMPBUTTON 1
36056 _ACEOF
36057
36058 USES_CONTROLS=1
36059 fi
36060
36061 if test "$wxUSE_CALCTRL" = "yes"; then
36062 cat >>confdefs.h <<\_ACEOF
36063 #define wxUSE_CALENDARCTRL 1
36064 _ACEOF
36065
36066 USES_CONTROLS=1
36067 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
36068 fi
36069
36070 if test "$wxUSE_CARET" = "yes"; then
36071 cat >>confdefs.h <<\_ACEOF
36072 #define wxUSE_CARET 1
36073 _ACEOF
36074
36075 USES_CONTROLS=1
36076 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
36077 fi
36078
36079 if test "$wxUSE_COMBOBOX" = "yes"; then
36080 cat >>confdefs.h <<\_ACEOF
36081 #define wxUSE_COMBOBOX 1
36082 _ACEOF
36083
36084 USES_CONTROLS=1
36085 fi
36086
36087 if test "$wxUSE_CHOICE" = "yes"; then
36088 cat >>confdefs.h <<\_ACEOF
36089 #define wxUSE_CHOICE 1
36090 _ACEOF
36091
36092 USES_CONTROLS=1
36093 fi
36094
36095 if test "$wxUSE_CHECKBOX" = "yes"; then
36096 cat >>confdefs.h <<\_ACEOF
36097 #define wxUSE_CHECKBOX 1
36098 _ACEOF
36099
36100 USES_CONTROLS=1
36101 fi
36102
36103 if test "$wxUSE_CHECKLST" = "yes"; then
36104 cat >>confdefs.h <<\_ACEOF
36105 #define wxUSE_CHECKLISTBOX 1
36106 _ACEOF
36107
36108 USES_CONTROLS=1
36109 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
36110 fi
36111
36112 if test "$wxUSE_DISPLAY" = "yes"; then
36113 cat >>confdefs.h <<\_ACEOF
36114 #define wxUSE_DISPLAY 1
36115 _ACEOF
36116
36117 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
36118 fi
36119
36120 if test "$wxUSE_GAUGE" = "yes"; then
36121 cat >>confdefs.h <<\_ACEOF
36122 #define wxUSE_GAUGE 1
36123 _ACEOF
36124
36125 USES_CONTROLS=1
36126 fi
36127
36128 if test "$wxUSE_GRID" = "yes"; then
36129 cat >>confdefs.h <<\_ACEOF
36130 #define wxUSE_GRID 1
36131 _ACEOF
36132
36133 USES_CONTROLS=1
36134 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
36135 fi
36136
36137 if test "$wxUSE_IMAGLIST" = "yes"; then
36138 cat >>confdefs.h <<\_ACEOF
36139 #define wxUSE_IMAGLIST 1
36140 _ACEOF
36141
36142 fi
36143
36144 if test "$wxUSE_LISTBOOK" = "yes"; then
36145 cat >>confdefs.h <<\_ACEOF
36146 #define wxUSE_LISTBOOK 1
36147 _ACEOF
36148
36149 USES_CONTROLS=1
36150 fi
36151
36152 if test "$wxUSE_LISTBOX" = "yes"; then
36153 cat >>confdefs.h <<\_ACEOF
36154 #define wxUSE_LISTBOX 1
36155 _ACEOF
36156
36157 USES_CONTROLS=1
36158 fi
36159
36160 if test "$wxUSE_LISTCTRL" = "yes"; then
36161 if test "$wxUSE_IMAGLIST" = "yes"; then
36162 cat >>confdefs.h <<\_ACEOF
36163 #define wxUSE_LISTCTRL 1
36164 _ACEOF
36165
36166 USES_CONTROLS=1
36167 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
36168 else
36169 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36170 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36171 fi
36172 fi
36173
36174 if test "$wxUSE_NOTEBOOK" = "yes"; then
36175 cat >>confdefs.h <<\_ACEOF
36176 #define wxUSE_NOTEBOOK 1
36177 _ACEOF
36178
36179 USES_CONTROLS=1
36180 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
36181 fi
36182
36183
36184 if test "$wxUSE_RADIOBOX" = "yes"; then
36185 cat >>confdefs.h <<\_ACEOF
36186 #define wxUSE_RADIOBOX 1
36187 _ACEOF
36188
36189 USES_CONTROLS=1
36190 fi
36191
36192 if test "$wxUSE_RADIOBTN" = "yes"; then
36193 cat >>confdefs.h <<\_ACEOF
36194 #define wxUSE_RADIOBTN 1
36195 _ACEOF
36196
36197 USES_CONTROLS=1
36198 fi
36199
36200 if test "$wxUSE_SASH" = "yes"; then
36201 cat >>confdefs.h <<\_ACEOF
36202 #define wxUSE_SASH 1
36203 _ACEOF
36204
36205 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
36206 fi
36207
36208 if test "$wxUSE_SCROLLBAR" = "yes"; then
36209 cat >>confdefs.h <<\_ACEOF
36210 #define wxUSE_SCROLLBAR 1
36211 _ACEOF
36212
36213 USES_CONTROLS=1
36214 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
36215 fi
36216
36217 if test "$wxUSE_SLIDER" = "yes"; then
36218 cat >>confdefs.h <<\_ACEOF
36219 #define wxUSE_SLIDER 1
36220 _ACEOF
36221
36222 USES_CONTROLS=1
36223 fi
36224
36225 if test "$wxUSE_SPINBTN" = "yes"; then
36226 cat >>confdefs.h <<\_ACEOF
36227 #define wxUSE_SPINBTN 1
36228 _ACEOF
36229
36230 USES_CONTROLS=1
36231 fi
36232
36233 if test "$wxUSE_SPINCTRL" = "yes"; then
36234 cat >>confdefs.h <<\_ACEOF
36235 #define wxUSE_SPINCTRL 1
36236 _ACEOF
36237
36238 USES_CONTROLS=1
36239 fi
36240
36241 if test "$wxUSE_SPLITTER" = "yes"; then
36242 cat >>confdefs.h <<\_ACEOF
36243 #define wxUSE_SPLITTER 1
36244 _ACEOF
36245
36246 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
36247 fi
36248
36249 if test "$wxUSE_STATBMP" = "yes"; then
36250 cat >>confdefs.h <<\_ACEOF
36251 #define wxUSE_STATBMP 1
36252 _ACEOF
36253
36254 USES_CONTROLS=1
36255 fi
36256
36257 if test "$wxUSE_STATBOX" = "yes"; then
36258 cat >>confdefs.h <<\_ACEOF
36259 #define wxUSE_STATBOX 1
36260 _ACEOF
36261
36262 USES_CONTROLS=1
36263 fi
36264
36265 if test "$wxUSE_STATTEXT" = "yes"; then
36266 cat >>confdefs.h <<\_ACEOF
36267 #define wxUSE_STATTEXT 1
36268 _ACEOF
36269
36270 USES_CONTROLS=1
36271 fi
36272
36273 if test "$wxUSE_STATLINE" = "yes"; then
36274 cat >>confdefs.h <<\_ACEOF
36275 #define wxUSE_STATLINE 1
36276 _ACEOF
36277
36278 USES_CONTROLS=1
36279 fi
36280
36281 if test "$wxUSE_STATUSBAR" = "yes"; then
36282 cat >>confdefs.h <<\_ACEOF
36283 #define wxUSE_STATUSBAR 1
36284 _ACEOF
36285
36286 USES_CONTROLS=1
36287
36288 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
36289 fi
36290
36291 if test "$wxUSE_TABDIALOG" = "yes"; then
36292 cat >>confdefs.h <<\_ACEOF
36293 #define wxUSE_TAB_DIALOG 1
36294 _ACEOF
36295
36296 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
36297 fi
36298
36299 if test "$wxUSE_TEXTCTRL" = "yes"; then
36300 cat >>confdefs.h <<\_ACEOF
36301 #define wxUSE_TEXTCTRL 1
36302 _ACEOF
36303
36304 USES_CONTROLS=1
36305 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
36306 fi
36307
36308 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36309 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
36310 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36311 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36312 wxUSE_TOGGLEBTN=no
36313 fi
36314 if test "$wxUSE_UNIVERSAL" = "yes"; then
36315 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
36316 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
36317 wxUSE_TOGGLEBTN=no
36318 fi
36319
36320 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36321 cat >>confdefs.h <<\_ACEOF
36322 #define wxUSE_TOGGLEBTN 1
36323 _ACEOF
36324
36325 USES_CONTROLS=1
36326 fi
36327 fi
36328
36329 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
36330 cat >>confdefs.h <<\_ACEOF
36331 #define wxUSE_TOOLBAR_SIMPLE 1
36332 _ACEOF
36333
36334 wxUSE_TOOLBAR="yes"
36335 USES_CONTROLS=1
36336 fi
36337
36338 if test "$wxUSE_TOOLBAR" = "yes"; then
36339 cat >>confdefs.h <<\_ACEOF
36340 #define wxUSE_TOOLBAR 1
36341 _ACEOF
36342
36343 USES_CONTROLS=1
36344
36345 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
36346 wxUSE_TOOLBAR_NATIVE="yes"
36347 fi
36348
36349 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
36350 cat >>confdefs.h <<\_ACEOF
36351 #define wxUSE_TOOLBAR_NATIVE 1
36352 _ACEOF
36353
36354 USES_CONTROLS=1
36355 fi
36356
36357 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
36358 fi
36359
36360 if test "$wxUSE_TOOLTIPS" = "yes"; then
36361 if test "$wxUSE_MOTIF" = 1; then
36362 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36363 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36364 else
36365 if test "$wxUSE_UNIVERSAL" = "yes"; then
36366 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36367 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36368 else
36369 cat >>confdefs.h <<\_ACEOF
36370 #define wxUSE_TOOLTIPS 1
36371 _ACEOF
36372
36373 fi
36374 fi
36375 fi
36376
36377 if test "$wxUSE_TREECTRL" = "yes"; then
36378 if test "$wxUSE_IMAGLIST" = "yes"; then
36379 cat >>confdefs.h <<\_ACEOF
36380 #define wxUSE_TREECTRL 1
36381 _ACEOF
36382
36383 USES_CONTROLS=1
36384 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
36385 else
36386 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36387 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36388 fi
36389 fi
36390
36391 if test "$wxUSE_POPUPWIN" = "yes"; then
36392 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
36393 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36394 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36395 else
36396 if test "$wxUSE_PM" = 1; then
36397 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36398 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36399 else
36400 cat >>confdefs.h <<\_ACEOF
36401 #define wxUSE_POPUPWIN 1
36402 _ACEOF
36403
36404
36405 USES_CONTROLS=1
36406 fi
36407 fi
36408 fi
36409
36410 if test "$wxUSE_TIPWINDOW" = "yes"; then
36411 if test "$wxUSE_PM" = 1; then
36412 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36413 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36414 else
36415 cat >>confdefs.h <<\_ACEOF
36416 #define wxUSE_TIPWINDOW 1
36417 _ACEOF
36418
36419 fi
36420 fi
36421
36422 if test "$USES_CONTROLS" = 1; then
36423 cat >>confdefs.h <<\_ACEOF
36424 #define wxUSE_CONTROLS 1
36425 _ACEOF
36426
36427 fi
36428
36429
36430 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36431 cat >>confdefs.h <<\_ACEOF
36432 #define wxUSE_ACCESSIBILITY 1
36433 _ACEOF
36434
36435 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
36436 fi
36437
36438 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36439 cat >>confdefs.h <<\_ACEOF
36440 #define wxUSE_DRAGIMAGE 1
36441 _ACEOF
36442
36443 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
36444 fi
36445
36446 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36447 cat >>confdefs.h <<\_ACEOF
36448 #define wxUSE_EXCEPTIONS 1
36449 _ACEOF
36450
36451 fi
36452
36453 USE_HTML=0
36454 if test "$wxUSE_HTML" = "yes"; then
36455 cat >>confdefs.h <<\_ACEOF
36456 #define wxUSE_HTML 1
36457 _ACEOF
36458
36459 USE_HTML=1
36460 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36461 fi
36462
36463 if test "$wxUSE_MENUS" = "yes"; then
36464 cat >>confdefs.h <<\_ACEOF
36465 #define wxUSE_MENUS 1
36466 _ACEOF
36467
36468 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
36469 fi
36470
36471 if test "$wxUSE_METAFILE" = "yes"; then
36472 cat >>confdefs.h <<\_ACEOF
36473 #define wxUSE_METAFILE 1
36474 _ACEOF
36475
36476 fi
36477
36478 if test "$wxUSE_MIMETYPE" = "yes"; then
36479 cat >>confdefs.h <<\_ACEOF
36480 #define wxUSE_MIMETYPE 1
36481 _ACEOF
36482
36483 fi
36484
36485 if test "$wxUSE_MINIFRAME" = "yes"; then
36486 cat >>confdefs.h <<\_ACEOF
36487 #define wxUSE_MINIFRAME 1
36488 _ACEOF
36489
36490 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
36491 fi
36492
36493 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36494 cat >>confdefs.h <<\_ACEOF
36495 #define wxUSE_SYSTEM_OPTIONS 1
36496 _ACEOF
36497
36498 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
36499 "$TOOLKIT" = "MOTIF"; then
36500 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
36501 fi
36502 fi
36503
36504
36505 if test "$wxUSE_VALIDATORS" = "yes"; then
36506 cat >>confdefs.h <<\_ACEOF
36507 #define wxUSE_VALIDATORS 1
36508 _ACEOF
36509
36510 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
36511 fi
36512
36513 if test "$wxUSE_PALETTE" = "yes" ; then
36514 cat >>confdefs.h <<\_ACEOF
36515 #define wxUSE_PALETTE 1
36516 _ACEOF
36517
36518 fi
36519
36520 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36521 LIBS=" -lunicows $LIBS"
36522 fi
36523
36524
36525 if test "$wxUSE_IMAGE" = "yes" ; then
36526 cat >>confdefs.h <<\_ACEOF
36527 #define wxUSE_IMAGE 1
36528 _ACEOF
36529
36530
36531 if test "$wxUSE_GIF" = "yes" ; then
36532 cat >>confdefs.h <<\_ACEOF
36533 #define wxUSE_GIF 1
36534 _ACEOF
36535
36536 fi
36537
36538 if test "$wxUSE_PCX" = "yes" ; then
36539 cat >>confdefs.h <<\_ACEOF
36540 #define wxUSE_PCX 1
36541 _ACEOF
36542
36543 fi
36544
36545 if test "$wxUSE_IFF" = "yes" ; then
36546 cat >>confdefs.h <<\_ACEOF
36547 #define wxUSE_IFF 1
36548 _ACEOF
36549
36550 fi
36551
36552 if test "$wxUSE_PNM" = "yes" ; then
36553 cat >>confdefs.h <<\_ACEOF
36554 #define wxUSE_PNM 1
36555 _ACEOF
36556
36557 fi
36558
36559 if test "$wxUSE_XPM" = "yes" ; then
36560 cat >>confdefs.h <<\_ACEOF
36561 #define wxUSE_XPM 1
36562 _ACEOF
36563
36564 fi
36565
36566 if test "$wxUSE_ICO_CUR" = "yes" ; then
36567 cat >>confdefs.h <<\_ACEOF
36568 #define wxUSE_ICO_CUR 1
36569 _ACEOF
36570
36571 fi
36572 fi
36573
36574
36575 if test "$wxUSE_CHOICEDLG" = "yes"; then
36576 cat >>confdefs.h <<\_ACEOF
36577 #define wxUSE_CHOICEDLG 1
36578 _ACEOF
36579
36580 fi
36581
36582 if test "$wxUSE_COLOURDLG" = "yes"; then
36583 cat >>confdefs.h <<\_ACEOF
36584 #define wxUSE_COLOURDLG 1
36585 _ACEOF
36586
36587 fi
36588
36589 if test "$wxUSE_FILEDLG" = "yes"; then
36590 cat >>confdefs.h <<\_ACEOF
36591 #define wxUSE_FILEDLG 1
36592 _ACEOF
36593
36594 fi
36595
36596 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36597 cat >>confdefs.h <<\_ACEOF
36598 #define wxUSE_FINDREPLDLG 1
36599 _ACEOF
36600
36601 fi
36602
36603 if test "$wxUSE_FONTDLG" = "yes"; then
36604 cat >>confdefs.h <<\_ACEOF
36605 #define wxUSE_FONTDLG 1
36606 _ACEOF
36607
36608 fi
36609
36610 if test "$wxUSE_DIRDLG" = "yes"; then
36611 if test "$wxUSE_TREECTRL" != "yes"; then
36612 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36613 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36614 else
36615 cat >>confdefs.h <<\_ACEOF
36616 #define wxUSE_DIRDLG 1
36617 _ACEOF
36618
36619 fi
36620 fi
36621
36622 if test "$wxUSE_MSGDLG" = "yes"; then
36623 cat >>confdefs.h <<\_ACEOF
36624 #define wxUSE_MSGDLG 1
36625 _ACEOF
36626
36627 fi
36628
36629 if test "$wxUSE_NUMBERDLG" = "yes"; then
36630 cat >>confdefs.h <<\_ACEOF
36631 #define wxUSE_NUMBERDLG 1
36632 _ACEOF
36633
36634 fi
36635
36636 if test "$wxUSE_PROGRESSDLG" = "yes"; then
36637 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36638 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
36639 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
36640 else
36641 cat >>confdefs.h <<\_ACEOF
36642 #define wxUSE_PROGRESSDLG 1
36643 _ACEOF
36644
36645 fi
36646 fi
36647
36648 if test "$wxUSE_SPLASH" = "yes"; then
36649 cat >>confdefs.h <<\_ACEOF
36650 #define wxUSE_SPLASH 1
36651 _ACEOF
36652
36653 fi
36654
36655 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
36656 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36657 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
36658 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
36659 else
36660 cat >>confdefs.h <<\_ACEOF
36661 #define wxUSE_STARTUP_TIPS 1
36662 _ACEOF
36663
36664 fi
36665 fi
36666
36667 if test "$wxUSE_TEXTDLG" = "yes"; then
36668 cat >>confdefs.h <<\_ACEOF
36669 #define wxUSE_TEXTDLG 1
36670 _ACEOF
36671
36672 fi
36673
36674 if test "$wxUSE_WIZARDDLG" = "yes"; then
36675 cat >>confdefs.h <<\_ACEOF
36676 #define wxUSE_WIZARDDLG 1
36677 _ACEOF
36678
36679 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
36680 fi
36681
36682
36683 if test "$cross_compiling" = "yes"; then
36684 OSINFO="\"$host\""
36685 else
36686 OSINFO=`uname -s -r -m`
36687 OSINFO="\"$OSINFO\""
36688 fi
36689
36690 cat >>confdefs.h <<_ACEOF
36691 #define WXWIN_OS_DESCRIPTION $OSINFO
36692 _ACEOF
36693
36694
36695
36696 if test "x$prefix" != "xNONE"; then
36697 wxPREFIX=$prefix
36698 else
36699 wxPREFIX=$ac_default_prefix
36700 fi
36701
36702 cat >>confdefs.h <<_ACEOF
36703 #define wxINSTALL_PREFIX "$wxPREFIX"
36704 _ACEOF
36705
36706
36707 top_builddir_wxconfig=`pwd`
36708
36709
36710
36711 CORE_BASE_LIBS="net base"
36712 CORE_GUI_LIBS="adv core"
36713
36714 if test "$wxUSE_XML" = "yes" ; then
36715 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
36716 fi
36717 if test "$wxUSE_ODBC" != "no" ; then
36718 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
36719 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
36720 fi
36721 if test "$wxUSE_HTML" = "yes" ; then
36722 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
36723 fi
36724
36725 if test "$wxUSE_GUI" != "yes"; then
36726 CORE_GUI_LIBS=""
36727 fi
36728
36729
36730
36731
36732
36733
36734
36735
36736 if test "$wxUSE_MAC" = 1 ; then
36737 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
36738 fi
36739 if test "$wxUSE_COCOA" = 1 ; then
36740 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
36741 fi
36742
36743
36744 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
36745
36746 have_cos=0
36747 have_floor=0
36748
36749 for ac_func in cos
36750 do
36751 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36752 echo "$as_me:$LINENO: checking for $ac_func" >&5
36753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36754 if eval "test \"\${$as_ac_var+set}\" = set"; then
36755 echo $ECHO_N "(cached) $ECHO_C" >&6
36756 else
36757 cat >conftest.$ac_ext <<_ACEOF
36758 /* confdefs.h. */
36759 _ACEOF
36760 cat confdefs.h >>conftest.$ac_ext
36761 cat >>conftest.$ac_ext <<_ACEOF
36762 /* end confdefs.h. */
36763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36765 #define $ac_func innocuous_$ac_func
36766
36767 /* System header to define __stub macros and hopefully few prototypes,
36768 which can conflict with char $ac_func (); below.
36769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36770 <limits.h> exists even on freestanding compilers. */
36771
36772 #ifdef __STDC__
36773 # include <limits.h>
36774 #else
36775 # include <assert.h>
36776 #endif
36777
36778 #undef $ac_func
36779
36780 /* Override any gcc2 internal prototype to avoid an error. */
36781 #ifdef __cplusplus
36782 extern "C"
36783 {
36784 #endif
36785 /* We use char because int might match the return type of a gcc2
36786 builtin and then its argument prototype would still apply. */
36787 char $ac_func ();
36788 /* The GNU C library defines this for functions which it implements
36789 to always fail with ENOSYS. Some functions are actually named
36790 something starting with __ and the normal name is an alias. */
36791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36792 choke me
36793 #else
36794 char (*f) () = $ac_func;
36795 #endif
36796 #ifdef __cplusplus
36797 }
36798 #endif
36799
36800 int
36801 main ()
36802 {
36803 return f != $ac_func;
36804 ;
36805 return 0;
36806 }
36807 _ACEOF
36808 rm -f conftest.$ac_objext conftest$ac_exeext
36809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36810 (eval $ac_link) 2>conftest.er1
36811 ac_status=$?
36812 grep -v '^ *+' conftest.er1 >conftest.err
36813 rm -f conftest.er1
36814 cat conftest.err >&5
36815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36816 (exit $ac_status); } &&
36817 { ac_try='test -z "$ac_c_werror_flag"
36818 || test ! -s conftest.err'
36819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36820 (eval $ac_try) 2>&5
36821 ac_status=$?
36822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36823 (exit $ac_status); }; } &&
36824 { ac_try='test -s conftest$ac_exeext'
36825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36826 (eval $ac_try) 2>&5
36827 ac_status=$?
36828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36829 (exit $ac_status); }; }; then
36830 eval "$as_ac_var=yes"
36831 else
36832 echo "$as_me: failed program was:" >&5
36833 sed 's/^/| /' conftest.$ac_ext >&5
36834
36835 eval "$as_ac_var=no"
36836 fi
36837 rm -f conftest.err conftest.$ac_objext \
36838 conftest$ac_exeext conftest.$ac_ext
36839 fi
36840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36842 if test `eval echo '${'$as_ac_var'}'` = yes; then
36843 cat >>confdefs.h <<_ACEOF
36844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36845 _ACEOF
36846 have_cos=1
36847 fi
36848 done
36849
36850
36851 for ac_func in floor
36852 do
36853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36854 echo "$as_me:$LINENO: checking for $ac_func" >&5
36855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36856 if eval "test \"\${$as_ac_var+set}\" = set"; then
36857 echo $ECHO_N "(cached) $ECHO_C" >&6
36858 else
36859 cat >conftest.$ac_ext <<_ACEOF
36860 /* confdefs.h. */
36861 _ACEOF
36862 cat confdefs.h >>conftest.$ac_ext
36863 cat >>conftest.$ac_ext <<_ACEOF
36864 /* end confdefs.h. */
36865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36867 #define $ac_func innocuous_$ac_func
36868
36869 /* System header to define __stub macros and hopefully few prototypes,
36870 which can conflict with char $ac_func (); below.
36871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36872 <limits.h> exists even on freestanding compilers. */
36873
36874 #ifdef __STDC__
36875 # include <limits.h>
36876 #else
36877 # include <assert.h>
36878 #endif
36879
36880 #undef $ac_func
36881
36882 /* Override any gcc2 internal prototype to avoid an error. */
36883 #ifdef __cplusplus
36884 extern "C"
36885 {
36886 #endif
36887 /* We use char because int might match the return type of a gcc2
36888 builtin and then its argument prototype would still apply. */
36889 char $ac_func ();
36890 /* The GNU C library defines this for functions which it implements
36891 to always fail with ENOSYS. Some functions are actually named
36892 something starting with __ and the normal name is an alias. */
36893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36894 choke me
36895 #else
36896 char (*f) () = $ac_func;
36897 #endif
36898 #ifdef __cplusplus
36899 }
36900 #endif
36901
36902 int
36903 main ()
36904 {
36905 return f != $ac_func;
36906 ;
36907 return 0;
36908 }
36909 _ACEOF
36910 rm -f conftest.$ac_objext conftest$ac_exeext
36911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36912 (eval $ac_link) 2>conftest.er1
36913 ac_status=$?
36914 grep -v '^ *+' conftest.er1 >conftest.err
36915 rm -f conftest.er1
36916 cat conftest.err >&5
36917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36918 (exit $ac_status); } &&
36919 { ac_try='test -z "$ac_c_werror_flag"
36920 || test ! -s conftest.err'
36921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36922 (eval $ac_try) 2>&5
36923 ac_status=$?
36924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36925 (exit $ac_status); }; } &&
36926 { ac_try='test -s conftest$ac_exeext'
36927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36928 (eval $ac_try) 2>&5
36929 ac_status=$?
36930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36931 (exit $ac_status); }; }; then
36932 eval "$as_ac_var=yes"
36933 else
36934 echo "$as_me: failed program was:" >&5
36935 sed 's/^/| /' conftest.$ac_ext >&5
36936
36937 eval "$as_ac_var=no"
36938 fi
36939 rm -f conftest.err conftest.$ac_objext \
36940 conftest$ac_exeext conftest.$ac_ext
36941 fi
36942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36944 if test `eval echo '${'$as_ac_var'}'` = yes; then
36945 cat >>confdefs.h <<_ACEOF
36946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36947 _ACEOF
36948 have_floor=1
36949 fi
36950 done
36951
36952 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
36953 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
36954 if test "$have_cos" = 1 -a "$have_floor" = 1; then
36955 echo "$as_me:$LINENO: result: yes" >&5
36956 echo "${ECHO_T}yes" >&6
36957 else
36958 echo "$as_me:$LINENO: result: no" >&5
36959 echo "${ECHO_T}no" >&6
36960 LIBS="$LIBS -lm"
36961 # use different functions to avoid configure caching
36962 have_sin=0
36963 have_ceil=0
36964
36965 for ac_func in sin
36966 do
36967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36968 echo "$as_me:$LINENO: checking for $ac_func" >&5
36969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36970 if eval "test \"\${$as_ac_var+set}\" = set"; then
36971 echo $ECHO_N "(cached) $ECHO_C" >&6
36972 else
36973 cat >conftest.$ac_ext <<_ACEOF
36974 /* confdefs.h. */
36975 _ACEOF
36976 cat confdefs.h >>conftest.$ac_ext
36977 cat >>conftest.$ac_ext <<_ACEOF
36978 /* end confdefs.h. */
36979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36981 #define $ac_func innocuous_$ac_func
36982
36983 /* System header to define __stub macros and hopefully few prototypes,
36984 which can conflict with char $ac_func (); below.
36985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36986 <limits.h> exists even on freestanding compilers. */
36987
36988 #ifdef __STDC__
36989 # include <limits.h>
36990 #else
36991 # include <assert.h>
36992 #endif
36993
36994 #undef $ac_func
36995
36996 /* Override any gcc2 internal prototype to avoid an error. */
36997 #ifdef __cplusplus
36998 extern "C"
36999 {
37000 #endif
37001 /* We use char because int might match the return type of a gcc2
37002 builtin and then its argument prototype would still apply. */
37003 char $ac_func ();
37004 /* The GNU C library defines this for functions which it implements
37005 to always fail with ENOSYS. Some functions are actually named
37006 something starting with __ and the normal name is an alias. */
37007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37008 choke me
37009 #else
37010 char (*f) () = $ac_func;
37011 #endif
37012 #ifdef __cplusplus
37013 }
37014 #endif
37015
37016 int
37017 main ()
37018 {
37019 return f != $ac_func;
37020 ;
37021 return 0;
37022 }
37023 _ACEOF
37024 rm -f conftest.$ac_objext conftest$ac_exeext
37025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37026 (eval $ac_link) 2>conftest.er1
37027 ac_status=$?
37028 grep -v '^ *+' conftest.er1 >conftest.err
37029 rm -f conftest.er1
37030 cat conftest.err >&5
37031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37032 (exit $ac_status); } &&
37033 { ac_try='test -z "$ac_c_werror_flag"
37034 || test ! -s conftest.err'
37035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37036 (eval $ac_try) 2>&5
37037 ac_status=$?
37038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37039 (exit $ac_status); }; } &&
37040 { ac_try='test -s conftest$ac_exeext'
37041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37042 (eval $ac_try) 2>&5
37043 ac_status=$?
37044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37045 (exit $ac_status); }; }; then
37046 eval "$as_ac_var=yes"
37047 else
37048 echo "$as_me: failed program was:" >&5
37049 sed 's/^/| /' conftest.$ac_ext >&5
37050
37051 eval "$as_ac_var=no"
37052 fi
37053 rm -f conftest.err conftest.$ac_objext \
37054 conftest$ac_exeext conftest.$ac_ext
37055 fi
37056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37058 if test `eval echo '${'$as_ac_var'}'` = yes; then
37059 cat >>confdefs.h <<_ACEOF
37060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37061 _ACEOF
37062 have_sin=1
37063 fi
37064 done
37065
37066
37067 for ac_func in ceil
37068 do
37069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37070 echo "$as_me:$LINENO: checking for $ac_func" >&5
37071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37072 if eval "test \"\${$as_ac_var+set}\" = set"; then
37073 echo $ECHO_N "(cached) $ECHO_C" >&6
37074 else
37075 cat >conftest.$ac_ext <<_ACEOF
37076 /* confdefs.h. */
37077 _ACEOF
37078 cat confdefs.h >>conftest.$ac_ext
37079 cat >>conftest.$ac_ext <<_ACEOF
37080 /* end confdefs.h. */
37081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37083 #define $ac_func innocuous_$ac_func
37084
37085 /* System header to define __stub macros and hopefully few prototypes,
37086 which can conflict with char $ac_func (); below.
37087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37088 <limits.h> exists even on freestanding compilers. */
37089
37090 #ifdef __STDC__
37091 # include <limits.h>
37092 #else
37093 # include <assert.h>
37094 #endif
37095
37096 #undef $ac_func
37097
37098 /* Override any gcc2 internal prototype to avoid an error. */
37099 #ifdef __cplusplus
37100 extern "C"
37101 {
37102 #endif
37103 /* We use char because int might match the return type of a gcc2
37104 builtin and then its argument prototype would still apply. */
37105 char $ac_func ();
37106 /* The GNU C library defines this for functions which it implements
37107 to always fail with ENOSYS. Some functions are actually named
37108 something starting with __ and the normal name is an alias. */
37109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37110 choke me
37111 #else
37112 char (*f) () = $ac_func;
37113 #endif
37114 #ifdef __cplusplus
37115 }
37116 #endif
37117
37118 int
37119 main ()
37120 {
37121 return f != $ac_func;
37122 ;
37123 return 0;
37124 }
37125 _ACEOF
37126 rm -f conftest.$ac_objext conftest$ac_exeext
37127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37128 (eval $ac_link) 2>conftest.er1
37129 ac_status=$?
37130 grep -v '^ *+' conftest.er1 >conftest.err
37131 rm -f conftest.er1
37132 cat conftest.err >&5
37133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37134 (exit $ac_status); } &&
37135 { ac_try='test -z "$ac_c_werror_flag"
37136 || test ! -s conftest.err'
37137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37138 (eval $ac_try) 2>&5
37139 ac_status=$?
37140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37141 (exit $ac_status); }; } &&
37142 { ac_try='test -s conftest$ac_exeext'
37143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37144 (eval $ac_try) 2>&5
37145 ac_status=$?
37146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37147 (exit $ac_status); }; }; then
37148 eval "$as_ac_var=yes"
37149 else
37150 echo "$as_me: failed program was:" >&5
37151 sed 's/^/| /' conftest.$ac_ext >&5
37152
37153 eval "$as_ac_var=no"
37154 fi
37155 rm -f conftest.err conftest.$ac_objext \
37156 conftest$ac_exeext conftest.$ac_ext
37157 fi
37158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37160 if test `eval echo '${'$as_ac_var'}'` = yes; then
37161 cat >>confdefs.h <<_ACEOF
37162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37163 _ACEOF
37164 have_ceil=1
37165 fi
37166 done
37167
37168 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37169 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37170 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37171 echo "$as_me:$LINENO: result: yes" >&5
37172 echo "${ECHO_T}yes" >&6
37173 else
37174 echo "$as_me:$LINENO: result: no" >&5
37175 echo "${ECHO_T}no" >&6
37176 # not sure we should warn the user, crash, etc.
37177 fi
37178 fi
37179
37180 if test "$wxUSE_GUI" = "yes"; then
37181
37182
37183 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
37184 drawing dynamic erase event exec font image \
37185 minimal propsize rotate shaped widgets render"
37186
37187 if test "$wxUSE_MONOLITHIC" != "yes"; then
37188 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37189 fi
37190 else
37191 SAMPLES_SUBDIRS="console"
37192 fi
37193
37194
37195 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
37196 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37197
37198 if test "$GXX" = yes ; then
37199 CXXWARNINGS="-Wall"
37200 fi
37201
37202 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37203
37204 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
37205 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
37206 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
37207
37208
37209 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
37210 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37211 EXTRALIBS_XML="$EXPAT_LINK"
37212 EXTRALIBS_HTML="$MSPACK_LINK"
37213 EXTRALIBS_ODBC="$ODBC_LINK"
37214 if test "$wxUSE_GUI" = "yes"; then
37215 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
37216 fi
37217 if test "$wxUSE_OPENGL" = "yes"; then
37218 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
37219 fi
37220
37221 LDFLAGS="$LDFLAGS $PROFILE"
37222
37223 if test "$wxUSE_GTK" = 1; then
37224 WXCONFIG_INCLUDE=
37225 else
37226 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
37227 fi
37228
37229 WXCONFIG_EXTRALIBS="$LIBS"
37230
37231 if test "$wxUSE_REGEX" = "builtin" ; then
37232 wxconfig_3rdparty="$wxconfig_3rdparty regex"
37233 fi
37234 if test "$wxUSE_EXPAT" = "builtin" ; then
37235 wxconfig_3rdparty="$wxconfig_3rdparty expat"
37236 fi
37237 if test "$wxUSE_ODBC" = "builtin" ; then
37238 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
37239 fi
37240 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37241 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
37242 fi
37243 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37244 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
37245 fi
37246 if test "$wxUSE_LIBPNG" = "builtin" ; then
37247 wxconfig_3rdparty="$wxconfig_3rdparty png"
37248 fi
37249 if test "$wxUSE_ZLIB" = "builtin" ; then
37250 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
37251 fi
37252 if test "$wxUSE_ODBC" = "builtin" ; then
37253 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
37254 fi
37255
37256 for i in $wxconfig_3rdparty ; do
37257 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
37258 done
37259
37260
37261 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37262 WXUNIV=1
37263 else
37264 WXUNIV=0
37265 fi
37266
37267
37268
37269
37270
37271
37272
37273
37274
37275 if test $wxUSE_MONOLITHIC = "yes" ; then
37276 MONOLITHIC=1
37277 else
37278 MONOLITHIC=0
37279 fi
37280
37281 if test $wxUSE_PLUGINS = "yes" ; then
37282 USE_PLUGINS=1
37283 else
37284 USE_PLUGINS=0
37285 fi
37286
37287 if test $wxUSE_ODBC != "no" ; then
37288 USE_ODBC=1
37289 else
37290 USE_ODBC=0
37291 fi
37292
37293 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37294 OFFICIAL_BUILD=1
37295 else
37296 OFFICIAL_BUILD=0
37297 fi
37298
37299
37300
37301
37302
37303
37304
37305
37306
37307
37308
37309
37310
37311
37312
37313
37314
37315
37316
37317
37318
37319 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
37320
37321
37322
37323
37324
37325
37326
37327 if test "x$BAKEFILE_HOST" = "x"; then
37328 BAKEFILE_HOST="${host}"
37329 fi
37330
37331 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37332
37333 if test -n "$ac_tool_prefix"; then
37334 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37335 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
37336 echo "$as_me:$LINENO: checking for $ac_word" >&5
37337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37338 if test "${ac_cv_prog_RANLIB+set}" = set; then
37339 echo $ECHO_N "(cached) $ECHO_C" >&6
37340 else
37341 if test -n "$RANLIB"; then
37342 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
37343 else
37344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37345 for as_dir in $PATH
37346 do
37347 IFS=$as_save_IFS
37348 test -z "$as_dir" && as_dir=.
37349 for ac_exec_ext in '' $ac_executable_extensions; do
37350 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37351 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
37352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37353 break 2
37354 fi
37355 done
37356 done
37357
37358 fi
37359 fi
37360 RANLIB=$ac_cv_prog_RANLIB
37361 if test -n "$RANLIB"; then
37362 echo "$as_me:$LINENO: result: $RANLIB" >&5
37363 echo "${ECHO_T}$RANLIB" >&6
37364 else
37365 echo "$as_me:$LINENO: result: no" >&5
37366 echo "${ECHO_T}no" >&6
37367 fi
37368
37369 fi
37370 if test -z "$ac_cv_prog_RANLIB"; then
37371 ac_ct_RANLIB=$RANLIB
37372 # Extract the first word of "ranlib", so it can be a program name with args.
37373 set dummy ranlib; ac_word=$2
37374 echo "$as_me:$LINENO: checking for $ac_word" >&5
37375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37376 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
37377 echo $ECHO_N "(cached) $ECHO_C" >&6
37378 else
37379 if test -n "$ac_ct_RANLIB"; then
37380 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
37381 else
37382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37383 for as_dir in $PATH
37384 do
37385 IFS=$as_save_IFS
37386 test -z "$as_dir" && as_dir=.
37387 for ac_exec_ext in '' $ac_executable_extensions; do
37388 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37389 ac_cv_prog_ac_ct_RANLIB="ranlib"
37390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37391 break 2
37392 fi
37393 done
37394 done
37395
37396 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
37397 fi
37398 fi
37399 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
37400 if test -n "$ac_ct_RANLIB"; then
37401 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
37402 echo "${ECHO_T}$ac_ct_RANLIB" >&6
37403 else
37404 echo "$as_me:$LINENO: result: no" >&5
37405 echo "${ECHO_T}no" >&6
37406 fi
37407
37408 RANLIB=$ac_ct_RANLIB
37409 else
37410 RANLIB="$ac_cv_prog_RANLIB"
37411 fi
37412
37413 # Find a good install program. We prefer a C program (faster),
37414 # so one script is as good as another. But avoid the broken or
37415 # incompatible versions:
37416 # SysV /etc/install, /usr/sbin/install
37417 # SunOS /usr/etc/install
37418 # IRIX /sbin/install
37419 # AIX /bin/install
37420 # AmigaOS /C/install, which installs bootblocks on floppy discs
37421 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37422 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37423 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37424 # OS/2's system install, which has a completely different semantic
37425 # ./install, which can be erroneously created by make from ./install.sh.
37426 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
37427 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
37428 if test -z "$INSTALL"; then
37429 if test "${ac_cv_path_install+set}" = set; then
37430 echo $ECHO_N "(cached) $ECHO_C" >&6
37431 else
37432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37433 for as_dir in $PATH
37434 do
37435 IFS=$as_save_IFS
37436 test -z "$as_dir" && as_dir=.
37437 # Account for people who put trailing slashes in PATH elements.
37438 case $as_dir/ in
37439 ./ | .// | /cC/* | \
37440 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
37441 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
37442 /usr/ucb/* ) ;;
37443 *)
37444 # OSF1 and SCO ODT 3.0 have their own names for install.
37445 # Don't use installbsd from OSF since it installs stuff as root
37446 # by default.
37447 for ac_prog in ginstall scoinst install; do
37448 for ac_exec_ext in '' $ac_executable_extensions; do
37449 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
37450 if test $ac_prog = install &&
37451 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37452 # AIX install. It has an incompatible calling convention.
37453 :
37454 elif test $ac_prog = install &&
37455 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37456 # program-specific install script used by HP pwplus--don't use.
37457 :
37458 else
37459 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
37460 break 3
37461 fi
37462 fi
37463 done
37464 done
37465 ;;
37466 esac
37467 done
37468
37469
37470 fi
37471 if test "${ac_cv_path_install+set}" = set; then
37472 INSTALL=$ac_cv_path_install
37473 else
37474 # As a last resort, use the slow shell script. We don't cache a
37475 # path for INSTALL within a source directory, because that will
37476 # break other packages using the cache if that directory is
37477 # removed, or if the path is relative.
37478 INSTALL=$ac_install_sh
37479 fi
37480 fi
37481 echo "$as_me:$LINENO: result: $INSTALL" >&5
37482 echo "${ECHO_T}$INSTALL" >&6
37483
37484 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37485 # It thinks the first close brace ends the variable substitution.
37486 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
37487
37488 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
37489
37490 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
37491
37492 echo "$as_me:$LINENO: checking whether ln -s works" >&5
37493 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
37494 LN_S=$as_ln_s
37495 if test "$LN_S" = "ln -s"; then
37496 echo "$as_me:$LINENO: result: yes" >&5
37497 echo "${ECHO_T}yes" >&6
37498 else
37499 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
37500 echo "${ECHO_T}no, using $LN_S" >&6
37501 fi
37502
37503
37504 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37505 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
37506 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
37507 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
37508 echo $ECHO_N "(cached) $ECHO_C" >&6
37509 else
37510 cat >conftest.make <<\_ACEOF
37511 all:
37512 @echo 'ac_maketemp="$(MAKE)"'
37513 _ACEOF
37514 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
37515 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
37516 if test -n "$ac_maketemp"; then
37517 eval ac_cv_prog_make_${ac_make}_set=yes
37518 else
37519 eval ac_cv_prog_make_${ac_make}_set=no
37520 fi
37521 rm -f conftest.make
37522 fi
37523 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
37524 echo "$as_me:$LINENO: result: yes" >&5
37525 echo "${ECHO_T}yes" >&6
37526 SET_MAKE=
37527 else
37528 echo "$as_me:$LINENO: result: no" >&5
37529 echo "${ECHO_T}no" >&6
37530 SET_MAKE="MAKE=${MAKE-make}"
37531 fi
37532
37533
37534
37535 if test -n "$ac_tool_prefix"; then
37536 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
37537 set dummy ${ac_tool_prefix}ar; ac_word=$2
37538 echo "$as_me:$LINENO: checking for $ac_word" >&5
37539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37540 if test "${ac_cv_prog_AR+set}" = set; then
37541 echo $ECHO_N "(cached) $ECHO_C" >&6
37542 else
37543 if test -n "$AR"; then
37544 ac_cv_prog_AR="$AR" # Let the user override the test.
37545 else
37546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37547 for as_dir in $PATH
37548 do
37549 IFS=$as_save_IFS
37550 test -z "$as_dir" && as_dir=.
37551 for ac_exec_ext in '' $ac_executable_extensions; do
37552 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37553 ac_cv_prog_AR="${ac_tool_prefix}ar"
37554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37555 break 2
37556 fi
37557 done
37558 done
37559
37560 fi
37561 fi
37562 AR=$ac_cv_prog_AR
37563 if test -n "$AR"; then
37564 echo "$as_me:$LINENO: result: $AR" >&5
37565 echo "${ECHO_T}$AR" >&6
37566 else
37567 echo "$as_me:$LINENO: result: no" >&5
37568 echo "${ECHO_T}no" >&6
37569 fi
37570
37571 fi
37572 if test -z "$ac_cv_prog_AR"; then
37573 ac_ct_AR=$AR
37574 # Extract the first word of "ar", so it can be a program name with args.
37575 set dummy ar; ac_word=$2
37576 echo "$as_me:$LINENO: checking for $ac_word" >&5
37577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37578 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
37579 echo $ECHO_N "(cached) $ECHO_C" >&6
37580 else
37581 if test -n "$ac_ct_AR"; then
37582 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
37583 else
37584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37585 for as_dir in $PATH
37586 do
37587 IFS=$as_save_IFS
37588 test -z "$as_dir" && as_dir=.
37589 for ac_exec_ext in '' $ac_executable_extensions; do
37590 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37591 ac_cv_prog_ac_ct_AR="ar"
37592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37593 break 2
37594 fi
37595 done
37596 done
37597
37598 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
37599 fi
37600 fi
37601 ac_ct_AR=$ac_cv_prog_ac_ct_AR
37602 if test -n "$ac_ct_AR"; then
37603 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
37604 echo "${ECHO_T}$ac_ct_AR" >&6
37605 else
37606 echo "$as_me:$LINENO: result: no" >&5
37607 echo "${ECHO_T}no" >&6
37608 fi
37609
37610 AR=$ac_ct_AR
37611 else
37612 AR="$ac_cv_prog_AR"
37613 fi
37614
37615 if test -n "$ac_tool_prefix"; then
37616 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
37617 set dummy ${ac_tool_prefix}strip; ac_word=$2
37618 echo "$as_me:$LINENO: checking for $ac_word" >&5
37619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37620 if test "${ac_cv_prog_STRIP+set}" = set; then
37621 echo $ECHO_N "(cached) $ECHO_C" >&6
37622 else
37623 if test -n "$STRIP"; then
37624 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
37625 else
37626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37627 for as_dir in $PATH
37628 do
37629 IFS=$as_save_IFS
37630 test -z "$as_dir" && as_dir=.
37631 for ac_exec_ext in '' $ac_executable_extensions; do
37632 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37633 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
37634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37635 break 2
37636 fi
37637 done
37638 done
37639
37640 fi
37641 fi
37642 STRIP=$ac_cv_prog_STRIP
37643 if test -n "$STRIP"; then
37644 echo "$as_me:$LINENO: result: $STRIP" >&5
37645 echo "${ECHO_T}$STRIP" >&6
37646 else
37647 echo "$as_me:$LINENO: result: no" >&5
37648 echo "${ECHO_T}no" >&6
37649 fi
37650
37651 fi
37652 if test -z "$ac_cv_prog_STRIP"; then
37653 ac_ct_STRIP=$STRIP
37654 # Extract the first word of "strip", so it can be a program name with args.
37655 set dummy strip; ac_word=$2
37656 echo "$as_me:$LINENO: checking for $ac_word" >&5
37657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37658 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
37659 echo $ECHO_N "(cached) $ECHO_C" >&6
37660 else
37661 if test -n "$ac_ct_STRIP"; then
37662 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
37663 else
37664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37665 for as_dir in $PATH
37666 do
37667 IFS=$as_save_IFS
37668 test -z "$as_dir" && as_dir=.
37669 for ac_exec_ext in '' $ac_executable_extensions; do
37670 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37671 ac_cv_prog_ac_ct_STRIP="strip"
37672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37673 break 2
37674 fi
37675 done
37676 done
37677
37678 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
37679 fi
37680 fi
37681 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
37682 if test -n "$ac_ct_STRIP"; then
37683 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
37684 echo "${ECHO_T}$ac_ct_STRIP" >&6
37685 else
37686 echo "$as_me:$LINENO: result: no" >&5
37687 echo "${ECHO_T}no" >&6
37688 fi
37689
37690 STRIP=$ac_ct_STRIP
37691 else
37692 STRIP="$ac_cv_prog_STRIP"
37693 fi
37694
37695 if test -n "$ac_tool_prefix"; then
37696 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
37697 set dummy ${ac_tool_prefix}nm; ac_word=$2
37698 echo "$as_me:$LINENO: checking for $ac_word" >&5
37699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37700 if test "${ac_cv_prog_NM+set}" = set; then
37701 echo $ECHO_N "(cached) $ECHO_C" >&6
37702 else
37703 if test -n "$NM"; then
37704 ac_cv_prog_NM="$NM" # Let the user override the test.
37705 else
37706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37707 for as_dir in $PATH
37708 do
37709 IFS=$as_save_IFS
37710 test -z "$as_dir" && as_dir=.
37711 for ac_exec_ext in '' $ac_executable_extensions; do
37712 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37713 ac_cv_prog_NM="${ac_tool_prefix}nm"
37714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37715 break 2
37716 fi
37717 done
37718 done
37719
37720 fi
37721 fi
37722 NM=$ac_cv_prog_NM
37723 if test -n "$NM"; then
37724 echo "$as_me:$LINENO: result: $NM" >&5
37725 echo "${ECHO_T}$NM" >&6
37726 else
37727 echo "$as_me:$LINENO: result: no" >&5
37728 echo "${ECHO_T}no" >&6
37729 fi
37730
37731 fi
37732 if test -z "$ac_cv_prog_NM"; then
37733 ac_ct_NM=$NM
37734 # Extract the first word of "nm", so it can be a program name with args.
37735 set dummy nm; ac_word=$2
37736 echo "$as_me:$LINENO: checking for $ac_word" >&5
37737 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37738 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
37739 echo $ECHO_N "(cached) $ECHO_C" >&6
37740 else
37741 if test -n "$ac_ct_NM"; then
37742 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
37743 else
37744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37745 for as_dir in $PATH
37746 do
37747 IFS=$as_save_IFS
37748 test -z "$as_dir" && as_dir=.
37749 for ac_exec_ext in '' $ac_executable_extensions; do
37750 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37751 ac_cv_prog_ac_ct_NM="nm"
37752 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37753 break 2
37754 fi
37755 done
37756 done
37757
37758 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
37759 fi
37760 fi
37761 ac_ct_NM=$ac_cv_prog_ac_ct_NM
37762 if test -n "$ac_ct_NM"; then
37763 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
37764 echo "${ECHO_T}$ac_ct_NM" >&6
37765 else
37766 echo "$as_me:$LINENO: result: no" >&5
37767 echo "${ECHO_T}no" >&6
37768 fi
37769
37770 NM=$ac_ct_NM
37771 else
37772 NM="$ac_cv_prog_NM"
37773 fi
37774
37775
37776 case ${BAKEFILE_HOST} in
37777 *-hp-hpux* )
37778 INSTALL_DIR="mkdir"
37779 ;;
37780 *) INSTALL_DIR="$INSTALL -d"
37781 ;;
37782 esac
37783
37784
37785 LDFLAGS_GUI=
37786 case ${BAKEFILE_HOST} in
37787 *-*-cygwin* | *-*-mingw32* )
37788 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
37789 esac
37790
37791
37792 fi
37793
37794 echo "$as_me:$LINENO: checking if make is GNU make" >&5
37795 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
37796 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
37797 echo $ECHO_N "(cached) $ECHO_C" >&6
37798 else
37799
37800 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
37801 egrep -s GNU > /dev/null); then
37802 bakefile_cv_prog_makeisgnu="yes"
37803 else
37804 bakefile_cv_prog_makeisgnu="no"
37805 fi
37806
37807 fi
37808 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
37809 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
37810
37811 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
37812 IF_GNU_MAKE=""
37813 else
37814 IF_GNU_MAKE="#"
37815 fi
37816
37817
37818
37819 PLATFORM_UNIX=0
37820 PLATFORM_WIN32=0
37821 PLATFORM_MSDOS=0
37822 PLATFORM_MAC=0
37823 PLATFORM_MACOSX=0
37824 PLATFORM_OS2=0
37825
37826 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
37827 case "${BAKEFILE_HOST}" in
37828 *-*-cygwin* | *-*-mingw32* )
37829 PLATFORM_WIN32=1
37830 ;;
37831 *-pc-msdosdjgpp )
37832 PLATFORM_MSDOS=1
37833 ;;
37834 *-pc-os2_emx | *-pc-os2-emx )
37835 PLATFORM_OS2=1
37836 ;;
37837 powerpc-*-darwin* )
37838 PLATFORM_MAC=1
37839 PLATFORM_MACOSX=1
37840 ;;
37841 * )
37842 PLATFORM_UNIX=1
37843 ;;
37844 esac
37845 else
37846 case "$BAKEFILE_FORCE_PLATFORM" in
37847 win32 )
37848 PLATFORM_WIN32=1
37849 ;;
37850 msdos )
37851 PLATFORM_MSDOS=1
37852 ;;
37853 os2 )
37854 PLATFORM_OS2=1
37855 ;;
37856 darwin )
37857 PLATFORM_MAC=1
37858 PLATFORM_MACOSX=1
37859 ;;
37860 unix )
37861 PLATFORM_UNIX=1
37862 ;;
37863 * )
37864 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
37865 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
37866 { (exit 1); exit 1; }; }
37867 ;;
37868 esac
37869 fi
37870
37871
37872
37873
37874
37875
37876
37877
37878
37879 SO_SUFFIX="so"
37880 SO_SUFFIX_MODULE="so"
37881 EXEEXT=""
37882 LIBPREFIX=lib
37883 DLLPREFIX=lib
37884 DLLPREFIX_MODULE=
37885
37886 case "${BAKEFILE_HOST}" in
37887 *-hp-hpux* )
37888 SO_SUFFIX="sl"
37889 SO_SUFFIX_MODULE="sl"
37890 ;;
37891 *-*-aix* )
37892 SO_SUFFIX="a"
37893 SO_SUFFIX_MODULE="a"
37894 ;;
37895 *-*-cygwin* | *-*-mingw32* )
37896 SO_SUFFIX="dll"
37897 SO_SUFFIX_MODULE="dll"
37898 EXEEXT=".exe"
37899 DLLPREFIX=""
37900 ;;
37901 *-pc-msdosdjgpp )
37902 EXEEXT=".exe"
37903 DLLPREFIX=""
37904 ;;
37905 *-pc-os2_emx | *-pc-os2-emx )
37906 EXEEXT=".exe"
37907 DLLPREFIX=""
37908 LIBPREFIX=""
37909 ;;
37910 powerpc-*-darwin* )
37911 SO_SUFFIX="dylib"
37912 SO_SUFFIX_MODULE="bundle"
37913 ;;
37914 esac
37915
37916
37917
37918
37919
37920
37921
37922
37923
37924 SHARED_LD_CC="\$(CC) -shared -o"
37925 SHARED_LD_CXX="\$(CXX) -shared -o"
37926
37927 if test "x$GCC" = "xyes"; then
37928 PIC_FLAG="-fPIC"
37929 fi
37930
37931 case "${BAKEFILE_HOST}" in
37932 *-hp-hpux* )
37933 if test "x$GCC" = "xyes"; then
37934 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
37935 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
37936 else
37937 LDFLAGS="$LDFLAGS -L/usr/lib"
37938
37939 SHARED_LD_CC="${CC} -b -o"
37940 SHARED_LD_CXX="${CXX} -b -o"
37941 PIC_FLAG="+Z"
37942 fi
37943 ;;
37944
37945 *-*-linux* )
37946 if test "x$GCC" != "xyes"; then
37947 echo "$as_me:$LINENO: checking for Intel compiler" >&5
37948 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
37949 if test "${bakefile_cv_prog_icc+set}" = set; then
37950 echo $ECHO_N "(cached) $ECHO_C" >&6
37951 else
37952
37953 cat >conftest.$ac_ext <<_ACEOF
37954 /* confdefs.h. */
37955 _ACEOF
37956 cat confdefs.h >>conftest.$ac_ext
37957 cat >>conftest.$ac_ext <<_ACEOF
37958 /* end confdefs.h. */
37959
37960 int
37961 main ()
37962 {
37963
37964 #ifndef __INTEL_COMPILER
37965 #error Not icc
37966 #endif
37967
37968 ;
37969 return 0;
37970 }
37971 _ACEOF
37972 rm -f conftest.$ac_objext
37973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37974 (eval $ac_compile) 2>conftest.er1
37975 ac_status=$?
37976 grep -v '^ *+' conftest.er1 >conftest.err
37977 rm -f conftest.er1
37978 cat conftest.err >&5
37979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37980 (exit $ac_status); } &&
37981 { ac_try='test -z "$ac_c_werror_flag"
37982 || test ! -s conftest.err'
37983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37984 (eval $ac_try) 2>&5
37985 ac_status=$?
37986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37987 (exit $ac_status); }; } &&
37988 { ac_try='test -s conftest.$ac_objext'
37989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37990 (eval $ac_try) 2>&5
37991 ac_status=$?
37992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37993 (exit $ac_status); }; }; then
37994 bakefile_cv_prog_icc=yes
37995 else
37996 echo "$as_me: failed program was:" >&5
37997 sed 's/^/| /' conftest.$ac_ext >&5
37998
37999 bakefile_cv_prog_icc=no
38000
38001 fi
38002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38003
38004 fi
38005 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38006 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38007 if test "$bakefile_cv_prog_icc" = "yes"; then
38008 PIC_FLAG="-KPIC"
38009 fi
38010 fi
38011 ;;
38012
38013 *-*-solaris2* )
38014 if test "x$GCC" != xyes ; then
38015 SHARED_LD_CC="${CC} -G -o"
38016 SHARED_LD_CXX="${CXX} -G -o"
38017 PIC_FLAG="-KPIC"
38018 fi
38019 ;;
38020
38021 *-*-darwin* )
38022 CFLAGS="$CFLAGS -fno-common"
38023 CXXFLAGS="$CXXFLAGS -fno-common"
38024
38025
38026 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38027 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38028 if test "${wx_cv_gcc31+set}" = set; then
38029 echo $ECHO_N "(cached) $ECHO_C" >&6
38030 else
38031
38032 cat >conftest.$ac_ext <<_ACEOF
38033 /* confdefs.h. */
38034 _ACEOF
38035 cat confdefs.h >>conftest.$ac_ext
38036 cat >>conftest.$ac_ext <<_ACEOF
38037 /* end confdefs.h. */
38038
38039 int
38040 main ()
38041 {
38042
38043 #if (__GNUC__ < 3) || \
38044 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38045 #error old gcc
38046 #endif
38047
38048 ;
38049 return 0;
38050 }
38051 _ACEOF
38052 rm -f conftest.$ac_objext
38053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38054 (eval $ac_compile) 2>conftest.er1
38055 ac_status=$?
38056 grep -v '^ *+' conftest.er1 >conftest.err
38057 rm -f conftest.er1
38058 cat conftest.err >&5
38059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38060 (exit $ac_status); } &&
38061 { ac_try='test -z "$ac_c_werror_flag"
38062 || test ! -s conftest.err'
38063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38064 (eval $ac_try) 2>&5
38065 ac_status=$?
38066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38067 (exit $ac_status); }; } &&
38068 { ac_try='test -s conftest.$ac_objext'
38069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38070 (eval $ac_try) 2>&5
38071 ac_status=$?
38072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38073 (exit $ac_status); }; }; then
38074
38075 wx_cv_gcc31=yes
38076
38077 else
38078 echo "$as_me: failed program was:" >&5
38079 sed 's/^/| /' conftest.$ac_ext >&5
38080
38081
38082 wx_cv_gcc31=no
38083
38084
38085 fi
38086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38087
38088 fi
38089 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38090 echo "${ECHO_T}$wx_cv_gcc31" >&6
38091 if test "$wx_cv_gcc31" = "no"; then
38092 cat <<EOF >shared-ld-sh
38093 #!/bin/sh
38094 #-----------------------------------------------------------------------------
38095 #-- Name: distrib/mac/shared-ld-sh
38096 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38097 #-- Author: Gilles Depeyrot
38098 #-- Copyright: (c) 2002 Gilles Depeyrot
38099 #-- Licence: any use permitted
38100 #-----------------------------------------------------------------------------
38101
38102 verbose=0
38103 args=""
38104 objects=""
38105 linking_flag="-dynamiclib"
38106
38107 while test \${#} -gt 0; do
38108 case \${1} in
38109
38110 -v)
38111 verbose=1
38112 ;;
38113
38114 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38115 # collect these options and values
38116 args="\${args} \${1} \${2}"
38117 shift
38118 ;;
38119
38120 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38121 # collect these options
38122 args="\${args} \${1}"
38123 ;;
38124
38125 -dynamiclib|-bundle)
38126 linking_flag="\${1}"
38127 ;;
38128
38129 -*)
38130 echo "shared-ld: unhandled option '\${1}'"
38131 exit 1
38132 ;;
38133
38134 *.o | *.a | *.dylib)
38135 # collect object files
38136 objects="\${objects} \${1}"
38137 ;;
38138
38139 *)
38140 echo "shared-ld: unhandled argument '\${1}'"
38141 exit 1
38142 ;;
38143
38144 esac
38145 shift
38146 done
38147
38148 #
38149 # Link one module containing all the others
38150 #
38151 if test \${verbose} = 1; then
38152 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
38153 fi
38154 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
38155 status=\$?
38156 if test \${status} != 0; then
38157 exit \${status}
38158 fi
38159
38160 #
38161 # Link the shared library from the single module created
38162 #
38163 if test \${verbose} = 1; then
38164 echo "cc \${linking_flag} master.\$\$.o \${args}"
38165 fi
38166 c++ \${linking_flag} master.\$\$.o \${args}
38167 status=\$?
38168 if test \${status} != 0; then
38169 exit \${status}
38170 fi
38171
38172 #
38173 # Remove intermediate module
38174 #
38175 rm -f master.\$\$.o
38176
38177 exit 0
38178 EOF
38179 chmod +x shared-ld-sh
38180
38181 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38182 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38183 SHARED_LD_CXX="$SHARED_LD_CC"
38184 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
38185 else
38186 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38187 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
38188 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38189 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
38190 fi
38191
38192 PIC_FLAG="-dynamic -fPIC"
38193 ;;
38194
38195 *-*-aix* )
38196 if test "x$GCC" != "xyes"; then
38197 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38198 set dummy makeC++SharedLib; ac_word=$2
38199 echo "$as_me:$LINENO: checking for $ac_word" >&5
38200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38201 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
38202 echo $ECHO_N "(cached) $ECHO_C" >&6
38203 else
38204 if test -n "$AIX_CXX_LD"; then
38205 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
38206 else
38207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38208 for as_dir in $PATH
38209 do
38210 IFS=$as_save_IFS
38211 test -z "$as_dir" && as_dir=.
38212 for ac_exec_ext in '' $ac_executable_extensions; do
38213 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38214 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
38215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38216 break 2
38217 fi
38218 done
38219 done
38220
38221 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
38222 fi
38223 fi
38224 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
38225 if test -n "$AIX_CXX_LD"; then
38226 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
38227 echo "${ECHO_T}$AIX_CXX_LD" >&6
38228 else
38229 echo "$as_me:$LINENO: result: no" >&5
38230 echo "${ECHO_T}no" >&6
38231 fi
38232
38233 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
38234 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
38235 fi
38236 ;;
38237
38238 *-*-beos* )
38239 SHARED_LD_CC="${LD} -shared -o"
38240 SHARED_LD_CXX="${LD} -shared -o"
38241 ;;
38242
38243 *-*-irix* )
38244 if test "x$GCC" != "xyes"; then
38245 PIC_FLAG="-KPIC"
38246 fi
38247 ;;
38248
38249 *-*-cygwin* | *-*-mingw32* )
38250 PIC_FLAG=""
38251 ;;
38252
38253 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
38254 *-*-sunos4* | \
38255 *-*-osf* | \
38256 *-*-dgux5* | \
38257 *-pc-os2_emx | *-pc-os2-emx | \
38258 *-*-sysv5* )
38259 ;;
38260
38261 *)
38262 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
38263 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
38264 { (exit 1); exit 1; }; }
38265 esac
38266
38267 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
38268 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
38269 fi
38270 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
38271 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
38272 fi
38273
38274
38275
38276
38277
38278
38279
38280
38281 USE_SOVERSION=0
38282 USE_SOVERLINUX=0
38283 USE_SOVERSOLARIS=0
38284 USE_SOSYMLINKS=0
38285 USE_MACVERSION=0
38286 SONAME_FLAG=
38287
38288 case "${BAKEFILE_HOST}" in
38289 *-*-linux* )
38290 SONAME_FLAG="-Wl,-soname,"
38291 USE_SOVERSION=1
38292 USE_SOVERLINUX=1
38293 USE_SOSYMLINKS=1
38294 ;;
38295
38296 *-*-solaris2* )
38297 SONAME_FLAG="-h "
38298 USE_SOVERSION=1
38299 USE_SOVERSOLARIS=1
38300 USE_SOSYMLINKS=1
38301 ;;
38302
38303 *-*-darwin* )
38304 USE_MACVERSION=1
38305 USE_SOVERSION=1
38306 USE_SOSYMLINKS=1
38307 ;;
38308 esac
38309
38310
38311
38312
38313
38314
38315
38316
38317
38318 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
38319 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
38320 DEPS_TRACKING=0
38321
38322 if test "x$GCC" = "xyes"; then
38323 DEPSMODE=gcc
38324 DEPS_TRACKING=1
38325 case "${BAKEFILE_HOST}" in
38326 powerpc-*-darwin* )
38327 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
38328 ;;
38329 * )
38330 DEPSFLAG_GCC="-MMD"
38331 ;;
38332 esac
38333 echo "$as_me:$LINENO: result: gcc" >&5
38334 echo "${ECHO_T}gcc" >&6
38335 else
38336 echo "$as_me:$LINENO: result: none" >&5
38337 echo "${ECHO_T}none" >&6
38338 fi
38339
38340 if test $DEPS_TRACKING = 1 ; then
38341 cat <<EOF >bk-deps
38342 #!/bin/sh
38343
38344 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
38345 # script. It is used to track C/C++ files dependencies in portable way.
38346 #
38347 # Permission is given to use this file in any way.
38348
38349 DEPSMODE=$DEPSMODE
38350 DEPSDIR=.deps
38351 DEPSFLAG_GCC="$DEPSFLAG_GCC"
38352
38353 mkdir -p \$DEPSDIR
38354
38355 if test \$DEPSMODE = gcc ; then
38356 \${*} \${DEPSFLAG_GCC}
38357 status=\${?}
38358 if test \${status} != 0 ; then
38359 exit \${status}
38360 fi
38361 # move created file to the location we want it in:
38362 while test \${#} -gt 0; do
38363 case "\${1}" in
38364 -o )
38365 shift
38366 objfile=\${1}
38367 ;;
38368 -* )
38369 ;;
38370 * )
38371 srcfile=\${1}
38372 ;;
38373 esac
38374 shift
38375 done
38376 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
38377 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
38378 if test -f \$depfile ; then
38379 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
38380 rm -f \$depfile
38381 else
38382 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
38383 if test -f \$depfile ; then
38384 sed -e "/^\$objfile/!s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
38385 rm -f \$depfile
38386 fi
38387 fi
38388 exit 0
38389 else
38390 \${*}
38391 exit \${?}
38392 fi
38393 EOF
38394 chmod +x bk-deps
38395 fi
38396
38397
38398
38399
38400 RESCOMP=
38401 SETFILE=
38402
38403 case ${BAKEFILE_HOST} in
38404 *-*-cygwin* | *-*-mingw32* )
38405 if test "$build" != "$host" ; then
38406 RESCOMP=$host_alias-windres
38407 else
38408 # Extract the first word of "windres", so it can be a program name with args.
38409 set dummy windres; ac_word=$2
38410 echo "$as_me:$LINENO: checking for $ac_word" >&5
38411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38412 if test "${ac_cv_prog_RESCOMP+set}" = set; then
38413 echo $ECHO_N "(cached) $ECHO_C" >&6
38414 else
38415 if test -n "$RESCOMP"; then
38416 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
38417 else
38418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38419 for as_dir in $PATH
38420 do
38421 IFS=$as_save_IFS
38422 test -z "$as_dir" && as_dir=.
38423 for ac_exec_ext in '' $ac_executable_extensions; do
38424 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38425 ac_cv_prog_RESCOMP="windres"
38426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38427 break 2
38428 fi
38429 done
38430 done
38431
38432 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
38433 fi
38434 fi
38435 RESCOMP=$ac_cv_prog_RESCOMP
38436 if test -n "$RESCOMP"; then
38437 echo "$as_me:$LINENO: result: $RESCOMP" >&5
38438 echo "${ECHO_T}$RESCOMP" >&6
38439 else
38440 echo "$as_me:$LINENO: result: no" >&5
38441 echo "${ECHO_T}no" >&6
38442 fi
38443
38444 fi
38445 ;;
38446
38447 *-*-darwin* )
38448 # Extract the first word of "Rez", so it can be a program name with args.
38449 set dummy Rez; ac_word=$2
38450 echo "$as_me:$LINENO: checking for $ac_word" >&5
38451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38452 if test "${ac_cv_prog_RESCOMP+set}" = set; then
38453 echo $ECHO_N "(cached) $ECHO_C" >&6
38454 else
38455 if test -n "$RESCOMP"; then
38456 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
38457 else
38458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38459 for as_dir in $PATH
38460 do
38461 IFS=$as_save_IFS
38462 test -z "$as_dir" && as_dir=.
38463 for ac_exec_ext in '' $ac_executable_extensions; do
38464 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38465 ac_cv_prog_RESCOMP="Rez"
38466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38467 break 2
38468 fi
38469 done
38470 done
38471
38472 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
38473 fi
38474 fi
38475 RESCOMP=$ac_cv_prog_RESCOMP
38476 if test -n "$RESCOMP"; then
38477 echo "$as_me:$LINENO: result: $RESCOMP" >&5
38478 echo "${ECHO_T}$RESCOMP" >&6
38479 else
38480 echo "$as_me:$LINENO: result: no" >&5
38481 echo "${ECHO_T}no" >&6
38482 fi
38483
38484 # Extract the first word of "SetFile", so it can be a program name with args.
38485 set dummy SetFile; ac_word=$2
38486 echo "$as_me:$LINENO: checking for $ac_word" >&5
38487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38488 if test "${ac_cv_prog_SETFILE+set}" = set; then
38489 echo $ECHO_N "(cached) $ECHO_C" >&6
38490 else
38491 if test -n "$SETFILE"; then
38492 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
38493 else
38494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38495 for as_dir in $PATH
38496 do
38497 IFS=$as_save_IFS
38498 test -z "$as_dir" && as_dir=.
38499 for ac_exec_ext in '' $ac_executable_extensions; do
38500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38501 ac_cv_prog_SETFILE="SetFile"
38502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38503 break 2
38504 fi
38505 done
38506 done
38507
38508 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
38509 fi
38510 fi
38511 SETFILE=$ac_cv_prog_SETFILE
38512 if test -n "$SETFILE"; then
38513 echo "$as_me:$LINENO: result: $SETFILE" >&5
38514 echo "${ECHO_T}$SETFILE" >&6
38515 else
38516 echo "$as_me:$LINENO: result: no" >&5
38517 echo "${ECHO_T}no" >&6
38518 fi
38519
38520 ;;
38521 esac
38522
38523
38524
38525
38526
38527
38528
38529
38530 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
38531 if test "${enable_precomp_headers+set}" = set; then
38532 enableval="$enable_precomp_headers"
38533 bk_use_pch="$enableval"
38534 fi;
38535
38536 GCC_PCH=0
38537
38538 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
38539 if test "x$GCC" = "xyes"; then
38540 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
38541 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
38542 cat >conftest.$ac_ext <<_ACEOF
38543 /* confdefs.h. */
38544 _ACEOF
38545 cat confdefs.h >>conftest.$ac_ext
38546 cat >>conftest.$ac_ext <<_ACEOF
38547 /* end confdefs.h. */
38548
38549 int
38550 main ()
38551 {
38552
38553 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
38554 #error "no pch support"
38555 #endif
38556 #if (__GNUC__ < 3)
38557 #error "no pch support"
38558 #endif
38559 #if (__GNUC__ == 3) && \
38560 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
38561 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
38562 #error "no pch support"
38563 #endif
38564
38565 ;
38566 return 0;
38567 }
38568 _ACEOF
38569 rm -f conftest.$ac_objext
38570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38571 (eval $ac_compile) 2>conftest.er1
38572 ac_status=$?
38573 grep -v '^ *+' conftest.er1 >conftest.err
38574 rm -f conftest.er1
38575 cat conftest.err >&5
38576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38577 (exit $ac_status); } &&
38578 { ac_try='test -z "$ac_c_werror_flag"
38579 || test ! -s conftest.err'
38580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38581 (eval $ac_try) 2>&5
38582 ac_status=$?
38583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38584 (exit $ac_status); }; } &&
38585 { ac_try='test -s conftest.$ac_objext'
38586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38587 (eval $ac_try) 2>&5
38588 ac_status=$?
38589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38590 (exit $ac_status); }; }; then
38591
38592 echo "$as_me:$LINENO: result: yes" >&5
38593 echo "${ECHO_T}yes" >&6
38594 CPPFLAGS="-fpch-deps $CPPFLAGS"
38595 GCC_PCH=1
38596
38597 else
38598 echo "$as_me: failed program was:" >&5
38599 sed 's/^/| /' conftest.$ac_ext >&5
38600
38601
38602 echo "$as_me:$LINENO: result: no" >&5
38603 echo "${ECHO_T}no" >&6
38604
38605 fi
38606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38607 if test $GCC_PCH = 1 ; then
38608 cat <<EOF >bk-make-pch
38609 #!/bin/sh
38610
38611 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
38612 # script. It is used to generated precompiled headers.
38613 #
38614 # Permission is given to use this file in any way.
38615
38616 outfile="\${1}"
38617 header="\${2}"
38618 shift
38619 shift
38620
38621 compiler=
38622 headerfile=
38623 while test \${#} -gt 0; do
38624 case "\${1}" in
38625 -I* )
38626 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
38627 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
38628 headerfile="\${incdir}/\${header}"
38629 fi
38630 ;;
38631 esac
38632 compiler="\${compiler} \${1}"
38633 shift
38634 done
38635
38636 if test "x\${headerfile}" = "x" ; then
38637 echo "error: can't find header \${header} in include paths" >2
38638 else
38639 if test -f \${outfile} ; then
38640 rm -f \${outfile}
38641 else
38642 mkdir -p \`dirname \${outfile}\`
38643 fi
38644 depsfile=".deps/\`basename \${outfile}\`.d"
38645 mkdir -p .deps
38646 # can do this because gcc is >= 3.4:
38647 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
38648 exit \${?}
38649 fi
38650 EOF
38651 chmod +x bk-make-pch
38652 fi
38653 fi
38654 fi
38655
38656
38657
38658
38659
38660 COND_BUILD_DEBUG="#"
38661 if test "x$BUILD" = "xdebug" ; then
38662 COND_BUILD_DEBUG=""
38663 fi
38664
38665 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
38666 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
38667 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
38668 fi
38669
38670 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
38671 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
38672 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
38673 fi
38674
38675 COND_BUILD_DEBUG_UNICODE_0="#"
38676 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
38677 COND_BUILD_DEBUG_UNICODE_0=""
38678 fi
38679
38680 COND_BUILD_DEBUG_UNICODE_1="#"
38681 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
38682 COND_BUILD_DEBUG_UNICODE_1=""
38683 fi
38684
38685 COND_BUILD_RELEASE="#"
38686 if test "x$BUILD" = "xrelease" ; then
38687 COND_BUILD_RELEASE=""
38688 fi
38689
38690 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
38691 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
38692 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
38693 fi
38694
38695 COND_BUILD_RELEASE_UNICODE_0="#"
38696 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
38697 COND_BUILD_RELEASE_UNICODE_0=""
38698 fi
38699
38700 COND_BUILD_RELEASE_UNICODE_1="#"
38701 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
38702 COND_BUILD_RELEASE_UNICODE_1=""
38703 fi
38704
38705 COND_DEBUG_FLAG_1="#"
38706 if test "x$DEBUG_FLAG" = "x1" ; then
38707 COND_DEBUG_FLAG_1=""
38708 fi
38709
38710 COND_DEBUG_INFO_0="#"
38711 if test "x$DEBUG_INFO" = "x0" ; then
38712 COND_DEBUG_INFO_0=""
38713 fi
38714
38715 COND_DEBUG_INFO_1="#"
38716 if test "x$DEBUG_INFO" = "x1" ; then
38717 COND_DEBUG_INFO_1=""
38718 fi
38719
38720 COND_DEPS_TRACKING_0="#"
38721 if test "x$DEPS_TRACKING" = "x0" ; then
38722 COND_DEPS_TRACKING_0=""
38723 fi
38724
38725 COND_DEPS_TRACKING_1="#"
38726 if test "x$DEPS_TRACKING" = "x1" ; then
38727 COND_DEPS_TRACKING_1=""
38728 fi
38729
38730 COND_GCC_PCH_1="#"
38731 if test "x$GCC_PCH" = "x1" ; then
38732 COND_GCC_PCH_1=""
38733 fi
38734
38735 COND_MONOLITHIC_0="#"
38736 if test "x$MONOLITHIC" = "x0" ; then
38737 COND_MONOLITHIC_0=""
38738 fi
38739
38740 COND_MONOLITHIC_0_SHARED_0="#"
38741 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
38742 COND_MONOLITHIC_0_SHARED_0=""
38743 fi
38744
38745 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
38746 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
38747 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
38748 fi
38749
38750 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
38751 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
38752 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
38753 fi
38754
38755 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
38756 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
38757 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
38758 fi
38759
38760 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
38761 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
38762 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
38763 fi
38764
38765 COND_MONOLITHIC_0_SHARED_1="#"
38766 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
38767 COND_MONOLITHIC_0_SHARED_1=""
38768 fi
38769
38770 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
38771 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
38772 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
38773 fi
38774
38775 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
38776 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
38777 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
38778 fi
38779
38780 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
38781 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
38782 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
38783 fi
38784
38785 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
38786 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
38787 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
38788 fi
38789
38790 COND_MONOLITHIC_0_USE_ODBC_1="#"
38791 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
38792 COND_MONOLITHIC_0_USE_ODBC_1=""
38793 fi
38794
38795 COND_MONOLITHIC_1="#"
38796 if test "x$MONOLITHIC" = "x1" ; then
38797 COND_MONOLITHIC_1=""
38798 fi
38799
38800 COND_MONOLITHIC_1_SHARED_0="#"
38801 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
38802 COND_MONOLITHIC_1_SHARED_0=""
38803 fi
38804
38805 COND_MONOLITHIC_1_SHARED_1="#"
38806 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
38807 COND_MONOLITHIC_1_SHARED_1=""
38808 fi
38809
38810 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
38811 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
38812 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
38813 fi
38814
38815 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
38816 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
38817 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
38818 fi
38819
38820 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
38821 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
38822 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
38823 fi
38824
38825 COND_PLATFORM_MACOSX_1="#"
38826 if test "x$PLATFORM_MACOSX" = "x1" ; then
38827 COND_PLATFORM_MACOSX_1=""
38828 fi
38829
38830 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
38831 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
38832 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
38833 fi
38834
38835 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
38836 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
38837 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
38838 fi
38839
38840 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
38841 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
38842 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
38843 fi
38844
38845 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
38846 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
38847 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
38848 fi
38849
38850 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
38851 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
38852 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
38853 fi
38854
38855 COND_PLATFORM_MAC_1="#"
38856 if test "x$PLATFORM_MAC" = "x1" ; then
38857 COND_PLATFORM_MAC_1=""
38858 fi
38859
38860 COND_PLATFORM_OS2_1="#"
38861 if test "x$PLATFORM_OS2" = "x1" ; then
38862 COND_PLATFORM_OS2_1=""
38863 fi
38864
38865 COND_PLATFORM_UNIX_0="#"
38866 if test "x$PLATFORM_UNIX" = "x0" ; then
38867 COND_PLATFORM_UNIX_0=""
38868 fi
38869
38870 COND_PLATFORM_UNIX_1="#"
38871 if test "x$PLATFORM_UNIX" = "x1" ; then
38872 COND_PLATFORM_UNIX_1=""
38873 fi
38874
38875 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
38876 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
38877 COND_PLATFORM_UNIX_1_USE_GUI_1=""
38878 fi
38879
38880 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
38881 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
38882 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
38883 fi
38884
38885 COND_PLATFORM_WIN32_0="#"
38886 if test "x$PLATFORM_WIN32" = "x0" ; then
38887 COND_PLATFORM_WIN32_0=""
38888 fi
38889
38890 COND_PLATFORM_WIN32_1="#"
38891 if test "x$PLATFORM_WIN32" = "x1" ; then
38892 COND_PLATFORM_WIN32_1=""
38893 fi
38894
38895 COND_SHARED_0="#"
38896 if test "x$SHARED" = "x0" ; then
38897 COND_SHARED_0=""
38898 fi
38899
38900 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
38901 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
38902 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
38903 fi
38904
38905 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
38906 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
38907 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
38908 fi
38909
38910 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
38911 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
38912 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
38913 fi
38914
38915 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
38916 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
38917 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
38918 fi
38919
38920 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
38921 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
38922 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
38923 fi
38924
38925 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
38926 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
38927 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
38928 fi
38929
38930 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
38931 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
38932 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
38933 fi
38934
38935 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
38936 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
38937 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
38938 fi
38939
38940 COND_SHARED_1="#"
38941 if test "x$SHARED" = "x1" ; then
38942 COND_SHARED_1=""
38943 fi
38944
38945 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
38946 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
38947 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
38948 fi
38949
38950 COND_TOOLKIT_COCOA="#"
38951 if test "x$TOOLKIT" = "xCOCOA" ; then
38952 COND_TOOLKIT_COCOA=""
38953 fi
38954
38955 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
38956 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38957 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
38958 fi
38959
38960 COND_TOOLKIT_GTK="#"
38961 if test "x$TOOLKIT" = "xGTK" ; then
38962 COND_TOOLKIT_GTK=""
38963 fi
38964
38965 COND_TOOLKIT_GTK_USE_GUI_1="#"
38966 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
38967 COND_TOOLKIT_GTK_USE_GUI_1=""
38968 fi
38969
38970 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
38971 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38972 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
38973 fi
38974
38975 COND_TOOLKIT_MAC="#"
38976 if test "x$TOOLKIT" = "xMAC" ; then
38977 COND_TOOLKIT_MAC=""
38978 fi
38979
38980 COND_TOOLKIT_MAC_USE_GUI_1="#"
38981 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
38982 COND_TOOLKIT_MAC_USE_GUI_1=""
38983 fi
38984
38985 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
38986 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38987 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
38988 fi
38989
38990 COND_TOOLKIT_MGL="#"
38991 if test "x$TOOLKIT" = "xMGL" ; then
38992 COND_TOOLKIT_MGL=""
38993 fi
38994
38995 COND_TOOLKIT_MGL_USE_GUI_1="#"
38996 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
38997 COND_TOOLKIT_MGL_USE_GUI_1=""
38998 fi
38999
39000 COND_TOOLKIT_MOTIF="#"
39001 if test "x$TOOLKIT" = "xMOTIF" ; then
39002 COND_TOOLKIT_MOTIF=""
39003 fi
39004
39005 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
39006 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
39007 COND_TOOLKIT_MOTIF_USE_GUI_1=""
39008 fi
39009
39010 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
39011 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39012 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
39013 fi
39014
39015 COND_TOOLKIT_MSW="#"
39016 if test "x$TOOLKIT" = "xMSW" ; then
39017 COND_TOOLKIT_MSW=""
39018 fi
39019
39020 COND_TOOLKIT_MSW_USE_GUI_1="#"
39021 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
39022 COND_TOOLKIT_MSW_USE_GUI_1=""
39023 fi
39024
39025 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
39026 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39027 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
39028 fi
39029
39030 COND_TOOLKIT_PM="#"
39031 if test "x$TOOLKIT" = "xPM" ; then
39032 COND_TOOLKIT_PM=""
39033 fi
39034
39035 COND_TOOLKIT_PM_USE_GUI_1="#"
39036 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
39037 COND_TOOLKIT_PM_USE_GUI_1=""
39038 fi
39039
39040 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
39041 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39042 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
39043 fi
39044
39045 COND_TOOLKIT_X11="#"
39046 if test "x$TOOLKIT" = "xX11" ; then
39047 COND_TOOLKIT_X11=""
39048 fi
39049
39050 COND_TOOLKIT_X11_USE_GUI_1="#"
39051 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
39052 COND_TOOLKIT_X11_USE_GUI_1=""
39053 fi
39054
39055 COND_UNICODE_1="#"
39056 if test "x$UNICODE" = "x1" ; then
39057 COND_UNICODE_1=""
39058 fi
39059
39060 COND_USE_EXCEPTIONS_0="#"
39061 if test "x$USE_EXCEPTIONS" = "x0" ; then
39062 COND_USE_EXCEPTIONS_0=""
39063 fi
39064
39065 COND_USE_EXCEPTIONS_1="#"
39066 if test "x$USE_EXCEPTIONS" = "x1" ; then
39067 COND_USE_EXCEPTIONS_1=""
39068 fi
39069
39070 COND_USE_GUI_0="#"
39071 if test "x$USE_GUI" = "x0" ; then
39072 COND_USE_GUI_0=""
39073 fi
39074
39075 COND_USE_GUI_1="#"
39076 if test "x$USE_GUI" = "x1" ; then
39077 COND_USE_GUI_1=""
39078 fi
39079
39080 COND_USE_GUI_1_WXUNIV_0="#"
39081 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39082 COND_USE_GUI_1_WXUNIV_0=""
39083 fi
39084
39085 COND_USE_GUI_1_WXUNIV_1="#"
39086 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
39087 COND_USE_GUI_1_WXUNIV_1=""
39088 fi
39089
39090 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
39091 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39092 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
39093 fi
39094
39095 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
39096 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39097 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
39098 fi
39099
39100 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
39101 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39102 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
39103 fi
39104
39105 COND_USE_ODBC_1="#"
39106 if test "x$USE_ODBC" = "x1" ; then
39107 COND_USE_ODBC_1=""
39108 fi
39109
39110 COND_USE_PLUGINS_0="#"
39111 if test "x$USE_PLUGINS" = "x0" ; then
39112 COND_USE_PLUGINS_0=""
39113 fi
39114
39115 COND_USE_SOSYMLINKS_1="#"
39116 if test "x$USE_SOSYMLINKS" = "x1" ; then
39117 COND_USE_SOSYMLINKS_1=""
39118 fi
39119
39120 COND_USE_SOVERLINUX_1="#"
39121 if test "x$USE_SOVERLINUX" = "x1" ; then
39122 COND_USE_SOVERLINUX_1=""
39123 fi
39124
39125 COND_USE_SOVERSION_0="#"
39126 if test "x$USE_SOVERSION" = "x0" ; then
39127 COND_USE_SOVERSION_0=""
39128 fi
39129
39130 COND_USE_SOVERSOLARIS_1="#"
39131 if test "x$USE_SOVERSOLARIS" = "x1" ; then
39132 COND_USE_SOVERSOLARIS_1=""
39133 fi
39134
39135 COND_WITH_PLUGIN_SDL_1="#"
39136 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
39137 COND_WITH_PLUGIN_SDL_1=""
39138 fi
39139
39140 COND_WITH_SDL_1="#"
39141 if test "x$WITH_SDL" = "x1" ; then
39142 COND_WITH_SDL_1=""
39143 fi
39144
39145 COND_WXUNIV_1="#"
39146 if test "x$WXUNIV" = "x1" ; then
39147 COND_WXUNIV_1=""
39148 fi
39149
39150 COND_WXUSE_EXPAT_BUILTIN="#"
39151 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
39152 COND_WXUSE_EXPAT_BUILTIN=""
39153 fi
39154
39155 COND_WXUSE_LIBJPEG_BUILTIN="#"
39156 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39157 COND_WXUSE_LIBJPEG_BUILTIN=""
39158 fi
39159
39160 COND_WXUSE_LIBPNG_BUILTIN="#"
39161 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39162 COND_WXUSE_LIBPNG_BUILTIN=""
39163 fi
39164
39165 COND_WXUSE_LIBTIFF_BUILTIN="#"
39166 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39167 COND_WXUSE_LIBTIFF_BUILTIN=""
39168 fi
39169
39170 COND_WXUSE_ODBC_BUILTIN="#"
39171 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
39172 COND_WXUSE_ODBC_BUILTIN=""
39173 fi
39174
39175 COND_WXUSE_REGEX_BUILTIN="#"
39176 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
39177 COND_WXUSE_REGEX_BUILTIN=""
39178 fi
39179
39180 COND_WXUSE_ZLIB_BUILTIN="#"
39181 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
39182 COND_WXUSE_ZLIB_BUILTIN=""
39183 fi
39184
39185 USE_ZLIB_BUILTIN)
39186
39187
39188
39189
39190 if test $GCC_PCH = 1 ; then
39191 CODE_GEN_FLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
39192 CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
39193 else
39194 case "${host}" in
39195 powerpc-*-darwin* )
39196 CODE_GEN_FLAGS="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
39197 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
39198 ;;
39199 esac
39200 fi
39201
39202
39203 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
39204
39205
39206
39207
39208
39209
39210
39211
39212
39213
39214
39215
39216
39217
39218
39219
39220
39221
39222
39223
39224
39225
39226
39227
39228
39229
39230
39231
39232
39233
39234
39235
39236
39237
39238
39239
39240
39241
39242
39243
39244
39245
39246
39247
39248
39249
39250
39251
39252
39253
39254
39255
39256
39257
39258
39259
39260
39261
39262
39263
39264
39265
39266
39267
39268
39269
39270
39271
39272
39273
39274
39275
39276
39277
39278
39279
39280
39281
39282
39283
39284
39285
39286
39287
39288
39289
39290
39291
39292
39293
39294
39295
39296
39297
39298
39299
39300
39301
39302
39303 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
39304 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
39305 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
39306 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
39307 echo $ECHO_N "(cached) $ECHO_C" >&6
39308 else
39309 cat >conftest.make <<\_ACEOF
39310 all:
39311 @echo 'ac_maketemp="$(MAKE)"'
39312 _ACEOF
39313 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
39314 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
39315 if test -n "$ac_maketemp"; then
39316 eval ac_cv_prog_make_${ac_make}_set=yes
39317 else
39318 eval ac_cv_prog_make_${ac_make}_set=no
39319 fi
39320 rm -f conftest.make
39321 fi
39322 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
39323 echo "$as_me:$LINENO: result: yes" >&5
39324 echo "${ECHO_T}yes" >&6
39325 SET_MAKE=
39326 else
39327 echo "$as_me:$LINENO: result: no" >&5
39328 echo "${ECHO_T}no" >&6
39329 SET_MAKE="MAKE=${MAKE-make}"
39330 fi
39331
39332
39333 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
39334 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
39335 fi
39336
39337 ac_config_headers="$ac_config_headers setup.h"
39338
39339
39340 ac_config_files="$ac_config_files wx-config version-script Makefile"
39341
39342
39343 ac_config_commands="$ac_config_commands default"
39344
39345
39346
39347 if test "$wxUSE_GUI" = "yes"; then
39348 SUBDIRS="samples demos utils contrib"
39349 else SUBDIRS="samples utils"
39350 fi
39351
39352 for subdir in `echo $SUBDIRS`; do
39353 if test -d ${srcdir}/${subdir} ; then
39354 if test "$wxUSE_GUI" = "yes"; then
39355 if test ${subdir} = "samples"; then
39356 makefiles="samples/Makefile.in $makefiles"
39357 for sample in `echo $SAMPLES_SUBDIRS`; do
39358 if test -d $srcdir/samples/$sample; then
39359 makefiles="samples/$sample/Makefile.in $makefiles"
39360 fi
39361 done
39362 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
39363 fi
39364 else if test ${subdir} = "samples"; then
39365 makefiles="samples/Makefile.in samples/console/Makefile.in"
39366 else makefiles="utils/HelpGen/Makefile.in \
39367 utils/HelpGen/src/Makefile.in \
39368 utils/tex2rtf/Makefile.in \
39369 utils/tex2rtf/src/Makefile.in"
39370 fi
39371 fi
39372
39373 for mkin in $makefiles ; do
39374 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
39375 ac_config_files="$ac_config_files $mk"
39376
39377 done
39378 fi
39379 done
39380
39381
39382 cat >confcache <<\_ACEOF
39383 # This file is a shell script that caches the results of configure
39384 # tests run on this system so they can be shared between configure
39385 # scripts and configure runs, see configure's option --config-cache.
39386 # It is not useful on other systems. If it contains results you don't
39387 # want to keep, you may remove or edit it.
39388 #
39389 # config.status only pays attention to the cache file if you give it
39390 # the --recheck option to rerun configure.
39391 #
39392 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39393 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39394 # following values.
39395
39396 _ACEOF
39397
39398 # The following way of writing the cache mishandles newlines in values,
39399 # but we know of no workaround that is simple, portable, and efficient.
39400 # So, don't put newlines in cache variables' values.
39401 # Ultrix sh set writes to stderr and can't be redirected directly,
39402 # and sets the high bit in the cache file unless we assign to the vars.
39403 {
39404 (set) 2>&1 |
39405 case `(ac_space=' '; set | grep ac_space) 2>&1` in
39406 *ac_space=\ *)
39407 # `set' does not quote correctly, so add quotes (double-quote
39408 # substitution turns \\\\ into \\, and sed turns \\ into \).
39409 sed -n \
39410 "s/'/'\\\\''/g;
39411 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39412 ;;
39413 *)
39414 # `set' quotes correctly as required by POSIX, so do not add quotes.
39415 sed -n \
39416 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39417 ;;
39418 esac;
39419 } |
39420 sed '
39421 t clear
39422 : clear
39423 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39424 t end
39425 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39426 : end' >>confcache
39427 if diff $cache_file confcache >/dev/null 2>&1; then :; else
39428 if test -w $cache_file; then
39429 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39430 cat confcache >$cache_file
39431 else
39432 echo "not updating unwritable cache $cache_file"
39433 fi
39434 fi
39435 rm -f confcache
39436
39437 test "x$prefix" = xNONE && prefix=$ac_default_prefix
39438 # Let make expand exec_prefix.
39439 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
39440
39441 # VPATH may cause trouble with some makes, so we remove $(srcdir),
39442 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
39443 # trailing colons and then remove the whole line if VPATH becomes empty
39444 # (actually we leave an empty line to preserve line numbers).
39445 if test "x$srcdir" = x.; then
39446 ac_vpsub='/^[ ]*VPATH[ ]*=/{
39447 s/:*\$(srcdir):*/:/;
39448 s/:*\${srcdir}:*/:/;
39449 s/:*@srcdir@:*/:/;
39450 s/^\([^=]*=[ ]*\):*/\1/;
39451 s/:*$//;
39452 s/^[^=]*=[ ]*$//;
39453 }'
39454 fi
39455
39456 DEFS=-DHAVE_CONFIG_H
39457
39458 ac_libobjs=
39459 ac_ltlibobjs=
39460 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
39461 # 1. Remove the extension, and $U if already installed.
39462 ac_i=`echo "$ac_i" |
39463 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
39464 # 2. Add them.
39465 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
39466 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
39467 done
39468 LIBOBJS=$ac_libobjs
39469
39470 LTLIBOBJS=$ac_ltlibobjs
39471
39472
39473
39474 : ${CONFIG_STATUS=./config.status}
39475 ac_clean_files_save=$ac_clean_files
39476 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
39477 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
39478 echo "$as_me: creating $CONFIG_STATUS" >&6;}
39479 cat >$CONFIG_STATUS <<_ACEOF
39480 #! $SHELL
39481 # Generated by $as_me.
39482 # Run this file to recreate the current configuration.
39483 # Compiler output produced by configure, useful for debugging
39484 # configure, is in config.log if it exists.
39485
39486 debug=false
39487 ac_cs_recheck=false
39488 ac_cs_silent=false
39489 SHELL=\${CONFIG_SHELL-$SHELL}
39490 _ACEOF
39491
39492 cat >>$CONFIG_STATUS <<\_ACEOF
39493 ## --------------------- ##
39494 ## M4sh Initialization. ##
39495 ## --------------------- ##
39496
39497 # Be Bourne compatible
39498 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
39499 emulate sh
39500 NULLCMD=:
39501 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
39502 # is contrary to our usage. Disable this feature.
39503 alias -g '${1+"$@"}'='"$@"'
39504 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
39505 set -o posix
39506 fi
39507 DUALCASE=1; export DUALCASE # for MKS sh
39508
39509 # Support unset when possible.
39510 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
39511 as_unset=unset
39512 else
39513 as_unset=false
39514 fi
39515
39516
39517 # Work around bugs in pre-3.0 UWIN ksh.
39518 $as_unset ENV MAIL MAILPATH
39519 PS1='$ '
39520 PS2='> '
39521 PS4='+ '
39522
39523 # NLS nuisances.
39524 for as_var in \
39525 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
39526 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
39527 LC_TELEPHONE LC_TIME
39528 do
39529 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
39530 eval $as_var=C; export $as_var
39531 else
39532 $as_unset $as_var
39533 fi
39534 done
39535
39536 # Required to use basename.
39537 if expr a : '\(a\)' >/dev/null 2>&1; then
39538 as_expr=expr
39539 else
39540 as_expr=false
39541 fi
39542
39543 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
39544 as_basename=basename
39545 else
39546 as_basename=false
39547 fi
39548
39549
39550 # Name of the executable.
39551 as_me=`$as_basename "$0" ||
39552 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
39553 X"$0" : 'X\(//\)$' \| \
39554 X"$0" : 'X\(/\)$' \| \
39555 . : '\(.\)' 2>/dev/null ||
39556 echo X/"$0" |
39557 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
39558 /^X\/\(\/\/\)$/{ s//\1/; q; }
39559 /^X\/\(\/\).*/{ s//\1/; q; }
39560 s/.*/./; q'`
39561
39562
39563 # PATH needs CR, and LINENO needs CR and PATH.
39564 # Avoid depending upon Character Ranges.
39565 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
39566 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39567 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39568 as_cr_digits='0123456789'
39569 as_cr_alnum=$as_cr_Letters$as_cr_digits
39570
39571 # The user is always right.
39572 if test "${PATH_SEPARATOR+set}" != set; then
39573 echo "#! /bin/sh" >conf$$.sh
39574 echo "exit 0" >>conf$$.sh
39575 chmod +x conf$$.sh
39576 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
39577 PATH_SEPARATOR=';'
39578 else
39579 PATH_SEPARATOR=:
39580 fi
39581 rm -f conf$$.sh
39582 fi
39583
39584
39585 as_lineno_1=$LINENO
39586 as_lineno_2=$LINENO
39587 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
39588 test "x$as_lineno_1" != "x$as_lineno_2" &&
39589 test "x$as_lineno_3" = "x$as_lineno_2" || {
39590 # Find who we are. Look in the path if we contain no path at all
39591 # relative or not.
39592 case $0 in
39593 *[\\/]* ) as_myself=$0 ;;
39594 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39595 for as_dir in $PATH
39596 do
39597 IFS=$as_save_IFS
39598 test -z "$as_dir" && as_dir=.
39599 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
39600 done
39601
39602 ;;
39603 esac
39604 # We did not find ourselves, most probably we were run as `sh COMMAND'
39605 # in which case we are not to be found in the path.
39606 if test "x$as_myself" = x; then
39607 as_myself=$0
39608 fi
39609 if test ! -f "$as_myself"; then
39610 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
39611 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
39612 { (exit 1); exit 1; }; }
39613 fi
39614 case $CONFIG_SHELL in
39615 '')
39616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39617 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
39618 do
39619 IFS=$as_save_IFS
39620 test -z "$as_dir" && as_dir=.
39621 for as_base in sh bash ksh sh5; do
39622 case $as_dir in
39623 /*)
39624 if ("$as_dir/$as_base" -c '
39625 as_lineno_1=$LINENO
39626 as_lineno_2=$LINENO
39627 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
39628 test "x$as_lineno_1" != "x$as_lineno_2" &&
39629 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
39630 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
39631 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
39632 CONFIG_SHELL=$as_dir/$as_base
39633 export CONFIG_SHELL
39634 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
39635 fi;;
39636 esac
39637 done
39638 done
39639 ;;
39640 esac
39641
39642 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
39643 # uniformly replaced by the line number. The first 'sed' inserts a
39644 # line-number line before each line; the second 'sed' does the real
39645 # work. The second script uses 'N' to pair each line-number line
39646 # with the numbered line, and appends trailing '-' during
39647 # substitution so that $LINENO is not a special case at line end.
39648 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
39649 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
39650 sed '=' <$as_myself |
39651 sed '
39652 N
39653 s,$,-,
39654 : loop
39655 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
39656 t loop
39657 s,-$,,
39658 s,^['$as_cr_digits']*\n,,
39659 ' >$as_me.lineno &&
39660 chmod +x $as_me.lineno ||
39661 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
39662 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
39663 { (exit 1); exit 1; }; }
39664
39665 # Don't try to exec as it changes $[0], causing all sort of problems
39666 # (the dirname of $[0] is not the place where we might find the
39667 # original and so on. Autoconf is especially sensible to this).
39668 . ./$as_me.lineno
39669 # Exit status is that of the last command.
39670 exit
39671 }
39672
39673
39674 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
39675 *c*,-n*) ECHO_N= ECHO_C='
39676 ' ECHO_T=' ' ;;
39677 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
39678 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
39679 esac
39680
39681 if expr a : '\(a\)' >/dev/null 2>&1; then
39682 as_expr=expr
39683 else
39684 as_expr=false
39685 fi
39686
39687 rm -f conf$$ conf$$.exe conf$$.file
39688 echo >conf$$.file
39689 if ln -s conf$$.file conf$$ 2>/dev/null; then
39690 # We could just check for DJGPP; but this test a) works b) is more generic
39691 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
39692 if test -f conf$$.exe; then
39693 # Don't use ln at all; we don't have any links
39694 as_ln_s='cp -p'
39695 else
39696 as_ln_s='ln -s'
39697 fi
39698 elif ln conf$$.file conf$$ 2>/dev/null; then
39699 as_ln_s=ln
39700 else
39701 as_ln_s='cp -p'
39702 fi
39703 rm -f conf$$ conf$$.exe conf$$.file
39704
39705 if mkdir -p . 2>/dev/null; then
39706 as_mkdir_p=:
39707 else
39708 test -d ./-p && rmdir ./-p
39709 as_mkdir_p=false
39710 fi
39711
39712 as_executable_p="test -f"
39713
39714 # Sed expression to map a string onto a valid CPP name.
39715 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
39716
39717 # Sed expression to map a string onto a valid variable name.
39718 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
39719
39720
39721 # IFS
39722 # We need space, tab and new line, in precisely that order.
39723 as_nl='
39724 '
39725 IFS=" $as_nl"
39726
39727 # CDPATH.
39728 $as_unset CDPATH
39729
39730 exec 6>&1
39731
39732 # Open the log real soon, to keep \$[0] and so on meaningful, and to
39733 # report actual input values of CONFIG_FILES etc. instead of their
39734 # values after options handling. Logging --version etc. is OK.
39735 exec 5>>config.log
39736 {
39737 echo
39738 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
39739 ## Running $as_me. ##
39740 _ASBOX
39741 } >&5
39742 cat >&5 <<_CSEOF
39743
39744 This file was extended by wxWindows $as_me 2.5.1, which was
39745 generated by GNU Autoconf 2.59. Invocation command line was
39746
39747 CONFIG_FILES = $CONFIG_FILES
39748 CONFIG_HEADERS = $CONFIG_HEADERS
39749 CONFIG_LINKS = $CONFIG_LINKS
39750 CONFIG_COMMANDS = $CONFIG_COMMANDS
39751 $ $0 $@
39752
39753 _CSEOF
39754 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
39755 echo >&5
39756 _ACEOF
39757
39758 # Files that config.status was made for.
39759 if test -n "$ac_config_files"; then
39760 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
39761 fi
39762
39763 if test -n "$ac_config_headers"; then
39764 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
39765 fi
39766
39767 if test -n "$ac_config_links"; then
39768 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
39769 fi
39770
39771 if test -n "$ac_config_commands"; then
39772 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
39773 fi
39774
39775 cat >>$CONFIG_STATUS <<\_ACEOF
39776
39777 ac_cs_usage="\
39778 \`$as_me' instantiates files from templates according to the
39779 current configuration.
39780
39781 Usage: $0 [OPTIONS] [FILE]...
39782
39783 -h, --help print this help, then exit
39784 -V, --version print version number, then exit
39785 -q, --quiet do not print progress messages
39786 -d, --debug don't remove temporary files
39787 --recheck update $as_me by reconfiguring in the same conditions
39788 --file=FILE[:TEMPLATE]
39789 instantiate the configuration file FILE
39790 --header=FILE[:TEMPLATE]
39791 instantiate the configuration header FILE
39792
39793 Configuration files:
39794 $config_files
39795
39796 Configuration headers:
39797 $config_headers
39798
39799 Configuration commands:
39800 $config_commands
39801
39802 Report bugs to <bug-autoconf@gnu.org>."
39803 _ACEOF
39804
39805 cat >>$CONFIG_STATUS <<_ACEOF
39806 ac_cs_version="\\
39807 wxWindows config.status 2.5.1
39808 configured by $0, generated by GNU Autoconf 2.59,
39809 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
39810
39811 Copyright (C) 2003 Free Software Foundation, Inc.
39812 This config.status script is free software; the Free Software Foundation
39813 gives unlimited permission to copy, distribute and modify it."
39814 srcdir=$srcdir
39815 INSTALL="$INSTALL"
39816 _ACEOF
39817
39818 cat >>$CONFIG_STATUS <<\_ACEOF
39819 # If no file are specified by the user, then we need to provide default
39820 # value. By we need to know if files were specified by the user.
39821 ac_need_defaults=:
39822 while test $# != 0
39823 do
39824 case $1 in
39825 --*=*)
39826 ac_option=`expr "x$1" : 'x\([^=]*\)='`
39827 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
39828 ac_shift=:
39829 ;;
39830 -*)
39831 ac_option=$1
39832 ac_optarg=$2
39833 ac_shift=shift
39834 ;;
39835 *) # This is not an option, so the user has probably given explicit
39836 # arguments.
39837 ac_option=$1
39838 ac_need_defaults=false;;
39839 esac
39840
39841 case $ac_option in
39842 # Handling of the options.
39843 _ACEOF
39844 cat >>$CONFIG_STATUS <<\_ACEOF
39845 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
39846 ac_cs_recheck=: ;;
39847 --version | --vers* | -V )
39848 echo "$ac_cs_version"; exit 0 ;;
39849 --he | --h)
39850 # Conflict between --help and --header
39851 { { echo "$as_me:$LINENO: error: ambiguous option: $1
39852 Try \`$0 --help' for more information." >&5
39853 echo "$as_me: error: ambiguous option: $1
39854 Try \`$0 --help' for more information." >&2;}
39855 { (exit 1); exit 1; }; };;
39856 --help | --hel | -h )
39857 echo "$ac_cs_usage"; exit 0 ;;
39858 --debug | --d* | -d )
39859 debug=: ;;
39860 --file | --fil | --fi | --f )
39861 $ac_shift
39862 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
39863 ac_need_defaults=false;;
39864 --header | --heade | --head | --hea )
39865 $ac_shift
39866 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
39867 ac_need_defaults=false;;
39868 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
39869 | -silent | --silent | --silen | --sile | --sil | --si | --s)
39870 ac_cs_silent=: ;;
39871
39872 # This is an error.
39873 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
39874 Try \`$0 --help' for more information." >&5
39875 echo "$as_me: error: unrecognized option: $1
39876 Try \`$0 --help' for more information." >&2;}
39877 { (exit 1); exit 1; }; } ;;
39878
39879 *) ac_config_targets="$ac_config_targets $1" ;;
39880
39881 esac
39882 shift
39883 done
39884
39885 ac_configure_extra_args=
39886
39887 if $ac_cs_silent; then
39888 exec 6>/dev/null
39889 ac_configure_extra_args="$ac_configure_extra_args --silent"
39890 fi
39891
39892 _ACEOF
39893 cat >>$CONFIG_STATUS <<_ACEOF
39894 if \$ac_cs_recheck; then
39895 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
39896 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
39897 fi
39898
39899 _ACEOF
39900
39901 cat >>$CONFIG_STATUS <<_ACEOF
39902 #
39903 # INIT-COMMANDS section.
39904 #
39905
39906
39907 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
39908 LN_S="${LN_S}"
39909
39910
39911
39912 _ACEOF
39913
39914
39915
39916 cat >>$CONFIG_STATUS <<\_ACEOF
39917 for ac_config_target in $ac_config_targets
39918 do
39919 case "$ac_config_target" in
39920 # Handling of arguments.
39921 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
39922 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
39923 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
39924 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
39925 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
39926 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
39927 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
39928 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
39929 { (exit 1); exit 1; }; };;
39930 esac
39931 done
39932
39933 # If the user did not use the arguments to specify the items to instantiate,
39934 # then the envvar interface is used. Set only those that are not.
39935 # We use the long form for the default assignment because of an extremely
39936 # bizarre bug on SunOS 4.1.3.
39937 if $ac_need_defaults; then
39938 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
39939 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
39940 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
39941 fi
39942
39943 # Have a temporary directory for convenience. Make it in the build tree
39944 # simply because there is no reason to put it here, and in addition,
39945 # creating and moving files from /tmp can sometimes cause problems.
39946 # Create a temporary directory, and hook for its removal unless debugging.
39947 $debug ||
39948 {
39949 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
39950 trap '{ (exit 1); exit 1; }' 1 2 13 15
39951 }
39952
39953 # Create a (secure) tmp directory for tmp files.
39954
39955 {
39956 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
39957 test -n "$tmp" && test -d "$tmp"
39958 } ||
39959 {
39960 tmp=./confstat$$-$RANDOM
39961 (umask 077 && mkdir $tmp)
39962 } ||
39963 {
39964 echo "$me: cannot create a temporary directory in ." >&2
39965 { (exit 1); exit 1; }
39966 }
39967
39968 _ACEOF
39969
39970 cat >>$CONFIG_STATUS <<_ACEOF
39971
39972 #
39973 # CONFIG_FILES section.
39974 #
39975
39976 # No need to generate the scripts if there are no CONFIG_FILES.
39977 # This happens for instance when ./config.status config.h
39978 if test -n "\$CONFIG_FILES"; then
39979 # Protect against being on the right side of a sed subst in config.status.
39980 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
39981 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
39982 s,@SHELL@,$SHELL,;t t
39983 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
39984 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
39985 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
39986 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
39987 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
39988 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
39989 s,@exec_prefix@,$exec_prefix,;t t
39990 s,@prefix@,$prefix,;t t
39991 s,@program_transform_name@,$program_transform_name,;t t
39992 s,@bindir@,$bindir,;t t
39993 s,@sbindir@,$sbindir,;t t
39994 s,@libexecdir@,$libexecdir,;t t
39995 s,@datadir@,$datadir,;t t
39996 s,@sysconfdir@,$sysconfdir,;t t
39997 s,@sharedstatedir@,$sharedstatedir,;t t
39998 s,@localstatedir@,$localstatedir,;t t
39999 s,@libdir@,$libdir,;t t
40000 s,@includedir@,$includedir,;t t
40001 s,@oldincludedir@,$oldincludedir,;t t
40002 s,@infodir@,$infodir,;t t
40003 s,@mandir@,$mandir,;t t
40004 s,@build_alias@,$build_alias,;t t
40005 s,@host_alias@,$host_alias,;t t
40006 s,@target_alias@,$target_alias,;t t
40007 s,@DEFS@,$DEFS,;t t
40008 s,@ECHO_C@,$ECHO_C,;t t
40009 s,@ECHO_N@,$ECHO_N,;t t
40010 s,@ECHO_T@,$ECHO_T,;t t
40011 s,@LIBS@,$LIBS,;t t
40012 s,@build@,$build,;t t
40013 s,@build_cpu@,$build_cpu,;t t
40014 s,@build_vendor@,$build_vendor,;t t
40015 s,@build_os@,$build_os,;t t
40016 s,@host@,$host,;t t
40017 s,@host_cpu@,$host_cpu,;t t
40018 s,@host_vendor@,$host_vendor,;t t
40019 s,@host_os@,$host_os,;t t
40020 s,@target@,$target,;t t
40021 s,@target_cpu@,$target_cpu,;t t
40022 s,@target_vendor@,$target_vendor,;t t
40023 s,@target_os@,$target_os,;t t
40024 s,@CC@,$CC,;t t
40025 s,@CFLAGS@,$CFLAGS,;t t
40026 s,@LDFLAGS@,$LDFLAGS,;t t
40027 s,@CPPFLAGS@,$CPPFLAGS,;t t
40028 s,@ac_ct_CC@,$ac_ct_CC,;t t
40029 s,@EXEEXT@,$EXEEXT,;t t
40030 s,@OBJEXT@,$OBJEXT,;t t
40031 s,@CPP@,$CPP,;t t
40032 s,@EGREP@,$EGREP,;t t
40033 s,@CXX@,$CXX,;t t
40034 s,@CXXFLAGS@,$CXXFLAGS,;t t
40035 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
40036 s,@RANLIB@,$RANLIB,;t t
40037 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
40038 s,@AR@,$AR,;t t
40039 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
40040 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
40041 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
40042 s,@STRIP@,$STRIP,;t t
40043 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
40044 s,@LN_S@,$LN_S,;t t
40045 s,@CXXCPP@,$CXXCPP,;t t
40046 s,@subdirs@,$subdirs,;t t
40047 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
40048 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
40049 s,@GTK_LIBS@,$GTK_LIBS,;t t
40050 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
40051 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
40052 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
40053 s,@X_CFLAGS@,$X_CFLAGS,;t t
40054 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
40055 s,@X_LIBS@,$X_LIBS,;t t
40056 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
40057 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
40058 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
40059 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
40060 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
40061 s,@RESCOMP@,$RESCOMP,;t t
40062 s,@DEREZ@,$DEREZ,;t t
40063 s,@SETFILE@,$SETFILE,;t t
40064 s,@LIBICONV@,$LIBICONV,;t t
40065 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
40066 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
40067 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
40068 s,@SDL_LIBS@,$SDL_LIBS,;t t
40069 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
40070 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
40071 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
40072 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
40073 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
40074 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
40075 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
40076 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
40077 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
40078 s,@VENDOR@,$VENDOR,;t t
40079 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
40080 s,@WXUNIV@,$WXUNIV,;t t
40081 s,@MONOLITHIC@,$MONOLITHIC,;t t
40082 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
40083 s,@EXTRALIBS@,$EXTRALIBS,;t t
40084 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
40085 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
40086 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
40087 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
40088 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
40089 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
40090 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
40091 s,@UNICODE@,$UNICODE,;t t
40092 s,@BUILD@,$BUILD,;t t
40093 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
40094 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
40095 s,@SHARED@,$SHARED,;t t
40096 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
40097 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
40098 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
40099 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
40100 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
40101 s,@SET_MAKE@,$SET_MAKE,;t t
40102 s,@MAKE_SET@,$MAKE_SET,;t t
40103 s,@ac_ct_AR@,$ac_ct_AR,;t t
40104 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
40105 s,@NM@,$NM,;t t
40106 s,@ac_ct_NM@,$ac_ct_NM,;t t
40107 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
40108 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
40109 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
40110 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
40111 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
40112 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
40113 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
40114 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
40115 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
40116 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
40117 s,@LIBPREFIX@,$LIBPREFIX,;t t
40118 s,@DLLPREFIX@,$DLLPREFIX,;t t
40119 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
40120 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
40121 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
40122 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
40123 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
40124 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
40125 s,@PIC_FLAG@,$PIC_FLAG,;t t
40126 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
40127 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
40128 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
40129 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
40130 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
40131 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
40132 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
40133 s,@GCC_PCH@,$GCC_PCH,;t t
40134 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
40135 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
40136 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
40137 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
40138 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
40139 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
40140 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
40141 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
40142 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
40143 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
40144 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
40145 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
40146 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
40147 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
40148 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
40149 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
40150 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
40151 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
40152 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
40153 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
40154 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
40155 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
40156 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
40157 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
40158 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
40159 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
40160 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
40161 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
40162 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
40163 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
40164 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
40165 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
40166 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
40167 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
40168 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
40169 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
40170 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
40171 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
40172 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
40173 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
40174 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
40175 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
40176 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
40177 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
40178 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
40179 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
40180 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
40181 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
40182 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
40183 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
40184 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
40185 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
40186 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
40187 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
40188 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
40189 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
40190 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
40191 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
40192 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
40193 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
40194 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
40195 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
40196 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
40197 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
40198 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
40199 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
40200 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
40201 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
40202 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
40203 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
40204 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
40205 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
40206 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
40207 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
40208 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
40209 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
40210 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
40211 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
40212 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
40213 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
40214 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
40215 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
40216 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
40217 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
40218 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
40219 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
40220 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
40221 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
40222 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
40223 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
40224 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
40225 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
40226 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
40227 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
40228 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
40229 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
40230 s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
40231 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
40232 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
40233 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
40234 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
40235 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
40236 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
40237 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
40238 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
40239 s,@PATH_IFS@,$PATH_IFS,;t t
40240 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
40241 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
40242 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
40243 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
40244 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
40245 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
40246 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
40247 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
40248 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
40249 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
40250 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
40251 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
40252 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
40253 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
40254 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
40255 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
40256 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
40257 s,@WX_ALL@,$WX_ALL,;t t
40258 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
40259 s,@SHARED_LD@,$SHARED_LD,;t t
40260 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
40261 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
40262 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
40263 s,@USE_GUI@,$USE_GUI,;t t
40264 s,@AFMINSTALL@,$AFMINSTALL,;t t
40265 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
40266 s,@TOOLKIT@,$TOOLKIT,;t t
40267 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
40268 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
40269 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
40270 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
40271 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
40272 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
40273 s,@cross_compiling@,$cross_compiling,;t t
40274 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
40275 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
40276 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
40277 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
40278 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
40279 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
40280 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
40281 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
40282 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
40283 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
40284 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
40285 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
40286 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
40287 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
40288 s,@GUIDIST@,$GUIDIST,;t t
40289 s,@PORT_FILES@,$PORT_FILES,;t t
40290 s,@DISTDIR@,$DISTDIR,;t t
40291 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
40292 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
40293 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
40294 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
40295 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
40296 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
40297 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
40298 s,@RESFLAGS@,$RESFLAGS,;t t
40299 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
40300 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
40301 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
40302 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
40303 s,@MACRESCOMP@,$MACRESCOMP,;t t
40304 s,@MACSETFILE@,$MACSETFILE,;t t
40305 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
40306 s,@GCC@,$GCC,;t t
40307 s,@DLLTOOL@,$DLLTOOL,;t t
40308 s,@AS@,$AS,;t t
40309 s,@LD@,$LD,;t t
40310 s,@MAKEINFO@,$MAKEINFO,;t t
40311 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
40312 s,@LIBOBJS@,$LIBOBJS,;t t
40313 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
40314 CEOF
40315
40316 _ACEOF
40317
40318 cat >>$CONFIG_STATUS <<\_ACEOF
40319 # Split the substitutions into bite-sized pieces for seds with
40320 # small command number limits, like on Digital OSF/1 and HP-UX.
40321 ac_max_sed_lines=48
40322 ac_sed_frag=1 # Number of current file.
40323 ac_beg=1 # First line for current file.
40324 ac_end=$ac_max_sed_lines # Line after last line for current file.
40325 ac_more_lines=:
40326 ac_sed_cmds=
40327 while $ac_more_lines; do
40328 if test $ac_beg -gt 1; then
40329 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
40330 else
40331 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
40332 fi
40333 if test ! -s $tmp/subs.frag; then
40334 ac_more_lines=false
40335 else
40336 # The purpose of the label and of the branching condition is to
40337 # speed up the sed processing (if there are no `@' at all, there
40338 # is no need to browse any of the substitutions).
40339 # These are the two extra sed commands mentioned above.
40340 (echo ':t
40341 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
40342 if test -z "$ac_sed_cmds"; then
40343 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
40344 else
40345 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
40346 fi
40347 ac_sed_frag=`expr $ac_sed_frag + 1`
40348 ac_beg=$ac_end
40349 ac_end=`expr $ac_end + $ac_max_sed_lines`
40350 fi
40351 done
40352 if test -z "$ac_sed_cmds"; then
40353 ac_sed_cmds=cat
40354 fi
40355 fi # test -n "$CONFIG_FILES"
40356
40357 _ACEOF
40358 cat >>$CONFIG_STATUS <<\_ACEOF
40359 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
40360 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
40361 case $ac_file in
40362 - | *:- | *:-:* ) # input from stdin
40363 cat >$tmp/stdin
40364 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
40365 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
40366 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
40367 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
40368 * ) ac_file_in=$ac_file.in ;;
40369 esac
40370
40371 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
40372 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
40373 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40374 X"$ac_file" : 'X\(//\)[^/]' \| \
40375 X"$ac_file" : 'X\(//\)$' \| \
40376 X"$ac_file" : 'X\(/\)' \| \
40377 . : '\(.\)' 2>/dev/null ||
40378 echo X"$ac_file" |
40379 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40380 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40381 /^X\(\/\/\)$/{ s//\1/; q; }
40382 /^X\(\/\).*/{ s//\1/; q; }
40383 s/.*/./; q'`
40384 { if $as_mkdir_p; then
40385 mkdir -p "$ac_dir"
40386 else
40387 as_dir="$ac_dir"
40388 as_dirs=
40389 while test ! -d "$as_dir"; do
40390 as_dirs="$as_dir $as_dirs"
40391 as_dir=`(dirname "$as_dir") 2>/dev/null ||
40392 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40393 X"$as_dir" : 'X\(//\)[^/]' \| \
40394 X"$as_dir" : 'X\(//\)$' \| \
40395 X"$as_dir" : 'X\(/\)' \| \
40396 . : '\(.\)' 2>/dev/null ||
40397 echo X"$as_dir" |
40398 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40399 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40400 /^X\(\/\/\)$/{ s//\1/; q; }
40401 /^X\(\/\).*/{ s//\1/; q; }
40402 s/.*/./; q'`
40403 done
40404 test ! -n "$as_dirs" || mkdir $as_dirs
40405 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40406 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40407 { (exit 1); exit 1; }; }; }
40408
40409 ac_builddir=.
40410
40411 if test "$ac_dir" != .; then
40412 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
40413 # A "../" for each directory in $ac_dir_suffix.
40414 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
40415 else
40416 ac_dir_suffix= ac_top_builddir=
40417 fi
40418
40419 case $srcdir in
40420 .) # No --srcdir option. We are building in place.
40421 ac_srcdir=.
40422 if test -z "$ac_top_builddir"; then
40423 ac_top_srcdir=.
40424 else
40425 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
40426 fi ;;
40427 [\\/]* | ?:[\\/]* ) # Absolute path.
40428 ac_srcdir=$srcdir$ac_dir_suffix;
40429 ac_top_srcdir=$srcdir ;;
40430 *) # Relative path.
40431 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
40432 ac_top_srcdir=$ac_top_builddir$srcdir ;;
40433 esac
40434
40435 # Do not use `cd foo && pwd` to compute absolute paths, because
40436 # the directories may not exist.
40437 case `pwd` in
40438 .) ac_abs_builddir="$ac_dir";;
40439 *)
40440 case "$ac_dir" in
40441 .) ac_abs_builddir=`pwd`;;
40442 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
40443 *) ac_abs_builddir=`pwd`/"$ac_dir";;
40444 esac;;
40445 esac
40446 case $ac_abs_builddir in
40447 .) ac_abs_top_builddir=${ac_top_builddir}.;;
40448 *)
40449 case ${ac_top_builddir}. in
40450 .) ac_abs_top_builddir=$ac_abs_builddir;;
40451 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
40452 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
40453 esac;;
40454 esac
40455 case $ac_abs_builddir in
40456 .) ac_abs_srcdir=$ac_srcdir;;
40457 *)
40458 case $ac_srcdir in
40459 .) ac_abs_srcdir=$ac_abs_builddir;;
40460 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
40461 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
40462 esac;;
40463 esac
40464 case $ac_abs_builddir in
40465 .) ac_abs_top_srcdir=$ac_top_srcdir;;
40466 *)
40467 case $ac_top_srcdir in
40468 .) ac_abs_top_srcdir=$ac_abs_builddir;;
40469 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
40470 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
40471 esac;;
40472 esac
40473
40474
40475 case $INSTALL in
40476 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
40477 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
40478 esac
40479
40480 if test x"$ac_file" != x-; then
40481 { echo "$as_me:$LINENO: creating $ac_file" >&5
40482 echo "$as_me: creating $ac_file" >&6;}
40483 rm -f "$ac_file"
40484 fi
40485 # Let's still pretend it is `configure' which instantiates (i.e., don't
40486 # use $as_me), people would be surprised to read:
40487 # /* config.h. Generated by config.status. */
40488 if test x"$ac_file" = x-; then
40489 configure_input=
40490 else
40491 configure_input="$ac_file. "
40492 fi
40493 configure_input=$configure_input"Generated from `echo $ac_file_in |
40494 sed 's,.*/,,'` by configure."
40495
40496 # First look for the input files in the build tree, otherwise in the
40497 # src tree.
40498 ac_file_inputs=`IFS=:
40499 for f in $ac_file_in; do
40500 case $f in
40501 -) echo $tmp/stdin ;;
40502 [\\/$]*)
40503 # Absolute (can't be DOS-style, as IFS=:)
40504 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40505 echo "$as_me: error: cannot find input file: $f" >&2;}
40506 { (exit 1); exit 1; }; }
40507 echo "$f";;
40508 *) # Relative
40509 if test -f "$f"; then
40510 # Build tree
40511 echo "$f"
40512 elif test -f "$srcdir/$f"; then
40513 # Source tree
40514 echo "$srcdir/$f"
40515 else
40516 # /dev/null tree
40517 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40518 echo "$as_me: error: cannot find input file: $f" >&2;}
40519 { (exit 1); exit 1; }; }
40520 fi;;
40521 esac
40522 done` || { (exit 1); exit 1; }
40523 _ACEOF
40524 cat >>$CONFIG_STATUS <<_ACEOF
40525 sed "$ac_vpsub
40526 $extrasub
40527 _ACEOF
40528 cat >>$CONFIG_STATUS <<\_ACEOF
40529 :t
40530 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
40531 s,@configure_input@,$configure_input,;t t
40532 s,@srcdir@,$ac_srcdir,;t t
40533 s,@abs_srcdir@,$ac_abs_srcdir,;t t
40534 s,@top_srcdir@,$ac_top_srcdir,;t t
40535 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
40536 s,@builddir@,$ac_builddir,;t t
40537 s,@abs_builddir@,$ac_abs_builddir,;t t
40538 s,@top_builddir@,$ac_top_builddir,;t t
40539 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
40540 s,@INSTALL@,$ac_INSTALL,;t t
40541 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
40542 rm -f $tmp/stdin
40543 if test x"$ac_file" != x-; then
40544 mv $tmp/out $ac_file
40545 else
40546 cat $tmp/out
40547 rm -f $tmp/out
40548 fi
40549
40550 done
40551 _ACEOF
40552 cat >>$CONFIG_STATUS <<\_ACEOF
40553
40554 #
40555 # CONFIG_HEADER section.
40556 #
40557
40558 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
40559 # NAME is the cpp macro being defined and VALUE is the value it is being given.
40560 #
40561 # ac_d sets the value in "#define NAME VALUE" lines.
40562 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
40563 ac_dB='[ ].*$,\1#\2'
40564 ac_dC=' '
40565 ac_dD=',;t'
40566 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
40567 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
40568 ac_uB='$,\1#\2define\3'
40569 ac_uC=' '
40570 ac_uD=',;t'
40571
40572 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
40573 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
40574 case $ac_file in
40575 - | *:- | *:-:* ) # input from stdin
40576 cat >$tmp/stdin
40577 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
40578 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
40579 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
40580 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
40581 * ) ac_file_in=$ac_file.in ;;
40582 esac
40583
40584 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
40585 echo "$as_me: creating $ac_file" >&6;}
40586
40587 # First look for the input files in the build tree, otherwise in the
40588 # src tree.
40589 ac_file_inputs=`IFS=:
40590 for f in $ac_file_in; do
40591 case $f in
40592 -) echo $tmp/stdin ;;
40593 [\\/$]*)
40594 # Absolute (can't be DOS-style, as IFS=:)
40595 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40596 echo "$as_me: error: cannot find input file: $f" >&2;}
40597 { (exit 1); exit 1; }; }
40598 # Do quote $f, to prevent DOS paths from being IFS'd.
40599 echo "$f";;
40600 *) # Relative
40601 if test -f "$f"; then
40602 # Build tree
40603 echo "$f"
40604 elif test -f "$srcdir/$f"; then
40605 # Source tree
40606 echo "$srcdir/$f"
40607 else
40608 # /dev/null tree
40609 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40610 echo "$as_me: error: cannot find input file: $f" >&2;}
40611 { (exit 1); exit 1; }; }
40612 fi;;
40613 esac
40614 done` || { (exit 1); exit 1; }
40615 # Remove the trailing spaces.
40616 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
40617
40618 _ACEOF
40619
40620 # Transform confdefs.h into two sed scripts, `conftest.defines' and
40621 # `conftest.undefs', that substitutes the proper values into
40622 # config.h.in to produce config.h. The first handles `#define'
40623 # templates, and the second `#undef' templates.
40624 # And first: Protect against being on the right side of a sed subst in
40625 # config.status. Protect against being in an unquoted here document
40626 # in config.status.
40627 rm -f conftest.defines conftest.undefs
40628 # Using a here document instead of a string reduces the quoting nightmare.
40629 # Putting comments in sed scripts is not portable.
40630 #
40631 # `end' is used to avoid that the second main sed command (meant for
40632 # 0-ary CPP macros) applies to n-ary macro definitions.
40633 # See the Autoconf documentation for `clear'.
40634 cat >confdef2sed.sed <<\_ACEOF
40635 s/[\\&,]/\\&/g
40636 s,[\\$`],\\&,g
40637 t clear
40638 : clear
40639 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
40640 t end
40641 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
40642 : end
40643 _ACEOF
40644 # If some macros were called several times there might be several times
40645 # the same #defines, which is useless. Nevertheless, we may not want to
40646 # sort them, since we want the *last* AC-DEFINE to be honored.
40647 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
40648 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
40649 rm -f confdef2sed.sed
40650
40651 # This sed command replaces #undef with comments. This is necessary, for
40652 # example, in the case of _POSIX_SOURCE, which is predefined and required
40653 # on some systems where configure will not decide to define it.
40654 cat >>conftest.undefs <<\_ACEOF
40655 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
40656 _ACEOF
40657
40658 # Break up conftest.defines because some shells have a limit on the size
40659 # of here documents, and old seds have small limits too (100 cmds).
40660 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
40661 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
40662 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
40663 echo ' :' >>$CONFIG_STATUS
40664 rm -f conftest.tail
40665 while grep . conftest.defines >/dev/null
40666 do
40667 # Write a limited-size here document to $tmp/defines.sed.
40668 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
40669 # Speed up: don't consider the non `#define' lines.
40670 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
40671 # Work around the forget-to-reset-the-flag bug.
40672 echo 't clr' >>$CONFIG_STATUS
40673 echo ': clr' >>$CONFIG_STATUS
40674 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
40675 echo 'CEOF
40676 sed -f $tmp/defines.sed $tmp/in >$tmp/out
40677 rm -f $tmp/in
40678 mv $tmp/out $tmp/in
40679 ' >>$CONFIG_STATUS
40680 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
40681 rm -f conftest.defines
40682 mv conftest.tail conftest.defines
40683 done
40684 rm -f conftest.defines
40685 echo ' fi # grep' >>$CONFIG_STATUS
40686 echo >>$CONFIG_STATUS
40687
40688 # Break up conftest.undefs because some shells have a limit on the size
40689 # of here documents, and old seds have small limits too (100 cmds).
40690 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
40691 rm -f conftest.tail
40692 while grep . conftest.undefs >/dev/null
40693 do
40694 # Write a limited-size here document to $tmp/undefs.sed.
40695 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
40696 # Speed up: don't consider the non `#undef'
40697 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
40698 # Work around the forget-to-reset-the-flag bug.
40699 echo 't clr' >>$CONFIG_STATUS
40700 echo ': clr' >>$CONFIG_STATUS
40701 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
40702 echo 'CEOF
40703 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
40704 rm -f $tmp/in
40705 mv $tmp/out $tmp/in
40706 ' >>$CONFIG_STATUS
40707 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
40708 rm -f conftest.undefs
40709 mv conftest.tail conftest.undefs
40710 done
40711 rm -f conftest.undefs
40712
40713 cat >>$CONFIG_STATUS <<\_ACEOF
40714 # Let's still pretend it is `configure' which instantiates (i.e., don't
40715 # use $as_me), people would be surprised to read:
40716 # /* config.h. Generated by config.status. */
40717 if test x"$ac_file" = x-; then
40718 echo "/* Generated by configure. */" >$tmp/config.h
40719 else
40720 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
40721 fi
40722 cat $tmp/in >>$tmp/config.h
40723 rm -f $tmp/in
40724 if test x"$ac_file" != x-; then
40725 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
40726 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
40727 echo "$as_me: $ac_file is unchanged" >&6;}
40728 else
40729 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
40730 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40731 X"$ac_file" : 'X\(//\)[^/]' \| \
40732 X"$ac_file" : 'X\(//\)$' \| \
40733 X"$ac_file" : 'X\(/\)' \| \
40734 . : '\(.\)' 2>/dev/null ||
40735 echo X"$ac_file" |
40736 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40737 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40738 /^X\(\/\/\)$/{ s//\1/; q; }
40739 /^X\(\/\).*/{ s//\1/; q; }
40740 s/.*/./; q'`
40741 { if $as_mkdir_p; then
40742 mkdir -p "$ac_dir"
40743 else
40744 as_dir="$ac_dir"
40745 as_dirs=
40746 while test ! -d "$as_dir"; do
40747 as_dirs="$as_dir $as_dirs"
40748 as_dir=`(dirname "$as_dir") 2>/dev/null ||
40749 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40750 X"$as_dir" : 'X\(//\)[^/]' \| \
40751 X"$as_dir" : 'X\(//\)$' \| \
40752 X"$as_dir" : 'X\(/\)' \| \
40753 . : '\(.\)' 2>/dev/null ||
40754 echo X"$as_dir" |
40755 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40756 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40757 /^X\(\/\/\)$/{ s//\1/; q; }
40758 /^X\(\/\).*/{ s//\1/; q; }
40759 s/.*/./; q'`
40760 done
40761 test ! -n "$as_dirs" || mkdir $as_dirs
40762 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40763 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40764 { (exit 1); exit 1; }; }; }
40765
40766 rm -f $ac_file
40767 mv $tmp/config.h $ac_file
40768 fi
40769 else
40770 cat $tmp/config.h
40771 rm -f $tmp/config.h
40772 fi
40773 done
40774 _ACEOF
40775 cat >>$CONFIG_STATUS <<\_ACEOF
40776
40777 #
40778 # CONFIG_COMMANDS section.
40779 #
40780 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
40781 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
40782 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
40783 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
40784 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40785 X"$ac_dest" : 'X\(//\)[^/]' \| \
40786 X"$ac_dest" : 'X\(//\)$' \| \
40787 X"$ac_dest" : 'X\(/\)' \| \
40788 . : '\(.\)' 2>/dev/null ||
40789 echo X"$ac_dest" |
40790 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40791 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40792 /^X\(\/\/\)$/{ s//\1/; q; }
40793 /^X\(\/\).*/{ s//\1/; q; }
40794 s/.*/./; q'`
40795 { if $as_mkdir_p; then
40796 mkdir -p "$ac_dir"
40797 else
40798 as_dir="$ac_dir"
40799 as_dirs=
40800 while test ! -d "$as_dir"; do
40801 as_dirs="$as_dir $as_dirs"
40802 as_dir=`(dirname "$as_dir") 2>/dev/null ||
40803 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40804 X"$as_dir" : 'X\(//\)[^/]' \| \
40805 X"$as_dir" : 'X\(//\)$' \| \
40806 X"$as_dir" : 'X\(/\)' \| \
40807 . : '\(.\)' 2>/dev/null ||
40808 echo X"$as_dir" |
40809 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40810 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40811 /^X\(\/\/\)$/{ s//\1/; q; }
40812 /^X\(\/\).*/{ s//\1/; q; }
40813 s/.*/./; q'`
40814 done
40815 test ! -n "$as_dirs" || mkdir $as_dirs
40816 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40817 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40818 { (exit 1); exit 1; }; }; }
40819
40820 ac_builddir=.
40821
40822 if test "$ac_dir" != .; then
40823 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
40824 # A "../" for each directory in $ac_dir_suffix.
40825 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
40826 else
40827 ac_dir_suffix= ac_top_builddir=
40828 fi
40829
40830 case $srcdir in
40831 .) # No --srcdir option. We are building in place.
40832 ac_srcdir=.
40833 if test -z "$ac_top_builddir"; then
40834 ac_top_srcdir=.
40835 else
40836 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
40837 fi ;;
40838 [\\/]* | ?:[\\/]* ) # Absolute path.
40839 ac_srcdir=$srcdir$ac_dir_suffix;
40840 ac_top_srcdir=$srcdir ;;
40841 *) # Relative path.
40842 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
40843 ac_top_srcdir=$ac_top_builddir$srcdir ;;
40844 esac
40845
40846 # Do not use `cd foo && pwd` to compute absolute paths, because
40847 # the directories may not exist.
40848 case `pwd` in
40849 .) ac_abs_builddir="$ac_dir";;
40850 *)
40851 case "$ac_dir" in
40852 .) ac_abs_builddir=`pwd`;;
40853 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
40854 *) ac_abs_builddir=`pwd`/"$ac_dir";;
40855 esac;;
40856 esac
40857 case $ac_abs_builddir in
40858 .) ac_abs_top_builddir=${ac_top_builddir}.;;
40859 *)
40860 case ${ac_top_builddir}. in
40861 .) ac_abs_top_builddir=$ac_abs_builddir;;
40862 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
40863 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
40864 esac;;
40865 esac
40866 case $ac_abs_builddir in
40867 .) ac_abs_srcdir=$ac_srcdir;;
40868 *)
40869 case $ac_srcdir in
40870 .) ac_abs_srcdir=$ac_abs_builddir;;
40871 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
40872 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
40873 esac;;
40874 esac
40875 case $ac_abs_builddir in
40876 .) ac_abs_top_srcdir=$ac_top_srcdir;;
40877 *)
40878 case $ac_top_srcdir in
40879 .) ac_abs_top_srcdir=$ac_abs_builddir;;
40880 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
40881 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
40882 esac;;
40883 esac
40884
40885
40886 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
40887 echo "$as_me: executing $ac_dest commands" >&6;}
40888 case $ac_dest in
40889 default )
40890 if test ! -h wx-config; then
40891 chmod +x wx-config
40892 mv wx-config wx${TOOLCHAIN_NAME}-config
40893 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
40894 fi
40895
40896 if test ! -d lib; then
40897 mkdir lib
40898 fi
40899 if test ! -d lib/wx; then
40900 mkdir lib/wx
40901 fi
40902 if test ! -d lib/wx/include; then
40903 mkdir lib/wx/include
40904 fi
40905 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
40906 mkdir lib/wx/include/${TOOLCHAIN_NAME}
40907 fi
40908 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
40909 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
40910 fi
40911 if test -f setup.h; then
40912 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
40913 fi
40914 ;;
40915 esac
40916 done
40917 _ACEOF
40918
40919 cat >>$CONFIG_STATUS <<\_ACEOF
40920
40921 { (exit 0); exit 0; }
40922 _ACEOF
40923 chmod +x $CONFIG_STATUS
40924 ac_clean_files=$ac_clean_files_save
40925
40926
40927 # configure is writing to config.log, and then calls config.status.
40928 # config.status does its own redirection, appending to config.log.
40929 # Unfortunately, on DOS this fails, as config.log is still kept open
40930 # by configure, so config.status won't be able to write to it; its
40931 # output is simply discarded. So we exec the FD to /dev/null,
40932 # effectively closing config.log, so it can be properly (re)opened and
40933 # appended to by config.status. When coming back to configure, we
40934 # need to make the FD available again.
40935 if test "$no_create" != yes; then
40936 ac_cs_success=:
40937 ac_config_status_args=
40938 test "$silent" = yes &&
40939 ac_config_status_args="$ac_config_status_args --quiet"
40940 exec 5>/dev/null
40941 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
40942 exec 5>>config.log
40943 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
40944 # would make configure fail if this is the last instruction.
40945 $ac_cs_success || { (exit 1); exit 1; }
40946 fi
40947
40948 #
40949 # CONFIG_SUBDIRS section.
40950 #
40951 if test "$no_recursion" != yes; then
40952
40953 # Remove --cache-file and --srcdir arguments so they do not pile up.
40954 ac_sub_configure_args=
40955 ac_prev=
40956 for ac_arg in $ac_configure_args; do
40957 if test -n "$ac_prev"; then
40958 ac_prev=
40959 continue
40960 fi
40961 case $ac_arg in
40962 -cache-file | --cache-file | --cache-fil | --cache-fi \
40963 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
40964 ac_prev=cache_file ;;
40965 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
40966 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
40967 | --c=*)
40968 ;;
40969 --config-cache | -C)
40970 ;;
40971 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
40972 ac_prev=srcdir ;;
40973 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
40974 ;;
40975 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
40976 ac_prev=prefix ;;
40977 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
40978 ;;
40979 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
40980 esac
40981 done
40982
40983 # Always prepend --prefix to ensure using the same prefix
40984 # in subdir configurations.
40985 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
40986
40987 ac_popdir=`pwd`
40988 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
40989
40990 # Do not complain, so a configure script can configure whichever
40991 # parts of a large source tree are present.
40992 test -d $srcdir/$ac_dir || continue
40993
40994 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
40995 echo "$as_me: configuring in $ac_dir" >&6;}
40996 { if $as_mkdir_p; then
40997 mkdir -p "$ac_dir"
40998 else
40999 as_dir="$ac_dir"
41000 as_dirs=
41001 while test ! -d "$as_dir"; do
41002 as_dirs="$as_dir $as_dirs"
41003 as_dir=`(dirname "$as_dir") 2>/dev/null ||
41004 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41005 X"$as_dir" : 'X\(//\)[^/]' \| \
41006 X"$as_dir" : 'X\(//\)$' \| \
41007 X"$as_dir" : 'X\(/\)' \| \
41008 . : '\(.\)' 2>/dev/null ||
41009 echo X"$as_dir" |
41010 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41011 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41012 /^X\(\/\/\)$/{ s//\1/; q; }
41013 /^X\(\/\).*/{ s//\1/; q; }
41014 s/.*/./; q'`
41015 done
41016 test ! -n "$as_dirs" || mkdir $as_dirs
41017 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41018 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41019 { (exit 1); exit 1; }; }; }
41020
41021 ac_builddir=.
41022
41023 if test "$ac_dir" != .; then
41024 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
41025 # A "../" for each directory in $ac_dir_suffix.
41026 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
41027 else
41028 ac_dir_suffix= ac_top_builddir=
41029 fi
41030
41031 case $srcdir in
41032 .) # No --srcdir option. We are building in place.
41033 ac_srcdir=.
41034 if test -z "$ac_top_builddir"; then
41035 ac_top_srcdir=.
41036 else
41037 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
41038 fi ;;
41039 [\\/]* | ?:[\\/]* ) # Absolute path.
41040 ac_srcdir=$srcdir$ac_dir_suffix;
41041 ac_top_srcdir=$srcdir ;;
41042 *) # Relative path.
41043 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
41044 ac_top_srcdir=$ac_top_builddir$srcdir ;;
41045 esac
41046
41047 # Do not use `cd foo && pwd` to compute absolute paths, because
41048 # the directories may not exist.
41049 case `pwd` in
41050 .) ac_abs_builddir="$ac_dir";;
41051 *)
41052 case "$ac_dir" in
41053 .) ac_abs_builddir=`pwd`;;
41054 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
41055 *) ac_abs_builddir=`pwd`/"$ac_dir";;
41056 esac;;
41057 esac
41058 case $ac_abs_builddir in
41059 .) ac_abs_top_builddir=${ac_top_builddir}.;;
41060 *)
41061 case ${ac_top_builddir}. in
41062 .) ac_abs_top_builddir=$ac_abs_builddir;;
41063 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
41064 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
41065 esac;;
41066 esac
41067 case $ac_abs_builddir in
41068 .) ac_abs_srcdir=$ac_srcdir;;
41069 *)
41070 case $ac_srcdir in
41071 .) ac_abs_srcdir=$ac_abs_builddir;;
41072 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
41073 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
41074 esac;;
41075 esac
41076 case $ac_abs_builddir in
41077 .) ac_abs_top_srcdir=$ac_top_srcdir;;
41078 *)
41079 case $ac_top_srcdir in
41080 .) ac_abs_top_srcdir=$ac_abs_builddir;;
41081 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
41082 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
41083 esac;;
41084 esac
41085
41086
41087 cd $ac_dir
41088
41089 # Check for guested configure; otherwise get Cygnus style configure.
41090 if test -f $ac_srcdir/configure.gnu; then
41091 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
41092 elif test -f $ac_srcdir/configure; then
41093 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
41094 elif test -f $ac_srcdir/configure.in; then
41095 ac_sub_configure=$ac_configure
41096 else
41097 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
41098 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
41099 ac_sub_configure=
41100 fi
41101
41102 # The recursion is here.
41103 if test -n "$ac_sub_configure"; then
41104 # Make the cache file name correct relative to the subdirectory.
41105 case $cache_file in
41106 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
41107 *) # Relative path.
41108 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
41109 esac
41110
41111 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
41112 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
41113 # The eval makes quoting arguments work.
41114 eval $ac_sub_configure $ac_sub_configure_args \
41115 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
41116 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
41117 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
41118 { (exit 1); exit 1; }; }
41119 fi
41120
41121 cd $ac_popdir
41122 done
41123 fi
41124
41125
41126 echo
41127 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
41128 echo ""
41129 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT_LOWERCASE:-base only}"
41130 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
41131
41132 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
41133 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
41134 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
41135
41136 echo " What level of wxWindows compatibility should be enabled?"
41137 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
41138 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
41139
41140 echo " Which libraries should wxWindows use?"
41141 echo " jpeg ${wxUSE_LIBJPEG-none}"
41142 echo " png ${wxUSE_LIBPNG-none}"
41143 echo " regex ${wxUSE_REGEX}"
41144 echo " tiff ${wxUSE_LIBTIFF-none}"
41145 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
41146 echo " xpm ${wxUSE_LIBXPM-none}"
41147 fi
41148 echo " zlib ${wxUSE_ZLIB}"
41149 echo " odbc ${wxUSE_ODBC}"
41150 echo " expat ${wxUSE_EXPAT}"
41151 echo " libmspack ${wxUSE_LIBMSPACK}"
41152 echo " sdl ${wxUSE_LIBSDL}"
41153
41154 echo ""
41155