]> git.saurik.com Git - wxWidgets.git/blob - configure
Use struct qualifier with objc_object (it is and always will be a struct)
[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 wxWidgets 2.5.3.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.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='wxWidgets'
272 PACKAGE_TARNAME='wxwidgets'
273 PACKAGE_VERSION='2.5.3'
274 PACKAGE_STRING='wxWidgets 2.5.3'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.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 WX_FLAVOUR WX_LIB_FLAVOUR 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 TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX PLATFORM_OS2 SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT 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_0_USE_XRC_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_SHARED_1_USE_XRC_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_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 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_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_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_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_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_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 COND_TOOLKIT_MAC_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM_WXUNIV_0 SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
317 ac_subst_files=''
318
319 # Initialize some variables set by options.
320 ac_init_help=
321 ac_init_version=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
324 cache_file=/dev/null
325 exec_prefix=NONE
326 no_create=
327 no_recursion=
328 prefix=NONE
329 program_prefix=NONE
330 program_suffix=NONE
331 program_transform_name=s,x,x,
332 silent=
333 site=
334 srcdir=
335 verbose=
336 x_includes=NONE
337 x_libraries=NONE
338
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir='${exec_prefix}/bin'
345 sbindir='${exec_prefix}/sbin'
346 libexecdir='${exec_prefix}/libexec'
347 datadir='${prefix}/share'
348 sysconfdir='${prefix}/etc'
349 sharedstatedir='${prefix}/com'
350 localstatedir='${prefix}/var'
351 libdir='${exec_prefix}/lib'
352 includedir='${prefix}/include'
353 oldincludedir='/usr/include'
354 infodir='${prefix}/info'
355 mandir='${prefix}/man'
356
357 ac_prev=
358 for ac_option
359 do
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
363 ac_prev=
364 continue
365 fi
366
367 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368
369 # Accept the important Cygnus configure options, so we can diagnose typos.
370
371 case $ac_option in
372
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 ac_prev=bindir ;;
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 bindir=$ac_optarg ;;
377
378 -build | --build | --buil | --bui | --bu)
379 ac_prev=build_alias ;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias=$ac_optarg ;;
382
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev=cache_file ;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file=$ac_optarg ;;
389
390 --config-cache | -C)
391 cache_file=config.cache ;;
392
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 ac_prev=datadir ;;
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 | --da=*)
397 datadir=$ac_optarg ;;
398
399 -disable-* | --disable-*)
400 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
407
408 -enable-* | --enable-*)
409 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415 case $ac_option in
416 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 *) ac_optarg=yes ;;
418 esac
419 eval "enable_$ac_feature='$ac_optarg'" ;;
420
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev=exec_prefix ;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix=$ac_optarg ;;
429
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
432 with_gas=yes ;;
433
434 -help | --help | --hel | --he | -h)
435 ac_init_help=long ;;
436 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
437 ac_init_help=recursive ;;
438 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
439 ac_init_help=short ;;
440
441 -host | --host | --hos | --ho)
442 ac_prev=host_alias ;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias=$ac_optarg ;;
445
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev=includedir ;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir=$ac_optarg ;;
452
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 ac_prev=infodir ;;
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir=$ac_optarg ;;
457
458 -libdir | --libdir | --libdi | --libd)
459 ac_prev=libdir ;;
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 libdir=$ac_optarg ;;
462
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev=libexecdir ;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir=$ac_optarg ;;
469
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev=localstatedir ;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir=$ac_optarg ;;
478
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 ac_prev=mandir ;;
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 mandir=$ac_optarg ;;
483
484 -nfp | --nfp | --nf)
485 # Obsolete; use --without-fp.
486 with_fp=no ;;
487
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
490 no_create=yes ;;
491
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 no_recursion=yes ;;
495
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev=oldincludedir ;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir=$ac_optarg ;;
504
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 ac_prev=prefix ;;
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 prefix=$ac_optarg ;;
509
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev=program_prefix ;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix=$ac_optarg ;;
516
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev=program_suffix ;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix=$ac_optarg ;;
523
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev=program_transform_name ;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name=$ac_optarg ;;
540
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
543 silent=yes ;;
544
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 ac_prev=sbindir ;;
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 | --sbi=* | --sb=*)
549 sbindir=$ac_optarg ;;
550
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
554 | --sha | --sh)
555 ac_prev=sharedstatedir ;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 | --sha=* | --sh=*)
560 sharedstatedir=$ac_optarg ;;
561
562 -site | --site | --sit)
563 ac_prev=site ;;
564 -site=* | --site=* | --sit=*)
565 site=$ac_optarg ;;
566
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 ac_prev=srcdir ;;
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 srcdir=$ac_optarg ;;
571
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev=sysconfdir ;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir=$ac_optarg ;;
578
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev=target_alias ;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias=$ac_optarg ;;
583
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 verbose=yes ;;
586
587 -version | --version | --versio | --versi | --vers | -V)
588 ac_init_version=: ;;
589
590 -with-* | --with-*)
591 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package=`echo $ac_package| sed 's/-/_/g'`
597 case $ac_option in
598 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 *) ac_optarg=yes ;;
600 esac
601 eval "with_$ac_package='$ac_optarg'" ;;
602
603 -without-* | --without-*)
604 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
611
612 --x)
613 # Obsolete; use --with-x.
614 with_x=yes ;;
615
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev=x_includes ;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes=$ac_optarg ;;
622
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev=x_libraries ;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries=$ac_optarg ;;
629
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
633 ;;
634
635 *=*)
636 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
643 export $ac_envvar ;;
644
645 *)
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 ;;
652
653 esac
654 done
655
656 if test -n "$ac_prev"; then
657 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
660 fi
661
662 # Be sure to have absolute paths.
663 for ac_var in exec_prefix prefix
664 do
665 eval ac_val=$`echo $ac_var`
666 case $ac_val in
667 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
670 esac
671 done
672
673 # Be sure to have absolute paths.
674 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
676 do
677 eval ac_val=$`echo $ac_var`
678 case $ac_val in
679 [\\/$]* | ?:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
682 esac
683 done
684
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
688 build=$build_alias
689 host=$host_alias
690 target=$target_alias
691
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x; then
694 if test "x$build_alias" = x; then
695 cross_compiling=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
699 cross_compiling=yes
700 fi
701 fi
702
703 ac_tool_prefix=
704 test -n "$host_alias" && ac_tool_prefix=$host_alias-
705
706 test "$silent" = yes && exec 6>/dev/null
707
708
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
719 echo X"$0" |
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
724 s/.*/./; q'`
725 srcdir=$ac_confdir
726 if test ! -r $srcdir/$ac_unique_file; then
727 srcdir=..
728 fi
729 else
730 ac_srcdir_defaulted=no
731 fi
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
736 else
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
739 fi
740 fi
741 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set=${build_alias+set}
746 ac_env_build_alias_value=$build_alias
747 ac_cv_env_build_alias_set=${build_alias+set}
748 ac_cv_env_build_alias_value=$build_alias
749 ac_env_host_alias_set=${host_alias+set}
750 ac_env_host_alias_value=$host_alias
751 ac_cv_env_host_alias_set=${host_alias+set}
752 ac_cv_env_host_alias_value=$host_alias
753 ac_env_target_alias_set=${target_alias+set}
754 ac_env_target_alias_value=$target_alias
755 ac_cv_env_target_alias_set=${target_alias+set}
756 ac_cv_env_target_alias_value=$target_alias
757 ac_env_CC_set=${CC+set}
758 ac_env_CC_value=$CC
759 ac_cv_env_CC_set=${CC+set}
760 ac_cv_env_CC_value=$CC
761 ac_env_CFLAGS_set=${CFLAGS+set}
762 ac_env_CFLAGS_value=$CFLAGS
763 ac_cv_env_CFLAGS_set=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value=$CFLAGS
765 ac_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_env_LDFLAGS_value=$LDFLAGS
767 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value=$LDFLAGS
769 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
773 ac_env_CPP_set=${CPP+set}
774 ac_env_CPP_value=$CPP
775 ac_cv_env_CPP_set=${CPP+set}
776 ac_cv_env_CPP_value=$CPP
777 ac_env_CXX_set=${CXX+set}
778 ac_env_CXX_value=$CXX
779 ac_cv_env_CXX_set=${CXX+set}
780 ac_cv_env_CXX_value=$CXX
781 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
785 ac_env_CXXCPP_set=${CXXCPP+set}
786 ac_env_CXXCPP_value=$CXXCPP
787 ac_cv_env_CXXCPP_set=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value=$CXXCPP
789
790 #
791 # Report the --help message.
792 #
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
796 cat <<_ACEOF
797 \`configure' configures wxWidgets 2.5.3 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 wxWidgets 2.5.3:";;
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 wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK+ 1.2 instead of 2.0
876 --enable-gpe use GNOME PDA Environment features if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets 2.2 compatibility
893 --disable-compat24 disable wxWidgets 2.4 compatibility
894 --enable-rpath=DIR output the rpath flag from wx-config
895 --enable-intl use internationalization system
896 --enable-config use wxConfig (and derived) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP (requires wxProtocol
899 --enable-http use wxHTTP (requires wxProtocol
900 --enable-fileproto use wxFileProto class (requires wxProtocol
901 --enable-sockets use socket/network classes
902 --enable-ole use OLE classes (Win32 only)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication (wxSocket etc.)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
907 --enable-cmdline use wxCmdLineParser class
908 --enable-datetime use wxDateTime class
909 --enable-dialupman use dialup network classes
910 --enable-dynlib use wxLibrary class for DLL loading
911 --enable-dynamicloader use (new) wxDynamicLibrary class
912 --enable-exceptions build exception-safe library
913 --enable-ffile use wxFFile class
914 --enable-file use wxFile class
915 --enable-filesystem use virtual file systems classes
916 --enable-fontmap use font encodings conversion classes
917 --enable-fs_inet use virtual HTTP/FTP filesystems
918 --enable-fs_zip use virtual ZIP filesystems
919 --enable-geometry use geometry class
920 --enable-log use logging system
921 --enable-longlong use wxLongLong class
922 --enable-mimetype use wxMimeTypesManager
923 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
924 --enable-snglinst use wxSingleInstanceChecker class
925 --enable-streams use wxStream etc classes
926 --enable-std_iostreams use standard C++ stream classes
927 --enable-stopwatch use wxStopWatch class
928 --enable-sysoptions use wxSystemOptions
929 --enable-textbuf use wxTextBuffer class
930 --enable-textfile use wxTextFile class
931 --enable-timer use wxTimer class
932 --enable-unicode compile wxString with Unicode support
933 --enable-sound use wxSound class
934 --enable-wxprintfv use wxWidgets implementation of vprintf()
935 --enable-zipstream use wxZipInputStream
936 --enable-url use wxURL class
937 --enable-protocol use wxProtocol class
938 --enable-protocol-http HTTP support in wxProtocol
939 --enable-protocol-ftp FTP support in wxProtocol
940 --enable-protocol-file FILE support in wxProtocol
941 --enable-threads use threads
942 --enable-docview use document view architecture
943 --enable-help use help subsystem
944 --enable-mshtmlhelp use MS HTML Help (win32)
945 --enable-html use wxHTML sub-library
946 --enable-htmlhelp use wxHTML-based help
947 --enable-xrc use XRC resources sub-library
948 --enable-constraints use layout-constraints system
949 --enable-printarch use printing architecture
950 --enable-mdi use multiple document interface architecture
951 --enable-mdidoc use docview architecture with MDI
952 --enable-loggui use standard GUI logger
953 --enable-logwin use wxLogWindow
954 --enable-logdialog use wxLogDialog
955 --enable-webkit use wxWebKitCtrl (Mac)
956 --enable-postscript use wxPostscriptDC device context (default for gtk+)
957 --enable-prologio not available; see contrib
958 --enable-resources not available; see contrib
959 --enable-clipboard use wxClipboard class
960 --enable-dnd use Drag'n'Drop classes
961 --enable-metafile use win32 metafiles
962 --enable-controls use all usual controls
963 --enable-accel use accelerators
964 --enable-button use wxButton class
965 --enable-bmpbutton use wxBitmapButton class
966 --enable-calendar use wxCalendarCtrl class
967 --enable-caret use wxCaret class
968 --enable-checkbox use wxCheckBox class
969 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
970 --enable-choice use wxChoice class
971 --enable-choicebook use wxChoicebook class
972 --enable-combobox use wxComboBox class
973 --enable-display use wxDisplay class
974 --enable-gauge use wxGauge class
975 --enable-grid use wxGrid class
976 --enable-imaglist use wxImageList class
977 --enable-listbook use wxListbook class
978 --enable-listbox use wxListBox class
979 --enable-listctrl use wxListCtrl class
980 --enable-notebook use wxNotebook class
981 --enable-radiobox use wxRadioBox class
982 --enable-radiobtn use wxRadioButton class
983 --enable-sash use wxSashWindow class
984 --enable-scrollbar use wxScrollBar class and scrollable windows
985 --enable-slider use wxSlider class
986 --enable-spinbtn use wxSpinButton class
987 --enable-spinctrl use wxSpinCtrl class
988 --enable-splitter use wxSplitterWindow class
989 --enable-statbmp use wxStaticBitmap class
990 --enable-statbox use wxStaticBox class
991 --enable-statline use wxStaticLine class
992 --enable-stattext use wxStaticText class
993 --enable-statusbar use wxStatusBar class
994 --enable-tabdialog use wxTabControl class
995 --enable-textctrl use wxTextCtrl class
996 --enable-togglebtn use wxToggleButton class
997 --enable-toolbar use wxToolBar class
998 --enable-tbarnative use native wxToolBar class
999 --enable-tbarsmpl use wxToolBarSimple class
1000 --enable-treectrl use wxTreeCtrl class
1001 --enable-tipwindow use wxTipWindow class
1002 --enable-popupwin use wxPopUpWindow class
1003 --enable-commondlg use all common dialogs
1004 --enable-choicedlg use wxChoiceDialog
1005 --enable-coldlg use wxColourDialog
1006 --enable-filedlg use wxFileDialog
1007 --enable-finddlg use wxFindReplaceDialog
1008 --enable-fontdlg use wxFontDialog
1009 --enable-dirdlg use wxDirDialog
1010 --enable-msgdlg use wxMessageDialog
1011 --enable-numberdlg use wxNumberEntryDialog
1012 --enable-splash use wxSplashScreen
1013 --enable-textdlg use wxTextDialog
1014 --enable-tipdlg use startup tips
1015 --enable-progressdlg use wxProgressDialog
1016 --enable-wizarddlg use wxWizard
1017 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1018 --enable-miniframe use wxMiniFrame class
1019 --enable-tooltips use wxToolTip class
1020 --enable-splines use spline drawing code
1021 --enable-validators use wxValidator and derived classes
1022 --enable-busyinfo use wxBusyInfo
1023 --enable-joystick use wxJoystick (Linux only)
1024 --enable-metafiles use wxMetaFile (Windows only)
1025 --enable-dragimage use wxDragImage
1026 --enable-accessibility enable accessibility support
1027 --enable-palette use wxPalette class
1028 --enable-image use wxImage class
1029 --enable-gif use gif images (GIF file format)
1030 --enable-pcx use pcx images (PCX file format)
1031 --enable-iff use iff images (IFF file format)
1032 --enable-pnm use pnm images (PNM file format)
1033 --enable-xpm use xpm images (XPM file format)
1034 --enable-icocur use Windows ICO and CUR formats
1035 --enable-official_build official build of wxWidgets (win32 DLL only)
1036 --enable-vendor=VENDOR vendor name (win32 DLL only)
1037 --disable-largefile omit support for large files
1038 --disable-gtktest do not try to compile and run a test GTK+ program
1039 --disable-gtktest Do not try to compile and run a test GTK program
1040 --disable-sdltest Do not try to compile and run a test SDL program
1041 --enable-omf use OMF object format (OS/2)
1042 --disable-precomp-headers
1043 don't use precompiled headers even if compiler can
1044
1045 Optional Packages:
1046 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1047 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1048 --with-gtk use GTK+
1049 --with-motif use Motif/Lesstif
1050 --with-mac use Mac OS X
1051 --with-cocoa use Cocoa
1052 --with-wine use Wine
1053 --with-msw use MS-Windows
1054 --with-pm use OS/2 Presentation Manager
1055 --with-mgl use SciTech MGL
1056 --with-microwin use MicroWindows
1057 --with-x11 use X11
1058 --with-libpng use libpng (PNG image format)
1059 --with-libjpeg use libjpeg (JPEG file format)
1060 --with-libtiff use libtiff (TIFF file format)
1061 --with-libxpm use libxpm (XPM file format)
1062 --with-libmspack use libmspack (CHM help files loading)
1063 --with-sdl use SDL for audio on Unix
1064 --with-opengl use OpenGL (or Mesa)
1065 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1066 --with-regex enable support for wxRegEx class
1067 --with-zlib use zlib for LZW compression
1068 --with-odbc use the IODBC and wxODBC classes
1069 --with-expat enable XML support using expat parser
1070 --with-flavour=NAME specify a name to identify this build
1071 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1072 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1073 --with-x use the X Window System
1074 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1075 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1076 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1077 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1078 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1079
1080 Some influential environment variables:
1081 CC C compiler command
1082 CFLAGS C compiler flags
1083 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1084 nonstandard directory <lib dir>
1085 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1086 headers in a nonstandard directory <include dir>
1087 CPP C preprocessor
1088 CXX C++ compiler command
1089 CXXFLAGS C++ compiler flags
1090 CXXCPP C++ preprocessor
1091
1092 Use these variables to override the choices made by `configure' or to help
1093 it to find libraries and programs with nonstandard names/locations.
1094
1095 Report bugs to <wx-dev@lists.wxwidgets.org>.
1096 _ACEOF
1097 fi
1098
1099 if test "$ac_init_help" = "recursive"; then
1100 # If there are subdirs, report their specific --help.
1101 ac_popdir=`pwd`
1102 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1103 test -d $ac_dir || continue
1104 ac_builddir=.
1105
1106 if test "$ac_dir" != .; then
1107 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1108 # A "../" for each directory in $ac_dir_suffix.
1109 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1110 else
1111 ac_dir_suffix= ac_top_builddir=
1112 fi
1113
1114 case $srcdir in
1115 .) # No --srcdir option. We are building in place.
1116 ac_srcdir=.
1117 if test -z "$ac_top_builddir"; then
1118 ac_top_srcdir=.
1119 else
1120 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1121 fi ;;
1122 [\\/]* | ?:[\\/]* ) # Absolute path.
1123 ac_srcdir=$srcdir$ac_dir_suffix;
1124 ac_top_srcdir=$srcdir ;;
1125 *) # Relative path.
1126 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1127 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1128 esac
1129
1130 # Do not use `cd foo && pwd` to compute absolute paths, because
1131 # the directories may not exist.
1132 case `pwd` in
1133 .) ac_abs_builddir="$ac_dir";;
1134 *)
1135 case "$ac_dir" in
1136 .) ac_abs_builddir=`pwd`;;
1137 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1138 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1139 esac;;
1140 esac
1141 case $ac_abs_builddir in
1142 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1143 *)
1144 case ${ac_top_builddir}. in
1145 .) ac_abs_top_builddir=$ac_abs_builddir;;
1146 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1147 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1148 esac;;
1149 esac
1150 case $ac_abs_builddir in
1151 .) ac_abs_srcdir=$ac_srcdir;;
1152 *)
1153 case $ac_srcdir in
1154 .) ac_abs_srcdir=$ac_abs_builddir;;
1155 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1156 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1157 esac;;
1158 esac
1159 case $ac_abs_builddir in
1160 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1161 *)
1162 case $ac_top_srcdir in
1163 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1164 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1165 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1166 esac;;
1167 esac
1168
1169 cd $ac_dir
1170 # Check for guested configure; otherwise get Cygnus style configure.
1171 if test -f $ac_srcdir/configure.gnu; then
1172 echo
1173 $SHELL $ac_srcdir/configure.gnu --help=recursive
1174 elif test -f $ac_srcdir/configure; then
1175 echo
1176 $SHELL $ac_srcdir/configure --help=recursive
1177 elif test -f $ac_srcdir/configure.ac ||
1178 test -f $ac_srcdir/configure.in; then
1179 echo
1180 $ac_configure --help
1181 else
1182 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1183 fi
1184 cd "$ac_popdir"
1185 done
1186 fi
1187
1188 test -n "$ac_init_help" && exit 0
1189 if $ac_init_version; then
1190 cat <<\_ACEOF
1191 wxWidgets configure 2.5.3
1192 generated by GNU Autoconf 2.59
1193
1194 Copyright (C) 2003 Free Software Foundation, Inc.
1195 This configure script is free software; the Free Software Foundation
1196 gives unlimited permission to copy, distribute and modify it.
1197 _ACEOF
1198 exit 0
1199 fi
1200 exec 5>config.log
1201 cat >&5 <<_ACEOF
1202 This file contains any messages produced by compilers while
1203 running configure, to aid debugging if configure makes a mistake.
1204
1205 It was created by wxWidgets $as_me 2.5.3, which was
1206 generated by GNU Autoconf 2.59. Invocation command line was
1207
1208 $ $0 $@
1209
1210 _ACEOF
1211 {
1212 cat <<_ASUNAME
1213 ## --------- ##
1214 ## Platform. ##
1215 ## --------- ##
1216
1217 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1218 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1219 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1220 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1221 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1222
1223 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1224 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1225
1226 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1227 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1228 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1229 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1230 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1231 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1232 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1233
1234 _ASUNAME
1235
1236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1237 for as_dir in $PATH
1238 do
1239 IFS=$as_save_IFS
1240 test -z "$as_dir" && as_dir=.
1241 echo "PATH: $as_dir"
1242 done
1243
1244 } >&5
1245
1246 cat >&5 <<_ACEOF
1247
1248
1249 ## ----------- ##
1250 ## Core tests. ##
1251 ## ----------- ##
1252
1253 _ACEOF
1254
1255
1256 # Keep a trace of the command line.
1257 # Strip out --no-create and --no-recursion so they do not pile up.
1258 # Strip out --silent because we don't want to record it for future runs.
1259 # Also quote any args containing shell meta-characters.
1260 # Make two passes to allow for proper duplicate-argument suppression.
1261 ac_configure_args=
1262 ac_configure_args0=
1263 ac_configure_args1=
1264 ac_sep=
1265 ac_must_keep_next=false
1266 for ac_pass in 1 2
1267 do
1268 for ac_arg
1269 do
1270 case $ac_arg in
1271 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1272 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1273 | -silent | --silent | --silen | --sile | --sil)
1274 continue ;;
1275 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1276 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1277 esac
1278 case $ac_pass in
1279 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1280 2)
1281 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1282 if test $ac_must_keep_next = true; then
1283 ac_must_keep_next=false # Got value, back to normal.
1284 else
1285 case $ac_arg in
1286 *=* | --config-cache | -C | -disable-* | --disable-* \
1287 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1288 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1289 | -with-* | --with-* | -without-* | --without-* | --x)
1290 case "$ac_configure_args0 " in
1291 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1292 esac
1293 ;;
1294 -* ) ac_must_keep_next=true ;;
1295 esac
1296 fi
1297 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1298 # Get rid of the leading space.
1299 ac_sep=" "
1300 ;;
1301 esac
1302 done
1303 done
1304 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1305 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1306
1307 # When interrupted or exit'd, cleanup temporary files, and complete
1308 # config.log. We remove comments because anyway the quotes in there
1309 # would cause problems or look ugly.
1310 # WARNING: Be sure not to use single quotes in there, as some shells,
1311 # such as our DU 5.0 friend, will then `close' the trap.
1312 trap 'exit_status=$?
1313 # Save into config.log some information that might help in debugging.
1314 {
1315 echo
1316
1317 cat <<\_ASBOX
1318 ## ---------------- ##
1319 ## Cache variables. ##
1320 ## ---------------- ##
1321 _ASBOX
1322 echo
1323 # The following way of writing the cache mishandles newlines in values,
1324 {
1325 (set) 2>&1 |
1326 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1327 *ac_space=\ *)
1328 sed -n \
1329 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1330 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1331 ;;
1332 *)
1333 sed -n \
1334 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1335 ;;
1336 esac;
1337 }
1338 echo
1339
1340 cat <<\_ASBOX
1341 ## ----------------- ##
1342 ## Output variables. ##
1343 ## ----------------- ##
1344 _ASBOX
1345 echo
1346 for ac_var in $ac_subst_vars
1347 do
1348 eval ac_val=$`echo $ac_var`
1349 echo "$ac_var='"'"'$ac_val'"'"'"
1350 done | sort
1351 echo
1352
1353 if test -n "$ac_subst_files"; then
1354 cat <<\_ASBOX
1355 ## ------------- ##
1356 ## Output files. ##
1357 ## ------------- ##
1358 _ASBOX
1359 echo
1360 for ac_var in $ac_subst_files
1361 do
1362 eval ac_val=$`echo $ac_var`
1363 echo "$ac_var='"'"'$ac_val'"'"'"
1364 done | sort
1365 echo
1366 fi
1367
1368 if test -s confdefs.h; then
1369 cat <<\_ASBOX
1370 ## ----------- ##
1371 ## confdefs.h. ##
1372 ## ----------- ##
1373 _ASBOX
1374 echo
1375 sed "/^$/d" confdefs.h | sort
1376 echo
1377 fi
1378 test "$ac_signal" != 0 &&
1379 echo "$as_me: caught signal $ac_signal"
1380 echo "$as_me: exit $exit_status"
1381 } >&5
1382 rm -f core *.core &&
1383 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1384 exit $exit_status
1385 ' 0
1386 for ac_signal in 1 2 13 15; do
1387 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1388 done
1389 ac_signal=0
1390
1391 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1392 rm -rf conftest* confdefs.h
1393 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1394 echo >confdefs.h
1395
1396 # Predefined preprocessor variables.
1397
1398 cat >>confdefs.h <<_ACEOF
1399 #define PACKAGE_NAME "$PACKAGE_NAME"
1400 _ACEOF
1401
1402
1403 cat >>confdefs.h <<_ACEOF
1404 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1405 _ACEOF
1406
1407
1408 cat >>confdefs.h <<_ACEOF
1409 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1410 _ACEOF
1411
1412
1413 cat >>confdefs.h <<_ACEOF
1414 #define PACKAGE_STRING "$PACKAGE_STRING"
1415 _ACEOF
1416
1417
1418 cat >>confdefs.h <<_ACEOF
1419 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1420 _ACEOF
1421
1422
1423 # Let the site file select an alternate cache file if it wants to.
1424 # Prefer explicitly selected file to automatically selected ones.
1425 if test -z "$CONFIG_SITE"; then
1426 if test "x$prefix" != xNONE; then
1427 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1428 else
1429 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1430 fi
1431 fi
1432 for ac_site_file in $CONFIG_SITE; do
1433 if test -r "$ac_site_file"; then
1434 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1435 echo "$as_me: loading site script $ac_site_file" >&6;}
1436 sed 's/^/| /' "$ac_site_file" >&5
1437 . "$ac_site_file"
1438 fi
1439 done
1440
1441 if test -r "$cache_file"; then
1442 # Some versions of bash will fail to source /dev/null (special
1443 # files actually), so we avoid doing that.
1444 if test -f "$cache_file"; then
1445 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1446 echo "$as_me: loading cache $cache_file" >&6;}
1447 case $cache_file in
1448 [\\/]* | ?:[\\/]* ) . $cache_file;;
1449 *) . ./$cache_file;;
1450 esac
1451 fi
1452 else
1453 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1454 echo "$as_me: creating cache $cache_file" >&6;}
1455 >$cache_file
1456 fi
1457
1458 # Check that the precious variables saved in the cache have kept the same
1459 # value.
1460 ac_cache_corrupted=false
1461 for ac_var in `(set) 2>&1 |
1462 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1463 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1464 eval ac_new_set=\$ac_env_${ac_var}_set
1465 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1466 eval ac_new_val="\$ac_env_${ac_var}_value"
1467 case $ac_old_set,$ac_new_set in
1468 set,)
1469 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1470 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1471 ac_cache_corrupted=: ;;
1472 ,set)
1473 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1474 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1475 ac_cache_corrupted=: ;;
1476 ,);;
1477 *)
1478 if test "x$ac_old_val" != "x$ac_new_val"; then
1479 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1480 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1481 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1482 echo "$as_me: former value: $ac_old_val" >&2;}
1483 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1484 echo "$as_me: current value: $ac_new_val" >&2;}
1485 ac_cache_corrupted=:
1486 fi;;
1487 esac
1488 # Pass precious variables to config.status.
1489 if test "$ac_new_set" = set; then
1490 case $ac_new_val in
1491 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1492 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1493 *) ac_arg=$ac_var=$ac_new_val ;;
1494 esac
1495 case " $ac_configure_args " in
1496 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1497 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1498 esac
1499 fi
1500 done
1501 if $ac_cache_corrupted; then
1502 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1503 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1504 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1505 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1506 { (exit 1); exit 1; }; }
1507 fi
1508
1509 ac_ext=c
1510 ac_cpp='$CPP $CPPFLAGS'
1511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544 ac_aux_dir=
1545 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1546 if test -f $ac_dir/install-sh; then
1547 ac_aux_dir=$ac_dir
1548 ac_install_sh="$ac_aux_dir/install-sh -c"
1549 break
1550 elif test -f $ac_dir/install.sh; then
1551 ac_aux_dir=$ac_dir
1552 ac_install_sh="$ac_aux_dir/install.sh -c"
1553 break
1554 elif test -f $ac_dir/shtool; then
1555 ac_aux_dir=$ac_dir
1556 ac_install_sh="$ac_aux_dir/shtool install -c"
1557 break
1558 fi
1559 done
1560 if test -z "$ac_aux_dir"; then
1561 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1562 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1563 { (exit 1); exit 1; }; }
1564 fi
1565 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1566 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1567 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1568
1569 # Make sure we can run config.sub.
1570 $ac_config_sub sun4 >/dev/null 2>&1 ||
1571 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1572 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1573 { (exit 1); exit 1; }; }
1574
1575 echo "$as_me:$LINENO: checking build system type" >&5
1576 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1577 if test "${ac_cv_build+set}" = set; then
1578 echo $ECHO_N "(cached) $ECHO_C" >&6
1579 else
1580 ac_cv_build_alias=$build_alias
1581 test -z "$ac_cv_build_alias" &&
1582 ac_cv_build_alias=`$ac_config_guess`
1583 test -z "$ac_cv_build_alias" &&
1584 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1585 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1586 { (exit 1); exit 1; }; }
1587 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1588 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1589 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1590 { (exit 1); exit 1; }; }
1591
1592 fi
1593 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1594 echo "${ECHO_T}$ac_cv_build" >&6
1595 build=$ac_cv_build
1596 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1597 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1598 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1599
1600
1601 echo "$as_me:$LINENO: checking host system type" >&5
1602 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1603 if test "${ac_cv_host+set}" = set; then
1604 echo $ECHO_N "(cached) $ECHO_C" >&6
1605 else
1606 ac_cv_host_alias=$host_alias
1607 test -z "$ac_cv_host_alias" &&
1608 ac_cv_host_alias=$ac_cv_build_alias
1609 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1610 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1611 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1612 { (exit 1); exit 1; }; }
1613
1614 fi
1615 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1616 echo "${ECHO_T}$ac_cv_host" >&6
1617 host=$ac_cv_host
1618 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1619 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1620 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1621
1622
1623 echo "$as_me:$LINENO: checking target system type" >&5
1624 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1625 if test "${ac_cv_target+set}" = set; then
1626 echo $ECHO_N "(cached) $ECHO_C" >&6
1627 else
1628 ac_cv_target_alias=$target_alias
1629 test "x$ac_cv_target_alias" = "x" &&
1630 ac_cv_target_alias=$ac_cv_host_alias
1631 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1632 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1633 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1634 { (exit 1); exit 1; }; }
1635
1636 fi
1637 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1638 echo "${ECHO_T}$ac_cv_target" >&6
1639 target=$ac_cv_target
1640 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1641 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1642 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1643
1644
1645 # The aliases save the names the user supplied, while $host etc.
1646 # will get canonicalized.
1647 test -n "$target_alias" &&
1648 test "$program_prefix$program_suffix$program_transform_name" = \
1649 NONENONEs,x,x, &&
1650 program_prefix=${target_alias}-
1651
1652
1653
1654 wx_major_version_number=2
1655 wx_minor_version_number=5
1656 wx_release_number=3
1657 wx_subrelease_number=0
1658
1659 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1660 WX_VERSION=$WX_RELEASE.$wx_release_number
1661 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1662
1663 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1664
1665 WX_CURRENT=3
1666 WX_REVISION=0
1667 WX_AGE=0
1668
1669
1670
1671 USE_UNIX=1
1672 USE_OS2=0
1673 USE_WIN32=0
1674 USE_DOS=0
1675 USE_BEOS=0
1676 USE_MAC=0
1677
1678 USE_AIX=
1679 USE_BSD= USE_DARWIN= USE_FREEBSD=
1680 USE_GNU= USE_HPUX=
1681 USE_LINUX=
1682 USE_NETBSD=
1683 USE_OPENBSD=
1684 USE_OSF= USE_SGI=
1685 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1686 USE_ULTRIX=
1687 USE_UNIXWARE=
1688
1689 USE_ALPHA=
1690
1691 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1692
1693 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1694
1695 DEFAULT_wxUSE_COCOA=0
1696 DEFAULT_wxUSE_GTK=0
1697 DEFAULT_wxUSE_MAC=0
1698 DEFAULT_wxUSE_MGL=0
1699 DEFAULT_wxUSE_MICROWIN=0
1700 DEFAULT_wxUSE_MOTIF=0
1701 DEFAULT_wxUSE_MSW=0
1702 DEFAULT_wxUSE_PM=0
1703 DEFAULT_wxUSE_X11=0
1704
1705 DEFAULT_DEFAULT_wxUSE_COCOA=0
1706 DEFAULT_DEFAULT_wxUSE_GTK=0
1707 DEFAULT_DEFAULT_wxUSE_MAC=0
1708 DEFAULT_DEFAULT_wxUSE_MGL=0
1709 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1710 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1711 DEFAULT_DEFAULT_wxUSE_MSW=0
1712 DEFAULT_DEFAULT_wxUSE_PM=0
1713 DEFAULT_DEFAULT_wxUSE_X11=0
1714
1715 PROGRAM_EXT=
1716 SO_SUFFIX=so
1717 SAMPLES_RPATH_FLAG=
1718 SAMPLES_RPATH_POSTLINK=
1719
1720 case "${host}" in
1721 *-hp-hpux* )
1722 USE_HPUX=1
1723 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1724 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1725 SO_SUFFIX=sl
1726 cat >>confdefs.h <<\_ACEOF
1727 #define __HPUX__ 1
1728 _ACEOF
1729
1730 ;;
1731 *-*-linux* )
1732 USE_LINUX=1
1733 cat >>confdefs.h <<\_ACEOF
1734 #define __LINUX__ 1
1735 _ACEOF
1736
1737 TMP=`uname -m`
1738 if test "x$TMP" = "xalpha"; then
1739 USE_ALPHA=1
1740 cat >>confdefs.h <<\_ACEOF
1741 #define __ALPHA__ 1
1742 _ACEOF
1743
1744 fi
1745 DEFAULT_DEFAULT_wxUSE_GTK=1
1746 ;;
1747 *-*-gnu* | *-*-k*bsd*-gnu )
1748 USE_GNU=1
1749 TMP=`uname -m`
1750 if test "x$TMP" = "xalpha"; then
1751 USE_ALPHA=1
1752 cat >>confdefs.h <<\_ACEOF
1753 #define __ALPHA__ 1
1754 _ACEOF
1755
1756 fi
1757 DEFAULT_DEFAULT_wxUSE_GTK=1
1758 ;;
1759 *-*-irix5* | *-*-irix6* )
1760 USE_SGI=1
1761 USE_SVR4=1
1762 cat >>confdefs.h <<\_ACEOF
1763 #define __SGI__ 1
1764 _ACEOF
1765
1766 cat >>confdefs.h <<\_ACEOF
1767 #define __SVR4__ 1
1768 _ACEOF
1769
1770 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1771 ;;
1772 *-*-solaris2* )
1773 USE_SUN=1
1774 USE_SOLARIS=1
1775 USE_SVR4=1
1776 cat >>confdefs.h <<\_ACEOF
1777 #define __SUN__ 1
1778 _ACEOF
1779
1780 cat >>confdefs.h <<\_ACEOF
1781 #define __SOLARIS__ 1
1782 _ACEOF
1783
1784 cat >>confdefs.h <<\_ACEOF
1785 #define __SVR4__ 1
1786 _ACEOF
1787
1788 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1789 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1790 ;;
1791 *-*-sunos4* )
1792 USE_SUN=1
1793 USE_SUNOS=1
1794 USE_BSD=1
1795 cat >>confdefs.h <<\_ACEOF
1796 #define __SUN__ 1
1797 _ACEOF
1798
1799 cat >>confdefs.h <<\_ACEOF
1800 #define __SUNOS__ 1
1801 _ACEOF
1802
1803 cat >>confdefs.h <<\_ACEOF
1804 #define __BSD__ 1
1805 _ACEOF
1806
1807 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1808 ;;
1809 *-*-freebsd*)
1810 USE_BSD=1
1811 USE_FREEBSD=1
1812 cat >>confdefs.h <<\_ACEOF
1813 #define __FREEBSD__ 1
1814 _ACEOF
1815
1816 cat >>confdefs.h <<\_ACEOF
1817 #define __BSD__ 1
1818 _ACEOF
1819
1820 DEFAULT_DEFAULT_wxUSE_GTK=1
1821 ;;
1822 *-*-openbsd*)
1823 USE_BSD=1
1824 USE_OPENBSD=1
1825 cat >>confdefs.h <<\_ACEOF
1826 #define __OPENBSD__ 1
1827 _ACEOF
1828
1829 cat >>confdefs.h <<\_ACEOF
1830 #define __BSD__ 1
1831 _ACEOF
1832
1833 DEFAULT_DEFAULT_wxUSE_GTK=1
1834 ;;
1835 *-*-netbsd*)
1836 USE_BSD=1
1837 USE_NETBSD=1
1838 cat >>confdefs.h <<\_ACEOF
1839 #define __NETBSD__ 1
1840 _ACEOF
1841
1842 cat >>confdefs.h <<\_ACEOF
1843 #define __BSD__ 1
1844 _ACEOF
1845
1846 DEFAULT_DEFAULT_wxUSE_GTK=1
1847 ;;
1848 *-*-osf* )
1849 USE_ALPHA=1
1850 USE_OSF=1
1851 cat >>confdefs.h <<\_ACEOF
1852 #define __ALPHA__ 1
1853 _ACEOF
1854
1855 cat >>confdefs.h <<\_ACEOF
1856 #define __OSF__ 1
1857 _ACEOF
1858
1859 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1860 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1861 ;;
1862 *-*-dgux5* )
1863 USE_ALPHA=1
1864 USE_SVR4=1
1865 cat >>confdefs.h <<\_ACEOF
1866 #define __ALPHA__ 1
1867 _ACEOF
1868
1869 cat >>confdefs.h <<\_ACEOF
1870 #define __SVR4__ 1
1871 _ACEOF
1872
1873 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1874 ;;
1875 *-*-sysv5* )
1876 USE_SYSV=1
1877 USE_SVR4=1
1878 cat >>confdefs.h <<\_ACEOF
1879 #define __SYSV__ 1
1880 _ACEOF
1881
1882 cat >>confdefs.h <<\_ACEOF
1883 #define __SVR4__ 1
1884 _ACEOF
1885
1886 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1887 ;;
1888 *-*-aix* )
1889 USE_AIX=1
1890 USE_SYSV=1
1891 USE_SVR4=1
1892 SO_SUFFIX=a
1893 cat >>confdefs.h <<\_ACEOF
1894 #define __AIX__ 1
1895 _ACEOF
1896
1897 cat >>confdefs.h <<\_ACEOF
1898 #define __SYSV__ 1
1899 _ACEOF
1900
1901 cat >>confdefs.h <<\_ACEOF
1902 #define __SVR4__ 1
1903 _ACEOF
1904
1905 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1906 ;;
1907
1908 *-*-*UnixWare*)
1909 USE_SYSV=1
1910 USE_SVR4=1
1911 USE_UNIXWARE=1
1912 cat >>confdefs.h <<\_ACEOF
1913 #define __UNIXWARE__ 1
1914 _ACEOF
1915
1916 ;;
1917
1918 *-*-cygwin* | *-*-mingw32* )
1919 SO_SUFFIX=dll
1920 PROGRAM_EXT=".exe"
1921 RESCOMP=windres
1922 DEFAULT_DEFAULT_wxUSE_MSW=1
1923 ;;
1924
1925 *-pc-msdosdjgpp )
1926 USE_UNIX=0
1927 USE_DOS=1
1928 cat >>confdefs.h <<\_ACEOF
1929 #define __DOS__ 1
1930 _ACEOF
1931
1932 PROGRAM_EXT=".exe"
1933 DEFAULT_DEFAULT_wxUSE_MGL=1
1934 LIBS="$LIBS -lstdc++"
1935 ;;
1936
1937 *-pc-os2_emx | *-pc-os2-emx )
1938 cat >>confdefs.h <<\_ACEOF
1939 #define __EMX__ 1
1940 _ACEOF
1941
1942 USE_OS2=1
1943 cat >>confdefs.h <<\_ACEOF
1944 #define __OS2__ 1
1945 _ACEOF
1946
1947 PROGRAM_EXT=".exe"
1948 DEFAULT_DEFAULT_wxUSE_PM=1
1949 CXX=gcc
1950 LDFLAGS="$LDFLAGS -Zcrtdll"
1951 ac_executable_extensions=".exe"
1952 export ac_executable_extensions
1953 ac_save_IFS="$IFS"
1954 IFS='\\'
1955 ac_TEMP_PATH=
1956 for ac_dir in $PATH; do
1957 IFS=$ac_save_IFS
1958 if test -z "$ac_TEMP_PATH"; then
1959 ac_TEMP_PATH="$ac_dir"
1960 else
1961 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1962 fi
1963 done
1964 export PATH="$ac_TEMP_PATH"
1965 unset ac_TEMP_PATH
1966 ;;
1967
1968 powerpc-*-darwin* )
1969 USE_BSD=1
1970 USE_DARWIN=1
1971 SO_SUFFIX=dylib
1972 cat >>confdefs.h <<\_ACEOF
1973 #define __BSD__ 1
1974 _ACEOF
1975
1976 cat >>confdefs.h <<\_ACEOF
1977 #define __DARWIN__ 1
1978 _ACEOF
1979
1980 cat >>confdefs.h <<\_ACEOF
1981 #define __POWERPC__ 1
1982 _ACEOF
1983
1984 cat >>confdefs.h <<\_ACEOF
1985 #define TARGET_CARBON 1
1986 _ACEOF
1987
1988 DEFAULT_DEFAULT_wxUSE_MAC=1
1989 ;;
1990
1991 *-*-beos* )
1992 USE_BEOS=1
1993 cat >>confdefs.h <<\_ACEOF
1994 #define __BEOS__ 1
1995 _ACEOF
1996
1997 ;;
1998
1999 *)
2000 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2001 echo "$as_me: error: unknown system type ${host}." >&2;}
2002 { (exit 1); exit 1; }; }
2003 esac
2004
2005
2006
2007
2008 wx_arg_cache_file="configarg.cache"
2009 echo "loading argument cache $wx_arg_cache_file"
2010 rm -f ${wx_arg_cache_file}.tmp
2011 touch ${wx_arg_cache_file}.tmp
2012 touch ${wx_arg_cache_file}
2013
2014
2015 DEBUG_CONFIGURE=0
2016 if test $DEBUG_CONFIGURE = 1; then
2017 DEFAULT_wxUSE_UNIVERSAL=no
2018 DEFAULT_wxUSE_STL=no
2019
2020 DEFAULT_wxUSE_NANOX=no
2021
2022 DEFAULT_wxUSE_THREADS=yes
2023
2024 DEFAULT_wxUSE_SHARED=yes
2025 DEFAULT_wxUSE_OPTIMISE=no
2026 DEFAULT_wxUSE_PROFILE=no
2027 DEFAULT_wxUSE_NO_DEPS=no
2028 DEFAULT_wxUSE_NO_RTTI=no
2029 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2030 DEFAULT_wxUSE_PERMISSIVE=no
2031 DEFAULT_wxUSE_DEBUG_FLAG=yes
2032 DEFAULT_wxUSE_DEBUG_INFO=yes
2033 DEFAULT_wxUSE_DEBUG_GDB=yes
2034 DEFAULT_wxUSE_MEM_TRACING=no
2035 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2036 DEFAULT_wxUSE_DMALLOC=no
2037 DEFAULT_wxUSE_APPLE_IEEE=no
2038
2039 DEFAULT_wxUSE_EXCEPTIONS=no
2040 DEFAULT_wxUSE_LOG=yes
2041 DEFAULT_wxUSE_LOGWINDOW=no
2042 DEFAULT_wxUSE_LOGGUI=no
2043 DEFAULT_wxUSE_LOGDIALOG=no
2044
2045 DEFAULT_wxUSE_GUI=yes
2046 DEFAULT_wxUSE_CONTROLS=no
2047
2048 DEFAULT_wxUSE_REGEX=no
2049 DEFAULT_wxUSE_XML=no
2050 DEFAULT_wxUSE_EXPAT=no
2051 DEFAULT_wxUSE_ZLIB=no
2052 DEFAULT_wxUSE_LIBPNG=no
2053 DEFAULT_wxUSE_LIBJPEG=no
2054 DEFAULT_wxUSE_LIBTIFF=no
2055 DEFAULT_wxUSE_LIBXPM=no
2056 DEFAULT_wxUSE_LIBMSPACK=no
2057 DEFAULT_wxUSE_LIBSDL=no
2058 DEFAULT_wxUSE_ODBC=no
2059 DEFAULT_wxUSE_OPENGL=no
2060
2061 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2062 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2063 DEFAULT_wxUSE_STD_IOSTREAM=no
2064 DEFAULT_wxUSE_CMDLINE_PARSER=no
2065 DEFAULT_wxUSE_DATETIME=no
2066 DEFAULT_wxUSE_TIMER=no
2067 DEFAULT_wxUSE_STOPWATCH=no
2068 DEFAULT_wxUSE_FILE=no
2069 DEFAULT_wxUSE_FFILE=no
2070 DEFAULT_wxUSE_TEXTBUFFER=no
2071 DEFAULT_wxUSE_TEXTFILE=no
2072 DEFAULT_wxUSE_SOUND=no
2073 DEFAULT_wxUSE_INTL=no
2074 DEFAULT_wxUSE_CONFIG=no
2075 DEFAULT_wxUSE_FONTMAP=no
2076 DEFAULT_wxUSE_STREAMS=no
2077 DEFAULT_wxUSE_SOCKETS=no
2078 DEFAULT_wxUSE_OLE=no
2079 DEFAULT_wxUSE_DATAOBJ=no
2080 DEFAULT_wxUSE_DIALUP_MANAGER=no
2081 DEFAULT_wxUSE_JOYSTICK=no
2082 DEFAULT_wxUSE_DYNLIB_CLASS=no
2083 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2084 DEFAULT_wxUSE_LONGLONG=no
2085 DEFAULT_wxUSE_GEOMETRY=no
2086
2087 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2088 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2089 DEFAULT_wxUSE_POSTSCRIPT=no
2090
2091 DEFAULT_wxUSE_CLIPBOARD=no
2092 DEFAULT_wxUSE_TOOLTIPS=no
2093 DEFAULT_wxUSE_DRAG_AND_DROP=no
2094 DEFAULT_wxUSE_DRAGIMAGE=no
2095 DEFAULT_wxUSE_SPLINES=no
2096
2097 DEFAULT_wxUSE_MDI=no
2098 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2099 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2100 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2101
2102 DEFAULT_wxUSE_RESOURCES=no
2103 DEFAULT_wxUSE_CONSTRAINTS=no
2104 DEFAULT_wxUSE_IPC=no
2105 DEFAULT_wxUSE_HELP=no
2106 DEFAULT_wxUSE_MS_HTML_HELP=no
2107 DEFAULT_wxUSE_WXHTML_HELP=no
2108 DEFAULT_wxUSE_TREELAYOUT=no
2109 DEFAULT_wxUSE_METAFILE=no
2110 DEFAULT_wxUSE_MIMETYPE=no
2111 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2112 DEFAULT_wxUSE_PROTOCOL=no
2113 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2114 DEFAULT_wxUSE_PROTOCOL_FTP=no
2115 DEFAULT_wxUSE_PROTOCOL_FILE=no
2116 DEFAULT_wxUSE_URL=no
2117
2118 DEFAULT_wxUSE_COMMONDLGS=no
2119 DEFAULT_wxUSE_CHOICEDLG=no
2120 DEFAULT_wxUSE_COLOURDLG=no
2121 DEFAULT_wxUSE_DIRDLG=no
2122 DEFAULT_wxUSE_FILEDLG=no
2123 DEFAULT_wxUSE_FINDREPLDLG=no
2124 DEFAULT_wxUSE_FONTDLG=no
2125 DEFAULT_wxUSE_MSGDLG=no
2126 DEFAULT_wxUSE_NUMBERDLG=no
2127 DEFAULT_wxUSE_TEXTDLG=no
2128 DEFAULT_wxUSE_SPLASH=no
2129 DEFAULT_wxUSE_STARTUP_TIPS=no
2130 DEFAULT_wxUSE_PROGRESSDLG=no
2131 DEFAULT_wxUSE_WIZARDDLG=no
2132
2133 DEFAULT_wxUSE_MENUS=no
2134 DEFAULT_wxUSE_MINIFRAME=no
2135 DEFAULT_wxUSE_HTML=no
2136 DEFAULT_wxUSE_XRC=no
2137 DEFAULT_wxUSE_WEBKIT=no
2138 DEFAULT_wxUSE_FILESYSTEM=no
2139 DEFAULT_wxUSE_FS_INET=no
2140 DEFAULT_wxUSE_FS_ZIP=no
2141 DEFAULT_wxUSE_BUSYINFO=no
2142 DEFAULT_wxUSE_ZIPSTREAM=no
2143 DEFAULT_wxUSE_VALIDATORS=no
2144
2145 DEFAULT_wxUSE_ACCEL=no
2146 DEFAULT_wxUSE_BUTTON=no
2147 DEFAULT_wxUSE_BMPBUTTON=no
2148 DEFAULT_wxUSE_CALCTRL=no
2149 DEFAULT_wxUSE_CARET=no
2150 DEFAULT_wxUSE_CHECKBOX=no
2151 DEFAULT_wxUSE_CHECKLST=no
2152 DEFAULT_wxUSE_CHOICE=no
2153 DEFAULT_wxUSE_CHOICEBOOK=no
2154 DEFAULT_wxUSE_COMBOBOX=no
2155 DEFAULT_wxUSE_DISPLAY=no
2156 DEFAULT_wxUSE_GAUGE=no
2157 DEFAULT_wxUSE_GRID=no
2158 DEFAULT_wxUSE_IMAGLIST=no
2159 DEFAULT_wxUSE_LISTBOOK=no
2160 DEFAULT_wxUSE_LISTBOX=no
2161 DEFAULT_wxUSE_LISTCTRL=no
2162 DEFAULT_wxUSE_NOTEBOOK=no
2163 DEFAULT_wxUSE_RADIOBOX=no
2164 DEFAULT_wxUSE_RADIOBTN=no
2165 DEFAULT_wxUSE_SASH=no
2166 DEFAULT_wxUSE_SCROLLBAR=no
2167 DEFAULT_wxUSE_SLIDER=no
2168 DEFAULT_wxUSE_SPINBTN=no
2169 DEFAULT_wxUSE_SPINCTRL=no
2170 DEFAULT_wxUSE_SPLITTER=no
2171 DEFAULT_wxUSE_STATBMP=no
2172 DEFAULT_wxUSE_STATBOX=no
2173 DEFAULT_wxUSE_STATLINE=no
2174 DEFAULT_wxUSE_STATTEXT=no
2175 DEFAULT_wxUSE_STATUSBAR=yes
2176 DEFAULT_wxUSE_TABDIALOG=no
2177 DEFAULT_wxUSE_TEXTCTRL=no
2178 DEFAULT_wxUSE_TOGGLEBTN=no
2179 DEFAULT_wxUSE_TOOLBAR=no
2180 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2181 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2182 DEFAULT_wxUSE_TREECTRL=no
2183 DEFAULT_wxUSE_POPUPWIN=no
2184 DEFAULT_wxUSE_TIPWINDOW=no
2185
2186 DEFAULT_wxUSE_UNICODE=no
2187 DEFAULT_wxUSE_UNICODE_MSLU=no
2188 DEFAULT_wxUSE_WCSRTOMBS=no
2189
2190 DEFAULT_wxUSE_PALETTE=no
2191 DEFAULT_wxUSE_IMAGE=no
2192 DEFAULT_wxUSE_GIF=no
2193 DEFAULT_wxUSE_PCX=no
2194 DEFAULT_wxUSE_PNM=no
2195 DEFAULT_wxUSE_IFF=no
2196 DEFAULT_wxUSE_XPM=no
2197 DEFAULT_wxUSE_ICO_CUR=no
2198 DEFAULT_wxUSE_ACCESSIBILITY=no
2199
2200 DEFAULT_wxUSE_MONOLITHIC=no
2201 DEFAULT_wxUSE_PLUGINS=no
2202 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2203 else
2204 DEFAULT_wxUSE_UNIVERSAL=no
2205 DEFAULT_wxUSE_STL=no
2206
2207 DEFAULT_wxUSE_NANOX=no
2208
2209 DEFAULT_wxUSE_THREADS=yes
2210
2211 DEFAULT_wxUSE_SHARED=yes
2212 DEFAULT_wxUSE_OPTIMISE=yes
2213 DEFAULT_wxUSE_PROFILE=no
2214 DEFAULT_wxUSE_NO_DEPS=no
2215 DEFAULT_wxUSE_NO_RTTI=no
2216 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2217 DEFAULT_wxUSE_PERMISSIVE=no
2218 DEFAULT_wxUSE_DEBUG_FLAG=no
2219 DEFAULT_wxUSE_DEBUG_INFO=no
2220 DEFAULT_wxUSE_DEBUG_GDB=no
2221 DEFAULT_wxUSE_MEM_TRACING=no
2222 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2223 DEFAULT_wxUSE_DMALLOC=no
2224 DEFAULT_wxUSE_APPLE_IEEE=yes
2225
2226 DEFAULT_wxUSE_EXCEPTIONS=yes
2227 DEFAULT_wxUSE_LOG=yes
2228 DEFAULT_wxUSE_LOGWINDOW=yes
2229 DEFAULT_wxUSE_LOGGUI=yes
2230 DEFAULT_wxUSE_LOGDIALOG=yes
2231
2232 DEFAULT_wxUSE_GUI=yes
2233
2234 DEFAULT_wxUSE_REGEX=yes
2235 DEFAULT_wxUSE_XML=yes
2236 DEFAULT_wxUSE_EXPAT=yes
2237 DEFAULT_wxUSE_ZLIB=yes
2238 DEFAULT_wxUSE_LIBPNG=yes
2239 DEFAULT_wxUSE_LIBJPEG=yes
2240 DEFAULT_wxUSE_LIBTIFF=yes
2241 DEFAULT_wxUSE_LIBXPM=yes
2242 DEFAULT_wxUSE_LIBMSPACK=yes
2243 DEFAULT_wxUSE_LIBSDL=no
2244 DEFAULT_wxUSE_ODBC=no
2245 DEFAULT_wxUSE_OPENGL=no
2246
2247 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2248 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2249 DEFAULT_wxUSE_STD_IOSTREAM=no
2250 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2251 DEFAULT_wxUSE_DATETIME=yes
2252 DEFAULT_wxUSE_TIMER=yes
2253 DEFAULT_wxUSE_STOPWATCH=yes
2254 DEFAULT_wxUSE_FILE=yes
2255 DEFAULT_wxUSE_FFILE=yes
2256 DEFAULT_wxUSE_TEXTBUFFER=yes
2257 DEFAULT_wxUSE_TEXTFILE=yes
2258 DEFAULT_wxUSE_SOUND=yes
2259 DEFAULT_wxUSE_INTL=yes
2260 DEFAULT_wxUSE_CONFIG=yes
2261 DEFAULT_wxUSE_FONTMAP=yes
2262 DEFAULT_wxUSE_STREAMS=yes
2263 DEFAULT_wxUSE_SOCKETS=yes
2264 DEFAULT_wxUSE_OLE=yes
2265 DEFAULT_wxUSE_DATAOBJ=yes
2266 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2267 DEFAULT_wxUSE_JOYSTICK=yes
2268 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2269 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2270 DEFAULT_wxUSE_LONGLONG=yes
2271 DEFAULT_wxUSE_GEOMETRY=yes
2272
2273 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2274 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2275 DEFAULT_wxUSE_POSTSCRIPT=yes
2276
2277 DEFAULT_wxUSE_CLIPBOARD=yes
2278 DEFAULT_wxUSE_TOOLTIPS=yes
2279 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2280 DEFAULT_wxUSE_DRAGIMAGE=yes
2281 DEFAULT_wxUSE_SPLINES=yes
2282
2283 DEFAULT_wxUSE_MDI=yes
2284 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2285 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2286 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2287
2288 DEFAULT_wxUSE_RESOURCES=no
2289 DEFAULT_wxUSE_CONSTRAINTS=yes
2290 DEFAULT_wxUSE_IPC=yes
2291 DEFAULT_wxUSE_HELP=yes
2292 DEFAULT_wxUSE_MS_HTML_HELP=yes
2293 DEFAULT_wxUSE_WXHTML_HELP=yes
2294 DEFAULT_wxUSE_TREELAYOUT=yes
2295 DEFAULT_wxUSE_METAFILE=yes
2296 DEFAULT_wxUSE_MIMETYPE=yes
2297 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2298 DEFAULT_wxUSE_PROTOCOL=yes
2299 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2300 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2301 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2302 DEFAULT_wxUSE_URL=yes
2303
2304 DEFAULT_wxUSE_COMMONDLGS=yes
2305 DEFAULT_wxUSE_CHOICEDLG=yes
2306 DEFAULT_wxUSE_COLOURDLG=yes
2307 DEFAULT_wxUSE_DIRDLG=yes
2308 DEFAULT_wxUSE_FILEDLG=yes
2309 DEFAULT_wxUSE_FINDREPLDLG=yes
2310 DEFAULT_wxUSE_FONTDLG=yes
2311 DEFAULT_wxUSE_MSGDLG=yes
2312 DEFAULT_wxUSE_NUMBERDLG=yes
2313 DEFAULT_wxUSE_TEXTDLG=yes
2314 DEFAULT_wxUSE_SPLASH=yes
2315 DEFAULT_wxUSE_STARTUP_TIPS=yes
2316 DEFAULT_wxUSE_PROGRESSDLG=yes
2317 DEFAULT_wxUSE_WIZARDDLG=yes
2318
2319 DEFAULT_wxUSE_MENUS=yes
2320 DEFAULT_wxUSE_MINIFRAME=yes
2321 DEFAULT_wxUSE_HTML=yes
2322 DEFAULT_wxUSE_XRC=yes
2323 DEFAULT_wxUSE_WEBKIT=yes
2324 DEFAULT_wxUSE_FILESYSTEM=yes
2325 DEFAULT_wxUSE_FS_INET=yes
2326 DEFAULT_wxUSE_FS_ZIP=yes
2327 DEFAULT_wxUSE_BUSYINFO=yes
2328 DEFAULT_wxUSE_ZIPSTREAM=yes
2329 DEFAULT_wxUSE_VALIDATORS=yes
2330
2331 DEFAULT_wxUSE_ACCEL=yes
2332 DEFAULT_wxUSE_BUTTON=yes
2333 DEFAULT_wxUSE_BMPBUTTON=yes
2334 DEFAULT_wxUSE_CALCTRL=yes
2335 DEFAULT_wxUSE_CARET=yes
2336 DEFAULT_wxUSE_CHECKBOX=yes
2337 DEFAULT_wxUSE_CHECKLST=yes
2338 DEFAULT_wxUSE_CHOICE=yes
2339 DEFAULT_wxUSE_CHOICEBOOK=yes
2340 DEFAULT_wxUSE_COMBOBOX=yes
2341 DEFAULT_wxUSE_DISPLAY=yes
2342 DEFAULT_wxUSE_GAUGE=yes
2343 DEFAULT_wxUSE_GRID=yes
2344 DEFAULT_wxUSE_IMAGLIST=yes
2345 DEFAULT_wxUSE_LISTBOOK=yes
2346 DEFAULT_wxUSE_LISTBOX=yes
2347 DEFAULT_wxUSE_LISTCTRL=yes
2348 DEFAULT_wxUSE_NOTEBOOK=yes
2349 DEFAULT_wxUSE_RADIOBOX=yes
2350 DEFAULT_wxUSE_RADIOBTN=yes
2351 DEFAULT_wxUSE_SASH=yes
2352 DEFAULT_wxUSE_SCROLLBAR=yes
2353 DEFAULT_wxUSE_SLIDER=yes
2354 DEFAULT_wxUSE_SPINBTN=yes
2355 DEFAULT_wxUSE_SPINCTRL=yes
2356 DEFAULT_wxUSE_SPLITTER=yes
2357 DEFAULT_wxUSE_STATBMP=yes
2358 DEFAULT_wxUSE_STATBOX=yes
2359 DEFAULT_wxUSE_STATLINE=yes
2360 DEFAULT_wxUSE_STATTEXT=yes
2361 DEFAULT_wxUSE_STATUSBAR=yes
2362 DEFAULT_wxUSE_TABDIALOG=no
2363 DEFAULT_wxUSE_TEXTCTRL=yes
2364 DEFAULT_wxUSE_TOGGLEBTN=yes
2365 DEFAULT_wxUSE_TOOLBAR=yes
2366 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2367 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2368 DEFAULT_wxUSE_TREECTRL=yes
2369 DEFAULT_wxUSE_POPUPWIN=yes
2370 DEFAULT_wxUSE_TIPWINDOW=yes
2371
2372 DEFAULT_wxUSE_UNICODE=no
2373 DEFAULT_wxUSE_UNICODE_MSLU=yes
2374 DEFAULT_wxUSE_WCSRTOMBS=no
2375
2376 DEFAULT_wxUSE_PALETTE=yes
2377 DEFAULT_wxUSE_IMAGE=yes
2378 DEFAULT_wxUSE_GIF=yes
2379 DEFAULT_wxUSE_PCX=yes
2380 DEFAULT_wxUSE_IFF=no
2381 DEFAULT_wxUSE_PNM=yes
2382 DEFAULT_wxUSE_XPM=yes
2383 DEFAULT_wxUSE_ICO_CUR=yes
2384 DEFAULT_wxUSE_ACCESSIBILITY=no
2385
2386 DEFAULT_wxUSE_MONOLITHIC=no
2387 DEFAULT_wxUSE_PLUGINS=no
2388 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2389
2390 DEFAULT_wxUSE_GTK2=yes
2391 fi
2392
2393
2394
2395 for toolkit in `echo $ALL_TOOLKITS`; do
2396 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2397 if test "x$LINE" != "x" ; then
2398 has_toolkit_in_cache=1
2399 eval "DEFAULT_$LINE"
2400 eval "CACHE_$toolkit=1"
2401 fi
2402 done
2403
2404
2405
2406 enablestring=
2407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2408 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2409 no_cache=0
2410 # Check whether --enable-gui or --disable-gui was given.
2411 if test "${enable_gui+set}" = set; then
2412 enableval="$enable_gui"
2413
2414 if test "$enableval" = yes; then
2415 ac_cv_use_gui='wxUSE_GUI=yes'
2416 else
2417 ac_cv_use_gui='wxUSE_GUI=no'
2418 fi
2419
2420 else
2421
2422 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2423 if test "x$LINE" != x ; then
2424 eval "DEFAULT_$LINE"
2425 else
2426 no_cache=1
2427 fi
2428
2429 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2430
2431 fi;
2432
2433 eval "$ac_cv_use_gui"
2434 if test "$no_cache" != 1; then
2435 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2436 fi
2437
2438 if test "$wxUSE_GUI" = yes; then
2439 echo "$as_me:$LINENO: result: yes" >&5
2440 echo "${ECHO_T}yes" >&6
2441 else
2442 echo "$as_me:$LINENO: result: no" >&5
2443 echo "${ECHO_T}no" >&6
2444 fi
2445
2446
2447 enablestring=
2448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2449 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2450 no_cache=0
2451 # Check whether --enable-monolithic or --disable-monolithic was given.
2452 if test "${enable_monolithic+set}" = set; then
2453 enableval="$enable_monolithic"
2454
2455 if test "$enableval" = yes; then
2456 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2457 else
2458 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2459 fi
2460
2461 else
2462
2463 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2464 if test "x$LINE" != x ; then
2465 eval "DEFAULT_$LINE"
2466 else
2467 no_cache=1
2468 fi
2469
2470 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2471
2472 fi;
2473
2474 eval "$ac_cv_use_monolithic"
2475 if test "$no_cache" != 1; then
2476 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2477 fi
2478
2479 if test "$wxUSE_MONOLITHIC" = yes; then
2480 echo "$as_me:$LINENO: result: yes" >&5
2481 echo "${ECHO_T}yes" >&6
2482 else
2483 echo "$as_me:$LINENO: result: no" >&5
2484 echo "${ECHO_T}no" >&6
2485 fi
2486
2487
2488 enablestring=
2489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2490 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2491 no_cache=0
2492 # Check whether --enable-plugins or --disable-plugins was given.
2493 if test "${enable_plugins+set}" = set; then
2494 enableval="$enable_plugins"
2495
2496 if test "$enableval" = yes; then
2497 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2498 else
2499 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2500 fi
2501
2502 else
2503
2504 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2505 if test "x$LINE" != x ; then
2506 eval "DEFAULT_$LINE"
2507 else
2508 no_cache=1
2509 fi
2510
2511 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2512
2513 fi;
2514
2515 eval "$ac_cv_use_plugins"
2516 if test "$no_cache" != 1; then
2517 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2518 fi
2519
2520 if test "$wxUSE_PLUGINS" = yes; then
2521 echo "$as_me:$LINENO: result: yes" >&5
2522 echo "${ECHO_T}yes" >&6
2523 else
2524 echo "$as_me:$LINENO: result: no" >&5
2525 echo "${ECHO_T}no" >&6
2526 fi
2527
2528
2529 if test "$wxUSE_GUI" = "yes"; then
2530
2531
2532 enablestring=
2533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2534 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2535 no_cache=0
2536 # Check whether --enable-universal or --disable-universal was given.
2537 if test "${enable_universal+set}" = set; then
2538 enableval="$enable_universal"
2539
2540 if test "$enableval" = yes; then
2541 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2542 else
2543 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2544 fi
2545
2546 else
2547
2548 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2549 if test "x$LINE" != x ; then
2550 eval "DEFAULT_$LINE"
2551 else
2552 no_cache=1
2553 fi
2554
2555 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2556
2557 fi;
2558
2559 eval "$ac_cv_use_universal"
2560 if test "$no_cache" != 1; then
2561 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2562 fi
2563
2564 if test "$wxUSE_UNIVERSAL" = yes; then
2565 echo "$as_me:$LINENO: result: yes" >&5
2566 echo "${ECHO_T}yes" >&6
2567 else
2568 echo "$as_me:$LINENO: result: no" >&5
2569 echo "${ECHO_T}no" >&6
2570 fi
2571
2572
2573 # Check whether --with-gtk or --without-gtk was given.
2574 if test "${with_gtk+set}" = set; then
2575 withval="$with_gtk"
2576 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2577 fi;
2578
2579 # Check whether --with-motif or --without-motif was given.
2580 if test "${with_motif+set}" = set; then
2581 withval="$with_motif"
2582 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2583 fi;
2584
2585 # Check whether --with-mac or --without-mac was given.
2586 if test "${with_mac+set}" = set; then
2587 withval="$with_mac"
2588 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2589 fi;
2590
2591 # Check whether --with-cocoa or --without-cocoa was given.
2592 if test "${with_cocoa+set}" = set; then
2593 withval="$with_cocoa"
2594 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2595 fi;
2596
2597 # Check whether --with-wine or --without-wine was given.
2598 if test "${with_wine+set}" = set; then
2599 withval="$with_wine"
2600 wxUSE_WINE="$withval" CACHE_WINE=1
2601 fi;
2602
2603 # Check whether --with-msw or --without-msw was given.
2604 if test "${with_msw+set}" = set; then
2605 withval="$with_msw"
2606 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2607 fi;
2608
2609 # Check whether --with-pm or --without-pm was given.
2610 if test "${with_pm+set}" = set; then
2611 withval="$with_pm"
2612 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2613 fi;
2614
2615 # Check whether --with-mgl or --without-mgl was given.
2616 if test "${with_mgl+set}" = set; then
2617 withval="$with_mgl"
2618 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2619 fi;
2620
2621 # Check whether --with-microwin or --without-microwin was given.
2622 if test "${with_microwin+set}" = set; then
2623 withval="$with_microwin"
2624 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2625 fi;
2626
2627 # Check whether --with-x11 or --without-x11 was given.
2628 if test "${with_x11+set}" = set; then
2629 withval="$with_x11"
2630 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2631 fi;
2632
2633 enablestring=
2634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2635 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2636 no_cache=0
2637 # Check whether --enable-nanox or --disable-nanox was given.
2638 if test "${enable_nanox+set}" = set; then
2639 enableval="$enable_nanox"
2640
2641 if test "$enableval" = yes; then
2642 ac_cv_use_nanox='wxUSE_NANOX=yes'
2643 else
2644 ac_cv_use_nanox='wxUSE_NANOX=no'
2645 fi
2646
2647 else
2648
2649 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2650 if test "x$LINE" != x ; then
2651 eval "DEFAULT_$LINE"
2652 else
2653 no_cache=1
2654 fi
2655
2656 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2657
2658 fi;
2659
2660 eval "$ac_cv_use_nanox"
2661 if test "$no_cache" != 1; then
2662 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2663 fi
2664
2665 if test "$wxUSE_NANOX" = yes; then
2666 echo "$as_me:$LINENO: result: yes" >&5
2667 echo "${ECHO_T}yes" >&6
2668 else
2669 echo "$as_me:$LINENO: result: no" >&5
2670 echo "${ECHO_T}no" >&6
2671 fi
2672
2673
2674
2675 enablestring=
2676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2677 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2678 no_cache=0
2679 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2680 if test "${enable_gtk2+set}" = set; then
2681 enableval="$enable_gtk2"
2682
2683 if test "$enableval" = yes; then
2684 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2685 else
2686 ac_cv_use_gtk2='wxUSE_GTK2=no'
2687 fi
2688
2689 else
2690
2691 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2692 if test "x$LINE" != x ; then
2693 eval "DEFAULT_$LINE"
2694 else
2695 no_cache=1
2696 fi
2697
2698 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2699
2700 fi;
2701
2702 eval "$ac_cv_use_gtk2"
2703 if test "$no_cache" != 1; then
2704 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2705 fi
2706
2707 if test "$wxUSE_GTK2" = yes; then
2708 echo "$as_me:$LINENO: result: yes" >&5
2709 echo "${ECHO_T}yes" >&6
2710 else
2711 echo "$as_me:$LINENO: result: no" >&5
2712 echo "${ECHO_T}no" >&6
2713 fi
2714
2715
2716 enablestring=
2717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2718 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2719 no_cache=0
2720 # Check whether --enable-gpe or --disable-gpe was given.
2721 if test "${enable_gpe+set}" = set; then
2722 enableval="$enable_gpe"
2723
2724 if test "$enableval" = yes; then
2725 ac_cv_use_gpe='wxUSE_GPE=yes'
2726 else
2727 ac_cv_use_gpe='wxUSE_GPE=no'
2728 fi
2729
2730 else
2731
2732 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2733 if test "x$LINE" != x ; then
2734 eval "DEFAULT_$LINE"
2735 else
2736 no_cache=1
2737 fi
2738
2739 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2740
2741 fi;
2742
2743 eval "$ac_cv_use_gpe"
2744 if test "$no_cache" != 1; then
2745 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2746 fi
2747
2748 if test "$wxUSE_GPE" = yes; then
2749 echo "$as_me:$LINENO: result: yes" >&5
2750 echo "${ECHO_T}yes" >&6
2751 else
2752 echo "$as_me:$LINENO: result: no" >&5
2753 echo "${ECHO_T}no" >&6
2754 fi
2755
2756
2757
2758 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2759 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2760 no_cache=0
2761
2762 # Check whether --with-libpng or --without-libpng was given.
2763 if test "${with_libpng+set}" = set; then
2764 withval="$with_libpng"
2765
2766 if test "$withval" = yes; then
2767 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2768 elif test "$withval" = no; then
2769 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2770 elif test "$withval" = sys; then
2771 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2772 elif test "$withval" = builtin; then
2773 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2774 else
2775 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2776 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2777 { (exit 1); exit 1; }; }
2778 fi
2779
2780 else
2781
2782 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2783 if test "x$LINE" != x ; then
2784 eval "DEFAULT_$LINE"
2785 else
2786 no_cache=1
2787 fi
2788
2789 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2790
2791 fi;
2792
2793 eval "$ac_cv_use_libpng"
2794 if test "$no_cache" != 1; then
2795 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2796 fi
2797
2798 if test "$wxUSE_LIBPNG" = yes; then
2799 echo "$as_me:$LINENO: result: yes" >&5
2800 echo "${ECHO_T}yes" >&6
2801 elif test "$wxUSE_LIBPNG" = no; then
2802 echo "$as_me:$LINENO: result: no" >&5
2803 echo "${ECHO_T}no" >&6
2804 elif test "$wxUSE_LIBPNG" = sys; then
2805 echo "$as_me:$LINENO: result: system version" >&5
2806 echo "${ECHO_T}system version" >&6
2807 elif test "$wxUSE_LIBPNG" = builtin; then
2808 echo "$as_me:$LINENO: result: builtin version" >&5
2809 echo "${ECHO_T}builtin version" >&6
2810 else
2811 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2812 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2813 { (exit 1); exit 1; }; }
2814 fi
2815
2816
2817 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2818 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2819 no_cache=0
2820
2821 # Check whether --with-libjpeg or --without-libjpeg was given.
2822 if test "${with_libjpeg+set}" = set; then
2823 withval="$with_libjpeg"
2824
2825 if test "$withval" = yes; then
2826 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2827 elif test "$withval" = no; then
2828 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2829 elif test "$withval" = sys; then
2830 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2831 elif test "$withval" = builtin; then
2832 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2833 else
2834 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2835 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2836 { (exit 1); exit 1; }; }
2837 fi
2838
2839 else
2840
2841 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2842 if test "x$LINE" != x ; then
2843 eval "DEFAULT_$LINE"
2844 else
2845 no_cache=1
2846 fi
2847
2848 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2849
2850 fi;
2851
2852 eval "$ac_cv_use_libjpeg"
2853 if test "$no_cache" != 1; then
2854 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2855 fi
2856
2857 if test "$wxUSE_LIBJPEG" = yes; then
2858 echo "$as_me:$LINENO: result: yes" >&5
2859 echo "${ECHO_T}yes" >&6
2860 elif test "$wxUSE_LIBJPEG" = no; then
2861 echo "$as_me:$LINENO: result: no" >&5
2862 echo "${ECHO_T}no" >&6
2863 elif test "$wxUSE_LIBJPEG" = sys; then
2864 echo "$as_me:$LINENO: result: system version" >&5
2865 echo "${ECHO_T}system version" >&6
2866 elif test "$wxUSE_LIBJPEG" = builtin; then
2867 echo "$as_me:$LINENO: result: builtin version" >&5
2868 echo "${ECHO_T}builtin version" >&6
2869 else
2870 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2871 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2872 { (exit 1); exit 1; }; }
2873 fi
2874
2875
2876 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2877 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2878 no_cache=0
2879
2880 # Check whether --with-libtiff or --without-libtiff was given.
2881 if test "${with_libtiff+set}" = set; then
2882 withval="$with_libtiff"
2883
2884 if test "$withval" = yes; then
2885 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2886 elif test "$withval" = no; then
2887 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2888 elif test "$withval" = sys; then
2889 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2890 elif test "$withval" = builtin; then
2891 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2892 else
2893 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2894 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2895 { (exit 1); exit 1; }; }
2896 fi
2897
2898 else
2899
2900 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2901 if test "x$LINE" != x ; then
2902 eval "DEFAULT_$LINE"
2903 else
2904 no_cache=1
2905 fi
2906
2907 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2908
2909 fi;
2910
2911 eval "$ac_cv_use_libtiff"
2912 if test "$no_cache" != 1; then
2913 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2914 fi
2915
2916 if test "$wxUSE_LIBTIFF" = yes; then
2917 echo "$as_me:$LINENO: result: yes" >&5
2918 echo "${ECHO_T}yes" >&6
2919 elif test "$wxUSE_LIBTIFF" = no; then
2920 echo "$as_me:$LINENO: result: no" >&5
2921 echo "${ECHO_T}no" >&6
2922 elif test "$wxUSE_LIBTIFF" = sys; then
2923 echo "$as_me:$LINENO: result: system version" >&5
2924 echo "${ECHO_T}system version" >&6
2925 elif test "$wxUSE_LIBTIFF" = builtin; then
2926 echo "$as_me:$LINENO: result: builtin version" >&5
2927 echo "${ECHO_T}builtin version" >&6
2928 else
2929 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2930 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2931 { (exit 1); exit 1; }; }
2932 fi
2933
2934
2935 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2936 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2937 no_cache=0
2938
2939 # Check whether --with-libxpm or --without-libxpm was given.
2940 if test "${with_libxpm+set}" = set; then
2941 withval="$with_libxpm"
2942
2943 if test "$withval" = yes; then
2944 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2945 elif test "$withval" = no; then
2946 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2947 elif test "$withval" = sys; then
2948 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2949 elif test "$withval" = builtin; then
2950 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2951 else
2952 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2953 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2954 { (exit 1); exit 1; }; }
2955 fi
2956
2957 else
2958
2959 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2960 if test "x$LINE" != x ; then
2961 eval "DEFAULT_$LINE"
2962 else
2963 no_cache=1
2964 fi
2965
2966 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2967
2968 fi;
2969
2970 eval "$ac_cv_use_libxpm"
2971 if test "$no_cache" != 1; then
2972 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2973 fi
2974
2975 if test "$wxUSE_LIBXPM" = yes; then
2976 echo "$as_me:$LINENO: result: yes" >&5
2977 echo "${ECHO_T}yes" >&6
2978 elif test "$wxUSE_LIBXPM" = no; then
2979 echo "$as_me:$LINENO: result: no" >&5
2980 echo "${ECHO_T}no" >&6
2981 elif test "$wxUSE_LIBXPM" = sys; then
2982 echo "$as_me:$LINENO: result: system version" >&5
2983 echo "${ECHO_T}system version" >&6
2984 elif test "$wxUSE_LIBXPM" = builtin; then
2985 echo "$as_me:$LINENO: result: builtin version" >&5
2986 echo "${ECHO_T}builtin version" >&6
2987 else
2988 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2989 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2990 { (exit 1); exit 1; }; }
2991 fi
2992
2993
2994 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2995 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2996 no_cache=0
2997
2998 # Check whether --with-libmspack or --without-libmspack was given.
2999 if test "${with_libmspack+set}" = set; then
3000 withval="$with_libmspack"
3001
3002 if test "$withval" = yes; then
3003 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3004 else
3005 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3006 fi
3007
3008 else
3009
3010 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3011 if test "x$LINE" != x ; then
3012 eval "DEFAULT_$LINE"
3013 else
3014 no_cache=1
3015 fi
3016
3017 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3018
3019 fi;
3020
3021 eval "$ac_cv_use_libmspack"
3022 if test "$no_cache" != 1; then
3023 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3024 fi
3025
3026 if test "$wxUSE_LIBMSPACK" = yes; then
3027 echo "$as_me:$LINENO: result: yes" >&5
3028 echo "${ECHO_T}yes" >&6
3029 else
3030 echo "$as_me:$LINENO: result: no" >&5
3031 echo "${ECHO_T}no" >&6
3032 fi
3033
3034
3035 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3036 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3037 no_cache=0
3038
3039 # Check whether --with-sdl or --without-sdl was given.
3040 if test "${with_sdl+set}" = set; then
3041 withval="$with_sdl"
3042
3043 if test "$withval" = yes; then
3044 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3045 else
3046 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3047 fi
3048
3049 else
3050
3051 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3052 if test "x$LINE" != x ; then
3053 eval "DEFAULT_$LINE"
3054 else
3055 no_cache=1
3056 fi
3057
3058 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3059
3060 fi;
3061
3062 eval "$ac_cv_use_sdl"
3063 if test "$no_cache" != 1; then
3064 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3065 fi
3066
3067 if test "$wxUSE_LIBSDL" = yes; then
3068 echo "$as_me:$LINENO: result: yes" >&5
3069 echo "${ECHO_T}yes" >&6
3070 else
3071 echo "$as_me:$LINENO: result: no" >&5
3072 echo "${ECHO_T}no" >&6
3073 fi
3074
3075
3076 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3077 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3078 no_cache=0
3079
3080 # Check whether --with-opengl or --without-opengl was given.
3081 if test "${with_opengl+set}" = set; then
3082 withval="$with_opengl"
3083
3084 if test "$withval" = yes; then
3085 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3086 else
3087 ac_cv_use_opengl='wxUSE_OPENGL=no'
3088 fi
3089
3090 else
3091
3092 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3093 if test "x$LINE" != x ; then
3094 eval "DEFAULT_$LINE"
3095 else
3096 no_cache=1
3097 fi
3098
3099 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3100
3101 fi;
3102
3103 eval "$ac_cv_use_opengl"
3104 if test "$no_cache" != 1; then
3105 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3106 fi
3107
3108 if test "$wxUSE_OPENGL" = yes; then
3109 echo "$as_me:$LINENO: result: yes" >&5
3110 echo "${ECHO_T}yes" >&6
3111 else
3112 echo "$as_me:$LINENO: result: no" >&5
3113 echo "${ECHO_T}no" >&6
3114 fi
3115
3116
3117 fi
3118
3119
3120 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3121 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3122 no_cache=0
3123
3124 # Check whether --with-dmalloc or --without-dmalloc was given.
3125 if test "${with_dmalloc+set}" = set; then
3126 withval="$with_dmalloc"
3127
3128 if test "$withval" = yes; then
3129 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3130 else
3131 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3132 fi
3133
3134 else
3135
3136 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3137 if test "x$LINE" != x ; then
3138 eval "DEFAULT_$LINE"
3139 else
3140 no_cache=1
3141 fi
3142
3143 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3144
3145 fi;
3146
3147 eval "$ac_cv_use_dmalloc"
3148 if test "$no_cache" != 1; then
3149 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3150 fi
3151
3152 if test "$wxUSE_DMALLOC" = yes; then
3153 echo "$as_me:$LINENO: result: yes" >&5
3154 echo "${ECHO_T}yes" >&6
3155 else
3156 echo "$as_me:$LINENO: result: no" >&5
3157 echo "${ECHO_T}no" >&6
3158 fi
3159
3160
3161 echo "$as_me:$LINENO: checking for --with-regex" >&5
3162 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3163 no_cache=0
3164
3165 # Check whether --with-regex or --without-regex was given.
3166 if test "${with_regex+set}" = set; then
3167 withval="$with_regex"
3168
3169 if test "$withval" = yes; then
3170 ac_cv_use_regex='wxUSE_REGEX=yes'
3171 elif test "$withval" = no; then
3172 ac_cv_use_regex='wxUSE_REGEX=no'
3173 elif test "$withval" = sys; then
3174 ac_cv_use_regex='wxUSE_REGEX=sys'
3175 elif test "$withval" = builtin; then
3176 ac_cv_use_regex='wxUSE_REGEX=builtin'
3177 else
3178 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3179 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3180 { (exit 1); exit 1; }; }
3181 fi
3182
3183 else
3184
3185 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3186 if test "x$LINE" != x ; then
3187 eval "DEFAULT_$LINE"
3188 else
3189 no_cache=1
3190 fi
3191
3192 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3193
3194 fi;
3195
3196 eval "$ac_cv_use_regex"
3197 if test "$no_cache" != 1; then
3198 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3199 fi
3200
3201 if test "$wxUSE_REGEX" = yes; then
3202 echo "$as_me:$LINENO: result: yes" >&5
3203 echo "${ECHO_T}yes" >&6
3204 elif test "$wxUSE_REGEX" = no; then
3205 echo "$as_me:$LINENO: result: no" >&5
3206 echo "${ECHO_T}no" >&6
3207 elif test "$wxUSE_REGEX" = sys; then
3208 echo "$as_me:$LINENO: result: system version" >&5
3209 echo "${ECHO_T}system version" >&6
3210 elif test "$wxUSE_REGEX" = builtin; then
3211 echo "$as_me:$LINENO: result: builtin version" >&5
3212 echo "${ECHO_T}builtin version" >&6
3213 else
3214 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3215 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3216 { (exit 1); exit 1; }; }
3217 fi
3218
3219
3220 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3221 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3222 no_cache=0
3223
3224 # Check whether --with-zlib or --without-zlib was given.
3225 if test "${with_zlib+set}" = set; then
3226 withval="$with_zlib"
3227
3228 if test "$withval" = yes; then
3229 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3230 elif test "$withval" = no; then
3231 ac_cv_use_zlib='wxUSE_ZLIB=no'
3232 elif test "$withval" = sys; then
3233 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3234 elif test "$withval" = builtin; then
3235 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3236 else
3237 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3238 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3239 { (exit 1); exit 1; }; }
3240 fi
3241
3242 else
3243
3244 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3245 if test "x$LINE" != x ; then
3246 eval "DEFAULT_$LINE"
3247 else
3248 no_cache=1
3249 fi
3250
3251 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3252
3253 fi;
3254
3255 eval "$ac_cv_use_zlib"
3256 if test "$no_cache" != 1; then
3257 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3258 fi
3259
3260 if test "$wxUSE_ZLIB" = yes; then
3261 echo "$as_me:$LINENO: result: yes" >&5
3262 echo "${ECHO_T}yes" >&6
3263 elif test "$wxUSE_ZLIB" = no; then
3264 echo "$as_me:$LINENO: result: no" >&5
3265 echo "${ECHO_T}no" >&6
3266 elif test "$wxUSE_ZLIB" = sys; then
3267 echo "$as_me:$LINENO: result: system version" >&5
3268 echo "${ECHO_T}system version" >&6
3269 elif test "$wxUSE_ZLIB" = builtin; then
3270 echo "$as_me:$LINENO: result: builtin version" >&5
3271 echo "${ECHO_T}builtin version" >&6
3272 else
3273 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3274 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3275 { (exit 1); exit 1; }; }
3276 fi
3277
3278
3279 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3280 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3281 no_cache=0
3282
3283 # Check whether --with-odbc or --without-odbc was given.
3284 if test "${with_odbc+set}" = set; then
3285 withval="$with_odbc"
3286
3287 if test "$withval" = yes; then
3288 ac_cv_use_odbc='wxUSE_ODBC=yes'
3289 elif test "$withval" = no; then
3290 ac_cv_use_odbc='wxUSE_ODBC=no'
3291 elif test "$withval" = sys; then
3292 ac_cv_use_odbc='wxUSE_ODBC=sys'
3293 elif test "$withval" = builtin; then
3294 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3295 else
3296 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3297 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3298 { (exit 1); exit 1; }; }
3299 fi
3300
3301 else
3302
3303 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3304 if test "x$LINE" != x ; then
3305 eval "DEFAULT_$LINE"
3306 else
3307 no_cache=1
3308 fi
3309
3310 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3311
3312 fi;
3313
3314 eval "$ac_cv_use_odbc"
3315 if test "$no_cache" != 1; then
3316 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3317 fi
3318
3319 if test "$wxUSE_ODBC" = yes; then
3320 echo "$as_me:$LINENO: result: yes" >&5
3321 echo "${ECHO_T}yes" >&6
3322 elif test "$wxUSE_ODBC" = no; then
3323 echo "$as_me:$LINENO: result: no" >&5
3324 echo "${ECHO_T}no" >&6
3325 elif test "$wxUSE_ODBC" = sys; then
3326 echo "$as_me:$LINENO: result: system version" >&5
3327 echo "${ECHO_T}system version" >&6
3328 elif test "$wxUSE_ODBC" = builtin; then
3329 echo "$as_me:$LINENO: result: builtin version" >&5
3330 echo "${ECHO_T}builtin version" >&6
3331 else
3332 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3333 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3334 { (exit 1); exit 1; }; }
3335 fi
3336
3337
3338 echo "$as_me:$LINENO: checking for --with-expat" >&5
3339 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3340 no_cache=0
3341
3342 # Check whether --with-expat or --without-expat was given.
3343 if test "${with_expat+set}" = set; then
3344 withval="$with_expat"
3345
3346 if test "$withval" = yes; then
3347 ac_cv_use_expat='wxUSE_EXPAT=yes'
3348 elif test "$withval" = no; then
3349 ac_cv_use_expat='wxUSE_EXPAT=no'
3350 elif test "$withval" = sys; then
3351 ac_cv_use_expat='wxUSE_EXPAT=sys'
3352 elif test "$withval" = builtin; then
3353 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3354 else
3355 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3356 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3357 { (exit 1); exit 1; }; }
3358 fi
3359
3360 else
3361
3362 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3363 if test "x$LINE" != x ; then
3364 eval "DEFAULT_$LINE"
3365 else
3366 no_cache=1
3367 fi
3368
3369 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3370
3371 fi;
3372
3373 eval "$ac_cv_use_expat"
3374 if test "$no_cache" != 1; then
3375 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3376 fi
3377
3378 if test "$wxUSE_EXPAT" = yes; then
3379 echo "$as_me:$LINENO: result: yes" >&5
3380 echo "${ECHO_T}yes" >&6
3381 elif test "$wxUSE_EXPAT" = no; then
3382 echo "$as_me:$LINENO: result: no" >&5
3383 echo "${ECHO_T}no" >&6
3384 elif test "$wxUSE_EXPAT" = sys; then
3385 echo "$as_me:$LINENO: result: system version" >&5
3386 echo "${ECHO_T}system version" >&6
3387 elif test "$wxUSE_EXPAT" = builtin; then
3388 echo "$as_me:$LINENO: result: builtin version" >&5
3389 echo "${ECHO_T}builtin version" >&6
3390 else
3391 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3392 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3393 { (exit 1); exit 1; }; }
3394 fi
3395
3396
3397
3398
3399 enablestring=
3400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3401 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3402 no_cache=0
3403 # Check whether --enable-shared or --disable-shared was given.
3404 if test "${enable_shared+set}" = set; then
3405 enableval="$enable_shared"
3406
3407 if test "$enableval" = yes; then
3408 ac_cv_use_shared='wxUSE_SHARED=yes'
3409 else
3410 ac_cv_use_shared='wxUSE_SHARED=no'
3411 fi
3412
3413 else
3414
3415 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3416 if test "x$LINE" != x ; then
3417 eval "DEFAULT_$LINE"
3418 else
3419 no_cache=1
3420 fi
3421
3422 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3423
3424 fi;
3425
3426 eval "$ac_cv_use_shared"
3427 if test "$no_cache" != 1; then
3428 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3429 fi
3430
3431 if test "$wxUSE_SHARED" = yes; then
3432 echo "$as_me:$LINENO: result: yes" >&5
3433 echo "${ECHO_T}yes" >&6
3434 else
3435 echo "$as_me:$LINENO: result: no" >&5
3436 echo "${ECHO_T}no" >&6
3437 fi
3438
3439
3440 enablestring=
3441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3442 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3443 no_cache=0
3444 # Check whether --enable-optimise or --disable-optimise was given.
3445 if test "${enable_optimise+set}" = set; then
3446 enableval="$enable_optimise"
3447
3448 if test "$enableval" = yes; then
3449 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3450 else
3451 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3452 fi
3453
3454 else
3455
3456 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3457 if test "x$LINE" != x ; then
3458 eval "DEFAULT_$LINE"
3459 else
3460 no_cache=1
3461 fi
3462
3463 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3464
3465 fi;
3466
3467 eval "$ac_cv_use_optimise"
3468 if test "$no_cache" != 1; then
3469 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3470 fi
3471
3472 if test "$wxUSE_OPTIMISE" = yes; then
3473 echo "$as_me:$LINENO: result: yes" >&5
3474 echo "${ECHO_T}yes" >&6
3475 else
3476 echo "$as_me:$LINENO: result: no" >&5
3477 echo "${ECHO_T}no" >&6
3478 fi
3479
3480
3481 enablestring=
3482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3483 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3484 no_cache=0
3485 # Check whether --enable-debug or --disable-debug was given.
3486 if test "${enable_debug+set}" = set; then
3487 enableval="$enable_debug"
3488
3489 if test "$enableval" = yes; then
3490 ac_cv_use_debug='wxUSE_DEBUG=yes'
3491 else
3492 ac_cv_use_debug='wxUSE_DEBUG=no'
3493 fi
3494
3495 else
3496
3497 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3498 if test "x$LINE" != x ; then
3499 eval "DEFAULT_$LINE"
3500 else
3501 no_cache=1
3502 fi
3503
3504 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3505
3506 fi;
3507
3508 eval "$ac_cv_use_debug"
3509 if test "$no_cache" != 1; then
3510 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3511 fi
3512
3513 if test "$wxUSE_DEBUG" = yes; then
3514 echo "$as_me:$LINENO: result: yes" >&5
3515 echo "${ECHO_T}yes" >&6
3516 else
3517 echo "$as_me:$LINENO: result: no" >&5
3518 echo "${ECHO_T}no" >&6
3519 fi
3520
3521
3522 enablestring=
3523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3524 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3525 no_cache=0
3526 # Check whether --enable-stl or --disable-stl was given.
3527 if test "${enable_stl+set}" = set; then
3528 enableval="$enable_stl"
3529
3530 if test "$enableval" = yes; then
3531 ac_cv_use_stl='wxUSE_STL=yes'
3532 else
3533 ac_cv_use_stl='wxUSE_STL=no'
3534 fi
3535
3536 else
3537
3538 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3539 if test "x$LINE" != x ; then
3540 eval "DEFAULT_$LINE"
3541 else
3542 no_cache=1
3543 fi
3544
3545 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3546
3547 fi;
3548
3549 eval "$ac_cv_use_stl"
3550 if test "$no_cache" != 1; then
3551 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3552 fi
3553
3554 if test "$wxUSE_STL" = yes; then
3555 echo "$as_me:$LINENO: result: yes" >&5
3556 echo "${ECHO_T}yes" >&6
3557 else
3558 echo "$as_me:$LINENO: result: no" >&5
3559 echo "${ECHO_T}no" >&6
3560 fi
3561
3562 if test "$USE_OS2" = "1"; then
3563
3564 enablestring=
3565 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3566 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3567 no_cache=0
3568 # Check whether --enable-omf or --disable-omf was given.
3569 if test "${enable_omf+set}" = set; then
3570 enableval="$enable_omf"
3571
3572 if test "$enableval" = yes; then
3573 ac_cv_use_omf='wxUSE_OMF=yes'
3574 else
3575 ac_cv_use_omf='wxUSE_OMF=no'
3576 fi
3577
3578 else
3579
3580 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3581 if test "x$LINE" != x ; then
3582 eval "DEFAULT_$LINE"
3583 else
3584 no_cache=1
3585 fi
3586
3587 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3588
3589 fi;
3590
3591 eval "$ac_cv_use_omf"
3592 if test "$no_cache" != 1; then
3593 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3594 fi
3595
3596 if test "$wxUSE_OMF" = yes; then
3597 echo "$as_me:$LINENO: result: yes" >&5
3598 echo "${ECHO_T}yes" >&6
3599 else
3600 echo "$as_me:$LINENO: result: no" >&5
3601 echo "${ECHO_T}no" >&6
3602 fi
3603
3604 fi
3605
3606 if test "$wxUSE_DEBUG" = "yes"; then
3607 DEFAULT_wxUSE_DEBUG_FLAG=yes
3608 DEFAULT_wxUSE_DEBUG_INFO=yes
3609 BUILD=debug
3610 elif test "$wxUSE_DEBUG" = "no"; then
3611 DEFAULT_wxUSE_DEBUG_FLAG=no
3612 DEFAULT_wxUSE_DEBUG_INFO=no
3613 BUILD=release
3614 fi
3615
3616
3617 enablestring=
3618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3619 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3620 no_cache=0
3621 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3622 if test "${enable_debug_flag+set}" = set; then
3623 enableval="$enable_debug_flag"
3624
3625 if test "$enableval" = yes; then
3626 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3627 else
3628 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3629 fi
3630
3631 else
3632
3633 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3634 if test "x$LINE" != x ; then
3635 eval "DEFAULT_$LINE"
3636 else
3637 no_cache=1
3638 fi
3639
3640 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3641
3642 fi;
3643
3644 eval "$ac_cv_use_debug_flag"
3645 if test "$no_cache" != 1; then
3646 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3647 fi
3648
3649 if test "$wxUSE_DEBUG_FLAG" = yes; then
3650 echo "$as_me:$LINENO: result: yes" >&5
3651 echo "${ECHO_T}yes" >&6
3652 else
3653 echo "$as_me:$LINENO: result: no" >&5
3654 echo "${ECHO_T}no" >&6
3655 fi
3656
3657
3658 enablestring=
3659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3660 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3661 no_cache=0
3662 # Check whether --enable-debug_info or --disable-debug_info was given.
3663 if test "${enable_debug_info+set}" = set; then
3664 enableval="$enable_debug_info"
3665
3666 if test "$enableval" = yes; then
3667 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3668 else
3669 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3670 fi
3671
3672 else
3673
3674 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3675 if test "x$LINE" != x ; then
3676 eval "DEFAULT_$LINE"
3677 else
3678 no_cache=1
3679 fi
3680
3681 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3682
3683 fi;
3684
3685 eval "$ac_cv_use_debug_info"
3686 if test "$no_cache" != 1; then
3687 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3688 fi
3689
3690 if test "$wxUSE_DEBUG_INFO" = yes; then
3691 echo "$as_me:$LINENO: result: yes" >&5
3692 echo "${ECHO_T}yes" >&6
3693 else
3694 echo "$as_me:$LINENO: result: no" >&5
3695 echo "${ECHO_T}no" >&6
3696 fi
3697
3698
3699 enablestring=
3700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3701 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3702 no_cache=0
3703 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3704 if test "${enable_debug_gdb+set}" = set; then
3705 enableval="$enable_debug_gdb"
3706
3707 if test "$enableval" = yes; then
3708 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3709 else
3710 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3711 fi
3712
3713 else
3714
3715 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3716 if test "x$LINE" != x ; then
3717 eval "DEFAULT_$LINE"
3718 else
3719 no_cache=1
3720 fi
3721
3722 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3723
3724 fi;
3725
3726 eval "$ac_cv_use_debug_gdb"
3727 if test "$no_cache" != 1; then
3728 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3729 fi
3730
3731 if test "$wxUSE_DEBUG_GDB" = yes; then
3732 echo "$as_me:$LINENO: result: yes" >&5
3733 echo "${ECHO_T}yes" >&6
3734 else
3735 echo "$as_me:$LINENO: result: no" >&5
3736 echo "${ECHO_T}no" >&6
3737 fi
3738
3739
3740 enablestring=
3741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3742 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3743 no_cache=0
3744 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3745 if test "${enable_debug_cntxt+set}" = set; then
3746 enableval="$enable_debug_cntxt"
3747
3748 if test "$enableval" = yes; then
3749 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3750 else
3751 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3752 fi
3753
3754 else
3755
3756 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3757 if test "x$LINE" != x ; then
3758 eval "DEFAULT_$LINE"
3759 else
3760 no_cache=1
3761 fi
3762
3763 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3764
3765 fi;
3766
3767 eval "$ac_cv_use_debug_cntxt"
3768 if test "$no_cache" != 1; then
3769 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3770 fi
3771
3772 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3773 echo "$as_me:$LINENO: result: yes" >&5
3774 echo "${ECHO_T}yes" >&6
3775 else
3776 echo "$as_me:$LINENO: result: no" >&5
3777 echo "${ECHO_T}no" >&6
3778 fi
3779
3780
3781 enablestring=
3782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3783 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3784 no_cache=0
3785 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3786 if test "${enable_mem_tracing+set}" = set; then
3787 enableval="$enable_mem_tracing"
3788
3789 if test "$enableval" = yes; then
3790 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3791 else
3792 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3793 fi
3794
3795 else
3796
3797 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3798 if test "x$LINE" != x ; then
3799 eval "DEFAULT_$LINE"
3800 else
3801 no_cache=1
3802 fi
3803
3804 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3805
3806 fi;
3807
3808 eval "$ac_cv_use_mem_tracing"
3809 if test "$no_cache" != 1; then
3810 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3811 fi
3812
3813 if test "$wxUSE_MEM_TRACING" = yes; then
3814 echo "$as_me:$LINENO: result: yes" >&5
3815 echo "${ECHO_T}yes" >&6
3816 else
3817 echo "$as_me:$LINENO: result: no" >&5
3818 echo "${ECHO_T}no" >&6
3819 fi
3820
3821
3822 enablestring=
3823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3824 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3825 no_cache=0
3826 # Check whether --enable-profile or --disable-profile was given.
3827 if test "${enable_profile+set}" = set; then
3828 enableval="$enable_profile"
3829
3830 if test "$enableval" = yes; then
3831 ac_cv_use_profile='wxUSE_PROFILE=yes'
3832 else
3833 ac_cv_use_profile='wxUSE_PROFILE=no'
3834 fi
3835
3836 else
3837
3838 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3839 if test "x$LINE" != x ; then
3840 eval "DEFAULT_$LINE"
3841 else
3842 no_cache=1
3843 fi
3844
3845 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3846
3847 fi;
3848
3849 eval "$ac_cv_use_profile"
3850 if test "$no_cache" != 1; then
3851 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3852 fi
3853
3854 if test "$wxUSE_PROFILE" = yes; then
3855 echo "$as_me:$LINENO: result: yes" >&5
3856 echo "${ECHO_T}yes" >&6
3857 else
3858 echo "$as_me:$LINENO: result: no" >&5
3859 echo "${ECHO_T}no" >&6
3860 fi
3861
3862
3863 enablestring=
3864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3865 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3866 no_cache=0
3867 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3868 if test "${enable_no_rtti+set}" = set; then
3869 enableval="$enable_no_rtti"
3870
3871 if test "$enableval" = yes; then
3872 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3873 else
3874 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3875 fi
3876
3877 else
3878
3879 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3880 if test "x$LINE" != x ; then
3881 eval "DEFAULT_$LINE"
3882 else
3883 no_cache=1
3884 fi
3885
3886 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3887
3888 fi;
3889
3890 eval "$ac_cv_use_no_rtti"
3891 if test "$no_cache" != 1; then
3892 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3893 fi
3894
3895 if test "$wxUSE_NO_RTTI" = yes; then
3896 echo "$as_me:$LINENO: result: yes" >&5
3897 echo "${ECHO_T}yes" >&6
3898 else
3899 echo "$as_me:$LINENO: result: no" >&5
3900 echo "${ECHO_T}no" >&6
3901 fi
3902
3903
3904 enablestring=
3905 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3906 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3907 no_cache=0
3908 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3909 if test "${enable_no_exceptions+set}" = set; then
3910 enableval="$enable_no_exceptions"
3911
3912 if test "$enableval" = yes; then
3913 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3914 else
3915 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3916 fi
3917
3918 else
3919
3920 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3921 if test "x$LINE" != x ; then
3922 eval "DEFAULT_$LINE"
3923 else
3924 no_cache=1
3925 fi
3926
3927 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3928
3929 fi;
3930
3931 eval "$ac_cv_use_no_exceptions"
3932 if test "$no_cache" != 1; then
3933 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3934 fi
3935
3936 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3937 echo "$as_me:$LINENO: result: yes" >&5
3938 echo "${ECHO_T}yes" >&6
3939 else
3940 echo "$as_me:$LINENO: result: no" >&5
3941 echo "${ECHO_T}no" >&6
3942 fi
3943
3944
3945 enablestring=
3946 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3947 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3948 no_cache=0
3949 # Check whether --enable-permissive or --disable-permissive was given.
3950 if test "${enable_permissive+set}" = set; then
3951 enableval="$enable_permissive"
3952
3953 if test "$enableval" = yes; then
3954 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3955 else
3956 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3957 fi
3958
3959 else
3960
3961 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3962 if test "x$LINE" != x ; then
3963 eval "DEFAULT_$LINE"
3964 else
3965 no_cache=1
3966 fi
3967
3968 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3969
3970 fi;
3971
3972 eval "$ac_cv_use_permissive"
3973 if test "$no_cache" != 1; then
3974 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3975 fi
3976
3977 if test "$wxUSE_PERMISSIVE" = yes; then
3978 echo "$as_me:$LINENO: result: yes" >&5
3979 echo "${ECHO_T}yes" >&6
3980 else
3981 echo "$as_me:$LINENO: result: no" >&5
3982 echo "${ECHO_T}no" >&6
3983 fi
3984
3985
3986 enablestring=
3987 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3988 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3989 no_cache=0
3990 # Check whether --enable-no_deps or --disable-no_deps was given.
3991 if test "${enable_no_deps+set}" = set; then
3992 enableval="$enable_no_deps"
3993
3994 if test "$enableval" = yes; then
3995 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3996 else
3997 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3998 fi
3999
4000 else
4001
4002 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4003 if test "x$LINE" != x ; then
4004 eval "DEFAULT_$LINE"
4005 else
4006 no_cache=1
4007 fi
4008
4009 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4010
4011 fi;
4012
4013 eval "$ac_cv_use_no_deps"
4014 if test "$no_cache" != 1; then
4015 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4016 fi
4017
4018 if test "$wxUSE_NO_DEPS" = yes; then
4019 echo "$as_me:$LINENO: result: yes" >&5
4020 echo "${ECHO_T}yes" >&6
4021 else
4022 echo "$as_me:$LINENO: result: no" >&5
4023 echo "${ECHO_T}no" >&6
4024 fi
4025
4026
4027
4028 enablestring=
4029 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4030 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4031 no_cache=0
4032 # Check whether --enable-compat22 or --disable-compat22 was given.
4033 if test "${enable_compat22+set}" = set; then
4034 enableval="$enable_compat22"
4035
4036 if test "$enableval" = yes; then
4037 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4038 else
4039 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4040 fi
4041
4042 else
4043
4044 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4045 if test "x$LINE" != x ; then
4046 eval "DEFAULT_$LINE"
4047 else
4048 no_cache=1
4049 fi
4050
4051 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4052
4053 fi;
4054
4055 eval "$ac_cv_use_compat22"
4056 if test "$no_cache" != 1; then
4057 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4058 fi
4059
4060 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4061 echo "$as_me:$LINENO: result: yes" >&5
4062 echo "${ECHO_T}yes" >&6
4063 else
4064 echo "$as_me:$LINENO: result: no" >&5
4065 echo "${ECHO_T}no" >&6
4066 fi
4067
4068
4069 enablestring=disable
4070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4071 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4072 no_cache=0
4073 # Check whether --enable-compat24 or --disable-compat24 was given.
4074 if test "${enable_compat24+set}" = set; then
4075 enableval="$enable_compat24"
4076
4077 if test "$enableval" = yes; then
4078 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4079 else
4080 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4081 fi
4082
4083 else
4084
4085 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4086 if test "x$LINE" != x ; then
4087 eval "DEFAULT_$LINE"
4088 else
4089 no_cache=1
4090 fi
4091
4092 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4093
4094 fi;
4095
4096 eval "$ac_cv_use_compat24"
4097 if test "$no_cache" != 1; then
4098 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4099 fi
4100
4101 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4102 echo "$as_me:$LINENO: result: yes" >&5
4103 echo "${ECHO_T}yes" >&6
4104 else
4105 echo "$as_me:$LINENO: result: no" >&5
4106 echo "${ECHO_T}no" >&6
4107 fi
4108
4109
4110 # Check whether --enable-rpath or --disable-rpath was given.
4111 if test "${enable_rpath+set}" = set; then
4112 enableval="$enable_rpath"
4113 wxRPATH_DIR="$enableval"
4114 fi;
4115
4116 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable" -a "$wxRPATH_DIR" != "no"; then
4117 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
4118 fi
4119
4120
4121
4122
4123 enablestring=
4124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4125 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4126 no_cache=0
4127 # Check whether --enable-intl or --disable-intl was given.
4128 if test "${enable_intl+set}" = set; then
4129 enableval="$enable_intl"
4130
4131 if test "$enableval" = yes; then
4132 ac_cv_use_intl='wxUSE_INTL=yes'
4133 else
4134 ac_cv_use_intl='wxUSE_INTL=no'
4135 fi
4136
4137 else
4138
4139 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4140 if test "x$LINE" != x ; then
4141 eval "DEFAULT_$LINE"
4142 else
4143 no_cache=1
4144 fi
4145
4146 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4147
4148 fi;
4149
4150 eval "$ac_cv_use_intl"
4151 if test "$no_cache" != 1; then
4152 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4153 fi
4154
4155 if test "$wxUSE_INTL" = yes; then
4156 echo "$as_me:$LINENO: result: yes" >&5
4157 echo "${ECHO_T}yes" >&6
4158 else
4159 echo "$as_me:$LINENO: result: no" >&5
4160 echo "${ECHO_T}no" >&6
4161 fi
4162
4163
4164 enablestring=
4165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4166 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4167 no_cache=0
4168 # Check whether --enable-config or --disable-config was given.
4169 if test "${enable_config+set}" = set; then
4170 enableval="$enable_config"
4171
4172 if test "$enableval" = yes; then
4173 ac_cv_use_config='wxUSE_CONFIG=yes'
4174 else
4175 ac_cv_use_config='wxUSE_CONFIG=no'
4176 fi
4177
4178 else
4179
4180 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4181 if test "x$LINE" != x ; then
4182 eval "DEFAULT_$LINE"
4183 else
4184 no_cache=1
4185 fi
4186
4187 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4188
4189 fi;
4190
4191 eval "$ac_cv_use_config"
4192 if test "$no_cache" != 1; then
4193 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4194 fi
4195
4196 if test "$wxUSE_CONFIG" = yes; then
4197 echo "$as_me:$LINENO: result: yes" >&5
4198 echo "${ECHO_T}yes" >&6
4199 else
4200 echo "$as_me:$LINENO: result: no" >&5
4201 echo "${ECHO_T}no" >&6
4202 fi
4203
4204
4205
4206 enablestring=
4207 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4208 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4209 no_cache=0
4210 # Check whether --enable-protocols or --disable-protocols was given.
4211 if test "${enable_protocols+set}" = set; then
4212 enableval="$enable_protocols"
4213
4214 if test "$enableval" = yes; then
4215 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4216 else
4217 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4218 fi
4219
4220 else
4221
4222 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4223 if test "x$LINE" != x ; then
4224 eval "DEFAULT_$LINE"
4225 else
4226 no_cache=1
4227 fi
4228
4229 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4230
4231 fi;
4232
4233 eval "$ac_cv_use_protocols"
4234 if test "$no_cache" != 1; then
4235 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4236 fi
4237
4238 if test "$wxUSE_PROTOCOL" = yes; then
4239 echo "$as_me:$LINENO: result: yes" >&5
4240 echo "${ECHO_T}yes" >&6
4241 else
4242 echo "$as_me:$LINENO: result: no" >&5
4243 echo "${ECHO_T}no" >&6
4244 fi
4245
4246
4247 enablestring=
4248 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4249 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4250 no_cache=0
4251 # Check whether --enable-ftp or --disable-ftp was given.
4252 if test "${enable_ftp+set}" = set; then
4253 enableval="$enable_ftp"
4254
4255 if test "$enableval" = yes; then
4256 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4257 else
4258 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4259 fi
4260
4261 else
4262
4263 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4264 if test "x$LINE" != x ; then
4265 eval "DEFAULT_$LINE"
4266 else
4267 no_cache=1
4268 fi
4269
4270 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4271
4272 fi;
4273
4274 eval "$ac_cv_use_ftp"
4275 if test "$no_cache" != 1; then
4276 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4277 fi
4278
4279 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4280 echo "$as_me:$LINENO: result: yes" >&5
4281 echo "${ECHO_T}yes" >&6
4282 else
4283 echo "$as_me:$LINENO: result: no" >&5
4284 echo "${ECHO_T}no" >&6
4285 fi
4286
4287
4288 enablestring=
4289 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4290 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4291 no_cache=0
4292 # Check whether --enable-http or --disable-http was given.
4293 if test "${enable_http+set}" = set; then
4294 enableval="$enable_http"
4295
4296 if test "$enableval" = yes; then
4297 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4298 else
4299 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4300 fi
4301
4302 else
4303
4304 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4305 if test "x$LINE" != x ; then
4306 eval "DEFAULT_$LINE"
4307 else
4308 no_cache=1
4309 fi
4310
4311 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4312
4313 fi;
4314
4315 eval "$ac_cv_use_http"
4316 if test "$no_cache" != 1; then
4317 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4318 fi
4319
4320 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4321 echo "$as_me:$LINENO: result: yes" >&5
4322 echo "${ECHO_T}yes" >&6
4323 else
4324 echo "$as_me:$LINENO: result: no" >&5
4325 echo "${ECHO_T}no" >&6
4326 fi
4327
4328
4329 enablestring=
4330 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4331 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4332 no_cache=0
4333 # Check whether --enable-fileproto or --disable-fileproto was given.
4334 if test "${enable_fileproto+set}" = set; then
4335 enableval="$enable_fileproto"
4336
4337 if test "$enableval" = yes; then
4338 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4339 else
4340 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4341 fi
4342
4343 else
4344
4345 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4346 if test "x$LINE" != x ; then
4347 eval "DEFAULT_$LINE"
4348 else
4349 no_cache=1
4350 fi
4351
4352 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4353
4354 fi;
4355
4356 eval "$ac_cv_use_fileproto"
4357 if test "$no_cache" != 1; then
4358 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4359 fi
4360
4361 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4362 echo "$as_me:$LINENO: result: yes" >&5
4363 echo "${ECHO_T}yes" >&6
4364 else
4365 echo "$as_me:$LINENO: result: no" >&5
4366 echo "${ECHO_T}no" >&6
4367 fi
4368
4369
4370 enablestring=
4371 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4372 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4373 no_cache=0
4374 # Check whether --enable-sockets or --disable-sockets was given.
4375 if test "${enable_sockets+set}" = set; then
4376 enableval="$enable_sockets"
4377
4378 if test "$enableval" = yes; then
4379 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4380 else
4381 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4382 fi
4383
4384 else
4385
4386 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4387 if test "x$LINE" != x ; then
4388 eval "DEFAULT_$LINE"
4389 else
4390 no_cache=1
4391 fi
4392
4393 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4394
4395 fi;
4396
4397 eval "$ac_cv_use_sockets"
4398 if test "$no_cache" != 1; then
4399 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4400 fi
4401
4402 if test "$wxUSE_SOCKETS" = yes; then
4403 echo "$as_me:$LINENO: result: yes" >&5
4404 echo "${ECHO_T}yes" >&6
4405 else
4406 echo "$as_me:$LINENO: result: no" >&5
4407 echo "${ECHO_T}no" >&6
4408 fi
4409
4410
4411 enablestring=
4412 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4413 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4414 no_cache=0
4415 # Check whether --enable-ole or --disable-ole was given.
4416 if test "${enable_ole+set}" = set; then
4417 enableval="$enable_ole"
4418
4419 if test "$enableval" = yes; then
4420 ac_cv_use_ole='wxUSE_OLE=yes'
4421 else
4422 ac_cv_use_ole='wxUSE_OLE=no'
4423 fi
4424
4425 else
4426
4427 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4428 if test "x$LINE" != x ; then
4429 eval "DEFAULT_$LINE"
4430 else
4431 no_cache=1
4432 fi
4433
4434 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4435
4436 fi;
4437
4438 eval "$ac_cv_use_ole"
4439 if test "$no_cache" != 1; then
4440 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4441 fi
4442
4443 if test "$wxUSE_OLE" = yes; then
4444 echo "$as_me:$LINENO: result: yes" >&5
4445 echo "${ECHO_T}yes" >&6
4446 else
4447 echo "$as_me:$LINENO: result: no" >&5
4448 echo "${ECHO_T}no" >&6
4449 fi
4450
4451
4452 enablestring=
4453 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4454 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4455 no_cache=0
4456 # Check whether --enable-dataobj or --disable-dataobj was given.
4457 if test "${enable_dataobj+set}" = set; then
4458 enableval="$enable_dataobj"
4459
4460 if test "$enableval" = yes; then
4461 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4462 else
4463 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4464 fi
4465
4466 else
4467
4468 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4469 if test "x$LINE" != x ; then
4470 eval "DEFAULT_$LINE"
4471 else
4472 no_cache=1
4473 fi
4474
4475 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4476
4477 fi;
4478
4479 eval "$ac_cv_use_dataobj"
4480 if test "$no_cache" != 1; then
4481 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4482 fi
4483
4484 if test "$wxUSE_DATAOBJ" = yes; then
4485 echo "$as_me:$LINENO: result: yes" >&5
4486 echo "${ECHO_T}yes" >&6
4487 else
4488 echo "$as_me:$LINENO: result: no" >&5
4489 echo "${ECHO_T}no" >&6
4490 fi
4491
4492
4493
4494 enablestring=
4495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4496 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4497 no_cache=0
4498 # Check whether --enable-ipc or --disable-ipc was given.
4499 if test "${enable_ipc+set}" = set; then
4500 enableval="$enable_ipc"
4501
4502 if test "$enableval" = yes; then
4503 ac_cv_use_ipc='wxUSE_IPC=yes'
4504 else
4505 ac_cv_use_ipc='wxUSE_IPC=no'
4506 fi
4507
4508 else
4509
4510 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4511 if test "x$LINE" != x ; then
4512 eval "DEFAULT_$LINE"
4513 else
4514 no_cache=1
4515 fi
4516
4517 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4518
4519 fi;
4520
4521 eval "$ac_cv_use_ipc"
4522 if test "$no_cache" != 1; then
4523 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4524 fi
4525
4526 if test "$wxUSE_IPC" = yes; then
4527 echo "$as_me:$LINENO: result: yes" >&5
4528 echo "${ECHO_T}yes" >&6
4529 else
4530 echo "$as_me:$LINENO: result: no" >&5
4531 echo "${ECHO_T}no" >&6
4532 fi
4533
4534
4535
4536 enablestring=
4537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4538 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4539 no_cache=0
4540 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4541 if test "${enable_apple_ieee+set}" = set; then
4542 enableval="$enable_apple_ieee"
4543
4544 if test "$enableval" = yes; then
4545 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4546 else
4547 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4548 fi
4549
4550 else
4551
4552 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4553 if test "x$LINE" != x ; then
4554 eval "DEFAULT_$LINE"
4555 else
4556 no_cache=1
4557 fi
4558
4559 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4560
4561 fi;
4562
4563 eval "$ac_cv_use_apple_ieee"
4564 if test "$no_cache" != 1; then
4565 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4566 fi
4567
4568 if test "$wxUSE_APPLE_IEEE" = yes; then
4569 echo "$as_me:$LINENO: result: yes" >&5
4570 echo "${ECHO_T}yes" >&6
4571 else
4572 echo "$as_me:$LINENO: result: no" >&5
4573 echo "${ECHO_T}no" >&6
4574 fi
4575
4576
4577 enablestring=
4578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4579 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4580 no_cache=0
4581 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4582 if test "${enable_catch_segvs+set}" = set; then
4583 enableval="$enable_catch_segvs"
4584
4585 if test "$enableval" = yes; then
4586 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4587 else
4588 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4589 fi
4590
4591 else
4592
4593 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4594 if test "x$LINE" != x ; then
4595 eval "DEFAULT_$LINE"
4596 else
4597 no_cache=1
4598 fi
4599
4600 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4601
4602 fi;
4603
4604 eval "$ac_cv_use_catch_segvs"
4605 if test "$no_cache" != 1; then
4606 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4607 fi
4608
4609 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4610 echo "$as_me:$LINENO: result: yes" >&5
4611 echo "${ECHO_T}yes" >&6
4612 else
4613 echo "$as_me:$LINENO: result: no" >&5
4614 echo "${ECHO_T}no" >&6
4615 fi
4616
4617
4618 enablestring=
4619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4620 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4621 no_cache=0
4622 # Check whether --enable-cmdline or --disable-cmdline was given.
4623 if test "${enable_cmdline+set}" = set; then
4624 enableval="$enable_cmdline"
4625
4626 if test "$enableval" = yes; then
4627 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4628 else
4629 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4630 fi
4631
4632 else
4633
4634 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4635 if test "x$LINE" != x ; then
4636 eval "DEFAULT_$LINE"
4637 else
4638 no_cache=1
4639 fi
4640
4641 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4642
4643 fi;
4644
4645 eval "$ac_cv_use_cmdline"
4646 if test "$no_cache" != 1; then
4647 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4648 fi
4649
4650 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4651 echo "$as_me:$LINENO: result: yes" >&5
4652 echo "${ECHO_T}yes" >&6
4653 else
4654 echo "$as_me:$LINENO: result: no" >&5
4655 echo "${ECHO_T}no" >&6
4656 fi
4657
4658
4659 enablestring=
4660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4661 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4662 no_cache=0
4663 # Check whether --enable-datetime or --disable-datetime was given.
4664 if test "${enable_datetime+set}" = set; then
4665 enableval="$enable_datetime"
4666
4667 if test "$enableval" = yes; then
4668 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4669 else
4670 ac_cv_use_datetime='wxUSE_DATETIME=no'
4671 fi
4672
4673 else
4674
4675 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4676 if test "x$LINE" != x ; then
4677 eval "DEFAULT_$LINE"
4678 else
4679 no_cache=1
4680 fi
4681
4682 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4683
4684 fi;
4685
4686 eval "$ac_cv_use_datetime"
4687 if test "$no_cache" != 1; then
4688 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4689 fi
4690
4691 if test "$wxUSE_DATETIME" = yes; then
4692 echo "$as_me:$LINENO: result: yes" >&5
4693 echo "${ECHO_T}yes" >&6
4694 else
4695 echo "$as_me:$LINENO: result: no" >&5
4696 echo "${ECHO_T}no" >&6
4697 fi
4698
4699
4700 enablestring=
4701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4702 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4703 no_cache=0
4704 # Check whether --enable-dialupman or --disable-dialupman was given.
4705 if test "${enable_dialupman+set}" = set; then
4706 enableval="$enable_dialupman"
4707
4708 if test "$enableval" = yes; then
4709 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4710 else
4711 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4712 fi
4713
4714 else
4715
4716 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4717 if test "x$LINE" != x ; then
4718 eval "DEFAULT_$LINE"
4719 else
4720 no_cache=1
4721 fi
4722
4723 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4724
4725 fi;
4726
4727 eval "$ac_cv_use_dialupman"
4728 if test "$no_cache" != 1; then
4729 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4730 fi
4731
4732 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4733 echo "$as_me:$LINENO: result: yes" >&5
4734 echo "${ECHO_T}yes" >&6
4735 else
4736 echo "$as_me:$LINENO: result: no" >&5
4737 echo "${ECHO_T}no" >&6
4738 fi
4739
4740
4741 enablestring=
4742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4743 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4744 no_cache=0
4745 # Check whether --enable-dynlib or --disable-dynlib was given.
4746 if test "${enable_dynlib+set}" = set; then
4747 enableval="$enable_dynlib"
4748
4749 if test "$enableval" = yes; then
4750 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4751 else
4752 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4753 fi
4754
4755 else
4756
4757 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4758 if test "x$LINE" != x ; then
4759 eval "DEFAULT_$LINE"
4760 else
4761 no_cache=1
4762 fi
4763
4764 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4765
4766 fi;
4767
4768 eval "$ac_cv_use_dynlib"
4769 if test "$no_cache" != 1; then
4770 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4771 fi
4772
4773 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4774 echo "$as_me:$LINENO: result: yes" >&5
4775 echo "${ECHO_T}yes" >&6
4776 else
4777 echo "$as_me:$LINENO: result: no" >&5
4778 echo "${ECHO_T}no" >&6
4779 fi
4780
4781
4782 enablestring=
4783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4784 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4785 no_cache=0
4786 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4787 if test "${enable_dynamicloader+set}" = set; then
4788 enableval="$enable_dynamicloader"
4789
4790 if test "$enableval" = yes; then
4791 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4792 else
4793 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4794 fi
4795
4796 else
4797
4798 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4799 if test "x$LINE" != x ; then
4800 eval "DEFAULT_$LINE"
4801 else
4802 no_cache=1
4803 fi
4804
4805 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4806
4807 fi;
4808
4809 eval "$ac_cv_use_dynamicloader"
4810 if test "$no_cache" != 1; then
4811 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4812 fi
4813
4814 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4815 echo "$as_me:$LINENO: result: yes" >&5
4816 echo "${ECHO_T}yes" >&6
4817 else
4818 echo "$as_me:$LINENO: result: no" >&5
4819 echo "${ECHO_T}no" >&6
4820 fi
4821
4822
4823 enablestring=
4824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4825 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4826 no_cache=0
4827 # Check whether --enable-exceptions or --disable-exceptions was given.
4828 if test "${enable_exceptions+set}" = set; then
4829 enableval="$enable_exceptions"
4830
4831 if test "$enableval" = yes; then
4832 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
4833 else
4834 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
4835 fi
4836
4837 else
4838
4839 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4840 if test "x$LINE" != x ; then
4841 eval "DEFAULT_$LINE"
4842 else
4843 no_cache=1
4844 fi
4845
4846 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4847
4848 fi;
4849
4850 eval "$ac_cv_use_exceptions"
4851 if test "$no_cache" != 1; then
4852 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4853 fi
4854
4855 if test "$wxUSE_EXCEPTIONS" = yes; then
4856 echo "$as_me:$LINENO: result: yes" >&5
4857 echo "${ECHO_T}yes" >&6
4858 else
4859 echo "$as_me:$LINENO: result: no" >&5
4860 echo "${ECHO_T}no" >&6
4861 fi
4862
4863
4864 enablestring=
4865 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4866 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4867 no_cache=0
4868 # Check whether --enable-ffile or --disable-ffile was given.
4869 if test "${enable_ffile+set}" = set; then
4870 enableval="$enable_ffile"
4871
4872 if test "$enableval" = yes; then
4873 ac_cv_use_ffile='wxUSE_FFILE=yes'
4874 else
4875 ac_cv_use_ffile='wxUSE_FFILE=no'
4876 fi
4877
4878 else
4879
4880 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4881 if test "x$LINE" != x ; then
4882 eval "DEFAULT_$LINE"
4883 else
4884 no_cache=1
4885 fi
4886
4887 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4888
4889 fi;
4890
4891 eval "$ac_cv_use_ffile"
4892 if test "$no_cache" != 1; then
4893 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4894 fi
4895
4896 if test "$wxUSE_FFILE" = yes; then
4897 echo "$as_me:$LINENO: result: yes" >&5
4898 echo "${ECHO_T}yes" >&6
4899 else
4900 echo "$as_me:$LINENO: result: no" >&5
4901 echo "${ECHO_T}no" >&6
4902 fi
4903
4904
4905 enablestring=
4906 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4907 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4908 no_cache=0
4909 # Check whether --enable-file or --disable-file was given.
4910 if test "${enable_file+set}" = set; then
4911 enableval="$enable_file"
4912
4913 if test "$enableval" = yes; then
4914 ac_cv_use_file='wxUSE_FILE=yes'
4915 else
4916 ac_cv_use_file='wxUSE_FILE=no'
4917 fi
4918
4919 else
4920
4921 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4922 if test "x$LINE" != x ; then
4923 eval "DEFAULT_$LINE"
4924 else
4925 no_cache=1
4926 fi
4927
4928 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4929
4930 fi;
4931
4932 eval "$ac_cv_use_file"
4933 if test "$no_cache" != 1; then
4934 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4935 fi
4936
4937 if test "$wxUSE_FILE" = yes; then
4938 echo "$as_me:$LINENO: result: yes" >&5
4939 echo "${ECHO_T}yes" >&6
4940 else
4941 echo "$as_me:$LINENO: result: no" >&5
4942 echo "${ECHO_T}no" >&6
4943 fi
4944
4945
4946 enablestring=
4947 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4948 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4949 no_cache=0
4950 # Check whether --enable-filesystem or --disable-filesystem was given.
4951 if test "${enable_filesystem+set}" = set; then
4952 enableval="$enable_filesystem"
4953
4954 if test "$enableval" = yes; then
4955 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4956 else
4957 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4958 fi
4959
4960 else
4961
4962 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4963 if test "x$LINE" != x ; then
4964 eval "DEFAULT_$LINE"
4965 else
4966 no_cache=1
4967 fi
4968
4969 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4970
4971 fi;
4972
4973 eval "$ac_cv_use_filesystem"
4974 if test "$no_cache" != 1; then
4975 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4976 fi
4977
4978 if test "$wxUSE_FILESYSTEM" = yes; then
4979 echo "$as_me:$LINENO: result: yes" >&5
4980 echo "${ECHO_T}yes" >&6
4981 else
4982 echo "$as_me:$LINENO: result: no" >&5
4983 echo "${ECHO_T}no" >&6
4984 fi
4985
4986
4987 enablestring=
4988 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4989 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4990 no_cache=0
4991 # Check whether --enable-fontmap or --disable-fontmap was given.
4992 if test "${enable_fontmap+set}" = set; then
4993 enableval="$enable_fontmap"
4994
4995 if test "$enableval" = yes; then
4996 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4997 else
4998 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4999 fi
5000
5001 else
5002
5003 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5004 if test "x$LINE" != x ; then
5005 eval "DEFAULT_$LINE"
5006 else
5007 no_cache=1
5008 fi
5009
5010 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5011
5012 fi;
5013
5014 eval "$ac_cv_use_fontmap"
5015 if test "$no_cache" != 1; then
5016 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5017 fi
5018
5019 if test "$wxUSE_FONTMAP" = yes; then
5020 echo "$as_me:$LINENO: result: yes" >&5
5021 echo "${ECHO_T}yes" >&6
5022 else
5023 echo "$as_me:$LINENO: result: no" >&5
5024 echo "${ECHO_T}no" >&6
5025 fi
5026
5027
5028 enablestring=
5029 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5030 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5031 no_cache=0
5032 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5033 if test "${enable_fs_inet+set}" = set; then
5034 enableval="$enable_fs_inet"
5035
5036 if test "$enableval" = yes; then
5037 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5038 else
5039 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5040 fi
5041
5042 else
5043
5044 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5045 if test "x$LINE" != x ; then
5046 eval "DEFAULT_$LINE"
5047 else
5048 no_cache=1
5049 fi
5050
5051 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5052
5053 fi;
5054
5055 eval "$ac_cv_use_fs_inet"
5056 if test "$no_cache" != 1; then
5057 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5058 fi
5059
5060 if test "$wxUSE_FS_INET" = yes; then
5061 echo "$as_me:$LINENO: result: yes" >&5
5062 echo "${ECHO_T}yes" >&6
5063 else
5064 echo "$as_me:$LINENO: result: no" >&5
5065 echo "${ECHO_T}no" >&6
5066 fi
5067
5068
5069 enablestring=
5070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5071 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5072 no_cache=0
5073 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5074 if test "${enable_fs_zip+set}" = set; then
5075 enableval="$enable_fs_zip"
5076
5077 if test "$enableval" = yes; then
5078 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5079 else
5080 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5081 fi
5082
5083 else
5084
5085 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5086 if test "x$LINE" != x ; then
5087 eval "DEFAULT_$LINE"
5088 else
5089 no_cache=1
5090 fi
5091
5092 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5093
5094 fi;
5095
5096 eval "$ac_cv_use_fs_zip"
5097 if test "$no_cache" != 1; then
5098 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5099 fi
5100
5101 if test "$wxUSE_FS_ZIP" = yes; then
5102 echo "$as_me:$LINENO: result: yes" >&5
5103 echo "${ECHO_T}yes" >&6
5104 else
5105 echo "$as_me:$LINENO: result: no" >&5
5106 echo "${ECHO_T}no" >&6
5107 fi
5108
5109
5110 enablestring=
5111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5112 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5113 no_cache=0
5114 # Check whether --enable-geometry or --disable-geometry was given.
5115 if test "${enable_geometry+set}" = set; then
5116 enableval="$enable_geometry"
5117
5118 if test "$enableval" = yes; then
5119 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5120 else
5121 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5122 fi
5123
5124 else
5125
5126 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5127 if test "x$LINE" != x ; then
5128 eval "DEFAULT_$LINE"
5129 else
5130 no_cache=1
5131 fi
5132
5133 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5134
5135 fi;
5136
5137 eval "$ac_cv_use_geometry"
5138 if test "$no_cache" != 1; then
5139 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5140 fi
5141
5142 if test "$wxUSE_GEOMETRY" = yes; then
5143 echo "$as_me:$LINENO: result: yes" >&5
5144 echo "${ECHO_T}yes" >&6
5145 else
5146 echo "$as_me:$LINENO: result: no" >&5
5147 echo "${ECHO_T}no" >&6
5148 fi
5149
5150
5151 enablestring=
5152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5153 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5154 no_cache=0
5155 # Check whether --enable-log or --disable-log was given.
5156 if test "${enable_log+set}" = set; then
5157 enableval="$enable_log"
5158
5159 if test "$enableval" = yes; then
5160 ac_cv_use_log='wxUSE_LOG=yes'
5161 else
5162 ac_cv_use_log='wxUSE_LOG=no'
5163 fi
5164
5165 else
5166
5167 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5168 if test "x$LINE" != x ; then
5169 eval "DEFAULT_$LINE"
5170 else
5171 no_cache=1
5172 fi
5173
5174 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5175
5176 fi;
5177
5178 eval "$ac_cv_use_log"
5179 if test "$no_cache" != 1; then
5180 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5181 fi
5182
5183 if test "$wxUSE_LOG" = yes; then
5184 echo "$as_me:$LINENO: result: yes" >&5
5185 echo "${ECHO_T}yes" >&6
5186 else
5187 echo "$as_me:$LINENO: result: no" >&5
5188 echo "${ECHO_T}no" >&6
5189 fi
5190
5191
5192 enablestring=
5193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5194 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5195 no_cache=0
5196 # Check whether --enable-longlong or --disable-longlong was given.
5197 if test "${enable_longlong+set}" = set; then
5198 enableval="$enable_longlong"
5199
5200 if test "$enableval" = yes; then
5201 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5202 else
5203 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5204 fi
5205
5206 else
5207
5208 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5209 if test "x$LINE" != x ; then
5210 eval "DEFAULT_$LINE"
5211 else
5212 no_cache=1
5213 fi
5214
5215 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5216
5217 fi;
5218
5219 eval "$ac_cv_use_longlong"
5220 if test "$no_cache" != 1; then
5221 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5222 fi
5223
5224 if test "$wxUSE_LONGLONG" = yes; then
5225 echo "$as_me:$LINENO: result: yes" >&5
5226 echo "${ECHO_T}yes" >&6
5227 else
5228 echo "$as_me:$LINENO: result: no" >&5
5229 echo "${ECHO_T}no" >&6
5230 fi
5231
5232
5233 enablestring=
5234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5235 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5236 no_cache=0
5237 # Check whether --enable-mimetype or --disable-mimetype was given.
5238 if test "${enable_mimetype+set}" = set; then
5239 enableval="$enable_mimetype"
5240
5241 if test "$enableval" = yes; then
5242 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5243 else
5244 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5245 fi
5246
5247 else
5248
5249 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5250 if test "x$LINE" != x ; then
5251 eval "DEFAULT_$LINE"
5252 else
5253 no_cache=1
5254 fi
5255
5256 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5257
5258 fi;
5259
5260 eval "$ac_cv_use_mimetype"
5261 if test "$no_cache" != 1; then
5262 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5263 fi
5264
5265 if test "$wxUSE_MIMETYPE" = yes; then
5266 echo "$as_me:$LINENO: result: yes" >&5
5267 echo "${ECHO_T}yes" >&6
5268 else
5269 echo "$as_me:$LINENO: result: no" >&5
5270 echo "${ECHO_T}no" >&6
5271 fi
5272
5273
5274 enablestring=
5275 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5276 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5277 no_cache=0
5278 # Check whether --enable-mslu or --disable-mslu was given.
5279 if test "${enable_mslu+set}" = set; then
5280 enableval="$enable_mslu"
5281
5282 if test "$enableval" = yes; then
5283 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5284 else
5285 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5286 fi
5287
5288 else
5289
5290 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5291 if test "x$LINE" != x ; then
5292 eval "DEFAULT_$LINE"
5293 else
5294 no_cache=1
5295 fi
5296
5297 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5298
5299 fi;
5300
5301 eval "$ac_cv_use_mslu"
5302 if test "$no_cache" != 1; then
5303 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5304 fi
5305
5306 if test "$wxUSE_UNICODE_MSLU" = yes; then
5307 echo "$as_me:$LINENO: result: yes" >&5
5308 echo "${ECHO_T}yes" >&6
5309 else
5310 echo "$as_me:$LINENO: result: no" >&5
5311 echo "${ECHO_T}no" >&6
5312 fi
5313
5314
5315 enablestring=
5316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5317 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5318 no_cache=0
5319 # Check whether --enable-snglinst or --disable-snglinst was given.
5320 if test "${enable_snglinst+set}" = set; then
5321 enableval="$enable_snglinst"
5322
5323 if test "$enableval" = yes; then
5324 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5325 else
5326 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5327 fi
5328
5329 else
5330
5331 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5332 if test "x$LINE" != x ; then
5333 eval "DEFAULT_$LINE"
5334 else
5335 no_cache=1
5336 fi
5337
5338 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5339
5340 fi;
5341
5342 eval "$ac_cv_use_snglinst"
5343 if test "$no_cache" != 1; then
5344 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5345 fi
5346
5347 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5348 echo "$as_me:$LINENO: result: yes" >&5
5349 echo "${ECHO_T}yes" >&6
5350 else
5351 echo "$as_me:$LINENO: result: no" >&5
5352 echo "${ECHO_T}no" >&6
5353 fi
5354
5355
5356 enablestring=
5357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5358 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5359 no_cache=0
5360 # Check whether --enable-streams or --disable-streams was given.
5361 if test "${enable_streams+set}" = set; then
5362 enableval="$enable_streams"
5363
5364 if test "$enableval" = yes; then
5365 ac_cv_use_streams='wxUSE_STREAMS=yes'
5366 else
5367 ac_cv_use_streams='wxUSE_STREAMS=no'
5368 fi
5369
5370 else
5371
5372 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5373 if test "x$LINE" != x ; then
5374 eval "DEFAULT_$LINE"
5375 else
5376 no_cache=1
5377 fi
5378
5379 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5380
5381 fi;
5382
5383 eval "$ac_cv_use_streams"
5384 if test "$no_cache" != 1; then
5385 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5386 fi
5387
5388 if test "$wxUSE_STREAMS" = yes; then
5389 echo "$as_me:$LINENO: result: yes" >&5
5390 echo "${ECHO_T}yes" >&6
5391 else
5392 echo "$as_me:$LINENO: result: no" >&5
5393 echo "${ECHO_T}no" >&6
5394 fi
5395
5396
5397 enablestring=
5398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5399 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5400 no_cache=0
5401 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5402 if test "${enable_std_iostreams+set}" = set; then
5403 enableval="$enable_std_iostreams"
5404
5405 if test "$enableval" = yes; then
5406 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5407 else
5408 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5409 fi
5410
5411 else
5412
5413 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5414 if test "x$LINE" != x ; then
5415 eval "DEFAULT_$LINE"
5416 else
5417 no_cache=1
5418 fi
5419
5420 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5421
5422 fi;
5423
5424 eval "$ac_cv_use_std_iostreams"
5425 if test "$no_cache" != 1; then
5426 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5427 fi
5428
5429 if test "$wxUSE_STD_IOSTREAM" = yes; then
5430 echo "$as_me:$LINENO: result: yes" >&5
5431 echo "${ECHO_T}yes" >&6
5432 else
5433 echo "$as_me:$LINENO: result: no" >&5
5434 echo "${ECHO_T}no" >&6
5435 fi
5436
5437
5438 enablestring=
5439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5440 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5441 no_cache=0
5442 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5443 if test "${enable_stopwatch+set}" = set; then
5444 enableval="$enable_stopwatch"
5445
5446 if test "$enableval" = yes; then
5447 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5448 else
5449 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5450 fi
5451
5452 else
5453
5454 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5455 if test "x$LINE" != x ; then
5456 eval "DEFAULT_$LINE"
5457 else
5458 no_cache=1
5459 fi
5460
5461 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5462
5463 fi;
5464
5465 eval "$ac_cv_use_stopwatch"
5466 if test "$no_cache" != 1; then
5467 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5468 fi
5469
5470 if test "$wxUSE_STOPWATCH" = yes; then
5471 echo "$as_me:$LINENO: result: yes" >&5
5472 echo "${ECHO_T}yes" >&6
5473 else
5474 echo "$as_me:$LINENO: result: no" >&5
5475 echo "${ECHO_T}no" >&6
5476 fi
5477
5478
5479 enablestring=
5480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5481 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5482 no_cache=0
5483 # Check whether --enable-system_options or --disable-system_options was given.
5484 if test "${enable_system_options+set}" = set; then
5485 enableval="$enable_system_options"
5486
5487 if test "$enableval" = yes; then
5488 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5489 else
5490 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5491 fi
5492
5493 else
5494
5495 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5496 if test "x$LINE" != x ; then
5497 eval "DEFAULT_$LINE"
5498 else
5499 no_cache=1
5500 fi
5501
5502 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5503
5504 fi;
5505
5506 eval "$ac_cv_use_system_options"
5507 if test "$no_cache" != 1; then
5508 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5509 fi
5510
5511 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5512 echo "$as_me:$LINENO: result: yes" >&5
5513 echo "${ECHO_T}yes" >&6
5514 else
5515 echo "$as_me:$LINENO: result: no" >&5
5516 echo "${ECHO_T}no" >&6
5517 fi
5518
5519
5520 enablestring=
5521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5522 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5523 no_cache=0
5524 # Check whether --enable-textbuf or --disable-textbuf was given.
5525 if test "${enable_textbuf+set}" = set; then
5526 enableval="$enable_textbuf"
5527
5528 if test "$enableval" = yes; then
5529 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5530 else
5531 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5532 fi
5533
5534 else
5535
5536 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5537 if test "x$LINE" != x ; then
5538 eval "DEFAULT_$LINE"
5539 else
5540 no_cache=1
5541 fi
5542
5543 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5544
5545 fi;
5546
5547 eval "$ac_cv_use_textbuf"
5548 if test "$no_cache" != 1; then
5549 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5550 fi
5551
5552 if test "$wxUSE_TEXTBUFFER" = yes; then
5553 echo "$as_me:$LINENO: result: yes" >&5
5554 echo "${ECHO_T}yes" >&6
5555 else
5556 echo "$as_me:$LINENO: result: no" >&5
5557 echo "${ECHO_T}no" >&6
5558 fi
5559
5560
5561 enablestring=
5562 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5563 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5564 no_cache=0
5565 # Check whether --enable-textfile or --disable-textfile was given.
5566 if test "${enable_textfile+set}" = set; then
5567 enableval="$enable_textfile"
5568
5569 if test "$enableval" = yes; then
5570 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5571 else
5572 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5573 fi
5574
5575 else
5576
5577 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5578 if test "x$LINE" != x ; then
5579 eval "DEFAULT_$LINE"
5580 else
5581 no_cache=1
5582 fi
5583
5584 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5585
5586 fi;
5587
5588 eval "$ac_cv_use_textfile"
5589 if test "$no_cache" != 1; then
5590 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5591 fi
5592
5593 if test "$wxUSE_TEXTFILE" = yes; then
5594 echo "$as_me:$LINENO: result: yes" >&5
5595 echo "${ECHO_T}yes" >&6
5596 else
5597 echo "$as_me:$LINENO: result: no" >&5
5598 echo "${ECHO_T}no" >&6
5599 fi
5600
5601
5602 enablestring=
5603 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5604 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5605 no_cache=0
5606 # Check whether --enable-timer or --disable-timer was given.
5607 if test "${enable_timer+set}" = set; then
5608 enableval="$enable_timer"
5609
5610 if test "$enableval" = yes; then
5611 ac_cv_use_timer='wxUSE_TIMER=yes'
5612 else
5613 ac_cv_use_timer='wxUSE_TIMER=no'
5614 fi
5615
5616 else
5617
5618 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5619 if test "x$LINE" != x ; then
5620 eval "DEFAULT_$LINE"
5621 else
5622 no_cache=1
5623 fi
5624
5625 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5626
5627 fi;
5628
5629 eval "$ac_cv_use_timer"
5630 if test "$no_cache" != 1; then
5631 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5632 fi
5633
5634 if test "$wxUSE_TIMER" = yes; then
5635 echo "$as_me:$LINENO: result: yes" >&5
5636 echo "${ECHO_T}yes" >&6
5637 else
5638 echo "$as_me:$LINENO: result: no" >&5
5639 echo "${ECHO_T}no" >&6
5640 fi
5641
5642
5643 enablestring=
5644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5645 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5646 no_cache=0
5647 # Check whether --enable-unicode or --disable-unicode was given.
5648 if test "${enable_unicode+set}" = set; then
5649 enableval="$enable_unicode"
5650
5651 if test "$enableval" = yes; then
5652 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5653 else
5654 ac_cv_use_unicode='wxUSE_UNICODE=no'
5655 fi
5656
5657 else
5658
5659 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5660 if test "x$LINE" != x ; then
5661 eval "DEFAULT_$LINE"
5662 else
5663 no_cache=1
5664 fi
5665
5666 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5667
5668 fi;
5669
5670 eval "$ac_cv_use_unicode"
5671 if test "$no_cache" != 1; then
5672 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5673 fi
5674
5675 if test "$wxUSE_UNICODE" = yes; then
5676 echo "$as_me:$LINENO: result: yes" >&5
5677 echo "${ECHO_T}yes" >&6
5678 else
5679 echo "$as_me:$LINENO: result: no" >&5
5680 echo "${ECHO_T}no" >&6
5681 fi
5682
5683
5684 enablestring=
5685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5686 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5687 no_cache=0
5688 # Check whether --enable-sound or --disable-sound was given.
5689 if test "${enable_sound+set}" = set; then
5690 enableval="$enable_sound"
5691
5692 if test "$enableval" = yes; then
5693 ac_cv_use_sound='wxUSE_SOUND=yes'
5694 else
5695 ac_cv_use_sound='wxUSE_SOUND=no'
5696 fi
5697
5698 else
5699
5700 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5701 if test "x$LINE" != x ; then
5702 eval "DEFAULT_$LINE"
5703 else
5704 no_cache=1
5705 fi
5706
5707 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5708
5709 fi;
5710
5711 eval "$ac_cv_use_sound"
5712 if test "$no_cache" != 1; then
5713 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5714 fi
5715
5716 if test "$wxUSE_SOUND" = yes; then
5717 echo "$as_me:$LINENO: result: yes" >&5
5718 echo "${ECHO_T}yes" >&6
5719 else
5720 echo "$as_me:$LINENO: result: no" >&5
5721 echo "${ECHO_T}no" >&6
5722 fi
5723
5724
5725 enablestring=
5726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5727 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5728 no_cache=0
5729 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5730 if test "${enable_wxprintfv+set}" = set; then
5731 enableval="$enable_wxprintfv"
5732
5733 if test "$enableval" = yes; then
5734 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5735 else
5736 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5737 fi
5738
5739 else
5740
5741 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5742 if test "x$LINE" != x ; then
5743 eval "DEFAULT_$LINE"
5744 else
5745 no_cache=1
5746 fi
5747
5748 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5749
5750 fi;
5751
5752 eval "$ac_cv_use_wxprintfv"
5753 if test "$no_cache" != 1; then
5754 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5755 fi
5756
5757 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5758 echo "$as_me:$LINENO: result: yes" >&5
5759 echo "${ECHO_T}yes" >&6
5760 else
5761 echo "$as_me:$LINENO: result: no" >&5
5762 echo "${ECHO_T}no" >&6
5763 fi
5764
5765
5766 enablestring=
5767 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5768 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5769 no_cache=0
5770 # Check whether --enable-zipstream or --disable-zipstream was given.
5771 if test "${enable_zipstream+set}" = set; then
5772 enableval="$enable_zipstream"
5773
5774 if test "$enableval" = yes; then
5775 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5776 else
5777 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5778 fi
5779
5780 else
5781
5782 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5783 if test "x$LINE" != x ; then
5784 eval "DEFAULT_$LINE"
5785 else
5786 no_cache=1
5787 fi
5788
5789 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5790
5791 fi;
5792
5793 eval "$ac_cv_use_zipstream"
5794 if test "$no_cache" != 1; then
5795 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5796 fi
5797
5798 if test "$wxUSE_ZIPSTREAM" = yes; then
5799 echo "$as_me:$LINENO: result: yes" >&5
5800 echo "${ECHO_T}yes" >&6
5801 else
5802 echo "$as_me:$LINENO: result: no" >&5
5803 echo "${ECHO_T}no" >&6
5804 fi
5805
5806
5807
5808 enablestring=
5809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5810 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5811 no_cache=0
5812 # Check whether --enable-url or --disable-url was given.
5813 if test "${enable_url+set}" = set; then
5814 enableval="$enable_url"
5815
5816 if test "$enableval" = yes; then
5817 ac_cv_use_url='wxUSE_URL=yes'
5818 else
5819 ac_cv_use_url='wxUSE_URL=no'
5820 fi
5821
5822 else
5823
5824 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5825 if test "x$LINE" != x ; then
5826 eval "DEFAULT_$LINE"
5827 else
5828 no_cache=1
5829 fi
5830
5831 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5832
5833 fi;
5834
5835 eval "$ac_cv_use_url"
5836 if test "$no_cache" != 1; then
5837 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5838 fi
5839
5840 if test "$wxUSE_URL" = yes; then
5841 echo "$as_me:$LINENO: result: yes" >&5
5842 echo "${ECHO_T}yes" >&6
5843 else
5844 echo "$as_me:$LINENO: result: no" >&5
5845 echo "${ECHO_T}no" >&6
5846 fi
5847
5848
5849 enablestring=
5850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5851 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5852 no_cache=0
5853 # Check whether --enable-protocol or --disable-protocol was given.
5854 if test "${enable_protocol+set}" = set; then
5855 enableval="$enable_protocol"
5856
5857 if test "$enableval" = yes; then
5858 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5859 else
5860 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5861 fi
5862
5863 else
5864
5865 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5866 if test "x$LINE" != x ; then
5867 eval "DEFAULT_$LINE"
5868 else
5869 no_cache=1
5870 fi
5871
5872 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5873
5874 fi;
5875
5876 eval "$ac_cv_use_protocol"
5877 if test "$no_cache" != 1; then
5878 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5879 fi
5880
5881 if test "$wxUSE_PROTOCOL" = yes; then
5882 echo "$as_me:$LINENO: result: yes" >&5
5883 echo "${ECHO_T}yes" >&6
5884 else
5885 echo "$as_me:$LINENO: result: no" >&5
5886 echo "${ECHO_T}no" >&6
5887 fi
5888
5889
5890 enablestring=
5891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5892 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5893 no_cache=0
5894 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5895 if test "${enable_protocol_http+set}" = set; then
5896 enableval="$enable_protocol_http"
5897
5898 if test "$enableval" = yes; then
5899 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5900 else
5901 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5902 fi
5903
5904 else
5905
5906 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5907 if test "x$LINE" != x ; then
5908 eval "DEFAULT_$LINE"
5909 else
5910 no_cache=1
5911 fi
5912
5913 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5914
5915 fi;
5916
5917 eval "$ac_cv_use_protocol_http"
5918 if test "$no_cache" != 1; then
5919 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5920 fi
5921
5922 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5923 echo "$as_me:$LINENO: result: yes" >&5
5924 echo "${ECHO_T}yes" >&6
5925 else
5926 echo "$as_me:$LINENO: result: no" >&5
5927 echo "${ECHO_T}no" >&6
5928 fi
5929
5930
5931 enablestring=
5932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5933 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5934 no_cache=0
5935 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5936 if test "${enable_protocol_ftp+set}" = set; then
5937 enableval="$enable_protocol_ftp"
5938
5939 if test "$enableval" = yes; then
5940 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5941 else
5942 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5943 fi
5944
5945 else
5946
5947 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5948 if test "x$LINE" != x ; then
5949 eval "DEFAULT_$LINE"
5950 else
5951 no_cache=1
5952 fi
5953
5954 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5955
5956 fi;
5957
5958 eval "$ac_cv_use_protocol_ftp"
5959 if test "$no_cache" != 1; then
5960 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5961 fi
5962
5963 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5964 echo "$as_me:$LINENO: result: yes" >&5
5965 echo "${ECHO_T}yes" >&6
5966 else
5967 echo "$as_me:$LINENO: result: no" >&5
5968 echo "${ECHO_T}no" >&6
5969 fi
5970
5971
5972 enablestring=
5973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5974 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5975 no_cache=0
5976 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5977 if test "${enable_protocol_file+set}" = set; then
5978 enableval="$enable_protocol_file"
5979
5980 if test "$enableval" = yes; then
5981 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5982 else
5983 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5984 fi
5985
5986 else
5987
5988 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5989 if test "x$LINE" != x ; then
5990 eval "DEFAULT_$LINE"
5991 else
5992 no_cache=1
5993 fi
5994
5995 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5996
5997 fi;
5998
5999 eval "$ac_cv_use_protocol_file"
6000 if test "$no_cache" != 1; then
6001 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6002 fi
6003
6004 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6005 echo "$as_me:$LINENO: result: yes" >&5
6006 echo "${ECHO_T}yes" >&6
6007 else
6008 echo "$as_me:$LINENO: result: no" >&5
6009 echo "${ECHO_T}no" >&6
6010 fi
6011
6012
6013
6014
6015
6016 enablestring=
6017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6018 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6019 no_cache=0
6020 # Check whether --enable-threads or --disable-threads was given.
6021 if test "${enable_threads+set}" = set; then
6022 enableval="$enable_threads"
6023
6024 if test "$enableval" = yes; then
6025 ac_cv_use_threads='wxUSE_THREADS=yes'
6026 else
6027 ac_cv_use_threads='wxUSE_THREADS=no'
6028 fi
6029
6030 else
6031
6032 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6033 if test "x$LINE" != x ; then
6034 eval "DEFAULT_$LINE"
6035 else
6036 no_cache=1
6037 fi
6038
6039 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6040
6041 fi;
6042
6043 eval "$ac_cv_use_threads"
6044 if test "$no_cache" != 1; then
6045 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6046 fi
6047
6048 if test "$wxUSE_THREADS" = yes; then
6049 echo "$as_me:$LINENO: result: yes" >&5
6050 echo "${ECHO_T}yes" >&6
6051 else
6052 echo "$as_me:$LINENO: result: no" >&5
6053 echo "${ECHO_T}no" >&6
6054 fi
6055
6056
6057 if test "$wxUSE_GUI" = "yes"; then
6058
6059
6060
6061 enablestring=
6062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6063 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6064 no_cache=0
6065 # Check whether --enable-docview or --disable-docview was given.
6066 if test "${enable_docview+set}" = set; then
6067 enableval="$enable_docview"
6068
6069 if test "$enableval" = yes; then
6070 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6071 else
6072 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6073 fi
6074
6075 else
6076
6077 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6078 if test "x$LINE" != x ; then
6079 eval "DEFAULT_$LINE"
6080 else
6081 no_cache=1
6082 fi
6083
6084 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6085
6086 fi;
6087
6088 eval "$ac_cv_use_docview"
6089 if test "$no_cache" != 1; then
6090 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6091 fi
6092
6093 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6094 echo "$as_me:$LINENO: result: yes" >&5
6095 echo "${ECHO_T}yes" >&6
6096 else
6097 echo "$as_me:$LINENO: result: no" >&5
6098 echo "${ECHO_T}no" >&6
6099 fi
6100
6101
6102 enablestring=
6103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6104 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6105 no_cache=0
6106 # Check whether --enable-help or --disable-help was given.
6107 if test "${enable_help+set}" = set; then
6108 enableval="$enable_help"
6109
6110 if test "$enableval" = yes; then
6111 ac_cv_use_help='wxUSE_HELP=yes'
6112 else
6113 ac_cv_use_help='wxUSE_HELP=no'
6114 fi
6115
6116 else
6117
6118 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6119 if test "x$LINE" != x ; then
6120 eval "DEFAULT_$LINE"
6121 else
6122 no_cache=1
6123 fi
6124
6125 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6126
6127 fi;
6128
6129 eval "$ac_cv_use_help"
6130 if test "$no_cache" != 1; then
6131 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6132 fi
6133
6134 if test "$wxUSE_HELP" = yes; then
6135 echo "$as_me:$LINENO: result: yes" >&5
6136 echo "${ECHO_T}yes" >&6
6137 else
6138 echo "$as_me:$LINENO: result: no" >&5
6139 echo "${ECHO_T}no" >&6
6140 fi
6141
6142
6143 enablestring=
6144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6145 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6146 no_cache=0
6147 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6148 if test "${enable_mshtmlhelp+set}" = set; then
6149 enableval="$enable_mshtmlhelp"
6150
6151 if test "$enableval" = yes; then
6152 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6153 else
6154 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6155 fi
6156
6157 else
6158
6159 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6160 if test "x$LINE" != x ; then
6161 eval "DEFAULT_$LINE"
6162 else
6163 no_cache=1
6164 fi
6165
6166 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6167
6168 fi;
6169
6170 eval "$ac_cv_use_mshtmlhelp"
6171 if test "$no_cache" != 1; then
6172 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6173 fi
6174
6175 if test "$wxUSE_MS_HTML_HELP" = yes; then
6176 echo "$as_me:$LINENO: result: yes" >&5
6177 echo "${ECHO_T}yes" >&6
6178 else
6179 echo "$as_me:$LINENO: result: no" >&5
6180 echo "${ECHO_T}no" >&6
6181 fi
6182
6183
6184 enablestring=
6185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6186 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6187 no_cache=0
6188 # Check whether --enable-html or --disable-html was given.
6189 if test "${enable_html+set}" = set; then
6190 enableval="$enable_html"
6191
6192 if test "$enableval" = yes; then
6193 ac_cv_use_html='wxUSE_HTML=yes'
6194 else
6195 ac_cv_use_html='wxUSE_HTML=no'
6196 fi
6197
6198 else
6199
6200 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6201 if test "x$LINE" != x ; then
6202 eval "DEFAULT_$LINE"
6203 else
6204 no_cache=1
6205 fi
6206
6207 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6208
6209 fi;
6210
6211 eval "$ac_cv_use_html"
6212 if test "$no_cache" != 1; then
6213 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6214 fi
6215
6216 if test "$wxUSE_HTML" = yes; then
6217 echo "$as_me:$LINENO: result: yes" >&5
6218 echo "${ECHO_T}yes" >&6
6219 else
6220 echo "$as_me:$LINENO: result: no" >&5
6221 echo "${ECHO_T}no" >&6
6222 fi
6223
6224
6225 enablestring=
6226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6227 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6228 no_cache=0
6229 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6230 if test "${enable_htmlhelp+set}" = set; then
6231 enableval="$enable_htmlhelp"
6232
6233 if test "$enableval" = yes; then
6234 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6235 else
6236 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6237 fi
6238
6239 else
6240
6241 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6242 if test "x$LINE" != x ; then
6243 eval "DEFAULT_$LINE"
6244 else
6245 no_cache=1
6246 fi
6247
6248 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6249
6250 fi;
6251
6252 eval "$ac_cv_use_htmlhelp"
6253 if test "$no_cache" != 1; then
6254 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6255 fi
6256
6257 if test "$wxUSE_WXHTML_HELP" = yes; then
6258 echo "$as_me:$LINENO: result: yes" >&5
6259 echo "${ECHO_T}yes" >&6
6260 else
6261 echo "$as_me:$LINENO: result: no" >&5
6262 echo "${ECHO_T}no" >&6
6263 fi
6264
6265
6266 enablestring=
6267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6268 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6269 no_cache=0
6270 # Check whether --enable-xrc or --disable-xrc was given.
6271 if test "${enable_xrc+set}" = set; then
6272 enableval="$enable_xrc"
6273
6274 if test "$enableval" = yes; then
6275 ac_cv_use_xrc='wxUSE_XRC=yes'
6276 else
6277 ac_cv_use_xrc='wxUSE_XRC=no'
6278 fi
6279
6280 else
6281
6282 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6283 if test "x$LINE" != x ; then
6284 eval "DEFAULT_$LINE"
6285 else
6286 no_cache=1
6287 fi
6288
6289 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6290
6291 fi;
6292
6293 eval "$ac_cv_use_xrc"
6294 if test "$no_cache" != 1; then
6295 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6296 fi
6297
6298 if test "$wxUSE_XRC" = yes; then
6299 echo "$as_me:$LINENO: result: yes" >&5
6300 echo "${ECHO_T}yes" >&6
6301 else
6302 echo "$as_me:$LINENO: result: no" >&5
6303 echo "${ECHO_T}no" >&6
6304 fi
6305
6306
6307 enablestring=
6308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6309 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6310 no_cache=0
6311 # Check whether --enable-constraints or --disable-constraints was given.
6312 if test "${enable_constraints+set}" = set; then
6313 enableval="$enable_constraints"
6314
6315 if test "$enableval" = yes; then
6316 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6317 else
6318 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6319 fi
6320
6321 else
6322
6323 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6324 if test "x$LINE" != x ; then
6325 eval "DEFAULT_$LINE"
6326 else
6327 no_cache=1
6328 fi
6329
6330 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6331
6332 fi;
6333
6334 eval "$ac_cv_use_constraints"
6335 if test "$no_cache" != 1; then
6336 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6337 fi
6338
6339 if test "$wxUSE_CONSTRAINTS" = yes; then
6340 echo "$as_me:$LINENO: result: yes" >&5
6341 echo "${ECHO_T}yes" >&6
6342 else
6343 echo "$as_me:$LINENO: result: no" >&5
6344 echo "${ECHO_T}no" >&6
6345 fi
6346
6347
6348 enablestring=
6349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6350 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6351 no_cache=0
6352 # Check whether --enable-printarch or --disable-printarch was given.
6353 if test "${enable_printarch+set}" = set; then
6354 enableval="$enable_printarch"
6355
6356 if test "$enableval" = yes; then
6357 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6358 else
6359 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6360 fi
6361
6362 else
6363
6364 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6365 if test "x$LINE" != x ; then
6366 eval "DEFAULT_$LINE"
6367 else
6368 no_cache=1
6369 fi
6370
6371 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6372
6373 fi;
6374
6375 eval "$ac_cv_use_printarch"
6376 if test "$no_cache" != 1; then
6377 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6378 fi
6379
6380 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6381 echo "$as_me:$LINENO: result: yes" >&5
6382 echo "${ECHO_T}yes" >&6
6383 else
6384 echo "$as_me:$LINENO: result: no" >&5
6385 echo "${ECHO_T}no" >&6
6386 fi
6387
6388
6389 enablestring=
6390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6391 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6392 no_cache=0
6393 # Check whether --enable-mdi or --disable-mdi was given.
6394 if test "${enable_mdi+set}" = set; then
6395 enableval="$enable_mdi"
6396
6397 if test "$enableval" = yes; then
6398 ac_cv_use_mdi='wxUSE_MDI=yes'
6399 else
6400 ac_cv_use_mdi='wxUSE_MDI=no'
6401 fi
6402
6403 else
6404
6405 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6406 if test "x$LINE" != x ; then
6407 eval "DEFAULT_$LINE"
6408 else
6409 no_cache=1
6410 fi
6411
6412 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6413
6414 fi;
6415
6416 eval "$ac_cv_use_mdi"
6417 if test "$no_cache" != 1; then
6418 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6419 fi
6420
6421 if test "$wxUSE_MDI" = yes; then
6422 echo "$as_me:$LINENO: result: yes" >&5
6423 echo "${ECHO_T}yes" >&6
6424 else
6425 echo "$as_me:$LINENO: result: no" >&5
6426 echo "${ECHO_T}no" >&6
6427 fi
6428
6429
6430 enablestring=
6431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6432 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6433 no_cache=0
6434 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6435 if test "${enable_mdidoc+set}" = set; then
6436 enableval="$enable_mdidoc"
6437
6438 if test "$enableval" = yes; then
6439 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6440 else
6441 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6442 fi
6443
6444 else
6445
6446 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6447 if test "x$LINE" != x ; then
6448 eval "DEFAULT_$LINE"
6449 else
6450 no_cache=1
6451 fi
6452
6453 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6454
6455 fi;
6456
6457 eval "$ac_cv_use_mdidoc"
6458 if test "$no_cache" != 1; then
6459 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6460 fi
6461
6462 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6463 echo "$as_me:$LINENO: result: yes" >&5
6464 echo "${ECHO_T}yes" >&6
6465 else
6466 echo "$as_me:$LINENO: result: no" >&5
6467 echo "${ECHO_T}no" >&6
6468 fi
6469
6470
6471 enablestring=
6472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6473 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6474 no_cache=0
6475 # Check whether --enable-loggui or --disable-loggui was given.
6476 if test "${enable_loggui+set}" = set; then
6477 enableval="$enable_loggui"
6478
6479 if test "$enableval" = yes; then
6480 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6481 else
6482 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6483 fi
6484
6485 else
6486
6487 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6488 if test "x$LINE" != x ; then
6489 eval "DEFAULT_$LINE"
6490 else
6491 no_cache=1
6492 fi
6493
6494 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6495
6496 fi;
6497
6498 eval "$ac_cv_use_loggui"
6499 if test "$no_cache" != 1; then
6500 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6501 fi
6502
6503 if test "$wxUSE_LOGGUI" = yes; then
6504 echo "$as_me:$LINENO: result: yes" >&5
6505 echo "${ECHO_T}yes" >&6
6506 else
6507 echo "$as_me:$LINENO: result: no" >&5
6508 echo "${ECHO_T}no" >&6
6509 fi
6510
6511
6512 enablestring=
6513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6514 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6515 no_cache=0
6516 # Check whether --enable-logwin or --disable-logwin was given.
6517 if test "${enable_logwin+set}" = set; then
6518 enableval="$enable_logwin"
6519
6520 if test "$enableval" = yes; then
6521 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6522 else
6523 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6524 fi
6525
6526 else
6527
6528 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6529 if test "x$LINE" != x ; then
6530 eval "DEFAULT_$LINE"
6531 else
6532 no_cache=1
6533 fi
6534
6535 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6536
6537 fi;
6538
6539 eval "$ac_cv_use_logwin"
6540 if test "$no_cache" != 1; then
6541 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6542 fi
6543
6544 if test "$wxUSE_LOGWINDOW" = yes; then
6545 echo "$as_me:$LINENO: result: yes" >&5
6546 echo "${ECHO_T}yes" >&6
6547 else
6548 echo "$as_me:$LINENO: result: no" >&5
6549 echo "${ECHO_T}no" >&6
6550 fi
6551
6552
6553 enablestring=
6554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6555 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6556 no_cache=0
6557 # Check whether --enable-logdialog or --disable-logdialog was given.
6558 if test "${enable_logdialog+set}" = set; then
6559 enableval="$enable_logdialog"
6560
6561 if test "$enableval" = yes; then
6562 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6563 else
6564 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6565 fi
6566
6567 else
6568
6569 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6570 if test "x$LINE" != x ; then
6571 eval "DEFAULT_$LINE"
6572 else
6573 no_cache=1
6574 fi
6575
6576 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6577
6578 fi;
6579
6580 eval "$ac_cv_use_logdialog"
6581 if test "$no_cache" != 1; then
6582 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6583 fi
6584
6585 if test "$wxUSE_LOGDIALOG" = yes; then
6586 echo "$as_me:$LINENO: result: yes" >&5
6587 echo "${ECHO_T}yes" >&6
6588 else
6589 echo "$as_me:$LINENO: result: no" >&5
6590 echo "${ECHO_T}no" >&6
6591 fi
6592
6593
6594 enablestring=
6595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6596 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6597 no_cache=0
6598 # Check whether --enable-webkit or --disable-webkit was given.
6599 if test "${enable_webkit+set}" = set; then
6600 enableval="$enable_webkit"
6601
6602 if test "$enableval" = yes; then
6603 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
6604 else
6605 ac_cv_use_webkit='wxUSE_WEBKIT=no'
6606 fi
6607
6608 else
6609
6610 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6611 if test "x$LINE" != x ; then
6612 eval "DEFAULT_$LINE"
6613 else
6614 no_cache=1
6615 fi
6616
6617 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6618
6619 fi;
6620
6621 eval "$ac_cv_use_webkit"
6622 if test "$no_cache" != 1; then
6623 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6624 fi
6625
6626 if test "$wxUSE_WEBKIT" = yes; then
6627 echo "$as_me:$LINENO: result: yes" >&5
6628 echo "${ECHO_T}yes" >&6
6629 else
6630 echo "$as_me:$LINENO: result: no" >&5
6631 echo "${ECHO_T}no" >&6
6632 fi
6633
6634
6635
6636 enablestring=
6637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6638 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6639 no_cache=0
6640 # Check whether --enable-postscript or --disable-postscript was given.
6641 if test "${enable_postscript+set}" = set; then
6642 enableval="$enable_postscript"
6643
6644 if test "$enableval" = yes; then
6645 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6646 else
6647 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6648 fi
6649
6650 else
6651
6652 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6653 if test "x$LINE" != x ; then
6654 eval "DEFAULT_$LINE"
6655 else
6656 no_cache=1
6657 fi
6658
6659 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6660
6661 fi;
6662
6663 eval "$ac_cv_use_postscript"
6664 if test "$no_cache" != 1; then
6665 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6666 fi
6667
6668 if test "$wxUSE_POSTSCRIPT" = yes; then
6669 echo "$as_me:$LINENO: result: yes" >&5
6670 echo "${ECHO_T}yes" >&6
6671 else
6672 echo "$as_me:$LINENO: result: no" >&5
6673 echo "${ECHO_T}no" >&6
6674 fi
6675
6676
6677
6678
6679
6680 enablestring=
6681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6682 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6683 no_cache=0
6684 # Check whether --enable-prologio or --disable-prologio was given.
6685 if test "${enable_prologio+set}" = set; then
6686 enableval="$enable_prologio"
6687
6688 if test "$enableval" = yes; then
6689 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6690 else
6691 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6692 fi
6693
6694 else
6695
6696 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6697 if test "x$LINE" != x ; then
6698 eval "DEFAULT_$LINE"
6699 else
6700 no_cache=1
6701 fi
6702
6703 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6704
6705 fi;
6706
6707 eval "$ac_cv_use_prologio"
6708 if test "$no_cache" != 1; then
6709 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6710 fi
6711
6712 if test "$wxUSE_PROLOGIO" = yes; then
6713 echo "$as_me:$LINENO: result: yes" >&5
6714 echo "${ECHO_T}yes" >&6
6715 else
6716 echo "$as_me:$LINENO: result: no" >&5
6717 echo "${ECHO_T}no" >&6
6718 fi
6719
6720
6721 enablestring=
6722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6723 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6724 no_cache=0
6725 # Check whether --enable-resources or --disable-resources was given.
6726 if test "${enable_resources+set}" = set; then
6727 enableval="$enable_resources"
6728
6729 if test "$enableval" = yes; then
6730 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6731 else
6732 ac_cv_use_resources='wxUSE_RESOURCES=no'
6733 fi
6734
6735 else
6736
6737 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6738 if test "x$LINE" != x ; then
6739 eval "DEFAULT_$LINE"
6740 else
6741 no_cache=1
6742 fi
6743
6744 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6745
6746 fi;
6747
6748 eval "$ac_cv_use_resources"
6749 if test "$no_cache" != 1; then
6750 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6751 fi
6752
6753 if test "$wxUSE_RESOURCES" = yes; then
6754 echo "$as_me:$LINENO: result: yes" >&5
6755 echo "${ECHO_T}yes" >&6
6756 else
6757 echo "$as_me:$LINENO: result: no" >&5
6758 echo "${ECHO_T}no" >&6
6759 fi
6760
6761
6762
6763
6764 enablestring=
6765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6766 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6767 no_cache=0
6768 # Check whether --enable-clipboard or --disable-clipboard was given.
6769 if test "${enable_clipboard+set}" = set; then
6770 enableval="$enable_clipboard"
6771
6772 if test "$enableval" = yes; then
6773 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6774 else
6775 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6776 fi
6777
6778 else
6779
6780 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6781 if test "x$LINE" != x ; then
6782 eval "DEFAULT_$LINE"
6783 else
6784 no_cache=1
6785 fi
6786
6787 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6788
6789 fi;
6790
6791 eval "$ac_cv_use_clipboard"
6792 if test "$no_cache" != 1; then
6793 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6794 fi
6795
6796 if test "$wxUSE_CLIPBOARD" = yes; then
6797 echo "$as_me:$LINENO: result: yes" >&5
6798 echo "${ECHO_T}yes" >&6
6799 else
6800 echo "$as_me:$LINENO: result: no" >&5
6801 echo "${ECHO_T}no" >&6
6802 fi
6803
6804
6805 enablestring=
6806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6807 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6808 no_cache=0
6809 # Check whether --enable-dnd or --disable-dnd was given.
6810 if test "${enable_dnd+set}" = set; then
6811 enableval="$enable_dnd"
6812
6813 if test "$enableval" = yes; then
6814 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6815 else
6816 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6817 fi
6818
6819 else
6820
6821 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6822 if test "x$LINE" != x ; then
6823 eval "DEFAULT_$LINE"
6824 else
6825 no_cache=1
6826 fi
6827
6828 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6829
6830 fi;
6831
6832 eval "$ac_cv_use_dnd"
6833 if test "$no_cache" != 1; then
6834 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6835 fi
6836
6837 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6838 echo "$as_me:$LINENO: result: yes" >&5
6839 echo "${ECHO_T}yes" >&6
6840 else
6841 echo "$as_me:$LINENO: result: no" >&5
6842 echo "${ECHO_T}no" >&6
6843 fi
6844
6845
6846 enablestring=
6847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6848 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6849 no_cache=0
6850 # Check whether --enable-metafile or --disable-metafile was given.
6851 if test "${enable_metafile+set}" = set; then
6852 enableval="$enable_metafile"
6853
6854 if test "$enableval" = yes; then
6855 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6856 else
6857 ac_cv_use_metafile='wxUSE_METAFILE=no'
6858 fi
6859
6860 else
6861
6862 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6863 if test "x$LINE" != x ; then
6864 eval "DEFAULT_$LINE"
6865 else
6866 no_cache=1
6867 fi
6868
6869 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6870
6871 fi;
6872
6873 eval "$ac_cv_use_metafile"
6874 if test "$no_cache" != 1; then
6875 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6876 fi
6877
6878 if test "$wxUSE_METAFILE" = yes; then
6879 echo "$as_me:$LINENO: result: yes" >&5
6880 echo "${ECHO_T}yes" >&6
6881 else
6882 echo "$as_me:$LINENO: result: no" >&5
6883 echo "${ECHO_T}no" >&6
6884 fi
6885
6886
6887
6888
6889
6890 enablestring=
6891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6892 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6893 no_cache=0
6894 # Check whether --enable-controls or --disable-controls was given.
6895 if test "${enable_controls+set}" = set; then
6896 enableval="$enable_controls"
6897
6898 if test "$enableval" = yes; then
6899 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6900 else
6901 ac_cv_use_controls='wxUSE_CONTROLS=no'
6902 fi
6903
6904 else
6905
6906 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6907 if test "x$LINE" != x ; then
6908 eval "DEFAULT_$LINE"
6909 else
6910 no_cache=1
6911 fi
6912
6913 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6914
6915 fi;
6916
6917 eval "$ac_cv_use_controls"
6918 if test "$no_cache" != 1; then
6919 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6920 fi
6921
6922 if test "$wxUSE_CONTROLS" = yes; then
6923 echo "$as_me:$LINENO: result: yes" >&5
6924 echo "${ECHO_T}yes" >&6
6925 else
6926 echo "$as_me:$LINENO: result: no" >&5
6927 echo "${ECHO_T}no" >&6
6928 fi
6929
6930
6931 if test "$wxUSE_CONTROLS" = "yes"; then
6932 DEFAULT_wxUSE_ACCEL=yes
6933 DEFAULT_wxUSE_BMPBUTTON=yes
6934 DEFAULT_wxUSE_BUTTON=yes
6935 DEFAULT_wxUSE_CALCTRL=no
6936 DEFAULT_wxUSE_CARET=yes
6937 DEFAULT_wxUSE_COMBOBOX=yes
6938 DEFAULT_wxUSE_CHECKBOX=yes
6939 DEFAULT_wxUSE_CHECKLISTBOX=yes
6940 DEFAULT_wxUSE_CHOICE=yes
6941 DEFAULT_wxUSE_CHOICEBOOK=yes
6942 DEFAULT_wxUSE_GAUGE=yes
6943 DEFAULT_wxUSE_GRID=yes
6944 DEFAULT_wxUSE_IMAGLIST=yes
6945 DEFAULT_wxUSE_LISTBOOK=yes
6946 DEFAULT_wxUSE_LISTBOX=yes
6947 DEFAULT_wxUSE_LISTCTRL=yes
6948 DEFAULT_wxUSE_NOTEBOOK=yes
6949 DEFAULT_wxUSE_RADIOBOX=yes
6950 DEFAULT_wxUSE_RADIOBTN=yes
6951 DEFAULT_wxUSE_SASH=yes
6952 DEFAULT_wxUSE_SCROLLBAR=yes
6953 DEFAULT_wxUSE_SLIDER=yes
6954 DEFAULT_wxUSE_SPINBTN=yes
6955 DEFAULT_wxUSE_SPINCTRL=yes
6956 DEFAULT_wxUSE_SPLITTER=yes
6957 DEFAULT_wxUSE_STATBMP=yes
6958 DEFAULT_wxUSE_STATBOX=yes
6959 DEFAULT_wxUSE_STATLINE=yes
6960 DEFAULT_wxUSE_STATUSBAR=yes
6961 DEFAULT_wxUSE_TAB_DIALOG=yes
6962 DEFAULT_wxUSE_TOGGLEBTN=yes
6963 DEFAULT_wxUSE_TOOLBAR=yes
6964 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6965 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6966 DEFAULT_wxUSE_TOOLTIPS=yes
6967 DEFAULT_wxUSE_TREECTRL=yes
6968 DEFAULT_wxUSE_POPUPWIN=yes
6969 DEFAULT_wxUSE_TIPWINDOW=yes
6970 elif test "$wxUSE_CONTROLS" = "no"; then
6971 DEFAULT_wxUSE_ACCEL=no
6972 DEFAULT_wxUSE_BMPBUTTON=no
6973 DEFAULT_wxUSE_BUTTON=no
6974 DEFAULT_wxUSE_CALCTRL=no
6975 DEFAULT_wxUSE_CARET=no
6976 DEFAULT_wxUSE_COMBOBOX=no
6977 DEFAULT_wxUSE_CHECKBOX=no
6978 DEFAULT_wxUSE_CHECKLISTBOX=no
6979 DEFAULT_wxUSE_CHOICE=no
6980 DEFAULT_wxUSE_CHOICEBOOK=no
6981 DEFAULT_wxUSE_GAUGE=no
6982 DEFAULT_wxUSE_GRID=no
6983 DEFAULT_wxUSE_IMAGLIST=no
6984 DEFAULT_wxUSE_LISTBOOK=no
6985 DEFAULT_wxUSE_LISTBOX=no
6986 DEFAULT_wxUSE_LISTCTRL=no
6987 DEFAULT_wxUSE_NOTEBOOK=no
6988 DEFAULT_wxUSE_RADIOBOX=no
6989 DEFAULT_wxUSE_RADIOBTN=no
6990 DEFAULT_wxUSE_SASH=no
6991 DEFAULT_wxUSE_SCROLLBAR=no
6992 DEFAULT_wxUSE_SLIDER=no
6993 DEFAULT_wxUSE_SPINBTN=no
6994 DEFAULT_wxUSE_SPINCTRL=no
6995 DEFAULT_wxUSE_SPLITTER=no
6996 DEFAULT_wxUSE_STATBMP=no
6997 DEFAULT_wxUSE_STATBOX=no
6998 DEFAULT_wxUSE_STATLINE=no
6999 DEFAULT_wxUSE_STATUSBAR=no
7000 DEFAULT_wxUSE_TAB_DIALOG=no
7001 DEFAULT_wxUSE_TOGGLEBTN=no
7002 DEFAULT_wxUSE_TOOLBAR=no
7003 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7004 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7005 DEFAULT_wxUSE_TOOLTIPS=no
7006 DEFAULT_wxUSE_TREECTRL=no
7007 DEFAULT_wxUSE_POPUPWIN=no
7008 DEFAULT_wxUSE_TIPWINDOW=no
7009 fi
7010
7011 ## FIXME: This is a blatant hack
7012 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
7013 wxUSE_PRINTING_ARCHITECTURE=no
7014 wxUSE_DRAG_AND_DROP=no
7015 DEFAULT_wxUSE_TOOLTIPS=no
7016 DEFAULT_wxUSE_DRAGIMAGE=no
7017 fi
7018
7019
7020 enablestring=
7021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7022 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7023 no_cache=0
7024 # Check whether --enable-accel or --disable-accel was given.
7025 if test "${enable_accel+set}" = set; then
7026 enableval="$enable_accel"
7027
7028 if test "$enableval" = yes; then
7029 ac_cv_use_accel='wxUSE_ACCEL=yes'
7030 else
7031 ac_cv_use_accel='wxUSE_ACCEL=no'
7032 fi
7033
7034 else
7035
7036 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7037 if test "x$LINE" != x ; then
7038 eval "DEFAULT_$LINE"
7039 else
7040 no_cache=1
7041 fi
7042
7043 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7044
7045 fi;
7046
7047 eval "$ac_cv_use_accel"
7048 if test "$no_cache" != 1; then
7049 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7050 fi
7051
7052 if test "$wxUSE_ACCEL" = yes; then
7053 echo "$as_me:$LINENO: result: yes" >&5
7054 echo "${ECHO_T}yes" >&6
7055 else
7056 echo "$as_me:$LINENO: result: no" >&5
7057 echo "${ECHO_T}no" >&6
7058 fi
7059
7060
7061 enablestring=
7062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7063 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7064 no_cache=0
7065 # Check whether --enable-button or --disable-button was given.
7066 if test "${enable_button+set}" = set; then
7067 enableval="$enable_button"
7068
7069 if test "$enableval" = yes; then
7070 ac_cv_use_button='wxUSE_BUTTON=yes'
7071 else
7072 ac_cv_use_button='wxUSE_BUTTON=no'
7073 fi
7074
7075 else
7076
7077 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7078 if test "x$LINE" != x ; then
7079 eval "DEFAULT_$LINE"
7080 else
7081 no_cache=1
7082 fi
7083
7084 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7085
7086 fi;
7087
7088 eval "$ac_cv_use_button"
7089 if test "$no_cache" != 1; then
7090 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7091 fi
7092
7093 if test "$wxUSE_BUTTON" = yes; then
7094 echo "$as_me:$LINENO: result: yes" >&5
7095 echo "${ECHO_T}yes" >&6
7096 else
7097 echo "$as_me:$LINENO: result: no" >&5
7098 echo "${ECHO_T}no" >&6
7099 fi
7100
7101
7102 enablestring=
7103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7104 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7105 no_cache=0
7106 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7107 if test "${enable_bmpbutton+set}" = set; then
7108 enableval="$enable_bmpbutton"
7109
7110 if test "$enableval" = yes; then
7111 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7112 else
7113 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7114 fi
7115
7116 else
7117
7118 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7119 if test "x$LINE" != x ; then
7120 eval "DEFAULT_$LINE"
7121 else
7122 no_cache=1
7123 fi
7124
7125 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7126
7127 fi;
7128
7129 eval "$ac_cv_use_bmpbutton"
7130 if test "$no_cache" != 1; then
7131 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7132 fi
7133
7134 if test "$wxUSE_BMPBUTTON" = yes; then
7135 echo "$as_me:$LINENO: result: yes" >&5
7136 echo "${ECHO_T}yes" >&6
7137 else
7138 echo "$as_me:$LINENO: result: no" >&5
7139 echo "${ECHO_T}no" >&6
7140 fi
7141
7142
7143 enablestring=
7144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7145 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7146 no_cache=0
7147 # Check whether --enable-calendar or --disable-calendar was given.
7148 if test "${enable_calendar+set}" = set; then
7149 enableval="$enable_calendar"
7150
7151 if test "$enableval" = yes; then
7152 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7153 else
7154 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7155 fi
7156
7157 else
7158
7159 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7160 if test "x$LINE" != x ; then
7161 eval "DEFAULT_$LINE"
7162 else
7163 no_cache=1
7164 fi
7165
7166 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7167
7168 fi;
7169
7170 eval "$ac_cv_use_calendar"
7171 if test "$no_cache" != 1; then
7172 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7173 fi
7174
7175 if test "$wxUSE_CALCTRL" = yes; then
7176 echo "$as_me:$LINENO: result: yes" >&5
7177 echo "${ECHO_T}yes" >&6
7178 else
7179 echo "$as_me:$LINENO: result: no" >&5
7180 echo "${ECHO_T}no" >&6
7181 fi
7182
7183
7184 enablestring=
7185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7186 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7187 no_cache=0
7188 # Check whether --enable-caret or --disable-caret was given.
7189 if test "${enable_caret+set}" = set; then
7190 enableval="$enable_caret"
7191
7192 if test "$enableval" = yes; then
7193 ac_cv_use_caret='wxUSE_CARET=yes'
7194 else
7195 ac_cv_use_caret='wxUSE_CARET=no'
7196 fi
7197
7198 else
7199
7200 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7201 if test "x$LINE" != x ; then
7202 eval "DEFAULT_$LINE"
7203 else
7204 no_cache=1
7205 fi
7206
7207 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7208
7209 fi;
7210
7211 eval "$ac_cv_use_caret"
7212 if test "$no_cache" != 1; then
7213 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7214 fi
7215
7216 if test "$wxUSE_CARET" = yes; then
7217 echo "$as_me:$LINENO: result: yes" >&5
7218 echo "${ECHO_T}yes" >&6
7219 else
7220 echo "$as_me:$LINENO: result: no" >&5
7221 echo "${ECHO_T}no" >&6
7222 fi
7223
7224
7225 enablestring=
7226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7227 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7228 no_cache=0
7229 # Check whether --enable-checkbox or --disable-checkbox was given.
7230 if test "${enable_checkbox+set}" = set; then
7231 enableval="$enable_checkbox"
7232
7233 if test "$enableval" = yes; then
7234 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7235 else
7236 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7237 fi
7238
7239 else
7240
7241 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7242 if test "x$LINE" != x ; then
7243 eval "DEFAULT_$LINE"
7244 else
7245 no_cache=1
7246 fi
7247
7248 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7249
7250 fi;
7251
7252 eval "$ac_cv_use_checkbox"
7253 if test "$no_cache" != 1; then
7254 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7255 fi
7256
7257 if test "$wxUSE_CHECKBOX" = yes; then
7258 echo "$as_me:$LINENO: result: yes" >&5
7259 echo "${ECHO_T}yes" >&6
7260 else
7261 echo "$as_me:$LINENO: result: no" >&5
7262 echo "${ECHO_T}no" >&6
7263 fi
7264
7265
7266 enablestring=
7267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7268 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7269 no_cache=0
7270 # Check whether --enable-checklst or --disable-checklst was given.
7271 if test "${enable_checklst+set}" = set; then
7272 enableval="$enable_checklst"
7273
7274 if test "$enableval" = yes; then
7275 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7276 else
7277 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7278 fi
7279
7280 else
7281
7282 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7283 if test "x$LINE" != x ; then
7284 eval "DEFAULT_$LINE"
7285 else
7286 no_cache=1
7287 fi
7288
7289 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7290
7291 fi;
7292
7293 eval "$ac_cv_use_checklst"
7294 if test "$no_cache" != 1; then
7295 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7296 fi
7297
7298 if test "$wxUSE_CHECKLST" = yes; then
7299 echo "$as_me:$LINENO: result: yes" >&5
7300 echo "${ECHO_T}yes" >&6
7301 else
7302 echo "$as_me:$LINENO: result: no" >&5
7303 echo "${ECHO_T}no" >&6
7304 fi
7305
7306
7307 enablestring=
7308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7309 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7310 no_cache=0
7311 # Check whether --enable-choice or --disable-choice was given.
7312 if test "${enable_choice+set}" = set; then
7313 enableval="$enable_choice"
7314
7315 if test "$enableval" = yes; then
7316 ac_cv_use_choice='wxUSE_CHOICE=yes'
7317 else
7318 ac_cv_use_choice='wxUSE_CHOICE=no'
7319 fi
7320
7321 else
7322
7323 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7324 if test "x$LINE" != x ; then
7325 eval "DEFAULT_$LINE"
7326 else
7327 no_cache=1
7328 fi
7329
7330 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7331
7332 fi;
7333
7334 eval "$ac_cv_use_choice"
7335 if test "$no_cache" != 1; then
7336 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7337 fi
7338
7339 if test "$wxUSE_CHOICE" = yes; then
7340 echo "$as_me:$LINENO: result: yes" >&5
7341 echo "${ECHO_T}yes" >&6
7342 else
7343 echo "$as_me:$LINENO: result: no" >&5
7344 echo "${ECHO_T}no" >&6
7345 fi
7346
7347
7348 enablestring=
7349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7350 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7351 no_cache=0
7352 # Check whether --enable-choicebook or --disable-choicebook was given.
7353 if test "${enable_choicebook+set}" = set; then
7354 enableval="$enable_choicebook"
7355
7356 if test "$enableval" = yes; then
7357 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
7358 else
7359 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
7360 fi
7361
7362 else
7363
7364 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7365 if test "x$LINE" != x ; then
7366 eval "DEFAULT_$LINE"
7367 else
7368 no_cache=1
7369 fi
7370
7371 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7372
7373 fi;
7374
7375 eval "$ac_cv_use_choicebook"
7376 if test "$no_cache" != 1; then
7377 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7378 fi
7379
7380 if test "$wxUSE_CHOICEBOOK" = yes; then
7381 echo "$as_me:$LINENO: result: yes" >&5
7382 echo "${ECHO_T}yes" >&6
7383 else
7384 echo "$as_me:$LINENO: result: no" >&5
7385 echo "${ECHO_T}no" >&6
7386 fi
7387
7388
7389 enablestring=
7390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7391 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7392 no_cache=0
7393 # Check whether --enable-combobox or --disable-combobox was given.
7394 if test "${enable_combobox+set}" = set; then
7395 enableval="$enable_combobox"
7396
7397 if test "$enableval" = yes; then
7398 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7399 else
7400 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7401 fi
7402
7403 else
7404
7405 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7406 if test "x$LINE" != x ; then
7407 eval "DEFAULT_$LINE"
7408 else
7409 no_cache=1
7410 fi
7411
7412 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7413
7414 fi;
7415
7416 eval "$ac_cv_use_combobox"
7417 if test "$no_cache" != 1; then
7418 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7419 fi
7420
7421 if test "$wxUSE_COMBOBOX" = yes; then
7422 echo "$as_me:$LINENO: result: yes" >&5
7423 echo "${ECHO_T}yes" >&6
7424 else
7425 echo "$as_me:$LINENO: result: no" >&5
7426 echo "${ECHO_T}no" >&6
7427 fi
7428
7429
7430 enablestring=
7431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7432 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7433 no_cache=0
7434 # Check whether --enable-display or --disable-display was given.
7435 if test "${enable_display+set}" = set; then
7436 enableval="$enable_display"
7437
7438 if test "$enableval" = yes; then
7439 ac_cv_use_display='wxUSE_DISPLAY=yes'
7440 else
7441 ac_cv_use_display='wxUSE_DISPLAY=no'
7442 fi
7443
7444 else
7445
7446 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7447 if test "x$LINE" != x ; then
7448 eval "DEFAULT_$LINE"
7449 else
7450 no_cache=1
7451 fi
7452
7453 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7454
7455 fi;
7456
7457 eval "$ac_cv_use_display"
7458 if test "$no_cache" != 1; then
7459 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7460 fi
7461
7462 if test "$wxUSE_DISPLAY" = yes; then
7463 echo "$as_me:$LINENO: result: yes" >&5
7464 echo "${ECHO_T}yes" >&6
7465 else
7466 echo "$as_me:$LINENO: result: no" >&5
7467 echo "${ECHO_T}no" >&6
7468 fi
7469
7470
7471 enablestring=
7472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7473 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7474 no_cache=0
7475 # Check whether --enable-gauge or --disable-gauge was given.
7476 if test "${enable_gauge+set}" = set; then
7477 enableval="$enable_gauge"
7478
7479 if test "$enableval" = yes; then
7480 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7481 else
7482 ac_cv_use_gauge='wxUSE_GAUGE=no'
7483 fi
7484
7485 else
7486
7487 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7488 if test "x$LINE" != x ; then
7489 eval "DEFAULT_$LINE"
7490 else
7491 no_cache=1
7492 fi
7493
7494 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7495
7496 fi;
7497
7498 eval "$ac_cv_use_gauge"
7499 if test "$no_cache" != 1; then
7500 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7501 fi
7502
7503 if test "$wxUSE_GAUGE" = yes; then
7504 echo "$as_me:$LINENO: result: yes" >&5
7505 echo "${ECHO_T}yes" >&6
7506 else
7507 echo "$as_me:$LINENO: result: no" >&5
7508 echo "${ECHO_T}no" >&6
7509 fi
7510
7511
7512 enablestring=
7513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7514 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7515 no_cache=0
7516 # Check whether --enable-grid or --disable-grid was given.
7517 if test "${enable_grid+set}" = set; then
7518 enableval="$enable_grid"
7519
7520 if test "$enableval" = yes; then
7521 ac_cv_use_grid='wxUSE_GRID=yes'
7522 else
7523 ac_cv_use_grid='wxUSE_GRID=no'
7524 fi
7525
7526 else
7527
7528 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7529 if test "x$LINE" != x ; then
7530 eval "DEFAULT_$LINE"
7531 else
7532 no_cache=1
7533 fi
7534
7535 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7536
7537 fi;
7538
7539 eval "$ac_cv_use_grid"
7540 if test "$no_cache" != 1; then
7541 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7542 fi
7543
7544 if test "$wxUSE_GRID" = yes; then
7545 echo "$as_me:$LINENO: result: yes" >&5
7546 echo "${ECHO_T}yes" >&6
7547 else
7548 echo "$as_me:$LINENO: result: no" >&5
7549 echo "${ECHO_T}no" >&6
7550 fi
7551
7552
7553 enablestring=
7554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7555 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7556 no_cache=0
7557 # Check whether --enable-imaglist or --disable-imaglist was given.
7558 if test "${enable_imaglist+set}" = set; then
7559 enableval="$enable_imaglist"
7560
7561 if test "$enableval" = yes; then
7562 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7563 else
7564 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7565 fi
7566
7567 else
7568
7569 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7570 if test "x$LINE" != x ; then
7571 eval "DEFAULT_$LINE"
7572 else
7573 no_cache=1
7574 fi
7575
7576 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7577
7578 fi;
7579
7580 eval "$ac_cv_use_imaglist"
7581 if test "$no_cache" != 1; then
7582 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7583 fi
7584
7585 if test "$wxUSE_IMAGLIST" = yes; then
7586 echo "$as_me:$LINENO: result: yes" >&5
7587 echo "${ECHO_T}yes" >&6
7588 else
7589 echo "$as_me:$LINENO: result: no" >&5
7590 echo "${ECHO_T}no" >&6
7591 fi
7592
7593
7594 enablestring=
7595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7596 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7597 no_cache=0
7598 # Check whether --enable-listbook or --disable-listbook was given.
7599 if test "${enable_listbook+set}" = set; then
7600 enableval="$enable_listbook"
7601
7602 if test "$enableval" = yes; then
7603 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7604 else
7605 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7606 fi
7607
7608 else
7609
7610 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7611 if test "x$LINE" != x ; then
7612 eval "DEFAULT_$LINE"
7613 else
7614 no_cache=1
7615 fi
7616
7617 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7618
7619 fi;
7620
7621 eval "$ac_cv_use_listbook"
7622 if test "$no_cache" != 1; then
7623 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7624 fi
7625
7626 if test "$wxUSE_LISTBOOK" = yes; then
7627 echo "$as_me:$LINENO: result: yes" >&5
7628 echo "${ECHO_T}yes" >&6
7629 else
7630 echo "$as_me:$LINENO: result: no" >&5
7631 echo "${ECHO_T}no" >&6
7632 fi
7633
7634
7635 enablestring=
7636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7637 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7638 no_cache=0
7639 # Check whether --enable-listbox or --disable-listbox was given.
7640 if test "${enable_listbox+set}" = set; then
7641 enableval="$enable_listbox"
7642
7643 if test "$enableval" = yes; then
7644 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7645 else
7646 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7647 fi
7648
7649 else
7650
7651 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7652 if test "x$LINE" != x ; then
7653 eval "DEFAULT_$LINE"
7654 else
7655 no_cache=1
7656 fi
7657
7658 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7659
7660 fi;
7661
7662 eval "$ac_cv_use_listbox"
7663 if test "$no_cache" != 1; then
7664 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7665 fi
7666
7667 if test "$wxUSE_LISTBOX" = yes; then
7668 echo "$as_me:$LINENO: result: yes" >&5
7669 echo "${ECHO_T}yes" >&6
7670 else
7671 echo "$as_me:$LINENO: result: no" >&5
7672 echo "${ECHO_T}no" >&6
7673 fi
7674
7675
7676 enablestring=
7677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7678 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7679 no_cache=0
7680 # Check whether --enable-listctrl or --disable-listctrl was given.
7681 if test "${enable_listctrl+set}" = set; then
7682 enableval="$enable_listctrl"
7683
7684 if test "$enableval" = yes; then
7685 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7686 else
7687 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7688 fi
7689
7690 else
7691
7692 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7693 if test "x$LINE" != x ; then
7694 eval "DEFAULT_$LINE"
7695 else
7696 no_cache=1
7697 fi
7698
7699 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7700
7701 fi;
7702
7703 eval "$ac_cv_use_listctrl"
7704 if test "$no_cache" != 1; then
7705 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7706 fi
7707
7708 if test "$wxUSE_LISTCTRL" = yes; then
7709 echo "$as_me:$LINENO: result: yes" >&5
7710 echo "${ECHO_T}yes" >&6
7711 else
7712 echo "$as_me:$LINENO: result: no" >&5
7713 echo "${ECHO_T}no" >&6
7714 fi
7715
7716
7717 enablestring=
7718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7719 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7720 no_cache=0
7721 # Check whether --enable-notebook or --disable-notebook was given.
7722 if test "${enable_notebook+set}" = set; then
7723 enableval="$enable_notebook"
7724
7725 if test "$enableval" = yes; then
7726 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7727 else
7728 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7729 fi
7730
7731 else
7732
7733 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7734 if test "x$LINE" != x ; then
7735 eval "DEFAULT_$LINE"
7736 else
7737 no_cache=1
7738 fi
7739
7740 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7741
7742 fi;
7743
7744 eval "$ac_cv_use_notebook"
7745 if test "$no_cache" != 1; then
7746 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7747 fi
7748
7749 if test "$wxUSE_NOTEBOOK" = yes; then
7750 echo "$as_me:$LINENO: result: yes" >&5
7751 echo "${ECHO_T}yes" >&6
7752 else
7753 echo "$as_me:$LINENO: result: no" >&5
7754 echo "${ECHO_T}no" >&6
7755 fi
7756
7757
7758 enablestring=
7759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7760 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7761 no_cache=0
7762 # Check whether --enable-radiobox or --disable-radiobox was given.
7763 if test "${enable_radiobox+set}" = set; then
7764 enableval="$enable_radiobox"
7765
7766 if test "$enableval" = yes; then
7767 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7768 else
7769 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7770 fi
7771
7772 else
7773
7774 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7775 if test "x$LINE" != x ; then
7776 eval "DEFAULT_$LINE"
7777 else
7778 no_cache=1
7779 fi
7780
7781 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7782
7783 fi;
7784
7785 eval "$ac_cv_use_radiobox"
7786 if test "$no_cache" != 1; then
7787 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7788 fi
7789
7790 if test "$wxUSE_RADIOBOX" = yes; then
7791 echo "$as_me:$LINENO: result: yes" >&5
7792 echo "${ECHO_T}yes" >&6
7793 else
7794 echo "$as_me:$LINENO: result: no" >&5
7795 echo "${ECHO_T}no" >&6
7796 fi
7797
7798
7799 enablestring=
7800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7801 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7802 no_cache=0
7803 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7804 if test "${enable_radiobtn+set}" = set; then
7805 enableval="$enable_radiobtn"
7806
7807 if test "$enableval" = yes; then
7808 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7809 else
7810 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7811 fi
7812
7813 else
7814
7815 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7816 if test "x$LINE" != x ; then
7817 eval "DEFAULT_$LINE"
7818 else
7819 no_cache=1
7820 fi
7821
7822 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7823
7824 fi;
7825
7826 eval "$ac_cv_use_radiobtn"
7827 if test "$no_cache" != 1; then
7828 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7829 fi
7830
7831 if test "$wxUSE_RADIOBTN" = yes; then
7832 echo "$as_me:$LINENO: result: yes" >&5
7833 echo "${ECHO_T}yes" >&6
7834 else
7835 echo "$as_me:$LINENO: result: no" >&5
7836 echo "${ECHO_T}no" >&6
7837 fi
7838
7839
7840 enablestring=
7841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7842 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7843 no_cache=0
7844 # Check whether --enable-sash or --disable-sash was given.
7845 if test "${enable_sash+set}" = set; then
7846 enableval="$enable_sash"
7847
7848 if test "$enableval" = yes; then
7849 ac_cv_use_sash='wxUSE_SASH=yes'
7850 else
7851 ac_cv_use_sash='wxUSE_SASH=no'
7852 fi
7853
7854 else
7855
7856 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7857 if test "x$LINE" != x ; then
7858 eval "DEFAULT_$LINE"
7859 else
7860 no_cache=1
7861 fi
7862
7863 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7864
7865 fi;
7866
7867 eval "$ac_cv_use_sash"
7868 if test "$no_cache" != 1; then
7869 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7870 fi
7871
7872 if test "$wxUSE_SASH" = yes; then
7873 echo "$as_me:$LINENO: result: yes" >&5
7874 echo "${ECHO_T}yes" >&6
7875 else
7876 echo "$as_me:$LINENO: result: no" >&5
7877 echo "${ECHO_T}no" >&6
7878 fi
7879
7880
7881 enablestring=
7882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7883 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7884 no_cache=0
7885 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7886 if test "${enable_scrollbar+set}" = set; then
7887 enableval="$enable_scrollbar"
7888
7889 if test "$enableval" = yes; then
7890 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7891 else
7892 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7893 fi
7894
7895 else
7896
7897 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7898 if test "x$LINE" != x ; then
7899 eval "DEFAULT_$LINE"
7900 else
7901 no_cache=1
7902 fi
7903
7904 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7905
7906 fi;
7907
7908 eval "$ac_cv_use_scrollbar"
7909 if test "$no_cache" != 1; then
7910 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7911 fi
7912
7913 if test "$wxUSE_SCROLLBAR" = yes; then
7914 echo "$as_me:$LINENO: result: yes" >&5
7915 echo "${ECHO_T}yes" >&6
7916 else
7917 echo "$as_me:$LINENO: result: no" >&5
7918 echo "${ECHO_T}no" >&6
7919 fi
7920
7921
7922 enablestring=
7923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7924 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7925 no_cache=0
7926 # Check whether --enable-slider or --disable-slider was given.
7927 if test "${enable_slider+set}" = set; then
7928 enableval="$enable_slider"
7929
7930 if test "$enableval" = yes; then
7931 ac_cv_use_slider='wxUSE_SLIDER=yes'
7932 else
7933 ac_cv_use_slider='wxUSE_SLIDER=no'
7934 fi
7935
7936 else
7937
7938 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7939 if test "x$LINE" != x ; then
7940 eval "DEFAULT_$LINE"
7941 else
7942 no_cache=1
7943 fi
7944
7945 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7946
7947 fi;
7948
7949 eval "$ac_cv_use_slider"
7950 if test "$no_cache" != 1; then
7951 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7952 fi
7953
7954 if test "$wxUSE_SLIDER" = yes; then
7955 echo "$as_me:$LINENO: result: yes" >&5
7956 echo "${ECHO_T}yes" >&6
7957 else
7958 echo "$as_me:$LINENO: result: no" >&5
7959 echo "${ECHO_T}no" >&6
7960 fi
7961
7962
7963 enablestring=
7964 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7965 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7966 no_cache=0
7967 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7968 if test "${enable_spinbtn+set}" = set; then
7969 enableval="$enable_spinbtn"
7970
7971 if test "$enableval" = yes; then
7972 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7973 else
7974 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7975 fi
7976
7977 else
7978
7979 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7980 if test "x$LINE" != x ; then
7981 eval "DEFAULT_$LINE"
7982 else
7983 no_cache=1
7984 fi
7985
7986 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7987
7988 fi;
7989
7990 eval "$ac_cv_use_spinbtn"
7991 if test "$no_cache" != 1; then
7992 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7993 fi
7994
7995 if test "$wxUSE_SPINBTN" = yes; then
7996 echo "$as_me:$LINENO: result: yes" >&5
7997 echo "${ECHO_T}yes" >&6
7998 else
7999 echo "$as_me:$LINENO: result: no" >&5
8000 echo "${ECHO_T}no" >&6
8001 fi
8002
8003
8004 enablestring=
8005 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8006 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8007 no_cache=0
8008 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8009 if test "${enable_spinctrl+set}" = set; then
8010 enableval="$enable_spinctrl"
8011
8012 if test "$enableval" = yes; then
8013 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
8014 else
8015 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
8016 fi
8017
8018 else
8019
8020 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8021 if test "x$LINE" != x ; then
8022 eval "DEFAULT_$LINE"
8023 else
8024 no_cache=1
8025 fi
8026
8027 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8028
8029 fi;
8030
8031 eval "$ac_cv_use_spinctrl"
8032 if test "$no_cache" != 1; then
8033 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8034 fi
8035
8036 if test "$wxUSE_SPINCTRL" = yes; then
8037 echo "$as_me:$LINENO: result: yes" >&5
8038 echo "${ECHO_T}yes" >&6
8039 else
8040 echo "$as_me:$LINENO: result: no" >&5
8041 echo "${ECHO_T}no" >&6
8042 fi
8043
8044
8045 enablestring=
8046 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8047 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8048 no_cache=0
8049 # Check whether --enable-splitter or --disable-splitter was given.
8050 if test "${enable_splitter+set}" = set; then
8051 enableval="$enable_splitter"
8052
8053 if test "$enableval" = yes; then
8054 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
8055 else
8056 ac_cv_use_splitter='wxUSE_SPLITTER=no'
8057 fi
8058
8059 else
8060
8061 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8062 if test "x$LINE" != x ; then
8063 eval "DEFAULT_$LINE"
8064 else
8065 no_cache=1
8066 fi
8067
8068 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8069
8070 fi;
8071
8072 eval "$ac_cv_use_splitter"
8073 if test "$no_cache" != 1; then
8074 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8075 fi
8076
8077 if test "$wxUSE_SPLITTER" = yes; then
8078 echo "$as_me:$LINENO: result: yes" >&5
8079 echo "${ECHO_T}yes" >&6
8080 else
8081 echo "$as_me:$LINENO: result: no" >&5
8082 echo "${ECHO_T}no" >&6
8083 fi
8084
8085
8086 enablestring=
8087 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8088 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8089 no_cache=0
8090 # Check whether --enable-statbmp or --disable-statbmp was given.
8091 if test "${enable_statbmp+set}" = set; then
8092 enableval="$enable_statbmp"
8093
8094 if test "$enableval" = yes; then
8095 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8096 else
8097 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8098 fi
8099
8100 else
8101
8102 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8103 if test "x$LINE" != x ; then
8104 eval "DEFAULT_$LINE"
8105 else
8106 no_cache=1
8107 fi
8108
8109 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8110
8111 fi;
8112
8113 eval "$ac_cv_use_statbmp"
8114 if test "$no_cache" != 1; then
8115 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8116 fi
8117
8118 if test "$wxUSE_STATBMP" = yes; then
8119 echo "$as_me:$LINENO: result: yes" >&5
8120 echo "${ECHO_T}yes" >&6
8121 else
8122 echo "$as_me:$LINENO: result: no" >&5
8123 echo "${ECHO_T}no" >&6
8124 fi
8125
8126
8127 enablestring=
8128 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8129 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8130 no_cache=0
8131 # Check whether --enable-statbox or --disable-statbox was given.
8132 if test "${enable_statbox+set}" = set; then
8133 enableval="$enable_statbox"
8134
8135 if test "$enableval" = yes; then
8136 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8137 else
8138 ac_cv_use_statbox='wxUSE_STATBOX=no'
8139 fi
8140
8141 else
8142
8143 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8144 if test "x$LINE" != x ; then
8145 eval "DEFAULT_$LINE"
8146 else
8147 no_cache=1
8148 fi
8149
8150 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8151
8152 fi;
8153
8154 eval "$ac_cv_use_statbox"
8155 if test "$no_cache" != 1; then
8156 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8157 fi
8158
8159 if test "$wxUSE_STATBOX" = yes; then
8160 echo "$as_me:$LINENO: result: yes" >&5
8161 echo "${ECHO_T}yes" >&6
8162 else
8163 echo "$as_me:$LINENO: result: no" >&5
8164 echo "${ECHO_T}no" >&6
8165 fi
8166
8167
8168 enablestring=
8169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8170 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8171 no_cache=0
8172 # Check whether --enable-statline or --disable-statline was given.
8173 if test "${enable_statline+set}" = set; then
8174 enableval="$enable_statline"
8175
8176 if test "$enableval" = yes; then
8177 ac_cv_use_statline='wxUSE_STATLINE=yes'
8178 else
8179 ac_cv_use_statline='wxUSE_STATLINE=no'
8180 fi
8181
8182 else
8183
8184 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8185 if test "x$LINE" != x ; then
8186 eval "DEFAULT_$LINE"
8187 else
8188 no_cache=1
8189 fi
8190
8191 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8192
8193 fi;
8194
8195 eval "$ac_cv_use_statline"
8196 if test "$no_cache" != 1; then
8197 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8198 fi
8199
8200 if test "$wxUSE_STATLINE" = yes; then
8201 echo "$as_me:$LINENO: result: yes" >&5
8202 echo "${ECHO_T}yes" >&6
8203 else
8204 echo "$as_me:$LINENO: result: no" >&5
8205 echo "${ECHO_T}no" >&6
8206 fi
8207
8208
8209 enablestring=
8210 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8211 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8212 no_cache=0
8213 # Check whether --enable-stattext or --disable-stattext was given.
8214 if test "${enable_stattext+set}" = set; then
8215 enableval="$enable_stattext"
8216
8217 if test "$enableval" = yes; then
8218 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8219 else
8220 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8221 fi
8222
8223 else
8224
8225 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8226 if test "x$LINE" != x ; then
8227 eval "DEFAULT_$LINE"
8228 else
8229 no_cache=1
8230 fi
8231
8232 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8233
8234 fi;
8235
8236 eval "$ac_cv_use_stattext"
8237 if test "$no_cache" != 1; then
8238 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8239 fi
8240
8241 if test "$wxUSE_STATTEXT" = yes; then
8242 echo "$as_me:$LINENO: result: yes" >&5
8243 echo "${ECHO_T}yes" >&6
8244 else
8245 echo "$as_me:$LINENO: result: no" >&5
8246 echo "${ECHO_T}no" >&6
8247 fi
8248
8249
8250 enablestring=
8251 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8252 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8253 no_cache=0
8254 # Check whether --enable-statusbar or --disable-statusbar was given.
8255 if test "${enable_statusbar+set}" = set; then
8256 enableval="$enable_statusbar"
8257
8258 if test "$enableval" = yes; then
8259 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8260 else
8261 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8262 fi
8263
8264 else
8265
8266 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8267 if test "x$LINE" != x ; then
8268 eval "DEFAULT_$LINE"
8269 else
8270 no_cache=1
8271 fi
8272
8273 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8274
8275 fi;
8276
8277 eval "$ac_cv_use_statusbar"
8278 if test "$no_cache" != 1; then
8279 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8280 fi
8281
8282 if test "$wxUSE_STATUSBAR" = yes; then
8283 echo "$as_me:$LINENO: result: yes" >&5
8284 echo "${ECHO_T}yes" >&6
8285 else
8286 echo "$as_me:$LINENO: result: no" >&5
8287 echo "${ECHO_T}no" >&6
8288 fi
8289
8290
8291 enablestring=
8292 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8293 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8294 no_cache=0
8295 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8296 if test "${enable_tabdialog+set}" = set; then
8297 enableval="$enable_tabdialog"
8298
8299 if test "$enableval" = yes; then
8300 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8301 else
8302 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8303 fi
8304
8305 else
8306
8307 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8308 if test "x$LINE" != x ; then
8309 eval "DEFAULT_$LINE"
8310 else
8311 no_cache=1
8312 fi
8313
8314 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8315
8316 fi;
8317
8318 eval "$ac_cv_use_tabdialog"
8319 if test "$no_cache" != 1; then
8320 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8321 fi
8322
8323 if test "$wxUSE_TABDIALOG" = yes; then
8324 echo "$as_me:$LINENO: result: yes" >&5
8325 echo "${ECHO_T}yes" >&6
8326 else
8327 echo "$as_me:$LINENO: result: no" >&5
8328 echo "${ECHO_T}no" >&6
8329 fi
8330
8331
8332 enablestring=
8333 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8334 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8335 no_cache=0
8336 # Check whether --enable-textctrl or --disable-textctrl was given.
8337 if test "${enable_textctrl+set}" = set; then
8338 enableval="$enable_textctrl"
8339
8340 if test "$enableval" = yes; then
8341 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8342 else
8343 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8344 fi
8345
8346 else
8347
8348 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8349 if test "x$LINE" != x ; then
8350 eval "DEFAULT_$LINE"
8351 else
8352 no_cache=1
8353 fi
8354
8355 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8356
8357 fi;
8358
8359 eval "$ac_cv_use_textctrl"
8360 if test "$no_cache" != 1; then
8361 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8362 fi
8363
8364 if test "$wxUSE_TEXTCTRL" = yes; then
8365 echo "$as_me:$LINENO: result: yes" >&5
8366 echo "${ECHO_T}yes" >&6
8367 else
8368 echo "$as_me:$LINENO: result: no" >&5
8369 echo "${ECHO_T}no" >&6
8370 fi
8371
8372
8373 enablestring=
8374 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8375 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8376 no_cache=0
8377 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8378 if test "${enable_togglebtn+set}" = set; then
8379 enableval="$enable_togglebtn"
8380
8381 if test "$enableval" = yes; then
8382 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8383 else
8384 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8385 fi
8386
8387 else
8388
8389 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8390 if test "x$LINE" != x ; then
8391 eval "DEFAULT_$LINE"
8392 else
8393 no_cache=1
8394 fi
8395
8396 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8397
8398 fi;
8399
8400 eval "$ac_cv_use_togglebtn"
8401 if test "$no_cache" != 1; then
8402 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8403 fi
8404
8405 if test "$wxUSE_TOGGLEBTN" = yes; then
8406 echo "$as_me:$LINENO: result: yes" >&5
8407 echo "${ECHO_T}yes" >&6
8408 else
8409 echo "$as_me:$LINENO: result: no" >&5
8410 echo "${ECHO_T}no" >&6
8411 fi
8412
8413
8414 enablestring=
8415 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8416 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8417 no_cache=0
8418 # Check whether --enable-toolbar or --disable-toolbar was given.
8419 if test "${enable_toolbar+set}" = set; then
8420 enableval="$enable_toolbar"
8421
8422 if test "$enableval" = yes; then
8423 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8424 else
8425 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8426 fi
8427
8428 else
8429
8430 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8431 if test "x$LINE" != x ; then
8432 eval "DEFAULT_$LINE"
8433 else
8434 no_cache=1
8435 fi
8436
8437 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8438
8439 fi;
8440
8441 eval "$ac_cv_use_toolbar"
8442 if test "$no_cache" != 1; then
8443 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8444 fi
8445
8446 if test "$wxUSE_TOOLBAR" = yes; then
8447 echo "$as_me:$LINENO: result: yes" >&5
8448 echo "${ECHO_T}yes" >&6
8449 else
8450 echo "$as_me:$LINENO: result: no" >&5
8451 echo "${ECHO_T}no" >&6
8452 fi
8453
8454
8455 enablestring=
8456 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8457 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8458 no_cache=0
8459 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8460 if test "${enable_tbarnative+set}" = set; then
8461 enableval="$enable_tbarnative"
8462
8463 if test "$enableval" = yes; then
8464 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8465 else
8466 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8467 fi
8468
8469 else
8470
8471 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8472 if test "x$LINE" != x ; then
8473 eval "DEFAULT_$LINE"
8474 else
8475 no_cache=1
8476 fi
8477
8478 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8479
8480 fi;
8481
8482 eval "$ac_cv_use_tbarnative"
8483 if test "$no_cache" != 1; then
8484 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8485 fi
8486
8487 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8488 echo "$as_me:$LINENO: result: yes" >&5
8489 echo "${ECHO_T}yes" >&6
8490 else
8491 echo "$as_me:$LINENO: result: no" >&5
8492 echo "${ECHO_T}no" >&6
8493 fi
8494
8495
8496 enablestring=
8497 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8498 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8499 no_cache=0
8500 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8501 if test "${enable_tbarsmpl+set}" = set; then
8502 enableval="$enable_tbarsmpl"
8503
8504 if test "$enableval" = yes; then
8505 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8506 else
8507 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8508 fi
8509
8510 else
8511
8512 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8513 if test "x$LINE" != x ; then
8514 eval "DEFAULT_$LINE"
8515 else
8516 no_cache=1
8517 fi
8518
8519 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8520
8521 fi;
8522
8523 eval "$ac_cv_use_tbarsmpl"
8524 if test "$no_cache" != 1; then
8525 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8526 fi
8527
8528 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8529 echo "$as_me:$LINENO: result: yes" >&5
8530 echo "${ECHO_T}yes" >&6
8531 else
8532 echo "$as_me:$LINENO: result: no" >&5
8533 echo "${ECHO_T}no" >&6
8534 fi
8535
8536
8537 enablestring=
8538 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8539 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8540 no_cache=0
8541 # Check whether --enable-treectrl or --disable-treectrl was given.
8542 if test "${enable_treectrl+set}" = set; then
8543 enableval="$enable_treectrl"
8544
8545 if test "$enableval" = yes; then
8546 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8547 else
8548 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8549 fi
8550
8551 else
8552
8553 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8554 if test "x$LINE" != x ; then
8555 eval "DEFAULT_$LINE"
8556 else
8557 no_cache=1
8558 fi
8559
8560 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8561
8562 fi;
8563
8564 eval "$ac_cv_use_treectrl"
8565 if test "$no_cache" != 1; then
8566 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8567 fi
8568
8569 if test "$wxUSE_TREECTRL" = yes; then
8570 echo "$as_me:$LINENO: result: yes" >&5
8571 echo "${ECHO_T}yes" >&6
8572 else
8573 echo "$as_me:$LINENO: result: no" >&5
8574 echo "${ECHO_T}no" >&6
8575 fi
8576
8577
8578 enablestring=
8579 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8580 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8581 no_cache=0
8582 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8583 if test "${enable_tipwindow+set}" = set; then
8584 enableval="$enable_tipwindow"
8585
8586 if test "$enableval" = yes; then
8587 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8588 else
8589 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8590 fi
8591
8592 else
8593
8594 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8595 if test "x$LINE" != x ; then
8596 eval "DEFAULT_$LINE"
8597 else
8598 no_cache=1
8599 fi
8600
8601 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8602
8603 fi;
8604
8605 eval "$ac_cv_use_tipwindow"
8606 if test "$no_cache" != 1; then
8607 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8608 fi
8609
8610 if test "$wxUSE_TIPWINDOW" = yes; then
8611 echo "$as_me:$LINENO: result: yes" >&5
8612 echo "${ECHO_T}yes" >&6
8613 else
8614 echo "$as_me:$LINENO: result: no" >&5
8615 echo "${ECHO_T}no" >&6
8616 fi
8617
8618
8619 enablestring=
8620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8621 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8622 no_cache=0
8623 # Check whether --enable-popupwin or --disable-popupwin was given.
8624 if test "${enable_popupwin+set}" = set; then
8625 enableval="$enable_popupwin"
8626
8627 if test "$enableval" = yes; then
8628 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8629 else
8630 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8631 fi
8632
8633 else
8634
8635 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8636 if test "x$LINE" != x ; then
8637 eval "DEFAULT_$LINE"
8638 else
8639 no_cache=1
8640 fi
8641
8642 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8643
8644 fi;
8645
8646 eval "$ac_cv_use_popupwin"
8647 if test "$no_cache" != 1; then
8648 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8649 fi
8650
8651 if test "$wxUSE_POPUPWIN" = yes; then
8652 echo "$as_me:$LINENO: result: yes" >&5
8653 echo "${ECHO_T}yes" >&6
8654 else
8655 echo "$as_me:$LINENO: result: no" >&5
8656 echo "${ECHO_T}no" >&6
8657 fi
8658
8659
8660
8661
8662 enablestring=
8663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8664 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8665 no_cache=0
8666 # Check whether --enable-commondlg or --disable-commondlg was given.
8667 if test "${enable_commondlg+set}" = set; then
8668 enableval="$enable_commondlg"
8669
8670 if test "$enableval" = yes; then
8671 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8672 else
8673 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8674 fi
8675
8676 else
8677
8678 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8679 if test "x$LINE" != x ; then
8680 eval "DEFAULT_$LINE"
8681 else
8682 no_cache=1
8683 fi
8684
8685 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8686
8687 fi;
8688
8689 eval "$ac_cv_use_commondlg"
8690 if test "$no_cache" != 1; then
8691 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8692 fi
8693
8694 if test "$wxUSE_COMMONDLGS" = yes; then
8695 echo "$as_me:$LINENO: result: yes" >&5
8696 echo "${ECHO_T}yes" >&6
8697 else
8698 echo "$as_me:$LINENO: result: no" >&5
8699 echo "${ECHO_T}no" >&6
8700 fi
8701
8702
8703 enablestring=
8704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8705 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8706 no_cache=0
8707 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8708 if test "${enable_choicedlg+set}" = set; then
8709 enableval="$enable_choicedlg"
8710
8711 if test "$enableval" = yes; then
8712 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8713 else
8714 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8715 fi
8716
8717 else
8718
8719 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8720 if test "x$LINE" != x ; then
8721 eval "DEFAULT_$LINE"
8722 else
8723 no_cache=1
8724 fi
8725
8726 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8727
8728 fi;
8729
8730 eval "$ac_cv_use_choicedlg"
8731 if test "$no_cache" != 1; then
8732 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8733 fi
8734
8735 if test "$wxUSE_CHOICEDLG" = yes; then
8736 echo "$as_me:$LINENO: result: yes" >&5
8737 echo "${ECHO_T}yes" >&6
8738 else
8739 echo "$as_me:$LINENO: result: no" >&5
8740 echo "${ECHO_T}no" >&6
8741 fi
8742
8743
8744 enablestring=
8745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8746 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8747 no_cache=0
8748 # Check whether --enable-coldlg or --disable-coldlg was given.
8749 if test "${enable_coldlg+set}" = set; then
8750 enableval="$enable_coldlg"
8751
8752 if test "$enableval" = yes; then
8753 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8754 else
8755 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8756 fi
8757
8758 else
8759
8760 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8761 if test "x$LINE" != x ; then
8762 eval "DEFAULT_$LINE"
8763 else
8764 no_cache=1
8765 fi
8766
8767 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8768
8769 fi;
8770
8771 eval "$ac_cv_use_coldlg"
8772 if test "$no_cache" != 1; then
8773 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8774 fi
8775
8776 if test "$wxUSE_COLOURDLG" = yes; then
8777 echo "$as_me:$LINENO: result: yes" >&5
8778 echo "${ECHO_T}yes" >&6
8779 else
8780 echo "$as_me:$LINENO: result: no" >&5
8781 echo "${ECHO_T}no" >&6
8782 fi
8783
8784
8785 enablestring=
8786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8787 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8788 no_cache=0
8789 # Check whether --enable-filedlg or --disable-filedlg was given.
8790 if test "${enable_filedlg+set}" = set; then
8791 enableval="$enable_filedlg"
8792
8793 if test "$enableval" = yes; then
8794 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8795 else
8796 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8797 fi
8798
8799 else
8800
8801 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8802 if test "x$LINE" != x ; then
8803 eval "DEFAULT_$LINE"
8804 else
8805 no_cache=1
8806 fi
8807
8808 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8809
8810 fi;
8811
8812 eval "$ac_cv_use_filedlg"
8813 if test "$no_cache" != 1; then
8814 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8815 fi
8816
8817 if test "$wxUSE_FILEDLG" = yes; then
8818 echo "$as_me:$LINENO: result: yes" >&5
8819 echo "${ECHO_T}yes" >&6
8820 else
8821 echo "$as_me:$LINENO: result: no" >&5
8822 echo "${ECHO_T}no" >&6
8823 fi
8824
8825
8826 enablestring=
8827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8828 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8829 no_cache=0
8830 # Check whether --enable-finddlg or --disable-finddlg was given.
8831 if test "${enable_finddlg+set}" = set; then
8832 enableval="$enable_finddlg"
8833
8834 if test "$enableval" = yes; then
8835 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8836 else
8837 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8838 fi
8839
8840 else
8841
8842 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8843 if test "x$LINE" != x ; then
8844 eval "DEFAULT_$LINE"
8845 else
8846 no_cache=1
8847 fi
8848
8849 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8850
8851 fi;
8852
8853 eval "$ac_cv_use_finddlg"
8854 if test "$no_cache" != 1; then
8855 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8856 fi
8857
8858 if test "$wxUSE_FINDREPLDLG" = yes; then
8859 echo "$as_me:$LINENO: result: yes" >&5
8860 echo "${ECHO_T}yes" >&6
8861 else
8862 echo "$as_me:$LINENO: result: no" >&5
8863 echo "${ECHO_T}no" >&6
8864 fi
8865
8866
8867 enablestring=
8868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8869 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8870 no_cache=0
8871 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8872 if test "${enable_fontdlg+set}" = set; then
8873 enableval="$enable_fontdlg"
8874
8875 if test "$enableval" = yes; then
8876 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8877 else
8878 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8879 fi
8880
8881 else
8882
8883 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8884 if test "x$LINE" != x ; then
8885 eval "DEFAULT_$LINE"
8886 else
8887 no_cache=1
8888 fi
8889
8890 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8891
8892 fi;
8893
8894 eval "$ac_cv_use_fontdlg"
8895 if test "$no_cache" != 1; then
8896 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8897 fi
8898
8899 if test "$wxUSE_FONTDLG" = yes; then
8900 echo "$as_me:$LINENO: result: yes" >&5
8901 echo "${ECHO_T}yes" >&6
8902 else
8903 echo "$as_me:$LINENO: result: no" >&5
8904 echo "${ECHO_T}no" >&6
8905 fi
8906
8907
8908 enablestring=
8909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8910 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8911 no_cache=0
8912 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8913 if test "${enable_dirdlg+set}" = set; then
8914 enableval="$enable_dirdlg"
8915
8916 if test "$enableval" = yes; then
8917 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8918 else
8919 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8920 fi
8921
8922 else
8923
8924 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8925 if test "x$LINE" != x ; then
8926 eval "DEFAULT_$LINE"
8927 else
8928 no_cache=1
8929 fi
8930
8931 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8932
8933 fi;
8934
8935 eval "$ac_cv_use_dirdlg"
8936 if test "$no_cache" != 1; then
8937 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8938 fi
8939
8940 if test "$wxUSE_DIRDLG" = yes; then
8941 echo "$as_me:$LINENO: result: yes" >&5
8942 echo "${ECHO_T}yes" >&6
8943 else
8944 echo "$as_me:$LINENO: result: no" >&5
8945 echo "${ECHO_T}no" >&6
8946 fi
8947
8948
8949 enablestring=
8950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8951 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8952 no_cache=0
8953 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8954 if test "${enable_msgdlg+set}" = set; then
8955 enableval="$enable_msgdlg"
8956
8957 if test "$enableval" = yes; then
8958 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8959 else
8960 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8961 fi
8962
8963 else
8964
8965 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8966 if test "x$LINE" != x ; then
8967 eval "DEFAULT_$LINE"
8968 else
8969 no_cache=1
8970 fi
8971
8972 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8973
8974 fi;
8975
8976 eval "$ac_cv_use_msgdlg"
8977 if test "$no_cache" != 1; then
8978 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8979 fi
8980
8981 if test "$wxUSE_MSGDLG" = yes; then
8982 echo "$as_me:$LINENO: result: yes" >&5
8983 echo "${ECHO_T}yes" >&6
8984 else
8985 echo "$as_me:$LINENO: result: no" >&5
8986 echo "${ECHO_T}no" >&6
8987 fi
8988
8989
8990 enablestring=
8991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8992 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8993 no_cache=0
8994 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8995 if test "${enable_numberdlg+set}" = set; then
8996 enableval="$enable_numberdlg"
8997
8998 if test "$enableval" = yes; then
8999 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
9000 else
9001 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
9002 fi
9003
9004 else
9005
9006 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9007 if test "x$LINE" != x ; then
9008 eval "DEFAULT_$LINE"
9009 else
9010 no_cache=1
9011 fi
9012
9013 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9014
9015 fi;
9016
9017 eval "$ac_cv_use_numberdlg"
9018 if test "$no_cache" != 1; then
9019 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9020 fi
9021
9022 if test "$wxUSE_NUMBERDLG" = yes; then
9023 echo "$as_me:$LINENO: result: yes" >&5
9024 echo "${ECHO_T}yes" >&6
9025 else
9026 echo "$as_me:$LINENO: result: no" >&5
9027 echo "${ECHO_T}no" >&6
9028 fi
9029
9030
9031 enablestring=
9032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9033 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9034 no_cache=0
9035 # Check whether --enable-splash or --disable-splash was given.
9036 if test "${enable_splash+set}" = set; then
9037 enableval="$enable_splash"
9038
9039 if test "$enableval" = yes; then
9040 ac_cv_use_splash='wxUSE_SPLASH=yes'
9041 else
9042 ac_cv_use_splash='wxUSE_SPLASH=no'
9043 fi
9044
9045 else
9046
9047 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9048 if test "x$LINE" != x ; then
9049 eval "DEFAULT_$LINE"
9050 else
9051 no_cache=1
9052 fi
9053
9054 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9055
9056 fi;
9057
9058 eval "$ac_cv_use_splash"
9059 if test "$no_cache" != 1; then
9060 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9061 fi
9062
9063 if test "$wxUSE_SPLASH" = yes; then
9064 echo "$as_me:$LINENO: result: yes" >&5
9065 echo "${ECHO_T}yes" >&6
9066 else
9067 echo "$as_me:$LINENO: result: no" >&5
9068 echo "${ECHO_T}no" >&6
9069 fi
9070
9071
9072 enablestring=
9073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9074 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9075 no_cache=0
9076 # Check whether --enable-textdlg or --disable-textdlg was given.
9077 if test "${enable_textdlg+set}" = set; then
9078 enableval="$enable_textdlg"
9079
9080 if test "$enableval" = yes; then
9081 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
9082 else
9083 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
9084 fi
9085
9086 else
9087
9088 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9089 if test "x$LINE" != x ; then
9090 eval "DEFAULT_$LINE"
9091 else
9092 no_cache=1
9093 fi
9094
9095 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9096
9097 fi;
9098
9099 eval "$ac_cv_use_textdlg"
9100 if test "$no_cache" != 1; then
9101 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9102 fi
9103
9104 if test "$wxUSE_TEXTDLG" = yes; then
9105 echo "$as_me:$LINENO: result: yes" >&5
9106 echo "${ECHO_T}yes" >&6
9107 else
9108 echo "$as_me:$LINENO: result: no" >&5
9109 echo "${ECHO_T}no" >&6
9110 fi
9111
9112
9113 enablestring=
9114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9115 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9116 no_cache=0
9117 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9118 if test "${enable_tipdlg+set}" = set; then
9119 enableval="$enable_tipdlg"
9120
9121 if test "$enableval" = yes; then
9122 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9123 else
9124 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9125 fi
9126
9127 else
9128
9129 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9130 if test "x$LINE" != x ; then
9131 eval "DEFAULT_$LINE"
9132 else
9133 no_cache=1
9134 fi
9135
9136 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9137
9138 fi;
9139
9140 eval "$ac_cv_use_tipdlg"
9141 if test "$no_cache" != 1; then
9142 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9143 fi
9144
9145 if test "$wxUSE_STARTUP_TIPS" = yes; then
9146 echo "$as_me:$LINENO: result: yes" >&5
9147 echo "${ECHO_T}yes" >&6
9148 else
9149 echo "$as_me:$LINENO: result: no" >&5
9150 echo "${ECHO_T}no" >&6
9151 fi
9152
9153
9154 enablestring=
9155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9156 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9157 no_cache=0
9158 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9159 if test "${enable_progressdlg+set}" = set; then
9160 enableval="$enable_progressdlg"
9161
9162 if test "$enableval" = yes; then
9163 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9164 else
9165 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9166 fi
9167
9168 else
9169
9170 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9171 if test "x$LINE" != x ; then
9172 eval "DEFAULT_$LINE"
9173 else
9174 no_cache=1
9175 fi
9176
9177 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9178
9179 fi;
9180
9181 eval "$ac_cv_use_progressdlg"
9182 if test "$no_cache" != 1; then
9183 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9184 fi
9185
9186 if test "$wxUSE_PROGRESSDLG" = yes; then
9187 echo "$as_me:$LINENO: result: yes" >&5
9188 echo "${ECHO_T}yes" >&6
9189 else
9190 echo "$as_me:$LINENO: result: no" >&5
9191 echo "${ECHO_T}no" >&6
9192 fi
9193
9194
9195 enablestring=
9196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9197 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9198 no_cache=0
9199 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9200 if test "${enable_wizarddlg+set}" = set; then
9201 enableval="$enable_wizarddlg"
9202
9203 if test "$enableval" = yes; then
9204 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9205 else
9206 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9207 fi
9208
9209 else
9210
9211 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9212 if test "x$LINE" != x ; then
9213 eval "DEFAULT_$LINE"
9214 else
9215 no_cache=1
9216 fi
9217
9218 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9219
9220 fi;
9221
9222 eval "$ac_cv_use_wizarddlg"
9223 if test "$no_cache" != 1; then
9224 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9225 fi
9226
9227 if test "$wxUSE_WIZARDDLG" = yes; then
9228 echo "$as_me:$LINENO: result: yes" >&5
9229 echo "${ECHO_T}yes" >&6
9230 else
9231 echo "$as_me:$LINENO: result: no" >&5
9232 echo "${ECHO_T}no" >&6
9233 fi
9234
9235
9236
9237
9238 enablestring=
9239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9240 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9241 no_cache=0
9242 # Check whether --enable-menus or --disable-menus was given.
9243 if test "${enable_menus+set}" = set; then
9244 enableval="$enable_menus"
9245
9246 if test "$enableval" = yes; then
9247 ac_cv_use_menus='wxUSE_MENUS=yes'
9248 else
9249 ac_cv_use_menus='wxUSE_MENUS=no'
9250 fi
9251
9252 else
9253
9254 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9255 if test "x$LINE" != x ; then
9256 eval "DEFAULT_$LINE"
9257 else
9258 no_cache=1
9259 fi
9260
9261 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9262
9263 fi;
9264
9265 eval "$ac_cv_use_menus"
9266 if test "$no_cache" != 1; then
9267 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9268 fi
9269
9270 if test "$wxUSE_MENUS" = yes; then
9271 echo "$as_me:$LINENO: result: yes" >&5
9272 echo "${ECHO_T}yes" >&6
9273 else
9274 echo "$as_me:$LINENO: result: no" >&5
9275 echo "${ECHO_T}no" >&6
9276 fi
9277
9278
9279 enablestring=
9280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9281 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9282 no_cache=0
9283 # Check whether --enable-miniframe or --disable-miniframe was given.
9284 if test "${enable_miniframe+set}" = set; then
9285 enableval="$enable_miniframe"
9286
9287 if test "$enableval" = yes; then
9288 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9289 else
9290 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9291 fi
9292
9293 else
9294
9295 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9296 if test "x$LINE" != x ; then
9297 eval "DEFAULT_$LINE"
9298 else
9299 no_cache=1
9300 fi
9301
9302 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9303
9304 fi;
9305
9306 eval "$ac_cv_use_miniframe"
9307 if test "$no_cache" != 1; then
9308 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9309 fi
9310
9311 if test "$wxUSE_MINIFRAME" = yes; then
9312 echo "$as_me:$LINENO: result: yes" >&5
9313 echo "${ECHO_T}yes" >&6
9314 else
9315 echo "$as_me:$LINENO: result: no" >&5
9316 echo "${ECHO_T}no" >&6
9317 fi
9318
9319
9320 enablestring=
9321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9322 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9323 no_cache=0
9324 # Check whether --enable-tooltips or --disable-tooltips was given.
9325 if test "${enable_tooltips+set}" = set; then
9326 enableval="$enable_tooltips"
9327
9328 if test "$enableval" = yes; then
9329 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9330 else
9331 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9332 fi
9333
9334 else
9335
9336 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9337 if test "x$LINE" != x ; then
9338 eval "DEFAULT_$LINE"
9339 else
9340 no_cache=1
9341 fi
9342
9343 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9344
9345 fi;
9346
9347 eval "$ac_cv_use_tooltips"
9348 if test "$no_cache" != 1; then
9349 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9350 fi
9351
9352 if test "$wxUSE_TOOLTIPS" = yes; then
9353 echo "$as_me:$LINENO: result: yes" >&5
9354 echo "${ECHO_T}yes" >&6
9355 else
9356 echo "$as_me:$LINENO: result: no" >&5
9357 echo "${ECHO_T}no" >&6
9358 fi
9359
9360
9361 enablestring=
9362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9363 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9364 no_cache=0
9365 # Check whether --enable-splines or --disable-splines was given.
9366 if test "${enable_splines+set}" = set; then
9367 enableval="$enable_splines"
9368
9369 if test "$enableval" = yes; then
9370 ac_cv_use_splines='wxUSE_SPLINES=yes'
9371 else
9372 ac_cv_use_splines='wxUSE_SPLINES=no'
9373 fi
9374
9375 else
9376
9377 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9378 if test "x$LINE" != x ; then
9379 eval "DEFAULT_$LINE"
9380 else
9381 no_cache=1
9382 fi
9383
9384 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9385
9386 fi;
9387
9388 eval "$ac_cv_use_splines"
9389 if test "$no_cache" != 1; then
9390 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9391 fi
9392
9393 if test "$wxUSE_SPLINES" = yes; then
9394 echo "$as_me:$LINENO: result: yes" >&5
9395 echo "${ECHO_T}yes" >&6
9396 else
9397 echo "$as_me:$LINENO: result: no" >&5
9398 echo "${ECHO_T}no" >&6
9399 fi
9400
9401
9402 enablestring=
9403 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9404 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9405 no_cache=0
9406 # Check whether --enable-validators or --disable-validators was given.
9407 if test "${enable_validators+set}" = set; then
9408 enableval="$enable_validators"
9409
9410 if test "$enableval" = yes; then
9411 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9412 else
9413 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9414 fi
9415
9416 else
9417
9418 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9419 if test "x$LINE" != x ; then
9420 eval "DEFAULT_$LINE"
9421 else
9422 no_cache=1
9423 fi
9424
9425 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9426
9427 fi;
9428
9429 eval "$ac_cv_use_validators"
9430 if test "$no_cache" != 1; then
9431 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9432 fi
9433
9434 if test "$wxUSE_VALIDATORS" = yes; then
9435 echo "$as_me:$LINENO: result: yes" >&5
9436 echo "${ECHO_T}yes" >&6
9437 else
9438 echo "$as_me:$LINENO: result: no" >&5
9439 echo "${ECHO_T}no" >&6
9440 fi
9441
9442
9443 enablestring=
9444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9445 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9446 no_cache=0
9447 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9448 if test "${enable_busyinfo+set}" = set; then
9449 enableval="$enable_busyinfo"
9450
9451 if test "$enableval" = yes; then
9452 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9453 else
9454 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9455 fi
9456
9457 else
9458
9459 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9460 if test "x$LINE" != x ; then
9461 eval "DEFAULT_$LINE"
9462 else
9463 no_cache=1
9464 fi
9465
9466 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9467
9468 fi;
9469
9470 eval "$ac_cv_use_busyinfo"
9471 if test "$no_cache" != 1; then
9472 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9473 fi
9474
9475 if test "$wxUSE_BUSYINFO" = yes; then
9476 echo "$as_me:$LINENO: result: yes" >&5
9477 echo "${ECHO_T}yes" >&6
9478 else
9479 echo "$as_me:$LINENO: result: no" >&5
9480 echo "${ECHO_T}no" >&6
9481 fi
9482
9483
9484 enablestring=
9485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9486 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9487 no_cache=0
9488 # Check whether --enable-joystick or --disable-joystick was given.
9489 if test "${enable_joystick+set}" = set; then
9490 enableval="$enable_joystick"
9491
9492 if test "$enableval" = yes; then
9493 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9494 else
9495 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9496 fi
9497
9498 else
9499
9500 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9501 if test "x$LINE" != x ; then
9502 eval "DEFAULT_$LINE"
9503 else
9504 no_cache=1
9505 fi
9506
9507 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9508
9509 fi;
9510
9511 eval "$ac_cv_use_joystick"
9512 if test "$no_cache" != 1; then
9513 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9514 fi
9515
9516 if test "$wxUSE_JOYSTICK" = yes; then
9517 echo "$as_me:$LINENO: result: yes" >&5
9518 echo "${ECHO_T}yes" >&6
9519 else
9520 echo "$as_me:$LINENO: result: no" >&5
9521 echo "${ECHO_T}no" >&6
9522 fi
9523
9524
9525 enablestring=
9526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9527 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9528 no_cache=0
9529 # Check whether --enable-metafile or --disable-metafile was given.
9530 if test "${enable_metafile+set}" = set; then
9531 enableval="$enable_metafile"
9532
9533 if test "$enableval" = yes; then
9534 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9535 else
9536 ac_cv_use_metafile='wxUSE_METAFILE=no'
9537 fi
9538
9539 else
9540
9541 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9542 if test "x$LINE" != x ; then
9543 eval "DEFAULT_$LINE"
9544 else
9545 no_cache=1
9546 fi
9547
9548 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9549
9550 fi;
9551
9552 eval "$ac_cv_use_metafile"
9553 if test "$no_cache" != 1; then
9554 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9555 fi
9556
9557 if test "$wxUSE_METAFILE" = yes; then
9558 echo "$as_me:$LINENO: result: yes" >&5
9559 echo "${ECHO_T}yes" >&6
9560 else
9561 echo "$as_me:$LINENO: result: no" >&5
9562 echo "${ECHO_T}no" >&6
9563 fi
9564
9565
9566 enablestring=
9567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9568 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9569 no_cache=0
9570 # Check whether --enable-dragimage or --disable-dragimage was given.
9571 if test "${enable_dragimage+set}" = set; then
9572 enableval="$enable_dragimage"
9573
9574 if test "$enableval" = yes; then
9575 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9576 else
9577 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9578 fi
9579
9580 else
9581
9582 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9583 if test "x$LINE" != x ; then
9584 eval "DEFAULT_$LINE"
9585 else
9586 no_cache=1
9587 fi
9588
9589 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9590
9591 fi;
9592
9593 eval "$ac_cv_use_dragimage"
9594 if test "$no_cache" != 1; then
9595 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9596 fi
9597
9598 if test "$wxUSE_DRAGIMAGE" = yes; then
9599 echo "$as_me:$LINENO: result: yes" >&5
9600 echo "${ECHO_T}yes" >&6
9601 else
9602 echo "$as_me:$LINENO: result: no" >&5
9603 echo "${ECHO_T}no" >&6
9604 fi
9605
9606
9607 enablestring=
9608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9609 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9610 no_cache=0
9611 # Check whether --enable-accessibility or --disable-accessibility was given.
9612 if test "${enable_accessibility+set}" = set; then
9613 enableval="$enable_accessibility"
9614
9615 if test "$enableval" = yes; then
9616 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9617 else
9618 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9619 fi
9620
9621 else
9622
9623 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9624 if test "x$LINE" != x ; then
9625 eval "DEFAULT_$LINE"
9626 else
9627 no_cache=1
9628 fi
9629
9630 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9631
9632 fi;
9633
9634 eval "$ac_cv_use_accessibility"
9635 if test "$no_cache" != 1; then
9636 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9637 fi
9638
9639 if test "$wxUSE_ACCESSIBILITY" = yes; then
9640 echo "$as_me:$LINENO: result: yes" >&5
9641 echo "${ECHO_T}yes" >&6
9642 else
9643 echo "$as_me:$LINENO: result: no" >&5
9644 echo "${ECHO_T}no" >&6
9645 fi
9646
9647
9648
9649
9650 enablestring=
9651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9652 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9653 no_cache=0
9654 # Check whether --enable-palette or --disable-palette was given.
9655 if test "${enable_palette+set}" = set; then
9656 enableval="$enable_palette"
9657
9658 if test "$enableval" = yes; then
9659 ac_cv_use_palette='wxUSE_PALETTE=yes'
9660 else
9661 ac_cv_use_palette='wxUSE_PALETTE=no'
9662 fi
9663
9664 else
9665
9666 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9667 if test "x$LINE" != x ; then
9668 eval "DEFAULT_$LINE"
9669 else
9670 no_cache=1
9671 fi
9672
9673 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9674
9675 fi;
9676
9677 eval "$ac_cv_use_palette"
9678 if test "$no_cache" != 1; then
9679 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9680 fi
9681
9682 if test "$wxUSE_PALETTE" = yes; then
9683 echo "$as_me:$LINENO: result: yes" >&5
9684 echo "${ECHO_T}yes" >&6
9685 else
9686 echo "$as_me:$LINENO: result: no" >&5
9687 echo "${ECHO_T}no" >&6
9688 fi
9689
9690
9691 enablestring=
9692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9693 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9694 no_cache=0
9695 # Check whether --enable-image or --disable-image was given.
9696 if test "${enable_image+set}" = set; then
9697 enableval="$enable_image"
9698
9699 if test "$enableval" = yes; then
9700 ac_cv_use_image='wxUSE_IMAGE=yes'
9701 else
9702 ac_cv_use_image='wxUSE_IMAGE=no'
9703 fi
9704
9705 else
9706
9707 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9708 if test "x$LINE" != x ; then
9709 eval "DEFAULT_$LINE"
9710 else
9711 no_cache=1
9712 fi
9713
9714 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9715
9716 fi;
9717
9718 eval "$ac_cv_use_image"
9719 if test "$no_cache" != 1; then
9720 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9721 fi
9722
9723 if test "$wxUSE_IMAGE" = yes; then
9724 echo "$as_me:$LINENO: result: yes" >&5
9725 echo "${ECHO_T}yes" >&6
9726 else
9727 echo "$as_me:$LINENO: result: no" >&5
9728 echo "${ECHO_T}no" >&6
9729 fi
9730
9731
9732 enablestring=
9733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9734 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9735 no_cache=0
9736 # Check whether --enable-gif or --disable-gif was given.
9737 if test "${enable_gif+set}" = set; then
9738 enableval="$enable_gif"
9739
9740 if test "$enableval" = yes; then
9741 ac_cv_use_gif='wxUSE_GIF=yes'
9742 else
9743 ac_cv_use_gif='wxUSE_GIF=no'
9744 fi
9745
9746 else
9747
9748 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9749 if test "x$LINE" != x ; then
9750 eval "DEFAULT_$LINE"
9751 else
9752 no_cache=1
9753 fi
9754
9755 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9756
9757 fi;
9758
9759 eval "$ac_cv_use_gif"
9760 if test "$no_cache" != 1; then
9761 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9762 fi
9763
9764 if test "$wxUSE_GIF" = yes; then
9765 echo "$as_me:$LINENO: result: yes" >&5
9766 echo "${ECHO_T}yes" >&6
9767 else
9768 echo "$as_me:$LINENO: result: no" >&5
9769 echo "${ECHO_T}no" >&6
9770 fi
9771
9772
9773 enablestring=
9774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9775 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9776 no_cache=0
9777 # Check whether --enable-pcx or --disable-pcx was given.
9778 if test "${enable_pcx+set}" = set; then
9779 enableval="$enable_pcx"
9780
9781 if test "$enableval" = yes; then
9782 ac_cv_use_pcx='wxUSE_PCX=yes'
9783 else
9784 ac_cv_use_pcx='wxUSE_PCX=no'
9785 fi
9786
9787 else
9788
9789 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9790 if test "x$LINE" != x ; then
9791 eval "DEFAULT_$LINE"
9792 else
9793 no_cache=1
9794 fi
9795
9796 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9797
9798 fi;
9799
9800 eval "$ac_cv_use_pcx"
9801 if test "$no_cache" != 1; then
9802 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9803 fi
9804
9805 if test "$wxUSE_PCX" = yes; then
9806 echo "$as_me:$LINENO: result: yes" >&5
9807 echo "${ECHO_T}yes" >&6
9808 else
9809 echo "$as_me:$LINENO: result: no" >&5
9810 echo "${ECHO_T}no" >&6
9811 fi
9812
9813
9814 enablestring=
9815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9816 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9817 no_cache=0
9818 # Check whether --enable-iff or --disable-iff was given.
9819 if test "${enable_iff+set}" = set; then
9820 enableval="$enable_iff"
9821
9822 if test "$enableval" = yes; then
9823 ac_cv_use_iff='wxUSE_IFF=yes'
9824 else
9825 ac_cv_use_iff='wxUSE_IFF=no'
9826 fi
9827
9828 else
9829
9830 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9831 if test "x$LINE" != x ; then
9832 eval "DEFAULT_$LINE"
9833 else
9834 no_cache=1
9835 fi
9836
9837 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9838
9839 fi;
9840
9841 eval "$ac_cv_use_iff"
9842 if test "$no_cache" != 1; then
9843 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9844 fi
9845
9846 if test "$wxUSE_IFF" = yes; then
9847 echo "$as_me:$LINENO: result: yes" >&5
9848 echo "${ECHO_T}yes" >&6
9849 else
9850 echo "$as_me:$LINENO: result: no" >&5
9851 echo "${ECHO_T}no" >&6
9852 fi
9853
9854
9855 enablestring=
9856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9857 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9858 no_cache=0
9859 # Check whether --enable-pnm or --disable-pnm was given.
9860 if test "${enable_pnm+set}" = set; then
9861 enableval="$enable_pnm"
9862
9863 if test "$enableval" = yes; then
9864 ac_cv_use_pnm='wxUSE_PNM=yes'
9865 else
9866 ac_cv_use_pnm='wxUSE_PNM=no'
9867 fi
9868
9869 else
9870
9871 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9872 if test "x$LINE" != x ; then
9873 eval "DEFAULT_$LINE"
9874 else
9875 no_cache=1
9876 fi
9877
9878 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9879
9880 fi;
9881
9882 eval "$ac_cv_use_pnm"
9883 if test "$no_cache" != 1; then
9884 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9885 fi
9886
9887 if test "$wxUSE_PNM" = yes; then
9888 echo "$as_me:$LINENO: result: yes" >&5
9889 echo "${ECHO_T}yes" >&6
9890 else
9891 echo "$as_me:$LINENO: result: no" >&5
9892 echo "${ECHO_T}no" >&6
9893 fi
9894
9895
9896 enablestring=
9897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9898 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9899 no_cache=0
9900 # Check whether --enable-xpm or --disable-xpm was given.
9901 if test "${enable_xpm+set}" = set; then
9902 enableval="$enable_xpm"
9903
9904 if test "$enableval" = yes; then
9905 ac_cv_use_xpm='wxUSE_XPM=yes'
9906 else
9907 ac_cv_use_xpm='wxUSE_XPM=no'
9908 fi
9909
9910 else
9911
9912 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9913 if test "x$LINE" != x ; then
9914 eval "DEFAULT_$LINE"
9915 else
9916 no_cache=1
9917 fi
9918
9919 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9920
9921 fi;
9922
9923 eval "$ac_cv_use_xpm"
9924 if test "$no_cache" != 1; then
9925 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9926 fi
9927
9928 if test "$wxUSE_XPM" = yes; then
9929 echo "$as_me:$LINENO: result: yes" >&5
9930 echo "${ECHO_T}yes" >&6
9931 else
9932 echo "$as_me:$LINENO: result: no" >&5
9933 echo "${ECHO_T}no" >&6
9934 fi
9935
9936
9937 enablestring=
9938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9939 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9940 no_cache=0
9941 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9942 if test "${enable_ico_cur+set}" = set; then
9943 enableval="$enable_ico_cur"
9944
9945 if test "$enableval" = yes; then
9946 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9947 else
9948 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9949 fi
9950
9951 else
9952
9953 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9954 if test "x$LINE" != x ; then
9955 eval "DEFAULT_$LINE"
9956 else
9957 no_cache=1
9958 fi
9959
9960 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9961
9962 fi;
9963
9964 eval "$ac_cv_use_ico_cur"
9965 if test "$no_cache" != 1; then
9966 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9967 fi
9968
9969 if test "$wxUSE_ICO_CUR" = yes; then
9970 echo "$as_me:$LINENO: result: yes" >&5
9971 echo "${ECHO_T}yes" >&6
9972 else
9973 echo "$as_me:$LINENO: result: no" >&5
9974 echo "${ECHO_T}no" >&6
9975 fi
9976
9977
9978 fi
9979
9980
9981
9982 # Check whether --with-flavour or --without-flavour was given.
9983 if test "${with_flavour+set}" = set; then
9984 withval="$with_flavour"
9985 WX_FLAVOUR="$withval"
9986 fi;
9987
9988
9989
9990 enablestring=
9991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9992 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9993 no_cache=0
9994 # Check whether --enable-official_build or --disable-official_build was given.
9995 if test "${enable_official_build+set}" = set; then
9996 enableval="$enable_official_build"
9997
9998 if test "$enableval" = yes; then
9999 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
10000 else
10001 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
10002 fi
10003
10004 else
10005
10006 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10007 if test "x$LINE" != x ; then
10008 eval "DEFAULT_$LINE"
10009 else
10010 no_cache=1
10011 fi
10012
10013 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10014
10015 fi;
10016
10017 eval "$ac_cv_use_official_build"
10018 if test "$no_cache" != 1; then
10019 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10020 fi
10021
10022 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10023 echo "$as_me:$LINENO: result: yes" >&5
10024 echo "${ECHO_T}yes" >&6
10025 else
10026 echo "$as_me:$LINENO: result: no" >&5
10027 echo "${ECHO_T}no" >&6
10028 fi
10029
10030 # Check whether --enable-vendor or --disable-vendor was given.
10031 if test "${enable_vendor+set}" = set; then
10032 enableval="$enable_vendor"
10033 VENDOR="$enableval"
10034 fi;
10035 if test "x$VENDOR" = "x"; then
10036 VENDOR="custom"
10037 fi
10038
10039
10040
10041
10042 echo "saving argument cache $wx_arg_cache_file"
10043 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10044
10045
10046
10047 echo "$as_me:$LINENO: checking for toolkit" >&5
10048 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10049
10050 # In Wine, we need to default to MSW, not GTK or MOTIF
10051 if test "$wxUSE_WINE" = "yes"; then
10052 DEFAULT_DEFAULT_wxUSE_GTK=0
10053 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10054 DEFAULT_DEFAULT_wxUSE_MSW=1
10055 wxUSE_SHARED=no
10056 fi
10057
10058 if test "$wxUSE_GUI" = "yes"; then
10059
10060 if test "$USE_BEOS" = 1; then
10061 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10062 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10063 { (exit 1); exit 1; }; }
10064 fi
10065
10066 if test "$TOOLKIT_GIVEN" = 1; then
10067 for toolkit in `echo $ALL_TOOLKITS`; do
10068 var=wxUSE_$toolkit
10069 eval "value=\$${var}"
10070 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
10071 done
10072 else
10073 for toolkit in `echo $ALL_TOOLKITS`; do
10074 if test "$has_toolkit_in_cache" != 1; then
10075 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10076 else
10077 var=DEFAULT_wxUSE_$toolkit
10078 fi
10079 eval "wxUSE_$toolkit=\$${var}"
10080 done
10081 fi
10082
10083 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10084 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10085 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10086
10087 case "${host}" in
10088 *-pc-os2_emx | *-pc-os2-emx )
10089 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10090 esac
10091
10092 case "$NUM_TOOLKITS" in
10093 1)
10094 ;;
10095 0)
10096 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10097 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10098 { (exit 1); exit 1; }; }
10099 ;;
10100 *)
10101 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10102 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10103 { (exit 1); exit 1; }; }
10104 esac
10105
10106 for toolkit in `echo $ALL_TOOLKITS`; do
10107 var=wxUSE_$toolkit
10108 eval "value=\$${var}"
10109 if test "x$value" != x; then
10110 cache_var=CACHE_$toolkit
10111 eval "cache=\$${cache_var}"
10112 if test "$cache" = 1; then
10113 echo "$var=$value" >> ${wx_arg_cache_file}
10114 fi
10115 if test "$value" = 1; then
10116 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10117 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10118 echo "${ECHO_T}$toolkit_echo" >&6
10119 fi
10120 fi
10121 done
10122 else
10123 if test "x$host_alias" != "x"; then
10124 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10125 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10126 else
10127 echo "$as_me:$LINENO: result: base only" >&5
10128 echo "${ECHO_T}base only" >&6
10129 fi
10130 fi
10131
10132 wants_win32=0
10133 doesnt_want_win32=0
10134 case "${host}" in
10135 *-*-cygwin*)
10136 if test "$wxUSE_MSW" = 1 ; then
10137 wants_win32=1
10138 else
10139 doesnt_want_win32=1
10140 fi
10141 ;;
10142 *-*-mingw*)
10143 wants_win32=1
10144 ;;
10145 esac
10146
10147 if test "$wxUSE_WINE" = "yes"; then
10148 wants_win32=1
10149 CC=winegcc
10150 CXX=wineg++
10151 RESCOMP=wrc
10152 LDFLAGS_GUI="-mwindows"
10153 fi
10154
10155 if test "$wants_win32" = 1 ; then
10156 USE_UNIX=0
10157 USE_WIN32=1
10158 cat >>confdefs.h <<\_ACEOF
10159 #define __WIN32__ 1
10160 _ACEOF
10161
10162 cat >>confdefs.h <<\_ACEOF
10163 #define __WIN95__ 1
10164 _ACEOF
10165
10166 cat >>confdefs.h <<\_ACEOF
10167 #define __WINDOWS__ 1
10168 _ACEOF
10169
10170 cat >>confdefs.h <<\_ACEOF
10171 #define __GNUWIN32__ 1
10172 _ACEOF
10173
10174 cat >>confdefs.h <<\_ACEOF
10175 #define STRICT 1
10176 _ACEOF
10177
10178 cat >>confdefs.h <<\_ACEOF
10179 #define WINVER 0x0400
10180 _ACEOF
10181
10182 fi
10183 if test "$doesnt_want_win32" = 1 ; then
10184 USE_UNIX=1
10185 USE_WIN32=0
10186 fi
10187
10188 if test "$USE_UNIX" = 1 ; then
10189 wxUSE_UNIX=yes
10190 cat >>confdefs.h <<\_ACEOF
10191 #define __UNIX__ 1
10192 _ACEOF
10193
10194 fi
10195
10196
10197 cat >confcache <<\_ACEOF
10198 # This file is a shell script that caches the results of configure
10199 # tests run on this system so they can be shared between configure
10200 # scripts and configure runs, see configure's option --config-cache.
10201 # It is not useful on other systems. If it contains results you don't
10202 # want to keep, you may remove or edit it.
10203 #
10204 # config.status only pays attention to the cache file if you give it
10205 # the --recheck option to rerun configure.
10206 #
10207 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10208 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10209 # following values.
10210
10211 _ACEOF
10212
10213 # The following way of writing the cache mishandles newlines in values,
10214 # but we know of no workaround that is simple, portable, and efficient.
10215 # So, don't put newlines in cache variables' values.
10216 # Ultrix sh set writes to stderr and can't be redirected directly,
10217 # and sets the high bit in the cache file unless we assign to the vars.
10218 {
10219 (set) 2>&1 |
10220 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10221 *ac_space=\ *)
10222 # `set' does not quote correctly, so add quotes (double-quote
10223 # substitution turns \\\\ into \\, and sed turns \\ into \).
10224 sed -n \
10225 "s/'/'\\\\''/g;
10226 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10227 ;;
10228 *)
10229 # `set' quotes correctly as required by POSIX, so do not add quotes.
10230 sed -n \
10231 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10232 ;;
10233 esac;
10234 } |
10235 sed '
10236 t clear
10237 : clear
10238 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10239 t end
10240 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10241 : end' >>confcache
10242 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10243 if test -w $cache_file; then
10244 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10245 cat confcache >$cache_file
10246 else
10247 echo "not updating unwritable cache $cache_file"
10248 fi
10249 fi
10250 rm -f confcache
10251
10252 if test "$build" != "$host" ; then
10253 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10254 CC=$host_alias-gcc
10255 CXX=$host_alias-c++
10256 AR=$host_alias-ar
10257 RANLIB=$host_alias-ranlib
10258 DLLTOOL=$host_alias-dlltool
10259 RESCOMP=$host_alias-windres
10260 STRIP=$host_alias-strip
10261 else
10262 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10263 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10264 { (exit 1); exit 1; }; }
10265 fi
10266 fi
10267
10268 CFLAGS=${CFLAGS:=}
10269 ac_ext=c
10270 ac_cpp='$CPP $CPPFLAGS'
10271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10274 if test -n "$ac_tool_prefix"; then
10275 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10276 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10277 echo "$as_me:$LINENO: checking for $ac_word" >&5
10278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10279 if test "${ac_cv_prog_CC+set}" = set; then
10280 echo $ECHO_N "(cached) $ECHO_C" >&6
10281 else
10282 if test -n "$CC"; then
10283 ac_cv_prog_CC="$CC" # Let the user override the test.
10284 else
10285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10286 for as_dir in $PATH
10287 do
10288 IFS=$as_save_IFS
10289 test -z "$as_dir" && as_dir=.
10290 for ac_exec_ext in '' $ac_executable_extensions; do
10291 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10292 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10294 break 2
10295 fi
10296 done
10297 done
10298
10299 fi
10300 fi
10301 CC=$ac_cv_prog_CC
10302 if test -n "$CC"; then
10303 echo "$as_me:$LINENO: result: $CC" >&5
10304 echo "${ECHO_T}$CC" >&6
10305 else
10306 echo "$as_me:$LINENO: result: no" >&5
10307 echo "${ECHO_T}no" >&6
10308 fi
10309
10310 fi
10311 if test -z "$ac_cv_prog_CC"; then
10312 ac_ct_CC=$CC
10313 # Extract the first word of "gcc", so it can be a program name with args.
10314 set dummy gcc; ac_word=$2
10315 echo "$as_me:$LINENO: checking for $ac_word" >&5
10316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10317 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10318 echo $ECHO_N "(cached) $ECHO_C" >&6
10319 else
10320 if test -n "$ac_ct_CC"; then
10321 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10322 else
10323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10324 for as_dir in $PATH
10325 do
10326 IFS=$as_save_IFS
10327 test -z "$as_dir" && as_dir=.
10328 for ac_exec_ext in '' $ac_executable_extensions; do
10329 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10330 ac_cv_prog_ac_ct_CC="gcc"
10331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10332 break 2
10333 fi
10334 done
10335 done
10336
10337 fi
10338 fi
10339 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10340 if test -n "$ac_ct_CC"; then
10341 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10342 echo "${ECHO_T}$ac_ct_CC" >&6
10343 else
10344 echo "$as_me:$LINENO: result: no" >&5
10345 echo "${ECHO_T}no" >&6
10346 fi
10347
10348 CC=$ac_ct_CC
10349 else
10350 CC="$ac_cv_prog_CC"
10351 fi
10352
10353 if test -z "$CC"; then
10354 if test -n "$ac_tool_prefix"; then
10355 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10356 set dummy ${ac_tool_prefix}cc; ac_word=$2
10357 echo "$as_me:$LINENO: checking for $ac_word" >&5
10358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10359 if test "${ac_cv_prog_CC+set}" = set; then
10360 echo $ECHO_N "(cached) $ECHO_C" >&6
10361 else
10362 if test -n "$CC"; then
10363 ac_cv_prog_CC="$CC" # Let the user override the test.
10364 else
10365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10366 for as_dir in $PATH
10367 do
10368 IFS=$as_save_IFS
10369 test -z "$as_dir" && as_dir=.
10370 for ac_exec_ext in '' $ac_executable_extensions; do
10371 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10372 ac_cv_prog_CC="${ac_tool_prefix}cc"
10373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10374 break 2
10375 fi
10376 done
10377 done
10378
10379 fi
10380 fi
10381 CC=$ac_cv_prog_CC
10382 if test -n "$CC"; then
10383 echo "$as_me:$LINENO: result: $CC" >&5
10384 echo "${ECHO_T}$CC" >&6
10385 else
10386 echo "$as_me:$LINENO: result: no" >&5
10387 echo "${ECHO_T}no" >&6
10388 fi
10389
10390 fi
10391 if test -z "$ac_cv_prog_CC"; then
10392 ac_ct_CC=$CC
10393 # Extract the first word of "cc", so it can be a program name with args.
10394 set dummy cc; ac_word=$2
10395 echo "$as_me:$LINENO: checking for $ac_word" >&5
10396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10397 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10398 echo $ECHO_N "(cached) $ECHO_C" >&6
10399 else
10400 if test -n "$ac_ct_CC"; then
10401 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10402 else
10403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10404 for as_dir in $PATH
10405 do
10406 IFS=$as_save_IFS
10407 test -z "$as_dir" && as_dir=.
10408 for ac_exec_ext in '' $ac_executable_extensions; do
10409 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10410 ac_cv_prog_ac_ct_CC="cc"
10411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10412 break 2
10413 fi
10414 done
10415 done
10416
10417 fi
10418 fi
10419 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10420 if test -n "$ac_ct_CC"; then
10421 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10422 echo "${ECHO_T}$ac_ct_CC" >&6
10423 else
10424 echo "$as_me:$LINENO: result: no" >&5
10425 echo "${ECHO_T}no" >&6
10426 fi
10427
10428 CC=$ac_ct_CC
10429 else
10430 CC="$ac_cv_prog_CC"
10431 fi
10432
10433 fi
10434 if test -z "$CC"; then
10435 # Extract the first word of "cc", so it can be a program name with args.
10436 set dummy cc; ac_word=$2
10437 echo "$as_me:$LINENO: checking for $ac_word" >&5
10438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10439 if test "${ac_cv_prog_CC+set}" = set; then
10440 echo $ECHO_N "(cached) $ECHO_C" >&6
10441 else
10442 if test -n "$CC"; then
10443 ac_cv_prog_CC="$CC" # Let the user override the test.
10444 else
10445 ac_prog_rejected=no
10446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10447 for as_dir in $PATH
10448 do
10449 IFS=$as_save_IFS
10450 test -z "$as_dir" && as_dir=.
10451 for ac_exec_ext in '' $ac_executable_extensions; do
10452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10453 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10454 ac_prog_rejected=yes
10455 continue
10456 fi
10457 ac_cv_prog_CC="cc"
10458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10459 break 2
10460 fi
10461 done
10462 done
10463
10464 if test $ac_prog_rejected = yes; then
10465 # We found a bogon in the path, so make sure we never use it.
10466 set dummy $ac_cv_prog_CC
10467 shift
10468 if test $# != 0; then
10469 # We chose a different compiler from the bogus one.
10470 # However, it has the same basename, so the bogon will be chosen
10471 # first if we set CC to just the basename; use the full file name.
10472 shift
10473 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10474 fi
10475 fi
10476 fi
10477 fi
10478 CC=$ac_cv_prog_CC
10479 if test -n "$CC"; then
10480 echo "$as_me:$LINENO: result: $CC" >&5
10481 echo "${ECHO_T}$CC" >&6
10482 else
10483 echo "$as_me:$LINENO: result: no" >&5
10484 echo "${ECHO_T}no" >&6
10485 fi
10486
10487 fi
10488 if test -z "$CC"; then
10489 if test -n "$ac_tool_prefix"; then
10490 for ac_prog in cl
10491 do
10492 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10493 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10494 echo "$as_me:$LINENO: checking for $ac_word" >&5
10495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10496 if test "${ac_cv_prog_CC+set}" = set; then
10497 echo $ECHO_N "(cached) $ECHO_C" >&6
10498 else
10499 if test -n "$CC"; then
10500 ac_cv_prog_CC="$CC" # Let the user override the test.
10501 else
10502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10503 for as_dir in $PATH
10504 do
10505 IFS=$as_save_IFS
10506 test -z "$as_dir" && as_dir=.
10507 for ac_exec_ext in '' $ac_executable_extensions; do
10508 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10509 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10511 break 2
10512 fi
10513 done
10514 done
10515
10516 fi
10517 fi
10518 CC=$ac_cv_prog_CC
10519 if test -n "$CC"; then
10520 echo "$as_me:$LINENO: result: $CC" >&5
10521 echo "${ECHO_T}$CC" >&6
10522 else
10523 echo "$as_me:$LINENO: result: no" >&5
10524 echo "${ECHO_T}no" >&6
10525 fi
10526
10527 test -n "$CC" && break
10528 done
10529 fi
10530 if test -z "$CC"; then
10531 ac_ct_CC=$CC
10532 for ac_prog in cl
10533 do
10534 # Extract the first word of "$ac_prog", so it can be a program name with args.
10535 set dummy $ac_prog; ac_word=$2
10536 echo "$as_me:$LINENO: checking for $ac_word" >&5
10537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10538 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10539 echo $ECHO_N "(cached) $ECHO_C" >&6
10540 else
10541 if test -n "$ac_ct_CC"; then
10542 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10543 else
10544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10545 for as_dir in $PATH
10546 do
10547 IFS=$as_save_IFS
10548 test -z "$as_dir" && as_dir=.
10549 for ac_exec_ext in '' $ac_executable_extensions; do
10550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10551 ac_cv_prog_ac_ct_CC="$ac_prog"
10552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10553 break 2
10554 fi
10555 done
10556 done
10557
10558 fi
10559 fi
10560 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10561 if test -n "$ac_ct_CC"; then
10562 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10563 echo "${ECHO_T}$ac_ct_CC" >&6
10564 else
10565 echo "$as_me:$LINENO: result: no" >&5
10566 echo "${ECHO_T}no" >&6
10567 fi
10568
10569 test -n "$ac_ct_CC" && break
10570 done
10571
10572 CC=$ac_ct_CC
10573 fi
10574
10575 fi
10576
10577
10578 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10579 See \`config.log' for more details." >&5
10580 echo "$as_me: error: no acceptable C compiler found in \$PATH
10581 See \`config.log' for more details." >&2;}
10582 { (exit 1); exit 1; }; }
10583
10584 # Provide some information about the compiler.
10585 echo "$as_me:$LINENO:" \
10586 "checking for C compiler version" >&5
10587 ac_compiler=`set X $ac_compile; echo $2`
10588 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10589 (eval $ac_compiler --version </dev/null >&5) 2>&5
10590 ac_status=$?
10591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10592 (exit $ac_status); }
10593 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10594 (eval $ac_compiler -v </dev/null >&5) 2>&5
10595 ac_status=$?
10596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10597 (exit $ac_status); }
10598 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10599 (eval $ac_compiler -V </dev/null >&5) 2>&5
10600 ac_status=$?
10601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10602 (exit $ac_status); }
10603
10604 cat >conftest.$ac_ext <<_ACEOF
10605 /* confdefs.h. */
10606 _ACEOF
10607 cat confdefs.h >>conftest.$ac_ext
10608 cat >>conftest.$ac_ext <<_ACEOF
10609 /* end confdefs.h. */
10610
10611 int
10612 main ()
10613 {
10614
10615 ;
10616 return 0;
10617 }
10618 _ACEOF
10619 ac_clean_files_save=$ac_clean_files
10620 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10621 # Try to create an executable without -o first, disregard a.out.
10622 # It will help us diagnose broken compilers, and finding out an intuition
10623 # of exeext.
10624 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10625 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10626 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10627 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10628 (eval $ac_link_default) 2>&5
10629 ac_status=$?
10630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10631 (exit $ac_status); }; then
10632 # Find the output, starting from the most likely. This scheme is
10633 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10634 # resort.
10635
10636 # Be careful to initialize this variable, since it used to be cached.
10637 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10638 ac_cv_exeext=
10639 # b.out is created by i960 compilers.
10640 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10641 do
10642 test -f "$ac_file" || continue
10643 case $ac_file in
10644 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10645 ;;
10646 conftest.$ac_ext )
10647 # This is the source file.
10648 ;;
10649 [ab].out )
10650 # We found the default executable, but exeext='' is most
10651 # certainly right.
10652 break;;
10653 *.* )
10654 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10655 # FIXME: I believe we export ac_cv_exeext for Libtool,
10656 # but it would be cool to find out if it's true. Does anybody
10657 # maintain Libtool? --akim.
10658 export ac_cv_exeext
10659 break;;
10660 * )
10661 break;;
10662 esac
10663 done
10664 else
10665 echo "$as_me: failed program was:" >&5
10666 sed 's/^/| /' conftest.$ac_ext >&5
10667
10668 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10669 See \`config.log' for more details." >&5
10670 echo "$as_me: error: C compiler cannot create executables
10671 See \`config.log' for more details." >&2;}
10672 { (exit 77); exit 77; }; }
10673 fi
10674
10675 ac_exeext=$ac_cv_exeext
10676 echo "$as_me:$LINENO: result: $ac_file" >&5
10677 echo "${ECHO_T}$ac_file" >&6
10678
10679 # Check the compiler produces executables we can run. If not, either
10680 # the compiler is broken, or we cross compile.
10681 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10682 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10683 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10684 # If not cross compiling, check that we can run a simple program.
10685 if test "$cross_compiling" != yes; then
10686 if { ac_try='./$ac_file'
10687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10688 (eval $ac_try) 2>&5
10689 ac_status=$?
10690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10691 (exit $ac_status); }; }; then
10692 cross_compiling=no
10693 else
10694 if test "$cross_compiling" = maybe; then
10695 cross_compiling=yes
10696 else
10697 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10698 If you meant to cross compile, use \`--host'.
10699 See \`config.log' for more details." >&5
10700 echo "$as_me: error: cannot run C compiled programs.
10701 If you meant to cross compile, use \`--host'.
10702 See \`config.log' for more details." >&2;}
10703 { (exit 1); exit 1; }; }
10704 fi
10705 fi
10706 fi
10707 echo "$as_me:$LINENO: result: yes" >&5
10708 echo "${ECHO_T}yes" >&6
10709
10710 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10711 ac_clean_files=$ac_clean_files_save
10712 # Check the compiler produces executables we can run. If not, either
10713 # the compiler is broken, or we cross compile.
10714 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10715 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10716 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10717 echo "${ECHO_T}$cross_compiling" >&6
10718
10719 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10720 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10722 (eval $ac_link) 2>&5
10723 ac_status=$?
10724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10725 (exit $ac_status); }; then
10726 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10727 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10728 # work properly (i.e., refer to `conftest.exe'), while it won't with
10729 # `rm'.
10730 for ac_file in conftest.exe conftest conftest.*; do
10731 test -f "$ac_file" || continue
10732 case $ac_file in
10733 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10734 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10735 export ac_cv_exeext
10736 break;;
10737 * ) break;;
10738 esac
10739 done
10740 else
10741 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10742 See \`config.log' for more details." >&5
10743 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10744 See \`config.log' for more details." >&2;}
10745 { (exit 1); exit 1; }; }
10746 fi
10747
10748 rm -f conftest$ac_cv_exeext
10749 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10750 echo "${ECHO_T}$ac_cv_exeext" >&6
10751
10752 rm -f conftest.$ac_ext
10753 EXEEXT=$ac_cv_exeext
10754 ac_exeext=$EXEEXT
10755 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10756 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10757 if test "${ac_cv_objext+set}" = set; then
10758 echo $ECHO_N "(cached) $ECHO_C" >&6
10759 else
10760 cat >conftest.$ac_ext <<_ACEOF
10761 /* confdefs.h. */
10762 _ACEOF
10763 cat confdefs.h >>conftest.$ac_ext
10764 cat >>conftest.$ac_ext <<_ACEOF
10765 /* end confdefs.h. */
10766
10767 int
10768 main ()
10769 {
10770
10771 ;
10772 return 0;
10773 }
10774 _ACEOF
10775 rm -f conftest.o conftest.obj
10776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10777 (eval $ac_compile) 2>&5
10778 ac_status=$?
10779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10780 (exit $ac_status); }; then
10781 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10782 case $ac_file in
10783 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10784 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10785 break;;
10786 esac
10787 done
10788 else
10789 echo "$as_me: failed program was:" >&5
10790 sed 's/^/| /' conftest.$ac_ext >&5
10791
10792 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10793 See \`config.log' for more details." >&5
10794 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10795 See \`config.log' for more details." >&2;}
10796 { (exit 1); exit 1; }; }
10797 fi
10798
10799 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10800 fi
10801 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10802 echo "${ECHO_T}$ac_cv_objext" >&6
10803 OBJEXT=$ac_cv_objext
10804 ac_objext=$OBJEXT
10805 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10806 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10807 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10808 echo $ECHO_N "(cached) $ECHO_C" >&6
10809 else
10810 cat >conftest.$ac_ext <<_ACEOF
10811 /* confdefs.h. */
10812 _ACEOF
10813 cat confdefs.h >>conftest.$ac_ext
10814 cat >>conftest.$ac_ext <<_ACEOF
10815 /* end confdefs.h. */
10816
10817 int
10818 main ()
10819 {
10820 #ifndef __GNUC__
10821 choke me
10822 #endif
10823
10824 ;
10825 return 0;
10826 }
10827 _ACEOF
10828 rm -f conftest.$ac_objext
10829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10830 (eval $ac_compile) 2>conftest.er1
10831 ac_status=$?
10832 grep -v '^ *+' conftest.er1 >conftest.err
10833 rm -f conftest.er1
10834 cat conftest.err >&5
10835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10836 (exit $ac_status); } &&
10837 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10839 (eval $ac_try) 2>&5
10840 ac_status=$?
10841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10842 (exit $ac_status); }; } &&
10843 { ac_try='test -s conftest.$ac_objext'
10844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10845 (eval $ac_try) 2>&5
10846 ac_status=$?
10847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10848 (exit $ac_status); }; }; then
10849 ac_compiler_gnu=yes
10850 else
10851 echo "$as_me: failed program was:" >&5
10852 sed 's/^/| /' conftest.$ac_ext >&5
10853
10854 ac_compiler_gnu=no
10855 fi
10856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10857 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10858
10859 fi
10860 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10861 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10862 GCC=`test $ac_compiler_gnu = yes && echo yes`
10863 ac_test_CFLAGS=${CFLAGS+set}
10864 ac_save_CFLAGS=$CFLAGS
10865 CFLAGS="-g"
10866 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10867 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10868 if test "${ac_cv_prog_cc_g+set}" = set; then
10869 echo $ECHO_N "(cached) $ECHO_C" >&6
10870 else
10871 cat >conftest.$ac_ext <<_ACEOF
10872 /* confdefs.h. */
10873 _ACEOF
10874 cat confdefs.h >>conftest.$ac_ext
10875 cat >>conftest.$ac_ext <<_ACEOF
10876 /* end confdefs.h. */
10877
10878 int
10879 main ()
10880 {
10881
10882 ;
10883 return 0;
10884 }
10885 _ACEOF
10886 rm -f conftest.$ac_objext
10887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10888 (eval $ac_compile) 2>conftest.er1
10889 ac_status=$?
10890 grep -v '^ *+' conftest.er1 >conftest.err
10891 rm -f conftest.er1
10892 cat conftest.err >&5
10893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10894 (exit $ac_status); } &&
10895 { ac_try='test -z "$ac_c_werror_flag" || 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 ac_cv_prog_cc_g=yes
10908 else
10909 echo "$as_me: failed program was:" >&5
10910 sed 's/^/| /' conftest.$ac_ext >&5
10911
10912 ac_cv_prog_cc_g=no
10913 fi
10914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10915 fi
10916 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10917 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10918 if test "$ac_test_CFLAGS" = set; then
10919 CFLAGS=$ac_save_CFLAGS
10920 elif test $ac_cv_prog_cc_g = yes; then
10921 if test "$GCC" = yes; then
10922 CFLAGS="-g -O2"
10923 else
10924 CFLAGS="-g"
10925 fi
10926 else
10927 if test "$GCC" = yes; then
10928 CFLAGS="-O2"
10929 else
10930 CFLAGS=
10931 fi
10932 fi
10933 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10934 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10935 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10936 echo $ECHO_N "(cached) $ECHO_C" >&6
10937 else
10938 ac_cv_prog_cc_stdc=no
10939 ac_save_CC=$CC
10940 cat >conftest.$ac_ext <<_ACEOF
10941 /* confdefs.h. */
10942 _ACEOF
10943 cat confdefs.h >>conftest.$ac_ext
10944 cat >>conftest.$ac_ext <<_ACEOF
10945 /* end confdefs.h. */
10946 #include <stdarg.h>
10947 #include <stdio.h>
10948 #include <sys/types.h>
10949 #include <sys/stat.h>
10950 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10951 struct buf { int x; };
10952 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10953 static char *e (p, i)
10954 char **p;
10955 int i;
10956 {
10957 return p[i];
10958 }
10959 static char *f (char * (*g) (char **, int), char **p, ...)
10960 {
10961 char *s;
10962 va_list v;
10963 va_start (v,p);
10964 s = g (p, va_arg (v,int));
10965 va_end (v);
10966 return s;
10967 }
10968
10969 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10970 function prototypes and stuff, but not '\xHH' hex character constants.
10971 These don't provoke an error unfortunately, instead are silently treated
10972 as 'x'. The following induces an error, until -std1 is added to get
10973 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10974 array size at least. It's necessary to write '\x00'==0 to get something
10975 that's true only with -std1. */
10976 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10977
10978 int test (int i, double x);
10979 struct s1 {int (*f) (int a);};
10980 struct s2 {int (*f) (double a);};
10981 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10982 int argc;
10983 char **argv;
10984 int
10985 main ()
10986 {
10987 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10988 ;
10989 return 0;
10990 }
10991 _ACEOF
10992 # Don't try gcc -ansi; that turns off useful extensions and
10993 # breaks some systems' header files.
10994 # AIX -qlanglvl=ansi
10995 # Ultrix and OSF/1 -std1
10996 # HP-UX 10.20 and later -Ae
10997 # HP-UX older versions -Aa -D_HPUX_SOURCE
10998 # SVR4 -Xc -D__EXTENSIONS__
10999 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11000 do
11001 CC="$ac_save_CC $ac_arg"
11002 rm -f conftest.$ac_objext
11003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11004 (eval $ac_compile) 2>conftest.er1
11005 ac_status=$?
11006 grep -v '^ *+' conftest.er1 >conftest.err
11007 rm -f conftest.er1
11008 cat conftest.err >&5
11009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11010 (exit $ac_status); } &&
11011 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11013 (eval $ac_try) 2>&5
11014 ac_status=$?
11015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11016 (exit $ac_status); }; } &&
11017 { ac_try='test -s conftest.$ac_objext'
11018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11019 (eval $ac_try) 2>&5
11020 ac_status=$?
11021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11022 (exit $ac_status); }; }; then
11023 ac_cv_prog_cc_stdc=$ac_arg
11024 break
11025 else
11026 echo "$as_me: failed program was:" >&5
11027 sed 's/^/| /' conftest.$ac_ext >&5
11028
11029 fi
11030 rm -f conftest.err conftest.$ac_objext
11031 done
11032 rm -f conftest.$ac_ext conftest.$ac_objext
11033 CC=$ac_save_CC
11034
11035 fi
11036
11037 case "x$ac_cv_prog_cc_stdc" in
11038 x|xno)
11039 echo "$as_me:$LINENO: result: none needed" >&5
11040 echo "${ECHO_T}none needed" >&6 ;;
11041 *)
11042 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11043 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11044 CC="$CC $ac_cv_prog_cc_stdc" ;;
11045 esac
11046
11047 # Some people use a C++ compiler to compile C. Since we use `exit',
11048 # in C++ we need to declare it. In case someone uses the same compiler
11049 # for both compiling C and C++ we need to have the C++ compiler decide
11050 # the declaration of exit, since it's the most demanding environment.
11051 cat >conftest.$ac_ext <<_ACEOF
11052 #ifndef __cplusplus
11053 choke me
11054 #endif
11055 _ACEOF
11056 rm -f conftest.$ac_objext
11057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11058 (eval $ac_compile) 2>conftest.er1
11059 ac_status=$?
11060 grep -v '^ *+' conftest.er1 >conftest.err
11061 rm -f conftest.er1
11062 cat conftest.err >&5
11063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11064 (exit $ac_status); } &&
11065 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11067 (eval $ac_try) 2>&5
11068 ac_status=$?
11069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11070 (exit $ac_status); }; } &&
11071 { ac_try='test -s conftest.$ac_objext'
11072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11073 (eval $ac_try) 2>&5
11074 ac_status=$?
11075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11076 (exit $ac_status); }; }; then
11077 for ac_declaration in \
11078 '' \
11079 'extern "C" void std::exit (int) throw (); using std::exit;' \
11080 'extern "C" void std::exit (int); using std::exit;' \
11081 'extern "C" void exit (int) throw ();' \
11082 'extern "C" void exit (int);' \
11083 'void exit (int);'
11084 do
11085 cat >conftest.$ac_ext <<_ACEOF
11086 /* confdefs.h. */
11087 _ACEOF
11088 cat confdefs.h >>conftest.$ac_ext
11089 cat >>conftest.$ac_ext <<_ACEOF
11090 /* end confdefs.h. */
11091 $ac_declaration
11092 #include <stdlib.h>
11093 int
11094 main ()
11095 {
11096 exit (42);
11097 ;
11098 return 0;
11099 }
11100 _ACEOF
11101 rm -f conftest.$ac_objext
11102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11103 (eval $ac_compile) 2>conftest.er1
11104 ac_status=$?
11105 grep -v '^ *+' conftest.er1 >conftest.err
11106 rm -f conftest.er1
11107 cat conftest.err >&5
11108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11109 (exit $ac_status); } &&
11110 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11112 (eval $ac_try) 2>&5
11113 ac_status=$?
11114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11115 (exit $ac_status); }; } &&
11116 { ac_try='test -s conftest.$ac_objext'
11117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11118 (eval $ac_try) 2>&5
11119 ac_status=$?
11120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11121 (exit $ac_status); }; }; then
11122 :
11123 else
11124 echo "$as_me: failed program was:" >&5
11125 sed 's/^/| /' conftest.$ac_ext >&5
11126
11127 continue
11128 fi
11129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11130 cat >conftest.$ac_ext <<_ACEOF
11131 /* confdefs.h. */
11132 _ACEOF
11133 cat confdefs.h >>conftest.$ac_ext
11134 cat >>conftest.$ac_ext <<_ACEOF
11135 /* end confdefs.h. */
11136 $ac_declaration
11137 int
11138 main ()
11139 {
11140 exit (42);
11141 ;
11142 return 0;
11143 }
11144 _ACEOF
11145 rm -f conftest.$ac_objext
11146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11147 (eval $ac_compile) 2>conftest.er1
11148 ac_status=$?
11149 grep -v '^ *+' conftest.er1 >conftest.err
11150 rm -f conftest.er1
11151 cat conftest.err >&5
11152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11153 (exit $ac_status); } &&
11154 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11156 (eval $ac_try) 2>&5
11157 ac_status=$?
11158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11159 (exit $ac_status); }; } &&
11160 { ac_try='test -s conftest.$ac_objext'
11161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11162 (eval $ac_try) 2>&5
11163 ac_status=$?
11164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11165 (exit $ac_status); }; }; then
11166 break
11167 else
11168 echo "$as_me: failed program was:" >&5
11169 sed 's/^/| /' conftest.$ac_ext >&5
11170
11171 fi
11172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11173 done
11174 rm -f conftest*
11175 if test -n "$ac_declaration"; then
11176 echo '#ifdef __cplusplus' >>confdefs.h
11177 echo $ac_declaration >>confdefs.h
11178 echo '#endif' >>confdefs.h
11179 fi
11180
11181 else
11182 echo "$as_me: failed program was:" >&5
11183 sed 's/^/| /' conftest.$ac_ext >&5
11184
11185 fi
11186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11187 ac_ext=c
11188 ac_cpp='$CPP $CPPFLAGS'
11189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11192
11193
11194
11195 ac_ext=c
11196 ac_cpp='$CPP $CPPFLAGS'
11197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11200 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11201 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11202 # On Suns, sometimes $CPP names a directory.
11203 if test -n "$CPP" && test -d "$CPP"; then
11204 CPP=
11205 fi
11206 if test -z "$CPP"; then
11207 if test "${ac_cv_prog_CPP+set}" = set; then
11208 echo $ECHO_N "(cached) $ECHO_C" >&6
11209 else
11210 # Double quotes because CPP needs to be expanded
11211 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11212 do
11213 ac_preproc_ok=false
11214 for ac_c_preproc_warn_flag in '' yes
11215 do
11216 # Use a header file that comes with gcc, so configuring glibc
11217 # with a fresh cross-compiler works.
11218 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11219 # <limits.h> exists even on freestanding compilers.
11220 # On the NeXT, cc -E runs the code through the compiler's parser,
11221 # not just through cpp. "Syntax error" is here to catch this case.
11222 cat >conftest.$ac_ext <<_ACEOF
11223 /* confdefs.h. */
11224 _ACEOF
11225 cat confdefs.h >>conftest.$ac_ext
11226 cat >>conftest.$ac_ext <<_ACEOF
11227 /* end confdefs.h. */
11228 #ifdef __STDC__
11229 # include <limits.h>
11230 #else
11231 # include <assert.h>
11232 #endif
11233 Syntax error
11234 _ACEOF
11235 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11236 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11237 ac_status=$?
11238 grep -v '^ *+' conftest.er1 >conftest.err
11239 rm -f conftest.er1
11240 cat conftest.err >&5
11241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11242 (exit $ac_status); } >/dev/null; then
11243 if test -s conftest.err; then
11244 ac_cpp_err=$ac_c_preproc_warn_flag
11245 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11246 else
11247 ac_cpp_err=
11248 fi
11249 else
11250 ac_cpp_err=yes
11251 fi
11252 if test -z "$ac_cpp_err"; then
11253 :
11254 else
11255 echo "$as_me: failed program was:" >&5
11256 sed 's/^/| /' conftest.$ac_ext >&5
11257
11258 # Broken: fails on valid input.
11259 continue
11260 fi
11261 rm -f conftest.err conftest.$ac_ext
11262
11263 # OK, works on sane cases. Now check whether non-existent headers
11264 # can be detected and how.
11265 cat >conftest.$ac_ext <<_ACEOF
11266 /* confdefs.h. */
11267 _ACEOF
11268 cat confdefs.h >>conftest.$ac_ext
11269 cat >>conftest.$ac_ext <<_ACEOF
11270 /* end confdefs.h. */
11271 #include <ac_nonexistent.h>
11272 _ACEOF
11273 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11274 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11275 ac_status=$?
11276 grep -v '^ *+' conftest.er1 >conftest.err
11277 rm -f conftest.er1
11278 cat conftest.err >&5
11279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11280 (exit $ac_status); } >/dev/null; then
11281 if test -s conftest.err; then
11282 ac_cpp_err=$ac_c_preproc_warn_flag
11283 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11284 else
11285 ac_cpp_err=
11286 fi
11287 else
11288 ac_cpp_err=yes
11289 fi
11290 if test -z "$ac_cpp_err"; then
11291 # Broken: success on invalid input.
11292 continue
11293 else
11294 echo "$as_me: failed program was:" >&5
11295 sed 's/^/| /' conftest.$ac_ext >&5
11296
11297 # Passes both tests.
11298 ac_preproc_ok=:
11299 break
11300 fi
11301 rm -f conftest.err conftest.$ac_ext
11302
11303 done
11304 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11305 rm -f conftest.err conftest.$ac_ext
11306 if $ac_preproc_ok; then
11307 break
11308 fi
11309
11310 done
11311 ac_cv_prog_CPP=$CPP
11312
11313 fi
11314 CPP=$ac_cv_prog_CPP
11315 else
11316 ac_cv_prog_CPP=$CPP
11317 fi
11318 echo "$as_me:$LINENO: result: $CPP" >&5
11319 echo "${ECHO_T}$CPP" >&6
11320 ac_preproc_ok=false
11321 for ac_c_preproc_warn_flag in '' yes
11322 do
11323 # Use a header file that comes with gcc, so configuring glibc
11324 # with a fresh cross-compiler works.
11325 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11326 # <limits.h> exists even on freestanding compilers.
11327 # On the NeXT, cc -E runs the code through the compiler's parser,
11328 # not just through cpp. "Syntax error" is here to catch this case.
11329 cat >conftest.$ac_ext <<_ACEOF
11330 /* confdefs.h. */
11331 _ACEOF
11332 cat confdefs.h >>conftest.$ac_ext
11333 cat >>conftest.$ac_ext <<_ACEOF
11334 /* end confdefs.h. */
11335 #ifdef __STDC__
11336 # include <limits.h>
11337 #else
11338 # include <assert.h>
11339 #endif
11340 Syntax error
11341 _ACEOF
11342 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11343 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11344 ac_status=$?
11345 grep -v '^ *+' conftest.er1 >conftest.err
11346 rm -f conftest.er1
11347 cat conftest.err >&5
11348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11349 (exit $ac_status); } >/dev/null; then
11350 if test -s conftest.err; then
11351 ac_cpp_err=$ac_c_preproc_warn_flag
11352 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11353 else
11354 ac_cpp_err=
11355 fi
11356 else
11357 ac_cpp_err=yes
11358 fi
11359 if test -z "$ac_cpp_err"; then
11360 :
11361 else
11362 echo "$as_me: failed program was:" >&5
11363 sed 's/^/| /' conftest.$ac_ext >&5
11364
11365 # Broken: fails on valid input.
11366 continue
11367 fi
11368 rm -f conftest.err conftest.$ac_ext
11369
11370 # OK, works on sane cases. Now check whether non-existent headers
11371 # can be detected and how.
11372 cat >conftest.$ac_ext <<_ACEOF
11373 /* confdefs.h. */
11374 _ACEOF
11375 cat confdefs.h >>conftest.$ac_ext
11376 cat >>conftest.$ac_ext <<_ACEOF
11377 /* end confdefs.h. */
11378 #include <ac_nonexistent.h>
11379 _ACEOF
11380 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11381 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11382 ac_status=$?
11383 grep -v '^ *+' conftest.er1 >conftest.err
11384 rm -f conftest.er1
11385 cat conftest.err >&5
11386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11387 (exit $ac_status); } >/dev/null; then
11388 if test -s conftest.err; then
11389 ac_cpp_err=$ac_c_preproc_warn_flag
11390 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11391 else
11392 ac_cpp_err=
11393 fi
11394 else
11395 ac_cpp_err=yes
11396 fi
11397 if test -z "$ac_cpp_err"; then
11398 # Broken: success on invalid input.
11399 continue
11400 else
11401 echo "$as_me: failed program was:" >&5
11402 sed 's/^/| /' conftest.$ac_ext >&5
11403
11404 # Passes both tests.
11405 ac_preproc_ok=:
11406 break
11407 fi
11408 rm -f conftest.err conftest.$ac_ext
11409
11410 done
11411 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11412 rm -f conftest.err conftest.$ac_ext
11413 if $ac_preproc_ok; then
11414 :
11415 else
11416 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11417 See \`config.log' for more details." >&5
11418 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11419 See \`config.log' for more details." >&2;}
11420 { (exit 1); exit 1; }; }
11421 fi
11422
11423 ac_ext=c
11424 ac_cpp='$CPP $CPPFLAGS'
11425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11428
11429
11430 echo "$as_me:$LINENO: checking for egrep" >&5
11431 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11432 if test "${ac_cv_prog_egrep+set}" = set; then
11433 echo $ECHO_N "(cached) $ECHO_C" >&6
11434 else
11435 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
11436 then ac_cv_prog_egrep='grep -E'
11437 else ac_cv_prog_egrep='egrep'
11438 fi
11439 fi
11440 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11441 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11442 EGREP=$ac_cv_prog_egrep
11443
11444
11445 if test $ac_cv_c_compiler_gnu = yes; then
11446 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11447 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11448 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11449 echo $ECHO_N "(cached) $ECHO_C" >&6
11450 else
11451 ac_pattern="Autoconf.*'x'"
11452 cat >conftest.$ac_ext <<_ACEOF
11453 /* confdefs.h. */
11454 _ACEOF
11455 cat confdefs.h >>conftest.$ac_ext
11456 cat >>conftest.$ac_ext <<_ACEOF
11457 /* end confdefs.h. */
11458 #include <sgtty.h>
11459 Autoconf TIOCGETP
11460 _ACEOF
11461 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11462 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11463 ac_cv_prog_gcc_traditional=yes
11464 else
11465 ac_cv_prog_gcc_traditional=no
11466 fi
11467 rm -f conftest*
11468
11469
11470 if test $ac_cv_prog_gcc_traditional = no; then
11471 cat >conftest.$ac_ext <<_ACEOF
11472 /* confdefs.h. */
11473 _ACEOF
11474 cat confdefs.h >>conftest.$ac_ext
11475 cat >>conftest.$ac_ext <<_ACEOF
11476 /* end confdefs.h. */
11477 #include <termio.h>
11478 Autoconf TCGETA
11479 _ACEOF
11480 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11481 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11482 ac_cv_prog_gcc_traditional=yes
11483 fi
11484 rm -f conftest*
11485
11486 fi
11487 fi
11488 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11489 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11490 if test $ac_cv_prog_gcc_traditional = yes; then
11491 CC="$CC -traditional"
11492 fi
11493 fi
11494
11495
11496
11497
11498 ac_ext=cc
11499 ac_cpp='$CXXCPP $CPPFLAGS'
11500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11503
11504
11505 CXXFLAGS=${CXXFLAGS:=}
11506 ac_ext=cc
11507 ac_cpp='$CXXCPP $CPPFLAGS'
11508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11511 if test -n "$ac_tool_prefix"; then
11512 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11513 do
11514 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11515 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11516 echo "$as_me:$LINENO: checking for $ac_word" >&5
11517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11518 if test "${ac_cv_prog_CXX+set}" = set; then
11519 echo $ECHO_N "(cached) $ECHO_C" >&6
11520 else
11521 if test -n "$CXX"; then
11522 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11523 else
11524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11525 for as_dir in $PATH
11526 do
11527 IFS=$as_save_IFS
11528 test -z "$as_dir" && as_dir=.
11529 for ac_exec_ext in '' $ac_executable_extensions; do
11530 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11531 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11533 break 2
11534 fi
11535 done
11536 done
11537
11538 fi
11539 fi
11540 CXX=$ac_cv_prog_CXX
11541 if test -n "$CXX"; then
11542 echo "$as_me:$LINENO: result: $CXX" >&5
11543 echo "${ECHO_T}$CXX" >&6
11544 else
11545 echo "$as_me:$LINENO: result: no" >&5
11546 echo "${ECHO_T}no" >&6
11547 fi
11548
11549 test -n "$CXX" && break
11550 done
11551 fi
11552 if test -z "$CXX"; then
11553 ac_ct_CXX=$CXX
11554 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11555 do
11556 # Extract the first word of "$ac_prog", so it can be a program name with args.
11557 set dummy $ac_prog; ac_word=$2
11558 echo "$as_me:$LINENO: checking for $ac_word" >&5
11559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11560 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11561 echo $ECHO_N "(cached) $ECHO_C" >&6
11562 else
11563 if test -n "$ac_ct_CXX"; then
11564 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11565 else
11566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11567 for as_dir in $PATH
11568 do
11569 IFS=$as_save_IFS
11570 test -z "$as_dir" && as_dir=.
11571 for ac_exec_ext in '' $ac_executable_extensions; do
11572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11573 ac_cv_prog_ac_ct_CXX="$ac_prog"
11574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11575 break 2
11576 fi
11577 done
11578 done
11579
11580 fi
11581 fi
11582 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11583 if test -n "$ac_ct_CXX"; then
11584 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11585 echo "${ECHO_T}$ac_ct_CXX" >&6
11586 else
11587 echo "$as_me:$LINENO: result: no" >&5
11588 echo "${ECHO_T}no" >&6
11589 fi
11590
11591 test -n "$ac_ct_CXX" && break
11592 done
11593 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11594
11595 CXX=$ac_ct_CXX
11596 fi
11597
11598
11599 # Provide some information about the compiler.
11600 echo "$as_me:$LINENO:" \
11601 "checking for C++ compiler version" >&5
11602 ac_compiler=`set X $ac_compile; echo $2`
11603 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11604 (eval $ac_compiler --version </dev/null >&5) 2>&5
11605 ac_status=$?
11606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11607 (exit $ac_status); }
11608 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11609 (eval $ac_compiler -v </dev/null >&5) 2>&5
11610 ac_status=$?
11611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11612 (exit $ac_status); }
11613 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11614 (eval $ac_compiler -V </dev/null >&5) 2>&5
11615 ac_status=$?
11616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11617 (exit $ac_status); }
11618
11619 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11620 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11621 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11622 echo $ECHO_N "(cached) $ECHO_C" >&6
11623 else
11624 cat >conftest.$ac_ext <<_ACEOF
11625 /* confdefs.h. */
11626 _ACEOF
11627 cat confdefs.h >>conftest.$ac_ext
11628 cat >>conftest.$ac_ext <<_ACEOF
11629 /* end confdefs.h. */
11630
11631 int
11632 main ()
11633 {
11634 #ifndef __GNUC__
11635 choke me
11636 #endif
11637
11638 ;
11639 return 0;
11640 }
11641 _ACEOF
11642 rm -f conftest.$ac_objext
11643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11644 (eval $ac_compile) 2>conftest.er1
11645 ac_status=$?
11646 grep -v '^ *+' conftest.er1 >conftest.err
11647 rm -f conftest.er1
11648 cat conftest.err >&5
11649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11650 (exit $ac_status); } &&
11651 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11653 (eval $ac_try) 2>&5
11654 ac_status=$?
11655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11656 (exit $ac_status); }; } &&
11657 { ac_try='test -s conftest.$ac_objext'
11658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11659 (eval $ac_try) 2>&5
11660 ac_status=$?
11661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11662 (exit $ac_status); }; }; then
11663 ac_compiler_gnu=yes
11664 else
11665 echo "$as_me: failed program was:" >&5
11666 sed 's/^/| /' conftest.$ac_ext >&5
11667
11668 ac_compiler_gnu=no
11669 fi
11670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11671 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11672
11673 fi
11674 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11675 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11676 GXX=`test $ac_compiler_gnu = yes && echo yes`
11677 ac_test_CXXFLAGS=${CXXFLAGS+set}
11678 ac_save_CXXFLAGS=$CXXFLAGS
11679 CXXFLAGS="-g"
11680 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11681 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11682 if test "${ac_cv_prog_cxx_g+set}" = set; then
11683 echo $ECHO_N "(cached) $ECHO_C" >&6
11684 else
11685 cat >conftest.$ac_ext <<_ACEOF
11686 /* confdefs.h. */
11687 _ACEOF
11688 cat confdefs.h >>conftest.$ac_ext
11689 cat >>conftest.$ac_ext <<_ACEOF
11690 /* end confdefs.h. */
11691
11692 int
11693 main ()
11694 {
11695
11696 ;
11697 return 0;
11698 }
11699 _ACEOF
11700 rm -f conftest.$ac_objext
11701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11702 (eval $ac_compile) 2>conftest.er1
11703 ac_status=$?
11704 grep -v '^ *+' conftest.er1 >conftest.err
11705 rm -f conftest.er1
11706 cat conftest.err >&5
11707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11708 (exit $ac_status); } &&
11709 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11711 (eval $ac_try) 2>&5
11712 ac_status=$?
11713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11714 (exit $ac_status); }; } &&
11715 { ac_try='test -s conftest.$ac_objext'
11716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11717 (eval $ac_try) 2>&5
11718 ac_status=$?
11719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11720 (exit $ac_status); }; }; then
11721 ac_cv_prog_cxx_g=yes
11722 else
11723 echo "$as_me: failed program was:" >&5
11724 sed 's/^/| /' conftest.$ac_ext >&5
11725
11726 ac_cv_prog_cxx_g=no
11727 fi
11728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11729 fi
11730 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11731 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11732 if test "$ac_test_CXXFLAGS" = set; then
11733 CXXFLAGS=$ac_save_CXXFLAGS
11734 elif test $ac_cv_prog_cxx_g = yes; then
11735 if test "$GXX" = yes; then
11736 CXXFLAGS="-g -O2"
11737 else
11738 CXXFLAGS="-g"
11739 fi
11740 else
11741 if test "$GXX" = yes; then
11742 CXXFLAGS="-O2"
11743 else
11744 CXXFLAGS=
11745 fi
11746 fi
11747 for ac_declaration in \
11748 '' \
11749 'extern "C" void std::exit (int) throw (); using std::exit;' \
11750 'extern "C" void std::exit (int); using std::exit;' \
11751 'extern "C" void exit (int) throw ();' \
11752 'extern "C" void exit (int);' \
11753 'void exit (int);'
11754 do
11755 cat >conftest.$ac_ext <<_ACEOF
11756 /* confdefs.h. */
11757 _ACEOF
11758 cat confdefs.h >>conftest.$ac_ext
11759 cat >>conftest.$ac_ext <<_ACEOF
11760 /* end confdefs.h. */
11761 $ac_declaration
11762 #include <stdlib.h>
11763 int
11764 main ()
11765 {
11766 exit (42);
11767 ;
11768 return 0;
11769 }
11770 _ACEOF
11771 rm -f conftest.$ac_objext
11772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11773 (eval $ac_compile) 2>conftest.er1
11774 ac_status=$?
11775 grep -v '^ *+' conftest.er1 >conftest.err
11776 rm -f conftest.er1
11777 cat conftest.err >&5
11778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11779 (exit $ac_status); } &&
11780 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11782 (eval $ac_try) 2>&5
11783 ac_status=$?
11784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11785 (exit $ac_status); }; } &&
11786 { ac_try='test -s conftest.$ac_objext'
11787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11788 (eval $ac_try) 2>&5
11789 ac_status=$?
11790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11791 (exit $ac_status); }; }; then
11792 :
11793 else
11794 echo "$as_me: failed program was:" >&5
11795 sed 's/^/| /' conftest.$ac_ext >&5
11796
11797 continue
11798 fi
11799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11800 cat >conftest.$ac_ext <<_ACEOF
11801 /* confdefs.h. */
11802 _ACEOF
11803 cat confdefs.h >>conftest.$ac_ext
11804 cat >>conftest.$ac_ext <<_ACEOF
11805 /* end confdefs.h. */
11806 $ac_declaration
11807 int
11808 main ()
11809 {
11810 exit (42);
11811 ;
11812 return 0;
11813 }
11814 _ACEOF
11815 rm -f conftest.$ac_objext
11816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11817 (eval $ac_compile) 2>conftest.er1
11818 ac_status=$?
11819 grep -v '^ *+' conftest.er1 >conftest.err
11820 rm -f conftest.er1
11821 cat conftest.err >&5
11822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11823 (exit $ac_status); } &&
11824 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11826 (eval $ac_try) 2>&5
11827 ac_status=$?
11828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11829 (exit $ac_status); }; } &&
11830 { ac_try='test -s conftest.$ac_objext'
11831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11832 (eval $ac_try) 2>&5
11833 ac_status=$?
11834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11835 (exit $ac_status); }; }; then
11836 break
11837 else
11838 echo "$as_me: failed program was:" >&5
11839 sed 's/^/| /' conftest.$ac_ext >&5
11840
11841 fi
11842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11843 done
11844 rm -f conftest*
11845 if test -n "$ac_declaration"; then
11846 echo '#ifdef __cplusplus' >>confdefs.h
11847 echo $ac_declaration >>confdefs.h
11848 echo '#endif' >>confdefs.h
11849 fi
11850
11851 ac_ext=cc
11852 ac_cpp='$CXXCPP $CPPFLAGS'
11853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11856
11857
11858 ac_ext=c
11859 ac_cpp='$CPP $CPPFLAGS'
11860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11863
11864
11865 if test -n "$ac_tool_prefix"; then
11866 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11867 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11868 echo "$as_me:$LINENO: checking for $ac_word" >&5
11869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11870 if test "${ac_cv_prog_RANLIB+set}" = set; then
11871 echo $ECHO_N "(cached) $ECHO_C" >&6
11872 else
11873 if test -n "$RANLIB"; then
11874 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11875 else
11876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11877 for as_dir in $PATH
11878 do
11879 IFS=$as_save_IFS
11880 test -z "$as_dir" && as_dir=.
11881 for ac_exec_ext in '' $ac_executable_extensions; do
11882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11883 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11885 break 2
11886 fi
11887 done
11888 done
11889
11890 fi
11891 fi
11892 RANLIB=$ac_cv_prog_RANLIB
11893 if test -n "$RANLIB"; then
11894 echo "$as_me:$LINENO: result: $RANLIB" >&5
11895 echo "${ECHO_T}$RANLIB" >&6
11896 else
11897 echo "$as_me:$LINENO: result: no" >&5
11898 echo "${ECHO_T}no" >&6
11899 fi
11900
11901 fi
11902 if test -z "$ac_cv_prog_RANLIB"; then
11903 ac_ct_RANLIB=$RANLIB
11904 # Extract the first word of "ranlib", so it can be a program name with args.
11905 set dummy ranlib; ac_word=$2
11906 echo "$as_me:$LINENO: checking for $ac_word" >&5
11907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11908 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11909 echo $ECHO_N "(cached) $ECHO_C" >&6
11910 else
11911 if test -n "$ac_ct_RANLIB"; then
11912 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11913 else
11914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11915 for as_dir in $PATH
11916 do
11917 IFS=$as_save_IFS
11918 test -z "$as_dir" && as_dir=.
11919 for ac_exec_ext in '' $ac_executable_extensions; do
11920 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11921 ac_cv_prog_ac_ct_RANLIB="ranlib"
11922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11923 break 2
11924 fi
11925 done
11926 done
11927
11928 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11929 fi
11930 fi
11931 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11932 if test -n "$ac_ct_RANLIB"; then
11933 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11934 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11935 else
11936 echo "$as_me:$LINENO: result: no" >&5
11937 echo "${ECHO_T}no" >&6
11938 fi
11939
11940 RANLIB=$ac_ct_RANLIB
11941 else
11942 RANLIB="$ac_cv_prog_RANLIB"
11943 fi
11944
11945
11946 # Extract the first word of "ar", so it can be a program name with args.
11947 set dummy ar; ac_word=$2
11948 echo "$as_me:$LINENO: checking for $ac_word" >&5
11949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11950 if test "${ac_cv_prog_AR+set}" = set; then
11951 echo $ECHO_N "(cached) $ECHO_C" >&6
11952 else
11953 if test -n "$AR"; then
11954 ac_cv_prog_AR="$AR" # Let the user override the test.
11955 else
11956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11957 for as_dir in $PATH
11958 do
11959 IFS=$as_save_IFS
11960 test -z "$as_dir" && as_dir=.
11961 for ac_exec_ext in '' $ac_executable_extensions; do
11962 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11963 ac_cv_prog_AR="ar"
11964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11965 break 2
11966 fi
11967 done
11968 done
11969
11970 fi
11971 fi
11972 AR=$ac_cv_prog_AR
11973 if test -n "$AR"; then
11974 echo "$as_me:$LINENO: result: $AR" >&5
11975 echo "${ECHO_T}$AR" >&6
11976 else
11977 echo "$as_me:$LINENO: result: no" >&5
11978 echo "${ECHO_T}no" >&6
11979 fi
11980
11981 if test "x$AR" = "x" ; then
11982 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
11983 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
11984 { (exit 1); exit 1; }; }
11985 fi
11986
11987 # Find a good install program. We prefer a C program (faster),
11988 # so one script is as good as another. But avoid the broken or
11989 # incompatible versions:
11990 # SysV /etc/install, /usr/sbin/install
11991 # SunOS /usr/etc/install
11992 # IRIX /sbin/install
11993 # AIX /bin/install
11994 # AmigaOS /C/install, which installs bootblocks on floppy discs
11995 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11996 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11997 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11998 # OS/2's system install, which has a completely different semantic
11999 # ./install, which can be erroneously created by make from ./install.sh.
12000 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12001 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12002 if test -z "$INSTALL"; then
12003 if test "${ac_cv_path_install+set}" = set; then
12004 echo $ECHO_N "(cached) $ECHO_C" >&6
12005 else
12006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12007 for as_dir in $PATH
12008 do
12009 IFS=$as_save_IFS
12010 test -z "$as_dir" && as_dir=.
12011 # Account for people who put trailing slashes in PATH elements.
12012 case $as_dir/ in
12013 ./ | .// | /cC/* | \
12014 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
12015 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
12016 /usr/ucb/* ) ;;
12017 *)
12018 # OSF1 and SCO ODT 3.0 have their own names for install.
12019 # Don't use installbsd from OSF since it installs stuff as root
12020 # by default.
12021 for ac_prog in ginstall scoinst install; do
12022 for ac_exec_ext in '' $ac_executable_extensions; do
12023 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12024 if test $ac_prog = install &&
12025 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12026 # AIX install. It has an incompatible calling convention.
12027 :
12028 elif test $ac_prog = install &&
12029 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12030 # program-specific install script used by HP pwplus--don't use.
12031 :
12032 else
12033 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
12034 break 3
12035 fi
12036 fi
12037 done
12038 done
12039 ;;
12040 esac
12041 done
12042
12043
12044 fi
12045 if test "${ac_cv_path_install+set}" = set; then
12046 INSTALL=$ac_cv_path_install
12047 else
12048 # As a last resort, use the slow shell script. We don't cache a
12049 # path for INSTALL within a source directory, because that will
12050 # break other packages using the cache if that directory is
12051 # removed, or if the path is relative.
12052 INSTALL=$ac_install_sh
12053 fi
12054 fi
12055 echo "$as_me:$LINENO: result: $INSTALL" >&5
12056 echo "${ECHO_T}$INSTALL" >&6
12057
12058 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12059 # It thinks the first close brace ends the variable substitution.
12060 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
12061
12062 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
12063
12064 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
12065
12066
12067 case ${INSTALL} in
12068 /* ) # Absolute
12069 ;;
12070 ?:* ) # Drive letter, considered as absolute.
12071 ;;
12072 *)
12073 INSTALL=`pwd`/${INSTALL} ;;
12074 esac
12075
12076
12077 case "${host}" in
12078
12079 powerpc-*-darwin* )
12080 INSTALL_PROGRAM="cp -fp"
12081 INSTALL_DATA="cp -fp"
12082 ;;
12083 *)
12084 ;;
12085 esac
12086
12087 # Extract the first word of "strip", so it can be a program name with args.
12088 set dummy strip; ac_word=$2
12089 echo "$as_me:$LINENO: checking for $ac_word" >&5
12090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12091 if test "${ac_cv_prog_STRIP+set}" = set; then
12092 echo $ECHO_N "(cached) $ECHO_C" >&6
12093 else
12094 if test -n "$STRIP"; then
12095 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12096 else
12097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12098 for as_dir in $PATH
12099 do
12100 IFS=$as_save_IFS
12101 test -z "$as_dir" && as_dir=.
12102 for ac_exec_ext in '' $ac_executable_extensions; do
12103 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12104 ac_cv_prog_STRIP="strip"
12105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12106 break 2
12107 fi
12108 done
12109 done
12110
12111 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
12112 fi
12113 fi
12114 STRIP=$ac_cv_prog_STRIP
12115 if test -n "$STRIP"; then
12116 echo "$as_me:$LINENO: result: $STRIP" >&5
12117 echo "${ECHO_T}$STRIP" >&6
12118 else
12119 echo "$as_me:$LINENO: result: no" >&5
12120 echo "${ECHO_T}no" >&6
12121 fi
12122
12123
12124 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12125 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12126 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12127 echo $ECHO_N "(cached) $ECHO_C" >&6
12128 else
12129
12130 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
12131 egrep -s GNU > /dev/null); then
12132 wx_cv_prog_makeisgnu="yes"
12133 else
12134 wx_cv_prog_makeisgnu="no"
12135 fi
12136
12137 fi
12138 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12139 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12140
12141 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12142 IF_GNU_MAKE=""
12143 else
12144 IF_GNU_MAKE="#"
12145 fi
12146
12147
12148
12149 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12150 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12151 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12152 if test "${wx_cv_prog_makevpath+set}" = set; then
12153 echo $ECHO_N "(cached) $ECHO_C" >&6
12154 else
12155
12156 cat - << EOF > confMake
12157 check : file
12158 cp \$? \$@
12159 cp \$? final_file
12160 EOF
12161
12162 if test ! -d sub ; then
12163 mkdir sub
12164 fi
12165 echo dummy > sub/file
12166 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
12167 RESULT=$?
12168 rm -f sub/file check final_file confMake
12169 rmdir sub
12170 if test "$RESULT" = 0; then
12171 wx_cv_prog_makevpath="yes"
12172 else
12173 wx_cv_prog_makevpath="no"
12174 fi
12175
12176 fi
12177 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12178 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12179
12180 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12181 { { echo "$as_me:$LINENO: error:
12182 You need a make-utility that is able to use the variable
12183 VPATH correctly.
12184 If your version of make does not support VPATH correctly,
12185 please install GNU-make (possibly as gmake), and start
12186 configure with the following command:
12187 export MAKE=gmake; ./configure for sh-type shells
12188 setenv MAKE gmake; ./configure for csh-type shells
12189 Also please do remember to use gmake in this case every time
12190 you are trying to compile.
12191 " >&5
12192 echo "$as_me: error:
12193 You need a make-utility that is able to use the variable
12194 VPATH correctly.
12195 If your version of make does not support VPATH correctly,
12196 please install GNU-make (possibly as gmake), and start
12197 configure with the following command:
12198 export MAKE=gmake; ./configure for sh-type shells
12199 setenv MAKE gmake; ./configure for csh-type shells
12200 Also please do remember to use gmake in this case every time
12201 you are trying to compile.
12202 " >&2;}
12203 { (exit 1); exit 1; }; }
12204 fi fi
12205 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12206 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12207 LN_S=$as_ln_s
12208 if test "$LN_S" = "ln -s"; then
12209 echo "$as_me:$LINENO: result: yes" >&5
12210 echo "${ECHO_T}yes" >&6
12211 else
12212 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12213 echo "${ECHO_T}no, using $LN_S" >&6
12214 fi
12215
12216
12217
12218 case "${host}" in
12219 *-pc-os2_emx | *-pc-os2-emx )
12220 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12221 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12222 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12223 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12224 echo $ECHO_N "(cached) $ECHO_C" >&6
12225 else
12226 ac_check_lib_save_LIBS=$LIBS
12227 LIBS="-lcExt $LIBS"
12228 cat >conftest.$ac_ext <<_ACEOF
12229 /* confdefs.h. */
12230 _ACEOF
12231 cat confdefs.h >>conftest.$ac_ext
12232 cat >>conftest.$ac_ext <<_ACEOF
12233 /* end confdefs.h. */
12234
12235 /* Override any gcc2 internal prototype to avoid an error. */
12236 #ifdef __cplusplus
12237 extern "C"
12238 #endif
12239 /* We use char because int might match the return type of a gcc2
12240 builtin and then its argument prototype would still apply. */
12241 char drand48 ();
12242 int
12243 main ()
12244 {
12245 drand48 ();
12246 ;
12247 return 0;
12248 }
12249 _ACEOF
12250 rm -f conftest.$ac_objext conftest$ac_exeext
12251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12252 (eval $ac_link) 2>conftest.er1
12253 ac_status=$?
12254 grep -v '^ *+' conftest.er1 >conftest.err
12255 rm -f conftest.er1
12256 cat conftest.err >&5
12257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12258 (exit $ac_status); } &&
12259 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12261 (eval $ac_try) 2>&5
12262 ac_status=$?
12263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12264 (exit $ac_status); }; } &&
12265 { ac_try='test -s conftest$ac_exeext'
12266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12267 (eval $ac_try) 2>&5
12268 ac_status=$?
12269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12270 (exit $ac_status); }; }; then
12271 ac_cv_lib_cExt_drand48=yes
12272 else
12273 echo "$as_me: failed program was:" >&5
12274 sed 's/^/| /' conftest.$ac_ext >&5
12275
12276 ac_cv_lib_cExt_drand48=no
12277 fi
12278 rm -f conftest.err conftest.$ac_objext \
12279 conftest$ac_exeext conftest.$ac_ext
12280 LIBS=$ac_check_lib_save_LIBS
12281 fi
12282 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12283 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12284 if test $ac_cv_lib_cExt_drand48 = yes; then
12285 LIBS="$LIBS -lcExt"
12286 fi
12287
12288 else
12289 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
12290 fi
12291 echo "$as_me:$LINENO: checking for gcc version" >&5
12292 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12293 if test "${wx_cv_gccversion+set}" = set; then
12294 echo $ECHO_N "(cached) $ECHO_C" >&6
12295 else
12296
12297 cat >conftest.$ac_ext <<_ACEOF
12298 /* confdefs.h. */
12299 _ACEOF
12300 cat confdefs.h >>conftest.$ac_ext
12301 cat >>conftest.$ac_ext <<_ACEOF
12302 /* end confdefs.h. */
12303
12304 int
12305 main ()
12306 {
12307
12308 #if (__GNUC__ < 3)
12309 #error old gcc
12310 #endif
12311
12312 ;
12313 return 0;
12314 }
12315 _ACEOF
12316 rm -f conftest.$ac_objext
12317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12318 (eval $ac_compile) 2>conftest.er1
12319 ac_status=$?
12320 grep -v '^ *+' conftest.er1 >conftest.err
12321 rm -f conftest.er1
12322 cat conftest.err >&5
12323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12324 (exit $ac_status); } &&
12325 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12327 (eval $ac_try) 2>&5
12328 ac_status=$?
12329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12330 (exit $ac_status); }; } &&
12331 { ac_try='test -s conftest.$ac_objext'
12332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12333 (eval $ac_try) 2>&5
12334 ac_status=$?
12335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12336 (exit $ac_status); }; }; then
12337
12338 cat >conftest.$ac_ext <<_ACEOF
12339 /* confdefs.h. */
12340 _ACEOF
12341 cat confdefs.h >>conftest.$ac_ext
12342 cat >>conftest.$ac_ext <<_ACEOF
12343 /* end confdefs.h. */
12344
12345 int
12346 main ()
12347 {
12348
12349 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12350 #error intermediate gcc
12351 #endif
12352
12353 ;
12354 return 0;
12355 }
12356 _ACEOF
12357 rm -f conftest.$ac_objext
12358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12359 (eval $ac_compile) 2>conftest.er1
12360 ac_status=$?
12361 grep -v '^ *+' conftest.er1 >conftest.err
12362 rm -f conftest.er1
12363 cat conftest.err >&5
12364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12365 (exit $ac_status); } &&
12366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12368 (eval $ac_try) 2>&5
12369 ac_status=$?
12370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12371 (exit $ac_status); }; } &&
12372 { ac_try='test -s conftest.$ac_objext'
12373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12374 (eval $ac_try) 2>&5
12375 ac_status=$?
12376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12377 (exit $ac_status); }; }; then
12378
12379 wx_cv_gccversion=Innotek
12380
12381 else
12382 echo "$as_me: failed program was:" >&5
12383 sed 's/^/| /' conftest.$ac_ext >&5
12384
12385
12386 wx_cv_gccversion=3
12387
12388
12389 fi
12390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12391
12392 else
12393 echo "$as_me: failed program was:" >&5
12394 sed 's/^/| /' conftest.$ac_ext >&5
12395
12396
12397 wx_cv_gccversion=2
12398
12399
12400 fi
12401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12402
12403 fi
12404 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12405 echo "${ECHO_T}$wx_cv_gccversion" >&6
12406 if test "$wx_cv_gccversion" = "2"; then
12407 LIBS="$LIBS -lstdcpp"
12408 LDFLAGS="$LDFLAGS -Zsysv-signals"
12409 else
12410 if test "$wx_cv_gccversion" = "3"; then
12411 LIBS="$LIBS -lstdcxx"
12412 LDFLAGS="$LDFLAGS -Zsysv-signals"
12413 else
12414 LIBS="$LIBS -lstdc++"
12415 fi
12416 fi
12417 if test "$wxUSE_OMF" = "yes"; then
12418 LDFLAGS="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12419 fi
12420 ;;
12421 *)
12422
12423
12424
12425 ac_ext=cc
12426 ac_cpp='$CXXCPP $CPPFLAGS'
12427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12430
12431
12432
12433 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12434 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12435 if test "${ac_cv_string_strcasecmp+set}" = set; then
12436 echo $ECHO_N "(cached) $ECHO_C" >&6
12437 else
12438
12439 cat >conftest.$ac_ext <<_ACEOF
12440 /* confdefs.h. */
12441 _ACEOF
12442 cat confdefs.h >>conftest.$ac_ext
12443 cat >>conftest.$ac_ext <<_ACEOF
12444 /* end confdefs.h. */
12445
12446 #include <string.h>
12447
12448 int
12449 main ()
12450 {
12451
12452 strcasecmp("foo", "bar");
12453
12454 ;
12455 return 0;
12456 }
12457 _ACEOF
12458 rm -f conftest.$ac_objext conftest$ac_exeext
12459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12460 (eval $ac_link) 2>conftest.er1
12461 ac_status=$?
12462 grep -v '^ *+' conftest.er1 >conftest.err
12463 rm -f conftest.er1
12464 cat conftest.err >&5
12465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12466 (exit $ac_status); } &&
12467 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12469 (eval $ac_try) 2>&5
12470 ac_status=$?
12471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12472 (exit $ac_status); }; } &&
12473 { ac_try='test -s conftest$ac_exeext'
12474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12475 (eval $ac_try) 2>&5
12476 ac_status=$?
12477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12478 (exit $ac_status); }; }; then
12479 ac_cv_string_strcasecmp=yes
12480 else
12481 echo "$as_me: failed program was:" >&5
12482 sed 's/^/| /' conftest.$ac_ext >&5
12483
12484 ac_cv_string_strcasecmp=no
12485
12486 fi
12487 rm -f conftest.err conftest.$ac_objext \
12488 conftest$ac_exeext conftest.$ac_ext
12489
12490 fi
12491 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12492 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12493
12494 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12495 cat >>confdefs.h <<\_ACEOF
12496 #define HAVE_STRCASECMP_IN_STRING_H 1
12497 _ACEOF
12498
12499 else
12500 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12501 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12502 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12503 echo $ECHO_N "(cached) $ECHO_C" >&6
12504 else
12505
12506 cat >conftest.$ac_ext <<_ACEOF
12507 /* confdefs.h. */
12508 _ACEOF
12509 cat confdefs.h >>conftest.$ac_ext
12510 cat >>conftest.$ac_ext <<_ACEOF
12511 /* end confdefs.h. */
12512
12513 #include <strings.h>
12514
12515 int
12516 main ()
12517 {
12518
12519 strcasecmp("foo", "bar");
12520
12521 ;
12522 return 0;
12523 }
12524 _ACEOF
12525 rm -f conftest.$ac_objext conftest$ac_exeext
12526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12527 (eval $ac_link) 2>conftest.er1
12528 ac_status=$?
12529 grep -v '^ *+' conftest.er1 >conftest.err
12530 rm -f conftest.er1
12531 cat conftest.err >&5
12532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12533 (exit $ac_status); } &&
12534 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12536 (eval $ac_try) 2>&5
12537 ac_status=$?
12538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12539 (exit $ac_status); }; } &&
12540 { ac_try='test -s conftest$ac_exeext'
12541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12542 (eval $ac_try) 2>&5
12543 ac_status=$?
12544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12545 (exit $ac_status); }; }; then
12546 ac_cv_strings_strcasecmp=yes
12547 else
12548 echo "$as_me: failed program was:" >&5
12549 sed 's/^/| /' conftest.$ac_ext >&5
12550
12551 ac_cv_strings_strcasecmp=no
12552
12553 fi
12554 rm -f conftest.err conftest.$ac_objext \
12555 conftest$ac_exeext conftest.$ac_ext
12556
12557 fi
12558 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12559 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12560
12561 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
12562 cat >>confdefs.h <<\_ACEOF
12563 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12564 _ACEOF
12565
12566 else
12567 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12568 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12569 { (exit 1); exit 1; }; }
12570 fi
12571 fi
12572
12573 ac_ext=c
12574 ac_cpp='$CPP $CPPFLAGS'
12575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12578
12579 ;;
12580 esac
12581
12582
12583 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12584 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12585 if test "${ac_cv_header_stdc+set}" = set; then
12586 echo $ECHO_N "(cached) $ECHO_C" >&6
12587 else
12588 cat >conftest.$ac_ext <<_ACEOF
12589 /* confdefs.h. */
12590 _ACEOF
12591 cat confdefs.h >>conftest.$ac_ext
12592 cat >>conftest.$ac_ext <<_ACEOF
12593 /* end confdefs.h. */
12594 #include <stdlib.h>
12595 #include <stdarg.h>
12596 #include <string.h>
12597 #include <float.h>
12598
12599 int
12600 main ()
12601 {
12602
12603 ;
12604 return 0;
12605 }
12606 _ACEOF
12607 rm -f conftest.$ac_objext
12608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12609 (eval $ac_compile) 2>conftest.er1
12610 ac_status=$?
12611 grep -v '^ *+' conftest.er1 >conftest.err
12612 rm -f conftest.er1
12613 cat conftest.err >&5
12614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12615 (exit $ac_status); } &&
12616 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12618 (eval $ac_try) 2>&5
12619 ac_status=$?
12620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12621 (exit $ac_status); }; } &&
12622 { ac_try='test -s conftest.$ac_objext'
12623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12624 (eval $ac_try) 2>&5
12625 ac_status=$?
12626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12627 (exit $ac_status); }; }; then
12628 ac_cv_header_stdc=yes
12629 else
12630 echo "$as_me: failed program was:" >&5
12631 sed 's/^/| /' conftest.$ac_ext >&5
12632
12633 ac_cv_header_stdc=no
12634 fi
12635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12636
12637 if test $ac_cv_header_stdc = yes; then
12638 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12639 cat >conftest.$ac_ext <<_ACEOF
12640 /* confdefs.h. */
12641 _ACEOF
12642 cat confdefs.h >>conftest.$ac_ext
12643 cat >>conftest.$ac_ext <<_ACEOF
12644 /* end confdefs.h. */
12645 #include <string.h>
12646
12647 _ACEOF
12648 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12649 $EGREP "memchr" >/dev/null 2>&1; then
12650 :
12651 else
12652 ac_cv_header_stdc=no
12653 fi
12654 rm -f conftest*
12655
12656 fi
12657
12658 if test $ac_cv_header_stdc = yes; then
12659 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12660 cat >conftest.$ac_ext <<_ACEOF
12661 /* confdefs.h. */
12662 _ACEOF
12663 cat confdefs.h >>conftest.$ac_ext
12664 cat >>conftest.$ac_ext <<_ACEOF
12665 /* end confdefs.h. */
12666 #include <stdlib.h>
12667
12668 _ACEOF
12669 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12670 $EGREP "free" >/dev/null 2>&1; then
12671 :
12672 else
12673 ac_cv_header_stdc=no
12674 fi
12675 rm -f conftest*
12676
12677 fi
12678
12679 if test $ac_cv_header_stdc = yes; then
12680 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12681 if test "$cross_compiling" = yes; then
12682 :
12683 else
12684 cat >conftest.$ac_ext <<_ACEOF
12685 /* confdefs.h. */
12686 _ACEOF
12687 cat confdefs.h >>conftest.$ac_ext
12688 cat >>conftest.$ac_ext <<_ACEOF
12689 /* end confdefs.h. */
12690 #include <ctype.h>
12691 #if ((' ' & 0x0FF) == 0x020)
12692 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12693 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12694 #else
12695 # define ISLOWER(c) \
12696 (('a' <= (c) && (c) <= 'i') \
12697 || ('j' <= (c) && (c) <= 'r') \
12698 || ('s' <= (c) && (c) <= 'z'))
12699 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12700 #endif
12701
12702 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12703 int
12704 main ()
12705 {
12706 int i;
12707 for (i = 0; i < 256; i++)
12708 if (XOR (islower (i), ISLOWER (i))
12709 || toupper (i) != TOUPPER (i))
12710 exit(2);
12711 exit (0);
12712 }
12713 _ACEOF
12714 rm -f conftest$ac_exeext
12715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12716 (eval $ac_link) 2>&5
12717 ac_status=$?
12718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12719 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12721 (eval $ac_try) 2>&5
12722 ac_status=$?
12723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12724 (exit $ac_status); }; }; then
12725 :
12726 else
12727 echo "$as_me: program exited with status $ac_status" >&5
12728 echo "$as_me: failed program was:" >&5
12729 sed 's/^/| /' conftest.$ac_ext >&5
12730
12731 ( exit $ac_status )
12732 ac_cv_header_stdc=no
12733 fi
12734 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12735 fi
12736 fi
12737 fi
12738 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12739 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12740 if test $ac_cv_header_stdc = yes; then
12741
12742 cat >>confdefs.h <<\_ACEOF
12743 #define STDC_HEADERS 1
12744 _ACEOF
12745
12746 fi
12747
12748 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12759 inttypes.h stdint.h unistd.h
12760 do
12761 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12762 echo "$as_me:$LINENO: checking for $ac_header" >&5
12763 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12764 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12765 echo $ECHO_N "(cached) $ECHO_C" >&6
12766 else
12767 cat >conftest.$ac_ext <<_ACEOF
12768 /* confdefs.h. */
12769 _ACEOF
12770 cat confdefs.h >>conftest.$ac_ext
12771 cat >>conftest.$ac_ext <<_ACEOF
12772 /* end confdefs.h. */
12773 $ac_includes_default
12774
12775 #include <$ac_header>
12776 _ACEOF
12777 rm -f conftest.$ac_objext
12778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12779 (eval $ac_compile) 2>conftest.er1
12780 ac_status=$?
12781 grep -v '^ *+' conftest.er1 >conftest.err
12782 rm -f conftest.er1
12783 cat conftest.err >&5
12784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12785 (exit $ac_status); } &&
12786 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12788 (eval $ac_try) 2>&5
12789 ac_status=$?
12790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12791 (exit $ac_status); }; } &&
12792 { ac_try='test -s conftest.$ac_objext'
12793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12794 (eval $ac_try) 2>&5
12795 ac_status=$?
12796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12797 (exit $ac_status); }; }; then
12798 eval "$as_ac_Header=yes"
12799 else
12800 echo "$as_me: failed program was:" >&5
12801 sed 's/^/| /' conftest.$ac_ext >&5
12802
12803 eval "$as_ac_Header=no"
12804 fi
12805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12806 fi
12807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12808 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12809 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12810 cat >>confdefs.h <<_ACEOF
12811 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12812 _ACEOF
12813
12814 fi
12815
12816 done
12817
12818
12819
12820 for ac_header in stdlib.h
12821 do
12822 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12823 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12824 echo "$as_me:$LINENO: checking for $ac_header" >&5
12825 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12826 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12827 echo $ECHO_N "(cached) $ECHO_C" >&6
12828 fi
12829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12830 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12831 else
12832 # Is the header compilable?
12833 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12834 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12835 cat >conftest.$ac_ext <<_ACEOF
12836 /* confdefs.h. */
12837 _ACEOF
12838 cat confdefs.h >>conftest.$ac_ext
12839 cat >>conftest.$ac_ext <<_ACEOF
12840 /* end confdefs.h. */
12841 $ac_includes_default
12842 #include <$ac_header>
12843 _ACEOF
12844 rm -f conftest.$ac_objext
12845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12846 (eval $ac_compile) 2>conftest.er1
12847 ac_status=$?
12848 grep -v '^ *+' conftest.er1 >conftest.err
12849 rm -f conftest.er1
12850 cat conftest.err >&5
12851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12852 (exit $ac_status); } &&
12853 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12855 (eval $ac_try) 2>&5
12856 ac_status=$?
12857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12858 (exit $ac_status); }; } &&
12859 { ac_try='test -s conftest.$ac_objext'
12860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12861 (eval $ac_try) 2>&5
12862 ac_status=$?
12863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12864 (exit $ac_status); }; }; then
12865 ac_header_compiler=yes
12866 else
12867 echo "$as_me: failed program was:" >&5
12868 sed 's/^/| /' conftest.$ac_ext >&5
12869
12870 ac_header_compiler=no
12871 fi
12872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12873 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12874 echo "${ECHO_T}$ac_header_compiler" >&6
12875
12876 # Is the header present?
12877 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12878 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12879 cat >conftest.$ac_ext <<_ACEOF
12880 /* confdefs.h. */
12881 _ACEOF
12882 cat confdefs.h >>conftest.$ac_ext
12883 cat >>conftest.$ac_ext <<_ACEOF
12884 /* end confdefs.h. */
12885 #include <$ac_header>
12886 _ACEOF
12887 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12888 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12889 ac_status=$?
12890 grep -v '^ *+' conftest.er1 >conftest.err
12891 rm -f conftest.er1
12892 cat conftest.err >&5
12893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12894 (exit $ac_status); } >/dev/null; then
12895 if test -s conftest.err; then
12896 ac_cpp_err=$ac_c_preproc_warn_flag
12897 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12898 else
12899 ac_cpp_err=
12900 fi
12901 else
12902 ac_cpp_err=yes
12903 fi
12904 if test -z "$ac_cpp_err"; then
12905 ac_header_preproc=yes
12906 else
12907 echo "$as_me: failed program was:" >&5
12908 sed 's/^/| /' conftest.$ac_ext >&5
12909
12910 ac_header_preproc=no
12911 fi
12912 rm -f conftest.err conftest.$ac_ext
12913 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12914 echo "${ECHO_T}$ac_header_preproc" >&6
12915
12916 # So? What about this header?
12917 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12918 yes:no: )
12919 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12920 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12921 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12922 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12923 ac_header_preproc=yes
12924 ;;
12925 no:yes:* )
12926 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12927 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12928 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12929 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12930 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12931 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12932 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12933 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12934 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12935 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12936 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12937 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12938 (
12939 cat <<\_ASBOX
12940 ## ----------------------------------------- ##
12941 ## Report this to wx-dev@lists.wxwidgets.org ##
12942 ## ----------------------------------------- ##
12943 _ASBOX
12944 ) |
12945 sed "s/^/$as_me: WARNING: /" >&2
12946 ;;
12947 esac
12948 echo "$as_me:$LINENO: checking for $ac_header" >&5
12949 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12950 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12951 echo $ECHO_N "(cached) $ECHO_C" >&6
12952 else
12953 eval "$as_ac_Header=\$ac_header_preproc"
12954 fi
12955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12956 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12957
12958 fi
12959 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12960 cat >>confdefs.h <<_ACEOF
12961 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12962 _ACEOF
12963
12964 fi
12965
12966 done
12967
12968
12969 for ac_header in malloc.h
12970 do
12971 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12972 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12973 echo "$as_me:$LINENO: checking for $ac_header" >&5
12974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12976 echo $ECHO_N "(cached) $ECHO_C" >&6
12977 fi
12978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12979 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12980 else
12981 # Is the header compilable?
12982 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12983 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12984 cat >conftest.$ac_ext <<_ACEOF
12985 /* confdefs.h. */
12986 _ACEOF
12987 cat confdefs.h >>conftest.$ac_ext
12988 cat >>conftest.$ac_ext <<_ACEOF
12989 /* end confdefs.h. */
12990 $ac_includes_default
12991 #include <$ac_header>
12992 _ACEOF
12993 rm -f conftest.$ac_objext
12994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12995 (eval $ac_compile) 2>conftest.er1
12996 ac_status=$?
12997 grep -v '^ *+' conftest.er1 >conftest.err
12998 rm -f conftest.er1
12999 cat conftest.err >&5
13000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13001 (exit $ac_status); } &&
13002 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13004 (eval $ac_try) 2>&5
13005 ac_status=$?
13006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13007 (exit $ac_status); }; } &&
13008 { ac_try='test -s conftest.$ac_objext'
13009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13010 (eval $ac_try) 2>&5
13011 ac_status=$?
13012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13013 (exit $ac_status); }; }; then
13014 ac_header_compiler=yes
13015 else
13016 echo "$as_me: failed program was:" >&5
13017 sed 's/^/| /' conftest.$ac_ext >&5
13018
13019 ac_header_compiler=no
13020 fi
13021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13022 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13023 echo "${ECHO_T}$ac_header_compiler" >&6
13024
13025 # Is the header present?
13026 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13027 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13028 cat >conftest.$ac_ext <<_ACEOF
13029 /* confdefs.h. */
13030 _ACEOF
13031 cat confdefs.h >>conftest.$ac_ext
13032 cat >>conftest.$ac_ext <<_ACEOF
13033 /* end confdefs.h. */
13034 #include <$ac_header>
13035 _ACEOF
13036 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13037 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13038 ac_status=$?
13039 grep -v '^ *+' conftest.er1 >conftest.err
13040 rm -f conftest.er1
13041 cat conftest.err >&5
13042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13043 (exit $ac_status); } >/dev/null; then
13044 if test -s conftest.err; then
13045 ac_cpp_err=$ac_c_preproc_warn_flag
13046 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13047 else
13048 ac_cpp_err=
13049 fi
13050 else
13051 ac_cpp_err=yes
13052 fi
13053 if test -z "$ac_cpp_err"; then
13054 ac_header_preproc=yes
13055 else
13056 echo "$as_me: failed program was:" >&5
13057 sed 's/^/| /' conftest.$ac_ext >&5
13058
13059 ac_header_preproc=no
13060 fi
13061 rm -f conftest.err conftest.$ac_ext
13062 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13063 echo "${ECHO_T}$ac_header_preproc" >&6
13064
13065 # So? What about this header?
13066 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13067 yes:no: )
13068 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13069 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13070 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13071 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13072 ac_header_preproc=yes
13073 ;;
13074 no:yes:* )
13075 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13076 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13077 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13078 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13079 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13080 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13081 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13082 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13083 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13084 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13085 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13086 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13087 (
13088 cat <<\_ASBOX
13089 ## ----------------------------------------- ##
13090 ## Report this to wx-dev@lists.wxwidgets.org ##
13091 ## ----------------------------------------- ##
13092 _ASBOX
13093 ) |
13094 sed "s/^/$as_me: WARNING: /" >&2
13095 ;;
13096 esac
13097 echo "$as_me:$LINENO: checking for $ac_header" >&5
13098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13100 echo $ECHO_N "(cached) $ECHO_C" >&6
13101 else
13102 eval "$as_ac_Header=\$ac_header_preproc"
13103 fi
13104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13105 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13106
13107 fi
13108 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13109 cat >>confdefs.h <<_ACEOF
13110 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13111 _ACEOF
13112
13113 fi
13114
13115 done
13116
13117
13118 for ac_header in unistd.h
13119 do
13120 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13121 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13122 echo "$as_me:$LINENO: checking for $ac_header" >&5
13123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13125 echo $ECHO_N "(cached) $ECHO_C" >&6
13126 fi
13127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13128 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13129 else
13130 # Is the header compilable?
13131 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13132 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13133 cat >conftest.$ac_ext <<_ACEOF
13134 /* confdefs.h. */
13135 _ACEOF
13136 cat confdefs.h >>conftest.$ac_ext
13137 cat >>conftest.$ac_ext <<_ACEOF
13138 /* end confdefs.h. */
13139 $ac_includes_default
13140 #include <$ac_header>
13141 _ACEOF
13142 rm -f conftest.$ac_objext
13143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13144 (eval $ac_compile) 2>conftest.er1
13145 ac_status=$?
13146 grep -v '^ *+' conftest.er1 >conftest.err
13147 rm -f conftest.er1
13148 cat conftest.err >&5
13149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13150 (exit $ac_status); } &&
13151 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13153 (eval $ac_try) 2>&5
13154 ac_status=$?
13155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13156 (exit $ac_status); }; } &&
13157 { ac_try='test -s conftest.$ac_objext'
13158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13159 (eval $ac_try) 2>&5
13160 ac_status=$?
13161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13162 (exit $ac_status); }; }; then
13163 ac_header_compiler=yes
13164 else
13165 echo "$as_me: failed program was:" >&5
13166 sed 's/^/| /' conftest.$ac_ext >&5
13167
13168 ac_header_compiler=no
13169 fi
13170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13171 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13172 echo "${ECHO_T}$ac_header_compiler" >&6
13173
13174 # Is the header present?
13175 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13176 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13177 cat >conftest.$ac_ext <<_ACEOF
13178 /* confdefs.h. */
13179 _ACEOF
13180 cat confdefs.h >>conftest.$ac_ext
13181 cat >>conftest.$ac_ext <<_ACEOF
13182 /* end confdefs.h. */
13183 #include <$ac_header>
13184 _ACEOF
13185 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13186 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13187 ac_status=$?
13188 grep -v '^ *+' conftest.er1 >conftest.err
13189 rm -f conftest.er1
13190 cat conftest.err >&5
13191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13192 (exit $ac_status); } >/dev/null; then
13193 if test -s conftest.err; then
13194 ac_cpp_err=$ac_c_preproc_warn_flag
13195 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13196 else
13197 ac_cpp_err=
13198 fi
13199 else
13200 ac_cpp_err=yes
13201 fi
13202 if test -z "$ac_cpp_err"; then
13203 ac_header_preproc=yes
13204 else
13205 echo "$as_me: failed program was:" >&5
13206 sed 's/^/| /' conftest.$ac_ext >&5
13207
13208 ac_header_preproc=no
13209 fi
13210 rm -f conftest.err conftest.$ac_ext
13211 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13212 echo "${ECHO_T}$ac_header_preproc" >&6
13213
13214 # So? What about this header?
13215 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13216 yes:no: )
13217 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13218 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13219 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13220 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13221 ac_header_preproc=yes
13222 ;;
13223 no:yes:* )
13224 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13225 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13226 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13227 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13228 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13229 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13230 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13231 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13232 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13233 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13234 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13235 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13236 (
13237 cat <<\_ASBOX
13238 ## ----------------------------------------- ##
13239 ## Report this to wx-dev@lists.wxwidgets.org ##
13240 ## ----------------------------------------- ##
13241 _ASBOX
13242 ) |
13243 sed "s/^/$as_me: WARNING: /" >&2
13244 ;;
13245 esac
13246 echo "$as_me:$LINENO: checking for $ac_header" >&5
13247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13249 echo $ECHO_N "(cached) $ECHO_C" >&6
13250 else
13251 eval "$as_ac_Header=\$ac_header_preproc"
13252 fi
13253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13254 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13255
13256 fi
13257 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13258 cat >>confdefs.h <<_ACEOF
13259 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13260 _ACEOF
13261
13262 fi
13263
13264 done
13265
13266
13267 for ac_header in wchar.h
13268 do
13269 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13270 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13271 echo "$as_me:$LINENO: checking for $ac_header" >&5
13272 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13274 echo $ECHO_N "(cached) $ECHO_C" >&6
13275 fi
13276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13277 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13278 else
13279 # Is the header compilable?
13280 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13281 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13282 cat >conftest.$ac_ext <<_ACEOF
13283 /* confdefs.h. */
13284 _ACEOF
13285 cat confdefs.h >>conftest.$ac_ext
13286 cat >>conftest.$ac_ext <<_ACEOF
13287 /* end confdefs.h. */
13288 $ac_includes_default
13289 #include <$ac_header>
13290 _ACEOF
13291 rm -f conftest.$ac_objext
13292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13293 (eval $ac_compile) 2>conftest.er1
13294 ac_status=$?
13295 grep -v '^ *+' conftest.er1 >conftest.err
13296 rm -f conftest.er1
13297 cat conftest.err >&5
13298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13299 (exit $ac_status); } &&
13300 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13302 (eval $ac_try) 2>&5
13303 ac_status=$?
13304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13305 (exit $ac_status); }; } &&
13306 { ac_try='test -s conftest.$ac_objext'
13307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13308 (eval $ac_try) 2>&5
13309 ac_status=$?
13310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13311 (exit $ac_status); }; }; then
13312 ac_header_compiler=yes
13313 else
13314 echo "$as_me: failed program was:" >&5
13315 sed 's/^/| /' conftest.$ac_ext >&5
13316
13317 ac_header_compiler=no
13318 fi
13319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13320 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13321 echo "${ECHO_T}$ac_header_compiler" >&6
13322
13323 # Is the header present?
13324 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13325 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13326 cat >conftest.$ac_ext <<_ACEOF
13327 /* confdefs.h. */
13328 _ACEOF
13329 cat confdefs.h >>conftest.$ac_ext
13330 cat >>conftest.$ac_ext <<_ACEOF
13331 /* end confdefs.h. */
13332 #include <$ac_header>
13333 _ACEOF
13334 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13335 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13336 ac_status=$?
13337 grep -v '^ *+' conftest.er1 >conftest.err
13338 rm -f conftest.er1
13339 cat conftest.err >&5
13340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13341 (exit $ac_status); } >/dev/null; then
13342 if test -s conftest.err; then
13343 ac_cpp_err=$ac_c_preproc_warn_flag
13344 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13345 else
13346 ac_cpp_err=
13347 fi
13348 else
13349 ac_cpp_err=yes
13350 fi
13351 if test -z "$ac_cpp_err"; then
13352 ac_header_preproc=yes
13353 else
13354 echo "$as_me: failed program was:" >&5
13355 sed 's/^/| /' conftest.$ac_ext >&5
13356
13357 ac_header_preproc=no
13358 fi
13359 rm -f conftest.err conftest.$ac_ext
13360 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13361 echo "${ECHO_T}$ac_header_preproc" >&6
13362
13363 # So? What about this header?
13364 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13365 yes:no: )
13366 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13367 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13368 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13369 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13370 ac_header_preproc=yes
13371 ;;
13372 no:yes:* )
13373 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13374 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13375 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13376 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13377 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13378 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13379 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13380 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13381 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13382 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13383 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13384 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13385 (
13386 cat <<\_ASBOX
13387 ## ----------------------------------------- ##
13388 ## Report this to wx-dev@lists.wxwidgets.org ##
13389 ## ----------------------------------------- ##
13390 _ASBOX
13391 ) |
13392 sed "s/^/$as_me: WARNING: /" >&2
13393 ;;
13394 esac
13395 echo "$as_me:$LINENO: checking for $ac_header" >&5
13396 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13397 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13398 echo $ECHO_N "(cached) $ECHO_C" >&6
13399 else
13400 eval "$as_ac_Header=\$ac_header_preproc"
13401 fi
13402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13403 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13404
13405 fi
13406 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13407 cat >>confdefs.h <<_ACEOF
13408 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13409 _ACEOF
13410
13411 fi
13412
13413 done
13414
13415
13416 if test "$ac_cv_header_wchar_h" != "yes"; then
13417
13418 for ac_header in wcstr.h
13419 do
13420 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13421 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13422 echo "$as_me:$LINENO: checking for $ac_header" >&5
13423 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13424 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13425 echo $ECHO_N "(cached) $ECHO_C" >&6
13426 fi
13427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13428 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13429 else
13430 # Is the header compilable?
13431 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13432 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13433 cat >conftest.$ac_ext <<_ACEOF
13434 /* confdefs.h. */
13435 _ACEOF
13436 cat confdefs.h >>conftest.$ac_ext
13437 cat >>conftest.$ac_ext <<_ACEOF
13438 /* end confdefs.h. */
13439 $ac_includes_default
13440 #include <$ac_header>
13441 _ACEOF
13442 rm -f conftest.$ac_objext
13443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13444 (eval $ac_compile) 2>conftest.er1
13445 ac_status=$?
13446 grep -v '^ *+' conftest.er1 >conftest.err
13447 rm -f conftest.er1
13448 cat conftest.err >&5
13449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13450 (exit $ac_status); } &&
13451 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13453 (eval $ac_try) 2>&5
13454 ac_status=$?
13455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13456 (exit $ac_status); }; } &&
13457 { ac_try='test -s conftest.$ac_objext'
13458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13459 (eval $ac_try) 2>&5
13460 ac_status=$?
13461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13462 (exit $ac_status); }; }; then
13463 ac_header_compiler=yes
13464 else
13465 echo "$as_me: failed program was:" >&5
13466 sed 's/^/| /' conftest.$ac_ext >&5
13467
13468 ac_header_compiler=no
13469 fi
13470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13471 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13472 echo "${ECHO_T}$ac_header_compiler" >&6
13473
13474 # Is the header present?
13475 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13476 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13477 cat >conftest.$ac_ext <<_ACEOF
13478 /* confdefs.h. */
13479 _ACEOF
13480 cat confdefs.h >>conftest.$ac_ext
13481 cat >>conftest.$ac_ext <<_ACEOF
13482 /* end confdefs.h. */
13483 #include <$ac_header>
13484 _ACEOF
13485 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13486 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13487 ac_status=$?
13488 grep -v '^ *+' conftest.er1 >conftest.err
13489 rm -f conftest.er1
13490 cat conftest.err >&5
13491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13492 (exit $ac_status); } >/dev/null; then
13493 if test -s conftest.err; then
13494 ac_cpp_err=$ac_c_preproc_warn_flag
13495 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13496 else
13497 ac_cpp_err=
13498 fi
13499 else
13500 ac_cpp_err=yes
13501 fi
13502 if test -z "$ac_cpp_err"; then
13503 ac_header_preproc=yes
13504 else
13505 echo "$as_me: failed program was:" >&5
13506 sed 's/^/| /' conftest.$ac_ext >&5
13507
13508 ac_header_preproc=no
13509 fi
13510 rm -f conftest.err conftest.$ac_ext
13511 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13512 echo "${ECHO_T}$ac_header_preproc" >&6
13513
13514 # So? What about this header?
13515 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13516 yes:no: )
13517 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13518 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13519 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13520 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13521 ac_header_preproc=yes
13522 ;;
13523 no:yes:* )
13524 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13525 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13526 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13527 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13528 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13529 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13530 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13531 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13532 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13533 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13534 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13535 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13536 (
13537 cat <<\_ASBOX
13538 ## ----------------------------------------- ##
13539 ## Report this to wx-dev@lists.wxwidgets.org ##
13540 ## ----------------------------------------- ##
13541 _ASBOX
13542 ) |
13543 sed "s/^/$as_me: WARNING: /" >&2
13544 ;;
13545 esac
13546 echo "$as_me:$LINENO: checking for $ac_header" >&5
13547 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13548 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13549 echo $ECHO_N "(cached) $ECHO_C" >&6
13550 else
13551 eval "$as_ac_Header=\$ac_header_preproc"
13552 fi
13553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13554 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13555
13556 fi
13557 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13558 cat >>confdefs.h <<_ACEOF
13559 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13560 _ACEOF
13561
13562 fi
13563
13564 done
13565
13566 fi
13567
13568
13569 for ac_header in fnmatch.h
13570 do
13571 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13572 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13573 echo "$as_me:$LINENO: checking for $ac_header" >&5
13574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13575 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13576 echo $ECHO_N "(cached) $ECHO_C" >&6
13577 fi
13578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13579 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13580 else
13581 # Is the header compilable?
13582 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13583 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13584 cat >conftest.$ac_ext <<_ACEOF
13585 /* confdefs.h. */
13586 _ACEOF
13587 cat confdefs.h >>conftest.$ac_ext
13588 cat >>conftest.$ac_ext <<_ACEOF
13589 /* end confdefs.h. */
13590 $ac_includes_default
13591 #include <$ac_header>
13592 _ACEOF
13593 rm -f conftest.$ac_objext
13594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13595 (eval $ac_compile) 2>conftest.er1
13596 ac_status=$?
13597 grep -v '^ *+' conftest.er1 >conftest.err
13598 rm -f conftest.er1
13599 cat conftest.err >&5
13600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13601 (exit $ac_status); } &&
13602 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13604 (eval $ac_try) 2>&5
13605 ac_status=$?
13606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13607 (exit $ac_status); }; } &&
13608 { ac_try='test -s conftest.$ac_objext'
13609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13610 (eval $ac_try) 2>&5
13611 ac_status=$?
13612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13613 (exit $ac_status); }; }; then
13614 ac_header_compiler=yes
13615 else
13616 echo "$as_me: failed program was:" >&5
13617 sed 's/^/| /' conftest.$ac_ext >&5
13618
13619 ac_header_compiler=no
13620 fi
13621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13622 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13623 echo "${ECHO_T}$ac_header_compiler" >&6
13624
13625 # Is the header present?
13626 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13627 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13628 cat >conftest.$ac_ext <<_ACEOF
13629 /* confdefs.h. */
13630 _ACEOF
13631 cat confdefs.h >>conftest.$ac_ext
13632 cat >>conftest.$ac_ext <<_ACEOF
13633 /* end confdefs.h. */
13634 #include <$ac_header>
13635 _ACEOF
13636 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13637 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13638 ac_status=$?
13639 grep -v '^ *+' conftest.er1 >conftest.err
13640 rm -f conftest.er1
13641 cat conftest.err >&5
13642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13643 (exit $ac_status); } >/dev/null; then
13644 if test -s conftest.err; then
13645 ac_cpp_err=$ac_c_preproc_warn_flag
13646 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13647 else
13648 ac_cpp_err=
13649 fi
13650 else
13651 ac_cpp_err=yes
13652 fi
13653 if test -z "$ac_cpp_err"; then
13654 ac_header_preproc=yes
13655 else
13656 echo "$as_me: failed program was:" >&5
13657 sed 's/^/| /' conftest.$ac_ext >&5
13658
13659 ac_header_preproc=no
13660 fi
13661 rm -f conftest.err conftest.$ac_ext
13662 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13663 echo "${ECHO_T}$ac_header_preproc" >&6
13664
13665 # So? What about this header?
13666 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13667 yes:no: )
13668 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13669 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13671 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13672 ac_header_preproc=yes
13673 ;;
13674 no:yes:* )
13675 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13676 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13677 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13678 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13679 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13680 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13681 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13682 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13683 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13684 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13685 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13686 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13687 (
13688 cat <<\_ASBOX
13689 ## ----------------------------------------- ##
13690 ## Report this to wx-dev@lists.wxwidgets.org ##
13691 ## ----------------------------------------- ##
13692 _ASBOX
13693 ) |
13694 sed "s/^/$as_me: WARNING: /" >&2
13695 ;;
13696 esac
13697 echo "$as_me:$LINENO: checking for $ac_header" >&5
13698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13700 echo $ECHO_N "(cached) $ECHO_C" >&6
13701 else
13702 eval "$as_ac_Header=\$ac_header_preproc"
13703 fi
13704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13705 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13706
13707 fi
13708 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13709 cat >>confdefs.h <<_ACEOF
13710 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13711 _ACEOF
13712
13713 fi
13714
13715 done
13716
13717
13718 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13719
13720 for ac_func in fnmatch
13721 do
13722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13723 echo "$as_me:$LINENO: checking for $ac_func" >&5
13724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13725 if eval "test \"\${$as_ac_var+set}\" = set"; then
13726 echo $ECHO_N "(cached) $ECHO_C" >&6
13727 else
13728 cat >conftest.$ac_ext <<_ACEOF
13729 /* confdefs.h. */
13730 _ACEOF
13731 cat confdefs.h >>conftest.$ac_ext
13732 cat >>conftest.$ac_ext <<_ACEOF
13733 /* end confdefs.h. */
13734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13736 #define $ac_func innocuous_$ac_func
13737
13738 /* System header to define __stub macros and hopefully few prototypes,
13739 which can conflict with char $ac_func (); below.
13740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13741 <limits.h> exists even on freestanding compilers. */
13742
13743 #ifdef __STDC__
13744 # include <limits.h>
13745 #else
13746 # include <assert.h>
13747 #endif
13748
13749 #undef $ac_func
13750
13751 /* Override any gcc2 internal prototype to avoid an error. */
13752 #ifdef __cplusplus
13753 extern "C"
13754 {
13755 #endif
13756 /* We use char because int might match the return type of a gcc2
13757 builtin and then its argument prototype would still apply. */
13758 char $ac_func ();
13759 /* The GNU C library defines this for functions which it implements
13760 to always fail with ENOSYS. Some functions are actually named
13761 something starting with __ and the normal name is an alias. */
13762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13763 choke me
13764 #else
13765 char (*f) () = $ac_func;
13766 #endif
13767 #ifdef __cplusplus
13768 }
13769 #endif
13770
13771 int
13772 main ()
13773 {
13774 return f != $ac_func;
13775 ;
13776 return 0;
13777 }
13778 _ACEOF
13779 rm -f conftest.$ac_objext conftest$ac_exeext
13780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13781 (eval $ac_link) 2>conftest.er1
13782 ac_status=$?
13783 grep -v '^ *+' conftest.er1 >conftest.err
13784 rm -f conftest.er1
13785 cat conftest.err >&5
13786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13787 (exit $ac_status); } &&
13788 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13790 (eval $ac_try) 2>&5
13791 ac_status=$?
13792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13793 (exit $ac_status); }; } &&
13794 { ac_try='test -s conftest$ac_exeext'
13795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13796 (eval $ac_try) 2>&5
13797 ac_status=$?
13798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13799 (exit $ac_status); }; }; then
13800 eval "$as_ac_var=yes"
13801 else
13802 echo "$as_me: failed program was:" >&5
13803 sed 's/^/| /' conftest.$ac_ext >&5
13804
13805 eval "$as_ac_var=no"
13806 fi
13807 rm -f conftest.err conftest.$ac_objext \
13808 conftest$ac_exeext conftest.$ac_ext
13809 fi
13810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13812 if test `eval echo '${'$as_ac_var'}'` = yes; then
13813 cat >>confdefs.h <<_ACEOF
13814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13815 _ACEOF
13816
13817 fi
13818 done
13819
13820 fi
13821
13822
13823 for ac_header in langinfo.h
13824 do
13825 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13826 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13827 echo "$as_me:$LINENO: checking for $ac_header" >&5
13828 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13829 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13830 echo $ECHO_N "(cached) $ECHO_C" >&6
13831 fi
13832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13833 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13834 else
13835 # Is the header compilable?
13836 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13837 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13838 cat >conftest.$ac_ext <<_ACEOF
13839 /* confdefs.h. */
13840 _ACEOF
13841 cat confdefs.h >>conftest.$ac_ext
13842 cat >>conftest.$ac_ext <<_ACEOF
13843 /* end confdefs.h. */
13844 $ac_includes_default
13845 #include <$ac_header>
13846 _ACEOF
13847 rm -f conftest.$ac_objext
13848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13849 (eval $ac_compile) 2>conftest.er1
13850 ac_status=$?
13851 grep -v '^ *+' conftest.er1 >conftest.err
13852 rm -f conftest.er1
13853 cat conftest.err >&5
13854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13855 (exit $ac_status); } &&
13856 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13858 (eval $ac_try) 2>&5
13859 ac_status=$?
13860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13861 (exit $ac_status); }; } &&
13862 { ac_try='test -s conftest.$ac_objext'
13863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13864 (eval $ac_try) 2>&5
13865 ac_status=$?
13866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13867 (exit $ac_status); }; }; then
13868 ac_header_compiler=yes
13869 else
13870 echo "$as_me: failed program was:" >&5
13871 sed 's/^/| /' conftest.$ac_ext >&5
13872
13873 ac_header_compiler=no
13874 fi
13875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13876 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13877 echo "${ECHO_T}$ac_header_compiler" >&6
13878
13879 # Is the header present?
13880 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13881 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13882 cat >conftest.$ac_ext <<_ACEOF
13883 /* confdefs.h. */
13884 _ACEOF
13885 cat confdefs.h >>conftest.$ac_ext
13886 cat >>conftest.$ac_ext <<_ACEOF
13887 /* end confdefs.h. */
13888 #include <$ac_header>
13889 _ACEOF
13890 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13891 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13892 ac_status=$?
13893 grep -v '^ *+' conftest.er1 >conftest.err
13894 rm -f conftest.er1
13895 cat conftest.err >&5
13896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13897 (exit $ac_status); } >/dev/null; then
13898 if test -s conftest.err; then
13899 ac_cpp_err=$ac_c_preproc_warn_flag
13900 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13901 else
13902 ac_cpp_err=
13903 fi
13904 else
13905 ac_cpp_err=yes
13906 fi
13907 if test -z "$ac_cpp_err"; then
13908 ac_header_preproc=yes
13909 else
13910 echo "$as_me: failed program was:" >&5
13911 sed 's/^/| /' conftest.$ac_ext >&5
13912
13913 ac_header_preproc=no
13914 fi
13915 rm -f conftest.err conftest.$ac_ext
13916 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13917 echo "${ECHO_T}$ac_header_preproc" >&6
13918
13919 # So? What about this header?
13920 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13921 yes:no: )
13922 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13923 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13924 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13925 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13926 ac_header_preproc=yes
13927 ;;
13928 no:yes:* )
13929 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13930 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13931 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13932 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13933 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13934 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13935 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13936 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13937 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13938 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13939 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13940 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13941 (
13942 cat <<\_ASBOX
13943 ## ----------------------------------------- ##
13944 ## Report this to wx-dev@lists.wxwidgets.org ##
13945 ## ----------------------------------------- ##
13946 _ASBOX
13947 ) |
13948 sed "s/^/$as_me: WARNING: /" >&2
13949 ;;
13950 esac
13951 echo "$as_me:$LINENO: checking for $ac_header" >&5
13952 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13954 echo $ECHO_N "(cached) $ECHO_C" >&6
13955 else
13956 eval "$as_ac_Header=\$ac_header_preproc"
13957 fi
13958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13959 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13960
13961 fi
13962 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13963 cat >>confdefs.h <<_ACEOF
13964 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13965 _ACEOF
13966
13967 fi
13968
13969 done
13970
13971
13972 case "${host}" in
13973 *-pc-os2_emx | *-pc-os2-emx )
13974 if test $ac_cv_header_langinfo_h = "yes"; then
13975 LIBS="$LIBS -lintl"
13976 fi
13977 ;;
13978 esac
13979
13980 if test "$wxUSE_GUI" = "yes"; then
13981 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13982
13983 for ac_header in X11/Xlib.h
13984 do
13985 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13987 echo "$as_me:$LINENO: checking for $ac_header" >&5
13988 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13989 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13990 echo $ECHO_N "(cached) $ECHO_C" >&6
13991 fi
13992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13993 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13994 else
13995 # Is the header compilable?
13996 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13997 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13998 cat >conftest.$ac_ext <<_ACEOF
13999 /* confdefs.h. */
14000 _ACEOF
14001 cat confdefs.h >>conftest.$ac_ext
14002 cat >>conftest.$ac_ext <<_ACEOF
14003 /* end confdefs.h. */
14004 $ac_includes_default
14005 #include <$ac_header>
14006 _ACEOF
14007 rm -f conftest.$ac_objext
14008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14009 (eval $ac_compile) 2>conftest.er1
14010 ac_status=$?
14011 grep -v '^ *+' conftest.er1 >conftest.err
14012 rm -f conftest.er1
14013 cat conftest.err >&5
14014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14015 (exit $ac_status); } &&
14016 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14018 (eval $ac_try) 2>&5
14019 ac_status=$?
14020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14021 (exit $ac_status); }; } &&
14022 { ac_try='test -s conftest.$ac_objext'
14023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14024 (eval $ac_try) 2>&5
14025 ac_status=$?
14026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14027 (exit $ac_status); }; }; then
14028 ac_header_compiler=yes
14029 else
14030 echo "$as_me: failed program was:" >&5
14031 sed 's/^/| /' conftest.$ac_ext >&5
14032
14033 ac_header_compiler=no
14034 fi
14035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14036 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14037 echo "${ECHO_T}$ac_header_compiler" >&6
14038
14039 # Is the header present?
14040 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14041 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14042 cat >conftest.$ac_ext <<_ACEOF
14043 /* confdefs.h. */
14044 _ACEOF
14045 cat confdefs.h >>conftest.$ac_ext
14046 cat >>conftest.$ac_ext <<_ACEOF
14047 /* end confdefs.h. */
14048 #include <$ac_header>
14049 _ACEOF
14050 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14051 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14052 ac_status=$?
14053 grep -v '^ *+' conftest.er1 >conftest.err
14054 rm -f conftest.er1
14055 cat conftest.err >&5
14056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14057 (exit $ac_status); } >/dev/null; then
14058 if test -s conftest.err; then
14059 ac_cpp_err=$ac_c_preproc_warn_flag
14060 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14061 else
14062 ac_cpp_err=
14063 fi
14064 else
14065 ac_cpp_err=yes
14066 fi
14067 if test -z "$ac_cpp_err"; then
14068 ac_header_preproc=yes
14069 else
14070 echo "$as_me: failed program was:" >&5
14071 sed 's/^/| /' conftest.$ac_ext >&5
14072
14073 ac_header_preproc=no
14074 fi
14075 rm -f conftest.err conftest.$ac_ext
14076 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14077 echo "${ECHO_T}$ac_header_preproc" >&6
14078
14079 # So? What about this header?
14080 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14081 yes:no: )
14082 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14083 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14084 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14085 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14086 ac_header_preproc=yes
14087 ;;
14088 no:yes:* )
14089 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14090 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14091 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14092 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14093 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14094 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14095 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14096 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14097 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14098 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14099 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14100 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14101 (
14102 cat <<\_ASBOX
14103 ## ----------------------------------------- ##
14104 ## Report this to wx-dev@lists.wxwidgets.org ##
14105 ## ----------------------------------------- ##
14106 _ASBOX
14107 ) |
14108 sed "s/^/$as_me: WARNING: /" >&2
14109 ;;
14110 esac
14111 echo "$as_me:$LINENO: checking for $ac_header" >&5
14112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14114 echo $ECHO_N "(cached) $ECHO_C" >&6
14115 else
14116 eval "$as_ac_Header=\$ac_header_preproc"
14117 fi
14118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14119 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14120
14121 fi
14122 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14123 cat >>confdefs.h <<_ACEOF
14124 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14125 _ACEOF
14126
14127 fi
14128
14129 done
14130
14131
14132 for ac_header in X11/XKBlib.h
14133 do
14134 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14135 echo "$as_me:$LINENO: checking for $ac_header" >&5
14136 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14137 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14138 echo $ECHO_N "(cached) $ECHO_C" >&6
14139 else
14140 cat >conftest.$ac_ext <<_ACEOF
14141 /* confdefs.h. */
14142 _ACEOF
14143 cat confdefs.h >>conftest.$ac_ext
14144 cat >>conftest.$ac_ext <<_ACEOF
14145 /* end confdefs.h. */
14146
14147 #if HAVE_X11_XLIB_H
14148 #include <X11/Xlib.h>
14149 #endif
14150
14151
14152 #include <$ac_header>
14153 _ACEOF
14154 rm -f conftest.$ac_objext
14155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14156 (eval $ac_compile) 2>conftest.er1
14157 ac_status=$?
14158 grep -v '^ *+' conftest.er1 >conftest.err
14159 rm -f conftest.er1
14160 cat conftest.err >&5
14161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14162 (exit $ac_status); } &&
14163 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14165 (eval $ac_try) 2>&5
14166 ac_status=$?
14167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14168 (exit $ac_status); }; } &&
14169 { ac_try='test -s conftest.$ac_objext'
14170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14171 (eval $ac_try) 2>&5
14172 ac_status=$?
14173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14174 (exit $ac_status); }; }; then
14175 eval "$as_ac_Header=yes"
14176 else
14177 echo "$as_me: failed program was:" >&5
14178 sed 's/^/| /' conftest.$ac_ext >&5
14179
14180 eval "$as_ac_Header=no"
14181 fi
14182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14183 fi
14184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14185 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14186 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14187 cat >>confdefs.h <<_ACEOF
14188 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14189 _ACEOF
14190
14191 fi
14192
14193 done
14194
14195 fi
14196 fi
14197
14198
14199 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14200 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14201 if test "${ac_cv_c_const+set}" = set; then
14202 echo $ECHO_N "(cached) $ECHO_C" >&6
14203 else
14204 cat >conftest.$ac_ext <<_ACEOF
14205 /* confdefs.h. */
14206 _ACEOF
14207 cat confdefs.h >>conftest.$ac_ext
14208 cat >>conftest.$ac_ext <<_ACEOF
14209 /* end confdefs.h. */
14210
14211 int
14212 main ()
14213 {
14214 /* FIXME: Include the comments suggested by Paul. */
14215 #ifndef __cplusplus
14216 /* Ultrix mips cc rejects this. */
14217 typedef int charset[2];
14218 const charset x;
14219 /* SunOS 4.1.1 cc rejects this. */
14220 char const *const *ccp;
14221 char **p;
14222 /* NEC SVR4.0.2 mips cc rejects this. */
14223 struct point {int x, y;};
14224 static struct point const zero = {0,0};
14225 /* AIX XL C 1.02.0.0 rejects this.
14226 It does not let you subtract one const X* pointer from another in
14227 an arm of an if-expression whose if-part is not a constant
14228 expression */
14229 const char *g = "string";
14230 ccp = &g + (g ? g-g : 0);
14231 /* HPUX 7.0 cc rejects these. */
14232 ++ccp;
14233 p = (char**) ccp;
14234 ccp = (char const *const *) p;
14235 { /* SCO 3.2v4 cc rejects this. */
14236 char *t;
14237 char const *s = 0 ? (char *) 0 : (char const *) 0;
14238
14239 *t++ = 0;
14240 }
14241 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14242 int x[] = {25, 17};
14243 const int *foo = &x[0];
14244 ++foo;
14245 }
14246 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14247 typedef const int *iptr;
14248 iptr p = 0;
14249 ++p;
14250 }
14251 { /* AIX XL C 1.02.0.0 rejects this saying
14252 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14253 struct s { int j; const int *ap[3]; };
14254 struct s *b; b->j = 5;
14255 }
14256 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14257 const int foo = 10;
14258 }
14259 #endif
14260
14261 ;
14262 return 0;
14263 }
14264 _ACEOF
14265 rm -f conftest.$ac_objext
14266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14267 (eval $ac_compile) 2>conftest.er1
14268 ac_status=$?
14269 grep -v '^ *+' conftest.er1 >conftest.err
14270 rm -f conftest.er1
14271 cat conftest.err >&5
14272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14273 (exit $ac_status); } &&
14274 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14276 (eval $ac_try) 2>&5
14277 ac_status=$?
14278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14279 (exit $ac_status); }; } &&
14280 { ac_try='test -s conftest.$ac_objext'
14281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14282 (eval $ac_try) 2>&5
14283 ac_status=$?
14284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285 (exit $ac_status); }; }; then
14286 ac_cv_c_const=yes
14287 else
14288 echo "$as_me: failed program was:" >&5
14289 sed 's/^/| /' conftest.$ac_ext >&5
14290
14291 ac_cv_c_const=no
14292 fi
14293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14294 fi
14295 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14296 echo "${ECHO_T}$ac_cv_c_const" >&6
14297 if test $ac_cv_c_const = no; then
14298
14299 cat >>confdefs.h <<\_ACEOF
14300 #define const
14301 _ACEOF
14302
14303 fi
14304
14305 echo "$as_me:$LINENO: checking for inline" >&5
14306 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14307 if test "${ac_cv_c_inline+set}" = set; then
14308 echo $ECHO_N "(cached) $ECHO_C" >&6
14309 else
14310 ac_cv_c_inline=no
14311 for ac_kw in inline __inline__ __inline; do
14312 cat >conftest.$ac_ext <<_ACEOF
14313 /* confdefs.h. */
14314 _ACEOF
14315 cat confdefs.h >>conftest.$ac_ext
14316 cat >>conftest.$ac_ext <<_ACEOF
14317 /* end confdefs.h. */
14318 #ifndef __cplusplus
14319 typedef int foo_t;
14320 static $ac_kw foo_t static_foo () {return 0; }
14321 $ac_kw foo_t foo () {return 0; }
14322 #endif
14323
14324 _ACEOF
14325 rm -f conftest.$ac_objext
14326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14327 (eval $ac_compile) 2>conftest.er1
14328 ac_status=$?
14329 grep -v '^ *+' conftest.er1 >conftest.err
14330 rm -f conftest.er1
14331 cat conftest.err >&5
14332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14333 (exit $ac_status); } &&
14334 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14336 (eval $ac_try) 2>&5
14337 ac_status=$?
14338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14339 (exit $ac_status); }; } &&
14340 { ac_try='test -s conftest.$ac_objext'
14341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14342 (eval $ac_try) 2>&5
14343 ac_status=$?
14344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14345 (exit $ac_status); }; }; then
14346 ac_cv_c_inline=$ac_kw; break
14347 else
14348 echo "$as_me: failed program was:" >&5
14349 sed 's/^/| /' conftest.$ac_ext >&5
14350
14351 fi
14352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14353 done
14354
14355 fi
14356 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14357 echo "${ECHO_T}$ac_cv_c_inline" >&6
14358
14359
14360 case $ac_cv_c_inline in
14361 inline | yes) ;;
14362 *)
14363 case $ac_cv_c_inline in
14364 no) ac_val=;;
14365 *) ac_val=$ac_cv_c_inline;;
14366 esac
14367 cat >>confdefs.h <<_ACEOF
14368 #ifndef __cplusplus
14369 #define inline $ac_val
14370 #endif
14371 _ACEOF
14372 ;;
14373 esac
14374
14375
14376 echo "$as_me:$LINENO: checking for char" >&5
14377 echo $ECHO_N "checking for char... $ECHO_C" >&6
14378 if test "${ac_cv_type_char+set}" = set; then
14379 echo $ECHO_N "(cached) $ECHO_C" >&6
14380 else
14381 cat >conftest.$ac_ext <<_ACEOF
14382 /* confdefs.h. */
14383 _ACEOF
14384 cat confdefs.h >>conftest.$ac_ext
14385 cat >>conftest.$ac_ext <<_ACEOF
14386 /* end confdefs.h. */
14387 $ac_includes_default
14388 int
14389 main ()
14390 {
14391 if ((char *) 0)
14392 return 0;
14393 if (sizeof (char))
14394 return 0;
14395 ;
14396 return 0;
14397 }
14398 _ACEOF
14399 rm -f conftest.$ac_objext
14400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14401 (eval $ac_compile) 2>conftest.er1
14402 ac_status=$?
14403 grep -v '^ *+' conftest.er1 >conftest.err
14404 rm -f conftest.er1
14405 cat conftest.err >&5
14406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14407 (exit $ac_status); } &&
14408 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14410 (eval $ac_try) 2>&5
14411 ac_status=$?
14412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14413 (exit $ac_status); }; } &&
14414 { ac_try='test -s conftest.$ac_objext'
14415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14416 (eval $ac_try) 2>&5
14417 ac_status=$?
14418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14419 (exit $ac_status); }; }; then
14420 ac_cv_type_char=yes
14421 else
14422 echo "$as_me: failed program was:" >&5
14423 sed 's/^/| /' conftest.$ac_ext >&5
14424
14425 ac_cv_type_char=no
14426 fi
14427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14428 fi
14429 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14430 echo "${ECHO_T}$ac_cv_type_char" >&6
14431
14432 echo "$as_me:$LINENO: checking size of char" >&5
14433 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14434 if test "${ac_cv_sizeof_char+set}" = set; then
14435 echo $ECHO_N "(cached) $ECHO_C" >&6
14436 else
14437 if test "$ac_cv_type_char" = yes; then
14438 # The cast to unsigned long works around a bug in the HP C Compiler
14439 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14440 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14441 # This bug is HP SR number 8606223364.
14442 if test "$cross_compiling" = yes; then
14443 # Depending upon the size, compute the lo and hi bounds.
14444 cat >conftest.$ac_ext <<_ACEOF
14445 /* confdefs.h. */
14446 _ACEOF
14447 cat confdefs.h >>conftest.$ac_ext
14448 cat >>conftest.$ac_ext <<_ACEOF
14449 /* end confdefs.h. */
14450 $ac_includes_default
14451 int
14452 main ()
14453 {
14454 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14455 test_array [0] = 0
14456
14457 ;
14458 return 0;
14459 }
14460 _ACEOF
14461 rm -f conftest.$ac_objext
14462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14463 (eval $ac_compile) 2>conftest.er1
14464 ac_status=$?
14465 grep -v '^ *+' conftest.er1 >conftest.err
14466 rm -f conftest.er1
14467 cat conftest.err >&5
14468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14469 (exit $ac_status); } &&
14470 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14472 (eval $ac_try) 2>&5
14473 ac_status=$?
14474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475 (exit $ac_status); }; } &&
14476 { ac_try='test -s conftest.$ac_objext'
14477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14478 (eval $ac_try) 2>&5
14479 ac_status=$?
14480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14481 (exit $ac_status); }; }; then
14482 ac_lo=0 ac_mid=0
14483 while :; do
14484 cat >conftest.$ac_ext <<_ACEOF
14485 /* confdefs.h. */
14486 _ACEOF
14487 cat confdefs.h >>conftest.$ac_ext
14488 cat >>conftest.$ac_ext <<_ACEOF
14489 /* end confdefs.h. */
14490 $ac_includes_default
14491 int
14492 main ()
14493 {
14494 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14495 test_array [0] = 0
14496
14497 ;
14498 return 0;
14499 }
14500 _ACEOF
14501 rm -f conftest.$ac_objext
14502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14503 (eval $ac_compile) 2>conftest.er1
14504 ac_status=$?
14505 grep -v '^ *+' conftest.er1 >conftest.err
14506 rm -f conftest.er1
14507 cat conftest.err >&5
14508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14509 (exit $ac_status); } &&
14510 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14512 (eval $ac_try) 2>&5
14513 ac_status=$?
14514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14515 (exit $ac_status); }; } &&
14516 { ac_try='test -s conftest.$ac_objext'
14517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14518 (eval $ac_try) 2>&5
14519 ac_status=$?
14520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14521 (exit $ac_status); }; }; then
14522 ac_hi=$ac_mid; break
14523 else
14524 echo "$as_me: failed program was:" >&5
14525 sed 's/^/| /' conftest.$ac_ext >&5
14526
14527 ac_lo=`expr $ac_mid + 1`
14528 if test $ac_lo -le $ac_mid; then
14529 ac_lo= ac_hi=
14530 break
14531 fi
14532 ac_mid=`expr 2 '*' $ac_mid + 1`
14533 fi
14534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14535 done
14536 else
14537 echo "$as_me: failed program was:" >&5
14538 sed 's/^/| /' conftest.$ac_ext >&5
14539
14540 cat >conftest.$ac_ext <<_ACEOF
14541 /* confdefs.h. */
14542 _ACEOF
14543 cat confdefs.h >>conftest.$ac_ext
14544 cat >>conftest.$ac_ext <<_ACEOF
14545 /* end confdefs.h. */
14546 $ac_includes_default
14547 int
14548 main ()
14549 {
14550 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14551 test_array [0] = 0
14552
14553 ;
14554 return 0;
14555 }
14556 _ACEOF
14557 rm -f conftest.$ac_objext
14558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14559 (eval $ac_compile) 2>conftest.er1
14560 ac_status=$?
14561 grep -v '^ *+' conftest.er1 >conftest.err
14562 rm -f conftest.er1
14563 cat conftest.err >&5
14564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14565 (exit $ac_status); } &&
14566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14568 (eval $ac_try) 2>&5
14569 ac_status=$?
14570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14571 (exit $ac_status); }; } &&
14572 { ac_try='test -s conftest.$ac_objext'
14573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14574 (eval $ac_try) 2>&5
14575 ac_status=$?
14576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14577 (exit $ac_status); }; }; then
14578 ac_hi=-1 ac_mid=-1
14579 while :; do
14580 cat >conftest.$ac_ext <<_ACEOF
14581 /* confdefs.h. */
14582 _ACEOF
14583 cat confdefs.h >>conftest.$ac_ext
14584 cat >>conftest.$ac_ext <<_ACEOF
14585 /* end confdefs.h. */
14586 $ac_includes_default
14587 int
14588 main ()
14589 {
14590 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14591 test_array [0] = 0
14592
14593 ;
14594 return 0;
14595 }
14596 _ACEOF
14597 rm -f conftest.$ac_objext
14598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14599 (eval $ac_compile) 2>conftest.er1
14600 ac_status=$?
14601 grep -v '^ *+' conftest.er1 >conftest.err
14602 rm -f conftest.er1
14603 cat conftest.err >&5
14604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14605 (exit $ac_status); } &&
14606 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14608 (eval $ac_try) 2>&5
14609 ac_status=$?
14610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14611 (exit $ac_status); }; } &&
14612 { ac_try='test -s conftest.$ac_objext'
14613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14614 (eval $ac_try) 2>&5
14615 ac_status=$?
14616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14617 (exit $ac_status); }; }; then
14618 ac_lo=$ac_mid; break
14619 else
14620 echo "$as_me: failed program was:" >&5
14621 sed 's/^/| /' conftest.$ac_ext >&5
14622
14623 ac_hi=`expr '(' $ac_mid ')' - 1`
14624 if test $ac_mid -le $ac_hi; then
14625 ac_lo= ac_hi=
14626 break
14627 fi
14628 ac_mid=`expr 2 '*' $ac_mid`
14629 fi
14630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14631 done
14632 else
14633 echo "$as_me: failed program was:" >&5
14634 sed 's/^/| /' conftest.$ac_ext >&5
14635
14636 ac_lo= ac_hi=
14637 fi
14638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14639 fi
14640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14641 # Binary search between lo and hi bounds.
14642 while test "x$ac_lo" != "x$ac_hi"; do
14643 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14644 cat >conftest.$ac_ext <<_ACEOF
14645 /* confdefs.h. */
14646 _ACEOF
14647 cat confdefs.h >>conftest.$ac_ext
14648 cat >>conftest.$ac_ext <<_ACEOF
14649 /* end confdefs.h. */
14650 $ac_includes_default
14651 int
14652 main ()
14653 {
14654 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14655 test_array [0] = 0
14656
14657 ;
14658 return 0;
14659 }
14660 _ACEOF
14661 rm -f conftest.$ac_objext
14662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14663 (eval $ac_compile) 2>conftest.er1
14664 ac_status=$?
14665 grep -v '^ *+' conftest.er1 >conftest.err
14666 rm -f conftest.er1
14667 cat conftest.err >&5
14668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14669 (exit $ac_status); } &&
14670 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14672 (eval $ac_try) 2>&5
14673 ac_status=$?
14674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14675 (exit $ac_status); }; } &&
14676 { ac_try='test -s conftest.$ac_objext'
14677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14678 (eval $ac_try) 2>&5
14679 ac_status=$?
14680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14681 (exit $ac_status); }; }; then
14682 ac_hi=$ac_mid
14683 else
14684 echo "$as_me: failed program was:" >&5
14685 sed 's/^/| /' conftest.$ac_ext >&5
14686
14687 ac_lo=`expr '(' $ac_mid ')' + 1`
14688 fi
14689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14690 done
14691 case $ac_lo in
14692 ?*) ac_cv_sizeof_char=$ac_lo;;
14693 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14694 See \`config.log' for more details." >&5
14695 echo "$as_me: error: cannot compute sizeof (char), 77
14696 See \`config.log' for more details." >&2;}
14697 { (exit 1); exit 1; }; } ;;
14698 esac
14699 else
14700 if test "$cross_compiling" = yes; then
14701 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
14702 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
14703 { (exit 1); exit 1; }; }
14704 else
14705 cat >conftest.$ac_ext <<_ACEOF
14706 /* confdefs.h. */
14707 _ACEOF
14708 cat confdefs.h >>conftest.$ac_ext
14709 cat >>conftest.$ac_ext <<_ACEOF
14710 /* end confdefs.h. */
14711 $ac_includes_default
14712 long longval () { return (long) (sizeof (char)); }
14713 unsigned long ulongval () { return (long) (sizeof (char)); }
14714 #include <stdio.h>
14715 #include <stdlib.h>
14716 int
14717 main ()
14718 {
14719
14720 FILE *f = fopen ("conftest.val", "w");
14721 if (! f)
14722 exit (1);
14723 if (((long) (sizeof (char))) < 0)
14724 {
14725 long i = longval ();
14726 if (i != ((long) (sizeof (char))))
14727 exit (1);
14728 fprintf (f, "%ld\n", i);
14729 }
14730 else
14731 {
14732 unsigned long i = ulongval ();
14733 if (i != ((long) (sizeof (char))))
14734 exit (1);
14735 fprintf (f, "%lu\n", i);
14736 }
14737 exit (ferror (f) || fclose (f) != 0);
14738
14739 ;
14740 return 0;
14741 }
14742 _ACEOF
14743 rm -f conftest$ac_exeext
14744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14745 (eval $ac_link) 2>&5
14746 ac_status=$?
14747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14748 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14750 (eval $ac_try) 2>&5
14751 ac_status=$?
14752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14753 (exit $ac_status); }; }; then
14754 ac_cv_sizeof_char=`cat conftest.val`
14755 else
14756 echo "$as_me: program exited with status $ac_status" >&5
14757 echo "$as_me: failed program was:" >&5
14758 sed 's/^/| /' conftest.$ac_ext >&5
14759
14760 ( exit $ac_status )
14761 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14762 See \`config.log' for more details." >&5
14763 echo "$as_me: error: cannot compute sizeof (char), 77
14764 See \`config.log' for more details." >&2;}
14765 { (exit 1); exit 1; }; }
14766 fi
14767 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14768 fi
14769 fi
14770 rm -f conftest.val
14771 else
14772 ac_cv_sizeof_char=0
14773 fi
14774 fi
14775 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14776 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14777 cat >>confdefs.h <<_ACEOF
14778 #define SIZEOF_CHAR $ac_cv_sizeof_char
14779 _ACEOF
14780
14781
14782 echo "$as_me:$LINENO: checking for short" >&5
14783 echo $ECHO_N "checking for short... $ECHO_C" >&6
14784 if test "${ac_cv_type_short+set}" = set; then
14785 echo $ECHO_N "(cached) $ECHO_C" >&6
14786 else
14787 cat >conftest.$ac_ext <<_ACEOF
14788 /* confdefs.h. */
14789 _ACEOF
14790 cat confdefs.h >>conftest.$ac_ext
14791 cat >>conftest.$ac_ext <<_ACEOF
14792 /* end confdefs.h. */
14793 $ac_includes_default
14794 int
14795 main ()
14796 {
14797 if ((short *) 0)
14798 return 0;
14799 if (sizeof (short))
14800 return 0;
14801 ;
14802 return 0;
14803 }
14804 _ACEOF
14805 rm -f conftest.$ac_objext
14806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14807 (eval $ac_compile) 2>conftest.er1
14808 ac_status=$?
14809 grep -v '^ *+' conftest.er1 >conftest.err
14810 rm -f conftest.er1
14811 cat conftest.err >&5
14812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813 (exit $ac_status); } &&
14814 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14816 (eval $ac_try) 2>&5
14817 ac_status=$?
14818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14819 (exit $ac_status); }; } &&
14820 { ac_try='test -s conftest.$ac_objext'
14821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14822 (eval $ac_try) 2>&5
14823 ac_status=$?
14824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14825 (exit $ac_status); }; }; then
14826 ac_cv_type_short=yes
14827 else
14828 echo "$as_me: failed program was:" >&5
14829 sed 's/^/| /' conftest.$ac_ext >&5
14830
14831 ac_cv_type_short=no
14832 fi
14833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14834 fi
14835 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14836 echo "${ECHO_T}$ac_cv_type_short" >&6
14837
14838 echo "$as_me:$LINENO: checking size of short" >&5
14839 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14840 if test "${ac_cv_sizeof_short+set}" = set; then
14841 echo $ECHO_N "(cached) $ECHO_C" >&6
14842 else
14843 if test "$ac_cv_type_short" = yes; then
14844 # The cast to unsigned long works around a bug in the HP C Compiler
14845 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14846 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14847 # This bug is HP SR number 8606223364.
14848 if test "$cross_compiling" = yes; then
14849 # Depending upon the size, compute the lo and hi bounds.
14850 cat >conftest.$ac_ext <<_ACEOF
14851 /* confdefs.h. */
14852 _ACEOF
14853 cat confdefs.h >>conftest.$ac_ext
14854 cat >>conftest.$ac_ext <<_ACEOF
14855 /* end confdefs.h. */
14856 $ac_includes_default
14857 int
14858 main ()
14859 {
14860 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14861 test_array [0] = 0
14862
14863 ;
14864 return 0;
14865 }
14866 _ACEOF
14867 rm -f conftest.$ac_objext
14868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14869 (eval $ac_compile) 2>conftest.er1
14870 ac_status=$?
14871 grep -v '^ *+' conftest.er1 >conftest.err
14872 rm -f conftest.er1
14873 cat conftest.err >&5
14874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14875 (exit $ac_status); } &&
14876 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14878 (eval $ac_try) 2>&5
14879 ac_status=$?
14880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14881 (exit $ac_status); }; } &&
14882 { ac_try='test -s conftest.$ac_objext'
14883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14884 (eval $ac_try) 2>&5
14885 ac_status=$?
14886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14887 (exit $ac_status); }; }; then
14888 ac_lo=0 ac_mid=0
14889 while :; do
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 int
14898 main ()
14899 {
14900 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14901 test_array [0] = 0
14902
14903 ;
14904 return 0;
14905 }
14906 _ACEOF
14907 rm -f conftest.$ac_objext
14908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14909 (eval $ac_compile) 2>conftest.er1
14910 ac_status=$?
14911 grep -v '^ *+' conftest.er1 >conftest.err
14912 rm -f conftest.er1
14913 cat conftest.err >&5
14914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14915 (exit $ac_status); } &&
14916 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14918 (eval $ac_try) 2>&5
14919 ac_status=$?
14920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14921 (exit $ac_status); }; } &&
14922 { ac_try='test -s conftest.$ac_objext'
14923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14924 (eval $ac_try) 2>&5
14925 ac_status=$?
14926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14927 (exit $ac_status); }; }; then
14928 ac_hi=$ac_mid; break
14929 else
14930 echo "$as_me: failed program was:" >&5
14931 sed 's/^/| /' conftest.$ac_ext >&5
14932
14933 ac_lo=`expr $ac_mid + 1`
14934 if test $ac_lo -le $ac_mid; then
14935 ac_lo= ac_hi=
14936 break
14937 fi
14938 ac_mid=`expr 2 '*' $ac_mid + 1`
14939 fi
14940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14941 done
14942 else
14943 echo "$as_me: failed program was:" >&5
14944 sed 's/^/| /' conftest.$ac_ext >&5
14945
14946 cat >conftest.$ac_ext <<_ACEOF
14947 /* confdefs.h. */
14948 _ACEOF
14949 cat confdefs.h >>conftest.$ac_ext
14950 cat >>conftest.$ac_ext <<_ACEOF
14951 /* end confdefs.h. */
14952 $ac_includes_default
14953 int
14954 main ()
14955 {
14956 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14957 test_array [0] = 0
14958
14959 ;
14960 return 0;
14961 }
14962 _ACEOF
14963 rm -f conftest.$ac_objext
14964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14965 (eval $ac_compile) 2>conftest.er1
14966 ac_status=$?
14967 grep -v '^ *+' conftest.er1 >conftest.err
14968 rm -f conftest.er1
14969 cat conftest.err >&5
14970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14971 (exit $ac_status); } &&
14972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14974 (eval $ac_try) 2>&5
14975 ac_status=$?
14976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14977 (exit $ac_status); }; } &&
14978 { ac_try='test -s conftest.$ac_objext'
14979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14980 (eval $ac_try) 2>&5
14981 ac_status=$?
14982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14983 (exit $ac_status); }; }; then
14984 ac_hi=-1 ac_mid=-1
14985 while :; do
14986 cat >conftest.$ac_ext <<_ACEOF
14987 /* confdefs.h. */
14988 _ACEOF
14989 cat confdefs.h >>conftest.$ac_ext
14990 cat >>conftest.$ac_ext <<_ACEOF
14991 /* end confdefs.h. */
14992 $ac_includes_default
14993 int
14994 main ()
14995 {
14996 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14997 test_array [0] = 0
14998
14999 ;
15000 return 0;
15001 }
15002 _ACEOF
15003 rm -f conftest.$ac_objext
15004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15005 (eval $ac_compile) 2>conftest.er1
15006 ac_status=$?
15007 grep -v '^ *+' conftest.er1 >conftest.err
15008 rm -f conftest.er1
15009 cat conftest.err >&5
15010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15011 (exit $ac_status); } &&
15012 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15014 (eval $ac_try) 2>&5
15015 ac_status=$?
15016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15017 (exit $ac_status); }; } &&
15018 { ac_try='test -s conftest.$ac_objext'
15019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15020 (eval $ac_try) 2>&5
15021 ac_status=$?
15022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15023 (exit $ac_status); }; }; then
15024 ac_lo=$ac_mid; break
15025 else
15026 echo "$as_me: failed program was:" >&5
15027 sed 's/^/| /' conftest.$ac_ext >&5
15028
15029 ac_hi=`expr '(' $ac_mid ')' - 1`
15030 if test $ac_mid -le $ac_hi; then
15031 ac_lo= ac_hi=
15032 break
15033 fi
15034 ac_mid=`expr 2 '*' $ac_mid`
15035 fi
15036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15037 done
15038 else
15039 echo "$as_me: failed program was:" >&5
15040 sed 's/^/| /' conftest.$ac_ext >&5
15041
15042 ac_lo= ac_hi=
15043 fi
15044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15045 fi
15046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15047 # Binary search between lo and hi bounds.
15048 while test "x$ac_lo" != "x$ac_hi"; do
15049 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15050 cat >conftest.$ac_ext <<_ACEOF
15051 /* confdefs.h. */
15052 _ACEOF
15053 cat confdefs.h >>conftest.$ac_ext
15054 cat >>conftest.$ac_ext <<_ACEOF
15055 /* end confdefs.h. */
15056 $ac_includes_default
15057 int
15058 main ()
15059 {
15060 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15061 test_array [0] = 0
15062
15063 ;
15064 return 0;
15065 }
15066 _ACEOF
15067 rm -f conftest.$ac_objext
15068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15069 (eval $ac_compile) 2>conftest.er1
15070 ac_status=$?
15071 grep -v '^ *+' conftest.er1 >conftest.err
15072 rm -f conftest.er1
15073 cat conftest.err >&5
15074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15075 (exit $ac_status); } &&
15076 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15078 (eval $ac_try) 2>&5
15079 ac_status=$?
15080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15081 (exit $ac_status); }; } &&
15082 { ac_try='test -s conftest.$ac_objext'
15083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15084 (eval $ac_try) 2>&5
15085 ac_status=$?
15086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15087 (exit $ac_status); }; }; then
15088 ac_hi=$ac_mid
15089 else
15090 echo "$as_me: failed program was:" >&5
15091 sed 's/^/| /' conftest.$ac_ext >&5
15092
15093 ac_lo=`expr '(' $ac_mid ')' + 1`
15094 fi
15095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15096 done
15097 case $ac_lo in
15098 ?*) ac_cv_sizeof_short=$ac_lo;;
15099 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15100 See \`config.log' for more details." >&5
15101 echo "$as_me: error: cannot compute sizeof (short), 77
15102 See \`config.log' for more details." >&2;}
15103 { (exit 1); exit 1; }; } ;;
15104 esac
15105 else
15106 if test "$cross_compiling" = yes; then
15107 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15108 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15109 { (exit 1); exit 1; }; }
15110 else
15111 cat >conftest.$ac_ext <<_ACEOF
15112 /* confdefs.h. */
15113 _ACEOF
15114 cat confdefs.h >>conftest.$ac_ext
15115 cat >>conftest.$ac_ext <<_ACEOF
15116 /* end confdefs.h. */
15117 $ac_includes_default
15118 long longval () { return (long) (sizeof (short)); }
15119 unsigned long ulongval () { return (long) (sizeof (short)); }
15120 #include <stdio.h>
15121 #include <stdlib.h>
15122 int
15123 main ()
15124 {
15125
15126 FILE *f = fopen ("conftest.val", "w");
15127 if (! f)
15128 exit (1);
15129 if (((long) (sizeof (short))) < 0)
15130 {
15131 long i = longval ();
15132 if (i != ((long) (sizeof (short))))
15133 exit (1);
15134 fprintf (f, "%ld\n", i);
15135 }
15136 else
15137 {
15138 unsigned long i = ulongval ();
15139 if (i != ((long) (sizeof (short))))
15140 exit (1);
15141 fprintf (f, "%lu\n", i);
15142 }
15143 exit (ferror (f) || fclose (f) != 0);
15144
15145 ;
15146 return 0;
15147 }
15148 _ACEOF
15149 rm -f conftest$ac_exeext
15150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15151 (eval $ac_link) 2>&5
15152 ac_status=$?
15153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15154 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15156 (eval $ac_try) 2>&5
15157 ac_status=$?
15158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15159 (exit $ac_status); }; }; then
15160 ac_cv_sizeof_short=`cat conftest.val`
15161 else
15162 echo "$as_me: program exited with status $ac_status" >&5
15163 echo "$as_me: failed program was:" >&5
15164 sed 's/^/| /' conftest.$ac_ext >&5
15165
15166 ( exit $ac_status )
15167 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15168 See \`config.log' for more details." >&5
15169 echo "$as_me: error: cannot compute sizeof (short), 77
15170 See \`config.log' for more details." >&2;}
15171 { (exit 1); exit 1; }; }
15172 fi
15173 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15174 fi
15175 fi
15176 rm -f conftest.val
15177 else
15178 ac_cv_sizeof_short=0
15179 fi
15180 fi
15181 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15182 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15183 cat >>confdefs.h <<_ACEOF
15184 #define SIZEOF_SHORT $ac_cv_sizeof_short
15185 _ACEOF
15186
15187
15188 echo "$as_me:$LINENO: checking for void *" >&5
15189 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15190 if test "${ac_cv_type_void_p+set}" = set; then
15191 echo $ECHO_N "(cached) $ECHO_C" >&6
15192 else
15193 cat >conftest.$ac_ext <<_ACEOF
15194 /* confdefs.h. */
15195 _ACEOF
15196 cat confdefs.h >>conftest.$ac_ext
15197 cat >>conftest.$ac_ext <<_ACEOF
15198 /* end confdefs.h. */
15199 $ac_includes_default
15200 int
15201 main ()
15202 {
15203 if ((void * *) 0)
15204 return 0;
15205 if (sizeof (void *))
15206 return 0;
15207 ;
15208 return 0;
15209 }
15210 _ACEOF
15211 rm -f conftest.$ac_objext
15212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15213 (eval $ac_compile) 2>conftest.er1
15214 ac_status=$?
15215 grep -v '^ *+' conftest.er1 >conftest.err
15216 rm -f conftest.er1
15217 cat conftest.err >&5
15218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219 (exit $ac_status); } &&
15220 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15222 (eval $ac_try) 2>&5
15223 ac_status=$?
15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225 (exit $ac_status); }; } &&
15226 { ac_try='test -s conftest.$ac_objext'
15227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15228 (eval $ac_try) 2>&5
15229 ac_status=$?
15230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15231 (exit $ac_status); }; }; then
15232 ac_cv_type_void_p=yes
15233 else
15234 echo "$as_me: failed program was:" >&5
15235 sed 's/^/| /' conftest.$ac_ext >&5
15236
15237 ac_cv_type_void_p=no
15238 fi
15239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15240 fi
15241 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15242 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15243
15244 echo "$as_me:$LINENO: checking size of void *" >&5
15245 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15246 if test "${ac_cv_sizeof_void_p+set}" = set; then
15247 echo $ECHO_N "(cached) $ECHO_C" >&6
15248 else
15249 if test "$ac_cv_type_void_p" = yes; then
15250 # The cast to unsigned long works around a bug in the HP C Compiler
15251 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15252 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15253 # This bug is HP SR number 8606223364.
15254 if test "$cross_compiling" = yes; then
15255 # Depending upon the size, compute the lo and hi bounds.
15256 cat >conftest.$ac_ext <<_ACEOF
15257 /* confdefs.h. */
15258 _ACEOF
15259 cat confdefs.h >>conftest.$ac_ext
15260 cat >>conftest.$ac_ext <<_ACEOF
15261 /* end confdefs.h. */
15262 $ac_includes_default
15263 int
15264 main ()
15265 {
15266 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15267 test_array [0] = 0
15268
15269 ;
15270 return 0;
15271 }
15272 _ACEOF
15273 rm -f conftest.$ac_objext
15274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15275 (eval $ac_compile) 2>conftest.er1
15276 ac_status=$?
15277 grep -v '^ *+' conftest.er1 >conftest.err
15278 rm -f conftest.er1
15279 cat conftest.err >&5
15280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15281 (exit $ac_status); } &&
15282 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15284 (eval $ac_try) 2>&5
15285 ac_status=$?
15286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15287 (exit $ac_status); }; } &&
15288 { ac_try='test -s conftest.$ac_objext'
15289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15290 (eval $ac_try) 2>&5
15291 ac_status=$?
15292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15293 (exit $ac_status); }; }; then
15294 ac_lo=0 ac_mid=0
15295 while :; do
15296 cat >conftest.$ac_ext <<_ACEOF
15297 /* confdefs.h. */
15298 _ACEOF
15299 cat confdefs.h >>conftest.$ac_ext
15300 cat >>conftest.$ac_ext <<_ACEOF
15301 /* end confdefs.h. */
15302 $ac_includes_default
15303 int
15304 main ()
15305 {
15306 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15307 test_array [0] = 0
15308
15309 ;
15310 return 0;
15311 }
15312 _ACEOF
15313 rm -f conftest.$ac_objext
15314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15315 (eval $ac_compile) 2>conftest.er1
15316 ac_status=$?
15317 grep -v '^ *+' conftest.er1 >conftest.err
15318 rm -f conftest.er1
15319 cat conftest.err >&5
15320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15321 (exit $ac_status); } &&
15322 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15324 (eval $ac_try) 2>&5
15325 ac_status=$?
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); }; } &&
15328 { ac_try='test -s conftest.$ac_objext'
15329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15330 (eval $ac_try) 2>&5
15331 ac_status=$?
15332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15333 (exit $ac_status); }; }; then
15334 ac_hi=$ac_mid; break
15335 else
15336 echo "$as_me: failed program was:" >&5
15337 sed 's/^/| /' conftest.$ac_ext >&5
15338
15339 ac_lo=`expr $ac_mid + 1`
15340 if test $ac_lo -le $ac_mid; then
15341 ac_lo= ac_hi=
15342 break
15343 fi
15344 ac_mid=`expr 2 '*' $ac_mid + 1`
15345 fi
15346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15347 done
15348 else
15349 echo "$as_me: failed program was:" >&5
15350 sed 's/^/| /' conftest.$ac_ext >&5
15351
15352 cat >conftest.$ac_ext <<_ACEOF
15353 /* confdefs.h. */
15354 _ACEOF
15355 cat confdefs.h >>conftest.$ac_ext
15356 cat >>conftest.$ac_ext <<_ACEOF
15357 /* end confdefs.h. */
15358 $ac_includes_default
15359 int
15360 main ()
15361 {
15362 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15363 test_array [0] = 0
15364
15365 ;
15366 return 0;
15367 }
15368 _ACEOF
15369 rm -f conftest.$ac_objext
15370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15371 (eval $ac_compile) 2>conftest.er1
15372 ac_status=$?
15373 grep -v '^ *+' conftest.er1 >conftest.err
15374 rm -f conftest.er1
15375 cat conftest.err >&5
15376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377 (exit $ac_status); } &&
15378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15380 (eval $ac_try) 2>&5
15381 ac_status=$?
15382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15383 (exit $ac_status); }; } &&
15384 { ac_try='test -s conftest.$ac_objext'
15385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15386 (eval $ac_try) 2>&5
15387 ac_status=$?
15388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15389 (exit $ac_status); }; }; then
15390 ac_hi=-1 ac_mid=-1
15391 while :; do
15392 cat >conftest.$ac_ext <<_ACEOF
15393 /* confdefs.h. */
15394 _ACEOF
15395 cat confdefs.h >>conftest.$ac_ext
15396 cat >>conftest.$ac_ext <<_ACEOF
15397 /* end confdefs.h. */
15398 $ac_includes_default
15399 int
15400 main ()
15401 {
15402 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15403 test_array [0] = 0
15404
15405 ;
15406 return 0;
15407 }
15408 _ACEOF
15409 rm -f conftest.$ac_objext
15410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15411 (eval $ac_compile) 2>conftest.er1
15412 ac_status=$?
15413 grep -v '^ *+' conftest.er1 >conftest.err
15414 rm -f conftest.er1
15415 cat conftest.err >&5
15416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15417 (exit $ac_status); } &&
15418 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15420 (eval $ac_try) 2>&5
15421 ac_status=$?
15422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15423 (exit $ac_status); }; } &&
15424 { ac_try='test -s conftest.$ac_objext'
15425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15426 (eval $ac_try) 2>&5
15427 ac_status=$?
15428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15429 (exit $ac_status); }; }; then
15430 ac_lo=$ac_mid; break
15431 else
15432 echo "$as_me: failed program was:" >&5
15433 sed 's/^/| /' conftest.$ac_ext >&5
15434
15435 ac_hi=`expr '(' $ac_mid ')' - 1`
15436 if test $ac_mid -le $ac_hi; then
15437 ac_lo= ac_hi=
15438 break
15439 fi
15440 ac_mid=`expr 2 '*' $ac_mid`
15441 fi
15442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15443 done
15444 else
15445 echo "$as_me: failed program was:" >&5
15446 sed 's/^/| /' conftest.$ac_ext >&5
15447
15448 ac_lo= ac_hi=
15449 fi
15450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15451 fi
15452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15453 # Binary search between lo and hi bounds.
15454 while test "x$ac_lo" != "x$ac_hi"; do
15455 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15456 cat >conftest.$ac_ext <<_ACEOF
15457 /* confdefs.h. */
15458 _ACEOF
15459 cat confdefs.h >>conftest.$ac_ext
15460 cat >>conftest.$ac_ext <<_ACEOF
15461 /* end confdefs.h. */
15462 $ac_includes_default
15463 int
15464 main ()
15465 {
15466 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15467 test_array [0] = 0
15468
15469 ;
15470 return 0;
15471 }
15472 _ACEOF
15473 rm -f conftest.$ac_objext
15474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15475 (eval $ac_compile) 2>conftest.er1
15476 ac_status=$?
15477 grep -v '^ *+' conftest.er1 >conftest.err
15478 rm -f conftest.er1
15479 cat conftest.err >&5
15480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15481 (exit $ac_status); } &&
15482 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15484 (eval $ac_try) 2>&5
15485 ac_status=$?
15486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15487 (exit $ac_status); }; } &&
15488 { ac_try='test -s conftest.$ac_objext'
15489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15490 (eval $ac_try) 2>&5
15491 ac_status=$?
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); }; }; then
15494 ac_hi=$ac_mid
15495 else
15496 echo "$as_me: failed program was:" >&5
15497 sed 's/^/| /' conftest.$ac_ext >&5
15498
15499 ac_lo=`expr '(' $ac_mid ')' + 1`
15500 fi
15501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15502 done
15503 case $ac_lo in
15504 ?*) ac_cv_sizeof_void_p=$ac_lo;;
15505 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15506 See \`config.log' for more details." >&5
15507 echo "$as_me: error: cannot compute sizeof (void *), 77
15508 See \`config.log' for more details." >&2;}
15509 { (exit 1); exit 1; }; } ;;
15510 esac
15511 else
15512 if test "$cross_compiling" = yes; then
15513 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15514 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15515 { (exit 1); exit 1; }; }
15516 else
15517 cat >conftest.$ac_ext <<_ACEOF
15518 /* confdefs.h. */
15519 _ACEOF
15520 cat confdefs.h >>conftest.$ac_ext
15521 cat >>conftest.$ac_ext <<_ACEOF
15522 /* end confdefs.h. */
15523 $ac_includes_default
15524 long longval () { return (long) (sizeof (void *)); }
15525 unsigned long ulongval () { return (long) (sizeof (void *)); }
15526 #include <stdio.h>
15527 #include <stdlib.h>
15528 int
15529 main ()
15530 {
15531
15532 FILE *f = fopen ("conftest.val", "w");
15533 if (! f)
15534 exit (1);
15535 if (((long) (sizeof (void *))) < 0)
15536 {
15537 long i = longval ();
15538 if (i != ((long) (sizeof (void *))))
15539 exit (1);
15540 fprintf (f, "%ld\n", i);
15541 }
15542 else
15543 {
15544 unsigned long i = ulongval ();
15545 if (i != ((long) (sizeof (void *))))
15546 exit (1);
15547 fprintf (f, "%lu\n", i);
15548 }
15549 exit (ferror (f) || fclose (f) != 0);
15550
15551 ;
15552 return 0;
15553 }
15554 _ACEOF
15555 rm -f conftest$ac_exeext
15556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15557 (eval $ac_link) 2>&5
15558 ac_status=$?
15559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15560 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15562 (eval $ac_try) 2>&5
15563 ac_status=$?
15564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15565 (exit $ac_status); }; }; then
15566 ac_cv_sizeof_void_p=`cat conftest.val`
15567 else
15568 echo "$as_me: program exited with status $ac_status" >&5
15569 echo "$as_me: failed program was:" >&5
15570 sed 's/^/| /' conftest.$ac_ext >&5
15571
15572 ( exit $ac_status )
15573 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15574 See \`config.log' for more details." >&5
15575 echo "$as_me: error: cannot compute sizeof (void *), 77
15576 See \`config.log' for more details." >&2;}
15577 { (exit 1); exit 1; }; }
15578 fi
15579 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15580 fi
15581 fi
15582 rm -f conftest.val
15583 else
15584 ac_cv_sizeof_void_p=0
15585 fi
15586 fi
15587 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15588 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15589 cat >>confdefs.h <<_ACEOF
15590 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15591 _ACEOF
15592
15593
15594 echo "$as_me:$LINENO: checking for int" >&5
15595 echo $ECHO_N "checking for int... $ECHO_C" >&6
15596 if test "${ac_cv_type_int+set}" = set; then
15597 echo $ECHO_N "(cached) $ECHO_C" >&6
15598 else
15599 cat >conftest.$ac_ext <<_ACEOF
15600 /* confdefs.h. */
15601 _ACEOF
15602 cat confdefs.h >>conftest.$ac_ext
15603 cat >>conftest.$ac_ext <<_ACEOF
15604 /* end confdefs.h. */
15605 $ac_includes_default
15606 int
15607 main ()
15608 {
15609 if ((int *) 0)
15610 return 0;
15611 if (sizeof (int))
15612 return 0;
15613 ;
15614 return 0;
15615 }
15616 _ACEOF
15617 rm -f conftest.$ac_objext
15618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15619 (eval $ac_compile) 2>conftest.er1
15620 ac_status=$?
15621 grep -v '^ *+' conftest.er1 >conftest.err
15622 rm -f conftest.er1
15623 cat conftest.err >&5
15624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15625 (exit $ac_status); } &&
15626 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15628 (eval $ac_try) 2>&5
15629 ac_status=$?
15630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15631 (exit $ac_status); }; } &&
15632 { ac_try='test -s conftest.$ac_objext'
15633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15634 (eval $ac_try) 2>&5
15635 ac_status=$?
15636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15637 (exit $ac_status); }; }; then
15638 ac_cv_type_int=yes
15639 else
15640 echo "$as_me: failed program was:" >&5
15641 sed 's/^/| /' conftest.$ac_ext >&5
15642
15643 ac_cv_type_int=no
15644 fi
15645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15646 fi
15647 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15648 echo "${ECHO_T}$ac_cv_type_int" >&6
15649
15650 echo "$as_me:$LINENO: checking size of int" >&5
15651 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15652 if test "${ac_cv_sizeof_int+set}" = set; then
15653 echo $ECHO_N "(cached) $ECHO_C" >&6
15654 else
15655 if test "$ac_cv_type_int" = yes; then
15656 # The cast to unsigned long works around a bug in the HP C Compiler
15657 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15658 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15659 # This bug is HP SR number 8606223364.
15660 if test "$cross_compiling" = yes; then
15661 # Depending upon the size, compute the lo and hi bounds.
15662 cat >conftest.$ac_ext <<_ACEOF
15663 /* confdefs.h. */
15664 _ACEOF
15665 cat confdefs.h >>conftest.$ac_ext
15666 cat >>conftest.$ac_ext <<_ACEOF
15667 /* end confdefs.h. */
15668 $ac_includes_default
15669 int
15670 main ()
15671 {
15672 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15673 test_array [0] = 0
15674
15675 ;
15676 return 0;
15677 }
15678 _ACEOF
15679 rm -f conftest.$ac_objext
15680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15681 (eval $ac_compile) 2>conftest.er1
15682 ac_status=$?
15683 grep -v '^ *+' conftest.er1 >conftest.err
15684 rm -f conftest.er1
15685 cat conftest.err >&5
15686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15687 (exit $ac_status); } &&
15688 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15690 (eval $ac_try) 2>&5
15691 ac_status=$?
15692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15693 (exit $ac_status); }; } &&
15694 { ac_try='test -s conftest.$ac_objext'
15695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15696 (eval $ac_try) 2>&5
15697 ac_status=$?
15698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15699 (exit $ac_status); }; }; then
15700 ac_lo=0 ac_mid=0
15701 while :; do
15702 cat >conftest.$ac_ext <<_ACEOF
15703 /* confdefs.h. */
15704 _ACEOF
15705 cat confdefs.h >>conftest.$ac_ext
15706 cat >>conftest.$ac_ext <<_ACEOF
15707 /* end confdefs.h. */
15708 $ac_includes_default
15709 int
15710 main ()
15711 {
15712 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15713 test_array [0] = 0
15714
15715 ;
15716 return 0;
15717 }
15718 _ACEOF
15719 rm -f conftest.$ac_objext
15720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15721 (eval $ac_compile) 2>conftest.er1
15722 ac_status=$?
15723 grep -v '^ *+' conftest.er1 >conftest.err
15724 rm -f conftest.er1
15725 cat conftest.err >&5
15726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15727 (exit $ac_status); } &&
15728 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15730 (eval $ac_try) 2>&5
15731 ac_status=$?
15732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15733 (exit $ac_status); }; } &&
15734 { ac_try='test -s conftest.$ac_objext'
15735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15736 (eval $ac_try) 2>&5
15737 ac_status=$?
15738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15739 (exit $ac_status); }; }; then
15740 ac_hi=$ac_mid; break
15741 else
15742 echo "$as_me: failed program was:" >&5
15743 sed 's/^/| /' conftest.$ac_ext >&5
15744
15745 ac_lo=`expr $ac_mid + 1`
15746 if test $ac_lo -le $ac_mid; then
15747 ac_lo= ac_hi=
15748 break
15749 fi
15750 ac_mid=`expr 2 '*' $ac_mid + 1`
15751 fi
15752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15753 done
15754 else
15755 echo "$as_me: failed program was:" >&5
15756 sed 's/^/| /' conftest.$ac_ext >&5
15757
15758 cat >conftest.$ac_ext <<_ACEOF
15759 /* confdefs.h. */
15760 _ACEOF
15761 cat confdefs.h >>conftest.$ac_ext
15762 cat >>conftest.$ac_ext <<_ACEOF
15763 /* end confdefs.h. */
15764 $ac_includes_default
15765 int
15766 main ()
15767 {
15768 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15769 test_array [0] = 0
15770
15771 ;
15772 return 0;
15773 }
15774 _ACEOF
15775 rm -f conftest.$ac_objext
15776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15777 (eval $ac_compile) 2>conftest.er1
15778 ac_status=$?
15779 grep -v '^ *+' conftest.er1 >conftest.err
15780 rm -f conftest.er1
15781 cat conftest.err >&5
15782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15783 (exit $ac_status); } &&
15784 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15786 (eval $ac_try) 2>&5
15787 ac_status=$?
15788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15789 (exit $ac_status); }; } &&
15790 { ac_try='test -s conftest.$ac_objext'
15791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15792 (eval $ac_try) 2>&5
15793 ac_status=$?
15794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15795 (exit $ac_status); }; }; then
15796 ac_hi=-1 ac_mid=-1
15797 while :; do
15798 cat >conftest.$ac_ext <<_ACEOF
15799 /* confdefs.h. */
15800 _ACEOF
15801 cat confdefs.h >>conftest.$ac_ext
15802 cat >>conftest.$ac_ext <<_ACEOF
15803 /* end confdefs.h. */
15804 $ac_includes_default
15805 int
15806 main ()
15807 {
15808 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15809 test_array [0] = 0
15810
15811 ;
15812 return 0;
15813 }
15814 _ACEOF
15815 rm -f conftest.$ac_objext
15816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15817 (eval $ac_compile) 2>conftest.er1
15818 ac_status=$?
15819 grep -v '^ *+' conftest.er1 >conftest.err
15820 rm -f conftest.er1
15821 cat conftest.err >&5
15822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15823 (exit $ac_status); } &&
15824 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15826 (eval $ac_try) 2>&5
15827 ac_status=$?
15828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15829 (exit $ac_status); }; } &&
15830 { ac_try='test -s conftest.$ac_objext'
15831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15832 (eval $ac_try) 2>&5
15833 ac_status=$?
15834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15835 (exit $ac_status); }; }; then
15836 ac_lo=$ac_mid; break
15837 else
15838 echo "$as_me: failed program was:" >&5
15839 sed 's/^/| /' conftest.$ac_ext >&5
15840
15841 ac_hi=`expr '(' $ac_mid ')' - 1`
15842 if test $ac_mid -le $ac_hi; then
15843 ac_lo= ac_hi=
15844 break
15845 fi
15846 ac_mid=`expr 2 '*' $ac_mid`
15847 fi
15848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15849 done
15850 else
15851 echo "$as_me: failed program was:" >&5
15852 sed 's/^/| /' conftest.$ac_ext >&5
15853
15854 ac_lo= ac_hi=
15855 fi
15856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15857 fi
15858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15859 # Binary search between lo and hi bounds.
15860 while test "x$ac_lo" != "x$ac_hi"; do
15861 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15862 cat >conftest.$ac_ext <<_ACEOF
15863 /* confdefs.h. */
15864 _ACEOF
15865 cat confdefs.h >>conftest.$ac_ext
15866 cat >>conftest.$ac_ext <<_ACEOF
15867 /* end confdefs.h. */
15868 $ac_includes_default
15869 int
15870 main ()
15871 {
15872 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15873 test_array [0] = 0
15874
15875 ;
15876 return 0;
15877 }
15878 _ACEOF
15879 rm -f conftest.$ac_objext
15880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15881 (eval $ac_compile) 2>conftest.er1
15882 ac_status=$?
15883 grep -v '^ *+' conftest.er1 >conftest.err
15884 rm -f conftest.er1
15885 cat conftest.err >&5
15886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15887 (exit $ac_status); } &&
15888 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15890 (eval $ac_try) 2>&5
15891 ac_status=$?
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); }; } &&
15894 { ac_try='test -s conftest.$ac_objext'
15895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15896 (eval $ac_try) 2>&5
15897 ac_status=$?
15898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15899 (exit $ac_status); }; }; then
15900 ac_hi=$ac_mid
15901 else
15902 echo "$as_me: failed program was:" >&5
15903 sed 's/^/| /' conftest.$ac_ext >&5
15904
15905 ac_lo=`expr '(' $ac_mid ')' + 1`
15906 fi
15907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15908 done
15909 case $ac_lo in
15910 ?*) ac_cv_sizeof_int=$ac_lo;;
15911 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15912 See \`config.log' for more details." >&5
15913 echo "$as_me: error: cannot compute sizeof (int), 77
15914 See \`config.log' for more details." >&2;}
15915 { (exit 1); exit 1; }; } ;;
15916 esac
15917 else
15918 if test "$cross_compiling" = yes; then
15919 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15920 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15921 { (exit 1); exit 1; }; }
15922 else
15923 cat >conftest.$ac_ext <<_ACEOF
15924 /* confdefs.h. */
15925 _ACEOF
15926 cat confdefs.h >>conftest.$ac_ext
15927 cat >>conftest.$ac_ext <<_ACEOF
15928 /* end confdefs.h. */
15929 $ac_includes_default
15930 long longval () { return (long) (sizeof (int)); }
15931 unsigned long ulongval () { return (long) (sizeof (int)); }
15932 #include <stdio.h>
15933 #include <stdlib.h>
15934 int
15935 main ()
15936 {
15937
15938 FILE *f = fopen ("conftest.val", "w");
15939 if (! f)
15940 exit (1);
15941 if (((long) (sizeof (int))) < 0)
15942 {
15943 long i = longval ();
15944 if (i != ((long) (sizeof (int))))
15945 exit (1);
15946 fprintf (f, "%ld\n", i);
15947 }
15948 else
15949 {
15950 unsigned long i = ulongval ();
15951 if (i != ((long) (sizeof (int))))
15952 exit (1);
15953 fprintf (f, "%lu\n", i);
15954 }
15955 exit (ferror (f) || fclose (f) != 0);
15956
15957 ;
15958 return 0;
15959 }
15960 _ACEOF
15961 rm -f conftest$ac_exeext
15962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15963 (eval $ac_link) 2>&5
15964 ac_status=$?
15965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15966 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15968 (eval $ac_try) 2>&5
15969 ac_status=$?
15970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15971 (exit $ac_status); }; }; then
15972 ac_cv_sizeof_int=`cat conftest.val`
15973 else
15974 echo "$as_me: program exited with status $ac_status" >&5
15975 echo "$as_me: failed program was:" >&5
15976 sed 's/^/| /' conftest.$ac_ext >&5
15977
15978 ( exit $ac_status )
15979 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15980 See \`config.log' for more details." >&5
15981 echo "$as_me: error: cannot compute sizeof (int), 77
15982 See \`config.log' for more details." >&2;}
15983 { (exit 1); exit 1; }; }
15984 fi
15985 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15986 fi
15987 fi
15988 rm -f conftest.val
15989 else
15990 ac_cv_sizeof_int=0
15991 fi
15992 fi
15993 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15994 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15995 cat >>confdefs.h <<_ACEOF
15996 #define SIZEOF_INT $ac_cv_sizeof_int
15997 _ACEOF
15998
15999
16000 echo "$as_me:$LINENO: checking for long" >&5
16001 echo $ECHO_N "checking for long... $ECHO_C" >&6
16002 if test "${ac_cv_type_long+set}" = set; then
16003 echo $ECHO_N "(cached) $ECHO_C" >&6
16004 else
16005 cat >conftest.$ac_ext <<_ACEOF
16006 /* confdefs.h. */
16007 _ACEOF
16008 cat confdefs.h >>conftest.$ac_ext
16009 cat >>conftest.$ac_ext <<_ACEOF
16010 /* end confdefs.h. */
16011 $ac_includes_default
16012 int
16013 main ()
16014 {
16015 if ((long *) 0)
16016 return 0;
16017 if (sizeof (long))
16018 return 0;
16019 ;
16020 return 0;
16021 }
16022 _ACEOF
16023 rm -f conftest.$ac_objext
16024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16025 (eval $ac_compile) 2>conftest.er1
16026 ac_status=$?
16027 grep -v '^ *+' conftest.er1 >conftest.err
16028 rm -f conftest.er1
16029 cat conftest.err >&5
16030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16031 (exit $ac_status); } &&
16032 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16034 (eval $ac_try) 2>&5
16035 ac_status=$?
16036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16037 (exit $ac_status); }; } &&
16038 { ac_try='test -s conftest.$ac_objext'
16039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16040 (eval $ac_try) 2>&5
16041 ac_status=$?
16042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16043 (exit $ac_status); }; }; then
16044 ac_cv_type_long=yes
16045 else
16046 echo "$as_me: failed program was:" >&5
16047 sed 's/^/| /' conftest.$ac_ext >&5
16048
16049 ac_cv_type_long=no
16050 fi
16051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16052 fi
16053 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16054 echo "${ECHO_T}$ac_cv_type_long" >&6
16055
16056 echo "$as_me:$LINENO: checking size of long" >&5
16057 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16058 if test "${ac_cv_sizeof_long+set}" = set; then
16059 echo $ECHO_N "(cached) $ECHO_C" >&6
16060 else
16061 if test "$ac_cv_type_long" = yes; then
16062 # The cast to unsigned long works around a bug in the HP C Compiler
16063 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16064 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16065 # This bug is HP SR number 8606223364.
16066 if test "$cross_compiling" = yes; then
16067 # Depending upon the size, compute the lo and hi bounds.
16068 cat >conftest.$ac_ext <<_ACEOF
16069 /* confdefs.h. */
16070 _ACEOF
16071 cat confdefs.h >>conftest.$ac_ext
16072 cat >>conftest.$ac_ext <<_ACEOF
16073 /* end confdefs.h. */
16074 $ac_includes_default
16075 int
16076 main ()
16077 {
16078 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16079 test_array [0] = 0
16080
16081 ;
16082 return 0;
16083 }
16084 _ACEOF
16085 rm -f conftest.$ac_objext
16086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16087 (eval $ac_compile) 2>conftest.er1
16088 ac_status=$?
16089 grep -v '^ *+' conftest.er1 >conftest.err
16090 rm -f conftest.er1
16091 cat conftest.err >&5
16092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16093 (exit $ac_status); } &&
16094 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16096 (eval $ac_try) 2>&5
16097 ac_status=$?
16098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16099 (exit $ac_status); }; } &&
16100 { ac_try='test -s conftest.$ac_objext'
16101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16102 (eval $ac_try) 2>&5
16103 ac_status=$?
16104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16105 (exit $ac_status); }; }; then
16106 ac_lo=0 ac_mid=0
16107 while :; do
16108 cat >conftest.$ac_ext <<_ACEOF
16109 /* confdefs.h. */
16110 _ACEOF
16111 cat confdefs.h >>conftest.$ac_ext
16112 cat >>conftest.$ac_ext <<_ACEOF
16113 /* end confdefs.h. */
16114 $ac_includes_default
16115 int
16116 main ()
16117 {
16118 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16119 test_array [0] = 0
16120
16121 ;
16122 return 0;
16123 }
16124 _ACEOF
16125 rm -f conftest.$ac_objext
16126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16127 (eval $ac_compile) 2>conftest.er1
16128 ac_status=$?
16129 grep -v '^ *+' conftest.er1 >conftest.err
16130 rm -f conftest.er1
16131 cat conftest.err >&5
16132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16133 (exit $ac_status); } &&
16134 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16136 (eval $ac_try) 2>&5
16137 ac_status=$?
16138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16139 (exit $ac_status); }; } &&
16140 { ac_try='test -s conftest.$ac_objext'
16141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16142 (eval $ac_try) 2>&5
16143 ac_status=$?
16144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16145 (exit $ac_status); }; }; then
16146 ac_hi=$ac_mid; break
16147 else
16148 echo "$as_me: failed program was:" >&5
16149 sed 's/^/| /' conftest.$ac_ext >&5
16150
16151 ac_lo=`expr $ac_mid + 1`
16152 if test $ac_lo -le $ac_mid; then
16153 ac_lo= ac_hi=
16154 break
16155 fi
16156 ac_mid=`expr 2 '*' $ac_mid + 1`
16157 fi
16158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16159 done
16160 else
16161 echo "$as_me: failed program was:" >&5
16162 sed 's/^/| /' conftest.$ac_ext >&5
16163
16164 cat >conftest.$ac_ext <<_ACEOF
16165 /* confdefs.h. */
16166 _ACEOF
16167 cat confdefs.h >>conftest.$ac_ext
16168 cat >>conftest.$ac_ext <<_ACEOF
16169 /* end confdefs.h. */
16170 $ac_includes_default
16171 int
16172 main ()
16173 {
16174 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16175 test_array [0] = 0
16176
16177 ;
16178 return 0;
16179 }
16180 _ACEOF
16181 rm -f conftest.$ac_objext
16182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16183 (eval $ac_compile) 2>conftest.er1
16184 ac_status=$?
16185 grep -v '^ *+' conftest.er1 >conftest.err
16186 rm -f conftest.er1
16187 cat conftest.err >&5
16188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16189 (exit $ac_status); } &&
16190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16192 (eval $ac_try) 2>&5
16193 ac_status=$?
16194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16195 (exit $ac_status); }; } &&
16196 { ac_try='test -s conftest.$ac_objext'
16197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16198 (eval $ac_try) 2>&5
16199 ac_status=$?
16200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16201 (exit $ac_status); }; }; then
16202 ac_hi=-1 ac_mid=-1
16203 while :; do
16204 cat >conftest.$ac_ext <<_ACEOF
16205 /* confdefs.h. */
16206 _ACEOF
16207 cat confdefs.h >>conftest.$ac_ext
16208 cat >>conftest.$ac_ext <<_ACEOF
16209 /* end confdefs.h. */
16210 $ac_includes_default
16211 int
16212 main ()
16213 {
16214 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16215 test_array [0] = 0
16216
16217 ;
16218 return 0;
16219 }
16220 _ACEOF
16221 rm -f conftest.$ac_objext
16222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16223 (eval $ac_compile) 2>conftest.er1
16224 ac_status=$?
16225 grep -v '^ *+' conftest.er1 >conftest.err
16226 rm -f conftest.er1
16227 cat conftest.err >&5
16228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16229 (exit $ac_status); } &&
16230 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16232 (eval $ac_try) 2>&5
16233 ac_status=$?
16234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16235 (exit $ac_status); }; } &&
16236 { ac_try='test -s conftest.$ac_objext'
16237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16238 (eval $ac_try) 2>&5
16239 ac_status=$?
16240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241 (exit $ac_status); }; }; then
16242 ac_lo=$ac_mid; break
16243 else
16244 echo "$as_me: failed program was:" >&5
16245 sed 's/^/| /' conftest.$ac_ext >&5
16246
16247 ac_hi=`expr '(' $ac_mid ')' - 1`
16248 if test $ac_mid -le $ac_hi; then
16249 ac_lo= ac_hi=
16250 break
16251 fi
16252 ac_mid=`expr 2 '*' $ac_mid`
16253 fi
16254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16255 done
16256 else
16257 echo "$as_me: failed program was:" >&5
16258 sed 's/^/| /' conftest.$ac_ext >&5
16259
16260 ac_lo= ac_hi=
16261 fi
16262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16263 fi
16264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16265 # Binary search between lo and hi bounds.
16266 while test "x$ac_lo" != "x$ac_hi"; do
16267 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16268 cat >conftest.$ac_ext <<_ACEOF
16269 /* confdefs.h. */
16270 _ACEOF
16271 cat confdefs.h >>conftest.$ac_ext
16272 cat >>conftest.$ac_ext <<_ACEOF
16273 /* end confdefs.h. */
16274 $ac_includes_default
16275 int
16276 main ()
16277 {
16278 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16279 test_array [0] = 0
16280
16281 ;
16282 return 0;
16283 }
16284 _ACEOF
16285 rm -f conftest.$ac_objext
16286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16287 (eval $ac_compile) 2>conftest.er1
16288 ac_status=$?
16289 grep -v '^ *+' conftest.er1 >conftest.err
16290 rm -f conftest.er1
16291 cat conftest.err >&5
16292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16293 (exit $ac_status); } &&
16294 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16296 (eval $ac_try) 2>&5
16297 ac_status=$?
16298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16299 (exit $ac_status); }; } &&
16300 { ac_try='test -s conftest.$ac_objext'
16301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16302 (eval $ac_try) 2>&5
16303 ac_status=$?
16304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16305 (exit $ac_status); }; }; then
16306 ac_hi=$ac_mid
16307 else
16308 echo "$as_me: failed program was:" >&5
16309 sed 's/^/| /' conftest.$ac_ext >&5
16310
16311 ac_lo=`expr '(' $ac_mid ')' + 1`
16312 fi
16313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16314 done
16315 case $ac_lo in
16316 ?*) ac_cv_sizeof_long=$ac_lo;;
16317 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16318 See \`config.log' for more details." >&5
16319 echo "$as_me: error: cannot compute sizeof (long), 77
16320 See \`config.log' for more details." >&2;}
16321 { (exit 1); exit 1; }; } ;;
16322 esac
16323 else
16324 if test "$cross_compiling" = yes; then
16325 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16326 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16327 { (exit 1); exit 1; }; }
16328 else
16329 cat >conftest.$ac_ext <<_ACEOF
16330 /* confdefs.h. */
16331 _ACEOF
16332 cat confdefs.h >>conftest.$ac_ext
16333 cat >>conftest.$ac_ext <<_ACEOF
16334 /* end confdefs.h. */
16335 $ac_includes_default
16336 long longval () { return (long) (sizeof (long)); }
16337 unsigned long ulongval () { return (long) (sizeof (long)); }
16338 #include <stdio.h>
16339 #include <stdlib.h>
16340 int
16341 main ()
16342 {
16343
16344 FILE *f = fopen ("conftest.val", "w");
16345 if (! f)
16346 exit (1);
16347 if (((long) (sizeof (long))) < 0)
16348 {
16349 long i = longval ();
16350 if (i != ((long) (sizeof (long))))
16351 exit (1);
16352 fprintf (f, "%ld\n", i);
16353 }
16354 else
16355 {
16356 unsigned long i = ulongval ();
16357 if (i != ((long) (sizeof (long))))
16358 exit (1);
16359 fprintf (f, "%lu\n", i);
16360 }
16361 exit (ferror (f) || fclose (f) != 0);
16362
16363 ;
16364 return 0;
16365 }
16366 _ACEOF
16367 rm -f conftest$ac_exeext
16368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16369 (eval $ac_link) 2>&5
16370 ac_status=$?
16371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16372 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16374 (eval $ac_try) 2>&5
16375 ac_status=$?
16376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16377 (exit $ac_status); }; }; then
16378 ac_cv_sizeof_long=`cat conftest.val`
16379 else
16380 echo "$as_me: program exited with status $ac_status" >&5
16381 echo "$as_me: failed program was:" >&5
16382 sed 's/^/| /' conftest.$ac_ext >&5
16383
16384 ( exit $ac_status )
16385 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16386 See \`config.log' for more details." >&5
16387 echo "$as_me: error: cannot compute sizeof (long), 77
16388 See \`config.log' for more details." >&2;}
16389 { (exit 1); exit 1; }; }
16390 fi
16391 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16392 fi
16393 fi
16394 rm -f conftest.val
16395 else
16396 ac_cv_sizeof_long=0
16397 fi
16398 fi
16399 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16400 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16401 cat >>confdefs.h <<_ACEOF
16402 #define SIZEOF_LONG $ac_cv_sizeof_long
16403 _ACEOF
16404
16405
16406 echo "$as_me:$LINENO: checking for size_t" >&5
16407 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16408 if test "${ac_cv_type_size_t+set}" = set; then
16409 echo $ECHO_N "(cached) $ECHO_C" >&6
16410 else
16411 cat >conftest.$ac_ext <<_ACEOF
16412 /* confdefs.h. */
16413 _ACEOF
16414 cat confdefs.h >>conftest.$ac_ext
16415 cat >>conftest.$ac_ext <<_ACEOF
16416 /* end confdefs.h. */
16417 $ac_includes_default
16418 int
16419 main ()
16420 {
16421 if ((size_t *) 0)
16422 return 0;
16423 if (sizeof (size_t))
16424 return 0;
16425 ;
16426 return 0;
16427 }
16428 _ACEOF
16429 rm -f conftest.$ac_objext
16430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16431 (eval $ac_compile) 2>conftest.er1
16432 ac_status=$?
16433 grep -v '^ *+' conftest.er1 >conftest.err
16434 rm -f conftest.er1
16435 cat conftest.err >&5
16436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16437 (exit $ac_status); } &&
16438 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16440 (eval $ac_try) 2>&5
16441 ac_status=$?
16442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16443 (exit $ac_status); }; } &&
16444 { ac_try='test -s conftest.$ac_objext'
16445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16446 (eval $ac_try) 2>&5
16447 ac_status=$?
16448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16449 (exit $ac_status); }; }; then
16450 ac_cv_type_size_t=yes
16451 else
16452 echo "$as_me: failed program was:" >&5
16453 sed 's/^/| /' conftest.$ac_ext >&5
16454
16455 ac_cv_type_size_t=no
16456 fi
16457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16458 fi
16459 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16460 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16461
16462 echo "$as_me:$LINENO: checking size of size_t" >&5
16463 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16464 if test "${ac_cv_sizeof_size_t+set}" = set; then
16465 echo $ECHO_N "(cached) $ECHO_C" >&6
16466 else
16467 if test "$ac_cv_type_size_t" = yes; then
16468 # The cast to unsigned long works around a bug in the HP C Compiler
16469 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16470 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16471 # This bug is HP SR number 8606223364.
16472 if test "$cross_compiling" = yes; then
16473 # Depending upon the size, compute the lo and hi bounds.
16474 cat >conftest.$ac_ext <<_ACEOF
16475 /* confdefs.h. */
16476 _ACEOF
16477 cat confdefs.h >>conftest.$ac_ext
16478 cat >>conftest.$ac_ext <<_ACEOF
16479 /* end confdefs.h. */
16480 $ac_includes_default
16481 int
16482 main ()
16483 {
16484 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16485 test_array [0] = 0
16486
16487 ;
16488 return 0;
16489 }
16490 _ACEOF
16491 rm -f conftest.$ac_objext
16492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16493 (eval $ac_compile) 2>conftest.er1
16494 ac_status=$?
16495 grep -v '^ *+' conftest.er1 >conftest.err
16496 rm -f conftest.er1
16497 cat conftest.err >&5
16498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16499 (exit $ac_status); } &&
16500 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16502 (eval $ac_try) 2>&5
16503 ac_status=$?
16504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16505 (exit $ac_status); }; } &&
16506 { ac_try='test -s conftest.$ac_objext'
16507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16508 (eval $ac_try) 2>&5
16509 ac_status=$?
16510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16511 (exit $ac_status); }; }; then
16512 ac_lo=0 ac_mid=0
16513 while :; do
16514 cat >conftest.$ac_ext <<_ACEOF
16515 /* confdefs.h. */
16516 _ACEOF
16517 cat confdefs.h >>conftest.$ac_ext
16518 cat >>conftest.$ac_ext <<_ACEOF
16519 /* end confdefs.h. */
16520 $ac_includes_default
16521 int
16522 main ()
16523 {
16524 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16525 test_array [0] = 0
16526
16527 ;
16528 return 0;
16529 }
16530 _ACEOF
16531 rm -f conftest.$ac_objext
16532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16533 (eval $ac_compile) 2>conftest.er1
16534 ac_status=$?
16535 grep -v '^ *+' conftest.er1 >conftest.err
16536 rm -f conftest.er1
16537 cat conftest.err >&5
16538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16539 (exit $ac_status); } &&
16540 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16542 (eval $ac_try) 2>&5
16543 ac_status=$?
16544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16545 (exit $ac_status); }; } &&
16546 { ac_try='test -s conftest.$ac_objext'
16547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16548 (eval $ac_try) 2>&5
16549 ac_status=$?
16550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16551 (exit $ac_status); }; }; then
16552 ac_hi=$ac_mid; break
16553 else
16554 echo "$as_me: failed program was:" >&5
16555 sed 's/^/| /' conftest.$ac_ext >&5
16556
16557 ac_lo=`expr $ac_mid + 1`
16558 if test $ac_lo -le $ac_mid; then
16559 ac_lo= ac_hi=
16560 break
16561 fi
16562 ac_mid=`expr 2 '*' $ac_mid + 1`
16563 fi
16564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16565 done
16566 else
16567 echo "$as_me: failed program was:" >&5
16568 sed 's/^/| /' conftest.$ac_ext >&5
16569
16570 cat >conftest.$ac_ext <<_ACEOF
16571 /* confdefs.h. */
16572 _ACEOF
16573 cat confdefs.h >>conftest.$ac_ext
16574 cat >>conftest.$ac_ext <<_ACEOF
16575 /* end confdefs.h. */
16576 $ac_includes_default
16577 int
16578 main ()
16579 {
16580 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16581 test_array [0] = 0
16582
16583 ;
16584 return 0;
16585 }
16586 _ACEOF
16587 rm -f conftest.$ac_objext
16588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16589 (eval $ac_compile) 2>conftest.er1
16590 ac_status=$?
16591 grep -v '^ *+' conftest.er1 >conftest.err
16592 rm -f conftest.er1
16593 cat conftest.err >&5
16594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16595 (exit $ac_status); } &&
16596 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16598 (eval $ac_try) 2>&5
16599 ac_status=$?
16600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16601 (exit $ac_status); }; } &&
16602 { ac_try='test -s conftest.$ac_objext'
16603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16604 (eval $ac_try) 2>&5
16605 ac_status=$?
16606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16607 (exit $ac_status); }; }; then
16608 ac_hi=-1 ac_mid=-1
16609 while :; do
16610 cat >conftest.$ac_ext <<_ACEOF
16611 /* confdefs.h. */
16612 _ACEOF
16613 cat confdefs.h >>conftest.$ac_ext
16614 cat >>conftest.$ac_ext <<_ACEOF
16615 /* end confdefs.h. */
16616 $ac_includes_default
16617 int
16618 main ()
16619 {
16620 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16621 test_array [0] = 0
16622
16623 ;
16624 return 0;
16625 }
16626 _ACEOF
16627 rm -f conftest.$ac_objext
16628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16629 (eval $ac_compile) 2>conftest.er1
16630 ac_status=$?
16631 grep -v '^ *+' conftest.er1 >conftest.err
16632 rm -f conftest.er1
16633 cat conftest.err >&5
16634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16635 (exit $ac_status); } &&
16636 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16638 (eval $ac_try) 2>&5
16639 ac_status=$?
16640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16641 (exit $ac_status); }; } &&
16642 { ac_try='test -s conftest.$ac_objext'
16643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16644 (eval $ac_try) 2>&5
16645 ac_status=$?
16646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647 (exit $ac_status); }; }; then
16648 ac_lo=$ac_mid; break
16649 else
16650 echo "$as_me: failed program was:" >&5
16651 sed 's/^/| /' conftest.$ac_ext >&5
16652
16653 ac_hi=`expr '(' $ac_mid ')' - 1`
16654 if test $ac_mid -le $ac_hi; then
16655 ac_lo= ac_hi=
16656 break
16657 fi
16658 ac_mid=`expr 2 '*' $ac_mid`
16659 fi
16660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16661 done
16662 else
16663 echo "$as_me: failed program was:" >&5
16664 sed 's/^/| /' conftest.$ac_ext >&5
16665
16666 ac_lo= ac_hi=
16667 fi
16668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16669 fi
16670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16671 # Binary search between lo and hi bounds.
16672 while test "x$ac_lo" != "x$ac_hi"; do
16673 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16674 cat >conftest.$ac_ext <<_ACEOF
16675 /* confdefs.h. */
16676 _ACEOF
16677 cat confdefs.h >>conftest.$ac_ext
16678 cat >>conftest.$ac_ext <<_ACEOF
16679 /* end confdefs.h. */
16680 $ac_includes_default
16681 int
16682 main ()
16683 {
16684 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16685 test_array [0] = 0
16686
16687 ;
16688 return 0;
16689 }
16690 _ACEOF
16691 rm -f conftest.$ac_objext
16692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16693 (eval $ac_compile) 2>conftest.er1
16694 ac_status=$?
16695 grep -v '^ *+' conftest.er1 >conftest.err
16696 rm -f conftest.er1
16697 cat conftest.err >&5
16698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16699 (exit $ac_status); } &&
16700 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16702 (eval $ac_try) 2>&5
16703 ac_status=$?
16704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16705 (exit $ac_status); }; } &&
16706 { ac_try='test -s conftest.$ac_objext'
16707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16708 (eval $ac_try) 2>&5
16709 ac_status=$?
16710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16711 (exit $ac_status); }; }; then
16712 ac_hi=$ac_mid
16713 else
16714 echo "$as_me: failed program was:" >&5
16715 sed 's/^/| /' conftest.$ac_ext >&5
16716
16717 ac_lo=`expr '(' $ac_mid ')' + 1`
16718 fi
16719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16720 done
16721 case $ac_lo in
16722 ?*) ac_cv_sizeof_size_t=$ac_lo;;
16723 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16724 See \`config.log' for more details." >&5
16725 echo "$as_me: error: cannot compute sizeof (size_t), 77
16726 See \`config.log' for more details." >&2;}
16727 { (exit 1); exit 1; }; } ;;
16728 esac
16729 else
16730 if test "$cross_compiling" = yes; then
16731 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16732 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16733 { (exit 1); exit 1; }; }
16734 else
16735 cat >conftest.$ac_ext <<_ACEOF
16736 /* confdefs.h. */
16737 _ACEOF
16738 cat confdefs.h >>conftest.$ac_ext
16739 cat >>conftest.$ac_ext <<_ACEOF
16740 /* end confdefs.h. */
16741 $ac_includes_default
16742 long longval () { return (long) (sizeof (size_t)); }
16743 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16744 #include <stdio.h>
16745 #include <stdlib.h>
16746 int
16747 main ()
16748 {
16749
16750 FILE *f = fopen ("conftest.val", "w");
16751 if (! f)
16752 exit (1);
16753 if (((long) (sizeof (size_t))) < 0)
16754 {
16755 long i = longval ();
16756 if (i != ((long) (sizeof (size_t))))
16757 exit (1);
16758 fprintf (f, "%ld\n", i);
16759 }
16760 else
16761 {
16762 unsigned long i = ulongval ();
16763 if (i != ((long) (sizeof (size_t))))
16764 exit (1);
16765 fprintf (f, "%lu\n", i);
16766 }
16767 exit (ferror (f) || fclose (f) != 0);
16768
16769 ;
16770 return 0;
16771 }
16772 _ACEOF
16773 rm -f conftest$ac_exeext
16774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16775 (eval $ac_link) 2>&5
16776 ac_status=$?
16777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16778 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16780 (eval $ac_try) 2>&5
16781 ac_status=$?
16782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16783 (exit $ac_status); }; }; then
16784 ac_cv_sizeof_size_t=`cat conftest.val`
16785 else
16786 echo "$as_me: program exited with status $ac_status" >&5
16787 echo "$as_me: failed program was:" >&5
16788 sed 's/^/| /' conftest.$ac_ext >&5
16789
16790 ( exit $ac_status )
16791 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16792 See \`config.log' for more details." >&5
16793 echo "$as_me: error: cannot compute sizeof (size_t), 77
16794 See \`config.log' for more details." >&2;}
16795 { (exit 1); exit 1; }; }
16796 fi
16797 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16798 fi
16799 fi
16800 rm -f conftest.val
16801 else
16802 ac_cv_sizeof_size_t=0
16803 fi
16804 fi
16805 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16806 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16807 cat >>confdefs.h <<_ACEOF
16808 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16809 _ACEOF
16810
16811
16812
16813 case "${host}" in
16814 arm-*-linux* )
16815 echo "$as_me:$LINENO: checking for long long" >&5
16816 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16817 if test "${ac_cv_type_long_long+set}" = set; then
16818 echo $ECHO_N "(cached) $ECHO_C" >&6
16819 else
16820 cat >conftest.$ac_ext <<_ACEOF
16821 /* confdefs.h. */
16822 _ACEOF
16823 cat confdefs.h >>conftest.$ac_ext
16824 cat >>conftest.$ac_ext <<_ACEOF
16825 /* end confdefs.h. */
16826 $ac_includes_default
16827 int
16828 main ()
16829 {
16830 if ((long long *) 0)
16831 return 0;
16832 if (sizeof (long long))
16833 return 0;
16834 ;
16835 return 0;
16836 }
16837 _ACEOF
16838 rm -f conftest.$ac_objext
16839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16840 (eval $ac_compile) 2>conftest.er1
16841 ac_status=$?
16842 grep -v '^ *+' conftest.er1 >conftest.err
16843 rm -f conftest.er1
16844 cat conftest.err >&5
16845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846 (exit $ac_status); } &&
16847 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16849 (eval $ac_try) 2>&5
16850 ac_status=$?
16851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852 (exit $ac_status); }; } &&
16853 { ac_try='test -s conftest.$ac_objext'
16854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16855 (eval $ac_try) 2>&5
16856 ac_status=$?
16857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858 (exit $ac_status); }; }; then
16859 ac_cv_type_long_long=yes
16860 else
16861 echo "$as_me: failed program was:" >&5
16862 sed 's/^/| /' conftest.$ac_ext >&5
16863
16864 ac_cv_type_long_long=no
16865 fi
16866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16867 fi
16868 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16869 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16870
16871 echo "$as_me:$LINENO: checking size of long long" >&5
16872 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16873 if test "${ac_cv_sizeof_long_long+set}" = set; then
16874 echo $ECHO_N "(cached) $ECHO_C" >&6
16875 else
16876 if test "$ac_cv_type_long_long" = yes; then
16877 # The cast to unsigned long works around a bug in the HP C Compiler
16878 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16879 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16880 # This bug is HP SR number 8606223364.
16881 if test "$cross_compiling" = yes; then
16882 # Depending upon the size, compute the lo and hi bounds.
16883 cat >conftest.$ac_ext <<_ACEOF
16884 /* confdefs.h. */
16885 _ACEOF
16886 cat confdefs.h >>conftest.$ac_ext
16887 cat >>conftest.$ac_ext <<_ACEOF
16888 /* end confdefs.h. */
16889 $ac_includes_default
16890 int
16891 main ()
16892 {
16893 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16894 test_array [0] = 0
16895
16896 ;
16897 return 0;
16898 }
16899 _ACEOF
16900 rm -f conftest.$ac_objext
16901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16902 (eval $ac_compile) 2>conftest.er1
16903 ac_status=$?
16904 grep -v '^ *+' conftest.er1 >conftest.err
16905 rm -f conftest.er1
16906 cat conftest.err >&5
16907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16908 (exit $ac_status); } &&
16909 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16911 (eval $ac_try) 2>&5
16912 ac_status=$?
16913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16914 (exit $ac_status); }; } &&
16915 { ac_try='test -s conftest.$ac_objext'
16916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16917 (eval $ac_try) 2>&5
16918 ac_status=$?
16919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16920 (exit $ac_status); }; }; then
16921 ac_lo=0 ac_mid=0
16922 while :; do
16923 cat >conftest.$ac_ext <<_ACEOF
16924 /* confdefs.h. */
16925 _ACEOF
16926 cat confdefs.h >>conftest.$ac_ext
16927 cat >>conftest.$ac_ext <<_ACEOF
16928 /* end confdefs.h. */
16929 $ac_includes_default
16930 int
16931 main ()
16932 {
16933 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16934 test_array [0] = 0
16935
16936 ;
16937 return 0;
16938 }
16939 _ACEOF
16940 rm -f conftest.$ac_objext
16941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16942 (eval $ac_compile) 2>conftest.er1
16943 ac_status=$?
16944 grep -v '^ *+' conftest.er1 >conftest.err
16945 rm -f conftest.er1
16946 cat conftest.err >&5
16947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16948 (exit $ac_status); } &&
16949 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16951 (eval $ac_try) 2>&5
16952 ac_status=$?
16953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16954 (exit $ac_status); }; } &&
16955 { ac_try='test -s conftest.$ac_objext'
16956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16957 (eval $ac_try) 2>&5
16958 ac_status=$?
16959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16960 (exit $ac_status); }; }; then
16961 ac_hi=$ac_mid; break
16962 else
16963 echo "$as_me: failed program was:" >&5
16964 sed 's/^/| /' conftest.$ac_ext >&5
16965
16966 ac_lo=`expr $ac_mid + 1`
16967 if test $ac_lo -le $ac_mid; then
16968 ac_lo= ac_hi=
16969 break
16970 fi
16971 ac_mid=`expr 2 '*' $ac_mid + 1`
16972 fi
16973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16974 done
16975 else
16976 echo "$as_me: failed program was:" >&5
16977 sed 's/^/| /' conftest.$ac_ext >&5
16978
16979 cat >conftest.$ac_ext <<_ACEOF
16980 /* confdefs.h. */
16981 _ACEOF
16982 cat confdefs.h >>conftest.$ac_ext
16983 cat >>conftest.$ac_ext <<_ACEOF
16984 /* end confdefs.h. */
16985 $ac_includes_default
16986 int
16987 main ()
16988 {
16989 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16990 test_array [0] = 0
16991
16992 ;
16993 return 0;
16994 }
16995 _ACEOF
16996 rm -f conftest.$ac_objext
16997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16998 (eval $ac_compile) 2>conftest.er1
16999 ac_status=$?
17000 grep -v '^ *+' conftest.er1 >conftest.err
17001 rm -f conftest.er1
17002 cat conftest.err >&5
17003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17004 (exit $ac_status); } &&
17005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17007 (eval $ac_try) 2>&5
17008 ac_status=$?
17009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17010 (exit $ac_status); }; } &&
17011 { ac_try='test -s conftest.$ac_objext'
17012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17013 (eval $ac_try) 2>&5
17014 ac_status=$?
17015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17016 (exit $ac_status); }; }; then
17017 ac_hi=-1 ac_mid=-1
17018 while :; do
17019 cat >conftest.$ac_ext <<_ACEOF
17020 /* confdefs.h. */
17021 _ACEOF
17022 cat confdefs.h >>conftest.$ac_ext
17023 cat >>conftest.$ac_ext <<_ACEOF
17024 /* end confdefs.h. */
17025 $ac_includes_default
17026 int
17027 main ()
17028 {
17029 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17030 test_array [0] = 0
17031
17032 ;
17033 return 0;
17034 }
17035 _ACEOF
17036 rm -f conftest.$ac_objext
17037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17038 (eval $ac_compile) 2>conftest.er1
17039 ac_status=$?
17040 grep -v '^ *+' conftest.er1 >conftest.err
17041 rm -f conftest.er1
17042 cat conftest.err >&5
17043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17044 (exit $ac_status); } &&
17045 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17047 (eval $ac_try) 2>&5
17048 ac_status=$?
17049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17050 (exit $ac_status); }; } &&
17051 { ac_try='test -s conftest.$ac_objext'
17052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17053 (eval $ac_try) 2>&5
17054 ac_status=$?
17055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17056 (exit $ac_status); }; }; then
17057 ac_lo=$ac_mid; break
17058 else
17059 echo "$as_me: failed program was:" >&5
17060 sed 's/^/| /' conftest.$ac_ext >&5
17061
17062 ac_hi=`expr '(' $ac_mid ')' - 1`
17063 if test $ac_mid -le $ac_hi; then
17064 ac_lo= ac_hi=
17065 break
17066 fi
17067 ac_mid=`expr 2 '*' $ac_mid`
17068 fi
17069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17070 done
17071 else
17072 echo "$as_me: failed program was:" >&5
17073 sed 's/^/| /' conftest.$ac_ext >&5
17074
17075 ac_lo= ac_hi=
17076 fi
17077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17078 fi
17079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17080 # Binary search between lo and hi bounds.
17081 while test "x$ac_lo" != "x$ac_hi"; do
17082 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17083 cat >conftest.$ac_ext <<_ACEOF
17084 /* confdefs.h. */
17085 _ACEOF
17086 cat confdefs.h >>conftest.$ac_ext
17087 cat >>conftest.$ac_ext <<_ACEOF
17088 /* end confdefs.h. */
17089 $ac_includes_default
17090 int
17091 main ()
17092 {
17093 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17094 test_array [0] = 0
17095
17096 ;
17097 return 0;
17098 }
17099 _ACEOF
17100 rm -f conftest.$ac_objext
17101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17102 (eval $ac_compile) 2>conftest.er1
17103 ac_status=$?
17104 grep -v '^ *+' conftest.er1 >conftest.err
17105 rm -f conftest.er1
17106 cat conftest.err >&5
17107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17108 (exit $ac_status); } &&
17109 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17111 (eval $ac_try) 2>&5
17112 ac_status=$?
17113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17114 (exit $ac_status); }; } &&
17115 { ac_try='test -s conftest.$ac_objext'
17116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17117 (eval $ac_try) 2>&5
17118 ac_status=$?
17119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17120 (exit $ac_status); }; }; then
17121 ac_hi=$ac_mid
17122 else
17123 echo "$as_me: failed program was:" >&5
17124 sed 's/^/| /' conftest.$ac_ext >&5
17125
17126 ac_lo=`expr '(' $ac_mid ')' + 1`
17127 fi
17128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17129 done
17130 case $ac_lo in
17131 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17132 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17133 See \`config.log' for more details." >&5
17134 echo "$as_me: error: cannot compute sizeof (long long), 77
17135 See \`config.log' for more details." >&2;}
17136 { (exit 1); exit 1; }; } ;;
17137 esac
17138 else
17139 if test "$cross_compiling" = yes; then
17140 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17141 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17142 { (exit 1); exit 1; }; }
17143 else
17144 cat >conftest.$ac_ext <<_ACEOF
17145 /* confdefs.h. */
17146 _ACEOF
17147 cat confdefs.h >>conftest.$ac_ext
17148 cat >>conftest.$ac_ext <<_ACEOF
17149 /* end confdefs.h. */
17150 $ac_includes_default
17151 long longval () { return (long) (sizeof (long long)); }
17152 unsigned long ulongval () { return (long) (sizeof (long long)); }
17153 #include <stdio.h>
17154 #include <stdlib.h>
17155 int
17156 main ()
17157 {
17158
17159 FILE *f = fopen ("conftest.val", "w");
17160 if (! f)
17161 exit (1);
17162 if (((long) (sizeof (long long))) < 0)
17163 {
17164 long i = longval ();
17165 if (i != ((long) (sizeof (long long))))
17166 exit (1);
17167 fprintf (f, "%ld\n", i);
17168 }
17169 else
17170 {
17171 unsigned long i = ulongval ();
17172 if (i != ((long) (sizeof (long long))))
17173 exit (1);
17174 fprintf (f, "%lu\n", i);
17175 }
17176 exit (ferror (f) || fclose (f) != 0);
17177
17178 ;
17179 return 0;
17180 }
17181 _ACEOF
17182 rm -f conftest$ac_exeext
17183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17184 (eval $ac_link) 2>&5
17185 ac_status=$?
17186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17187 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17189 (eval $ac_try) 2>&5
17190 ac_status=$?
17191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17192 (exit $ac_status); }; }; then
17193 ac_cv_sizeof_long_long=`cat conftest.val`
17194 else
17195 echo "$as_me: program exited with status $ac_status" >&5
17196 echo "$as_me: failed program was:" >&5
17197 sed 's/^/| /' conftest.$ac_ext >&5
17198
17199 ( exit $ac_status )
17200 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17201 See \`config.log' for more details." >&5
17202 echo "$as_me: error: cannot compute sizeof (long long), 77
17203 See \`config.log' for more details." >&2;}
17204 { (exit 1); exit 1; }; }
17205 fi
17206 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17207 fi
17208 fi
17209 rm -f conftest.val
17210 else
17211 ac_cv_sizeof_long_long=0
17212 fi
17213 fi
17214 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17215 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17216 cat >>confdefs.h <<_ACEOF
17217 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17218 _ACEOF
17219
17220
17221 ;;
17222 *-hp-hpux* )
17223 echo "$as_me:$LINENO: checking for long long" >&5
17224 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17225 if test "${ac_cv_type_long_long+set}" = set; then
17226 echo $ECHO_N "(cached) $ECHO_C" >&6
17227 else
17228 cat >conftest.$ac_ext <<_ACEOF
17229 /* confdefs.h. */
17230 _ACEOF
17231 cat confdefs.h >>conftest.$ac_ext
17232 cat >>conftest.$ac_ext <<_ACEOF
17233 /* end confdefs.h. */
17234 $ac_includes_default
17235 int
17236 main ()
17237 {
17238 if ((long long *) 0)
17239 return 0;
17240 if (sizeof (long long))
17241 return 0;
17242 ;
17243 return 0;
17244 }
17245 _ACEOF
17246 rm -f conftest.$ac_objext
17247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17248 (eval $ac_compile) 2>conftest.er1
17249 ac_status=$?
17250 grep -v '^ *+' conftest.er1 >conftest.err
17251 rm -f conftest.er1
17252 cat conftest.err >&5
17253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17254 (exit $ac_status); } &&
17255 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17257 (eval $ac_try) 2>&5
17258 ac_status=$?
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); }; } &&
17261 { ac_try='test -s conftest.$ac_objext'
17262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17263 (eval $ac_try) 2>&5
17264 ac_status=$?
17265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17266 (exit $ac_status); }; }; then
17267 ac_cv_type_long_long=yes
17268 else
17269 echo "$as_me: failed program was:" >&5
17270 sed 's/^/| /' conftest.$ac_ext >&5
17271
17272 ac_cv_type_long_long=no
17273 fi
17274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17275 fi
17276 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17277 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17278
17279 echo "$as_me:$LINENO: checking size of long long" >&5
17280 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17281 if test "${ac_cv_sizeof_long_long+set}" = set; then
17282 echo $ECHO_N "(cached) $ECHO_C" >&6
17283 else
17284 if test "$ac_cv_type_long_long" = yes; then
17285 # The cast to unsigned long works around a bug in the HP C Compiler
17286 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17287 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17288 # This bug is HP SR number 8606223364.
17289 if test "$cross_compiling" = yes; then
17290 # Depending upon the size, compute the lo and hi bounds.
17291 cat >conftest.$ac_ext <<_ACEOF
17292 /* confdefs.h. */
17293 _ACEOF
17294 cat confdefs.h >>conftest.$ac_ext
17295 cat >>conftest.$ac_ext <<_ACEOF
17296 /* end confdefs.h. */
17297 $ac_includes_default
17298 int
17299 main ()
17300 {
17301 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17302 test_array [0] = 0
17303
17304 ;
17305 return 0;
17306 }
17307 _ACEOF
17308 rm -f conftest.$ac_objext
17309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17310 (eval $ac_compile) 2>conftest.er1
17311 ac_status=$?
17312 grep -v '^ *+' conftest.er1 >conftest.err
17313 rm -f conftest.er1
17314 cat conftest.err >&5
17315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17316 (exit $ac_status); } &&
17317 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17319 (eval $ac_try) 2>&5
17320 ac_status=$?
17321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17322 (exit $ac_status); }; } &&
17323 { ac_try='test -s conftest.$ac_objext'
17324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17325 (eval $ac_try) 2>&5
17326 ac_status=$?
17327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17328 (exit $ac_status); }; }; then
17329 ac_lo=0 ac_mid=0
17330 while :; do
17331 cat >conftest.$ac_ext <<_ACEOF
17332 /* confdefs.h. */
17333 _ACEOF
17334 cat confdefs.h >>conftest.$ac_ext
17335 cat >>conftest.$ac_ext <<_ACEOF
17336 /* end confdefs.h. */
17337 $ac_includes_default
17338 int
17339 main ()
17340 {
17341 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17342 test_array [0] = 0
17343
17344 ;
17345 return 0;
17346 }
17347 _ACEOF
17348 rm -f conftest.$ac_objext
17349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17350 (eval $ac_compile) 2>conftest.er1
17351 ac_status=$?
17352 grep -v '^ *+' conftest.er1 >conftest.err
17353 rm -f conftest.er1
17354 cat conftest.err >&5
17355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17356 (exit $ac_status); } &&
17357 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17359 (eval $ac_try) 2>&5
17360 ac_status=$?
17361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17362 (exit $ac_status); }; } &&
17363 { ac_try='test -s conftest.$ac_objext'
17364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17365 (eval $ac_try) 2>&5
17366 ac_status=$?
17367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17368 (exit $ac_status); }; }; then
17369 ac_hi=$ac_mid; break
17370 else
17371 echo "$as_me: failed program was:" >&5
17372 sed 's/^/| /' conftest.$ac_ext >&5
17373
17374 ac_lo=`expr $ac_mid + 1`
17375 if test $ac_lo -le $ac_mid; then
17376 ac_lo= ac_hi=
17377 break
17378 fi
17379 ac_mid=`expr 2 '*' $ac_mid + 1`
17380 fi
17381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17382 done
17383 else
17384 echo "$as_me: failed program was:" >&5
17385 sed 's/^/| /' conftest.$ac_ext >&5
17386
17387 cat >conftest.$ac_ext <<_ACEOF
17388 /* confdefs.h. */
17389 _ACEOF
17390 cat confdefs.h >>conftest.$ac_ext
17391 cat >>conftest.$ac_ext <<_ACEOF
17392 /* end confdefs.h. */
17393 $ac_includes_default
17394 int
17395 main ()
17396 {
17397 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17398 test_array [0] = 0
17399
17400 ;
17401 return 0;
17402 }
17403 _ACEOF
17404 rm -f conftest.$ac_objext
17405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17406 (eval $ac_compile) 2>conftest.er1
17407 ac_status=$?
17408 grep -v '^ *+' conftest.er1 >conftest.err
17409 rm -f conftest.er1
17410 cat conftest.err >&5
17411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17412 (exit $ac_status); } &&
17413 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17415 (eval $ac_try) 2>&5
17416 ac_status=$?
17417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17418 (exit $ac_status); }; } &&
17419 { ac_try='test -s conftest.$ac_objext'
17420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17421 (eval $ac_try) 2>&5
17422 ac_status=$?
17423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17424 (exit $ac_status); }; }; then
17425 ac_hi=-1 ac_mid=-1
17426 while :; do
17427 cat >conftest.$ac_ext <<_ACEOF
17428 /* confdefs.h. */
17429 _ACEOF
17430 cat confdefs.h >>conftest.$ac_ext
17431 cat >>conftest.$ac_ext <<_ACEOF
17432 /* end confdefs.h. */
17433 $ac_includes_default
17434 int
17435 main ()
17436 {
17437 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17438 test_array [0] = 0
17439
17440 ;
17441 return 0;
17442 }
17443 _ACEOF
17444 rm -f conftest.$ac_objext
17445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17446 (eval $ac_compile) 2>conftest.er1
17447 ac_status=$?
17448 grep -v '^ *+' conftest.er1 >conftest.err
17449 rm -f conftest.er1
17450 cat conftest.err >&5
17451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17452 (exit $ac_status); } &&
17453 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17455 (eval $ac_try) 2>&5
17456 ac_status=$?
17457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17458 (exit $ac_status); }; } &&
17459 { ac_try='test -s conftest.$ac_objext'
17460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17461 (eval $ac_try) 2>&5
17462 ac_status=$?
17463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17464 (exit $ac_status); }; }; then
17465 ac_lo=$ac_mid; break
17466 else
17467 echo "$as_me: failed program was:" >&5
17468 sed 's/^/| /' conftest.$ac_ext >&5
17469
17470 ac_hi=`expr '(' $ac_mid ')' - 1`
17471 if test $ac_mid -le $ac_hi; then
17472 ac_lo= ac_hi=
17473 break
17474 fi
17475 ac_mid=`expr 2 '*' $ac_mid`
17476 fi
17477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17478 done
17479 else
17480 echo "$as_me: failed program was:" >&5
17481 sed 's/^/| /' conftest.$ac_ext >&5
17482
17483 ac_lo= ac_hi=
17484 fi
17485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17486 fi
17487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17488 # Binary search between lo and hi bounds.
17489 while test "x$ac_lo" != "x$ac_hi"; do
17490 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17491 cat >conftest.$ac_ext <<_ACEOF
17492 /* confdefs.h. */
17493 _ACEOF
17494 cat confdefs.h >>conftest.$ac_ext
17495 cat >>conftest.$ac_ext <<_ACEOF
17496 /* end confdefs.h. */
17497 $ac_includes_default
17498 int
17499 main ()
17500 {
17501 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17502 test_array [0] = 0
17503
17504 ;
17505 return 0;
17506 }
17507 _ACEOF
17508 rm -f conftest.$ac_objext
17509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17510 (eval $ac_compile) 2>conftest.er1
17511 ac_status=$?
17512 grep -v '^ *+' conftest.er1 >conftest.err
17513 rm -f conftest.er1
17514 cat conftest.err >&5
17515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17516 (exit $ac_status); } &&
17517 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
17523 { ac_try='test -s conftest.$ac_objext'
17524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17525 (eval $ac_try) 2>&5
17526 ac_status=$?
17527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17528 (exit $ac_status); }; }; then
17529 ac_hi=$ac_mid
17530 else
17531 echo "$as_me: failed program was:" >&5
17532 sed 's/^/| /' conftest.$ac_ext >&5
17533
17534 ac_lo=`expr '(' $ac_mid ')' + 1`
17535 fi
17536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17537 done
17538 case $ac_lo in
17539 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17540 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17541 See \`config.log' for more details." >&5
17542 echo "$as_me: error: cannot compute sizeof (long long), 77
17543 See \`config.log' for more details." >&2;}
17544 { (exit 1); exit 1; }; } ;;
17545 esac
17546 else
17547 if test "$cross_compiling" = yes; then
17548 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17549 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17550 { (exit 1); exit 1; }; }
17551 else
17552 cat >conftest.$ac_ext <<_ACEOF
17553 /* confdefs.h. */
17554 _ACEOF
17555 cat confdefs.h >>conftest.$ac_ext
17556 cat >>conftest.$ac_ext <<_ACEOF
17557 /* end confdefs.h. */
17558 $ac_includes_default
17559 long longval () { return (long) (sizeof (long long)); }
17560 unsigned long ulongval () { return (long) (sizeof (long long)); }
17561 #include <stdio.h>
17562 #include <stdlib.h>
17563 int
17564 main ()
17565 {
17566
17567 FILE *f = fopen ("conftest.val", "w");
17568 if (! f)
17569 exit (1);
17570 if (((long) (sizeof (long long))) < 0)
17571 {
17572 long i = longval ();
17573 if (i != ((long) (sizeof (long long))))
17574 exit (1);
17575 fprintf (f, "%ld\n", i);
17576 }
17577 else
17578 {
17579 unsigned long i = ulongval ();
17580 if (i != ((long) (sizeof (long long))))
17581 exit (1);
17582 fprintf (f, "%lu\n", i);
17583 }
17584 exit (ferror (f) || fclose (f) != 0);
17585
17586 ;
17587 return 0;
17588 }
17589 _ACEOF
17590 rm -f conftest$ac_exeext
17591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17592 (eval $ac_link) 2>&5
17593 ac_status=$?
17594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17595 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17597 (eval $ac_try) 2>&5
17598 ac_status=$?
17599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17600 (exit $ac_status); }; }; then
17601 ac_cv_sizeof_long_long=`cat conftest.val`
17602 else
17603 echo "$as_me: program exited with status $ac_status" >&5
17604 echo "$as_me: failed program was:" >&5
17605 sed 's/^/| /' conftest.$ac_ext >&5
17606
17607 ( exit $ac_status )
17608 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17609 See \`config.log' for more details." >&5
17610 echo "$as_me: error: cannot compute sizeof (long long), 77
17611 See \`config.log' for more details." >&2;}
17612 { (exit 1); exit 1; }; }
17613 fi
17614 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17615 fi
17616 fi
17617 rm -f conftest.val
17618 else
17619 ac_cv_sizeof_long_long=0
17620 fi
17621 fi
17622 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17623 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17624 cat >>confdefs.h <<_ACEOF
17625 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17626 _ACEOF
17627
17628
17629 if test "$ac_cv_sizeof_long_long" != "0"; then
17630 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
17631 fi
17632 ;;
17633 * )
17634 echo "$as_me:$LINENO: checking for long long" >&5
17635 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17636 if test "${ac_cv_type_long_long+set}" = set; then
17637 echo $ECHO_N "(cached) $ECHO_C" >&6
17638 else
17639 cat >conftest.$ac_ext <<_ACEOF
17640 /* confdefs.h. */
17641 _ACEOF
17642 cat confdefs.h >>conftest.$ac_ext
17643 cat >>conftest.$ac_ext <<_ACEOF
17644 /* end confdefs.h. */
17645 $ac_includes_default
17646 int
17647 main ()
17648 {
17649 if ((long long *) 0)
17650 return 0;
17651 if (sizeof (long long))
17652 return 0;
17653 ;
17654 return 0;
17655 }
17656 _ACEOF
17657 rm -f conftest.$ac_objext
17658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17659 (eval $ac_compile) 2>conftest.er1
17660 ac_status=$?
17661 grep -v '^ *+' conftest.er1 >conftest.err
17662 rm -f conftest.er1
17663 cat conftest.err >&5
17664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17665 (exit $ac_status); } &&
17666 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17668 (eval $ac_try) 2>&5
17669 ac_status=$?
17670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17671 (exit $ac_status); }; } &&
17672 { ac_try='test -s conftest.$ac_objext'
17673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17674 (eval $ac_try) 2>&5
17675 ac_status=$?
17676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17677 (exit $ac_status); }; }; then
17678 ac_cv_type_long_long=yes
17679 else
17680 echo "$as_me: failed program was:" >&5
17681 sed 's/^/| /' conftest.$ac_ext >&5
17682
17683 ac_cv_type_long_long=no
17684 fi
17685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17686 fi
17687 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17688 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17689
17690 echo "$as_me:$LINENO: checking size of long long" >&5
17691 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17692 if test "${ac_cv_sizeof_long_long+set}" = set; then
17693 echo $ECHO_N "(cached) $ECHO_C" >&6
17694 else
17695 if test "$ac_cv_type_long_long" = yes; then
17696 # The cast to unsigned long works around a bug in the HP C Compiler
17697 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17698 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17699 # This bug is HP SR number 8606223364.
17700 if test "$cross_compiling" = yes; then
17701 # Depending upon the size, compute the lo and hi bounds.
17702 cat >conftest.$ac_ext <<_ACEOF
17703 /* confdefs.h. */
17704 _ACEOF
17705 cat confdefs.h >>conftest.$ac_ext
17706 cat >>conftest.$ac_ext <<_ACEOF
17707 /* end confdefs.h. */
17708 $ac_includes_default
17709 int
17710 main ()
17711 {
17712 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17713 test_array [0] = 0
17714
17715 ;
17716 return 0;
17717 }
17718 _ACEOF
17719 rm -f conftest.$ac_objext
17720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17721 (eval $ac_compile) 2>conftest.er1
17722 ac_status=$?
17723 grep -v '^ *+' conftest.er1 >conftest.err
17724 rm -f conftest.er1
17725 cat conftest.err >&5
17726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17727 (exit $ac_status); } &&
17728 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17730 (eval $ac_try) 2>&5
17731 ac_status=$?
17732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17733 (exit $ac_status); }; } &&
17734 { ac_try='test -s conftest.$ac_objext'
17735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17736 (eval $ac_try) 2>&5
17737 ac_status=$?
17738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17739 (exit $ac_status); }; }; then
17740 ac_lo=0 ac_mid=0
17741 while :; do
17742 cat >conftest.$ac_ext <<_ACEOF
17743 /* confdefs.h. */
17744 _ACEOF
17745 cat confdefs.h >>conftest.$ac_ext
17746 cat >>conftest.$ac_ext <<_ACEOF
17747 /* end confdefs.h. */
17748 $ac_includes_default
17749 int
17750 main ()
17751 {
17752 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17753 test_array [0] = 0
17754
17755 ;
17756 return 0;
17757 }
17758 _ACEOF
17759 rm -f conftest.$ac_objext
17760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17761 (eval $ac_compile) 2>conftest.er1
17762 ac_status=$?
17763 grep -v '^ *+' conftest.er1 >conftest.err
17764 rm -f conftest.er1
17765 cat conftest.err >&5
17766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767 (exit $ac_status); } &&
17768 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17770 (eval $ac_try) 2>&5
17771 ac_status=$?
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); }; } &&
17774 { ac_try='test -s conftest.$ac_objext'
17775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17776 (eval $ac_try) 2>&5
17777 ac_status=$?
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); }; }; then
17780 ac_hi=$ac_mid; break
17781 else
17782 echo "$as_me: failed program was:" >&5
17783 sed 's/^/| /' conftest.$ac_ext >&5
17784
17785 ac_lo=`expr $ac_mid + 1`
17786 if test $ac_lo -le $ac_mid; then
17787 ac_lo= ac_hi=
17788 break
17789 fi
17790 ac_mid=`expr 2 '*' $ac_mid + 1`
17791 fi
17792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17793 done
17794 else
17795 echo "$as_me: failed program was:" >&5
17796 sed 's/^/| /' conftest.$ac_ext >&5
17797
17798 cat >conftest.$ac_ext <<_ACEOF
17799 /* confdefs.h. */
17800 _ACEOF
17801 cat confdefs.h >>conftest.$ac_ext
17802 cat >>conftest.$ac_ext <<_ACEOF
17803 /* end confdefs.h. */
17804 $ac_includes_default
17805 int
17806 main ()
17807 {
17808 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17809 test_array [0] = 0
17810
17811 ;
17812 return 0;
17813 }
17814 _ACEOF
17815 rm -f conftest.$ac_objext
17816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17817 (eval $ac_compile) 2>conftest.er1
17818 ac_status=$?
17819 grep -v '^ *+' conftest.er1 >conftest.err
17820 rm -f conftest.er1
17821 cat conftest.err >&5
17822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17823 (exit $ac_status); } &&
17824 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17826 (eval $ac_try) 2>&5
17827 ac_status=$?
17828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17829 (exit $ac_status); }; } &&
17830 { ac_try='test -s conftest.$ac_objext'
17831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17832 (eval $ac_try) 2>&5
17833 ac_status=$?
17834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17835 (exit $ac_status); }; }; then
17836 ac_hi=-1 ac_mid=-1
17837 while :; do
17838 cat >conftest.$ac_ext <<_ACEOF
17839 /* confdefs.h. */
17840 _ACEOF
17841 cat confdefs.h >>conftest.$ac_ext
17842 cat >>conftest.$ac_ext <<_ACEOF
17843 /* end confdefs.h. */
17844 $ac_includes_default
17845 int
17846 main ()
17847 {
17848 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17849 test_array [0] = 0
17850
17851 ;
17852 return 0;
17853 }
17854 _ACEOF
17855 rm -f conftest.$ac_objext
17856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17857 (eval $ac_compile) 2>conftest.er1
17858 ac_status=$?
17859 grep -v '^ *+' conftest.er1 >conftest.err
17860 rm -f conftest.er1
17861 cat conftest.err >&5
17862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17863 (exit $ac_status); } &&
17864 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17866 (eval $ac_try) 2>&5
17867 ac_status=$?
17868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17869 (exit $ac_status); }; } &&
17870 { ac_try='test -s conftest.$ac_objext'
17871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17872 (eval $ac_try) 2>&5
17873 ac_status=$?
17874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17875 (exit $ac_status); }; }; then
17876 ac_lo=$ac_mid; break
17877 else
17878 echo "$as_me: failed program was:" >&5
17879 sed 's/^/| /' conftest.$ac_ext >&5
17880
17881 ac_hi=`expr '(' $ac_mid ')' - 1`
17882 if test $ac_mid -le $ac_hi; then
17883 ac_lo= ac_hi=
17884 break
17885 fi
17886 ac_mid=`expr 2 '*' $ac_mid`
17887 fi
17888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17889 done
17890 else
17891 echo "$as_me: failed program was:" >&5
17892 sed 's/^/| /' conftest.$ac_ext >&5
17893
17894 ac_lo= ac_hi=
17895 fi
17896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17897 fi
17898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17899 # Binary search between lo and hi bounds.
17900 while test "x$ac_lo" != "x$ac_hi"; do
17901 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17902 cat >conftest.$ac_ext <<_ACEOF
17903 /* confdefs.h. */
17904 _ACEOF
17905 cat confdefs.h >>conftest.$ac_ext
17906 cat >>conftest.$ac_ext <<_ACEOF
17907 /* end confdefs.h. */
17908 $ac_includes_default
17909 int
17910 main ()
17911 {
17912 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17913 test_array [0] = 0
17914
17915 ;
17916 return 0;
17917 }
17918 _ACEOF
17919 rm -f conftest.$ac_objext
17920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17921 (eval $ac_compile) 2>conftest.er1
17922 ac_status=$?
17923 grep -v '^ *+' conftest.er1 >conftest.err
17924 rm -f conftest.er1
17925 cat conftest.err >&5
17926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17927 (exit $ac_status); } &&
17928 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17930 (eval $ac_try) 2>&5
17931 ac_status=$?
17932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17933 (exit $ac_status); }; } &&
17934 { ac_try='test -s conftest.$ac_objext'
17935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17936 (eval $ac_try) 2>&5
17937 ac_status=$?
17938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17939 (exit $ac_status); }; }; then
17940 ac_hi=$ac_mid
17941 else
17942 echo "$as_me: failed program was:" >&5
17943 sed 's/^/| /' conftest.$ac_ext >&5
17944
17945 ac_lo=`expr '(' $ac_mid ')' + 1`
17946 fi
17947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17948 done
17949 case $ac_lo in
17950 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17951 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17952 See \`config.log' for more details." >&5
17953 echo "$as_me: error: cannot compute sizeof (long long), 77
17954 See \`config.log' for more details." >&2;}
17955 { (exit 1); exit 1; }; } ;;
17956 esac
17957 else
17958 if test "$cross_compiling" = yes; then
17959 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17960 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17961 { (exit 1); exit 1; }; }
17962 else
17963 cat >conftest.$ac_ext <<_ACEOF
17964 /* confdefs.h. */
17965 _ACEOF
17966 cat confdefs.h >>conftest.$ac_ext
17967 cat >>conftest.$ac_ext <<_ACEOF
17968 /* end confdefs.h. */
17969 $ac_includes_default
17970 long longval () { return (long) (sizeof (long long)); }
17971 unsigned long ulongval () { return (long) (sizeof (long long)); }
17972 #include <stdio.h>
17973 #include <stdlib.h>
17974 int
17975 main ()
17976 {
17977
17978 FILE *f = fopen ("conftest.val", "w");
17979 if (! f)
17980 exit (1);
17981 if (((long) (sizeof (long long))) < 0)
17982 {
17983 long i = longval ();
17984 if (i != ((long) (sizeof (long long))))
17985 exit (1);
17986 fprintf (f, "%ld\n", i);
17987 }
17988 else
17989 {
17990 unsigned long i = ulongval ();
17991 if (i != ((long) (sizeof (long long))))
17992 exit (1);
17993 fprintf (f, "%lu\n", i);
17994 }
17995 exit (ferror (f) || fclose (f) != 0);
17996
17997 ;
17998 return 0;
17999 }
18000 _ACEOF
18001 rm -f conftest$ac_exeext
18002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18003 (eval $ac_link) 2>&5
18004 ac_status=$?
18005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18006 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18008 (eval $ac_try) 2>&5
18009 ac_status=$?
18010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18011 (exit $ac_status); }; }; then
18012 ac_cv_sizeof_long_long=`cat conftest.val`
18013 else
18014 echo "$as_me: program exited with status $ac_status" >&5
18015 echo "$as_me: failed program was:" >&5
18016 sed 's/^/| /' conftest.$ac_ext >&5
18017
18018 ( exit $ac_status )
18019 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18020 See \`config.log' for more details." >&5
18021 echo "$as_me: error: cannot compute sizeof (long long), 77
18022 See \`config.log' for more details." >&2;}
18023 { (exit 1); exit 1; }; }
18024 fi
18025 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18026 fi
18027 fi
18028 rm -f conftest.val
18029 else
18030 ac_cv_sizeof_long_long=0
18031 fi
18032 fi
18033 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18034 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18035 cat >>confdefs.h <<_ACEOF
18036 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18037 _ACEOF
18038
18039
18040 esac
18041
18042 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18043 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18044 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18045 echo $ECHO_N "(cached) $ECHO_C" >&6
18046 else
18047
18048 if test "$cross_compiling" = yes; then
18049
18050 case "${host}" in
18051 *-pc-msdosdjgpp )
18052 wx_cv_sizeof_wchar_t=0
18053 ;;
18054 * )
18055 wx_cv_sizeof_wchar_t=4
18056 ;;
18057 esac
18058
18059
18060 else
18061 cat >conftest.$ac_ext <<_ACEOF
18062 /* confdefs.h. */
18063 _ACEOF
18064 cat confdefs.h >>conftest.$ac_ext
18065 cat >>conftest.$ac_ext <<_ACEOF
18066 /* end confdefs.h. */
18067
18068 /* DJGPP only has fake wchar_t: */
18069 #ifdef __DJGPP__
18070 # error "fake wchar_t"
18071 #endif
18072 #ifdef HAVE_WCHAR_H
18073 # ifdef __CYGWIN__
18074 # include <stddef.h>
18075 # endif
18076 # include <wchar.h>
18077 #endif
18078 #ifdef HAVE_STDLIB_H
18079 # include <stdlib.h>
18080 #endif
18081 #include <stdio.h>
18082 int main()
18083 {
18084 FILE *f=fopen("conftestval", "w");
18085 if (!f) exit(1);
18086 fprintf(f, "%i", sizeof(wchar_t));
18087 exit(0);
18088 }
18089
18090 _ACEOF
18091 rm -f conftest$ac_exeext
18092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18093 (eval $ac_link) 2>&5
18094 ac_status=$?
18095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18096 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18098 (eval $ac_try) 2>&5
18099 ac_status=$?
18100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18101 (exit $ac_status); }; }; then
18102 wx_cv_sizeof_wchar_t=`cat conftestval`
18103 else
18104 echo "$as_me: program exited with status $ac_status" >&5
18105 echo "$as_me: failed program was:" >&5
18106 sed 's/^/| /' conftest.$ac_ext >&5
18107
18108 ( exit $ac_status )
18109 wx_cv_sizeof_wchar_t=0
18110 fi
18111 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18112 fi
18113
18114 fi
18115 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18116 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18117
18118 cat >>confdefs.h <<_ACEOF
18119 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18120 _ACEOF
18121
18122
18123 # Check whether --enable-largefile or --disable-largefile was given.
18124 if test "${enable_largefile+set}" = set; then
18125 enableval="$enable_largefile"
18126
18127 fi;
18128 if test "$enable_largefile" != no; then
18129 wx_largefile=no
18130
18131 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18132 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18133 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18134 echo $ECHO_N "(cached) $ECHO_C" >&6
18135 else
18136
18137 cat >conftest.$ac_ext <<_ACEOF
18138 /* confdefs.h. */
18139 _ACEOF
18140 cat confdefs.h >>conftest.$ac_ext
18141 cat >>conftest.$ac_ext <<_ACEOF
18142 /* end confdefs.h. */
18143 #define _FILE_OFFSET_BITS 64
18144 #include <sys/types.h>
18145 int
18146 main ()
18147 {
18148 typedef struct {
18149 unsigned int field: sizeof(off_t) == 8;
18150 } wxlf;
18151
18152 ;
18153 return 0;
18154 }
18155 _ACEOF
18156 rm -f conftest.$ac_objext
18157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18158 (eval $ac_compile) 2>conftest.er1
18159 ac_status=$?
18160 grep -v '^ *+' conftest.er1 >conftest.err
18161 rm -f conftest.er1
18162 cat conftest.err >&5
18163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18164 (exit $ac_status); } &&
18165 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18167 (eval $ac_try) 2>&5
18168 ac_status=$?
18169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18170 (exit $ac_status); }; } &&
18171 { ac_try='test -s conftest.$ac_objext'
18172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18173 (eval $ac_try) 2>&5
18174 ac_status=$?
18175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18176 (exit $ac_status); }; }; then
18177 ac_cv_sys_file_offset_bits=64
18178 else
18179 echo "$as_me: failed program was:" >&5
18180 sed 's/^/| /' conftest.$ac_ext >&5
18181
18182 ac_cv_sys_file_offset_bits=no
18183 fi
18184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18185
18186
18187 fi
18188 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18189 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18190
18191 if test "$ac_cv_sys_file_offset_bits" != no; then
18192 wx_largefile=yes
18193 cat >>confdefs.h <<_ACEOF
18194 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18195 _ACEOF
18196
18197 fi
18198
18199 if test "x$wx_largefile" != "xyes"; then
18200
18201 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18202 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18203 if test "${ac_cv_sys_large_files+set}" = set; then
18204 echo $ECHO_N "(cached) $ECHO_C" >&6
18205 else
18206
18207 cat >conftest.$ac_ext <<_ACEOF
18208 /* confdefs.h. */
18209 _ACEOF
18210 cat confdefs.h >>conftest.$ac_ext
18211 cat >>conftest.$ac_ext <<_ACEOF
18212 /* end confdefs.h. */
18213 #define _LARGE_FILES 1
18214 #include <sys/types.h>
18215 int
18216 main ()
18217 {
18218 typedef struct {
18219 unsigned int field: sizeof(off_t) == 8;
18220 } wxlf;
18221
18222 ;
18223 return 0;
18224 }
18225 _ACEOF
18226 rm -f conftest.$ac_objext
18227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18228 (eval $ac_compile) 2>conftest.er1
18229 ac_status=$?
18230 grep -v '^ *+' conftest.er1 >conftest.err
18231 rm -f conftest.er1
18232 cat conftest.err >&5
18233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18234 (exit $ac_status); } &&
18235 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18237 (eval $ac_try) 2>&5
18238 ac_status=$?
18239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18240 (exit $ac_status); }; } &&
18241 { ac_try='test -s conftest.$ac_objext'
18242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18243 (eval $ac_try) 2>&5
18244 ac_status=$?
18245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18246 (exit $ac_status); }; }; then
18247 ac_cv_sys_large_files=1
18248 else
18249 echo "$as_me: failed program was:" >&5
18250 sed 's/^/| /' conftest.$ac_ext >&5
18251
18252 ac_cv_sys_large_files=no
18253 fi
18254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18255
18256
18257 fi
18258 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18259 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18260
18261 if test "$ac_cv_sys_large_files" != no; then
18262 wx_largefile=yes
18263 cat >>confdefs.h <<_ACEOF
18264 #define _LARGE_FILES $ac_cv_sys_large_files
18265 _ACEOF
18266
18267 fi
18268
18269 fi
18270
18271 echo "$as_me:$LINENO: checking if large file support is available" >&5
18272 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18273 if test "x$wx_largefile" = "xyes"; then
18274 cat >>confdefs.h <<\_ACEOF
18275 #define HAVE_LARGEFILE_SUPPORT 1
18276 _ACEOF
18277
18278 fi
18279 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18280 echo "${ECHO_T}$wx_largefile" >&6
18281 fi
18282
18283
18284 if test "x$wx_largefile" = "xyes"; then
18285 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18286 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18287 else
18288 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
18289 fi
18290 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18291 fi
18292
18293 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18294 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18295 if test "${ac_cv_c_bigendian+set}" = set; then
18296 echo $ECHO_N "(cached) $ECHO_C" >&6
18297 else
18298 ac_cv_c_bigendian=unknown
18299 # See if sys/param.h defines the BYTE_ORDER macro.
18300 cat >conftest.$ac_ext <<_ACEOF
18301 /* confdefs.h. */
18302 _ACEOF
18303 cat confdefs.h >>conftest.$ac_ext
18304 cat >>conftest.$ac_ext <<_ACEOF
18305 /* end confdefs.h. */
18306 #include <sys/types.h>
18307 #include <sys/param.h>
18308 int
18309 main ()
18310 {
18311
18312 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18313 bogus endian macros
18314 #endif
18315 ;
18316 return 0;
18317 }
18318 _ACEOF
18319 rm -f conftest.$ac_objext
18320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18321 (eval $ac_compile) 2>conftest.er1
18322 ac_status=$?
18323 grep -v '^ *+' conftest.er1 >conftest.err
18324 rm -f conftest.er1
18325 cat conftest.err >&5
18326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18327 (exit $ac_status); } &&
18328 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18330 (eval $ac_try) 2>&5
18331 ac_status=$?
18332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18333 (exit $ac_status); }; } &&
18334 { ac_try='test -s conftest.$ac_objext'
18335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18336 (eval $ac_try) 2>&5
18337 ac_status=$?
18338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18339 (exit $ac_status); }; }; then
18340 # It does; now see whether it defined to BIG_ENDIAN or not.
18341 cat >conftest.$ac_ext <<_ACEOF
18342 /* confdefs.h. */
18343 _ACEOF
18344 cat confdefs.h >>conftest.$ac_ext
18345 cat >>conftest.$ac_ext <<_ACEOF
18346 /* end confdefs.h. */
18347 #include <sys/types.h>
18348 #include <sys/param.h>
18349 int
18350 main ()
18351 {
18352
18353 #if BYTE_ORDER != BIG_ENDIAN
18354 not big endian
18355 #endif
18356 ;
18357 return 0;
18358 }
18359 _ACEOF
18360 rm -f conftest.$ac_objext
18361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18362 (eval $ac_compile) 2>conftest.er1
18363 ac_status=$?
18364 grep -v '^ *+' conftest.er1 >conftest.err
18365 rm -f conftest.er1
18366 cat conftest.err >&5
18367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18368 (exit $ac_status); } &&
18369 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18371 (eval $ac_try) 2>&5
18372 ac_status=$?
18373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18374 (exit $ac_status); }; } &&
18375 { ac_try='test -s conftest.$ac_objext'
18376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18377 (eval $ac_try) 2>&5
18378 ac_status=$?
18379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18380 (exit $ac_status); }; }; then
18381 ac_cv_c_bigendian=yes
18382 else
18383 echo "$as_me: failed program was:" >&5
18384 sed 's/^/| /' conftest.$ac_ext >&5
18385
18386 ac_cv_c_bigendian=no
18387 fi
18388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18389 else
18390 echo "$as_me: failed program was:" >&5
18391 sed 's/^/| /' conftest.$ac_ext >&5
18392
18393 fi
18394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18395 if test $ac_cv_c_bigendian = unknown; then
18396 if test "$cross_compiling" = yes; then
18397 ac_cv_c_bigendian=unknown
18398 else
18399 cat >conftest.$ac_ext <<_ACEOF
18400 /* confdefs.h. */
18401 _ACEOF
18402 cat confdefs.h >>conftest.$ac_ext
18403 cat >>conftest.$ac_ext <<_ACEOF
18404 /* end confdefs.h. */
18405 main () {
18406 /* Are we little or big endian? From Harbison&Steele. */
18407 union
18408 {
18409 long l;
18410 char c[sizeof (long)];
18411 } u;
18412 u.l = 1;
18413 exit (u.c[sizeof (long) - 1] == 1);
18414 }
18415 _ACEOF
18416 rm -f conftest$ac_exeext
18417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18418 (eval $ac_link) 2>&5
18419 ac_status=$?
18420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18421 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18423 (eval $ac_try) 2>&5
18424 ac_status=$?
18425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18426 (exit $ac_status); }; }; then
18427 ac_cv_c_bigendian=no
18428 else
18429 echo "$as_me: program exited with status $ac_status" >&5
18430 echo "$as_me: failed program was:" >&5
18431 sed 's/^/| /' conftest.$ac_ext >&5
18432
18433 ( exit $ac_status )
18434 ac_cv_c_bigendian=yes
18435 fi
18436 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18437 fi
18438 fi
18439 fi
18440 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18441 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18442 if test $ac_cv_c_bigendian = unknown; then
18443 { 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
18444 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;}
18445 fi
18446 if test $ac_cv_c_bigendian = yes; then
18447 cat >>confdefs.h <<\_ACEOF
18448 #define WORDS_BIGENDIAN 1
18449 _ACEOF
18450
18451 fi
18452
18453
18454 ac_ext=cc
18455 ac_cpp='$CXXCPP $CPPFLAGS'
18456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18459 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18460 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18461 if test -z "$CXXCPP"; then
18462 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18463 echo $ECHO_N "(cached) $ECHO_C" >&6
18464 else
18465 # Double quotes because CXXCPP needs to be expanded
18466 for CXXCPP in "$CXX -E" "/lib/cpp"
18467 do
18468 ac_preproc_ok=false
18469 for ac_cxx_preproc_warn_flag in '' yes
18470 do
18471 # Use a header file that comes with gcc, so configuring glibc
18472 # with a fresh cross-compiler works.
18473 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18474 # <limits.h> exists even on freestanding compilers.
18475 # On the NeXT, cc -E runs the code through the compiler's parser,
18476 # not just through cpp. "Syntax error" is here to catch this case.
18477 cat >conftest.$ac_ext <<_ACEOF
18478 /* confdefs.h. */
18479 _ACEOF
18480 cat confdefs.h >>conftest.$ac_ext
18481 cat >>conftest.$ac_ext <<_ACEOF
18482 /* end confdefs.h. */
18483 #ifdef __STDC__
18484 # include <limits.h>
18485 #else
18486 # include <assert.h>
18487 #endif
18488 Syntax error
18489 _ACEOF
18490 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18491 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18492 ac_status=$?
18493 grep -v '^ *+' conftest.er1 >conftest.err
18494 rm -f conftest.er1
18495 cat conftest.err >&5
18496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18497 (exit $ac_status); } >/dev/null; then
18498 if test -s conftest.err; then
18499 ac_cpp_err=$ac_cxx_preproc_warn_flag
18500 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18501 else
18502 ac_cpp_err=
18503 fi
18504 else
18505 ac_cpp_err=yes
18506 fi
18507 if test -z "$ac_cpp_err"; then
18508 :
18509 else
18510 echo "$as_me: failed program was:" >&5
18511 sed 's/^/| /' conftest.$ac_ext >&5
18512
18513 # Broken: fails on valid input.
18514 continue
18515 fi
18516 rm -f conftest.err conftest.$ac_ext
18517
18518 # OK, works on sane cases. Now check whether non-existent headers
18519 # can be detected and how.
18520 cat >conftest.$ac_ext <<_ACEOF
18521 /* confdefs.h. */
18522 _ACEOF
18523 cat confdefs.h >>conftest.$ac_ext
18524 cat >>conftest.$ac_ext <<_ACEOF
18525 /* end confdefs.h. */
18526 #include <ac_nonexistent.h>
18527 _ACEOF
18528 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18529 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18530 ac_status=$?
18531 grep -v '^ *+' conftest.er1 >conftest.err
18532 rm -f conftest.er1
18533 cat conftest.err >&5
18534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18535 (exit $ac_status); } >/dev/null; then
18536 if test -s conftest.err; then
18537 ac_cpp_err=$ac_cxx_preproc_warn_flag
18538 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18539 else
18540 ac_cpp_err=
18541 fi
18542 else
18543 ac_cpp_err=yes
18544 fi
18545 if test -z "$ac_cpp_err"; then
18546 # Broken: success on invalid input.
18547 continue
18548 else
18549 echo "$as_me: failed program was:" >&5
18550 sed 's/^/| /' conftest.$ac_ext >&5
18551
18552 # Passes both tests.
18553 ac_preproc_ok=:
18554 break
18555 fi
18556 rm -f conftest.err conftest.$ac_ext
18557
18558 done
18559 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18560 rm -f conftest.err conftest.$ac_ext
18561 if $ac_preproc_ok; then
18562 break
18563 fi
18564
18565 done
18566 ac_cv_prog_CXXCPP=$CXXCPP
18567
18568 fi
18569 CXXCPP=$ac_cv_prog_CXXCPP
18570 else
18571 ac_cv_prog_CXXCPP=$CXXCPP
18572 fi
18573 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18574 echo "${ECHO_T}$CXXCPP" >&6
18575 ac_preproc_ok=false
18576 for ac_cxx_preproc_warn_flag in '' yes
18577 do
18578 # Use a header file that comes with gcc, so configuring glibc
18579 # with a fresh cross-compiler works.
18580 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18581 # <limits.h> exists even on freestanding compilers.
18582 # On the NeXT, cc -E runs the code through the compiler's parser,
18583 # not just through cpp. "Syntax error" is here to catch this case.
18584 cat >conftest.$ac_ext <<_ACEOF
18585 /* confdefs.h. */
18586 _ACEOF
18587 cat confdefs.h >>conftest.$ac_ext
18588 cat >>conftest.$ac_ext <<_ACEOF
18589 /* end confdefs.h. */
18590 #ifdef __STDC__
18591 # include <limits.h>
18592 #else
18593 # include <assert.h>
18594 #endif
18595 Syntax error
18596 _ACEOF
18597 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18598 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18599 ac_status=$?
18600 grep -v '^ *+' conftest.er1 >conftest.err
18601 rm -f conftest.er1
18602 cat conftest.err >&5
18603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18604 (exit $ac_status); } >/dev/null; then
18605 if test -s conftest.err; then
18606 ac_cpp_err=$ac_cxx_preproc_warn_flag
18607 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18608 else
18609 ac_cpp_err=
18610 fi
18611 else
18612 ac_cpp_err=yes
18613 fi
18614 if test -z "$ac_cpp_err"; then
18615 :
18616 else
18617 echo "$as_me: failed program was:" >&5
18618 sed 's/^/| /' conftest.$ac_ext >&5
18619
18620 # Broken: fails on valid input.
18621 continue
18622 fi
18623 rm -f conftest.err conftest.$ac_ext
18624
18625 # OK, works on sane cases. Now check whether non-existent headers
18626 # can be detected and how.
18627 cat >conftest.$ac_ext <<_ACEOF
18628 /* confdefs.h. */
18629 _ACEOF
18630 cat confdefs.h >>conftest.$ac_ext
18631 cat >>conftest.$ac_ext <<_ACEOF
18632 /* end confdefs.h. */
18633 #include <ac_nonexistent.h>
18634 _ACEOF
18635 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18636 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18637 ac_status=$?
18638 grep -v '^ *+' conftest.er1 >conftest.err
18639 rm -f conftest.er1
18640 cat conftest.err >&5
18641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18642 (exit $ac_status); } >/dev/null; then
18643 if test -s conftest.err; then
18644 ac_cpp_err=$ac_cxx_preproc_warn_flag
18645 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18646 else
18647 ac_cpp_err=
18648 fi
18649 else
18650 ac_cpp_err=yes
18651 fi
18652 if test -z "$ac_cpp_err"; then
18653 # Broken: success on invalid input.
18654 continue
18655 else
18656 echo "$as_me: failed program was:" >&5
18657 sed 's/^/| /' conftest.$ac_ext >&5
18658
18659 # Passes both tests.
18660 ac_preproc_ok=:
18661 break
18662 fi
18663 rm -f conftest.err conftest.$ac_ext
18664
18665 done
18666 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18667 rm -f conftest.err conftest.$ac_ext
18668 if $ac_preproc_ok; then
18669 :
18670 else
18671 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18672 See \`config.log' for more details." >&5
18673 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18674 See \`config.log' for more details." >&2;}
18675 { (exit 1); exit 1; }; }
18676 fi
18677
18678 ac_ext=cc
18679 ac_cpp='$CXXCPP $CPPFLAGS'
18680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18683
18684
18685
18686
18687
18688 ac_ext=cc
18689 ac_cpp='$CXXCPP $CPPFLAGS'
18690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18693
18694
18695
18696 for ac_header in iostream
18697 do
18698 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18700 echo "$as_me:$LINENO: checking for $ac_header" >&5
18701 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18702 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18703 echo $ECHO_N "(cached) $ECHO_C" >&6
18704 fi
18705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18706 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18707 else
18708 # Is the header compilable?
18709 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18710 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18711 cat >conftest.$ac_ext <<_ACEOF
18712 /* confdefs.h. */
18713 _ACEOF
18714 cat confdefs.h >>conftest.$ac_ext
18715 cat >>conftest.$ac_ext <<_ACEOF
18716 /* end confdefs.h. */
18717 $ac_includes_default
18718 #include <$ac_header>
18719 _ACEOF
18720 rm -f conftest.$ac_objext
18721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18722 (eval $ac_compile) 2>conftest.er1
18723 ac_status=$?
18724 grep -v '^ *+' conftest.er1 >conftest.err
18725 rm -f conftest.er1
18726 cat conftest.err >&5
18727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18728 (exit $ac_status); } &&
18729 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18731 (eval $ac_try) 2>&5
18732 ac_status=$?
18733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18734 (exit $ac_status); }; } &&
18735 { ac_try='test -s conftest.$ac_objext'
18736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18737 (eval $ac_try) 2>&5
18738 ac_status=$?
18739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18740 (exit $ac_status); }; }; then
18741 ac_header_compiler=yes
18742 else
18743 echo "$as_me: failed program was:" >&5
18744 sed 's/^/| /' conftest.$ac_ext >&5
18745
18746 ac_header_compiler=no
18747 fi
18748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18749 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18750 echo "${ECHO_T}$ac_header_compiler" >&6
18751
18752 # Is the header present?
18753 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18754 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18755 cat >conftest.$ac_ext <<_ACEOF
18756 /* confdefs.h. */
18757 _ACEOF
18758 cat confdefs.h >>conftest.$ac_ext
18759 cat >>conftest.$ac_ext <<_ACEOF
18760 /* end confdefs.h. */
18761 #include <$ac_header>
18762 _ACEOF
18763 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18764 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18765 ac_status=$?
18766 grep -v '^ *+' conftest.er1 >conftest.err
18767 rm -f conftest.er1
18768 cat conftest.err >&5
18769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18770 (exit $ac_status); } >/dev/null; then
18771 if test -s conftest.err; then
18772 ac_cpp_err=$ac_cxx_preproc_warn_flag
18773 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18774 else
18775 ac_cpp_err=
18776 fi
18777 else
18778 ac_cpp_err=yes
18779 fi
18780 if test -z "$ac_cpp_err"; then
18781 ac_header_preproc=yes
18782 else
18783 echo "$as_me: failed program was:" >&5
18784 sed 's/^/| /' conftest.$ac_ext >&5
18785
18786 ac_header_preproc=no
18787 fi
18788 rm -f conftest.err conftest.$ac_ext
18789 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18790 echo "${ECHO_T}$ac_header_preproc" >&6
18791
18792 # So? What about this header?
18793 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18794 yes:no: )
18795 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18796 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18797 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18798 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18799 ac_header_preproc=yes
18800 ;;
18801 no:yes:* )
18802 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18803 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18804 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18805 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18806 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18807 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18808 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18809 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18810 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18811 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18812 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18813 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18814 (
18815 cat <<\_ASBOX
18816 ## ----------------------------------------- ##
18817 ## Report this to wx-dev@lists.wxwidgets.org ##
18818 ## ----------------------------------------- ##
18819 _ASBOX
18820 ) |
18821 sed "s/^/$as_me: WARNING: /" >&2
18822 ;;
18823 esac
18824 echo "$as_me:$LINENO: checking for $ac_header" >&5
18825 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18826 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18827 echo $ECHO_N "(cached) $ECHO_C" >&6
18828 else
18829 eval "$as_ac_Header=\$ac_header_preproc"
18830 fi
18831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18832 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18833
18834 fi
18835 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18836 cat >>confdefs.h <<_ACEOF
18837 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18838 _ACEOF
18839
18840 fi
18841
18842 done
18843
18844
18845 if test "$ac_cv_header_iostream" = "yes" ; then
18846 :
18847 else
18848 cat >>confdefs.h <<\_ACEOF
18849 #define wxUSE_IOSTREAMH 1
18850 _ACEOF
18851
18852 fi
18853
18854 ac_ext=c
18855 ac_cpp='$CPP $CPPFLAGS'
18856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18859
18860
18861
18862
18863 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18864 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18865 if test "${wx_cv_cpp_bool+set}" = set; then
18866 echo $ECHO_N "(cached) $ECHO_C" >&6
18867 else
18868
18869
18870
18871 ac_ext=cc
18872 ac_cpp='$CXXCPP $CPPFLAGS'
18873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18876
18877
18878 cat >conftest.$ac_ext <<_ACEOF
18879 /* confdefs.h. */
18880 _ACEOF
18881 cat confdefs.h >>conftest.$ac_ext
18882 cat >>conftest.$ac_ext <<_ACEOF
18883 /* end confdefs.h. */
18884
18885
18886 int
18887 main ()
18888 {
18889
18890 bool b = true;
18891
18892 return 0;
18893
18894 ;
18895 return 0;
18896 }
18897 _ACEOF
18898 rm -f conftest.$ac_objext
18899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18900 (eval $ac_compile) 2>conftest.er1
18901 ac_status=$?
18902 grep -v '^ *+' conftest.er1 >conftest.err
18903 rm -f conftest.er1
18904 cat conftest.err >&5
18905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18906 (exit $ac_status); } &&
18907 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18909 (eval $ac_try) 2>&5
18910 ac_status=$?
18911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18912 (exit $ac_status); }; } &&
18913 { ac_try='test -s conftest.$ac_objext'
18914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18915 (eval $ac_try) 2>&5
18916 ac_status=$?
18917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18918 (exit $ac_status); }; }; then
18919
18920 wx_cv_cpp_bool=yes
18921
18922 else
18923 echo "$as_me: failed program was:" >&5
18924 sed 's/^/| /' conftest.$ac_ext >&5
18925
18926
18927 wx_cv_cpp_bool=no
18928
18929
18930 fi
18931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18932
18933 ac_ext=c
18934 ac_cpp='$CPP $CPPFLAGS'
18935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18938
18939
18940 fi
18941 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18942 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18943
18944 if test "$wx_cv_cpp_bool" = "yes"; then
18945 cat >>confdefs.h <<\_ACEOF
18946 #define HAVE_BOOL 1
18947 _ACEOF
18948
18949 fi
18950
18951
18952
18953 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18954 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18955 if test "${wx_cv_explicit+set}" = set; then
18956 echo $ECHO_N "(cached) $ECHO_C" >&6
18957 else
18958
18959
18960
18961 ac_ext=cc
18962 ac_cpp='$CXXCPP $CPPFLAGS'
18963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18966
18967
18968 cat >conftest.$ac_ext <<_ACEOF
18969 /* confdefs.h. */
18970 _ACEOF
18971 cat confdefs.h >>conftest.$ac_ext
18972 cat >>conftest.$ac_ext <<_ACEOF
18973 /* end confdefs.h. */
18974
18975 class Foo { public: explicit Foo(int) {} };
18976
18977 int
18978 main ()
18979 {
18980
18981 return 0;
18982
18983 ;
18984 return 0;
18985 }
18986 _ACEOF
18987 rm -f conftest.$ac_objext
18988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18989 (eval $ac_compile) 2>conftest.er1
18990 ac_status=$?
18991 grep -v '^ *+' conftest.er1 >conftest.err
18992 rm -f conftest.er1
18993 cat conftest.err >&5
18994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18995 (exit $ac_status); } &&
18996 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18998 (eval $ac_try) 2>&5
18999 ac_status=$?
19000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19001 (exit $ac_status); }; } &&
19002 { ac_try='test -s conftest.$ac_objext'
19003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19004 (eval $ac_try) 2>&5
19005 ac_status=$?
19006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19007 (exit $ac_status); }; }; then
19008
19009 cat >conftest.$ac_ext <<_ACEOF
19010 /* confdefs.h. */
19011 _ACEOF
19012 cat confdefs.h >>conftest.$ac_ext
19013 cat >>conftest.$ac_ext <<_ACEOF
19014 /* end confdefs.h. */
19015
19016 class Foo { public: explicit Foo(int) {} };
19017 static void TakeFoo(const Foo& foo) { }
19018
19019 int
19020 main ()
19021 {
19022
19023 TakeFoo(17);
19024 return 0;
19025
19026 ;
19027 return 0;
19028 }
19029 _ACEOF
19030 rm -f conftest.$ac_objext
19031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19032 (eval $ac_compile) 2>conftest.er1
19033 ac_status=$?
19034 grep -v '^ *+' conftest.er1 >conftest.err
19035 rm -f conftest.er1
19036 cat conftest.err >&5
19037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038 (exit $ac_status); } &&
19039 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19041 (eval $ac_try) 2>&5
19042 ac_status=$?
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); }; } &&
19045 { ac_try='test -s conftest.$ac_objext'
19046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19047 (eval $ac_try) 2>&5
19048 ac_status=$?
19049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19050 (exit $ac_status); }; }; then
19051 wx_cv_explicit=no
19052 else
19053 echo "$as_me: failed program was:" >&5
19054 sed 's/^/| /' conftest.$ac_ext >&5
19055
19056 wx_cv_explicit=yes
19057
19058 fi
19059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19060
19061 else
19062 echo "$as_me: failed program was:" >&5
19063 sed 's/^/| /' conftest.$ac_ext >&5
19064
19065 wx_cv_explicit=no
19066
19067 fi
19068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19069
19070 ac_ext=c
19071 ac_cpp='$CPP $CPPFLAGS'
19072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19075
19076
19077 fi
19078 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19079 echo "${ECHO_T}$wx_cv_explicit" >&6
19080
19081 if test "$wx_cv_explicit" = "yes"; then
19082 cat >>confdefs.h <<\_ACEOF
19083 #define HAVE_EXPLICIT 1
19084 _ACEOF
19085
19086 fi
19087
19088
19089 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19090 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19091 if test "${ac_cv_cxx_const_cast+set}" = set; then
19092 echo $ECHO_N "(cached) $ECHO_C" >&6
19093 else
19094
19095
19096 ac_ext=cc
19097 ac_cpp='$CXXCPP $CPPFLAGS'
19098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19101
19102 cat >conftest.$ac_ext <<_ACEOF
19103 /* confdefs.h. */
19104 _ACEOF
19105 cat confdefs.h >>conftest.$ac_ext
19106 cat >>conftest.$ac_ext <<_ACEOF
19107 /* end confdefs.h. */
19108
19109 int
19110 main ()
19111 {
19112 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19113 ;
19114 return 0;
19115 }
19116 _ACEOF
19117 rm -f conftest.$ac_objext
19118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19119 (eval $ac_compile) 2>conftest.er1
19120 ac_status=$?
19121 grep -v '^ *+' conftest.er1 >conftest.err
19122 rm -f conftest.er1
19123 cat conftest.err >&5
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); } &&
19126 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19128 (eval $ac_try) 2>&5
19129 ac_status=$?
19130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19131 (exit $ac_status); }; } &&
19132 { ac_try='test -s conftest.$ac_objext'
19133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19134 (eval $ac_try) 2>&5
19135 ac_status=$?
19136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19137 (exit $ac_status); }; }; then
19138 ac_cv_cxx_const_cast=yes
19139 else
19140 echo "$as_me: failed program was:" >&5
19141 sed 's/^/| /' conftest.$ac_ext >&5
19142
19143 ac_cv_cxx_const_cast=no
19144 fi
19145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19146 ac_ext=c
19147 ac_cpp='$CPP $CPPFLAGS'
19148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19151
19152
19153 fi
19154 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19155 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19156 if test "$ac_cv_cxx_const_cast" = yes; then
19157
19158 cat >>confdefs.h <<\_ACEOF
19159 #define HAVE_CONST_CAST
19160 _ACEOF
19161
19162 fi
19163
19164 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
19165 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
19166 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
19167 echo $ECHO_N "(cached) $ECHO_C" >&6
19168 else
19169
19170
19171 ac_ext=cc
19172 ac_cpp='$CXXCPP $CPPFLAGS'
19173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19176
19177 cat >conftest.$ac_ext <<_ACEOF
19178 /* confdefs.h. */
19179 _ACEOF
19180 cat confdefs.h >>conftest.$ac_ext
19181 cat >>conftest.$ac_ext <<_ACEOF
19182 /* end confdefs.h. */
19183 #include <typeinfo>
19184 class Base { public : Base () {} virtual void f () = 0;};
19185 class Derived : public Base { public : Derived () {} virtual void f () {} };
19186 class Unrelated { public : Unrelated () {} };
19187 int g (Unrelated&) { return 0; }
19188 int
19189 main ()
19190 {
19191
19192 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
19193 ;
19194 return 0;
19195 }
19196 _ACEOF
19197 rm -f conftest.$ac_objext
19198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19199 (eval $ac_compile) 2>conftest.er1
19200 ac_status=$?
19201 grep -v '^ *+' conftest.er1 >conftest.err
19202 rm -f conftest.er1
19203 cat conftest.err >&5
19204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19205 (exit $ac_status); } &&
19206 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19208 (eval $ac_try) 2>&5
19209 ac_status=$?
19210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19211 (exit $ac_status); }; } &&
19212 { ac_try='test -s conftest.$ac_objext'
19213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19214 (eval $ac_try) 2>&5
19215 ac_status=$?
19216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19217 (exit $ac_status); }; }; then
19218 ac_cv_cxx_reinterpret_cast=yes
19219 else
19220 echo "$as_me: failed program was:" >&5
19221 sed 's/^/| /' conftest.$ac_ext >&5
19222
19223 ac_cv_cxx_reinterpret_cast=no
19224 fi
19225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19226 ac_ext=c
19227 ac_cpp='$CPP $CPPFLAGS'
19228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19231
19232
19233 fi
19234 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
19235 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
19236 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
19237
19238 cat >>confdefs.h <<\_ACEOF
19239 #define HAVE_REINTERPRET_CAST
19240 _ACEOF
19241
19242 fi
19243
19244 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19245 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19246 if test "${ac_cv_cxx_static_cast+set}" = set; then
19247 echo $ECHO_N "(cached) $ECHO_C" >&6
19248 else
19249
19250
19251 ac_ext=cc
19252 ac_cpp='$CXXCPP $CPPFLAGS'
19253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19256
19257 cat >conftest.$ac_ext <<_ACEOF
19258 /* confdefs.h. */
19259 _ACEOF
19260 cat confdefs.h >>conftest.$ac_ext
19261 cat >>conftest.$ac_ext <<_ACEOF
19262 /* end confdefs.h. */
19263 #include <typeinfo>
19264 class Base { public : Base () {} virtual void f () = 0; };
19265 class Derived : public Base { public : Derived () {} virtual void f () {} };
19266 int g (Derived&) { return 0; }
19267 int
19268 main ()
19269 {
19270
19271 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19272 ;
19273 return 0;
19274 }
19275 _ACEOF
19276 rm -f conftest.$ac_objext
19277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19278 (eval $ac_compile) 2>conftest.er1
19279 ac_status=$?
19280 grep -v '^ *+' conftest.er1 >conftest.err
19281 rm -f conftest.er1
19282 cat conftest.err >&5
19283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19284 (exit $ac_status); } &&
19285 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19287 (eval $ac_try) 2>&5
19288 ac_status=$?
19289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19290 (exit $ac_status); }; } &&
19291 { ac_try='test -s conftest.$ac_objext'
19292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19293 (eval $ac_try) 2>&5
19294 ac_status=$?
19295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19296 (exit $ac_status); }; }; then
19297 ac_cv_cxx_static_cast=yes
19298 else
19299 echo "$as_me: failed program was:" >&5
19300 sed 's/^/| /' conftest.$ac_ext >&5
19301
19302 ac_cv_cxx_static_cast=no
19303 fi
19304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19305 ac_ext=c
19306 ac_cpp='$CPP $CPPFLAGS'
19307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19310
19311
19312 fi
19313 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19314 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19315 if test "$ac_cv_cxx_static_cast" = yes; then
19316
19317 cat >>confdefs.h <<\_ACEOF
19318 #define HAVE_STATIC_CAST
19319 _ACEOF
19320
19321 fi
19322
19323
19324 if test "$wxUSE_STL" = "yes"; then
19325 ac_ext=cc
19326 ac_cpp='$CXXCPP $CPPFLAGS'
19327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19330
19331
19332 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19333 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19334 cat >conftest.$ac_ext <<_ACEOF
19335 /* confdefs.h. */
19336 _ACEOF
19337 cat confdefs.h >>conftest.$ac_ext
19338 cat >>conftest.$ac_ext <<_ACEOF
19339 /* end confdefs.h. */
19340 #include <string>
19341 #include <functional>
19342 #include <algorithm>
19343 #include <vector>
19344 #include <list>
19345 int
19346 main ()
19347 {
19348 std::vector<int> moo;
19349 std::list<int> foo;
19350 std::vector<int>::iterator it =
19351 std::find_if(moo.begin(), moo.end(),
19352 std::bind2nd(std::less<int>(), 3));
19353 ;
19354 return 0;
19355 }
19356 _ACEOF
19357 rm -f conftest.$ac_objext
19358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19359 (eval $ac_compile) 2>conftest.er1
19360 ac_status=$?
19361 grep -v '^ *+' conftest.er1 >conftest.err
19362 rm -f conftest.er1
19363 cat conftest.err >&5
19364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19365 (exit $ac_status); } &&
19366 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19368 (eval $ac_try) 2>&5
19369 ac_status=$?
19370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19371 (exit $ac_status); }; } &&
19372 { ac_try='test -s conftest.$ac_objext'
19373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19374 (eval $ac_try) 2>&5
19375 ac_status=$?
19376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19377 (exit $ac_status); }; }; then
19378 echo "$as_me:$LINENO: result: yes" >&5
19379 echo "${ECHO_T}yes" >&6
19380 else
19381 echo "$as_me: failed program was:" >&5
19382 sed 's/^/| /' conftest.$ac_ext >&5
19383
19384 echo "$as_me:$LINENO: result: no" >&5
19385 echo "${ECHO_T}no" >&6
19386 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19387 echo "$as_me: error: Basic STL functionality missing" >&2;}
19388 { (exit 1); exit 1; }; }
19389 fi
19390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19391
19392 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19393 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19394 cat >conftest.$ac_ext <<_ACEOF
19395 /* confdefs.h. */
19396 _ACEOF
19397 cat confdefs.h >>conftest.$ac_ext
19398 cat >>conftest.$ac_ext <<_ACEOF
19399 /* end confdefs.h. */
19400 #include <string>
19401 int
19402 main ()
19403 {
19404 std::wstring foo;
19405 ;
19406 return 0;
19407 }
19408 _ACEOF
19409 rm -f conftest.$ac_objext
19410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19411 (eval $ac_compile) 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); } &&
19418 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19420 (eval $ac_try) 2>&5
19421 ac_status=$?
19422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19423 (exit $ac_status); }; } &&
19424 { ac_try='test -s conftest.$ac_objext'
19425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19426 (eval $ac_try) 2>&5
19427 ac_status=$?
19428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19429 (exit $ac_status); }; }; then
19430 echo "$as_me:$LINENO: result: yes" >&5
19431 echo "${ECHO_T}yes" >&6
19432 cat >>confdefs.h <<\_ACEOF
19433 #define HAVE_STD_WSTRING 1
19434 _ACEOF
19435
19436 else
19437 echo "$as_me: failed program was:" >&5
19438 sed 's/^/| /' conftest.$ac_ext >&5
19439
19440 echo "$as_me:$LINENO: result: no" >&5
19441 echo "${ECHO_T}no" >&6
19442 fi
19443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19444
19445 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19446 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19447 cat >conftest.$ac_ext <<_ACEOF
19448 /* confdefs.h. */
19449 _ACEOF
19450 cat confdefs.h >>conftest.$ac_ext
19451 cat >>conftest.$ac_ext <<_ACEOF
19452 /* end confdefs.h. */
19453 #include <string>
19454 int
19455 main ()
19456 {
19457 std::string foo, bar;
19458 foo.compare(bar);
19459 foo.compare(1, 1, bar);
19460 foo.compare(1, 1, bar, 1, 1);
19461 foo.compare("");
19462 foo.compare(1, 1, "");
19463 foo.compare(1, 1, "", 2);
19464 ;
19465 return 0;
19466 }
19467 _ACEOF
19468 rm -f conftest.$ac_objext
19469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19470 (eval $ac_compile) 2>conftest.er1
19471 ac_status=$?
19472 grep -v '^ *+' conftest.er1 >conftest.err
19473 rm -f conftest.er1
19474 cat conftest.err >&5
19475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19476 (exit $ac_status); } &&
19477 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19479 (eval $ac_try) 2>&5
19480 ac_status=$?
19481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19482 (exit $ac_status); }; } &&
19483 { ac_try='test -s conftest.$ac_objext'
19484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19485 (eval $ac_try) 2>&5
19486 ac_status=$?
19487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19488 (exit $ac_status); }; }; then
19489 echo "$as_me:$LINENO: result: yes" >&5
19490 echo "${ECHO_T}yes" >&6
19491 cat >>confdefs.h <<\_ACEOF
19492 #define HAVE_STD_STRING_COMPARE 1
19493 _ACEOF
19494
19495 else
19496 echo "$as_me: failed program was:" >&5
19497 sed 's/^/| /' conftest.$ac_ext >&5
19498
19499 echo "$as_me:$LINENO: result: no" >&5
19500 echo "${ECHO_T}no" >&6
19501 fi
19502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19503
19504 if test "${ac_cv_header_hash_map+set}" = set; then
19505 echo "$as_me:$LINENO: checking for hash_map" >&5
19506 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19507 if test "${ac_cv_header_hash_map+set}" = set; then
19508 echo $ECHO_N "(cached) $ECHO_C" >&6
19509 fi
19510 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19511 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19512 else
19513 # Is the header compilable?
19514 echo "$as_me:$LINENO: checking hash_map usability" >&5
19515 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
19516 cat >conftest.$ac_ext <<_ACEOF
19517 /* confdefs.h. */
19518 _ACEOF
19519 cat confdefs.h >>conftest.$ac_ext
19520 cat >>conftest.$ac_ext <<_ACEOF
19521 /* end confdefs.h. */
19522 $ac_includes_default
19523 #include <hash_map>
19524 _ACEOF
19525 rm -f conftest.$ac_objext
19526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19527 (eval $ac_compile) 2>conftest.er1
19528 ac_status=$?
19529 grep -v '^ *+' conftest.er1 >conftest.err
19530 rm -f conftest.er1
19531 cat conftest.err >&5
19532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19533 (exit $ac_status); } &&
19534 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
19540 { ac_try='test -s conftest.$ac_objext'
19541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19542 (eval $ac_try) 2>&5
19543 ac_status=$?
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); }; }; then
19546 ac_header_compiler=yes
19547 else
19548 echo "$as_me: failed program was:" >&5
19549 sed 's/^/| /' conftest.$ac_ext >&5
19550
19551 ac_header_compiler=no
19552 fi
19553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19554 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19555 echo "${ECHO_T}$ac_header_compiler" >&6
19556
19557 # Is the header present?
19558 echo "$as_me:$LINENO: checking hash_map presence" >&5
19559 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
19560 cat >conftest.$ac_ext <<_ACEOF
19561 /* confdefs.h. */
19562 _ACEOF
19563 cat confdefs.h >>conftest.$ac_ext
19564 cat >>conftest.$ac_ext <<_ACEOF
19565 /* end confdefs.h. */
19566 #include <hash_map>
19567 _ACEOF
19568 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19569 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19570 ac_status=$?
19571 grep -v '^ *+' conftest.er1 >conftest.err
19572 rm -f conftest.er1
19573 cat conftest.err >&5
19574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19575 (exit $ac_status); } >/dev/null; then
19576 if test -s conftest.err; then
19577 ac_cpp_err=$ac_cxx_preproc_warn_flag
19578 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19579 else
19580 ac_cpp_err=
19581 fi
19582 else
19583 ac_cpp_err=yes
19584 fi
19585 if test -z "$ac_cpp_err"; then
19586 ac_header_preproc=yes
19587 else
19588 echo "$as_me: failed program was:" >&5
19589 sed 's/^/| /' conftest.$ac_ext >&5
19590
19591 ac_header_preproc=no
19592 fi
19593 rm -f conftest.err conftest.$ac_ext
19594 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19595 echo "${ECHO_T}$ac_header_preproc" >&6
19596
19597 # So? What about this header?
19598 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19599 yes:no: )
19600 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19601 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19602 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
19603 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
19604 ac_header_preproc=yes
19605 ;;
19606 no:yes:* )
19607 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
19608 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
19609 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
19610 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
19611 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
19612 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
19613 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
19614 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19615 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
19616 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
19617 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
19618 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
19619 (
19620 cat <<\_ASBOX
19621 ## ----------------------------------------- ##
19622 ## Report this to wx-dev@lists.wxwidgets.org ##
19623 ## ----------------------------------------- ##
19624 _ASBOX
19625 ) |
19626 sed "s/^/$as_me: WARNING: /" >&2
19627 ;;
19628 esac
19629 echo "$as_me:$LINENO: checking for hash_map" >&5
19630 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19631 if test "${ac_cv_header_hash_map+set}" = set; then
19632 echo $ECHO_N "(cached) $ECHO_C" >&6
19633 else
19634 ac_cv_header_hash_map=$ac_header_preproc
19635 fi
19636 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19637 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19638
19639 fi
19640 if test $ac_cv_header_hash_map = yes; then
19641 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19642 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19643 cat >conftest.$ac_ext <<_ACEOF
19644 /* confdefs.h. */
19645 _ACEOF
19646 cat confdefs.h >>conftest.$ac_ext
19647 cat >>conftest.$ac_ext <<_ACEOF
19648 /* end confdefs.h. */
19649 #include <hash_map>
19650 #include <hash_set>
19651 int
19652 main ()
19653 {
19654 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
19655 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
19656 ;
19657 return 0;
19658 }
19659 _ACEOF
19660 rm -f conftest.$ac_objext
19661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19662 (eval $ac_compile) 2>conftest.er1
19663 ac_status=$?
19664 grep -v '^ *+' conftest.er1 >conftest.err
19665 rm -f conftest.er1
19666 cat conftest.err >&5
19667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19668 (exit $ac_status); } &&
19669 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19671 (eval $ac_try) 2>&5
19672 ac_status=$?
19673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19674 (exit $ac_status); }; } &&
19675 { ac_try='test -s conftest.$ac_objext'
19676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19677 (eval $ac_try) 2>&5
19678 ac_status=$?
19679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19680 (exit $ac_status); }; }; then
19681 echo "$as_me:$LINENO: result: yes" >&5
19682 echo "${ECHO_T}yes" >&6
19683 cat >>confdefs.h <<\_ACEOF
19684 #define HAVE_HASH_MAP 1
19685 _ACEOF
19686
19687 cat >>confdefs.h <<\_ACEOF
19688 #define HAVE_STD_HASH_MAP 1
19689 _ACEOF
19690
19691 else
19692 echo "$as_me: failed program was:" >&5
19693 sed 's/^/| /' conftest.$ac_ext >&5
19694
19695 echo "$as_me:$LINENO: result: no" >&5
19696 echo "${ECHO_T}no" >&6
19697 fi
19698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19699
19700 fi
19701
19702
19703
19704 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19705 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19706 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19707 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19708 echo $ECHO_N "(cached) $ECHO_C" >&6
19709 fi
19710 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19711 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19712 else
19713 # Is the header compilable?
19714 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
19715 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
19716 cat >conftest.$ac_ext <<_ACEOF
19717 /* confdefs.h. */
19718 _ACEOF
19719 cat confdefs.h >>conftest.$ac_ext
19720 cat >>conftest.$ac_ext <<_ACEOF
19721 /* end confdefs.h. */
19722 $ac_includes_default
19723 #include <ext/hash_map>
19724 _ACEOF
19725 rm -f conftest.$ac_objext
19726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19727 (eval $ac_compile) 2>conftest.er1
19728 ac_status=$?
19729 grep -v '^ *+' conftest.er1 >conftest.err
19730 rm -f conftest.er1
19731 cat conftest.err >&5
19732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19733 (exit $ac_status); } &&
19734 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19736 (eval $ac_try) 2>&5
19737 ac_status=$?
19738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739 (exit $ac_status); }; } &&
19740 { ac_try='test -s conftest.$ac_objext'
19741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19742 (eval $ac_try) 2>&5
19743 ac_status=$?
19744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19745 (exit $ac_status); }; }; then
19746 ac_header_compiler=yes
19747 else
19748 echo "$as_me: failed program was:" >&5
19749 sed 's/^/| /' conftest.$ac_ext >&5
19750
19751 ac_header_compiler=no
19752 fi
19753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19754 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19755 echo "${ECHO_T}$ac_header_compiler" >&6
19756
19757 # Is the header present?
19758 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
19759 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
19760 cat >conftest.$ac_ext <<_ACEOF
19761 /* confdefs.h. */
19762 _ACEOF
19763 cat confdefs.h >>conftest.$ac_ext
19764 cat >>conftest.$ac_ext <<_ACEOF
19765 /* end confdefs.h. */
19766 #include <ext/hash_map>
19767 _ACEOF
19768 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19769 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19770 ac_status=$?
19771 grep -v '^ *+' conftest.er1 >conftest.err
19772 rm -f conftest.er1
19773 cat conftest.err >&5
19774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19775 (exit $ac_status); } >/dev/null; then
19776 if test -s conftest.err; then
19777 ac_cpp_err=$ac_cxx_preproc_warn_flag
19778 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19779 else
19780 ac_cpp_err=
19781 fi
19782 else
19783 ac_cpp_err=yes
19784 fi
19785 if test -z "$ac_cpp_err"; then
19786 ac_header_preproc=yes
19787 else
19788 echo "$as_me: failed program was:" >&5
19789 sed 's/^/| /' conftest.$ac_ext >&5
19790
19791 ac_header_preproc=no
19792 fi
19793 rm -f conftest.err conftest.$ac_ext
19794 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19795 echo "${ECHO_T}$ac_header_preproc" >&6
19796
19797 # So? What about this header?
19798 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19799 yes:no: )
19800 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19801 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19802 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
19803 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
19804 ac_header_preproc=yes
19805 ;;
19806 no:yes:* )
19807 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
19808 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
19809 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
19810 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
19811 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
19812 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
19813 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
19814 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19815 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
19816 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
19817 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
19818 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
19819 (
19820 cat <<\_ASBOX
19821 ## ----------------------------------------- ##
19822 ## Report this to wx-dev@lists.wxwidgets.org ##
19823 ## ----------------------------------------- ##
19824 _ASBOX
19825 ) |
19826 sed "s/^/$as_me: WARNING: /" >&2
19827 ;;
19828 esac
19829 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19830 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19831 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19832 echo $ECHO_N "(cached) $ECHO_C" >&6
19833 else
19834 ac_cv_header_ext_hash_map=$ac_header_preproc
19835 fi
19836 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19837 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19838
19839 fi
19840 if test $ac_cv_header_ext_hash_map = yes; then
19841 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19842 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19843 cat >conftest.$ac_ext <<_ACEOF
19844 /* confdefs.h. */
19845 _ACEOF
19846 cat confdefs.h >>conftest.$ac_ext
19847 cat >>conftest.$ac_ext <<_ACEOF
19848 /* end confdefs.h. */
19849 #include <ext/hash_map>
19850 #include <ext/hash_set>
19851 int
19852 main ()
19853 {
19854 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
19855 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
19856 ;
19857 return 0;
19858 }
19859 _ACEOF
19860 rm -f conftest.$ac_objext
19861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19862 (eval $ac_compile) 2>conftest.er1
19863 ac_status=$?
19864 grep -v '^ *+' conftest.er1 >conftest.err
19865 rm -f conftest.er1
19866 cat conftest.err >&5
19867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19868 (exit $ac_status); } &&
19869 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19871 (eval $ac_try) 2>&5
19872 ac_status=$?
19873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19874 (exit $ac_status); }; } &&
19875 { ac_try='test -s conftest.$ac_objext'
19876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19877 (eval $ac_try) 2>&5
19878 ac_status=$?
19879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19880 (exit $ac_status); }; }; then
19881 echo "$as_me:$LINENO: result: yes" >&5
19882 echo "${ECHO_T}yes" >&6
19883 cat >>confdefs.h <<\_ACEOF
19884 #define HAVE_EXT_HASH_MAP 1
19885 _ACEOF
19886
19887 cat >>confdefs.h <<\_ACEOF
19888 #define HAVE_GNU_CXX_HASH_MAP 1
19889 _ACEOF
19890
19891 else
19892 echo "$as_me: failed program was:" >&5
19893 sed 's/^/| /' conftest.$ac_ext >&5
19894
19895 echo "$as_me:$LINENO: result: no" >&5
19896 echo "${ECHO_T}no" >&6
19897 fi
19898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19899
19900 fi
19901
19902
19903
19904 ac_ext=c
19905 ac_cpp='$CPP $CPPFLAGS'
19906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19909
19910 fi
19911
19912
19913 SEARCH_INCLUDE="\
19914 /usr/local/include \
19915 \
19916 /usr/Motif-2.1/include \
19917 /usr/Motif-1.2/include \
19918 /usr/include/Motif1.2 \
19919 /opt/xpm/include/X11 \
19920 /opt/GBxpm/include/ \
19921 /opt/GBxpm/X11/include/ \
19922 \
19923 /usr/dt/include \
19924 /usr/openwin/include \
19925 \
19926 /usr/include/Xm \
19927 \
19928 /usr/X11R6/include \
19929 /usr/X11R6.4/include \
19930 /usr/X11R5/include \
19931 /usr/X11R4/include \
19932 \
19933 /usr/include/X11R6 \
19934 /usr/include/X11R5 \
19935 /usr/include/X11R4 \
19936 \
19937 /usr/local/X11R6/include \
19938 /usr/local/X11R5/include \
19939 /usr/local/X11R4/include \
19940 \
19941 /usr/local/include/X11R6 \
19942 /usr/local/include/X11R5 \
19943 /usr/local/include/X11R4 \
19944 \
19945 /usr/X11/include \
19946 /usr/include/X11 \
19947 /usr/local/X11/include \
19948 /usr/local/include/X11 \
19949 \
19950 /usr/X386/include \
19951 /usr/x386/include \
19952 /usr/XFree86/include/X11 \
19953 \
19954 X:/XFree86/include \
19955 X:/XFree86/include/X11 \
19956 \
19957 /usr/include/gtk \
19958 /usr/local/include/gtk \
19959 /usr/include/glib \
19960 /usr/local/include/glib \
19961 \
19962 /usr/include/qt \
19963 /usr/local/include/qt \
19964 \
19965 /usr/local/arm/3.3.2/include \
19966 \
19967 /usr/include/windows \
19968 /usr/include/wine \
19969 /usr/local/include/wine \
19970 \
19971 /usr/unsupported/include \
19972 /usr/athena/include \
19973 /usr/local/x11r5/include \
19974 /usr/lpp/Xamples/include \
19975 \
19976 /usr/openwin/share/include"
19977
19978 SEARCH_LIB="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
19979
19980
19981 cat >confcache <<\_ACEOF
19982 # This file is a shell script that caches the results of configure
19983 # tests run on this system so they can be shared between configure
19984 # scripts and configure runs, see configure's option --config-cache.
19985 # It is not useful on other systems. If it contains results you don't
19986 # want to keep, you may remove or edit it.
19987 #
19988 # config.status only pays attention to the cache file if you give it
19989 # the --recheck option to rerun configure.
19990 #
19991 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19992 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19993 # following values.
19994
19995 _ACEOF
19996
19997 # The following way of writing the cache mishandles newlines in values,
19998 # but we know of no workaround that is simple, portable, and efficient.
19999 # So, don't put newlines in cache variables' values.
20000 # Ultrix sh set writes to stderr and can't be redirected directly,
20001 # and sets the high bit in the cache file unless we assign to the vars.
20002 {
20003 (set) 2>&1 |
20004 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20005 *ac_space=\ *)
20006 # `set' does not quote correctly, so add quotes (double-quote
20007 # substitution turns \\\\ into \\, and sed turns \\ into \).
20008 sed -n \
20009 "s/'/'\\\\''/g;
20010 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20011 ;;
20012 *)
20013 # `set' quotes correctly as required by POSIX, so do not add quotes.
20014 sed -n \
20015 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20016 ;;
20017 esac;
20018 } |
20019 sed '
20020 t clear
20021 : clear
20022 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20023 t end
20024 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20025 : end' >>confcache
20026 if diff $cache_file confcache >/dev/null 2>&1; then :; else
20027 if test -w $cache_file; then
20028 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20029 cat confcache >$cache_file
20030 else
20031 echo "not updating unwritable cache $cache_file"
20032 fi
20033 fi
20034 rm -f confcache
20035
20036 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20037 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20038 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20039 if test "${wx_cv_lib_glibc21+set}" = set; then
20040 echo $ECHO_N "(cached) $ECHO_C" >&6
20041 else
20042
20043 cat >conftest.$ac_ext <<_ACEOF
20044 /* confdefs.h. */
20045 _ACEOF
20046 cat confdefs.h >>conftest.$ac_ext
20047 cat >>conftest.$ac_ext <<_ACEOF
20048 /* end confdefs.h. */
20049 #include <features.h>
20050 int
20051 main ()
20052 {
20053
20054 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20055 #error not glibc2.1
20056 #endif
20057
20058 ;
20059 return 0;
20060 }
20061 _ACEOF
20062 rm -f conftest.$ac_objext
20063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20064 (eval $ac_compile) 2>conftest.er1
20065 ac_status=$?
20066 grep -v '^ *+' conftest.er1 >conftest.err
20067 rm -f conftest.er1
20068 cat conftest.err >&5
20069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20070 (exit $ac_status); } &&
20071 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20073 (eval $ac_try) 2>&5
20074 ac_status=$?
20075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20076 (exit $ac_status); }; } &&
20077 { ac_try='test -s conftest.$ac_objext'
20078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20079 (eval $ac_try) 2>&5
20080 ac_status=$?
20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082 (exit $ac_status); }; }; then
20083
20084 wx_cv_lib_glibc21=yes
20085
20086 else
20087 echo "$as_me: failed program was:" >&5
20088 sed 's/^/| /' conftest.$ac_ext >&5
20089
20090
20091 wx_cv_lib_glibc21=no
20092
20093
20094 fi
20095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20096
20097 fi
20098 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20099 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20100 if test "$wx_cv_lib_glibc21" = "yes"; then
20101 cat >>confdefs.h <<\_ACEOF
20102 #define wxHAVE_GLIBC2 1
20103 _ACEOF
20104
20105 fi
20106 fi
20107
20108 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20109 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20110 cat >>confdefs.h <<\_ACEOF
20111 #define _GNU_SOURCE 1
20112 _ACEOF
20113
20114 fi
20115 fi
20116
20117
20118
20119 if test "$wxUSE_REGEX" != "no"; then
20120 cat >>confdefs.h <<\_ACEOF
20121 #define wxUSE_REGEX 1
20122 _ACEOF
20123
20124
20125 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20126 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20127 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20128 wxUSE_REGEX=builtin
20129 fi
20130
20131 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20132 if test "${ac_cv_header_regex_h+set}" = set; then
20133 echo "$as_me:$LINENO: checking for regex.h" >&5
20134 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20135 if test "${ac_cv_header_regex_h+set}" = set; then
20136 echo $ECHO_N "(cached) $ECHO_C" >&6
20137 fi
20138 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20139 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20140 else
20141 # Is the header compilable?
20142 echo "$as_me:$LINENO: checking regex.h usability" >&5
20143 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20144 cat >conftest.$ac_ext <<_ACEOF
20145 /* confdefs.h. */
20146 _ACEOF
20147 cat confdefs.h >>conftest.$ac_ext
20148 cat >>conftest.$ac_ext <<_ACEOF
20149 /* end confdefs.h. */
20150 $ac_includes_default
20151 #include <regex.h>
20152 _ACEOF
20153 rm -f conftest.$ac_objext
20154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20155 (eval $ac_compile) 2>conftest.er1
20156 ac_status=$?
20157 grep -v '^ *+' conftest.er1 >conftest.err
20158 rm -f conftest.er1
20159 cat conftest.err >&5
20160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20161 (exit $ac_status); } &&
20162 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20164 (eval $ac_try) 2>&5
20165 ac_status=$?
20166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20167 (exit $ac_status); }; } &&
20168 { ac_try='test -s conftest.$ac_objext'
20169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20170 (eval $ac_try) 2>&5
20171 ac_status=$?
20172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20173 (exit $ac_status); }; }; then
20174 ac_header_compiler=yes
20175 else
20176 echo "$as_me: failed program was:" >&5
20177 sed 's/^/| /' conftest.$ac_ext >&5
20178
20179 ac_header_compiler=no
20180 fi
20181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20182 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20183 echo "${ECHO_T}$ac_header_compiler" >&6
20184
20185 # Is the header present?
20186 echo "$as_me:$LINENO: checking regex.h presence" >&5
20187 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20188 cat >conftest.$ac_ext <<_ACEOF
20189 /* confdefs.h. */
20190 _ACEOF
20191 cat confdefs.h >>conftest.$ac_ext
20192 cat >>conftest.$ac_ext <<_ACEOF
20193 /* end confdefs.h. */
20194 #include <regex.h>
20195 _ACEOF
20196 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20197 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20198 ac_status=$?
20199 grep -v '^ *+' conftest.er1 >conftest.err
20200 rm -f conftest.er1
20201 cat conftest.err >&5
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); } >/dev/null; then
20204 if test -s conftest.err; then
20205 ac_cpp_err=$ac_c_preproc_warn_flag
20206 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20207 else
20208 ac_cpp_err=
20209 fi
20210 else
20211 ac_cpp_err=yes
20212 fi
20213 if test -z "$ac_cpp_err"; then
20214 ac_header_preproc=yes
20215 else
20216 echo "$as_me: failed program was:" >&5
20217 sed 's/^/| /' conftest.$ac_ext >&5
20218
20219 ac_header_preproc=no
20220 fi
20221 rm -f conftest.err conftest.$ac_ext
20222 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20223 echo "${ECHO_T}$ac_header_preproc" >&6
20224
20225 # So? What about this header?
20226 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20227 yes:no: )
20228 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20229 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20230 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20231 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20232 ac_header_preproc=yes
20233 ;;
20234 no:yes:* )
20235 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20236 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
20237 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20238 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20239 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20240 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20241 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20242 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
20243 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20244 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
20245 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20246 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
20247 (
20248 cat <<\_ASBOX
20249 ## ----------------------------------------- ##
20250 ## Report this to wx-dev@lists.wxwidgets.org ##
20251 ## ----------------------------------------- ##
20252 _ASBOX
20253 ) |
20254 sed "s/^/$as_me: WARNING: /" >&2
20255 ;;
20256 esac
20257 echo "$as_me:$LINENO: checking for regex.h" >&5
20258 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20259 if test "${ac_cv_header_regex_h+set}" = set; then
20260 echo $ECHO_N "(cached) $ECHO_C" >&6
20261 else
20262 ac_cv_header_regex_h=$ac_header_preproc
20263 fi
20264 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20265 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20266
20267 fi
20268 if test $ac_cv_header_regex_h = yes; then
20269
20270 for ac_func in regcomp
20271 do
20272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20273 echo "$as_me:$LINENO: checking for $ac_func" >&5
20274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20275 if eval "test \"\${$as_ac_var+set}\" = set"; then
20276 echo $ECHO_N "(cached) $ECHO_C" >&6
20277 else
20278 cat >conftest.$ac_ext <<_ACEOF
20279 /* confdefs.h. */
20280 _ACEOF
20281 cat confdefs.h >>conftest.$ac_ext
20282 cat >>conftest.$ac_ext <<_ACEOF
20283 /* end confdefs.h. */
20284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20286 #define $ac_func innocuous_$ac_func
20287
20288 /* System header to define __stub macros and hopefully few prototypes,
20289 which can conflict with char $ac_func (); below.
20290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20291 <limits.h> exists even on freestanding compilers. */
20292
20293 #ifdef __STDC__
20294 # include <limits.h>
20295 #else
20296 # include <assert.h>
20297 #endif
20298
20299 #undef $ac_func
20300
20301 /* Override any gcc2 internal prototype to avoid an error. */
20302 #ifdef __cplusplus
20303 extern "C"
20304 {
20305 #endif
20306 /* We use char because int might match the return type of a gcc2
20307 builtin and then its argument prototype would still apply. */
20308 char $ac_func ();
20309 /* The GNU C library defines this for functions which it implements
20310 to always fail with ENOSYS. Some functions are actually named
20311 something starting with __ and the normal name is an alias. */
20312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20313 choke me
20314 #else
20315 char (*f) () = $ac_func;
20316 #endif
20317 #ifdef __cplusplus
20318 }
20319 #endif
20320
20321 int
20322 main ()
20323 {
20324 return f != $ac_func;
20325 ;
20326 return 0;
20327 }
20328 _ACEOF
20329 rm -f conftest.$ac_objext conftest$ac_exeext
20330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20331 (eval $ac_link) 2>conftest.er1
20332 ac_status=$?
20333 grep -v '^ *+' conftest.er1 >conftest.err
20334 rm -f conftest.er1
20335 cat conftest.err >&5
20336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20337 (exit $ac_status); } &&
20338 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20340 (eval $ac_try) 2>&5
20341 ac_status=$?
20342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20343 (exit $ac_status); }; } &&
20344 { ac_try='test -s conftest$ac_exeext'
20345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20346 (eval $ac_try) 2>&5
20347 ac_status=$?
20348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20349 (exit $ac_status); }; }; then
20350 eval "$as_ac_var=yes"
20351 else
20352 echo "$as_me: failed program was:" >&5
20353 sed 's/^/| /' conftest.$ac_ext >&5
20354
20355 eval "$as_ac_var=no"
20356 fi
20357 rm -f conftest.err conftest.$ac_objext \
20358 conftest$ac_exeext conftest.$ac_ext
20359 fi
20360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20362 if test `eval echo '${'$as_ac_var'}'` = yes; then
20363 cat >>confdefs.h <<_ACEOF
20364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20365 _ACEOF
20366
20367 fi
20368 done
20369
20370 fi
20371
20372
20373
20374 if test "x$ac_cv_func_regcomp" != "xyes"; then
20375 if test "$wxUSE_REGEX" = "sys" ; then
20376 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20377 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20378 { (exit 1); exit 1; }; }
20379 else
20380 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20381 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
20382 wxUSE_REGEX=builtin
20383 fi
20384 else
20385 wxUSE_REGEX=sys
20386 cat >>confdefs.h <<\_ACEOF
20387 #define WX_NO_REGEX_ADVANCED 1
20388 _ACEOF
20389
20390 fi
20391 fi
20392 fi
20393
20394
20395 ZLIB_LINK=
20396 if test "$wxUSE_ZLIB" != "no" ; then
20397 cat >>confdefs.h <<\_ACEOF
20398 #define wxUSE_ZLIB 1
20399 _ACEOF
20400
20401
20402 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
20403 if test "$USE_DARWIN" = 1; then
20404 system_zlib_h_ok="yes"
20405 else
20406 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
20407 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
20408 if test "${ac_cv_header_zlib_h+set}" = set; then
20409 echo $ECHO_N "(cached) $ECHO_C" >&6
20410 else
20411 if test "$cross_compiling" = yes; then
20412 unset ac_cv_header_zlib_h
20413
20414 else
20415 cat >conftest.$ac_ext <<_ACEOF
20416 /* confdefs.h. */
20417 _ACEOF
20418 cat confdefs.h >>conftest.$ac_ext
20419 cat >>conftest.$ac_ext <<_ACEOF
20420 /* end confdefs.h. */
20421
20422 #include <zlib.h>
20423 #include <stdio.h>
20424
20425 int main()
20426 {
20427 FILE *f=fopen("conftestval", "w");
20428 if (!f) exit(1);
20429 fprintf(f, "%s",
20430 ZLIB_VERSION[0] == '1' &&
20431 (ZLIB_VERSION[2] > '1' ||
20432 (ZLIB_VERSION[2] == '1' &&
20433 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
20434 exit(0);
20435 }
20436
20437 _ACEOF
20438 rm -f conftest$ac_exeext
20439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20440 (eval $ac_link) 2>&5
20441 ac_status=$?
20442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20443 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20445 (eval $ac_try) 2>&5
20446 ac_status=$?
20447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20448 (exit $ac_status); }; }; then
20449 ac_cv_header_zlib_h=`cat conftestval`
20450 else
20451 echo "$as_me: program exited with status $ac_status" >&5
20452 echo "$as_me: failed program was:" >&5
20453 sed 's/^/| /' conftest.$ac_ext >&5
20454
20455 ( exit $ac_status )
20456 ac_cv_header_zlib_h=no
20457 fi
20458 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20459 fi
20460
20461 fi
20462 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20463 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20464 if test "${ac_cv_header_zlib_h+set}" = set; then
20465 echo "$as_me:$LINENO: checking for zlib.h" >&5
20466 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20467 if test "${ac_cv_header_zlib_h+set}" = set; then
20468 echo $ECHO_N "(cached) $ECHO_C" >&6
20469 fi
20470 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20471 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20472 else
20473 # Is the header compilable?
20474 echo "$as_me:$LINENO: checking zlib.h usability" >&5
20475 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20476 cat >conftest.$ac_ext <<_ACEOF
20477 /* confdefs.h. */
20478 _ACEOF
20479 cat confdefs.h >>conftest.$ac_ext
20480 cat >>conftest.$ac_ext <<_ACEOF
20481 /* end confdefs.h. */
20482 $ac_includes_default
20483 #include <zlib.h>
20484 _ACEOF
20485 rm -f conftest.$ac_objext
20486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20487 (eval $ac_compile) 2>conftest.er1
20488 ac_status=$?
20489 grep -v '^ *+' conftest.er1 >conftest.err
20490 rm -f conftest.er1
20491 cat conftest.err >&5
20492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20493 (exit $ac_status); } &&
20494 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
20500 { ac_try='test -s conftest.$ac_objext'
20501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20502 (eval $ac_try) 2>&5
20503 ac_status=$?
20504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505 (exit $ac_status); }; }; then
20506 ac_header_compiler=yes
20507 else
20508 echo "$as_me: failed program was:" >&5
20509 sed 's/^/| /' conftest.$ac_ext >&5
20510
20511 ac_header_compiler=no
20512 fi
20513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20514 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20515 echo "${ECHO_T}$ac_header_compiler" >&6
20516
20517 # Is the header present?
20518 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20519 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20520 cat >conftest.$ac_ext <<_ACEOF
20521 /* confdefs.h. */
20522 _ACEOF
20523 cat confdefs.h >>conftest.$ac_ext
20524 cat >>conftest.$ac_ext <<_ACEOF
20525 /* end confdefs.h. */
20526 #include <zlib.h>
20527 _ACEOF
20528 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20529 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20530 ac_status=$?
20531 grep -v '^ *+' conftest.er1 >conftest.err
20532 rm -f conftest.er1
20533 cat conftest.err >&5
20534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20535 (exit $ac_status); } >/dev/null; then
20536 if test -s conftest.err; then
20537 ac_cpp_err=$ac_c_preproc_warn_flag
20538 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20539 else
20540 ac_cpp_err=
20541 fi
20542 else
20543 ac_cpp_err=yes
20544 fi
20545 if test -z "$ac_cpp_err"; then
20546 ac_header_preproc=yes
20547 else
20548 echo "$as_me: failed program was:" >&5
20549 sed 's/^/| /' conftest.$ac_ext >&5
20550
20551 ac_header_preproc=no
20552 fi
20553 rm -f conftest.err conftest.$ac_ext
20554 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20555 echo "${ECHO_T}$ac_header_preproc" >&6
20556
20557 # So? What about this header?
20558 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20559 yes:no: )
20560 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20561 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20562 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20563 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20564 ac_header_preproc=yes
20565 ;;
20566 no:yes:* )
20567 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20568 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20569 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20570 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20571 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20572 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20573 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20574 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20575 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20576 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20577 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20578 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20579 (
20580 cat <<\_ASBOX
20581 ## ----------------------------------------- ##
20582 ## Report this to wx-dev@lists.wxwidgets.org ##
20583 ## ----------------------------------------- ##
20584 _ASBOX
20585 ) |
20586 sed "s/^/$as_me: WARNING: /" >&2
20587 ;;
20588 esac
20589 echo "$as_me:$LINENO: checking for zlib.h" >&5
20590 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20591 if test "${ac_cv_header_zlib_h+set}" = set; then
20592 echo $ECHO_N "(cached) $ECHO_C" >&6
20593 else
20594 ac_cv_header_zlib_h=$ac_header_preproc
20595 fi
20596 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20597 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20598
20599 fi
20600
20601
20602
20603 system_zlib_h_ok=$ac_cv_header_zlib_h
20604 fi
20605
20606 if test "$system_zlib_h_ok" = "yes"; then
20607 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20608 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20609 if test "${ac_cv_lib_z_deflate+set}" = set; then
20610 echo $ECHO_N "(cached) $ECHO_C" >&6
20611 else
20612 ac_check_lib_save_LIBS=$LIBS
20613 LIBS="-lz $LIBS"
20614 cat >conftest.$ac_ext <<_ACEOF
20615 /* confdefs.h. */
20616 _ACEOF
20617 cat confdefs.h >>conftest.$ac_ext
20618 cat >>conftest.$ac_ext <<_ACEOF
20619 /* end confdefs.h. */
20620
20621 /* Override any gcc2 internal prototype to avoid an error. */
20622 #ifdef __cplusplus
20623 extern "C"
20624 #endif
20625 /* We use char because int might match the return type of a gcc2
20626 builtin and then its argument prototype would still apply. */
20627 char deflate ();
20628 int
20629 main ()
20630 {
20631 deflate ();
20632 ;
20633 return 0;
20634 }
20635 _ACEOF
20636 rm -f conftest.$ac_objext conftest$ac_exeext
20637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20638 (eval $ac_link) 2>conftest.er1
20639 ac_status=$?
20640 grep -v '^ *+' conftest.er1 >conftest.err
20641 rm -f conftest.er1
20642 cat conftest.err >&5
20643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20644 (exit $ac_status); } &&
20645 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20647 (eval $ac_try) 2>&5
20648 ac_status=$?
20649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20650 (exit $ac_status); }; } &&
20651 { ac_try='test -s conftest$ac_exeext'
20652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20653 (eval $ac_try) 2>&5
20654 ac_status=$?
20655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20656 (exit $ac_status); }; }; then
20657 ac_cv_lib_z_deflate=yes
20658 else
20659 echo "$as_me: failed program was:" >&5
20660 sed 's/^/| /' conftest.$ac_ext >&5
20661
20662 ac_cv_lib_z_deflate=no
20663 fi
20664 rm -f conftest.err conftest.$ac_objext \
20665 conftest$ac_exeext conftest.$ac_ext
20666 LIBS=$ac_check_lib_save_LIBS
20667 fi
20668 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20669 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20670 if test $ac_cv_lib_z_deflate = yes; then
20671 ZLIB_LINK=" -lz"
20672 fi
20673
20674 fi
20675
20676 if test "x$ZLIB_LINK" = "x" ; then
20677 if test "$wxUSE_ZLIB" = "sys" ; then
20678 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20679 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20680 { (exit 1); exit 1; }; }
20681 else
20682 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20683 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20684 wxUSE_ZLIB=builtin
20685 fi
20686 else
20687 wxUSE_ZLIB=sys
20688 fi
20689 fi
20690 fi
20691
20692
20693 PNG_LINK=
20694 if test "$wxUSE_LIBPNG" != "no" ; then
20695 cat >>confdefs.h <<\_ACEOF
20696 #define wxUSE_LIBPNG 1
20697 _ACEOF
20698
20699
20700 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20701 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20702 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20703 wxUSE_LIBPNG=sys
20704 fi
20705
20706 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20707 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20708 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20709 wxUSE_LIBPNG=builtin
20710 fi
20711
20712 if test "$wxUSE_MGL" != 1 ; then
20713 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20714 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20715 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20716 if test "${ac_cv_header_png_h+set}" = set; then
20717 echo $ECHO_N "(cached) $ECHO_C" >&6
20718 else
20719 if test "$cross_compiling" = yes; then
20720 unset ac_cv_header_png_h
20721
20722 else
20723 cat >conftest.$ac_ext <<_ACEOF
20724 /* confdefs.h. */
20725 _ACEOF
20726 cat confdefs.h >>conftest.$ac_ext
20727 cat >>conftest.$ac_ext <<_ACEOF
20728 /* end confdefs.h. */
20729
20730 #include <png.h>
20731 #include <stdio.h>
20732
20733 int main()
20734 {
20735 FILE *f=fopen("conftestval", "w");
20736 if (!f) exit(1);
20737 fprintf(f, "%s",
20738 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20739 exit(0);
20740 }
20741
20742 _ACEOF
20743 rm -f conftest$ac_exeext
20744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20745 (eval $ac_link) 2>&5
20746 ac_status=$?
20747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20748 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20750 (eval $ac_try) 2>&5
20751 ac_status=$?
20752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20753 (exit $ac_status); }; }; then
20754 ac_cv_header_png_h=`cat conftestval`
20755 else
20756 echo "$as_me: program exited with status $ac_status" >&5
20757 echo "$as_me: failed program was:" >&5
20758 sed 's/^/| /' conftest.$ac_ext >&5
20759
20760 ( exit $ac_status )
20761 ac_cv_header_png_h=no
20762 fi
20763 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20764 fi
20765
20766 fi
20767 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20768 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20769 if test "${ac_cv_header_png_h+set}" = set; then
20770 echo "$as_me:$LINENO: checking for png.h" >&5
20771 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20772 if test "${ac_cv_header_png_h+set}" = set; then
20773 echo $ECHO_N "(cached) $ECHO_C" >&6
20774 fi
20775 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20776 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20777 else
20778 # Is the header compilable?
20779 echo "$as_me:$LINENO: checking png.h usability" >&5
20780 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
20781 cat >conftest.$ac_ext <<_ACEOF
20782 /* confdefs.h. */
20783 _ACEOF
20784 cat confdefs.h >>conftest.$ac_ext
20785 cat >>conftest.$ac_ext <<_ACEOF
20786 /* end confdefs.h. */
20787 $ac_includes_default
20788 #include <png.h>
20789 _ACEOF
20790 rm -f conftest.$ac_objext
20791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20792 (eval $ac_compile) 2>conftest.er1
20793 ac_status=$?
20794 grep -v '^ *+' conftest.er1 >conftest.err
20795 rm -f conftest.er1
20796 cat conftest.err >&5
20797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20798 (exit $ac_status); } &&
20799 { ac_try='test -z "$ac_c_werror_flag" || 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_objext'
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_header_compiler=yes
20812 else
20813 echo "$as_me: failed program was:" >&5
20814 sed 's/^/| /' conftest.$ac_ext >&5
20815
20816 ac_header_compiler=no
20817 fi
20818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20819 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20820 echo "${ECHO_T}$ac_header_compiler" >&6
20821
20822 # Is the header present?
20823 echo "$as_me:$LINENO: checking png.h presence" >&5
20824 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
20825 cat >conftest.$ac_ext <<_ACEOF
20826 /* confdefs.h. */
20827 _ACEOF
20828 cat confdefs.h >>conftest.$ac_ext
20829 cat >>conftest.$ac_ext <<_ACEOF
20830 /* end confdefs.h. */
20831 #include <png.h>
20832 _ACEOF
20833 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20834 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20835 ac_status=$?
20836 grep -v '^ *+' conftest.er1 >conftest.err
20837 rm -f conftest.er1
20838 cat conftest.err >&5
20839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20840 (exit $ac_status); } >/dev/null; then
20841 if test -s conftest.err; then
20842 ac_cpp_err=$ac_c_preproc_warn_flag
20843 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20844 else
20845 ac_cpp_err=
20846 fi
20847 else
20848 ac_cpp_err=yes
20849 fi
20850 if test -z "$ac_cpp_err"; then
20851 ac_header_preproc=yes
20852 else
20853 echo "$as_me: failed program was:" >&5
20854 sed 's/^/| /' conftest.$ac_ext >&5
20855
20856 ac_header_preproc=no
20857 fi
20858 rm -f conftest.err conftest.$ac_ext
20859 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20860 echo "${ECHO_T}$ac_header_preproc" >&6
20861
20862 # So? What about this header?
20863 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20864 yes:no: )
20865 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
20866 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20867 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
20868 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
20869 ac_header_preproc=yes
20870 ;;
20871 no:yes:* )
20872 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
20873 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
20874 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
20875 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
20876 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
20877 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
20878 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
20879 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
20880 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
20881 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
20882 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
20883 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
20884 (
20885 cat <<\_ASBOX
20886 ## ----------------------------------------- ##
20887 ## Report this to wx-dev@lists.wxwidgets.org ##
20888 ## ----------------------------------------- ##
20889 _ASBOX
20890 ) |
20891 sed "s/^/$as_me: WARNING: /" >&2
20892 ;;
20893 esac
20894 echo "$as_me:$LINENO: checking for png.h" >&5
20895 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20896 if test "${ac_cv_header_png_h+set}" = set; then
20897 echo $ECHO_N "(cached) $ECHO_C" >&6
20898 else
20899 ac_cv_header_png_h=$ac_header_preproc
20900 fi
20901 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20902 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20903
20904 fi
20905
20906
20907
20908 if test "$ac_cv_header_png_h" = "yes"; then
20909 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
20910 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
20911 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
20912 echo $ECHO_N "(cached) $ECHO_C" >&6
20913 else
20914 ac_check_lib_save_LIBS=$LIBS
20915 LIBS="-lpng -lz -lm $LIBS"
20916 cat >conftest.$ac_ext <<_ACEOF
20917 /* confdefs.h. */
20918 _ACEOF
20919 cat confdefs.h >>conftest.$ac_ext
20920 cat >>conftest.$ac_ext <<_ACEOF
20921 /* end confdefs.h. */
20922
20923 /* Override any gcc2 internal prototype to avoid an error. */
20924 #ifdef __cplusplus
20925 extern "C"
20926 #endif
20927 /* We use char because int might match the return type of a gcc2
20928 builtin and then its argument prototype would still apply. */
20929 char png_check_sig ();
20930 int
20931 main ()
20932 {
20933 png_check_sig ();
20934 ;
20935 return 0;
20936 }
20937 _ACEOF
20938 rm -f conftest.$ac_objext conftest$ac_exeext
20939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20940 (eval $ac_link) 2>conftest.er1
20941 ac_status=$?
20942 grep -v '^ *+' conftest.er1 >conftest.err
20943 rm -f conftest.er1
20944 cat conftest.err >&5
20945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20946 (exit $ac_status); } &&
20947 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20949 (eval $ac_try) 2>&5
20950 ac_status=$?
20951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20952 (exit $ac_status); }; } &&
20953 { ac_try='test -s conftest$ac_exeext'
20954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20955 (eval $ac_try) 2>&5
20956 ac_status=$?
20957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20958 (exit $ac_status); }; }; then
20959 ac_cv_lib_png_png_check_sig=yes
20960 else
20961 echo "$as_me: failed program was:" >&5
20962 sed 's/^/| /' conftest.$ac_ext >&5
20963
20964 ac_cv_lib_png_png_check_sig=no
20965 fi
20966 rm -f conftest.err conftest.$ac_objext \
20967 conftest$ac_exeext conftest.$ac_ext
20968 LIBS=$ac_check_lib_save_LIBS
20969 fi
20970 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
20971 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
20972 if test $ac_cv_lib_png_png_check_sig = yes; then
20973 PNG_LINK=" -lpng -lz"
20974 fi
20975
20976 fi
20977
20978 if test "x$PNG_LINK" = "x" ; then
20979 if test "$wxUSE_LIBPNG" = "sys" ; then
20980 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
20981 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
20982 { (exit 1); exit 1; }; }
20983 else
20984 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
20985 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
20986 wxUSE_LIBPNG=builtin
20987 fi
20988 else
20989 wxUSE_LIBPNG=sys
20990 fi
20991 fi
20992 fi
20993
20994 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
20995 fi
20996
20997
20998 JPEG_LINK=
20999 if test "$wxUSE_LIBJPEG" != "no" ; then
21000 cat >>confdefs.h <<\_ACEOF
21001 #define wxUSE_LIBJPEG 1
21002 _ACEOF
21003
21004
21005 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
21006 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
21007 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
21008 wxUSE_LIBJPEG=sys
21009 fi
21010
21011 if test "$wxUSE_MGL" != 1 ; then
21012 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
21013 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
21014 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
21015 if test "${ac_cv_header_jpeglib_h+set}" = set; then
21016 echo $ECHO_N "(cached) $ECHO_C" >&6
21017 else
21018 cat >conftest.$ac_ext <<_ACEOF
21019 /* confdefs.h. */
21020 _ACEOF
21021 cat confdefs.h >>conftest.$ac_ext
21022 cat >>conftest.$ac_ext <<_ACEOF
21023 /* end confdefs.h. */
21024
21025 #undef HAVE_STDLIB_H
21026 #include <stdio.h>
21027 #include <jpeglib.h>
21028
21029 int
21030 main ()
21031 {
21032
21033
21034 ;
21035 return 0;
21036 }
21037 _ACEOF
21038 rm -f conftest.$ac_objext
21039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21040 (eval $ac_compile) 2>conftest.er1
21041 ac_status=$?
21042 grep -v '^ *+' conftest.er1 >conftest.err
21043 rm -f conftest.er1
21044 cat conftest.err >&5
21045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21046 (exit $ac_status); } &&
21047 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21049 (eval $ac_try) 2>&5
21050 ac_status=$?
21051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21052 (exit $ac_status); }; } &&
21053 { ac_try='test -s conftest.$ac_objext'
21054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21055 (eval $ac_try) 2>&5
21056 ac_status=$?
21057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21058 (exit $ac_status); }; }; then
21059 ac_cv_header_jpeglib_h=yes
21060 else
21061 echo "$as_me: failed program was:" >&5
21062 sed 's/^/| /' conftest.$ac_ext >&5
21063
21064 ac_cv_header_jpeglib_h=no
21065
21066 fi
21067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21068
21069 fi
21070
21071 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21072 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21073
21074 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21075 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21076 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21077 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21078 echo $ECHO_N "(cached) $ECHO_C" >&6
21079 else
21080 ac_check_lib_save_LIBS=$LIBS
21081 LIBS="-ljpeg $LIBS"
21082 cat >conftest.$ac_ext <<_ACEOF
21083 /* confdefs.h. */
21084 _ACEOF
21085 cat confdefs.h >>conftest.$ac_ext
21086 cat >>conftest.$ac_ext <<_ACEOF
21087 /* end confdefs.h. */
21088
21089 /* Override any gcc2 internal prototype to avoid an error. */
21090 #ifdef __cplusplus
21091 extern "C"
21092 #endif
21093 /* We use char because int might match the return type of a gcc2
21094 builtin and then its argument prototype would still apply. */
21095 char jpeg_read_header ();
21096 int
21097 main ()
21098 {
21099 jpeg_read_header ();
21100 ;
21101 return 0;
21102 }
21103 _ACEOF
21104 rm -f conftest.$ac_objext conftest$ac_exeext
21105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21106 (eval $ac_link) 2>conftest.er1
21107 ac_status=$?
21108 grep -v '^ *+' conftest.er1 >conftest.err
21109 rm -f conftest.er1
21110 cat conftest.err >&5
21111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21112 (exit $ac_status); } &&
21113 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21115 (eval $ac_try) 2>&5
21116 ac_status=$?
21117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21118 (exit $ac_status); }; } &&
21119 { ac_try='test -s conftest$ac_exeext'
21120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21121 (eval $ac_try) 2>&5
21122 ac_status=$?
21123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21124 (exit $ac_status); }; }; then
21125 ac_cv_lib_jpeg_jpeg_read_header=yes
21126 else
21127 echo "$as_me: failed program was:" >&5
21128 sed 's/^/| /' conftest.$ac_ext >&5
21129
21130 ac_cv_lib_jpeg_jpeg_read_header=no
21131 fi
21132 rm -f conftest.err conftest.$ac_objext \
21133 conftest$ac_exeext conftest.$ac_ext
21134 LIBS=$ac_check_lib_save_LIBS
21135 fi
21136 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21137 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21138 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21139 JPEG_LINK=" -ljpeg"
21140 fi
21141
21142 fi
21143
21144 if test "x$JPEG_LINK" = "x" ; then
21145 if test "$wxUSE_LIBJPEG" = "sys" ; then
21146 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21147 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21148 { (exit 1); exit 1; }; }
21149 else
21150 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21151 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21152 wxUSE_LIBJPEG=builtin
21153 fi
21154 else
21155 wxUSE_LIBJPEG=sys
21156 fi
21157 fi
21158 fi
21159 fi
21160
21161
21162 TIFF_LINK=
21163 TIFF_PREREQ_LINKS=-lm
21164 if test "$wxUSE_LIBTIFF" != "no" ; then
21165 cat >>confdefs.h <<\_ACEOF
21166 #define wxUSE_LIBTIFF 1
21167 _ACEOF
21168
21169
21170 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21171 if test "$wxUSE_LIBJPEG" = "sys"; then
21172 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
21173 fi
21174 if test "$wxUSE_ZLIB" = "sys"; then
21175 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21176 fi
21177 if test "${ac_cv_header_tiffio_h+set}" = set; then
21178 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21179 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21180 if test "${ac_cv_header_tiffio_h+set}" = set; then
21181 echo $ECHO_N "(cached) $ECHO_C" >&6
21182 fi
21183 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21184 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21185 else
21186 # Is the header compilable?
21187 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21188 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21189 cat >conftest.$ac_ext <<_ACEOF
21190 /* confdefs.h. */
21191 _ACEOF
21192 cat confdefs.h >>conftest.$ac_ext
21193 cat >>conftest.$ac_ext <<_ACEOF
21194 /* end confdefs.h. */
21195 $ac_includes_default
21196 #include <tiffio.h>
21197 _ACEOF
21198 rm -f conftest.$ac_objext
21199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21200 (eval $ac_compile) 2>conftest.er1
21201 ac_status=$?
21202 grep -v '^ *+' conftest.er1 >conftest.err
21203 rm -f conftest.er1
21204 cat conftest.err >&5
21205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21206 (exit $ac_status); } &&
21207 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21209 (eval $ac_try) 2>&5
21210 ac_status=$?
21211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21212 (exit $ac_status); }; } &&
21213 { ac_try='test -s conftest.$ac_objext'
21214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21215 (eval $ac_try) 2>&5
21216 ac_status=$?
21217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21218 (exit $ac_status); }; }; then
21219 ac_header_compiler=yes
21220 else
21221 echo "$as_me: failed program was:" >&5
21222 sed 's/^/| /' conftest.$ac_ext >&5
21223
21224 ac_header_compiler=no
21225 fi
21226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21227 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21228 echo "${ECHO_T}$ac_header_compiler" >&6
21229
21230 # Is the header present?
21231 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21232 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21233 cat >conftest.$ac_ext <<_ACEOF
21234 /* confdefs.h. */
21235 _ACEOF
21236 cat confdefs.h >>conftest.$ac_ext
21237 cat >>conftest.$ac_ext <<_ACEOF
21238 /* end confdefs.h. */
21239 #include <tiffio.h>
21240 _ACEOF
21241 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21242 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21243 ac_status=$?
21244 grep -v '^ *+' conftest.er1 >conftest.err
21245 rm -f conftest.er1
21246 cat conftest.err >&5
21247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21248 (exit $ac_status); } >/dev/null; then
21249 if test -s conftest.err; then
21250 ac_cpp_err=$ac_c_preproc_warn_flag
21251 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21252 else
21253 ac_cpp_err=
21254 fi
21255 else
21256 ac_cpp_err=yes
21257 fi
21258 if test -z "$ac_cpp_err"; then
21259 ac_header_preproc=yes
21260 else
21261 echo "$as_me: failed program was:" >&5
21262 sed 's/^/| /' conftest.$ac_ext >&5
21263
21264 ac_header_preproc=no
21265 fi
21266 rm -f conftest.err conftest.$ac_ext
21267 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21268 echo "${ECHO_T}$ac_header_preproc" >&6
21269
21270 # So? What about this header?
21271 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21272 yes:no: )
21273 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21274 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21275 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21276 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21277 ac_header_preproc=yes
21278 ;;
21279 no:yes:* )
21280 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21281 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
21282 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21283 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21284 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21285 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21286 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21287 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
21288 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21289 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
21290 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21291 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
21292 (
21293 cat <<\_ASBOX
21294 ## ----------------------------------------- ##
21295 ## Report this to wx-dev@lists.wxwidgets.org ##
21296 ## ----------------------------------------- ##
21297 _ASBOX
21298 ) |
21299 sed "s/^/$as_me: WARNING: /" >&2
21300 ;;
21301 esac
21302 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21303 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21304 if test "${ac_cv_header_tiffio_h+set}" = set; then
21305 echo $ECHO_N "(cached) $ECHO_C" >&6
21306 else
21307 ac_cv_header_tiffio_h=$ac_header_preproc
21308 fi
21309 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21310 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21311
21312 fi
21313 if test $ac_cv_header_tiffio_h = yes; then
21314
21315 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21316 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21317 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21318 echo $ECHO_N "(cached) $ECHO_C" >&6
21319 else
21320 ac_check_lib_save_LIBS=$LIBS
21321 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21322 cat >conftest.$ac_ext <<_ACEOF
21323 /* confdefs.h. */
21324 _ACEOF
21325 cat confdefs.h >>conftest.$ac_ext
21326 cat >>conftest.$ac_ext <<_ACEOF
21327 /* end confdefs.h. */
21328
21329 /* Override any gcc2 internal prototype to avoid an error. */
21330 #ifdef __cplusplus
21331 extern "C"
21332 #endif
21333 /* We use char because int might match the return type of a gcc2
21334 builtin and then its argument prototype would still apply. */
21335 char TIFFError ();
21336 int
21337 main ()
21338 {
21339 TIFFError ();
21340 ;
21341 return 0;
21342 }
21343 _ACEOF
21344 rm -f conftest.$ac_objext conftest$ac_exeext
21345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21346 (eval $ac_link) 2>conftest.er1
21347 ac_status=$?
21348 grep -v '^ *+' conftest.er1 >conftest.err
21349 rm -f conftest.er1
21350 cat conftest.err >&5
21351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21352 (exit $ac_status); } &&
21353 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21355 (eval $ac_try) 2>&5
21356 ac_status=$?
21357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21358 (exit $ac_status); }; } &&
21359 { ac_try='test -s conftest$ac_exeext'
21360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21361 (eval $ac_try) 2>&5
21362 ac_status=$?
21363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21364 (exit $ac_status); }; }; then
21365 ac_cv_lib_tiff_TIFFError=yes
21366 else
21367 echo "$as_me: failed program was:" >&5
21368 sed 's/^/| /' conftest.$ac_ext >&5
21369
21370 ac_cv_lib_tiff_TIFFError=no
21371 fi
21372 rm -f conftest.err conftest.$ac_objext \
21373 conftest$ac_exeext conftest.$ac_ext
21374 LIBS=$ac_check_lib_save_LIBS
21375 fi
21376 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21377 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21378 if test $ac_cv_lib_tiff_TIFFError = yes; then
21379 TIFF_LINK=" -ltiff"
21380 fi
21381
21382
21383
21384 fi
21385
21386
21387
21388 if test "x$TIFF_LINK" = "x" ; then
21389 if test "$wxUSE_LIBTIFF" = "sys" ; then
21390 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
21391 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
21392 { (exit 1); exit 1; }; }
21393 else
21394 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
21395 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
21396 wxUSE_LIBTIFF=builtin
21397 fi
21398 else
21399 wxUSE_LIBTIFF=sys
21400 fi
21401 fi
21402 fi
21403
21404
21405 if test "$wxUSE_EXPAT" != "no"; then
21406 wxUSE_XML=yes
21407 cat >>confdefs.h <<\_ACEOF
21408 #define wxUSE_EXPAT 1
21409 _ACEOF
21410
21411 cat >>confdefs.h <<\_ACEOF
21412 #define wxUSE_XML 1
21413 _ACEOF
21414
21415
21416 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
21417 if test "${ac_cv_header_expat_h+set}" = set; then
21418 echo "$as_me:$LINENO: checking for expat.h" >&5
21419 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21420 if test "${ac_cv_header_expat_h+set}" = set; then
21421 echo $ECHO_N "(cached) $ECHO_C" >&6
21422 fi
21423 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21424 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21425 else
21426 # Is the header compilable?
21427 echo "$as_me:$LINENO: checking expat.h usability" >&5
21428 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
21429 cat >conftest.$ac_ext <<_ACEOF
21430 /* confdefs.h. */
21431 _ACEOF
21432 cat confdefs.h >>conftest.$ac_ext
21433 cat >>conftest.$ac_ext <<_ACEOF
21434 /* end confdefs.h. */
21435 $ac_includes_default
21436 #include <expat.h>
21437 _ACEOF
21438 rm -f conftest.$ac_objext
21439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21440 (eval $ac_compile) 2>conftest.er1
21441 ac_status=$?
21442 grep -v '^ *+' conftest.er1 >conftest.err
21443 rm -f conftest.er1
21444 cat conftest.err >&5
21445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21446 (exit $ac_status); } &&
21447 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21449 (eval $ac_try) 2>&5
21450 ac_status=$?
21451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21452 (exit $ac_status); }; } &&
21453 { ac_try='test -s conftest.$ac_objext'
21454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21455 (eval $ac_try) 2>&5
21456 ac_status=$?
21457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21458 (exit $ac_status); }; }; then
21459 ac_header_compiler=yes
21460 else
21461 echo "$as_me: failed program was:" >&5
21462 sed 's/^/| /' conftest.$ac_ext >&5
21463
21464 ac_header_compiler=no
21465 fi
21466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21467 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21468 echo "${ECHO_T}$ac_header_compiler" >&6
21469
21470 # Is the header present?
21471 echo "$as_me:$LINENO: checking expat.h presence" >&5
21472 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21473 cat >conftest.$ac_ext <<_ACEOF
21474 /* confdefs.h. */
21475 _ACEOF
21476 cat confdefs.h >>conftest.$ac_ext
21477 cat >>conftest.$ac_ext <<_ACEOF
21478 /* end confdefs.h. */
21479 #include <expat.h>
21480 _ACEOF
21481 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21482 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21483 ac_status=$?
21484 grep -v '^ *+' conftest.er1 >conftest.err
21485 rm -f conftest.er1
21486 cat conftest.err >&5
21487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21488 (exit $ac_status); } >/dev/null; then
21489 if test -s conftest.err; then
21490 ac_cpp_err=$ac_c_preproc_warn_flag
21491 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21492 else
21493 ac_cpp_err=
21494 fi
21495 else
21496 ac_cpp_err=yes
21497 fi
21498 if test -z "$ac_cpp_err"; then
21499 ac_header_preproc=yes
21500 else
21501 echo "$as_me: failed program was:" >&5
21502 sed 's/^/| /' conftest.$ac_ext >&5
21503
21504 ac_header_preproc=no
21505 fi
21506 rm -f conftest.err conftest.$ac_ext
21507 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21508 echo "${ECHO_T}$ac_header_preproc" >&6
21509
21510 # So? What about this header?
21511 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21512 yes:no: )
21513 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21514 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21515 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21516 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21517 ac_header_preproc=yes
21518 ;;
21519 no:yes:* )
21520 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21521 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21522 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21523 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21524 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21525 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21526 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21527 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21528 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21529 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21530 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21531 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21532 (
21533 cat <<\_ASBOX
21534 ## ----------------------------------------- ##
21535 ## Report this to wx-dev@lists.wxwidgets.org ##
21536 ## ----------------------------------------- ##
21537 _ASBOX
21538 ) |
21539 sed "s/^/$as_me: WARNING: /" >&2
21540 ;;
21541 esac
21542 echo "$as_me:$LINENO: checking for expat.h" >&5
21543 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21544 if test "${ac_cv_header_expat_h+set}" = set; then
21545 echo $ECHO_N "(cached) $ECHO_C" >&6
21546 else
21547 ac_cv_header_expat_h=$ac_header_preproc
21548 fi
21549 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21550 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21551
21552 fi
21553 if test $ac_cv_header_expat_h = yes; then
21554 found_expat_h=1
21555 fi
21556
21557
21558 if test "x$found_expat_h" = "x1"; then
21559 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21560 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21561 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21562 echo $ECHO_N "(cached) $ECHO_C" >&6
21563 else
21564
21565
21566
21567 ac_ext=cc
21568 ac_cpp='$CXXCPP $CPPFLAGS'
21569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21572
21573 cat >conftest.$ac_ext <<_ACEOF
21574 /* confdefs.h. */
21575 _ACEOF
21576 cat confdefs.h >>conftest.$ac_ext
21577 cat >>conftest.$ac_ext <<_ACEOF
21578 /* end confdefs.h. */
21579 #include <expat.h>
21580 int
21581 main ()
21582 {
21583
21584 ;
21585 return 0;
21586 }
21587 _ACEOF
21588 rm -f conftest.$ac_objext
21589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21590 (eval $ac_compile) 2>conftest.er1
21591 ac_status=$?
21592 grep -v '^ *+' conftest.er1 >conftest.err
21593 rm -f conftest.er1
21594 cat conftest.err >&5
21595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21596 (exit $ac_status); } &&
21597 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21599 (eval $ac_try) 2>&5
21600 ac_status=$?
21601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21602 (exit $ac_status); }; } &&
21603 { ac_try='test -s conftest.$ac_objext'
21604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21605 (eval $ac_try) 2>&5
21606 ac_status=$?
21607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21608 (exit $ac_status); }; }; then
21609 wx_cv_expat_is_not_broken=yes
21610 else
21611 echo "$as_me: failed program was:" >&5
21612 sed 's/^/| /' conftest.$ac_ext >&5
21613
21614 wx_cv_expat_is_not_broken=no
21615
21616 fi
21617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21618 ac_ext=c
21619 ac_cpp='$CPP $CPPFLAGS'
21620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21623
21624
21625
21626 fi
21627 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21628 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21629 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21630 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21631 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21632 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21633 echo $ECHO_N "(cached) $ECHO_C" >&6
21634 else
21635 ac_check_lib_save_LIBS=$LIBS
21636 LIBS="-lexpat $LIBS"
21637 cat >conftest.$ac_ext <<_ACEOF
21638 /* confdefs.h. */
21639 _ACEOF
21640 cat confdefs.h >>conftest.$ac_ext
21641 cat >>conftest.$ac_ext <<_ACEOF
21642 /* end confdefs.h. */
21643
21644 /* Override any gcc2 internal prototype to avoid an error. */
21645 #ifdef __cplusplus
21646 extern "C"
21647 #endif
21648 /* We use char because int might match the return type of a gcc2
21649 builtin and then its argument prototype would still apply. */
21650 char XML_ParserCreate ();
21651 int
21652 main ()
21653 {
21654 XML_ParserCreate ();
21655 ;
21656 return 0;
21657 }
21658 _ACEOF
21659 rm -f conftest.$ac_objext conftest$ac_exeext
21660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21661 (eval $ac_link) 2>conftest.er1
21662 ac_status=$?
21663 grep -v '^ *+' conftest.er1 >conftest.err
21664 rm -f conftest.er1
21665 cat conftest.err >&5
21666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21667 (exit $ac_status); } &&
21668 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21670 (eval $ac_try) 2>&5
21671 ac_status=$?
21672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21673 (exit $ac_status); }; } &&
21674 { ac_try='test -s conftest$ac_exeext'
21675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21676 (eval $ac_try) 2>&5
21677 ac_status=$?
21678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21679 (exit $ac_status); }; }; then
21680 ac_cv_lib_expat_XML_ParserCreate=yes
21681 else
21682 echo "$as_me: failed program was:" >&5
21683 sed 's/^/| /' conftest.$ac_ext >&5
21684
21685 ac_cv_lib_expat_XML_ParserCreate=no
21686 fi
21687 rm -f conftest.err conftest.$ac_objext \
21688 conftest$ac_exeext conftest.$ac_ext
21689 LIBS=$ac_check_lib_save_LIBS
21690 fi
21691 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21692 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21693 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21694 EXPAT_LINK=" -lexpat"
21695 fi
21696
21697 fi
21698 fi
21699 if test "x$EXPAT_LINK" = "x" ; then
21700 if test "$wxUSE_EXPAT" = "sys" ; then
21701 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21702 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21703 { (exit 1); exit 1; }; }
21704 else
21705 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21706 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21707 wxUSE_EXPAT=builtin
21708 fi
21709 else
21710 wxUSE_EXPAT=sys
21711 fi
21712 fi
21713 if test "$wxUSE_EXPAT" = "builtin" ; then
21714
21715
21716 subdirs="$subdirs src/expat"
21717
21718 fi
21719 fi
21720
21721
21722
21723 if test "$wxUSE_LIBMSPACK" != "no"; then
21724
21725 if test "${ac_cv_header_mspack_h+set}" = set; then
21726 echo "$as_me:$LINENO: checking for mspack.h" >&5
21727 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21728 if test "${ac_cv_header_mspack_h+set}" = set; then
21729 echo $ECHO_N "(cached) $ECHO_C" >&6
21730 fi
21731 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21732 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21733 else
21734 # Is the header compilable?
21735 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21736 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21737 cat >conftest.$ac_ext <<_ACEOF
21738 /* confdefs.h. */
21739 _ACEOF
21740 cat confdefs.h >>conftest.$ac_ext
21741 cat >>conftest.$ac_ext <<_ACEOF
21742 /* end confdefs.h. */
21743 $ac_includes_default
21744 #include <mspack.h>
21745 _ACEOF
21746 rm -f conftest.$ac_objext
21747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21748 (eval $ac_compile) 2>conftest.er1
21749 ac_status=$?
21750 grep -v '^ *+' conftest.er1 >conftest.err
21751 rm -f conftest.er1
21752 cat conftest.err >&5
21753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21754 (exit $ac_status); } &&
21755 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21757 (eval $ac_try) 2>&5
21758 ac_status=$?
21759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21760 (exit $ac_status); }; } &&
21761 { ac_try='test -s conftest.$ac_objext'
21762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21763 (eval $ac_try) 2>&5
21764 ac_status=$?
21765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21766 (exit $ac_status); }; }; then
21767 ac_header_compiler=yes
21768 else
21769 echo "$as_me: failed program was:" >&5
21770 sed 's/^/| /' conftest.$ac_ext >&5
21771
21772 ac_header_compiler=no
21773 fi
21774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21775 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21776 echo "${ECHO_T}$ac_header_compiler" >&6
21777
21778 # Is the header present?
21779 echo "$as_me:$LINENO: checking mspack.h presence" >&5
21780 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
21781 cat >conftest.$ac_ext <<_ACEOF
21782 /* confdefs.h. */
21783 _ACEOF
21784 cat confdefs.h >>conftest.$ac_ext
21785 cat >>conftest.$ac_ext <<_ACEOF
21786 /* end confdefs.h. */
21787 #include <mspack.h>
21788 _ACEOF
21789 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21790 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21791 ac_status=$?
21792 grep -v '^ *+' conftest.er1 >conftest.err
21793 rm -f conftest.er1
21794 cat conftest.err >&5
21795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21796 (exit $ac_status); } >/dev/null; then
21797 if test -s conftest.err; then
21798 ac_cpp_err=$ac_c_preproc_warn_flag
21799 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21800 else
21801 ac_cpp_err=
21802 fi
21803 else
21804 ac_cpp_err=yes
21805 fi
21806 if test -z "$ac_cpp_err"; then
21807 ac_header_preproc=yes
21808 else
21809 echo "$as_me: failed program was:" >&5
21810 sed 's/^/| /' conftest.$ac_ext >&5
21811
21812 ac_header_preproc=no
21813 fi
21814 rm -f conftest.err conftest.$ac_ext
21815 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21816 echo "${ECHO_T}$ac_header_preproc" >&6
21817
21818 # So? What about this header?
21819 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21820 yes:no: )
21821 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
21822 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21823 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
21824 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
21825 ac_header_preproc=yes
21826 ;;
21827 no:yes:* )
21828 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
21829 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
21830 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
21831 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
21832 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
21833 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
21834 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
21835 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
21836 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
21837 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
21838 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
21839 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
21840 (
21841 cat <<\_ASBOX
21842 ## ----------------------------------------- ##
21843 ## Report this to wx-dev@lists.wxwidgets.org ##
21844 ## ----------------------------------------- ##
21845 _ASBOX
21846 ) |
21847 sed "s/^/$as_me: WARNING: /" >&2
21848 ;;
21849 esac
21850 echo "$as_me:$LINENO: checking for mspack.h" >&5
21851 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21852 if test "${ac_cv_header_mspack_h+set}" = set; then
21853 echo $ECHO_N "(cached) $ECHO_C" >&6
21854 else
21855 ac_cv_header_mspack_h=$ac_header_preproc
21856 fi
21857 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21858 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21859
21860 fi
21861 if test $ac_cv_header_mspack_h = yes; then
21862 found_mspack_h=1
21863 fi
21864
21865
21866 if test "x$found_mspack_h" = "x1"; then
21867 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
21868 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
21869 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
21870 echo $ECHO_N "(cached) $ECHO_C" >&6
21871 else
21872 ac_check_lib_save_LIBS=$LIBS
21873 LIBS="-lmspack $LIBS"
21874 cat >conftest.$ac_ext <<_ACEOF
21875 /* confdefs.h. */
21876 _ACEOF
21877 cat confdefs.h >>conftest.$ac_ext
21878 cat >>conftest.$ac_ext <<_ACEOF
21879 /* end confdefs.h. */
21880
21881 /* Override any gcc2 internal prototype to avoid an error. */
21882 #ifdef __cplusplus
21883 extern "C"
21884 #endif
21885 /* We use char because int might match the return type of a gcc2
21886 builtin and then its argument prototype would still apply. */
21887 char mspack_create_chm_decompressor ();
21888 int
21889 main ()
21890 {
21891 mspack_create_chm_decompressor ();
21892 ;
21893 return 0;
21894 }
21895 _ACEOF
21896 rm -f conftest.$ac_objext conftest$ac_exeext
21897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21898 (eval $ac_link) 2>conftest.er1
21899 ac_status=$?
21900 grep -v '^ *+' conftest.er1 >conftest.err
21901 rm -f conftest.er1
21902 cat conftest.err >&5
21903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21904 (exit $ac_status); } &&
21905 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21907 (eval $ac_try) 2>&5
21908 ac_status=$?
21909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21910 (exit $ac_status); }; } &&
21911 { ac_try='test -s conftest$ac_exeext'
21912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21913 (eval $ac_try) 2>&5
21914 ac_status=$?
21915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21916 (exit $ac_status); }; }; then
21917 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
21918 else
21919 echo "$as_me: failed program was:" >&5
21920 sed 's/^/| /' conftest.$ac_ext >&5
21921
21922 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
21923 fi
21924 rm -f conftest.err conftest.$ac_objext \
21925 conftest$ac_exeext conftest.$ac_ext
21926 LIBS=$ac_check_lib_save_LIBS
21927 fi
21928 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
21929 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
21930 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
21931 MSPACK_LINK=" -lmspack"
21932 fi
21933
21934 fi
21935 if test "x$MSPACK_LINK" = "x" ; then
21936 wxUSE_LIBMSPACK=no
21937 else
21938 cat >>confdefs.h <<\_ACEOF
21939 #define wxUSE_LIBMSPACK 1
21940 _ACEOF
21941
21942 fi
21943 fi
21944
21945
21946
21947 AFMINSTALL=
21948 WIN32INSTALL=
21949
21950 TOOLKIT=
21951 TOOLKIT_INCLUDE=
21952 WIDGET_SET=
21953
21954 if test "$USE_WIN32" = 1 ; then
21955
21956 for ac_header in w32api.h
21957 do
21958 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21960 echo "$as_me:$LINENO: checking for $ac_header" >&5
21961 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21962 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21963 echo $ECHO_N "(cached) $ECHO_C" >&6
21964 fi
21965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21966 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21967 else
21968 # Is the header compilable?
21969 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21970 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21971 cat >conftest.$ac_ext <<_ACEOF
21972 /* confdefs.h. */
21973 _ACEOF
21974 cat confdefs.h >>conftest.$ac_ext
21975 cat >>conftest.$ac_ext <<_ACEOF
21976 /* end confdefs.h. */
21977 $ac_includes_default
21978 #include <$ac_header>
21979 _ACEOF
21980 rm -f conftest.$ac_objext
21981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21982 (eval $ac_compile) 2>conftest.er1
21983 ac_status=$?
21984 grep -v '^ *+' conftest.er1 >conftest.err
21985 rm -f conftest.er1
21986 cat conftest.err >&5
21987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21988 (exit $ac_status); } &&
21989 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21991 (eval $ac_try) 2>&5
21992 ac_status=$?
21993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21994 (exit $ac_status); }; } &&
21995 { ac_try='test -s conftest.$ac_objext'
21996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21997 (eval $ac_try) 2>&5
21998 ac_status=$?
21999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22000 (exit $ac_status); }; }; then
22001 ac_header_compiler=yes
22002 else
22003 echo "$as_me: failed program was:" >&5
22004 sed 's/^/| /' conftest.$ac_ext >&5
22005
22006 ac_header_compiler=no
22007 fi
22008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22009 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22010 echo "${ECHO_T}$ac_header_compiler" >&6
22011
22012 # Is the header present?
22013 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22014 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22015 cat >conftest.$ac_ext <<_ACEOF
22016 /* confdefs.h. */
22017 _ACEOF
22018 cat confdefs.h >>conftest.$ac_ext
22019 cat >>conftest.$ac_ext <<_ACEOF
22020 /* end confdefs.h. */
22021 #include <$ac_header>
22022 _ACEOF
22023 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22024 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22025 ac_status=$?
22026 grep -v '^ *+' conftest.er1 >conftest.err
22027 rm -f conftest.er1
22028 cat conftest.err >&5
22029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22030 (exit $ac_status); } >/dev/null; then
22031 if test -s conftest.err; then
22032 ac_cpp_err=$ac_c_preproc_warn_flag
22033 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22034 else
22035 ac_cpp_err=
22036 fi
22037 else
22038 ac_cpp_err=yes
22039 fi
22040 if test -z "$ac_cpp_err"; then
22041 ac_header_preproc=yes
22042 else
22043 echo "$as_me: failed program was:" >&5
22044 sed 's/^/| /' conftest.$ac_ext >&5
22045
22046 ac_header_preproc=no
22047 fi
22048 rm -f conftest.err conftest.$ac_ext
22049 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22050 echo "${ECHO_T}$ac_header_preproc" >&6
22051
22052 # So? What about this header?
22053 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22054 yes:no: )
22055 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22056 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22057 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22058 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22059 ac_header_preproc=yes
22060 ;;
22061 no:yes:* )
22062 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22063 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22064 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22065 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22066 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22067 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22068 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22069 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22070 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22071 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22072 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22073 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22074 (
22075 cat <<\_ASBOX
22076 ## ----------------------------------------- ##
22077 ## Report this to wx-dev@lists.wxwidgets.org ##
22078 ## ----------------------------------------- ##
22079 _ASBOX
22080 ) |
22081 sed "s/^/$as_me: WARNING: /" >&2
22082 ;;
22083 esac
22084 echo "$as_me:$LINENO: checking for $ac_header" >&5
22085 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22086 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22087 echo $ECHO_N "(cached) $ECHO_C" >&6
22088 else
22089 eval "$as_ac_Header=\$ac_header_preproc"
22090 fi
22091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22092 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22093
22094 fi
22095 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22096 cat >>confdefs.h <<_ACEOF
22097 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22098 _ACEOF
22099
22100 fi
22101
22102 done
22103
22104 if test "${ac_cv_header_windows_h+set}" = set; then
22105 echo "$as_me:$LINENO: checking for windows.h" >&5
22106 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22107 if test "${ac_cv_header_windows_h+set}" = set; then
22108 echo $ECHO_N "(cached) $ECHO_C" >&6
22109 fi
22110 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22111 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22112 else
22113 # Is the header compilable?
22114 echo "$as_me:$LINENO: checking windows.h usability" >&5
22115 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22116 cat >conftest.$ac_ext <<_ACEOF
22117 /* confdefs.h. */
22118 _ACEOF
22119 cat confdefs.h >>conftest.$ac_ext
22120 cat >>conftest.$ac_ext <<_ACEOF
22121 /* end confdefs.h. */
22122 $ac_includes_default
22123 #include <windows.h>
22124 _ACEOF
22125 rm -f conftest.$ac_objext
22126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22127 (eval $ac_compile) 2>conftest.er1
22128 ac_status=$?
22129 grep -v '^ *+' conftest.er1 >conftest.err
22130 rm -f conftest.er1
22131 cat conftest.err >&5
22132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22133 (exit $ac_status); } &&
22134 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22136 (eval $ac_try) 2>&5
22137 ac_status=$?
22138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22139 (exit $ac_status); }; } &&
22140 { ac_try='test -s conftest.$ac_objext'
22141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22142 (eval $ac_try) 2>&5
22143 ac_status=$?
22144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22145 (exit $ac_status); }; }; then
22146 ac_header_compiler=yes
22147 else
22148 echo "$as_me: failed program was:" >&5
22149 sed 's/^/| /' conftest.$ac_ext >&5
22150
22151 ac_header_compiler=no
22152 fi
22153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22154 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22155 echo "${ECHO_T}$ac_header_compiler" >&6
22156
22157 # Is the header present?
22158 echo "$as_me:$LINENO: checking windows.h presence" >&5
22159 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22160 cat >conftest.$ac_ext <<_ACEOF
22161 /* confdefs.h. */
22162 _ACEOF
22163 cat confdefs.h >>conftest.$ac_ext
22164 cat >>conftest.$ac_ext <<_ACEOF
22165 /* end confdefs.h. */
22166 #include <windows.h>
22167 _ACEOF
22168 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22169 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22170 ac_status=$?
22171 grep -v '^ *+' conftest.er1 >conftest.err
22172 rm -f conftest.er1
22173 cat conftest.err >&5
22174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22175 (exit $ac_status); } >/dev/null; then
22176 if test -s conftest.err; then
22177 ac_cpp_err=$ac_c_preproc_warn_flag
22178 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22179 else
22180 ac_cpp_err=
22181 fi
22182 else
22183 ac_cpp_err=yes
22184 fi
22185 if test -z "$ac_cpp_err"; then
22186 ac_header_preproc=yes
22187 else
22188 echo "$as_me: failed program was:" >&5
22189 sed 's/^/| /' conftest.$ac_ext >&5
22190
22191 ac_header_preproc=no
22192 fi
22193 rm -f conftest.err conftest.$ac_ext
22194 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22195 echo "${ECHO_T}$ac_header_preproc" >&6
22196
22197 # So? What about this header?
22198 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22199 yes:no: )
22200 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22201 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22202 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22203 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22204 ac_header_preproc=yes
22205 ;;
22206 no:yes:* )
22207 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22208 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
22209 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22210 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22211 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22212 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22213 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22214 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
22215 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22216 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
22217 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22218 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
22219 (
22220 cat <<\_ASBOX
22221 ## ----------------------------------------- ##
22222 ## Report this to wx-dev@lists.wxwidgets.org ##
22223 ## ----------------------------------------- ##
22224 _ASBOX
22225 ) |
22226 sed "s/^/$as_me: WARNING: /" >&2
22227 ;;
22228 esac
22229 echo "$as_me:$LINENO: checking for windows.h" >&5
22230 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22231 if test "${ac_cv_header_windows_h+set}" = set; then
22232 echo $ECHO_N "(cached) $ECHO_C" >&6
22233 else
22234 ac_cv_header_windows_h=$ac_header_preproc
22235 fi
22236 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22237 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22238
22239 fi
22240 if test $ac_cv_header_windows_h = yes; then
22241 :
22242 else
22243
22244 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22245 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22246 { (exit 1); exit 1; }; }
22247
22248 fi
22249
22250
22251
22252 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22253
22254 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22255 LIBS="$LIBS -loleacc"
22256 fi
22257
22258 case "${host}" in
22259 *-*-cygwin* )
22260 LIBS="$LIBS -lkernel32 -luser32"
22261 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
22262 esac
22263
22264 if test "$wxUSE_ODBC" = "sys" ; then
22265 wxUSE_ODBC = "yes"
22266 fi
22267 if test "$wxUSE_ODBC" = "yes" ; then
22268 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
22269 cat >>confdefs.h <<\_ACEOF
22270 #define wxUSE_ODBC 1
22271 _ACEOF
22272
22273 fi
22274
22275 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22276 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
22277
22278 WIN32INSTALL=win32install
22279 fi
22280
22281 if test "$wxUSE_GUI" = "yes"; then
22282 USE_GUI=1
22283
22284 GUI_TK_LIBRARY=
22285
22286 WXGTK12=
22287 WXGTK127=
22288 WXGTK20=
22289 WXGPE=
22290
22291 if test "$wxUSE_MSW" = 1 ; then
22292 TOOLKIT=MSW
22293 GUIDIST=MSW_DIST
22294
22295 case "${host}" in
22296 *-*-mingw32* )
22297 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22298 esac
22299 fi
22300
22301 if test "$wxUSE_GTK" = 1; then
22302 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22303 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22304
22305 gtk_version_cached=1
22306 if test "${wx_cv_lib_gtk+set}" = set; then
22307 echo $ECHO_N "(cached) $ECHO_C" >&6
22308 else
22309
22310 gtk_version_cached=0
22311 echo "$as_me:$LINENO: result: " >&5
22312 echo "${ECHO_T}" >&6
22313
22314 GTK_MODULES=
22315 if test "$wxUSE_THREADS" = "yes"; then
22316 GTK_MODULES=gthread
22317 fi
22318
22319 wx_cv_lib_gtk=
22320 if test "x$wxUSE_GTK2" = "xyes"; then
22321 # Check whether --enable-gtktest or --disable-gtktest was given.
22322 if test "${enable_gtktest+set}" = set; then
22323 enableval="$enable_gtktest"
22324
22325 else
22326 enable_gtktest=yes
22327 fi;
22328
22329 pkg_config_args=gtk+-2.0
22330 for module in . $GTK_MODULES
22331 do
22332 case "$module" in
22333 gthread)
22334 pkg_config_args="$pkg_config_args gthread-2.0"
22335 ;;
22336 esac
22337 done
22338
22339 no_gtk=""
22340
22341 # Extract the first word of "pkg-config", so it can be a program name with args.
22342 set dummy pkg-config; ac_word=$2
22343 echo "$as_me:$LINENO: checking for $ac_word" >&5
22344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22345 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22346 echo $ECHO_N "(cached) $ECHO_C" >&6
22347 else
22348 case $PKG_CONFIG in
22349 [\\/]* | ?:[\\/]*)
22350 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22351 ;;
22352 *)
22353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22354 for as_dir in $PATH
22355 do
22356 IFS=$as_save_IFS
22357 test -z "$as_dir" && as_dir=.
22358 for ac_exec_ext in '' $ac_executable_extensions; do
22359 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22360 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22362 break 2
22363 fi
22364 done
22365 done
22366
22367 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22368 ;;
22369 esac
22370 fi
22371 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22372
22373 if test -n "$PKG_CONFIG"; then
22374 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22375 echo "${ECHO_T}$PKG_CONFIG" >&6
22376 else
22377 echo "$as_me:$LINENO: result: no" >&5
22378 echo "${ECHO_T}no" >&6
22379 fi
22380
22381
22382 if test x$PKG_CONFIG != xno ; then
22383 if pkg-config --atleast-pkgconfig-version 0.7 ; then
22384 :
22385 else
22386 echo "*** pkg-config too old; version 0.7 or better required."
22387 no_gtk=yes
22388 PKG_CONFIG=no
22389 fi
22390 else
22391 no_gtk=yes
22392 fi
22393
22394 min_gtk_version=2.0.0
22395 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
22396 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
22397
22398 if test x$PKG_CONFIG != xno ; then
22399 ## don't try to run the test against uninstalled libtool libs
22400 if $PKG_CONFIG --uninstalled $pkg_config_args; then
22401 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
22402 enable_gtktest=no
22403 fi
22404
22405 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
22406 :
22407 else
22408 no_gtk=yes
22409 fi
22410 fi
22411
22412 if test x"$no_gtk" = x ; then
22413 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
22414 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
22415 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
22416 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22417 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
22418 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22419 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
22420 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22421 if test "x$enable_gtktest" = "xyes" ; then
22422 ac_save_CFLAGS="$CFLAGS"
22423 ac_save_LIBS="$LIBS"
22424 CFLAGS="$CFLAGS $GTK_CFLAGS"
22425 LIBS="$GTK_LIBS $LIBS"
22426 rm -f conf.gtktest
22427 if test "$cross_compiling" = yes; then
22428 echo $ac_n "cross compiling; assumed OK... $ac_c"
22429 else
22430 cat >conftest.$ac_ext <<_ACEOF
22431 /* confdefs.h. */
22432 _ACEOF
22433 cat confdefs.h >>conftest.$ac_ext
22434 cat >>conftest.$ac_ext <<_ACEOF
22435 /* end confdefs.h. */
22436
22437 #include <gtk/gtk.h>
22438 #include <stdio.h>
22439 #include <stdlib.h>
22440
22441 int
22442 main ()
22443 {
22444 int major, minor, micro;
22445 char *tmp_version;
22446
22447 system ("touch conf.gtktest");
22448
22449 /* HP/UX 9 (%@#!) writes to sscanf strings */
22450 tmp_version = g_strdup("$min_gtk_version");
22451 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
22452 printf("%s, bad version string\n", "$min_gtk_version");
22453 exit(1);
22454 }
22455
22456 if ((gtk_major_version != $gtk_config_major_version) ||
22457 (gtk_minor_version != $gtk_config_minor_version) ||
22458 (gtk_micro_version != $gtk_config_micro_version))
22459 {
22460 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22461 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22462 gtk_major_version, gtk_minor_version, gtk_micro_version);
22463 printf ("*** was found! If pkg-config was correct, then it is best\n");
22464 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22465 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22466 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22467 printf("*** required on your system.\n");
22468 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22469 printf("*** to point to the correct configuration files\n");
22470 }
22471 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22472 (gtk_minor_version != GTK_MINOR_VERSION) ||
22473 (gtk_micro_version != GTK_MICRO_VERSION))
22474 {
22475 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22476 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22477 printf("*** library (version %d.%d.%d)\n",
22478 gtk_major_version, gtk_minor_version, gtk_micro_version);
22479 }
22480 else
22481 {
22482 if ((gtk_major_version > major) ||
22483 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22484 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22485 {
22486 return 0;
22487 }
22488 else
22489 {
22490 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22491 gtk_major_version, gtk_minor_version, gtk_micro_version);
22492 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22493 major, minor, micro);
22494 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22495 printf("***\n");
22496 printf("*** If you have already installed a sufficiently new version, this error\n");
22497 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22498 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22499 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22500 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22501 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22502 printf("*** so that the correct libraries are found at run-time))\n");
22503 }
22504 }
22505 return 1;
22506 }
22507
22508 _ACEOF
22509 rm -f conftest$ac_exeext
22510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22511 (eval $ac_link) 2>&5
22512 ac_status=$?
22513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22514 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22516 (eval $ac_try) 2>&5
22517 ac_status=$?
22518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22519 (exit $ac_status); }; }; then
22520 :
22521 else
22522 echo "$as_me: program exited with status $ac_status" >&5
22523 echo "$as_me: failed program was:" >&5
22524 sed 's/^/| /' conftest.$ac_ext >&5
22525
22526 ( exit $ac_status )
22527 no_gtk=yes
22528 fi
22529 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22530 fi
22531 CFLAGS="$ac_save_CFLAGS"
22532 LIBS="$ac_save_LIBS"
22533 fi
22534 fi
22535 if test "x$no_gtk" = x ; then
22536 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22537 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22538 wx_cv_lib_gtk=2.0
22539 else
22540 echo "$as_me:$LINENO: result: no" >&5
22541 echo "${ECHO_T}no" >&6
22542 if test "$PKG_CONFIG" = "no" ; then
22543 echo "*** A new enough version of pkg-config was not found."
22544 echo "*** See http://pkgconfig.sourceforge.net"
22545 else
22546 if test -f conf.gtktest ; then
22547 :
22548 else
22549 echo "*** Could not run GTK+ test program, checking why..."
22550 ac_save_CFLAGS="$CFLAGS"
22551 ac_save_LIBS="$LIBS"
22552 CFLAGS="$CFLAGS $GTK_CFLAGS"
22553 LIBS="$LIBS $GTK_LIBS"
22554 cat >conftest.$ac_ext <<_ACEOF
22555 /* confdefs.h. */
22556 _ACEOF
22557 cat confdefs.h >>conftest.$ac_ext
22558 cat >>conftest.$ac_ext <<_ACEOF
22559 /* end confdefs.h. */
22560
22561 #include <gtk/gtk.h>
22562 #include <stdio.h>
22563
22564 int
22565 main ()
22566 {
22567 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22568 ;
22569 return 0;
22570 }
22571 _ACEOF
22572 rm -f conftest.$ac_objext conftest$ac_exeext
22573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22574 (eval $ac_link) 2>conftest.er1
22575 ac_status=$?
22576 grep -v '^ *+' conftest.er1 >conftest.err
22577 rm -f conftest.er1
22578 cat conftest.err >&5
22579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22580 (exit $ac_status); } &&
22581 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22583 (eval $ac_try) 2>&5
22584 ac_status=$?
22585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22586 (exit $ac_status); }; } &&
22587 { ac_try='test -s conftest$ac_exeext'
22588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22589 (eval $ac_try) 2>&5
22590 ac_status=$?
22591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22592 (exit $ac_status); }; }; then
22593 echo "*** The test program compiled, but did not run. This usually means"
22594 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22595 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22596 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22597 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22598 echo "*** is required on your system"
22599 echo "***"
22600 echo "*** If you have an old version installed, it is best to remove it, although"
22601 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22602 else
22603 echo "$as_me: failed program was:" >&5
22604 sed 's/^/| /' conftest.$ac_ext >&5
22605
22606 echo "*** The test program failed to compile or link. See the file config.log for the"
22607 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22608 fi
22609 rm -f conftest.err conftest.$ac_objext \
22610 conftest$ac_exeext conftest.$ac_ext
22611 CFLAGS="$ac_save_CFLAGS"
22612 LIBS="$ac_save_LIBS"
22613 fi
22614 fi
22615 GTK_CFLAGS=""
22616 GTK_LIBS=""
22617 :
22618 fi
22619
22620
22621 rm -f conf.gtktest
22622
22623 else
22624
22625 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22626 if test "${with_gtk_prefix+set}" = set; then
22627 withval="$with_gtk_prefix"
22628 gtk_config_prefix="$withval"
22629 else
22630 gtk_config_prefix=""
22631 fi;
22632
22633 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22634 if test "${with_gtk_exec_prefix+set}" = set; then
22635 withval="$with_gtk_exec_prefix"
22636 gtk_config_exec_prefix="$withval"
22637 else
22638 gtk_config_exec_prefix=""
22639 fi;
22640 # Check whether --enable-gtktest or --disable-gtktest was given.
22641 if test "${enable_gtktest+set}" = set; then
22642 enableval="$enable_gtktest"
22643
22644 else
22645 enable_gtktest=yes
22646 fi;
22647
22648 for module in . $GTK_MODULES
22649 do
22650 case "$module" in
22651 gthread)
22652 gtk_config_args="$gtk_config_args gthread"
22653 ;;
22654 esac
22655 done
22656
22657 if test x$gtk_config_exec_prefix != x ; then
22658 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22659 if test x${GTK_CONFIG+set} != xset ; then
22660 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
22661 fi
22662 fi
22663 if test x$gtk_config_prefix != x ; then
22664 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
22665 if test x${GTK_CONFIG+set} != xset ; then
22666 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
22667 fi
22668 fi
22669
22670 # Extract the first word of "gtk-config", so it can be a program name with args.
22671 set dummy gtk-config; ac_word=$2
22672 echo "$as_me:$LINENO: checking for $ac_word" >&5
22673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22674 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22675 echo $ECHO_N "(cached) $ECHO_C" >&6
22676 else
22677 case $GTK_CONFIG in
22678 [\\/]* | ?:[\\/]*)
22679 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
22680 ;;
22681 *)
22682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22683 for as_dir in $PATH
22684 do
22685 IFS=$as_save_IFS
22686 test -z "$as_dir" && as_dir=.
22687 for ac_exec_ext in '' $ac_executable_extensions; do
22688 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22689 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22691 break 2
22692 fi
22693 done
22694 done
22695
22696 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
22697 ;;
22698 esac
22699 fi
22700 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
22701
22702 if test -n "$GTK_CONFIG"; then
22703 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22704 echo "${ECHO_T}$GTK_CONFIG" >&6
22705 else
22706 echo "$as_me:$LINENO: result: no" >&5
22707 echo "${ECHO_T}no" >&6
22708 fi
22709
22710 min_gtk_version=1.2.7
22711 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22712 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22713 no_gtk=""
22714 if test "$GTK_CONFIG" = "no" ; then
22715 no_gtk=yes
22716 else
22717 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
22718 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
22719 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
22720 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22721 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
22722 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22723 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
22724 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22725 if test "x$enable_gtktest" = "xyes" ; then
22726 ac_save_CFLAGS="$CFLAGS"
22727 ac_save_LIBS="$LIBS"
22728 CFLAGS="$CFLAGS $GTK_CFLAGS"
22729 LIBS="$GTK_LIBS $LIBS"
22730 rm -f conf.gtktest
22731 if test "$cross_compiling" = yes; then
22732 echo $ac_n "cross compiling; assumed OK... $ac_c"
22733 else
22734 cat >conftest.$ac_ext <<_ACEOF
22735 /* confdefs.h. */
22736 _ACEOF
22737 cat confdefs.h >>conftest.$ac_ext
22738 cat >>conftest.$ac_ext <<_ACEOF
22739 /* end confdefs.h. */
22740
22741 #include <gtk/gtk.h>
22742 #include <stdio.h>
22743 #include <stdlib.h>
22744
22745 int
22746 main ()
22747 {
22748 int major, minor, micro;
22749 char *tmp_version;
22750
22751 system ("touch conf.gtktest");
22752
22753 /* HP/UX 9 (%@#!) writes to sscanf strings */
22754 tmp_version = g_strdup("$min_gtk_version");
22755 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
22756 printf("%s, bad version string\n", "$min_gtk_version");
22757 exit(1);
22758 }
22759
22760 if ((gtk_major_version != $gtk_config_major_version) ||
22761 (gtk_minor_version != $gtk_config_minor_version) ||
22762 (gtk_micro_version != $gtk_config_micro_version))
22763 {
22764 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22765 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22766 gtk_major_version, gtk_minor_version, gtk_micro_version);
22767 printf ("*** was found! If gtk-config was correct, then it is best\n");
22768 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22769 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22770 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22771 printf("*** required on your system.\n");
22772 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22773 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22774 printf("*** before re-running configure\n");
22775 }
22776 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22777 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22778 (gtk_minor_version != GTK_MINOR_VERSION) ||
22779 (gtk_micro_version != GTK_MICRO_VERSION))
22780 {
22781 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22782 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22783 printf("*** library (version %d.%d.%d)\n",
22784 gtk_major_version, gtk_minor_version, gtk_micro_version);
22785 }
22786 #endif /* defined (GTK_MAJOR_VERSION) ... */
22787 else
22788 {
22789 if ((gtk_major_version > major) ||
22790 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22791 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22792 {
22793 return 0;
22794 }
22795 else
22796 {
22797 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22798 gtk_major_version, gtk_minor_version, gtk_micro_version);
22799 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22800 major, minor, micro);
22801 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22802 printf("***\n");
22803 printf("*** If you have already installed a sufficiently new version, this error\n");
22804 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22805 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22806 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22807 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22808 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22809 printf("*** so that the correct libraries are found at run-time))\n");
22810 }
22811 }
22812 return 1;
22813 }
22814
22815 _ACEOF
22816 rm -f conftest$ac_exeext
22817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22818 (eval $ac_link) 2>&5
22819 ac_status=$?
22820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22821 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22823 (eval $ac_try) 2>&5
22824 ac_status=$?
22825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22826 (exit $ac_status); }; }; then
22827 :
22828 else
22829 echo "$as_me: program exited with status $ac_status" >&5
22830 echo "$as_me: failed program was:" >&5
22831 sed 's/^/| /' conftest.$ac_ext >&5
22832
22833 ( exit $ac_status )
22834 no_gtk=yes
22835 fi
22836 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22837 fi
22838 CFLAGS="$ac_save_CFLAGS"
22839 LIBS="$ac_save_LIBS"
22840 fi
22841 fi
22842 if test "x$no_gtk" = x ; then
22843 echo "$as_me:$LINENO: result: yes" >&5
22844 echo "${ECHO_T}yes" >&6
22845 wx_cv_lib_gtk=1.2.7
22846 else
22847 echo "$as_me:$LINENO: result: no" >&5
22848 echo "${ECHO_T}no" >&6
22849 if test "$GTK_CONFIG" = "no" ; then
22850 echo "*** The gtk-config script installed by GTK could not be found"
22851 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22852 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22853 echo "*** full path to gtk-config."
22854 else
22855 if test -f conf.gtktest ; then
22856 :
22857 else
22858 echo "*** Could not run GTK test program, checking why..."
22859 CFLAGS="$CFLAGS $GTK_CFLAGS"
22860 LIBS="$LIBS $GTK_LIBS"
22861 cat >conftest.$ac_ext <<_ACEOF
22862 /* confdefs.h. */
22863 _ACEOF
22864 cat confdefs.h >>conftest.$ac_ext
22865 cat >>conftest.$ac_ext <<_ACEOF
22866 /* end confdefs.h. */
22867
22868 #include <gtk/gtk.h>
22869 #include <stdio.h>
22870
22871 int
22872 main ()
22873 {
22874 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22875 ;
22876 return 0;
22877 }
22878 _ACEOF
22879 rm -f conftest.$ac_objext conftest$ac_exeext
22880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22881 (eval $ac_link) 2>conftest.er1
22882 ac_status=$?
22883 grep -v '^ *+' conftest.er1 >conftest.err
22884 rm -f conftest.er1
22885 cat conftest.err >&5
22886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22887 (exit $ac_status); } &&
22888 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22890 (eval $ac_try) 2>&5
22891 ac_status=$?
22892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22893 (exit $ac_status); }; } &&
22894 { ac_try='test -s conftest$ac_exeext'
22895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22896 (eval $ac_try) 2>&5
22897 ac_status=$?
22898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22899 (exit $ac_status); }; }; then
22900 echo "*** The test program compiled, but did not run. This usually means"
22901 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22902 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22903 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22904 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22905 echo "*** is required on your system"
22906 echo "***"
22907 echo "*** If you have an old version installed, it is best to remove it, although"
22908 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22909 echo "***"
22910 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22911 echo "*** came with the system with the command"
22912 echo "***"
22913 echo "*** rpm --erase --nodeps gtk gtk-devel"
22914 else
22915 echo "$as_me: failed program was:" >&5
22916 sed 's/^/| /' conftest.$ac_ext >&5
22917
22918 echo "*** The test program failed to compile or link. See the file config.log for the"
22919 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22920 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22921 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22922 fi
22923 rm -f conftest.err conftest.$ac_objext \
22924 conftest$ac_exeext conftest.$ac_ext
22925 CFLAGS="$ac_save_CFLAGS"
22926 LIBS="$ac_save_LIBS"
22927 fi
22928 fi
22929 GTK_CFLAGS=""
22930 GTK_LIBS=""
22931 :
22932 fi
22933
22934
22935 rm -f conf.gtktest
22936
22937
22938 if test -z "$wx_cv_lib_gtk"; then
22939
22940 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22941 if test "${with_gtk_prefix+set}" = set; then
22942 withval="$with_gtk_prefix"
22943 gtk_config_prefix="$withval"
22944 else
22945 gtk_config_prefix=""
22946 fi;
22947
22948 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22949 if test "${with_gtk_exec_prefix+set}" = set; then
22950 withval="$with_gtk_exec_prefix"
22951 gtk_config_exec_prefix="$withval"
22952 else
22953 gtk_config_exec_prefix=""
22954 fi;
22955 # Check whether --enable-gtktest or --disable-gtktest was given.
22956 if test "${enable_gtktest+set}" = set; then
22957 enableval="$enable_gtktest"
22958
22959 else
22960 enable_gtktest=yes
22961 fi;
22962
22963 for module in . $GTK_MODULES
22964 do
22965 case "$module" in
22966 gthread)
22967 gtk_config_args="$gtk_config_args gthread"
22968 ;;
22969 esac
22970 done
22971
22972 if test x$gtk_config_exec_prefix != x ; then
22973 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22974 if test x${GTK_CONFIG+set} != xset ; then
22975 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
22976 fi
22977 fi
22978 if test x$gtk_config_prefix != x ; then
22979 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
22980 if test x${GTK_CONFIG+set} != xset ; then
22981 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
22982 fi
22983 fi
22984
22985 # Extract the first word of "gtk-config", so it can be a program name with args.
22986 set dummy gtk-config; ac_word=$2
22987 echo "$as_me:$LINENO: checking for $ac_word" >&5
22988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22989 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22990 echo $ECHO_N "(cached) $ECHO_C" >&6
22991 else
22992 case $GTK_CONFIG in
22993 [\\/]* | ?:[\\/]*)
22994 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
22995 ;;
22996 *)
22997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22998 for as_dir in $PATH
22999 do
23000 IFS=$as_save_IFS
23001 test -z "$as_dir" && as_dir=.
23002 for ac_exec_ext in '' $ac_executable_extensions; do
23003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23004 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23006 break 2
23007 fi
23008 done
23009 done
23010
23011 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23012 ;;
23013 esac
23014 fi
23015 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23016
23017 if test -n "$GTK_CONFIG"; then
23018 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23019 echo "${ECHO_T}$GTK_CONFIG" >&6
23020 else
23021 echo "$as_me:$LINENO: result: no" >&5
23022 echo "${ECHO_T}no" >&6
23023 fi
23024
23025 min_gtk_version=1.2.3
23026 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23027 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23028 no_gtk=""
23029 if test "$GTK_CONFIG" = "no" ; then
23030 no_gtk=yes
23031 else
23032 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23033 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23034 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23035 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23036 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23037 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23038 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23039 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23040 if test "x$enable_gtktest" = "xyes" ; then
23041 ac_save_CFLAGS="$CFLAGS"
23042 ac_save_LIBS="$LIBS"
23043 CFLAGS="$CFLAGS $GTK_CFLAGS"
23044 LIBS="$GTK_LIBS $LIBS"
23045 rm -f conf.gtktest
23046 if test "$cross_compiling" = yes; then
23047 echo $ac_n "cross compiling; assumed OK... $ac_c"
23048 else
23049 cat >conftest.$ac_ext <<_ACEOF
23050 /* confdefs.h. */
23051 _ACEOF
23052 cat confdefs.h >>conftest.$ac_ext
23053 cat >>conftest.$ac_ext <<_ACEOF
23054 /* end confdefs.h. */
23055
23056 #include <gtk/gtk.h>
23057 #include <stdio.h>
23058 #include <stdlib.h>
23059
23060 int
23061 main ()
23062 {
23063 int major, minor, micro;
23064 char *tmp_version;
23065
23066 system ("touch conf.gtktest");
23067
23068 /* HP/UX 9 (%@#!) writes to sscanf strings */
23069 tmp_version = g_strdup("$min_gtk_version");
23070 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23071 printf("%s, bad version string\n", "$min_gtk_version");
23072 exit(1);
23073 }
23074
23075 if ((gtk_major_version != $gtk_config_major_version) ||
23076 (gtk_minor_version != $gtk_config_minor_version) ||
23077 (gtk_micro_version != $gtk_config_micro_version))
23078 {
23079 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23080 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23081 gtk_major_version, gtk_minor_version, gtk_micro_version);
23082 printf ("*** was found! If gtk-config was correct, then it is best\n");
23083 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23084 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23085 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23086 printf("*** required on your system.\n");
23087 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23088 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23089 printf("*** before re-running configure\n");
23090 }
23091 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23092 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23093 (gtk_minor_version != GTK_MINOR_VERSION) ||
23094 (gtk_micro_version != GTK_MICRO_VERSION))
23095 {
23096 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23097 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23098 printf("*** library (version %d.%d.%d)\n",
23099 gtk_major_version, gtk_minor_version, gtk_micro_version);
23100 }
23101 #endif /* defined (GTK_MAJOR_VERSION) ... */
23102 else
23103 {
23104 if ((gtk_major_version > major) ||
23105 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23106 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23107 {
23108 return 0;
23109 }
23110 else
23111 {
23112 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23113 gtk_major_version, gtk_minor_version, gtk_micro_version);
23114 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23115 major, minor, micro);
23116 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23117 printf("***\n");
23118 printf("*** If you have already installed a sufficiently new version, this error\n");
23119 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23120 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23121 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23122 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23123 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23124 printf("*** so that the correct libraries are found at run-time))\n");
23125 }
23126 }
23127 return 1;
23128 }
23129
23130 _ACEOF
23131 rm -f conftest$ac_exeext
23132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23133 (eval $ac_link) 2>&5
23134 ac_status=$?
23135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23136 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23138 (eval $ac_try) 2>&5
23139 ac_status=$?
23140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23141 (exit $ac_status); }; }; then
23142 :
23143 else
23144 echo "$as_me: program exited with status $ac_status" >&5
23145 echo "$as_me: failed program was:" >&5
23146 sed 's/^/| /' conftest.$ac_ext >&5
23147
23148 ( exit $ac_status )
23149 no_gtk=yes
23150 fi
23151 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23152 fi
23153 CFLAGS="$ac_save_CFLAGS"
23154 LIBS="$ac_save_LIBS"
23155 fi
23156 fi
23157 if test "x$no_gtk" = x ; then
23158 echo "$as_me:$LINENO: result: yes" >&5
23159 echo "${ECHO_T}yes" >&6
23160 wx_cv_lib_gtk=1.2.3
23161 else
23162 echo "$as_me:$LINENO: result: no" >&5
23163 echo "${ECHO_T}no" >&6
23164 if test "$GTK_CONFIG" = "no" ; then
23165 echo "*** The gtk-config script installed by GTK could not be found"
23166 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23167 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23168 echo "*** full path to gtk-config."
23169 else
23170 if test -f conf.gtktest ; then
23171 :
23172 else
23173 echo "*** Could not run GTK test program, checking why..."
23174 CFLAGS="$CFLAGS $GTK_CFLAGS"
23175 LIBS="$LIBS $GTK_LIBS"
23176 cat >conftest.$ac_ext <<_ACEOF
23177 /* confdefs.h. */
23178 _ACEOF
23179 cat confdefs.h >>conftest.$ac_ext
23180 cat >>conftest.$ac_ext <<_ACEOF
23181 /* end confdefs.h. */
23182
23183 #include <gtk/gtk.h>
23184 #include <stdio.h>
23185
23186 int
23187 main ()
23188 {
23189 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23190 ;
23191 return 0;
23192 }
23193 _ACEOF
23194 rm -f conftest.$ac_objext conftest$ac_exeext
23195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23196 (eval $ac_link) 2>conftest.er1
23197 ac_status=$?
23198 grep -v '^ *+' conftest.er1 >conftest.err
23199 rm -f conftest.er1
23200 cat conftest.err >&5
23201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23202 (exit $ac_status); } &&
23203 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23205 (eval $ac_try) 2>&5
23206 ac_status=$?
23207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23208 (exit $ac_status); }; } &&
23209 { ac_try='test -s conftest$ac_exeext'
23210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23211 (eval $ac_try) 2>&5
23212 ac_status=$?
23213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23214 (exit $ac_status); }; }; then
23215 echo "*** The test program compiled, but did not run. This usually means"
23216 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23217 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23218 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23219 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23220 echo "*** is required on your system"
23221 echo "***"
23222 echo "*** If you have an old version installed, it is best to remove it, although"
23223 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23224 echo "***"
23225 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23226 echo "*** came with the system with the command"
23227 echo "***"
23228 echo "*** rpm --erase --nodeps gtk gtk-devel"
23229 else
23230 echo "$as_me: failed program was:" >&5
23231 sed 's/^/| /' conftest.$ac_ext >&5
23232
23233 echo "*** The test program failed to compile or link. See the file config.log for the"
23234 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23235 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23236 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23237 fi
23238 rm -f conftest.err conftest.$ac_objext \
23239 conftest$ac_exeext conftest.$ac_ext
23240 CFLAGS="$ac_save_CFLAGS"
23241 LIBS="$ac_save_LIBS"
23242 fi
23243 fi
23244 GTK_CFLAGS=""
23245 GTK_LIBS=""
23246 :
23247 fi
23248
23249
23250 rm -f conf.gtktest
23251
23252 fi
23253 fi
23254
23255 if test -z "$wx_cv_lib_gtk"; then
23256 wx_cv_lib_gtk=none
23257 else
23258 wx_cv_cflags_gtk=$GTK_CFLAGS
23259 wx_cv_libs_gtk=$GTK_LIBS
23260 fi
23261
23262
23263 fi
23264
23265
23266 if test "$gtk_version_cached" = 1; then
23267 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23268 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23269 fi
23270
23271 case "$wx_cv_lib_gtk" in
23272 2.0) WXGTK20=1
23273 TOOLKIT_VERSION=2
23274 ;;
23275 1.2.7) WXGTK127=1
23276 WXGTK12=1
23277 ;;
23278 1.2.3) WXGTK12=1
23279 ;;
23280 *) { { echo "$as_me:$LINENO: error:
23281 Please check that gtk-config is in path, the directory
23282 where GTK+ libraries are installed (returned by
23283 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23284 equivalent variable and GTK+ is version 1.2.3 or above.
23285 " >&5
23286 echo "$as_me: error:
23287 Please check that gtk-config is in path, the directory
23288 where GTK+ libraries are installed (returned by
23289 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23290 equivalent variable and GTK+ is version 1.2.3 or above.
23291 " >&2;}
23292 { (exit 1); exit 1; }; }
23293 ;;
23294 esac
23295
23296 if test "$WXGTK20" = 1; then
23297 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
23298
23299 succeeded=no
23300
23301 if test -z "$PKG_CONFIG"; then
23302 # Extract the first word of "pkg-config", so it can be a program name with args.
23303 set dummy pkg-config; ac_word=$2
23304 echo "$as_me:$LINENO: checking for $ac_word" >&5
23305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23306 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23307 echo $ECHO_N "(cached) $ECHO_C" >&6
23308 else
23309 case $PKG_CONFIG in
23310 [\\/]* | ?:[\\/]*)
23311 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23312 ;;
23313 *)
23314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23315 for as_dir in $PATH
23316 do
23317 IFS=$as_save_IFS
23318 test -z "$as_dir" && as_dir=.
23319 for ac_exec_ext in '' $ac_executable_extensions; do
23320 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23321 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23323 break 2
23324 fi
23325 done
23326 done
23327
23328 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23329 ;;
23330 esac
23331 fi
23332 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23333
23334 if test -n "$PKG_CONFIG"; then
23335 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23336 echo "${ECHO_T}$PKG_CONFIG" >&6
23337 else
23338 echo "$as_me:$LINENO: result: no" >&5
23339 echo "${ECHO_T}no" >&6
23340 fi
23341
23342 fi
23343
23344 if test "$PKG_CONFIG" = "no" ; then
23345 echo "*** The pkg-config script could not be found. Make sure it is"
23346 echo "*** in your path, or set the PKG_CONFIG environment variable"
23347 echo "*** to the full path to pkg-config."
23348 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23349 else
23350 PKG_CONFIG_MIN_VERSION=0.9.0
23351 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23352 echo "$as_me:$LINENO: checking for pangoft2" >&5
23353 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
23354
23355 if $PKG_CONFIG --exists "pangoft2" ; then
23356 echo "$as_me:$LINENO: result: yes" >&5
23357 echo "${ECHO_T}yes" >&6
23358 succeeded=yes
23359
23360 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
23361 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
23362 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
23363 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
23364 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
23365
23366 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
23367 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
23368 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
23369 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
23370 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
23371 else
23372 PANGOFT2_CFLAGS=""
23373 PANGOFT2_LIBS=""
23374 ## If we have a custom action on failure, don't print errors, but
23375 ## do set a variable so people can do so.
23376 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
23377
23378 fi
23379
23380
23381
23382 else
23383 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23384 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23385 fi
23386 fi
23387
23388 if test $succeeded = yes; then
23389
23390 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
23391 # FIXME: GTK_LIBS already has a lot of what this is
23392 # about to add, but we go ahead and just add
23393 # it all again anyway.
23394 # This is not a good way to manage things. And simply
23395 # uniq'ing the list later is hardly better.
23396 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
23397
23398 else
23399
23400 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
23401 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
23402 wxUSE_PRINTING_ARCHITECTURE="no"
23403
23404
23405 fi
23406
23407 fi
23408
23409 save_CFLAGS="$CFLAGS"
23410 save_LIBS="$LIBS"
23411 CFLAGS="$CFLAGS $GTK_CFLAGS"
23412 LIBS="$LIBS $GTK_LIBS"
23413
23414 for ac_func in pango_font_family_is_monospace
23415 do
23416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23417 echo "$as_me:$LINENO: checking for $ac_func" >&5
23418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23419 if eval "test \"\${$as_ac_var+set}\" = set"; then
23420 echo $ECHO_N "(cached) $ECHO_C" >&6
23421 else
23422 cat >conftest.$ac_ext <<_ACEOF
23423 /* confdefs.h. */
23424 _ACEOF
23425 cat confdefs.h >>conftest.$ac_ext
23426 cat >>conftest.$ac_ext <<_ACEOF
23427 /* end confdefs.h. */
23428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23430 #define $ac_func innocuous_$ac_func
23431
23432 /* System header to define __stub macros and hopefully few prototypes,
23433 which can conflict with char $ac_func (); below.
23434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23435 <limits.h> exists even on freestanding compilers. */
23436
23437 #ifdef __STDC__
23438 # include <limits.h>
23439 #else
23440 # include <assert.h>
23441 #endif
23442
23443 #undef $ac_func
23444
23445 /* Override any gcc2 internal prototype to avoid an error. */
23446 #ifdef __cplusplus
23447 extern "C"
23448 {
23449 #endif
23450 /* We use char because int might match the return type of a gcc2
23451 builtin and then its argument prototype would still apply. */
23452 char $ac_func ();
23453 /* The GNU C library defines this for functions which it implements
23454 to always fail with ENOSYS. Some functions are actually named
23455 something starting with __ and the normal name is an alias. */
23456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23457 choke me
23458 #else
23459 char (*f) () = $ac_func;
23460 #endif
23461 #ifdef __cplusplus
23462 }
23463 #endif
23464
23465 int
23466 main ()
23467 {
23468 return f != $ac_func;
23469 ;
23470 return 0;
23471 }
23472 _ACEOF
23473 rm -f conftest.$ac_objext conftest$ac_exeext
23474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23475 (eval $ac_link) 2>conftest.er1
23476 ac_status=$?
23477 grep -v '^ *+' conftest.er1 >conftest.err
23478 rm -f conftest.er1
23479 cat conftest.err >&5
23480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23481 (exit $ac_status); } &&
23482 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23484 (eval $ac_try) 2>&5
23485 ac_status=$?
23486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23487 (exit $ac_status); }; } &&
23488 { ac_try='test -s conftest$ac_exeext'
23489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23490 (eval $ac_try) 2>&5
23491 ac_status=$?
23492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23493 (exit $ac_status); }; }; then
23494 eval "$as_ac_var=yes"
23495 else
23496 echo "$as_me: failed program was:" >&5
23497 sed 's/^/| /' conftest.$ac_ext >&5
23498
23499 eval "$as_ac_var=no"
23500 fi
23501 rm -f conftest.err conftest.$ac_objext \
23502 conftest$ac_exeext conftest.$ac_ext
23503 fi
23504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23506 if test `eval echo '${'$as_ac_var'}'` = yes; then
23507 cat >>confdefs.h <<_ACEOF
23508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23509 _ACEOF
23510
23511 fi
23512 done
23513
23514 CFLAGS="$save_CFLAGS"
23515 LIBS="$save_LIBS"
23516 else
23517 if test "$wxUSE_UNICODE" = "yes"; then
23518 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
23519 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
23520 wxUSE_UNICODE=no
23521 fi
23522 fi
23523
23524 if test "$USE_DARWIN" != 1; then
23525
23526 for ac_func in poll
23527 do
23528 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23529 echo "$as_me:$LINENO: checking for $ac_func" >&5
23530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23531 if eval "test \"\${$as_ac_var+set}\" = set"; then
23532 echo $ECHO_N "(cached) $ECHO_C" >&6
23533 else
23534 cat >conftest.$ac_ext <<_ACEOF
23535 /* confdefs.h. */
23536 _ACEOF
23537 cat confdefs.h >>conftest.$ac_ext
23538 cat >>conftest.$ac_ext <<_ACEOF
23539 /* end confdefs.h. */
23540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23542 #define $ac_func innocuous_$ac_func
23543
23544 /* System header to define __stub macros and hopefully few prototypes,
23545 which can conflict with char $ac_func (); below.
23546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23547 <limits.h> exists even on freestanding compilers. */
23548
23549 #ifdef __STDC__
23550 # include <limits.h>
23551 #else
23552 # include <assert.h>
23553 #endif
23554
23555 #undef $ac_func
23556
23557 /* Override any gcc2 internal prototype to avoid an error. */
23558 #ifdef __cplusplus
23559 extern "C"
23560 {
23561 #endif
23562 /* We use char because int might match the return type of a gcc2
23563 builtin and then its argument prototype would still apply. */
23564 char $ac_func ();
23565 /* The GNU C library defines this for functions which it implements
23566 to always fail with ENOSYS. Some functions are actually named
23567 something starting with __ and the normal name is an alias. */
23568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23569 choke me
23570 #else
23571 char (*f) () = $ac_func;
23572 #endif
23573 #ifdef __cplusplus
23574 }
23575 #endif
23576
23577 int
23578 main ()
23579 {
23580 return f != $ac_func;
23581 ;
23582 return 0;
23583 }
23584 _ACEOF
23585 rm -f conftest.$ac_objext conftest$ac_exeext
23586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23587 (eval $ac_link) 2>conftest.er1
23588 ac_status=$?
23589 grep -v '^ *+' conftest.er1 >conftest.err
23590 rm -f conftest.er1
23591 cat conftest.err >&5
23592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23593 (exit $ac_status); } &&
23594 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23596 (eval $ac_try) 2>&5
23597 ac_status=$?
23598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23599 (exit $ac_status); }; } &&
23600 { ac_try='test -s conftest$ac_exeext'
23601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23602 (eval $ac_try) 2>&5
23603 ac_status=$?
23604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23605 (exit $ac_status); }; }; then
23606 eval "$as_ac_var=yes"
23607 else
23608 echo "$as_me: failed program was:" >&5
23609 sed 's/^/| /' conftest.$ac_ext >&5
23610
23611 eval "$as_ac_var=no"
23612 fi
23613 rm -f conftest.err conftest.$ac_objext \
23614 conftest$ac_exeext conftest.$ac_ext
23615 fi
23616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23618 if test `eval echo '${'$as_ac_var'}'` = yes; then
23619 cat >>confdefs.h <<_ACEOF
23620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23621 _ACEOF
23622
23623 fi
23624 done
23625
23626 fi
23627
23628 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
23629 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23630
23631 AFMINSTALL=afminstall
23632 TOOLKIT=GTK
23633 GUIDIST=GTK_DIST
23634
23635 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23636 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23637 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23638 echo $ECHO_N "(cached) $ECHO_C" >&6
23639 else
23640 ac_check_lib_save_LIBS=$LIBS
23641 LIBS="-lgdk $LIBS"
23642 cat >conftest.$ac_ext <<_ACEOF
23643 /* confdefs.h. */
23644 _ACEOF
23645 cat confdefs.h >>conftest.$ac_ext
23646 cat >>conftest.$ac_ext <<_ACEOF
23647 /* end confdefs.h. */
23648
23649 /* Override any gcc2 internal prototype to avoid an error. */
23650 #ifdef __cplusplus
23651 extern "C"
23652 #endif
23653 /* We use char because int might match the return type of a gcc2
23654 builtin and then its argument prototype would still apply. */
23655 char gdk_im_open ();
23656 int
23657 main ()
23658 {
23659 gdk_im_open ();
23660 ;
23661 return 0;
23662 }
23663 _ACEOF
23664 rm -f conftest.$ac_objext conftest$ac_exeext
23665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23666 (eval $ac_link) 2>conftest.er1
23667 ac_status=$?
23668 grep -v '^ *+' conftest.er1 >conftest.err
23669 rm -f conftest.er1
23670 cat conftest.err >&5
23671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23672 (exit $ac_status); } &&
23673 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23675 (eval $ac_try) 2>&5
23676 ac_status=$?
23677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23678 (exit $ac_status); }; } &&
23679 { ac_try='test -s conftest$ac_exeext'
23680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23681 (eval $ac_try) 2>&5
23682 ac_status=$?
23683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23684 (exit $ac_status); }; }; then
23685 ac_cv_lib_gdk_gdk_im_open=yes
23686 else
23687 echo "$as_me: failed program was:" >&5
23688 sed 's/^/| /' conftest.$ac_ext >&5
23689
23690 ac_cv_lib_gdk_gdk_im_open=no
23691 fi
23692 rm -f conftest.err conftest.$ac_objext \
23693 conftest$ac_exeext conftest.$ac_ext
23694 LIBS=$ac_check_lib_save_LIBS
23695 fi
23696 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23697 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23698 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23699 cat >>confdefs.h <<\_ACEOF
23700 #define HAVE_XIM 1
23701 _ACEOF
23702
23703 fi
23704
23705
23706
23707 if test "$wxUSE_GPE" = "yes"; then
23708 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23709 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23710
23711 ac_find_libraries=
23712 for ac_dir in $SEARCH_LIB /usr/lib;
23713 do
23714 for ac_extension in a so sl dylib; do
23715 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23716 ac_find_libraries=$ac_dir
23717 break 2
23718 fi
23719 done
23720 done
23721
23722 if test "$ac_find_libraries" != "" ; then
23723
23724 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23725 result=$?
23726 if test $result = 0; then
23727 ac_path_to_link=""
23728 else
23729 ac_path_to_link=" -L$ac_find_libraries"
23730 fi
23731
23732 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
23733 WXGPE=1
23734 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23735 echo "${ECHO_T}found at $ac_find_libraries" >&6
23736 else
23737 echo "$as_me:$LINENO: result: not found" >&5
23738 echo "${ECHO_T}not found" >&6
23739 fi
23740
23741 fi
23742 fi
23743
23744 if test "$wxUSE_MGL" = 1; then
23745 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
23746 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
23747 if test "x$MGL_ROOT" = x ; then
23748 echo "$as_me:$LINENO: result: not found" >&5
23749 echo "${ECHO_T}not found" >&6
23750 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23751 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23752 { (exit 1); exit 1; }; }
23753 else
23754 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23755 echo "${ECHO_T}$MGL_ROOT" >&6
23756 fi
23757
23758 echo "$as_me:$LINENO: checking for libmgl location" >&5
23759 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23760 case "${host}" in
23761 *-*-linux* )
23762 if test "x$wxUSE_SHARED" = xyes ; then
23763 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23764 else
23765 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23766 fi
23767 ;;
23768 *-pc-msdosdjgpp )
23769 mgl_os_candidates="dos32/dj2"
23770 ;;
23771 *)
23772 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23773 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23774 { (exit 1); exit 1; }; }
23775 esac
23776
23777 mgl_lib_type=""
23778 mgl_os=""
23779
23780 for mgl_os_i in $mgl_os_candidates ; do
23781 if test "x$mgl_os" = x ; then
23782 if test "$wxUSE_DEBUG_FLAG" = yes ; then
23783 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
23784 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
23785 mgl_lib_type=debug
23786 mgl_os=$mgl_os_i
23787 fi
23788 fi
23789 if test "x$mgl_lib_type" = x ; then
23790 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
23791 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
23792 mgl_lib_type=release
23793 mgl_os=$mgl_os_i
23794 fi
23795 fi
23796 fi
23797 done
23798
23799 if test "x$mgl_os" = x ; then
23800 echo "$as_me:$LINENO: result: not found" >&5
23801 echo "${ECHO_T}not found" >&6
23802 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
23803 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
23804 { (exit 1); exit 1; }; }
23805 fi
23806 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
23807 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
23808
23809 wxUSE_UNIVERSAL="yes"
23810
23811 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
23812 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
23813
23814 AFMINSTALL=afminstall
23815 TOOLKIT=MGL
23816 GUIDIST=MGL_DIST
23817 fi
23818
23819 if test "$wxUSE_MICROWIN" = 1; then
23820 echo "$as_me:$LINENO: checking for MicroWindows" >&5
23821 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
23822 if test "x$MICROWINDOWS" = x ; then
23823 echo "$as_me:$LINENO: result: not found" >&5
23824 echo "${ECHO_T}not found" >&6
23825 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
23826 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
23827 { (exit 1); exit 1; }; }
23828 else
23829 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
23830 echo "${ECHO_T}$MICROWINDOWS" >&6
23831 fi
23832
23833 if test -f $MICROWINDOWS/lib/libmwin.a; then
23834 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
23835 echo "${ECHO_T}MicroWindows' libraries found." >&6
23836 else
23837 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
23838 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
23839 { (exit 1); exit 1; }; }
23840 fi
23841
23842 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
23843 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
23844
23845 wxUSE_UNIVERSAL="yes"
23846
23847 AFMINSTALL=afminstall
23848 TOOLKIT=MICROWIN
23849 GUIDIST=MICROWIN_DIST
23850
23851 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
23852 fi
23853
23854 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
23855
23856 if test "x$ac_path_x_has_been_run" != xyes; then
23857 echo "$as_me:$LINENO: checking for X" >&5
23858 echo $ECHO_N "checking for X... $ECHO_C" >&6
23859
23860 ac_path_x_has_been_run=yes
23861
23862 # Check whether --with-x or --without-x was given.
23863 if test "${with_x+set}" = set; then
23864 withval="$with_x"
23865
23866 fi;
23867 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23868 if test "x$with_x" = xno; then
23869 # The user explicitly disabled X.
23870 have_x=disabled
23871 else
23872 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
23873 # Both variables are already set.
23874 have_x=yes
23875 else
23876 if test "${ac_cv_have_x+set}" = set; then
23877 echo $ECHO_N "(cached) $ECHO_C" >&6
23878 else
23879 # One or both of the vars are not set, and there is no cached value.
23880 ac_x_includes=no ac_x_libraries=no
23881 rm -fr conftest.dir
23882 if mkdir conftest.dir; then
23883 cd conftest.dir
23884 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
23885 cat >Imakefile <<'_ACEOF'
23886 acfindx:
23887 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
23888 _ACEOF
23889 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
23890 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23891 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
23892 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23893 for ac_extension in a so sl; do
23894 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
23895 test -f $ac_im_libdir/libX11.$ac_extension; then
23896 ac_im_usrlibdir=$ac_im_libdir; break
23897 fi
23898 done
23899 # Screen out bogus values from the imake configuration. They are
23900 # bogus both because they are the default anyway, and because
23901 # using them would break gcc on systems where it needs fixed includes.
23902 case $ac_im_incroot in
23903 /usr/include) ;;
23904 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
23905 esac
23906 case $ac_im_usrlibdir in
23907 /usr/lib | /lib) ;;
23908 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
23909 esac
23910 fi
23911 cd ..
23912 rm -fr conftest.dir
23913 fi
23914
23915 # Standard set of common directories for X headers.
23916 # Check X11 before X11Rn because it is often a symlink to the current release.
23917 ac_x_header_dirs='
23918 /usr/X11/include
23919 /usr/X11R6/include
23920 /usr/X11R5/include
23921 /usr/X11R4/include
23922
23923 /usr/include/X11
23924 /usr/include/X11R6
23925 /usr/include/X11R5
23926 /usr/include/X11R4
23927
23928 /usr/local/X11/include
23929 /usr/local/X11R6/include
23930 /usr/local/X11R5/include
23931 /usr/local/X11R4/include
23932
23933 /usr/local/include/X11
23934 /usr/local/include/X11R6
23935 /usr/local/include/X11R5
23936 /usr/local/include/X11R4
23937
23938 /usr/X386/include
23939 /usr/x386/include
23940 /usr/XFree86/include/X11
23941
23942 /usr/include
23943 /usr/local/include
23944 /usr/unsupported/include
23945 /usr/athena/include
23946 /usr/local/x11r5/include
23947 /usr/lpp/Xamples/include
23948
23949 /usr/openwin/include
23950 /usr/openwin/share/include'
23951
23952 if test "$ac_x_includes" = no; then
23953 # Guess where to find include files, by looking for a specified header file.
23954 # First, try using that file with no special directory specified.
23955 cat >conftest.$ac_ext <<_ACEOF
23956 /* confdefs.h. */
23957 _ACEOF
23958 cat confdefs.h >>conftest.$ac_ext
23959 cat >>conftest.$ac_ext <<_ACEOF
23960 /* end confdefs.h. */
23961 #include <X11/Intrinsic.h>
23962 _ACEOF
23963 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23964 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23965 ac_status=$?
23966 grep -v '^ *+' conftest.er1 >conftest.err
23967 rm -f conftest.er1
23968 cat conftest.err >&5
23969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23970 (exit $ac_status); } >/dev/null; then
23971 if test -s conftest.err; then
23972 ac_cpp_err=$ac_c_preproc_warn_flag
23973 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23974 else
23975 ac_cpp_err=
23976 fi
23977 else
23978 ac_cpp_err=yes
23979 fi
23980 if test -z "$ac_cpp_err"; then
23981 # We can compile using X headers with no special include directory.
23982 ac_x_includes=
23983 else
23984 echo "$as_me: failed program was:" >&5
23985 sed 's/^/| /' conftest.$ac_ext >&5
23986
23987 for ac_dir in $ac_x_header_dirs; do
23988 if test -r "$ac_dir/X11/Intrinsic.h"; then
23989 ac_x_includes=$ac_dir
23990 break
23991 fi
23992 done
23993 fi
23994 rm -f conftest.err conftest.$ac_ext
23995 fi # $ac_x_includes = no
23996
23997 if test "$ac_x_libraries" = no; then
23998 # Check for the libraries.
23999 # See if we find them without any special options.
24000 # Don't add to $LIBS permanently.
24001 ac_save_LIBS=$LIBS
24002 LIBS="-lXt $LIBS"
24003 cat >conftest.$ac_ext <<_ACEOF
24004 /* confdefs.h. */
24005 _ACEOF
24006 cat confdefs.h >>conftest.$ac_ext
24007 cat >>conftest.$ac_ext <<_ACEOF
24008 /* end confdefs.h. */
24009 #include <X11/Intrinsic.h>
24010 int
24011 main ()
24012 {
24013 XtMalloc (0)
24014 ;
24015 return 0;
24016 }
24017 _ACEOF
24018 rm -f conftest.$ac_objext conftest$ac_exeext
24019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24020 (eval $ac_link) 2>conftest.er1
24021 ac_status=$?
24022 grep -v '^ *+' conftest.er1 >conftest.err
24023 rm -f conftest.er1
24024 cat conftest.err >&5
24025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24026 (exit $ac_status); } &&
24027 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24029 (eval $ac_try) 2>&5
24030 ac_status=$?
24031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24032 (exit $ac_status); }; } &&
24033 { ac_try='test -s conftest$ac_exeext'
24034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24035 (eval $ac_try) 2>&5
24036 ac_status=$?
24037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24038 (exit $ac_status); }; }; then
24039 LIBS=$ac_save_LIBS
24040 # We can link X programs with no special library path.
24041 ac_x_libraries=
24042 else
24043 echo "$as_me: failed program was:" >&5
24044 sed 's/^/| /' conftest.$ac_ext >&5
24045
24046 LIBS=$ac_save_LIBS
24047 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24048 do
24049 # Don't even attempt the hair of trying to link an X program!
24050 for ac_extension in a so sl; do
24051 if test -r $ac_dir/libXt.$ac_extension; then
24052 ac_x_libraries=$ac_dir
24053 break 2
24054 fi
24055 done
24056 done
24057 fi
24058 rm -f conftest.err conftest.$ac_objext \
24059 conftest$ac_exeext conftest.$ac_ext
24060 fi # $ac_x_libraries = no
24061
24062 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
24063 # Didn't find X anywhere. Cache the known absence of X.
24064 ac_cv_have_x="have_x=no"
24065 else
24066 # Record where we found X for the cache.
24067 ac_cv_have_x="have_x=yes \
24068 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24069 fi
24070 fi
24071
24072 fi
24073 eval "$ac_cv_have_x"
24074 fi # $with_x != no
24075
24076 if test "$have_x" != yes; then
24077 echo "$as_me:$LINENO: result: $have_x" >&5
24078 echo "${ECHO_T}$have_x" >&6
24079 no_x=yes
24080 else
24081 # If each of the values was on the command line, it overrides each guess.
24082 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24083 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24084 # Update the cache value to reflect the command line values.
24085 ac_cv_have_x="have_x=yes \
24086 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24087 # It might be that x_includes is empty (headers are found in the
24088 # standard search path. Then output the corresponding message
24089 ac_out_x_includes=$x_includes
24090 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
24091 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
24092 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
24093 fi
24094
24095 fi
24096 if test "$no_x" = yes; then
24097 # Not all programs may use this symbol, but it does not hurt to define it.
24098
24099 cat >>confdefs.h <<\_ACEOF
24100 #define X_DISPLAY_MISSING 1
24101 _ACEOF
24102
24103 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24104 else
24105 if test -n "$x_includes"; then
24106 X_CFLAGS="$X_CFLAGS -I$x_includes"
24107 fi
24108
24109 # It would also be nice to do this for all -L options, not just this one.
24110 if test -n "$x_libraries"; then
24111 X_LIBS="$X_LIBS -L$x_libraries"
24112 # For Solaris; some versions of Sun CC require a space after -R and
24113 # others require no space. Words are not sufficient . . . .
24114 case `(uname -sr) 2>/dev/null` in
24115 "SunOS 5"*)
24116 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24117 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24118 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24119 cat >conftest.$ac_ext <<_ACEOF
24120 /* confdefs.h. */
24121 _ACEOF
24122 cat confdefs.h >>conftest.$ac_ext
24123 cat >>conftest.$ac_ext <<_ACEOF
24124 /* end confdefs.h. */
24125
24126 int
24127 main ()
24128 {
24129
24130 ;
24131 return 0;
24132 }
24133 _ACEOF
24134 rm -f conftest.$ac_objext conftest$ac_exeext
24135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24136 (eval $ac_link) 2>conftest.er1
24137 ac_status=$?
24138 grep -v '^ *+' conftest.er1 >conftest.err
24139 rm -f conftest.er1
24140 cat conftest.err >&5
24141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24142 (exit $ac_status); } &&
24143 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24145 (eval $ac_try) 2>&5
24146 ac_status=$?
24147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24148 (exit $ac_status); }; } &&
24149 { ac_try='test -s conftest$ac_exeext'
24150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24151 (eval $ac_try) 2>&5
24152 ac_status=$?
24153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24154 (exit $ac_status); }; }; then
24155 ac_R_nospace=yes
24156 else
24157 echo "$as_me: failed program was:" >&5
24158 sed 's/^/| /' conftest.$ac_ext >&5
24159
24160 ac_R_nospace=no
24161 fi
24162 rm -f conftest.err conftest.$ac_objext \
24163 conftest$ac_exeext conftest.$ac_ext
24164 if test $ac_R_nospace = yes; then
24165 echo "$as_me:$LINENO: result: no" >&5
24166 echo "${ECHO_T}no" >&6
24167 X_LIBS="$X_LIBS -R$x_libraries"
24168 else
24169 LIBS="$ac_xsave_LIBS -R $x_libraries"
24170 cat >conftest.$ac_ext <<_ACEOF
24171 /* confdefs.h. */
24172 _ACEOF
24173 cat confdefs.h >>conftest.$ac_ext
24174 cat >>conftest.$ac_ext <<_ACEOF
24175 /* end confdefs.h. */
24176
24177 int
24178 main ()
24179 {
24180
24181 ;
24182 return 0;
24183 }
24184 _ACEOF
24185 rm -f conftest.$ac_objext conftest$ac_exeext
24186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24187 (eval $ac_link) 2>conftest.er1
24188 ac_status=$?
24189 grep -v '^ *+' conftest.er1 >conftest.err
24190 rm -f conftest.er1
24191 cat conftest.err >&5
24192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24193 (exit $ac_status); } &&
24194 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24196 (eval $ac_try) 2>&5
24197 ac_status=$?
24198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24199 (exit $ac_status); }; } &&
24200 { ac_try='test -s conftest$ac_exeext'
24201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24202 (eval $ac_try) 2>&5
24203 ac_status=$?
24204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24205 (exit $ac_status); }; }; then
24206 ac_R_space=yes
24207 else
24208 echo "$as_me: failed program was:" >&5
24209 sed 's/^/| /' conftest.$ac_ext >&5
24210
24211 ac_R_space=no
24212 fi
24213 rm -f conftest.err conftest.$ac_objext \
24214 conftest$ac_exeext conftest.$ac_ext
24215 if test $ac_R_space = yes; then
24216 echo "$as_me:$LINENO: result: yes" >&5
24217 echo "${ECHO_T}yes" >&6
24218 X_LIBS="$X_LIBS -R $x_libraries"
24219 else
24220 echo "$as_me:$LINENO: result: neither works" >&5
24221 echo "${ECHO_T}neither works" >&6
24222 fi
24223 fi
24224 LIBS=$ac_xsave_LIBS
24225 esac
24226 fi
24227
24228 # Check for system-dependent libraries X programs must link with.
24229 # Do this before checking for the system-independent R6 libraries
24230 # (-lICE), since we may need -lsocket or whatever for X linking.
24231
24232 if test "$ISC" = yes; then
24233 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24234 else
24235 # Martyn Johnson says this is needed for Ultrix, if the X
24236 # libraries were built with DECnet support. And Karl Berry says
24237 # the Alpha needs dnet_stub (dnet does not exist).
24238 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24239 cat >conftest.$ac_ext <<_ACEOF
24240 /* confdefs.h. */
24241 _ACEOF
24242 cat confdefs.h >>conftest.$ac_ext
24243 cat >>conftest.$ac_ext <<_ACEOF
24244 /* end confdefs.h. */
24245
24246 /* Override any gcc2 internal prototype to avoid an error. */
24247 #ifdef __cplusplus
24248 extern "C"
24249 #endif
24250 /* We use char because int might match the return type of a gcc2
24251 builtin and then its argument prototype would still apply. */
24252 char XOpenDisplay ();
24253 int
24254 main ()
24255 {
24256 XOpenDisplay ();
24257 ;
24258 return 0;
24259 }
24260 _ACEOF
24261 rm -f conftest.$ac_objext conftest$ac_exeext
24262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24263 (eval $ac_link) 2>conftest.er1
24264 ac_status=$?
24265 grep -v '^ *+' conftest.er1 >conftest.err
24266 rm -f conftest.er1
24267 cat conftest.err >&5
24268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24269 (exit $ac_status); } &&
24270 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24272 (eval $ac_try) 2>&5
24273 ac_status=$?
24274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24275 (exit $ac_status); }; } &&
24276 { ac_try='test -s conftest$ac_exeext'
24277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24278 (eval $ac_try) 2>&5
24279 ac_status=$?
24280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24281 (exit $ac_status); }; }; then
24282 :
24283 else
24284 echo "$as_me: failed program was:" >&5
24285 sed 's/^/| /' conftest.$ac_ext >&5
24286
24287 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24288 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24289 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24290 echo $ECHO_N "(cached) $ECHO_C" >&6
24291 else
24292 ac_check_lib_save_LIBS=$LIBS
24293 LIBS="-ldnet $LIBS"
24294 cat >conftest.$ac_ext <<_ACEOF
24295 /* confdefs.h. */
24296 _ACEOF
24297 cat confdefs.h >>conftest.$ac_ext
24298 cat >>conftest.$ac_ext <<_ACEOF
24299 /* end confdefs.h. */
24300
24301 /* Override any gcc2 internal prototype to avoid an error. */
24302 #ifdef __cplusplus
24303 extern "C"
24304 #endif
24305 /* We use char because int might match the return type of a gcc2
24306 builtin and then its argument prototype would still apply. */
24307 char dnet_ntoa ();
24308 int
24309 main ()
24310 {
24311 dnet_ntoa ();
24312 ;
24313 return 0;
24314 }
24315 _ACEOF
24316 rm -f conftest.$ac_objext conftest$ac_exeext
24317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24318 (eval $ac_link) 2>conftest.er1
24319 ac_status=$?
24320 grep -v '^ *+' conftest.er1 >conftest.err
24321 rm -f conftest.er1
24322 cat conftest.err >&5
24323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24324 (exit $ac_status); } &&
24325 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24327 (eval $ac_try) 2>&5
24328 ac_status=$?
24329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24330 (exit $ac_status); }; } &&
24331 { ac_try='test -s conftest$ac_exeext'
24332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24333 (eval $ac_try) 2>&5
24334 ac_status=$?
24335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24336 (exit $ac_status); }; }; then
24337 ac_cv_lib_dnet_dnet_ntoa=yes
24338 else
24339 echo "$as_me: failed program was:" >&5
24340 sed 's/^/| /' conftest.$ac_ext >&5
24341
24342 ac_cv_lib_dnet_dnet_ntoa=no
24343 fi
24344 rm -f conftest.err conftest.$ac_objext \
24345 conftest$ac_exeext conftest.$ac_ext
24346 LIBS=$ac_check_lib_save_LIBS
24347 fi
24348 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24349 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24350 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24351 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
24352 fi
24353
24354 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
24355 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24356 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24357 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24358 echo $ECHO_N "(cached) $ECHO_C" >&6
24359 else
24360 ac_check_lib_save_LIBS=$LIBS
24361 LIBS="-ldnet_stub $LIBS"
24362 cat >conftest.$ac_ext <<_ACEOF
24363 /* confdefs.h. */
24364 _ACEOF
24365 cat confdefs.h >>conftest.$ac_ext
24366 cat >>conftest.$ac_ext <<_ACEOF
24367 /* end confdefs.h. */
24368
24369 /* Override any gcc2 internal prototype to avoid an error. */
24370 #ifdef __cplusplus
24371 extern "C"
24372 #endif
24373 /* We use char because int might match the return type of a gcc2
24374 builtin and then its argument prototype would still apply. */
24375 char dnet_ntoa ();
24376 int
24377 main ()
24378 {
24379 dnet_ntoa ();
24380 ;
24381 return 0;
24382 }
24383 _ACEOF
24384 rm -f conftest.$ac_objext conftest$ac_exeext
24385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24386 (eval $ac_link) 2>conftest.er1
24387 ac_status=$?
24388 grep -v '^ *+' conftest.er1 >conftest.err
24389 rm -f conftest.er1
24390 cat conftest.err >&5
24391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24392 (exit $ac_status); } &&
24393 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24395 (eval $ac_try) 2>&5
24396 ac_status=$?
24397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24398 (exit $ac_status); }; } &&
24399 { ac_try='test -s conftest$ac_exeext'
24400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24401 (eval $ac_try) 2>&5
24402 ac_status=$?
24403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24404 (exit $ac_status); }; }; then
24405 ac_cv_lib_dnet_stub_dnet_ntoa=yes
24406 else
24407 echo "$as_me: failed program was:" >&5
24408 sed 's/^/| /' conftest.$ac_ext >&5
24409
24410 ac_cv_lib_dnet_stub_dnet_ntoa=no
24411 fi
24412 rm -f conftest.err conftest.$ac_objext \
24413 conftest$ac_exeext conftest.$ac_ext
24414 LIBS=$ac_check_lib_save_LIBS
24415 fi
24416 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24417 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24418 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24419 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
24420 fi
24421
24422 fi
24423 fi
24424 rm -f conftest.err conftest.$ac_objext \
24425 conftest$ac_exeext conftest.$ac_ext
24426 LIBS="$ac_xsave_LIBS"
24427
24428 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24429 # to get the SysV transport functions.
24430 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24431 # needs -lnsl.
24432 # The nsl library prevents programs from opening the X display
24433 # on Irix 5.2, according to T.E. Dickey.
24434 # The functions gethostbyname, getservbyname, and inet_addr are
24435 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24436 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24437 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24438 if test "${ac_cv_func_gethostbyname+set}" = set; then
24439 echo $ECHO_N "(cached) $ECHO_C" >&6
24440 else
24441 cat >conftest.$ac_ext <<_ACEOF
24442 /* confdefs.h. */
24443 _ACEOF
24444 cat confdefs.h >>conftest.$ac_ext
24445 cat >>conftest.$ac_ext <<_ACEOF
24446 /* end confdefs.h. */
24447 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24449 #define gethostbyname innocuous_gethostbyname
24450
24451 /* System header to define __stub macros and hopefully few prototypes,
24452 which can conflict with char gethostbyname (); below.
24453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24454 <limits.h> exists even on freestanding compilers. */
24455
24456 #ifdef __STDC__
24457 # include <limits.h>
24458 #else
24459 # include <assert.h>
24460 #endif
24461
24462 #undef gethostbyname
24463
24464 /* Override any gcc2 internal prototype to avoid an error. */
24465 #ifdef __cplusplus
24466 extern "C"
24467 {
24468 #endif
24469 /* We use char because int might match the return type of a gcc2
24470 builtin and then its argument prototype would still apply. */
24471 char gethostbyname ();
24472 /* The GNU C library defines this for functions which it implements
24473 to always fail with ENOSYS. Some functions are actually named
24474 something starting with __ and the normal name is an alias. */
24475 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24476 choke me
24477 #else
24478 char (*f) () = gethostbyname;
24479 #endif
24480 #ifdef __cplusplus
24481 }
24482 #endif
24483
24484 int
24485 main ()
24486 {
24487 return f != gethostbyname;
24488 ;
24489 return 0;
24490 }
24491 _ACEOF
24492 rm -f conftest.$ac_objext conftest$ac_exeext
24493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24494 (eval $ac_link) 2>conftest.er1
24495 ac_status=$?
24496 grep -v '^ *+' conftest.er1 >conftest.err
24497 rm -f conftest.er1
24498 cat conftest.err >&5
24499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24500 (exit $ac_status); } &&
24501 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24503 (eval $ac_try) 2>&5
24504 ac_status=$?
24505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24506 (exit $ac_status); }; } &&
24507 { ac_try='test -s conftest$ac_exeext'
24508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24509 (eval $ac_try) 2>&5
24510 ac_status=$?
24511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24512 (exit $ac_status); }; }; then
24513 ac_cv_func_gethostbyname=yes
24514 else
24515 echo "$as_me: failed program was:" >&5
24516 sed 's/^/| /' conftest.$ac_ext >&5
24517
24518 ac_cv_func_gethostbyname=no
24519 fi
24520 rm -f conftest.err conftest.$ac_objext \
24521 conftest$ac_exeext conftest.$ac_ext
24522 fi
24523 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24524 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24525
24526 if test $ac_cv_func_gethostbyname = no; then
24527 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24528 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24529 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24530 echo $ECHO_N "(cached) $ECHO_C" >&6
24531 else
24532 ac_check_lib_save_LIBS=$LIBS
24533 LIBS="-lnsl $LIBS"
24534 cat >conftest.$ac_ext <<_ACEOF
24535 /* confdefs.h. */
24536 _ACEOF
24537 cat confdefs.h >>conftest.$ac_ext
24538 cat >>conftest.$ac_ext <<_ACEOF
24539 /* end confdefs.h. */
24540
24541 /* Override any gcc2 internal prototype to avoid an error. */
24542 #ifdef __cplusplus
24543 extern "C"
24544 #endif
24545 /* We use char because int might match the return type of a gcc2
24546 builtin and then its argument prototype would still apply. */
24547 char gethostbyname ();
24548 int
24549 main ()
24550 {
24551 gethostbyname ();
24552 ;
24553 return 0;
24554 }
24555 _ACEOF
24556 rm -f conftest.$ac_objext conftest$ac_exeext
24557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24558 (eval $ac_link) 2>conftest.er1
24559 ac_status=$?
24560 grep -v '^ *+' conftest.er1 >conftest.err
24561 rm -f conftest.er1
24562 cat conftest.err >&5
24563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24564 (exit $ac_status); } &&
24565 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24567 (eval $ac_try) 2>&5
24568 ac_status=$?
24569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24570 (exit $ac_status); }; } &&
24571 { ac_try='test -s conftest$ac_exeext'
24572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24573 (eval $ac_try) 2>&5
24574 ac_status=$?
24575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24576 (exit $ac_status); }; }; then
24577 ac_cv_lib_nsl_gethostbyname=yes
24578 else
24579 echo "$as_me: failed program was:" >&5
24580 sed 's/^/| /' conftest.$ac_ext >&5
24581
24582 ac_cv_lib_nsl_gethostbyname=no
24583 fi
24584 rm -f conftest.err conftest.$ac_objext \
24585 conftest$ac_exeext conftest.$ac_ext
24586 LIBS=$ac_check_lib_save_LIBS
24587 fi
24588 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24589 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24590 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24591 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
24592 fi
24593
24594 if test $ac_cv_lib_nsl_gethostbyname = no; then
24595 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24596 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24597 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24598 echo $ECHO_N "(cached) $ECHO_C" >&6
24599 else
24600 ac_check_lib_save_LIBS=$LIBS
24601 LIBS="-lbsd $LIBS"
24602 cat >conftest.$ac_ext <<_ACEOF
24603 /* confdefs.h. */
24604 _ACEOF
24605 cat confdefs.h >>conftest.$ac_ext
24606 cat >>conftest.$ac_ext <<_ACEOF
24607 /* end confdefs.h. */
24608
24609 /* Override any gcc2 internal prototype to avoid an error. */
24610 #ifdef __cplusplus
24611 extern "C"
24612 #endif
24613 /* We use char because int might match the return type of a gcc2
24614 builtin and then its argument prototype would still apply. */
24615 char gethostbyname ();
24616 int
24617 main ()
24618 {
24619 gethostbyname ();
24620 ;
24621 return 0;
24622 }
24623 _ACEOF
24624 rm -f conftest.$ac_objext conftest$ac_exeext
24625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24626 (eval $ac_link) 2>conftest.er1
24627 ac_status=$?
24628 grep -v '^ *+' conftest.er1 >conftest.err
24629 rm -f conftest.er1
24630 cat conftest.err >&5
24631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24632 (exit $ac_status); } &&
24633 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24635 (eval $ac_try) 2>&5
24636 ac_status=$?
24637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24638 (exit $ac_status); }; } &&
24639 { ac_try='test -s conftest$ac_exeext'
24640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24641 (eval $ac_try) 2>&5
24642 ac_status=$?
24643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24644 (exit $ac_status); }; }; then
24645 ac_cv_lib_bsd_gethostbyname=yes
24646 else
24647 echo "$as_me: failed program was:" >&5
24648 sed 's/^/| /' conftest.$ac_ext >&5
24649
24650 ac_cv_lib_bsd_gethostbyname=no
24651 fi
24652 rm -f conftest.err conftest.$ac_objext \
24653 conftest$ac_exeext conftest.$ac_ext
24654 LIBS=$ac_check_lib_save_LIBS
24655 fi
24656 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24657 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24658 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24659 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
24660 fi
24661
24662 fi
24663 fi
24664
24665 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24666 # socket/setsockopt and other routines are undefined under SCO ODT
24667 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24668 # on later versions), says Simon Leinen: it contains gethostby*
24669 # variants that don't use the name server (or something). -lsocket
24670 # must be given before -lnsl if both are needed. We assume that
24671 # if connect needs -lnsl, so does gethostbyname.
24672 echo "$as_me:$LINENO: checking for connect" >&5
24673 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24674 if test "${ac_cv_func_connect+set}" = set; then
24675 echo $ECHO_N "(cached) $ECHO_C" >&6
24676 else
24677 cat >conftest.$ac_ext <<_ACEOF
24678 /* confdefs.h. */
24679 _ACEOF
24680 cat confdefs.h >>conftest.$ac_ext
24681 cat >>conftest.$ac_ext <<_ACEOF
24682 /* end confdefs.h. */
24683 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24685 #define connect innocuous_connect
24686
24687 /* System header to define __stub macros and hopefully few prototypes,
24688 which can conflict with char connect (); below.
24689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24690 <limits.h> exists even on freestanding compilers. */
24691
24692 #ifdef __STDC__
24693 # include <limits.h>
24694 #else
24695 # include <assert.h>
24696 #endif
24697
24698 #undef connect
24699
24700 /* Override any gcc2 internal prototype to avoid an error. */
24701 #ifdef __cplusplus
24702 extern "C"
24703 {
24704 #endif
24705 /* We use char because int might match the return type of a gcc2
24706 builtin and then its argument prototype would still apply. */
24707 char connect ();
24708 /* The GNU C library defines this for functions which it implements
24709 to always fail with ENOSYS. Some functions are actually named
24710 something starting with __ and the normal name is an alias. */
24711 #if defined (__stub_connect) || defined (__stub___connect)
24712 choke me
24713 #else
24714 char (*f) () = connect;
24715 #endif
24716 #ifdef __cplusplus
24717 }
24718 #endif
24719
24720 int
24721 main ()
24722 {
24723 return f != connect;
24724 ;
24725 return 0;
24726 }
24727 _ACEOF
24728 rm -f conftest.$ac_objext conftest$ac_exeext
24729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24730 (eval $ac_link) 2>conftest.er1
24731 ac_status=$?
24732 grep -v '^ *+' conftest.er1 >conftest.err
24733 rm -f conftest.er1
24734 cat conftest.err >&5
24735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24736 (exit $ac_status); } &&
24737 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24739 (eval $ac_try) 2>&5
24740 ac_status=$?
24741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24742 (exit $ac_status); }; } &&
24743 { ac_try='test -s conftest$ac_exeext'
24744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24745 (eval $ac_try) 2>&5
24746 ac_status=$?
24747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24748 (exit $ac_status); }; }; then
24749 ac_cv_func_connect=yes
24750 else
24751 echo "$as_me: failed program was:" >&5
24752 sed 's/^/| /' conftest.$ac_ext >&5
24753
24754 ac_cv_func_connect=no
24755 fi
24756 rm -f conftest.err conftest.$ac_objext \
24757 conftest$ac_exeext conftest.$ac_ext
24758 fi
24759 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24760 echo "${ECHO_T}$ac_cv_func_connect" >&6
24761
24762 if test $ac_cv_func_connect = no; then
24763 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24764 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24765 if test "${ac_cv_lib_socket_connect+set}" = set; then
24766 echo $ECHO_N "(cached) $ECHO_C" >&6
24767 else
24768 ac_check_lib_save_LIBS=$LIBS
24769 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
24770 cat >conftest.$ac_ext <<_ACEOF
24771 /* confdefs.h. */
24772 _ACEOF
24773 cat confdefs.h >>conftest.$ac_ext
24774 cat >>conftest.$ac_ext <<_ACEOF
24775 /* end confdefs.h. */
24776
24777 /* Override any gcc2 internal prototype to avoid an error. */
24778 #ifdef __cplusplus
24779 extern "C"
24780 #endif
24781 /* We use char because int might match the return type of a gcc2
24782 builtin and then its argument prototype would still apply. */
24783 char connect ();
24784 int
24785 main ()
24786 {
24787 connect ();
24788 ;
24789 return 0;
24790 }
24791 _ACEOF
24792 rm -f conftest.$ac_objext conftest$ac_exeext
24793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24794 (eval $ac_link) 2>conftest.er1
24795 ac_status=$?
24796 grep -v '^ *+' conftest.er1 >conftest.err
24797 rm -f conftest.er1
24798 cat conftest.err >&5
24799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24800 (exit $ac_status); } &&
24801 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24803 (eval $ac_try) 2>&5
24804 ac_status=$?
24805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24806 (exit $ac_status); }; } &&
24807 { ac_try='test -s conftest$ac_exeext'
24808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24809 (eval $ac_try) 2>&5
24810 ac_status=$?
24811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24812 (exit $ac_status); }; }; then
24813 ac_cv_lib_socket_connect=yes
24814 else
24815 echo "$as_me: failed program was:" >&5
24816 sed 's/^/| /' conftest.$ac_ext >&5
24817
24818 ac_cv_lib_socket_connect=no
24819 fi
24820 rm -f conftest.err conftest.$ac_objext \
24821 conftest$ac_exeext conftest.$ac_ext
24822 LIBS=$ac_check_lib_save_LIBS
24823 fi
24824 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24825 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24826 if test $ac_cv_lib_socket_connect = yes; then
24827 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
24828 fi
24829
24830 fi
24831
24832 # Guillermo Gomez says -lposix is necessary on A/UX.
24833 echo "$as_me:$LINENO: checking for remove" >&5
24834 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24835 if test "${ac_cv_func_remove+set}" = set; then
24836 echo $ECHO_N "(cached) $ECHO_C" >&6
24837 else
24838 cat >conftest.$ac_ext <<_ACEOF
24839 /* confdefs.h. */
24840 _ACEOF
24841 cat confdefs.h >>conftest.$ac_ext
24842 cat >>conftest.$ac_ext <<_ACEOF
24843 /* end confdefs.h. */
24844 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
24845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24846 #define remove innocuous_remove
24847
24848 /* System header to define __stub macros and hopefully few prototypes,
24849 which can conflict with char remove (); below.
24850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24851 <limits.h> exists even on freestanding compilers. */
24852
24853 #ifdef __STDC__
24854 # include <limits.h>
24855 #else
24856 # include <assert.h>
24857 #endif
24858
24859 #undef remove
24860
24861 /* Override any gcc2 internal prototype to avoid an error. */
24862 #ifdef __cplusplus
24863 extern "C"
24864 {
24865 #endif
24866 /* We use char because int might match the return type of a gcc2
24867 builtin and then its argument prototype would still apply. */
24868 char remove ();
24869 /* The GNU C library defines this for functions which it implements
24870 to always fail with ENOSYS. Some functions are actually named
24871 something starting with __ and the normal name is an alias. */
24872 #if defined (__stub_remove) || defined (__stub___remove)
24873 choke me
24874 #else
24875 char (*f) () = remove;
24876 #endif
24877 #ifdef __cplusplus
24878 }
24879 #endif
24880
24881 int
24882 main ()
24883 {
24884 return f != remove;
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" || test ! -s conftest.err'
24899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24900 (eval $ac_try) 2>&5
24901 ac_status=$?
24902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24903 (exit $ac_status); }; } &&
24904 { ac_try='test -s conftest$ac_exeext'
24905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24906 (eval $ac_try) 2>&5
24907 ac_status=$?
24908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24909 (exit $ac_status); }; }; then
24910 ac_cv_func_remove=yes
24911 else
24912 echo "$as_me: failed program was:" >&5
24913 sed 's/^/| /' conftest.$ac_ext >&5
24914
24915 ac_cv_func_remove=no
24916 fi
24917 rm -f conftest.err conftest.$ac_objext \
24918 conftest$ac_exeext conftest.$ac_ext
24919 fi
24920 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24921 echo "${ECHO_T}$ac_cv_func_remove" >&6
24922
24923 if test $ac_cv_func_remove = no; then
24924 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24925 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
24926 if test "${ac_cv_lib_posix_remove+set}" = set; then
24927 echo $ECHO_N "(cached) $ECHO_C" >&6
24928 else
24929 ac_check_lib_save_LIBS=$LIBS
24930 LIBS="-lposix $LIBS"
24931 cat >conftest.$ac_ext <<_ACEOF
24932 /* confdefs.h. */
24933 _ACEOF
24934 cat confdefs.h >>conftest.$ac_ext
24935 cat >>conftest.$ac_ext <<_ACEOF
24936 /* end confdefs.h. */
24937
24938 /* Override any gcc2 internal prototype to avoid an error. */
24939 #ifdef __cplusplus
24940 extern "C"
24941 #endif
24942 /* We use char because int might match the return type of a gcc2
24943 builtin and then its argument prototype would still apply. */
24944 char remove ();
24945 int
24946 main ()
24947 {
24948 remove ();
24949 ;
24950 return 0;
24951 }
24952 _ACEOF
24953 rm -f conftest.$ac_objext conftest$ac_exeext
24954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24955 (eval $ac_link) 2>conftest.er1
24956 ac_status=$?
24957 grep -v '^ *+' conftest.er1 >conftest.err
24958 rm -f conftest.er1
24959 cat conftest.err >&5
24960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24961 (exit $ac_status); } &&
24962 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24964 (eval $ac_try) 2>&5
24965 ac_status=$?
24966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24967 (exit $ac_status); }; } &&
24968 { ac_try='test -s conftest$ac_exeext'
24969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24970 (eval $ac_try) 2>&5
24971 ac_status=$?
24972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24973 (exit $ac_status); }; }; then
24974 ac_cv_lib_posix_remove=yes
24975 else
24976 echo "$as_me: failed program was:" >&5
24977 sed 's/^/| /' conftest.$ac_ext >&5
24978
24979 ac_cv_lib_posix_remove=no
24980 fi
24981 rm -f conftest.err conftest.$ac_objext \
24982 conftest$ac_exeext conftest.$ac_ext
24983 LIBS=$ac_check_lib_save_LIBS
24984 fi
24985 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24986 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
24987 if test $ac_cv_lib_posix_remove = yes; then
24988 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
24989 fi
24990
24991 fi
24992
24993 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24994 echo "$as_me:$LINENO: checking for shmat" >&5
24995 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
24996 if test "${ac_cv_func_shmat+set}" = set; then
24997 echo $ECHO_N "(cached) $ECHO_C" >&6
24998 else
24999 cat >conftest.$ac_ext <<_ACEOF
25000 /* confdefs.h. */
25001 _ACEOF
25002 cat confdefs.h >>conftest.$ac_ext
25003 cat >>conftest.$ac_ext <<_ACEOF
25004 /* end confdefs.h. */
25005 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25007 #define shmat innocuous_shmat
25008
25009 /* System header to define __stub macros and hopefully few prototypes,
25010 which can conflict with char shmat (); below.
25011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25012 <limits.h> exists even on freestanding compilers. */
25013
25014 #ifdef __STDC__
25015 # include <limits.h>
25016 #else
25017 # include <assert.h>
25018 #endif
25019
25020 #undef shmat
25021
25022 /* Override any gcc2 internal prototype to avoid an error. */
25023 #ifdef __cplusplus
25024 extern "C"
25025 {
25026 #endif
25027 /* We use char because int might match the return type of a gcc2
25028 builtin and then its argument prototype would still apply. */
25029 char shmat ();
25030 /* The GNU C library defines this for functions which it implements
25031 to always fail with ENOSYS. Some functions are actually named
25032 something starting with __ and the normal name is an alias. */
25033 #if defined (__stub_shmat) || defined (__stub___shmat)
25034 choke me
25035 #else
25036 char (*f) () = shmat;
25037 #endif
25038 #ifdef __cplusplus
25039 }
25040 #endif
25041
25042 int
25043 main ()
25044 {
25045 return f != shmat;
25046 ;
25047 return 0;
25048 }
25049 _ACEOF
25050 rm -f conftest.$ac_objext conftest$ac_exeext
25051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25052 (eval $ac_link) 2>conftest.er1
25053 ac_status=$?
25054 grep -v '^ *+' conftest.er1 >conftest.err
25055 rm -f conftest.er1
25056 cat conftest.err >&5
25057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25058 (exit $ac_status); } &&
25059 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25061 (eval $ac_try) 2>&5
25062 ac_status=$?
25063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25064 (exit $ac_status); }; } &&
25065 { ac_try='test -s conftest$ac_exeext'
25066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25067 (eval $ac_try) 2>&5
25068 ac_status=$?
25069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25070 (exit $ac_status); }; }; then
25071 ac_cv_func_shmat=yes
25072 else
25073 echo "$as_me: failed program was:" >&5
25074 sed 's/^/| /' conftest.$ac_ext >&5
25075
25076 ac_cv_func_shmat=no
25077 fi
25078 rm -f conftest.err conftest.$ac_objext \
25079 conftest$ac_exeext conftest.$ac_ext
25080 fi
25081 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25082 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25083
25084 if test $ac_cv_func_shmat = no; then
25085 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25086 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25087 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25088 echo $ECHO_N "(cached) $ECHO_C" >&6
25089 else
25090 ac_check_lib_save_LIBS=$LIBS
25091 LIBS="-lipc $LIBS"
25092 cat >conftest.$ac_ext <<_ACEOF
25093 /* confdefs.h. */
25094 _ACEOF
25095 cat confdefs.h >>conftest.$ac_ext
25096 cat >>conftest.$ac_ext <<_ACEOF
25097 /* end confdefs.h. */
25098
25099 /* Override any gcc2 internal prototype to avoid an error. */
25100 #ifdef __cplusplus
25101 extern "C"
25102 #endif
25103 /* We use char because int might match the return type of a gcc2
25104 builtin and then its argument prototype would still apply. */
25105 char shmat ();
25106 int
25107 main ()
25108 {
25109 shmat ();
25110 ;
25111 return 0;
25112 }
25113 _ACEOF
25114 rm -f conftest.$ac_objext conftest$ac_exeext
25115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25116 (eval $ac_link) 2>conftest.er1
25117 ac_status=$?
25118 grep -v '^ *+' conftest.er1 >conftest.err
25119 rm -f conftest.er1
25120 cat conftest.err >&5
25121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25122 (exit $ac_status); } &&
25123 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25125 (eval $ac_try) 2>&5
25126 ac_status=$?
25127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25128 (exit $ac_status); }; } &&
25129 { ac_try='test -s conftest$ac_exeext'
25130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25131 (eval $ac_try) 2>&5
25132 ac_status=$?
25133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25134 (exit $ac_status); }; }; then
25135 ac_cv_lib_ipc_shmat=yes
25136 else
25137 echo "$as_me: failed program was:" >&5
25138 sed 's/^/| /' conftest.$ac_ext >&5
25139
25140 ac_cv_lib_ipc_shmat=no
25141 fi
25142 rm -f conftest.err conftest.$ac_objext \
25143 conftest$ac_exeext conftest.$ac_ext
25144 LIBS=$ac_check_lib_save_LIBS
25145 fi
25146 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25147 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25148 if test $ac_cv_lib_ipc_shmat = yes; then
25149 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25150 fi
25151
25152 fi
25153 fi
25154
25155 # Check for libraries that X11R6 Xt/Xaw programs need.
25156 ac_save_LDFLAGS=$LDFLAGS
25157 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25158 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25159 # check for ICE first), but we must link in the order -lSM -lICE or
25160 # we get undefined symbols. So assume we have SM if we have ICE.
25161 # These have to be linked with before -lX11, unlike the other
25162 # libraries we check for below, so use a different variable.
25163 # John Interrante, Karl Berry
25164 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25165 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25166 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25167 echo $ECHO_N "(cached) $ECHO_C" >&6
25168 else
25169 ac_check_lib_save_LIBS=$LIBS
25170 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25171 cat >conftest.$ac_ext <<_ACEOF
25172 /* confdefs.h. */
25173 _ACEOF
25174 cat confdefs.h >>conftest.$ac_ext
25175 cat >>conftest.$ac_ext <<_ACEOF
25176 /* end confdefs.h. */
25177
25178 /* Override any gcc2 internal prototype to avoid an error. */
25179 #ifdef __cplusplus
25180 extern "C"
25181 #endif
25182 /* We use char because int might match the return type of a gcc2
25183 builtin and then its argument prototype would still apply. */
25184 char IceConnectionNumber ();
25185 int
25186 main ()
25187 {
25188 IceConnectionNumber ();
25189 ;
25190 return 0;
25191 }
25192 _ACEOF
25193 rm -f conftest.$ac_objext conftest$ac_exeext
25194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25195 (eval $ac_link) 2>conftest.er1
25196 ac_status=$?
25197 grep -v '^ *+' conftest.er1 >conftest.err
25198 rm -f conftest.er1
25199 cat conftest.err >&5
25200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25201 (exit $ac_status); } &&
25202 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25204 (eval $ac_try) 2>&5
25205 ac_status=$?
25206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25207 (exit $ac_status); }; } &&
25208 { ac_try='test -s conftest$ac_exeext'
25209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25210 (eval $ac_try) 2>&5
25211 ac_status=$?
25212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25213 (exit $ac_status); }; }; then
25214 ac_cv_lib_ICE_IceConnectionNumber=yes
25215 else
25216 echo "$as_me: failed program was:" >&5
25217 sed 's/^/| /' conftest.$ac_ext >&5
25218
25219 ac_cv_lib_ICE_IceConnectionNumber=no
25220 fi
25221 rm -f conftest.err conftest.$ac_objext \
25222 conftest$ac_exeext conftest.$ac_ext
25223 LIBS=$ac_check_lib_save_LIBS
25224 fi
25225 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25226 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25227 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25228 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25229 fi
25230
25231 LDFLAGS=$ac_save_LDFLAGS
25232
25233 fi
25234
25235
25236 if test "$no_x" = "yes"; then
25237 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25238 echo "$as_me: error: X11 not found" >&2;}
25239 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
25240 fi
25241
25242 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25243 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25244 AFMINSTALL=afminstall
25245 COMPILED_X_PROGRAM=0
25246
25247 fi
25248
25249 if test "$wxUSE_X11" = 1; then
25250 if test "$wxUSE_NANOX" = "yes"; then
25251 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25252 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25253 if test "x$MICROWIN" = x ; then
25254 echo "$as_me:$LINENO: result: not found" >&5
25255 echo "${ECHO_T}not found" >&6
25256 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25257 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25258 { (exit 1); exit 1; }; }
25259 else
25260 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25261 echo "${ECHO_T}$MICROWIN" >&6
25262 cat >>confdefs.h <<\_ACEOF
25263 #define wxUSE_NANOX 1
25264 _ACEOF
25265
25266 fi
25267 fi
25268
25269 if test "$wxUSE_UNICODE" = "yes"; then
25270
25271 succeeded=no
25272
25273 if test -z "$PKG_CONFIG"; then
25274 # Extract the first word of "pkg-config", so it can be a program name with args.
25275 set dummy pkg-config; ac_word=$2
25276 echo "$as_me:$LINENO: checking for $ac_word" >&5
25277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25278 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25279 echo $ECHO_N "(cached) $ECHO_C" >&6
25280 else
25281 case $PKG_CONFIG in
25282 [\\/]* | ?:[\\/]*)
25283 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25284 ;;
25285 *)
25286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25287 for as_dir in $PATH
25288 do
25289 IFS=$as_save_IFS
25290 test -z "$as_dir" && as_dir=.
25291 for ac_exec_ext in '' $ac_executable_extensions; do
25292 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25293 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25295 break 2
25296 fi
25297 done
25298 done
25299
25300 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25301 ;;
25302 esac
25303 fi
25304 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25305
25306 if test -n "$PKG_CONFIG"; then
25307 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25308 echo "${ECHO_T}$PKG_CONFIG" >&6
25309 else
25310 echo "$as_me:$LINENO: result: no" >&5
25311 echo "${ECHO_T}no" >&6
25312 fi
25313
25314 fi
25315
25316 if test "$PKG_CONFIG" = "no" ; then
25317 echo "*** The pkg-config script could not be found. Make sure it is"
25318 echo "*** in your path, or set the PKG_CONFIG environment variable"
25319 echo "*** to the full path to pkg-config."
25320 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25321 else
25322 PKG_CONFIG_MIN_VERSION=0.9.0
25323 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25324 echo "$as_me:$LINENO: checking for pangox" >&5
25325 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25326
25327 if $PKG_CONFIG --exists "pangox" ; then
25328 echo "$as_me:$LINENO: result: yes" >&5
25329 echo "${ECHO_T}yes" >&6
25330 succeeded=yes
25331
25332 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25333 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25334 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
25335 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25336 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25337
25338 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25339 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25340 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
25341 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25342 echo "${ECHO_T}$PANGOX_LIBS" >&6
25343 else
25344 PANGOX_CFLAGS=""
25345 PANGOX_LIBS=""
25346 ## If we have a custom action on failure, don't print errors, but
25347 ## do set a variable so people can do so.
25348 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25349
25350 fi
25351
25352
25353
25354 else
25355 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25356 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25357 fi
25358 fi
25359
25360 if test $succeeded = yes; then
25361
25362 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
25363 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25364
25365 else
25366
25367 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25368 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25369 { (exit 1); exit 1; }; }
25370
25371
25372 fi
25373
25374
25375 succeeded=no
25376
25377 if test -z "$PKG_CONFIG"; then
25378 # Extract the first word of "pkg-config", so it can be a program name with args.
25379 set dummy pkg-config; ac_word=$2
25380 echo "$as_me:$LINENO: checking for $ac_word" >&5
25381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25382 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25383 echo $ECHO_N "(cached) $ECHO_C" >&6
25384 else
25385 case $PKG_CONFIG in
25386 [\\/]* | ?:[\\/]*)
25387 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25388 ;;
25389 *)
25390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25391 for as_dir in $PATH
25392 do
25393 IFS=$as_save_IFS
25394 test -z "$as_dir" && as_dir=.
25395 for ac_exec_ext in '' $ac_executable_extensions; do
25396 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25397 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25399 break 2
25400 fi
25401 done
25402 done
25403
25404 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25405 ;;
25406 esac
25407 fi
25408 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25409
25410 if test -n "$PKG_CONFIG"; then
25411 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25412 echo "${ECHO_T}$PKG_CONFIG" >&6
25413 else
25414 echo "$as_me:$LINENO: result: no" >&5
25415 echo "${ECHO_T}no" >&6
25416 fi
25417
25418 fi
25419
25420 if test "$PKG_CONFIG" = "no" ; then
25421 echo "*** The pkg-config script could not be found. Make sure it is"
25422 echo "*** in your path, or set the PKG_CONFIG environment variable"
25423 echo "*** to the full path to pkg-config."
25424 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25425 else
25426 PKG_CONFIG_MIN_VERSION=0.9.0
25427 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25428 echo "$as_me:$LINENO: checking for pangoft2" >&5
25429 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
25430
25431 if $PKG_CONFIG --exists "pangoft2" ; then
25432 echo "$as_me:$LINENO: result: yes" >&5
25433 echo "${ECHO_T}yes" >&6
25434 succeeded=yes
25435
25436 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
25437 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
25438 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
25439 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
25440 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
25441
25442 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
25443 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
25444 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
25445 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
25446 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
25447 else
25448 PANGOFT2_CFLAGS=""
25449 PANGOFT2_LIBS=""
25450 ## If we have a custom action on failure, don't print errors, but
25451 ## do set a variable so people can do so.
25452 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25453
25454 fi
25455
25456
25457
25458 else
25459 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25460 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25461 fi
25462 fi
25463
25464 if test $succeeded = yes; then
25465
25466 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
25467 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25468
25469 else
25470
25471 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25472 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25473 wxUSE_PRINTING_ARCHITECTURE="no"
25474
25475
25476 fi
25477
25478
25479 succeeded=no
25480
25481 if test -z "$PKG_CONFIG"; then
25482 # Extract the first word of "pkg-config", so it can be a program name with args.
25483 set dummy pkg-config; ac_word=$2
25484 echo "$as_me:$LINENO: checking for $ac_word" >&5
25485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25486 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25487 echo $ECHO_N "(cached) $ECHO_C" >&6
25488 else
25489 case $PKG_CONFIG in
25490 [\\/]* | ?:[\\/]*)
25491 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25492 ;;
25493 *)
25494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25495 for as_dir in $PATH
25496 do
25497 IFS=$as_save_IFS
25498 test -z "$as_dir" && as_dir=.
25499 for ac_exec_ext in '' $ac_executable_extensions; do
25500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25501 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25503 break 2
25504 fi
25505 done
25506 done
25507
25508 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25509 ;;
25510 esac
25511 fi
25512 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25513
25514 if test -n "$PKG_CONFIG"; then
25515 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25516 echo "${ECHO_T}$PKG_CONFIG" >&6
25517 else
25518 echo "$as_me:$LINENO: result: no" >&5
25519 echo "${ECHO_T}no" >&6
25520 fi
25521
25522 fi
25523
25524 if test "$PKG_CONFIG" = "no" ; then
25525 echo "*** The pkg-config script could not be found. Make sure it is"
25526 echo "*** in your path, or set the PKG_CONFIG environment variable"
25527 echo "*** to the full path to pkg-config."
25528 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25529 else
25530 PKG_CONFIG_MIN_VERSION=0.9.0
25531 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25532 echo "$as_me:$LINENO: checking for pangoxft" >&5
25533 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
25534
25535 if $PKG_CONFIG --exists "pangoxft" ; then
25536 echo "$as_me:$LINENO: result: yes" >&5
25537 echo "${ECHO_T}yes" >&6
25538 succeeded=yes
25539
25540 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
25541 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
25542 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
25543 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
25544 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
25545
25546 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
25547 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
25548 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
25549 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
25550 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
25551 else
25552 PANGOXFT_CFLAGS=""
25553 PANGOXFT_LIBS=""
25554 ## If we have a custom action on failure, don't print errors, but
25555 ## do set a variable so people can do so.
25556 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25557
25558 fi
25559
25560
25561
25562 else
25563 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25564 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25565 fi
25566 fi
25567
25568 if test $succeeded = yes; then
25569
25570 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
25571 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25572
25573 else
25574
25575 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25576 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25577
25578
25579 fi
25580
25581 save_CFLAGS="$CFLAGS"
25582 save_LIBS="$LIBS"
25583 CFLAGS="$CFLAGS $PANGOX_CFLAGS"
25584 LIBS="$LIBS $PANGOX_LIBS"
25585
25586 for ac_func in pango_font_family_is_monospace
25587 do
25588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25589 echo "$as_me:$LINENO: checking for $ac_func" >&5
25590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25591 if eval "test \"\${$as_ac_var+set}\" = set"; then
25592 echo $ECHO_N "(cached) $ECHO_C" >&6
25593 else
25594 cat >conftest.$ac_ext <<_ACEOF
25595 /* confdefs.h. */
25596 _ACEOF
25597 cat confdefs.h >>conftest.$ac_ext
25598 cat >>conftest.$ac_ext <<_ACEOF
25599 /* end confdefs.h. */
25600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25602 #define $ac_func innocuous_$ac_func
25603
25604 /* System header to define __stub macros and hopefully few prototypes,
25605 which can conflict with char $ac_func (); below.
25606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25607 <limits.h> exists even on freestanding compilers. */
25608
25609 #ifdef __STDC__
25610 # include <limits.h>
25611 #else
25612 # include <assert.h>
25613 #endif
25614
25615 #undef $ac_func
25616
25617 /* Override any gcc2 internal prototype to avoid an error. */
25618 #ifdef __cplusplus
25619 extern "C"
25620 {
25621 #endif
25622 /* We use char because int might match the return type of a gcc2
25623 builtin and then its argument prototype would still apply. */
25624 char $ac_func ();
25625 /* The GNU C library defines this for functions which it implements
25626 to always fail with ENOSYS. Some functions are actually named
25627 something starting with __ and the normal name is an alias. */
25628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25629 choke me
25630 #else
25631 char (*f) () = $ac_func;
25632 #endif
25633 #ifdef __cplusplus
25634 }
25635 #endif
25636
25637 int
25638 main ()
25639 {
25640 return f != $ac_func;
25641 ;
25642 return 0;
25643 }
25644 _ACEOF
25645 rm -f conftest.$ac_objext conftest$ac_exeext
25646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25647 (eval $ac_link) 2>conftest.er1
25648 ac_status=$?
25649 grep -v '^ *+' conftest.er1 >conftest.err
25650 rm -f conftest.er1
25651 cat conftest.err >&5
25652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25653 (exit $ac_status); } &&
25654 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25656 (eval $ac_try) 2>&5
25657 ac_status=$?
25658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25659 (exit $ac_status); }; } &&
25660 { ac_try='test -s conftest$ac_exeext'
25661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25662 (eval $ac_try) 2>&5
25663 ac_status=$?
25664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25665 (exit $ac_status); }; }; then
25666 eval "$as_ac_var=yes"
25667 else
25668 echo "$as_me: failed program was:" >&5
25669 sed 's/^/| /' conftest.$ac_ext >&5
25670
25671 eval "$as_ac_var=no"
25672 fi
25673 rm -f conftest.err conftest.$ac_objext \
25674 conftest$ac_exeext conftest.$ac_ext
25675 fi
25676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25678 if test `eval echo '${'$as_ac_var'}'` = yes; then
25679 cat >>confdefs.h <<_ACEOF
25680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25681 _ACEOF
25682
25683 fi
25684 done
25685
25686 CFLAGS="$save_CFLAGS"
25687 LIBS="$save_LIBS"
25688 fi
25689
25690 wxUSE_UNIVERSAL="yes"
25691
25692 if test "$wxUSE_NANOX" = "yes"; then
25693 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25694 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"
25695 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25696 else
25697 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
25698 fi
25699
25700 TOOLKIT=X11
25701 GUIDIST=X11_DIST
25702 fi
25703
25704 if test "$wxUSE_MOTIF" = 1; then
25705 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
25706 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
25707
25708 ac_find_includes=
25709 for ac_dir in $SEARCH_INCLUDE /usr/include;
25710 do
25711 if test -f "$ac_dir/Xm/Xm.h"; then
25712 ac_find_includes=$ac_dir
25713 break
25714 fi
25715 done
25716
25717 if test "$ac_find_includes" != "" ; then
25718 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25719 echo "${ECHO_T}found in $ac_find_includes" >&6
25720
25721 if test "x$ac_find_includes" = "x/usr/include"; then
25722 ac_path_to_include=""
25723 else
25724 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
25725 result=$?
25726 if test $result = 0; then
25727 ac_path_to_include=""
25728 else
25729 ac_path_to_include=" -I$ac_find_includes"
25730 fi
25731 fi
25732
25733 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
25734 else
25735 cat >conftest.$ac_ext <<_ACEOF
25736 /* confdefs.h. */
25737 _ACEOF
25738 cat confdefs.h >>conftest.$ac_ext
25739 cat >>conftest.$ac_ext <<_ACEOF
25740 /* end confdefs.h. */
25741
25742 #include <Xm/Xm.h>
25743
25744 int
25745 main ()
25746 {
25747
25748 int version;
25749 version = xmUseVersion;
25750
25751 ;
25752 return 0;
25753 }
25754 _ACEOF
25755 rm -f conftest.$ac_objext
25756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25757 (eval $ac_compile) 2>conftest.er1
25758 ac_status=$?
25759 grep -v '^ *+' conftest.er1 >conftest.err
25760 rm -f conftest.er1
25761 cat conftest.err >&5
25762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25763 (exit $ac_status); } &&
25764 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25766 (eval $ac_try) 2>&5
25767 ac_status=$?
25768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25769 (exit $ac_status); }; } &&
25770 { ac_try='test -s conftest.$ac_objext'
25771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25772 (eval $ac_try) 2>&5
25773 ac_status=$?
25774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25775 (exit $ac_status); }; }; then
25776
25777 echo "$as_me:$LINENO: result: found in default search path" >&5
25778 echo "${ECHO_T}found in default search path" >&6
25779 COMPILED_X_PROGRAM=1
25780
25781 else
25782 echo "$as_me: failed program was:" >&5
25783 sed 's/^/| /' conftest.$ac_ext >&5
25784
25785
25786 echo "$as_me:$LINENO: result: no" >&5
25787 echo "${ECHO_T}no" >&6
25788 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
25789 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
25790 { (exit 1); exit 1; }; }
25791
25792
25793 fi
25794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25795 fi
25796
25797 if test "$COMPILED_X_PROGRAM" = 0; then
25798 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
25799 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
25800
25801 ac_find_libraries=
25802 for ac_dir in $SEARCH_LIB /usr/lib;
25803 do
25804 for ac_extension in a so sl dylib; do
25805 if test -f "$ac_dir/libXm.$ac_extension"; then
25806 ac_find_libraries=$ac_dir
25807 break 2
25808 fi
25809 done
25810 done
25811
25812 if test "$ac_find_libraries" != "" ; then
25813 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25814 echo "${ECHO_T}found at $ac_find_libraries" >&6
25815
25816
25817 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25818 result=$?
25819 if test $result = 0; then
25820 ac_path_to_link=""
25821 else
25822 ac_path_to_link=" -L$ac_find_libraries"
25823 fi
25824
25825 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
25826 else
25827 save_CFLAGS=$CFLAGS
25828 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25829
25830 cat >conftest.$ac_ext <<_ACEOF
25831 /* confdefs.h. */
25832 _ACEOF
25833 cat confdefs.h >>conftest.$ac_ext
25834 cat >>conftest.$ac_ext <<_ACEOF
25835 /* end confdefs.h. */
25836
25837 #include <Xm/Xm.h>
25838
25839 int
25840 main ()
25841 {
25842
25843 int version;
25844 version = xmUseVersion;
25845
25846 ;
25847 return 0;
25848 }
25849 _ACEOF
25850 rm -f conftest.$ac_objext
25851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25852 (eval $ac_compile) 2>conftest.er1
25853 ac_status=$?
25854 grep -v '^ *+' conftest.er1 >conftest.err
25855 rm -f conftest.er1
25856 cat conftest.err >&5
25857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25858 (exit $ac_status); } &&
25859 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25861 (eval $ac_try) 2>&5
25862 ac_status=$?
25863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25864 (exit $ac_status); }; } &&
25865 { ac_try='test -s conftest.$ac_objext'
25866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25867 (eval $ac_try) 2>&5
25868 ac_status=$?
25869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25870 (exit $ac_status); }; }; then
25871
25872 echo "$as_me:$LINENO: result: found in default search path" >&5
25873 echo "${ECHO_T}found in default search path" >&6
25874 COMPILED_X_PROGRAM=1
25875
25876 else
25877 echo "$as_me: failed program was:" >&5
25878 sed 's/^/| /' conftest.$ac_ext >&5
25879
25880
25881 echo "$as_me:$LINENO: result: no" >&5
25882 echo "${ECHO_T}no" >&6
25883 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
25884 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
25885 { (exit 1); exit 1; }; }
25886
25887
25888 fi
25889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25890
25891 CFLAGS=$save_CFLAGS
25892 fi
25893 fi
25894
25895 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
25896 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
25897 libp_link=""
25898 libsm_ice_link=""
25899 libs_found=0
25900 for libp in "" " -lXp"; do
25901 if test "$libs_found" = "0"; then
25902 for libsm_ice in "" " -lSM -lICE"; do
25903 if test "$libs_found" = "0"; then
25904 save_LIBS="$LIBS"
25905 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
25906 save_CFLAGS=$CFLAGS
25907 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25908
25909 cat >conftest.$ac_ext <<_ACEOF
25910 /* confdefs.h. */
25911 _ACEOF
25912 cat confdefs.h >>conftest.$ac_ext
25913 cat >>conftest.$ac_ext <<_ACEOF
25914 /* end confdefs.h. */
25915
25916 #include <Xm/Xm.h>
25917 #include <Xm/List.h>
25918
25919 int
25920 main ()
25921 {
25922
25923 XmString string = NULL;
25924 Widget w = NULL;
25925 int position = 0;
25926 XmListAddItem(w, string, position);
25927
25928 ;
25929 return 0;
25930 }
25931 _ACEOF
25932 rm -f conftest.$ac_objext conftest$ac_exeext
25933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25934 (eval $ac_link) 2>conftest.er1
25935 ac_status=$?
25936 grep -v '^ *+' conftest.er1 >conftest.err
25937 rm -f conftest.er1
25938 cat conftest.err >&5
25939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25940 (exit $ac_status); } &&
25941 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25943 (eval $ac_try) 2>&5
25944 ac_status=$?
25945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25946 (exit $ac_status); }; } &&
25947 { ac_try='test -s conftest$ac_exeext'
25948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25949 (eval $ac_try) 2>&5
25950 ac_status=$?
25951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25952 (exit $ac_status); }; }; then
25953
25954 libp_link="$libp"
25955 libsm_ice_link="$libsm_ice"
25956 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
25957 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
25958 libs_found=1
25959
25960 else
25961 echo "$as_me: failed program was:" >&5
25962 sed 's/^/| /' conftest.$ac_ext >&5
25963
25964
25965
25966 fi
25967 rm -f conftest.err conftest.$ac_objext \
25968 conftest$ac_exeext conftest.$ac_ext
25969
25970 LIBS="$save_LIBS"
25971 CFLAGS=$save_CFLAGS
25972 fi
25973 done
25974 fi
25975 done
25976
25977 if test "$libs_found" = "0"; then
25978 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
25979 echo "${ECHO_T}can't find the right libraries" >&6
25980 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
25981 echo "$as_me: error: can't link a simple motif program" >&2;}
25982 { (exit 1); exit 1; }; }
25983 fi
25984
25985 save_CFLAGS=$CFLAGS
25986 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25987 echo "$as_me:$LINENO: checking for Motif 2" >&5
25988 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
25989 cat >conftest.$ac_ext <<_ACEOF
25990 /* confdefs.h. */
25991 _ACEOF
25992 cat confdefs.h >>conftest.$ac_ext
25993 cat >>conftest.$ac_ext <<_ACEOF
25994 /* end confdefs.h. */
25995
25996 #include <Xm/Xm.h>
25997
25998 int
25999 main ()
26000 {
26001
26002 #if XmVersion < 2000
26003 #error "Not Motif 2"
26004 #endif
26005
26006 ;
26007 return 0;
26008 }
26009 _ACEOF
26010 rm -f conftest.$ac_objext
26011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26012 (eval $ac_compile) 2>conftest.er1
26013 ac_status=$?
26014 grep -v '^ *+' conftest.er1 >conftest.err
26015 rm -f conftest.er1
26016 cat conftest.err >&5
26017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26018 (exit $ac_status); } &&
26019 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26021 (eval $ac_try) 2>&5
26022 ac_status=$?
26023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26024 (exit $ac_status); }; } &&
26025 { ac_try='test -s conftest.$ac_objext'
26026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26027 (eval $ac_try) 2>&5
26028 ac_status=$?
26029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26030 (exit $ac_status); }; }; then
26031
26032 cat >>confdefs.h <<\_ACEOF
26033 #define __WXMOTIF20__ 1
26034 _ACEOF
26035
26036 echo "$as_me:$LINENO: result: found" >&5
26037 echo "${ECHO_T}found" >&6
26038
26039 else
26040 echo "$as_me: failed program was:" >&5
26041 sed 's/^/| /' conftest.$ac_ext >&5
26042
26043
26044 cat >>confdefs.h <<\_ACEOF
26045 #define __WXMOTIF20__ 0
26046 _ACEOF
26047
26048 echo "$as_me:$LINENO: result: not found" >&5
26049 echo "${ECHO_T}not found" >&6
26050
26051 fi
26052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26053 CFLAGS=$save_CFLAGS
26054
26055 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26056 TOOLKIT=MOTIF
26057 GUIDIST=MOTIF_DIST
26058 fi
26059
26060 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26061 if test "$wxUSE_LIBXPM" = "sys"; then
26062 echo "$as_me:$LINENO: checking for Xpm library" >&5
26063 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26064
26065 ac_find_libraries=
26066 for ac_dir in $SEARCH_LIB /usr/lib;
26067 do
26068 for ac_extension in a so sl dylib; do
26069 if test -f "$ac_dir/libXpm.$ac_extension"; then
26070 ac_find_libraries=$ac_dir
26071 break 2
26072 fi
26073 done
26074 done
26075
26076 if test "$ac_find_libraries" != "" ; then
26077
26078 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26079 result=$?
26080 if test $result = 0; then
26081 ac_path_to_link=""
26082 else
26083 ac_path_to_link=" -L$ac_find_libraries"
26084 fi
26085
26086 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26087 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26088 echo "${ECHO_T}found at $ac_find_libraries" >&6
26089
26090 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26091 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26092 if test "${wx_cv_x11_xpm_h+set}" = set; then
26093 echo $ECHO_N "(cached) $ECHO_C" >&6
26094 else
26095
26096 save_CFLAGS=$CFLAGS
26097 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26098
26099 cat >conftest.$ac_ext <<_ACEOF
26100 /* confdefs.h. */
26101 _ACEOF
26102 cat confdefs.h >>conftest.$ac_ext
26103 cat >>conftest.$ac_ext <<_ACEOF
26104 /* end confdefs.h. */
26105
26106 #include <X11/xpm.h>
26107
26108 int
26109 main ()
26110 {
26111
26112 int version;
26113 version = XpmLibraryVersion();
26114
26115 ;
26116 return 0;
26117 }
26118 _ACEOF
26119 rm -f conftest.$ac_objext
26120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26121 (eval $ac_compile) 2>conftest.er1
26122 ac_status=$?
26123 grep -v '^ *+' conftest.er1 >conftest.err
26124 rm -f conftest.er1
26125 cat conftest.err >&5
26126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26127 (exit $ac_status); } &&
26128 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26130 (eval $ac_try) 2>&5
26131 ac_status=$?
26132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26133 (exit $ac_status); }; } &&
26134 { ac_try='test -s conftest.$ac_objext'
26135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26136 (eval $ac_try) 2>&5
26137 ac_status=$?
26138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26139 (exit $ac_status); }; }; then
26140 wx_cv_x11_xpm_h=yes
26141 else
26142 echo "$as_me: failed program was:" >&5
26143 sed 's/^/| /' conftest.$ac_ext >&5
26144
26145 wx_cv_x11_xpm_h=no
26146
26147 fi
26148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26149
26150 CFLAGS=$save_CFLAGS
26151
26152
26153 fi
26154 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26155 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26156
26157 if test $wx_cv_x11_xpm_h = "yes"; then
26158 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26159 cat >>confdefs.h <<\_ACEOF
26160 #define wxHAVE_LIB_XPM 1
26161 _ACEOF
26162
26163 else
26164 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26165 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26166 fi
26167 fi
26168
26169 fi
26170
26171 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26172 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26173 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26174 echo $ECHO_N "(cached) $ECHO_C" >&6
26175 else
26176 ac_check_lib_save_LIBS=$LIBS
26177 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26178 cat >conftest.$ac_ext <<_ACEOF
26179 /* confdefs.h. */
26180 _ACEOF
26181 cat confdefs.h >>conftest.$ac_ext
26182 cat >>conftest.$ac_ext <<_ACEOF
26183 /* end confdefs.h. */
26184
26185 /* Override any gcc2 internal prototype to avoid an error. */
26186 #ifdef __cplusplus
26187 extern "C"
26188 #endif
26189 /* We use char because int might match the return type of a gcc2
26190 builtin and then its argument prototype would still apply. */
26191 char XShapeQueryExtension ();
26192 int
26193 main ()
26194 {
26195 XShapeQueryExtension ();
26196 ;
26197 return 0;
26198 }
26199 _ACEOF
26200 rm -f conftest.$ac_objext conftest$ac_exeext
26201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26202 (eval $ac_link) 2>conftest.er1
26203 ac_status=$?
26204 grep -v '^ *+' conftest.er1 >conftest.err
26205 rm -f conftest.er1
26206 cat conftest.err >&5
26207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26208 (exit $ac_status); } &&
26209 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26211 (eval $ac_try) 2>&5
26212 ac_status=$?
26213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26214 (exit $ac_status); }; } &&
26215 { ac_try='test -s conftest$ac_exeext'
26216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26217 (eval $ac_try) 2>&5
26218 ac_status=$?
26219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26220 (exit $ac_status); }; }; then
26221 ac_cv_lib_Xext_XShapeQueryExtension=yes
26222 else
26223 echo "$as_me: failed program was:" >&5
26224 sed 's/^/| /' conftest.$ac_ext >&5
26225
26226 ac_cv_lib_Xext_XShapeQueryExtension=no
26227 fi
26228 rm -f conftest.err conftest.$ac_objext \
26229 conftest$ac_exeext conftest.$ac_ext
26230 LIBS=$ac_check_lib_save_LIBS
26231 fi
26232 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26233 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26234 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26235
26236 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26237 wxHAVE_XEXT_LIB=1
26238
26239 fi
26240
26241
26242 if test "$wxHAVE_XEXT_LIB" = 1; then
26243 save_CFLAGS="$CFLAGS"
26244 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26245
26246 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26247 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26248 cat >conftest.$ac_ext <<_ACEOF
26249 /* confdefs.h. */
26250 _ACEOF
26251 cat confdefs.h >>conftest.$ac_ext
26252 cat >>conftest.$ac_ext <<_ACEOF
26253 /* end confdefs.h. */
26254
26255 #include <X11/Xlib.h>
26256 #include <X11/extensions/shape.h>
26257
26258 int
26259 main ()
26260 {
26261
26262 int dummy1, dummy2;
26263 XShapeQueryExtension((Display*)NULL,
26264 (int*)NULL, (int*)NULL);
26265
26266 ;
26267 return 0;
26268 }
26269 _ACEOF
26270 rm -f conftest.$ac_objext
26271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26272 (eval $ac_compile) 2>conftest.er1
26273 ac_status=$?
26274 grep -v '^ *+' conftest.er1 >conftest.err
26275 rm -f conftest.er1
26276 cat conftest.err >&5
26277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26278 (exit $ac_status); } &&
26279 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26281 (eval $ac_try) 2>&5
26282 ac_status=$?
26283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26284 (exit $ac_status); }; } &&
26285 { ac_try='test -s conftest.$ac_objext'
26286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26287 (eval $ac_try) 2>&5
26288 ac_status=$?
26289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26290 (exit $ac_status); }; }; then
26291
26292 cat >>confdefs.h <<\_ACEOF
26293 #define HAVE_XSHAPE 1
26294 _ACEOF
26295
26296 echo "$as_me:$LINENO: result: found" >&5
26297 echo "${ECHO_T}found" >&6
26298
26299 else
26300 echo "$as_me: failed program was:" >&5
26301 sed 's/^/| /' conftest.$ac_ext >&5
26302
26303
26304 echo "$as_me:$LINENO: result: not found" >&5
26305 echo "${ECHO_T}not found" >&6
26306
26307 fi
26308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26309 CFLAGS="$save_CFLAGS"
26310
26311 fi
26312 fi
26313
26314 if test "$wxUSE_MAC" = 1; then
26315 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26316 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26317 if test "$GCC" = yes; then
26318 echo "$as_me:$LINENO: result: gcc" >&5
26319 echo "${ECHO_T}gcc" >&6
26320 CPPFLAGS_PASCAL="-fpascal-strings"
26321 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26322 echo "$as_me:$LINENO: result: xlc" >&5
26323 echo "${ECHO_T}xlc" >&6
26324 CPPFLAGS_PASCAL="-qmacpstr"
26325 else
26326 echo "$as_me:$LINENO: result: none" >&5
26327 echo "${ECHO_T}none" >&6
26328 fi
26329
26330 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26331
26332 TOOLKIT=MAC
26333 GUIDIST=MACX_DIST
26334 WXBASEPORT="_carbon"
26335 fi
26336
26337 if test "$wxUSE_COCOA" = 1; then
26338 TOOLKIT=COCOA
26339 GUIDIST=COCOA_DIST
26340 fi
26341
26342 if test "$wxUSE_PM" = 1; then
26343 TOOLKIT=PM
26344 GUIDIST=PM_DIST
26345 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
26346 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
26347 if test "${wx_cv_spbcdata+set}" = set; then
26348 echo $ECHO_N "(cached) $ECHO_C" >&6
26349 else
26350
26351 cat >conftest.$ac_ext <<_ACEOF
26352 /* confdefs.h. */
26353 _ACEOF
26354 cat confdefs.h >>conftest.$ac_ext
26355 cat >>conftest.$ac_ext <<_ACEOF
26356 /* end confdefs.h. */
26357
26358 #define INCL_PM
26359 #include <os2.h>
26360
26361 int
26362 main ()
26363 {
26364
26365 SPBCDATA test;
26366
26367 ;
26368 return 0;
26369 }
26370 _ACEOF
26371 rm -f conftest.$ac_objext
26372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26373 (eval $ac_compile) 2>conftest.er1
26374 ac_status=$?
26375 grep -v '^ *+' conftest.er1 >conftest.err
26376 rm -f conftest.er1
26377 cat conftest.err >&5
26378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26379 (exit $ac_status); } &&
26380 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26382 (eval $ac_try) 2>&5
26383 ac_status=$?
26384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26385 (exit $ac_status); }; } &&
26386 { ac_try='test -s conftest.$ac_objext'
26387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26388 (eval $ac_try) 2>&5
26389 ac_status=$?
26390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26391 (exit $ac_status); }; }; then
26392 wx_cv_spbcdata=yes
26393 else
26394 echo "$as_me: failed program was:" >&5
26395 sed 's/^/| /' conftest.$ac_ext >&5
26396
26397 wx_cv_spbcdata=no
26398
26399 fi
26400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26401
26402
26403 fi
26404 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
26405 echo "${ECHO_T}$wx_cv_spbcdata" >&6
26406
26407 if test $wx_cv_spbcdata = "yes"; then
26408 cat >>confdefs.h <<\_ACEOF
26409 #define HAVE_SPBCDATA 1
26410 _ACEOF
26411
26412 fi
26413 fi
26414
26415 if test "$TOOLKIT" = "PM" ; then
26416 TOOLKIT_DIR="os2"
26417 else
26418 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26419 fi
26420
26421 if test "$wxUSE_UNIVERSAL" = "yes"; then
26422 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26423 WIDGET_SET=univ
26424 fi
26425
26426 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26427 DISTDIR="wx\$(TOOLKIT)"
26428 else
26429 USE_GUI=0
26430
26431 TOOLKIT_DIR="base"
26432
26433 if test "$USE_WIN32" = 1 ; then
26434 TOOLKIT="MSW"
26435 fi
26436
26437 GUIDIST="BASE_DIST"
26438 DISTDIR="wxBase"
26439 fi
26440
26441
26442
26443
26444 IODBC_C_SRC=""
26445
26446
26447 if test "$TOOLKIT" != "MSW" ; then
26448
26449 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26450
26451 if test "${ac_cv_header_sql_h+set}" = set; then
26452 echo "$as_me:$LINENO: checking for sql.h" >&5
26453 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26454 if test "${ac_cv_header_sql_h+set}" = set; then
26455 echo $ECHO_N "(cached) $ECHO_C" >&6
26456 fi
26457 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26458 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26459 else
26460 # Is the header compilable?
26461 echo "$as_me:$LINENO: checking sql.h usability" >&5
26462 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26463 cat >conftest.$ac_ext <<_ACEOF
26464 /* confdefs.h. */
26465 _ACEOF
26466 cat confdefs.h >>conftest.$ac_ext
26467 cat >>conftest.$ac_ext <<_ACEOF
26468 /* end confdefs.h. */
26469 $ac_includes_default
26470 #include <sql.h>
26471 _ACEOF
26472 rm -f conftest.$ac_objext
26473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26474 (eval $ac_compile) 2>conftest.er1
26475 ac_status=$?
26476 grep -v '^ *+' conftest.er1 >conftest.err
26477 rm -f conftest.er1
26478 cat conftest.err >&5
26479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26480 (exit $ac_status); } &&
26481 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26483 (eval $ac_try) 2>&5
26484 ac_status=$?
26485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26486 (exit $ac_status); }; } &&
26487 { ac_try='test -s conftest.$ac_objext'
26488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26489 (eval $ac_try) 2>&5
26490 ac_status=$?
26491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26492 (exit $ac_status); }; }; then
26493 ac_header_compiler=yes
26494 else
26495 echo "$as_me: failed program was:" >&5
26496 sed 's/^/| /' conftest.$ac_ext >&5
26497
26498 ac_header_compiler=no
26499 fi
26500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26501 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26502 echo "${ECHO_T}$ac_header_compiler" >&6
26503
26504 # Is the header present?
26505 echo "$as_me:$LINENO: checking sql.h presence" >&5
26506 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26507 cat >conftest.$ac_ext <<_ACEOF
26508 /* confdefs.h. */
26509 _ACEOF
26510 cat confdefs.h >>conftest.$ac_ext
26511 cat >>conftest.$ac_ext <<_ACEOF
26512 /* end confdefs.h. */
26513 #include <sql.h>
26514 _ACEOF
26515 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26516 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26517 ac_status=$?
26518 grep -v '^ *+' conftest.er1 >conftest.err
26519 rm -f conftest.er1
26520 cat conftest.err >&5
26521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26522 (exit $ac_status); } >/dev/null; then
26523 if test -s conftest.err; then
26524 ac_cpp_err=$ac_c_preproc_warn_flag
26525 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26526 else
26527 ac_cpp_err=
26528 fi
26529 else
26530 ac_cpp_err=yes
26531 fi
26532 if test -z "$ac_cpp_err"; then
26533 ac_header_preproc=yes
26534 else
26535 echo "$as_me: failed program was:" >&5
26536 sed 's/^/| /' conftest.$ac_ext >&5
26537
26538 ac_header_preproc=no
26539 fi
26540 rm -f conftest.err conftest.$ac_ext
26541 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26542 echo "${ECHO_T}$ac_header_preproc" >&6
26543
26544 # So? What about this header?
26545 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26546 yes:no: )
26547 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26548 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26549 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26550 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26551 ac_header_preproc=yes
26552 ;;
26553 no:yes:* )
26554 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26555 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26556 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26557 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26558 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26559 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26560 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26561 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26562 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26563 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26564 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26565 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26566 (
26567 cat <<\_ASBOX
26568 ## ----------------------------------------- ##
26569 ## Report this to wx-dev@lists.wxwidgets.org ##
26570 ## ----------------------------------------- ##
26571 _ASBOX
26572 ) |
26573 sed "s/^/$as_me: WARNING: /" >&2
26574 ;;
26575 esac
26576 echo "$as_me:$LINENO: checking for sql.h" >&5
26577 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26578 if test "${ac_cv_header_sql_h+set}" = set; then
26579 echo $ECHO_N "(cached) $ECHO_C" >&6
26580 else
26581 ac_cv_header_sql_h=$ac_header_preproc
26582 fi
26583 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26584 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26585
26586 fi
26587 if test $ac_cv_header_sql_h = yes; then
26588 found_sql_h=1
26589 fi
26590
26591
26592 if test "x$found_sql_h" = "x1" ; then
26593 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26594 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26595 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26596 echo $ECHO_N "(cached) $ECHO_C" >&6
26597 else
26598 ac_check_lib_save_LIBS=$LIBS
26599 LIBS="-liodbc $LIBS"
26600 cat >conftest.$ac_ext <<_ACEOF
26601 /* confdefs.h. */
26602 _ACEOF
26603 cat confdefs.h >>conftest.$ac_ext
26604 cat >>conftest.$ac_ext <<_ACEOF
26605 /* end confdefs.h. */
26606
26607 /* Override any gcc2 internal prototype to avoid an error. */
26608 #ifdef __cplusplus
26609 extern "C"
26610 #endif
26611 /* We use char because int might match the return type of a gcc2
26612 builtin and then its argument prototype would still apply. */
26613 char SQLAllocEnv ();
26614 int
26615 main ()
26616 {
26617 SQLAllocEnv ();
26618 ;
26619 return 0;
26620 }
26621 _ACEOF
26622 rm -f conftest.$ac_objext conftest$ac_exeext
26623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26624 (eval $ac_link) 2>conftest.er1
26625 ac_status=$?
26626 grep -v '^ *+' conftest.er1 >conftest.err
26627 rm -f conftest.er1
26628 cat conftest.err >&5
26629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26630 (exit $ac_status); } &&
26631 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26633 (eval $ac_try) 2>&5
26634 ac_status=$?
26635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26636 (exit $ac_status); }; } &&
26637 { ac_try='test -s conftest$ac_exeext'
26638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26639 (eval $ac_try) 2>&5
26640 ac_status=$?
26641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26642 (exit $ac_status); }; }; then
26643 ac_cv_lib_iodbc_SQLAllocEnv=yes
26644 else
26645 echo "$as_me: failed program was:" >&5
26646 sed 's/^/| /' conftest.$ac_ext >&5
26647
26648 ac_cv_lib_iodbc_SQLAllocEnv=no
26649 fi
26650 rm -f conftest.err conftest.$ac_objext \
26651 conftest$ac_exeext conftest.$ac_ext
26652 LIBS=$ac_check_lib_save_LIBS
26653 fi
26654 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26655 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26656 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
26657 ODBC_LINK=" -liodbc"
26658 else
26659
26660 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26661 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26662 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26663 echo $ECHO_N "(cached) $ECHO_C" >&6
26664 else
26665 ac_check_lib_save_LIBS=$LIBS
26666 LIBS="-lunixodbc $LIBS"
26667 cat >conftest.$ac_ext <<_ACEOF
26668 /* confdefs.h. */
26669 _ACEOF
26670 cat confdefs.h >>conftest.$ac_ext
26671 cat >>conftest.$ac_ext <<_ACEOF
26672 /* end confdefs.h. */
26673
26674 /* Override any gcc2 internal prototype to avoid an error. */
26675 #ifdef __cplusplus
26676 extern "C"
26677 #endif
26678 /* We use char because int might match the return type of a gcc2
26679 builtin and then its argument prototype would still apply. */
26680 char SQLAllocEnv ();
26681 int
26682 main ()
26683 {
26684 SQLAllocEnv ();
26685 ;
26686 return 0;
26687 }
26688 _ACEOF
26689 rm -f conftest.$ac_objext conftest$ac_exeext
26690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26691 (eval $ac_link) 2>conftest.er1
26692 ac_status=$?
26693 grep -v '^ *+' conftest.er1 >conftest.err
26694 rm -f conftest.er1
26695 cat conftest.err >&5
26696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26697 (exit $ac_status); } &&
26698 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26700 (eval $ac_try) 2>&5
26701 ac_status=$?
26702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26703 (exit $ac_status); }; } &&
26704 { ac_try='test -s conftest$ac_exeext'
26705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26706 (eval $ac_try) 2>&5
26707 ac_status=$?
26708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26709 (exit $ac_status); }; }; then
26710 ac_cv_lib_unixodbc_SQLAllocEnv=yes
26711 else
26712 echo "$as_me: failed program was:" >&5
26713 sed 's/^/| /' conftest.$ac_ext >&5
26714
26715 ac_cv_lib_unixodbc_SQLAllocEnv=no
26716 fi
26717 rm -f conftest.err conftest.$ac_objext \
26718 conftest$ac_exeext conftest.$ac_ext
26719 LIBS=$ac_check_lib_save_LIBS
26720 fi
26721 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
26722 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
26723 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
26724 ODBC_LINK=" -lunixodbc"
26725 else
26726
26727 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
26728 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
26729 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
26730 echo $ECHO_N "(cached) $ECHO_C" >&6
26731 else
26732 ac_check_lib_save_LIBS=$LIBS
26733 LIBS="-lodbc $LIBS"
26734 cat >conftest.$ac_ext <<_ACEOF
26735 /* confdefs.h. */
26736 _ACEOF
26737 cat confdefs.h >>conftest.$ac_ext
26738 cat >>conftest.$ac_ext <<_ACEOF
26739 /* end confdefs.h. */
26740
26741 /* Override any gcc2 internal prototype to avoid an error. */
26742 #ifdef __cplusplus
26743 extern "C"
26744 #endif
26745 /* We use char because int might match the return type of a gcc2
26746 builtin and then its argument prototype would still apply. */
26747 char SQLAllocEnv ();
26748 int
26749 main ()
26750 {
26751 SQLAllocEnv ();
26752 ;
26753 return 0;
26754 }
26755 _ACEOF
26756 rm -f conftest.$ac_objext conftest$ac_exeext
26757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26758 (eval $ac_link) 2>conftest.er1
26759 ac_status=$?
26760 grep -v '^ *+' conftest.er1 >conftest.err
26761 rm -f conftest.er1
26762 cat conftest.err >&5
26763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26764 (exit $ac_status); } &&
26765 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26767 (eval $ac_try) 2>&5
26768 ac_status=$?
26769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26770 (exit $ac_status); }; } &&
26771 { ac_try='test -s conftest$ac_exeext'
26772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26773 (eval $ac_try) 2>&5
26774 ac_status=$?
26775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26776 (exit $ac_status); }; }; then
26777 ac_cv_lib_odbc_SQLAllocEnv=yes
26778 else
26779 echo "$as_me: failed program was:" >&5
26780 sed 's/^/| /' conftest.$ac_ext >&5
26781
26782 ac_cv_lib_odbc_SQLAllocEnv=no
26783 fi
26784 rm -f conftest.err conftest.$ac_objext \
26785 conftest$ac_exeext conftest.$ac_ext
26786 LIBS=$ac_check_lib_save_LIBS
26787 fi
26788 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
26789 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
26790 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
26791 ODBC_LINK=" -lodbc"
26792 fi
26793
26794
26795 fi
26796
26797
26798 fi
26799
26800 fi
26801 if test "x$ODBC_LINK" = "x" ; then
26802 if test "$wxUSE_ODBC" = "sys" ; then
26803 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
26804 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
26805 { (exit 1); exit 1; }; }
26806 else
26807 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
26808 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
26809 wxUSE_ODBC=builtin
26810 fi
26811 else
26812 wxUSE_ODBC=sys
26813 fi
26814 fi
26815 if test "$wxUSE_ODBC" != "no" ; then
26816 cat >>confdefs.h <<\_ACEOF
26817 #define wxUSE_ODBC 1
26818 _ACEOF
26819
26820 if test "$wxUSE_ODBC" = "builtin" ; then
26821 cat >>confdefs.h <<\_ACEOF
26822 #define wxUSE_BUILTIN_IODBC 1
26823 _ACEOF
26824
26825 fi
26826 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
26827
26828 WXODBCFLAG="-D_IODBC_"
26829 fi
26830 fi
26831
26832
26833
26834 if test "$wxUSE_DISPLAY" = "yes"; then
26835 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
26836 echo "$as_me:$LINENO: checking for Xinerama" >&5
26837 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
26838
26839 ac_find_libraries=
26840 for ac_dir in $SEARCH_LIB /usr/lib;
26841 do
26842 for ac_extension in a so sl dylib; do
26843 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26844 ac_find_libraries=$ac_dir
26845 break 2
26846 fi
26847 done
26848 done
26849
26850 if test "$ac_find_libraries" != "" ; then
26851
26852 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26853 result=$?
26854 if test $result = 0; then
26855 ac_path_to_link=""
26856 else
26857 ac_path_to_link=" -L$ac_find_libraries"
26858 fi
26859
26860 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26861 LDFLAGS="$LDFLAGS $ac_path_to_link"
26862 fi
26863 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
26864 echo "$as_me:$LINENO: result: yes" >&5
26865 echo "${ECHO_T}yes" >&6
26866
26867 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
26868 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
26869
26870 ac_find_libraries=
26871 for ac_dir in $SEARCH_LIB /usr/lib;
26872 do
26873 for ac_extension in a so sl dylib; do
26874 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
26875 ac_find_libraries=$ac_dir
26876 break 2
26877 fi
26878 done
26879 done
26880
26881 if test "$ac_find_libraries" != "" ; then
26882 echo "$as_me:$LINENO: result: yes" >&5
26883 echo "${ECHO_T}yes" >&6
26884
26885 for ac_header in X11/extensions/xf86vmode.h
26886 do
26887 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26888 echo "$as_me:$LINENO: checking for $ac_header" >&5
26889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26890 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26891 echo $ECHO_N "(cached) $ECHO_C" >&6
26892 else
26893 cat >conftest.$ac_ext <<_ACEOF
26894 /* confdefs.h. */
26895 _ACEOF
26896 cat confdefs.h >>conftest.$ac_ext
26897 cat >>conftest.$ac_ext <<_ACEOF
26898 /* end confdefs.h. */
26899
26900 #if HAVE_X11_XLIB_H
26901 #include <X11/Xlib.h>
26902 #endif
26903
26904
26905 #include <$ac_header>
26906 _ACEOF
26907 rm -f conftest.$ac_objext
26908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26909 (eval $ac_compile) 2>conftest.er1
26910 ac_status=$?
26911 grep -v '^ *+' conftest.er1 >conftest.err
26912 rm -f conftest.er1
26913 cat conftest.err >&5
26914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26915 (exit $ac_status); } &&
26916 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26918 (eval $ac_try) 2>&5
26919 ac_status=$?
26920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26921 (exit $ac_status); }; } &&
26922 { ac_try='test -s conftest.$ac_objext'
26923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26924 (eval $ac_try) 2>&5
26925 ac_status=$?
26926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26927 (exit $ac_status); }; }; then
26928 eval "$as_ac_Header=yes"
26929 else
26930 echo "$as_me: failed program was:" >&5
26931 sed 's/^/| /' conftest.$ac_ext >&5
26932
26933 eval "$as_ac_Header=no"
26934 fi
26935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26936 fi
26937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26938 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26939 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26940 cat >>confdefs.h <<_ACEOF
26941 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26942 _ACEOF
26943
26944 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
26945
26946 fi
26947
26948 done
26949
26950 else
26951 echo "$as_me:$LINENO: result: no" >&5
26952 echo "${ECHO_T}no" >&6
26953 fi
26954
26955 else
26956 echo "$as_me:$LINENO: result: no" >&5
26957 echo "${ECHO_T}no" >&6
26958 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
26959 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
26960 wxUSE_DISPLAY="no"
26961 fi
26962 elif test "$wxUSE_MSW" = 1; then
26963
26964
26965 for ac_header in multimon.h ddraw.h
26966 do
26967 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26968 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26969 echo "$as_me:$LINENO: checking for $ac_header" >&5
26970 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26972 echo $ECHO_N "(cached) $ECHO_C" >&6
26973 fi
26974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26975 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26976 else
26977 # Is the header compilable?
26978 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26979 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26980 cat >conftest.$ac_ext <<_ACEOF
26981 /* confdefs.h. */
26982 _ACEOF
26983 cat confdefs.h >>conftest.$ac_ext
26984 cat >>conftest.$ac_ext <<_ACEOF
26985 /* end confdefs.h. */
26986 $ac_includes_default
26987 #include <$ac_header>
26988 _ACEOF
26989 rm -f conftest.$ac_objext
26990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26991 (eval $ac_compile) 2>conftest.er1
26992 ac_status=$?
26993 grep -v '^ *+' conftest.er1 >conftest.err
26994 rm -f conftest.er1
26995 cat conftest.err >&5
26996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26997 (exit $ac_status); } &&
26998 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27000 (eval $ac_try) 2>&5
27001 ac_status=$?
27002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27003 (exit $ac_status); }; } &&
27004 { ac_try='test -s conftest.$ac_objext'
27005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27006 (eval $ac_try) 2>&5
27007 ac_status=$?
27008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27009 (exit $ac_status); }; }; then
27010 ac_header_compiler=yes
27011 else
27012 echo "$as_me: failed program was:" >&5
27013 sed 's/^/| /' conftest.$ac_ext >&5
27014
27015 ac_header_compiler=no
27016 fi
27017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27018 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27019 echo "${ECHO_T}$ac_header_compiler" >&6
27020
27021 # Is the header present?
27022 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27023 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27024 cat >conftest.$ac_ext <<_ACEOF
27025 /* confdefs.h. */
27026 _ACEOF
27027 cat confdefs.h >>conftest.$ac_ext
27028 cat >>conftest.$ac_ext <<_ACEOF
27029 /* end confdefs.h. */
27030 #include <$ac_header>
27031 _ACEOF
27032 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27033 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27034 ac_status=$?
27035 grep -v '^ *+' conftest.er1 >conftest.err
27036 rm -f conftest.er1
27037 cat conftest.err >&5
27038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27039 (exit $ac_status); } >/dev/null; then
27040 if test -s conftest.err; then
27041 ac_cpp_err=$ac_c_preproc_warn_flag
27042 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27043 else
27044 ac_cpp_err=
27045 fi
27046 else
27047 ac_cpp_err=yes
27048 fi
27049 if test -z "$ac_cpp_err"; then
27050 ac_header_preproc=yes
27051 else
27052 echo "$as_me: failed program was:" >&5
27053 sed 's/^/| /' conftest.$ac_ext >&5
27054
27055 ac_header_preproc=no
27056 fi
27057 rm -f conftest.err conftest.$ac_ext
27058 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27059 echo "${ECHO_T}$ac_header_preproc" >&6
27060
27061 # So? What about this header?
27062 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27063 yes:no: )
27064 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27065 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27066 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27067 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27068 ac_header_preproc=yes
27069 ;;
27070 no:yes:* )
27071 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27072 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27073 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27074 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27075 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27076 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27077 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27078 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27079 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27080 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27081 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27082 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27083 (
27084 cat <<\_ASBOX
27085 ## ----------------------------------------- ##
27086 ## Report this to wx-dev@lists.wxwidgets.org ##
27087 ## ----------------------------------------- ##
27088 _ASBOX
27089 ) |
27090 sed "s/^/$as_me: WARNING: /" >&2
27091 ;;
27092 esac
27093 echo "$as_me:$LINENO: checking for $ac_header" >&5
27094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27096 echo $ECHO_N "(cached) $ECHO_C" >&6
27097 else
27098 eval "$as_ac_Header=\$ac_header_preproc"
27099 fi
27100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27101 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27102
27103 fi
27104 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27105 cat >>confdefs.h <<_ACEOF
27106 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27107 _ACEOF
27108
27109 else
27110
27111 wxUSE_DISPLAY="no"
27112 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27113 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27114
27115 fi
27116
27117 done
27118
27119 fi
27120 fi
27121
27122
27123 USE_OPENGL=0
27124 if test "$wxUSE_OPENGL" = "yes"; then
27125 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27126 OPENGL_LIBS="-framework OpenGL -framework AGL"
27127 elif test "$wxUSE_MSW" = 1; then
27128 OPENGL_LIBS="-lopengl32 -lglu32"
27129 else
27130
27131
27132 ac_find_includes=
27133 for ac_dir in $SEARCH_INCLUDE /usr/include;
27134 do
27135 if test -f "$ac_dir/GL/gl.h"; then
27136 ac_find_includes=$ac_dir
27137 break
27138 fi
27139 done
27140
27141 if test "$ac_find_includes" != "" ; then
27142 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27143 echo "${ECHO_T}found in $ac_find_includes" >&6
27144
27145 if test "x$ac_find_includes" = "x/usr/include"; then
27146 ac_path_to_include=""
27147 else
27148 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27149 result=$?
27150 if test $result = 0; then
27151 ac_path_to_include=""
27152 else
27153 ac_path_to_include=" -I$ac_find_includes"
27154 fi
27155 fi
27156
27157 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
27158 fi
27159
27160 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27161 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27162 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27163 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27164 echo $ECHO_N "(cached) $ECHO_C" >&6
27165 fi
27166 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27167 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27168 else
27169 # Is the header compilable?
27170 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27171 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27172 cat >conftest.$ac_ext <<_ACEOF
27173 /* confdefs.h. */
27174 _ACEOF
27175 cat confdefs.h >>conftest.$ac_ext
27176 cat >>conftest.$ac_ext <<_ACEOF
27177 /* end confdefs.h. */
27178 $ac_includes_default
27179 #include <GL/gl.h>
27180 _ACEOF
27181 rm -f conftest.$ac_objext
27182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27183 (eval $ac_compile) 2>conftest.er1
27184 ac_status=$?
27185 grep -v '^ *+' conftest.er1 >conftest.err
27186 rm -f conftest.er1
27187 cat conftest.err >&5
27188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27189 (exit $ac_status); } &&
27190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27192 (eval $ac_try) 2>&5
27193 ac_status=$?
27194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27195 (exit $ac_status); }; } &&
27196 { ac_try='test -s conftest.$ac_objext'
27197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27198 (eval $ac_try) 2>&5
27199 ac_status=$?
27200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27201 (exit $ac_status); }; }; then
27202 ac_header_compiler=yes
27203 else
27204 echo "$as_me: failed program was:" >&5
27205 sed 's/^/| /' conftest.$ac_ext >&5
27206
27207 ac_header_compiler=no
27208 fi
27209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27210 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27211 echo "${ECHO_T}$ac_header_compiler" >&6
27212
27213 # Is the header present?
27214 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27215 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27216 cat >conftest.$ac_ext <<_ACEOF
27217 /* confdefs.h. */
27218 _ACEOF
27219 cat confdefs.h >>conftest.$ac_ext
27220 cat >>conftest.$ac_ext <<_ACEOF
27221 /* end confdefs.h. */
27222 #include <GL/gl.h>
27223 _ACEOF
27224 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27225 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27226 ac_status=$?
27227 grep -v '^ *+' conftest.er1 >conftest.err
27228 rm -f conftest.er1
27229 cat conftest.err >&5
27230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27231 (exit $ac_status); } >/dev/null; then
27232 if test -s conftest.err; then
27233 ac_cpp_err=$ac_c_preproc_warn_flag
27234 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27235 else
27236 ac_cpp_err=
27237 fi
27238 else
27239 ac_cpp_err=yes
27240 fi
27241 if test -z "$ac_cpp_err"; then
27242 ac_header_preproc=yes
27243 else
27244 echo "$as_me: failed program was:" >&5
27245 sed 's/^/| /' conftest.$ac_ext >&5
27246
27247 ac_header_preproc=no
27248 fi
27249 rm -f conftest.err conftest.$ac_ext
27250 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27251 echo "${ECHO_T}$ac_header_preproc" >&6
27252
27253 # So? What about this header?
27254 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27255 yes:no: )
27256 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27257 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27258 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27259 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27260 ac_header_preproc=yes
27261 ;;
27262 no:yes:* )
27263 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27264 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27265 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27266 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27267 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27268 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27269 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27270 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27271 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27272 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27273 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27274 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27275 (
27276 cat <<\_ASBOX
27277 ## ----------------------------------------- ##
27278 ## Report this to wx-dev@lists.wxwidgets.org ##
27279 ## ----------------------------------------- ##
27280 _ASBOX
27281 ) |
27282 sed "s/^/$as_me: WARNING: /" >&2
27283 ;;
27284 esac
27285 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27286 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27287 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27288 echo $ECHO_N "(cached) $ECHO_C" >&6
27289 else
27290 ac_cv_header_GL_gl_h=$ac_header_preproc
27291 fi
27292 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27293 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27294
27295 fi
27296 if test $ac_cv_header_GL_gl_h = yes; then
27297
27298 found_gl=0
27299
27300 echo "$as_me:$LINENO: checking for -lGL" >&5
27301 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27302
27303 ac_find_libraries=
27304 for ac_dir in $SEARCH_LIB /usr/lib;
27305 do
27306 for ac_extension in a so sl dylib; do
27307 if test -f "$ac_dir/libGL.$ac_extension"; then
27308 ac_find_libraries=$ac_dir
27309 break 2
27310 fi
27311 done
27312 done
27313
27314 if test "$ac_find_libraries" != "" ; then
27315
27316 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27317 result=$?
27318 if test $result = 0; then
27319 ac_path_to_link=""
27320 else
27321 ac_path_to_link=" -L$ac_find_libraries"
27322 fi
27323
27324 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27325 LDFLAGS_GL="$ac_path_to_link"
27326 fi
27327
27328
27329 ac_find_libraries=
27330 for ac_dir in $SEARCH_LIB /usr/lib;
27331 do
27332 for ac_extension in a so sl dylib; do
27333 if test -f "$ac_dir/libGLU.$ac_extension"; then
27334 ac_find_libraries=$ac_dir
27335 break 2
27336 fi
27337 done
27338 done
27339
27340 if test "$ac_find_libraries" != "" ; then
27341
27342 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27343 result=$?
27344 if test $result = 0; then
27345 ac_path_to_link=""
27346 else
27347 ac_path_to_link=" -L$ac_find_libraries"
27348 fi
27349
27350 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27351 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27352 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
27353 fi
27354
27355 found_gl=1
27356 OPENGL_LIBS="-lGL -lGLU"
27357 echo "$as_me:$LINENO: result: yes" >&5
27358 echo "${ECHO_T}yes" >&6
27359 fi
27360 fi
27361
27362 if test "$found_gl" != 1; then
27363 echo "$as_me:$LINENO: result: no" >&5
27364 echo "${ECHO_T}no" >&6
27365 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27366 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27367
27368 ac_find_libraries=
27369 for ac_dir in $SEARCH_LIB /usr/lib;
27370 do
27371 for ac_extension in a so sl dylib; do
27372 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27373 ac_find_libraries=$ac_dir
27374 break 2
27375 fi
27376 done
27377 done
27378
27379 if test "$ac_find_libraries" != "" ; then
27380
27381 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27382 result=$?
27383 if test $result = 0; then
27384 ac_path_to_link=""
27385 else
27386 ac_path_to_link=" -L$ac_find_libraries"
27387 fi
27388
27389 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
27390 OPENGL_LIBS="-lMesaGL -lMesaGLU"
27391 echo "$as_me:$LINENO: result: yes" >&5
27392 echo "${ECHO_T}yes" >&6
27393 else
27394 echo "$as_me:$LINENO: result: no" >&5
27395 echo "${ECHO_T}no" >&6
27396 fi
27397 fi
27398
27399 fi
27400
27401
27402
27403 if test "x$OPENGL_LIBS" = "x"; then
27404 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27405 echo "$as_me: error: OpenGL libraries not available" >&2;}
27406 { (exit 1); exit 1; }; }
27407 fi
27408 fi
27409
27410 if test "$wxUSE_OPENGL" = "yes"; then
27411 USE_OPENGL=1
27412 cat >>confdefs.h <<\_ACEOF
27413 #define wxUSE_OPENGL 1
27414 _ACEOF
27415
27416 cat >>confdefs.h <<\_ACEOF
27417 #define wxUSE_GLCANVAS 1
27418 _ACEOF
27419
27420 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27421 fi
27422 fi
27423
27424
27425 if test -n "$TOOLKIT" ; then
27426 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27427 fi
27428
27429
27430
27431 if test "$wxUSE_SHARED" = "yes"; then
27432 case "${host}" in
27433 *-pc-msdosdjgpp )
27434 wxUSE_SHARED=no
27435 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27436 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27437 ;;
27438 esac
27439 fi
27440
27441 if test "$wxUSE_SHARED" = "yes"; then
27442
27443
27444 found_versioning=no
27445
27446
27447 if test $found_versioning = no ; then
27448 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27449 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27450 if test "${wx_cv_version_script+set}" = set; then
27451 echo $ECHO_N "(cached) $ECHO_C" >&6
27452 else
27453
27454 echo "VER_1 { *; };" >conftest.sym
27455 echo "int main() { return 0; }" >conftest.cpp
27456
27457 if { ac_try='
27458 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27459 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27461 (eval $ac_try) 2>&5
27462 ac_status=$?
27463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27464 (exit $ac_status); }; } ; then
27465 if test -s conftest.stderr ; then
27466 wx_cv_version_script=no
27467 else
27468 wx_cv_version_script=yes
27469 fi
27470 else
27471 wx_cv_version_script=no
27472 fi
27473 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27474
27475 fi
27476 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27477 echo "${ECHO_T}$wx_cv_version_script" >&6
27478 if test $wx_cv_version_script = yes ; then
27479 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
27480 fi
27481 fi
27482
27483
27484 case "${host}" in
27485 *-*-linux* | *-*-gnu* )
27486 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
27487 ;;
27488
27489 *-*-solaris2* )
27490 if test "$GCC" = yes ; then
27491 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
27492
27493 saveLdflags="$LDFLAGS"
27494 LDFLAGS="$saveLdflags -Wl,-rpath,/"
27495 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27496 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27497 cat >conftest.$ac_ext <<_ACEOF
27498 /* confdefs.h. */
27499 _ACEOF
27500 cat confdefs.h >>conftest.$ac_ext
27501 cat >>conftest.$ac_ext <<_ACEOF
27502 /* end confdefs.h. */
27503
27504 int
27505 main ()
27506 {
27507
27508 ;
27509 return 0;
27510 }
27511 _ACEOF
27512 rm -f conftest.$ac_objext conftest$ac_exeext
27513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27514 (eval $ac_link) 2>conftest.er1
27515 ac_status=$?
27516 grep -v '^ *+' conftest.er1 >conftest.err
27517 rm -f conftest.er1
27518 cat conftest.err >&5
27519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27520 (exit $ac_status); } &&
27521 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27523 (eval $ac_try) 2>&5
27524 ac_status=$?
27525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27526 (exit $ac_status); }; } &&
27527 { ac_try='test -s conftest$ac_exeext'
27528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27529 (eval $ac_try) 2>&5
27530 ac_status=$?
27531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27532 (exit $ac_status); }; }; then
27533
27534 echo "$as_me:$LINENO: result: yes" >&5
27535 echo "${ECHO_T}yes" >&6
27536 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
27537
27538 else
27539 echo "$as_me: failed program was:" >&5
27540 sed 's/^/| /' conftest.$ac_ext >&5
27541
27542
27543 echo "$as_me:$LINENO: result: no" >&5
27544 echo "${ECHO_T}no" >&6
27545 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27546 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27547 LDFLAGS="$saveLdflags -Wl,-R,/"
27548 cat >conftest.$ac_ext <<_ACEOF
27549 /* confdefs.h. */
27550 _ACEOF
27551 cat confdefs.h >>conftest.$ac_ext
27552 cat >>conftest.$ac_ext <<_ACEOF
27553 /* end confdefs.h. */
27554
27555 int
27556 main ()
27557 {
27558
27559 ;
27560 return 0;
27561 }
27562 _ACEOF
27563 rm -f conftest.$ac_objext conftest$ac_exeext
27564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27565 (eval $ac_link) 2>conftest.er1
27566 ac_status=$?
27567 grep -v '^ *+' conftest.er1 >conftest.err
27568 rm -f conftest.er1
27569 cat conftest.err >&5
27570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27571 (exit $ac_status); } &&
27572 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27574 (eval $ac_try) 2>&5
27575 ac_status=$?
27576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27577 (exit $ac_status); }; } &&
27578 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
27584
27585 echo "$as_me:$LINENO: result: yes" >&5
27586 echo "${ECHO_T}yes" >&6
27587 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
27588 else
27589 echo "$as_me: failed program was:" >&5
27590 sed 's/^/| /' conftest.$ac_ext >&5
27591
27592
27593 echo "$as_me:$LINENO: result: no" >&5
27594 echo "${ECHO_T}no" >&6
27595
27596 fi
27597 rm -f conftest.err conftest.$ac_objext \
27598 conftest$ac_exeext conftest.$ac_ext
27599
27600 fi
27601 rm -f conftest.err conftest.$ac_objext \
27602 conftest$ac_exeext conftest.$ac_ext
27603 LDFLAGS="$saveLdflags"
27604 else
27605 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
27606 fi
27607 ;;
27608
27609 powerpc-*-darwin* )
27610 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
27611 cat <<EOF >change-install-names
27612 #!/bin/sh
27613 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
27614 inst_cmd="install_name_tool "
27615 for i in \${libnames} ; do
27616 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
27617 done
27618 \${inst_cmd} \${3}
27619 EOF
27620 chmod +x change-install-names
27621 ;;
27622
27623 *-*-cygwin* | *-*-mingw32* )
27624 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
27625 ;;
27626
27627 esac
27628 fi
27629
27630 if test "$wxUSE_SHARED" = "no"; then
27631 config_linkage_component="-static"
27632 SHARED=0
27633 else
27634 SHARED=1
27635 fi
27636
27637
27638 UNICODE=0
27639 lib_unicode_suffix=
27640 WX_CHARTYPE="ansi"
27641 if test "$wxUSE_UNICODE" = "yes"; then
27642 lib_unicode_suffix=u
27643 WX_CHARTYPE="unicode"
27644 UNICODE=1
27645 fi
27646
27647 lib_debug_suffix=
27648 WX_DEBUGTYPE="release"
27649 DEBUG_FLAG=0
27650 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27651 lib_debug_suffix=d
27652 WX_DEBUGTYPE="debug"
27653 DEBUG_FLAG=1
27654 fi
27655
27656 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
27657 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
27658
27659 DEBUG_INFO=0
27660 if test "$wxUSE_DEBUG_INFO" = "yes"; then
27661 DEBUG_INFO=1
27662 fi
27663
27664 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27665
27666 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
27667
27668 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
27669
27670 if test "$cross_compiling" = "yes"; then
27671 HOST_SUFFIX="-$host_alias"
27672 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
27673 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
27674 fi
27675
27676 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
27677 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
27678
27679
27680
27681 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
27682 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${WX_CURRENT}.r"
27683 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${WX_CURRENT}.rsrc"
27684
27685 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
27686
27687 # Extract the first word of "Rez", so it can be a program name with args.
27688 set dummy Rez; ac_word=$2
27689 echo "$as_me:$LINENO: checking for $ac_word" >&5
27690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27691 if test "${ac_cv_prog_RESCOMP+set}" = set; then
27692 echo $ECHO_N "(cached) $ECHO_C" >&6
27693 else
27694 if test -n "$RESCOMP"; then
27695 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
27696 else
27697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27698 for as_dir in $PATH
27699 do
27700 IFS=$as_save_IFS
27701 test -z "$as_dir" && as_dir=.
27702 for ac_exec_ext in '' $ac_executable_extensions; do
27703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27704 ac_cv_prog_RESCOMP="Rez"
27705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27706 break 2
27707 fi
27708 done
27709 done
27710
27711 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
27712 fi
27713 fi
27714 RESCOMP=$ac_cv_prog_RESCOMP
27715 if test -n "$RESCOMP"; then
27716 echo "$as_me:$LINENO: result: $RESCOMP" >&5
27717 echo "${ECHO_T}$RESCOMP" >&6
27718 else
27719 echo "$as_me:$LINENO: result: no" >&5
27720 echo "${ECHO_T}no" >&6
27721 fi
27722
27723 # Extract the first word of "DeRez", so it can be a program name with args.
27724 set dummy DeRez; ac_word=$2
27725 echo "$as_me:$LINENO: checking for $ac_word" >&5
27726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27727 if test "${ac_cv_prog_DEREZ+set}" = set; then
27728 echo $ECHO_N "(cached) $ECHO_C" >&6
27729 else
27730 if test -n "$DEREZ"; then
27731 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
27732 else
27733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27734 for as_dir in $PATH
27735 do
27736 IFS=$as_save_IFS
27737 test -z "$as_dir" && as_dir=.
27738 for ac_exec_ext in '' $ac_executable_extensions; do
27739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27740 ac_cv_prog_DEREZ="DeRez"
27741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27742 break 2
27743 fi
27744 done
27745 done
27746
27747 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
27748 fi
27749 fi
27750 DEREZ=$ac_cv_prog_DEREZ
27751 if test -n "$DEREZ"; then
27752 echo "$as_me:$LINENO: result: $DEREZ" >&5
27753 echo "${ECHO_T}$DEREZ" >&6
27754 else
27755 echo "$as_me:$LINENO: result: no" >&5
27756 echo "${ECHO_T}no" >&6
27757 fi
27758
27759 # Extract the first word of "SetFile", so it can be a program name with args.
27760 set dummy SetFile; ac_word=$2
27761 echo "$as_me:$LINENO: checking for $ac_word" >&5
27762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27763 if test "${ac_cv_prog_SETFILE+set}" = set; then
27764 echo $ECHO_N "(cached) $ECHO_C" >&6
27765 else
27766 if test -n "$SETFILE"; then
27767 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
27768 else
27769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27770 for as_dir in $PATH
27771 do
27772 IFS=$as_save_IFS
27773 test -z "$as_dir" && as_dir=.
27774 for ac_exec_ext in '' $ac_executable_extensions; do
27775 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27776 ac_cv_prog_SETFILE="SetFile"
27777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27778 break 2
27779 fi
27780 done
27781 done
27782
27783 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
27784 fi
27785 fi
27786 SETFILE=$ac_cv_prog_SETFILE
27787 if test -n "$SETFILE"; then
27788 echo "$as_me:$LINENO: result: $SETFILE" >&5
27789 echo "${ECHO_T}$SETFILE" >&6
27790 else
27791 echo "$as_me:$LINENO: result: no" >&5
27792 echo "${ECHO_T}no" >&6
27793 fi
27794
27795
27796 MACSETFILE="\$(SETFILE)"
27797
27798 if test "$wxUSE_MAC" = 1; then
27799 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
27800
27801 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27802 else
27803 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
27804 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27805 fi
27806 else
27807 MACSETFILE="@#"
27808 MACRESWXCONFIG="#"
27809
27810 if test "$wxUSE_PM" = 1; then
27811 MACRESCOMP="emxbind -ep"
27812 else
27813 MACRESCOMP="@#"
27814 fi
27815 fi
27816
27817
27818
27819 echo "$as_me:$LINENO: checking for mode_t" >&5
27820 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
27821 if test "${ac_cv_type_mode_t+set}" = set; then
27822 echo $ECHO_N "(cached) $ECHO_C" >&6
27823 else
27824 cat >conftest.$ac_ext <<_ACEOF
27825 /* confdefs.h. */
27826 _ACEOF
27827 cat confdefs.h >>conftest.$ac_ext
27828 cat >>conftest.$ac_ext <<_ACEOF
27829 /* end confdefs.h. */
27830 $ac_includes_default
27831 int
27832 main ()
27833 {
27834 if ((mode_t *) 0)
27835 return 0;
27836 if (sizeof (mode_t))
27837 return 0;
27838 ;
27839 return 0;
27840 }
27841 _ACEOF
27842 rm -f conftest.$ac_objext
27843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27844 (eval $ac_compile) 2>conftest.er1
27845 ac_status=$?
27846 grep -v '^ *+' conftest.er1 >conftest.err
27847 rm -f conftest.er1
27848 cat conftest.err >&5
27849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27850 (exit $ac_status); } &&
27851 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27853 (eval $ac_try) 2>&5
27854 ac_status=$?
27855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27856 (exit $ac_status); }; } &&
27857 { ac_try='test -s conftest.$ac_objext'
27858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27859 (eval $ac_try) 2>&5
27860 ac_status=$?
27861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27862 (exit $ac_status); }; }; then
27863 ac_cv_type_mode_t=yes
27864 else
27865 echo "$as_me: failed program was:" >&5
27866 sed 's/^/| /' conftest.$ac_ext >&5
27867
27868 ac_cv_type_mode_t=no
27869 fi
27870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27871 fi
27872 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
27873 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
27874 if test $ac_cv_type_mode_t = yes; then
27875 :
27876 else
27877
27878 cat >>confdefs.h <<_ACEOF
27879 #define mode_t int
27880 _ACEOF
27881
27882 fi
27883
27884 echo "$as_me:$LINENO: checking for off_t" >&5
27885 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
27886 if test "${ac_cv_type_off_t+set}" = set; then
27887 echo $ECHO_N "(cached) $ECHO_C" >&6
27888 else
27889 cat >conftest.$ac_ext <<_ACEOF
27890 /* confdefs.h. */
27891 _ACEOF
27892 cat confdefs.h >>conftest.$ac_ext
27893 cat >>conftest.$ac_ext <<_ACEOF
27894 /* end confdefs.h. */
27895 $ac_includes_default
27896 int
27897 main ()
27898 {
27899 if ((off_t *) 0)
27900 return 0;
27901 if (sizeof (off_t))
27902 return 0;
27903 ;
27904 return 0;
27905 }
27906 _ACEOF
27907 rm -f conftest.$ac_objext
27908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27909 (eval $ac_compile) 2>conftest.er1
27910 ac_status=$?
27911 grep -v '^ *+' conftest.er1 >conftest.err
27912 rm -f conftest.er1
27913 cat conftest.err >&5
27914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27915 (exit $ac_status); } &&
27916 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27918 (eval $ac_try) 2>&5
27919 ac_status=$?
27920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27921 (exit $ac_status); }; } &&
27922 { ac_try='test -s conftest.$ac_objext'
27923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27924 (eval $ac_try) 2>&5
27925 ac_status=$?
27926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27927 (exit $ac_status); }; }; then
27928 ac_cv_type_off_t=yes
27929 else
27930 echo "$as_me: failed program was:" >&5
27931 sed 's/^/| /' conftest.$ac_ext >&5
27932
27933 ac_cv_type_off_t=no
27934 fi
27935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27936 fi
27937 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
27938 echo "${ECHO_T}$ac_cv_type_off_t" >&6
27939 if test $ac_cv_type_off_t = yes; then
27940 :
27941 else
27942
27943 cat >>confdefs.h <<_ACEOF
27944 #define off_t long
27945 _ACEOF
27946
27947 fi
27948
27949 echo "$as_me:$LINENO: checking for pid_t" >&5
27950 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
27951 if test "${ac_cv_type_pid_t+set}" = set; then
27952 echo $ECHO_N "(cached) $ECHO_C" >&6
27953 else
27954 cat >conftest.$ac_ext <<_ACEOF
27955 /* confdefs.h. */
27956 _ACEOF
27957 cat confdefs.h >>conftest.$ac_ext
27958 cat >>conftest.$ac_ext <<_ACEOF
27959 /* end confdefs.h. */
27960 $ac_includes_default
27961 int
27962 main ()
27963 {
27964 if ((pid_t *) 0)
27965 return 0;
27966 if (sizeof (pid_t))
27967 return 0;
27968 ;
27969 return 0;
27970 }
27971 _ACEOF
27972 rm -f conftest.$ac_objext
27973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27974 (eval $ac_compile) 2>conftest.er1
27975 ac_status=$?
27976 grep -v '^ *+' conftest.er1 >conftest.err
27977 rm -f conftest.er1
27978 cat conftest.err >&5
27979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27980 (exit $ac_status); } &&
27981 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27983 (eval $ac_try) 2>&5
27984 ac_status=$?
27985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27986 (exit $ac_status); }; } &&
27987 { ac_try='test -s conftest.$ac_objext'
27988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27989 (eval $ac_try) 2>&5
27990 ac_status=$?
27991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27992 (exit $ac_status); }; }; then
27993 ac_cv_type_pid_t=yes
27994 else
27995 echo "$as_me: failed program was:" >&5
27996 sed 's/^/| /' conftest.$ac_ext >&5
27997
27998 ac_cv_type_pid_t=no
27999 fi
28000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28001 fi
28002 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28003 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28004 if test $ac_cv_type_pid_t = yes; then
28005 :
28006 else
28007
28008 cat >>confdefs.h <<_ACEOF
28009 #define pid_t int
28010 _ACEOF
28011
28012 fi
28013
28014 echo "$as_me:$LINENO: checking for size_t" >&5
28015 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28016 if test "${ac_cv_type_size_t+set}" = set; then
28017 echo $ECHO_N "(cached) $ECHO_C" >&6
28018 else
28019 cat >conftest.$ac_ext <<_ACEOF
28020 /* confdefs.h. */
28021 _ACEOF
28022 cat confdefs.h >>conftest.$ac_ext
28023 cat >>conftest.$ac_ext <<_ACEOF
28024 /* end confdefs.h. */
28025 $ac_includes_default
28026 int
28027 main ()
28028 {
28029 if ((size_t *) 0)
28030 return 0;
28031 if (sizeof (size_t))
28032 return 0;
28033 ;
28034 return 0;
28035 }
28036 _ACEOF
28037 rm -f conftest.$ac_objext
28038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28039 (eval $ac_compile) 2>conftest.er1
28040 ac_status=$?
28041 grep -v '^ *+' conftest.er1 >conftest.err
28042 rm -f conftest.er1
28043 cat conftest.err >&5
28044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28045 (exit $ac_status); } &&
28046 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28048 (eval $ac_try) 2>&5
28049 ac_status=$?
28050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28051 (exit $ac_status); }; } &&
28052 { ac_try='test -s conftest.$ac_objext'
28053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28054 (eval $ac_try) 2>&5
28055 ac_status=$?
28056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28057 (exit $ac_status); }; }; then
28058 ac_cv_type_size_t=yes
28059 else
28060 echo "$as_me: failed program was:" >&5
28061 sed 's/^/| /' conftest.$ac_ext >&5
28062
28063 ac_cv_type_size_t=no
28064 fi
28065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28066 fi
28067 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28068 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28069 if test $ac_cv_type_size_t = yes; then
28070 :
28071 else
28072
28073 cat >>confdefs.h <<_ACEOF
28074 #define size_t unsigned
28075 _ACEOF
28076
28077 fi
28078
28079 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28080 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28081 if test "${ac_cv_type_uid_t+set}" = set; then
28082 echo $ECHO_N "(cached) $ECHO_C" >&6
28083 else
28084 cat >conftest.$ac_ext <<_ACEOF
28085 /* confdefs.h. */
28086 _ACEOF
28087 cat confdefs.h >>conftest.$ac_ext
28088 cat >>conftest.$ac_ext <<_ACEOF
28089 /* end confdefs.h. */
28090 #include <sys/types.h>
28091
28092 _ACEOF
28093 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28094 $EGREP "uid_t" >/dev/null 2>&1; then
28095 ac_cv_type_uid_t=yes
28096 else
28097 ac_cv_type_uid_t=no
28098 fi
28099 rm -f conftest*
28100
28101 fi
28102 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28103 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28104 if test $ac_cv_type_uid_t = no; then
28105
28106 cat >>confdefs.h <<\_ACEOF
28107 #define uid_t int
28108 _ACEOF
28109
28110
28111 cat >>confdefs.h <<\_ACEOF
28112 #define gid_t int
28113 _ACEOF
28114
28115 fi
28116
28117
28118
28119
28120 ac_ext=cc
28121 ac_cpp='$CXXCPP $CPPFLAGS'
28122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28125
28126 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28127 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28128 if test "${wx_cv_size_t_is_uint+set}" = set; then
28129 echo $ECHO_N "(cached) $ECHO_C" >&6
28130 else
28131
28132 cat >conftest.$ac_ext <<_ACEOF
28133 /* confdefs.h. */
28134 _ACEOF
28135 cat confdefs.h >>conftest.$ac_ext
28136 cat >>conftest.$ac_ext <<_ACEOF
28137 /* end confdefs.h. */
28138 #include <stddef.h>
28139 int
28140 main ()
28141 {
28142
28143 return 0; }
28144
28145 struct Foo { void foo(size_t); void foo(unsigned int); };
28146
28147 int bar() {
28148
28149 ;
28150 return 0;
28151 }
28152 _ACEOF
28153 rm -f conftest.$ac_objext
28154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28155 (eval $ac_compile) 2>conftest.er1
28156 ac_status=$?
28157 grep -v '^ *+' conftest.er1 >conftest.err
28158 rm -f conftest.er1
28159 cat conftest.err >&5
28160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28161 (exit $ac_status); } &&
28162 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
28168 { ac_try='test -s conftest.$ac_objext'
28169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28170 (eval $ac_try) 2>&5
28171 ac_status=$?
28172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28173 (exit $ac_status); }; }; then
28174 wx_cv_size_t_is_uint=no
28175 else
28176 echo "$as_me: failed program was:" >&5
28177 sed 's/^/| /' conftest.$ac_ext >&5
28178
28179 wx_cv_size_t_is_uint=yes
28180
28181 fi
28182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28183
28184
28185 fi
28186 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28187 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28188
28189 if test "$wx_cv_size_t_is_uint" = "yes"; then
28190 cat >>confdefs.h <<\_ACEOF
28191 #define wxSIZE_T_IS_UINT 1
28192 _ACEOF
28193
28194 else
28195 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28196 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28197 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28198 echo $ECHO_N "(cached) $ECHO_C" >&6
28199 else
28200 cat >conftest.$ac_ext <<_ACEOF
28201 /* confdefs.h. */
28202 _ACEOF
28203 cat confdefs.h >>conftest.$ac_ext
28204 cat >>conftest.$ac_ext <<_ACEOF
28205 /* end confdefs.h. */
28206 #include <stddef.h>
28207 int
28208 main ()
28209 {
28210
28211 return 0; }
28212
28213 struct Foo { void foo(size_t); void foo(unsigned long); };
28214
28215 int bar() {
28216
28217 ;
28218 return 0;
28219 }
28220 _ACEOF
28221 rm -f conftest.$ac_objext
28222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28223 (eval $ac_compile) 2>conftest.er1
28224 ac_status=$?
28225 grep -v '^ *+' conftest.er1 >conftest.err
28226 rm -f conftest.er1
28227 cat conftest.err >&5
28228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28229 (exit $ac_status); } &&
28230 { ac_try='test -z "$ac_cxx_werror_flag" || 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_objext'
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 wx_cv_size_t_is_ulong=no
28243 else
28244 echo "$as_me: failed program was:" >&5
28245 sed 's/^/| /' conftest.$ac_ext >&5
28246
28247 wx_cv_size_t_is_ulong=yes
28248
28249 fi
28250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28251
28252 fi
28253 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28254 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28255
28256 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28257 cat >>confdefs.h <<\_ACEOF
28258 #define wxSIZE_T_IS_ULONG 1
28259 _ACEOF
28260
28261 fi
28262 fi
28263
28264 ac_ext=c
28265 ac_cpp='$CPP $CPPFLAGS'
28266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28269
28270
28271
28272 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28273 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28274 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28275 echo $ECHO_N "(cached) $ECHO_C" >&6
28276 else
28277
28278 cat >conftest.$ac_ext <<_ACEOF
28279 /* confdefs.h. */
28280 _ACEOF
28281 cat confdefs.h >>conftest.$ac_ext
28282 cat >>conftest.$ac_ext <<_ACEOF
28283 /* end confdefs.h. */
28284 #include <pwd.h>
28285 int
28286 main ()
28287 {
28288
28289 char *p;
28290 struct passwd *pw;
28291 p = pw->pw_gecos;
28292
28293 ;
28294 return 0;
28295 }
28296 _ACEOF
28297 rm -f conftest.$ac_objext
28298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28299 (eval $ac_compile) 2>conftest.er1
28300 ac_status=$?
28301 grep -v '^ *+' conftest.er1 >conftest.err
28302 rm -f conftest.er1
28303 cat conftest.err >&5
28304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28305 (exit $ac_status); } &&
28306 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28308 (eval $ac_try) 2>&5
28309 ac_status=$?
28310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28311 (exit $ac_status); }; } &&
28312 { ac_try='test -s conftest.$ac_objext'
28313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28314 (eval $ac_try) 2>&5
28315 ac_status=$?
28316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28317 (exit $ac_status); }; }; then
28318
28319 wx_cv_struct_pw_gecos=yes
28320
28321 else
28322 echo "$as_me: failed program was:" >&5
28323 sed 's/^/| /' conftest.$ac_ext >&5
28324
28325
28326 wx_cv_struct_pw_gecos=no
28327
28328
28329 fi
28330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28331
28332
28333 fi
28334 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28335 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28336
28337 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28338 cat >>confdefs.h <<\_ACEOF
28339 #define HAVE_PW_GECOS 1
28340 _ACEOF
28341
28342 fi
28343
28344
28345 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28346 cat >>confdefs.h <<\_ACEOF
28347 #define wxUSE_WCHAR_T 1
28348 _ACEOF
28349
28350
28351 WCSLEN_FOUND=0
28352 WCHAR_LINK=
28353
28354 for ac_func in wcslen
28355 do
28356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28357 echo "$as_me:$LINENO: checking for $ac_func" >&5
28358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28359 if eval "test \"\${$as_ac_var+set}\" = set"; then
28360 echo $ECHO_N "(cached) $ECHO_C" >&6
28361 else
28362 cat >conftest.$ac_ext <<_ACEOF
28363 /* confdefs.h. */
28364 _ACEOF
28365 cat confdefs.h >>conftest.$ac_ext
28366 cat >>conftest.$ac_ext <<_ACEOF
28367 /* end confdefs.h. */
28368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28370 #define $ac_func innocuous_$ac_func
28371
28372 /* System header to define __stub macros and hopefully few prototypes,
28373 which can conflict with char $ac_func (); below.
28374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28375 <limits.h> exists even on freestanding compilers. */
28376
28377 #ifdef __STDC__
28378 # include <limits.h>
28379 #else
28380 # include <assert.h>
28381 #endif
28382
28383 #undef $ac_func
28384
28385 /* Override any gcc2 internal prototype to avoid an error. */
28386 #ifdef __cplusplus
28387 extern "C"
28388 {
28389 #endif
28390 /* We use char because int might match the return type of a gcc2
28391 builtin and then its argument prototype would still apply. */
28392 char $ac_func ();
28393 /* The GNU C library defines this for functions which it implements
28394 to always fail with ENOSYS. Some functions are actually named
28395 something starting with __ and the normal name is an alias. */
28396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28397 choke me
28398 #else
28399 char (*f) () = $ac_func;
28400 #endif
28401 #ifdef __cplusplus
28402 }
28403 #endif
28404
28405 int
28406 main ()
28407 {
28408 return f != $ac_func;
28409 ;
28410 return 0;
28411 }
28412 _ACEOF
28413 rm -f conftest.$ac_objext conftest$ac_exeext
28414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28415 (eval $ac_link) 2>conftest.er1
28416 ac_status=$?
28417 grep -v '^ *+' conftest.er1 >conftest.err
28418 rm -f conftest.er1
28419 cat conftest.err >&5
28420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28421 (exit $ac_status); } &&
28422 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28424 (eval $ac_try) 2>&5
28425 ac_status=$?
28426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28427 (exit $ac_status); }; } &&
28428 { ac_try='test -s conftest$ac_exeext'
28429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28430 (eval $ac_try) 2>&5
28431 ac_status=$?
28432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28433 (exit $ac_status); }; }; then
28434 eval "$as_ac_var=yes"
28435 else
28436 echo "$as_me: failed program was:" >&5
28437 sed 's/^/| /' conftest.$ac_ext >&5
28438
28439 eval "$as_ac_var=no"
28440 fi
28441 rm -f conftest.err conftest.$ac_objext \
28442 conftest$ac_exeext conftest.$ac_ext
28443 fi
28444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28446 if test `eval echo '${'$as_ac_var'}'` = yes; then
28447 cat >>confdefs.h <<_ACEOF
28448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28449 _ACEOF
28450 WCSLEN_FOUND=1
28451 fi
28452 done
28453
28454
28455 if test "$WCSLEN_FOUND" = 0; then
28456 if test "$TOOLKIT" = "MSW"; then
28457 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28458 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28459 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28460 echo $ECHO_N "(cached) $ECHO_C" >&6
28461 else
28462 ac_check_lib_save_LIBS=$LIBS
28463 LIBS="-lmsvcrt $LIBS"
28464 cat >conftest.$ac_ext <<_ACEOF
28465 /* confdefs.h. */
28466 _ACEOF
28467 cat confdefs.h >>conftest.$ac_ext
28468 cat >>conftest.$ac_ext <<_ACEOF
28469 /* end confdefs.h. */
28470
28471 /* Override any gcc2 internal prototype to avoid an error. */
28472 #ifdef __cplusplus
28473 extern "C"
28474 #endif
28475 /* We use char because int might match the return type of a gcc2
28476 builtin and then its argument prototype would still apply. */
28477 char wcslen ();
28478 int
28479 main ()
28480 {
28481 wcslen ();
28482 ;
28483 return 0;
28484 }
28485 _ACEOF
28486 rm -f conftest.$ac_objext conftest$ac_exeext
28487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28488 (eval $ac_link) 2>conftest.er1
28489 ac_status=$?
28490 grep -v '^ *+' conftest.er1 >conftest.err
28491 rm -f conftest.er1
28492 cat conftest.err >&5
28493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28494 (exit $ac_status); } &&
28495 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28497 (eval $ac_try) 2>&5
28498 ac_status=$?
28499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28500 (exit $ac_status); }; } &&
28501 { ac_try='test -s conftest$ac_exeext'
28502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28503 (eval $ac_try) 2>&5
28504 ac_status=$?
28505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28506 (exit $ac_status); }; }; then
28507 ac_cv_lib_msvcrt_wcslen=yes
28508 else
28509 echo "$as_me: failed program was:" >&5
28510 sed 's/^/| /' conftest.$ac_ext >&5
28511
28512 ac_cv_lib_msvcrt_wcslen=no
28513 fi
28514 rm -f conftest.err conftest.$ac_objext \
28515 conftest$ac_exeext conftest.$ac_ext
28516 LIBS=$ac_check_lib_save_LIBS
28517 fi
28518 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28519 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28520 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28521 WCHAR_OK=1
28522 fi
28523
28524 else
28525 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28526 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28527 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28528 echo $ECHO_N "(cached) $ECHO_C" >&6
28529 else
28530 ac_check_lib_save_LIBS=$LIBS
28531 LIBS="-lw $LIBS"
28532 cat >conftest.$ac_ext <<_ACEOF
28533 /* confdefs.h. */
28534 _ACEOF
28535 cat confdefs.h >>conftest.$ac_ext
28536 cat >>conftest.$ac_ext <<_ACEOF
28537 /* end confdefs.h. */
28538
28539 /* Override any gcc2 internal prototype to avoid an error. */
28540 #ifdef __cplusplus
28541 extern "C"
28542 #endif
28543 /* We use char because int might match the return type of a gcc2
28544 builtin and then its argument prototype would still apply. */
28545 char wcslen ();
28546 int
28547 main ()
28548 {
28549 wcslen ();
28550 ;
28551 return 0;
28552 }
28553 _ACEOF
28554 rm -f conftest.$ac_objext conftest$ac_exeext
28555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28556 (eval $ac_link) 2>conftest.er1
28557 ac_status=$?
28558 grep -v '^ *+' conftest.er1 >conftest.err
28559 rm -f conftest.er1
28560 cat conftest.err >&5
28561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28562 (exit $ac_status); } &&
28563 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28565 (eval $ac_try) 2>&5
28566 ac_status=$?
28567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28568 (exit $ac_status); }; } &&
28569 { ac_try='test -s conftest$ac_exeext'
28570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28571 (eval $ac_try) 2>&5
28572 ac_status=$?
28573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28574 (exit $ac_status); }; }; then
28575 ac_cv_lib_w_wcslen=yes
28576 else
28577 echo "$as_me: failed program was:" >&5
28578 sed 's/^/| /' conftest.$ac_ext >&5
28579
28580 ac_cv_lib_w_wcslen=no
28581 fi
28582 rm -f conftest.err conftest.$ac_objext \
28583 conftest$ac_exeext conftest.$ac_ext
28584 LIBS=$ac_check_lib_save_LIBS
28585 fi
28586 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
28587 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
28588 if test $ac_cv_lib_w_wcslen = yes; then
28589
28590 WCHAR_LINK=" -lw"
28591 WCSLEN_FOUND=1
28592
28593 fi
28594
28595 fi
28596 fi
28597
28598 if test "$WCSLEN_FOUND" = 1; then
28599 cat >>confdefs.h <<\_ACEOF
28600 #define HAVE_WCSLEN 1
28601 _ACEOF
28602
28603 fi
28604
28605 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
28606 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
28607 fi
28608
28609
28610 for ac_func in wcsrtombs
28611 do
28612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28613 echo "$as_me:$LINENO: checking for $ac_func" >&5
28614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28615 if eval "test \"\${$as_ac_var+set}\" = set"; then
28616 echo $ECHO_N "(cached) $ECHO_C" >&6
28617 else
28618 cat >conftest.$ac_ext <<_ACEOF
28619 /* confdefs.h. */
28620 _ACEOF
28621 cat confdefs.h >>conftest.$ac_ext
28622 cat >>conftest.$ac_ext <<_ACEOF
28623 /* end confdefs.h. */
28624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28626 #define $ac_func innocuous_$ac_func
28627
28628 /* System header to define __stub macros and hopefully few prototypes,
28629 which can conflict with char $ac_func (); below.
28630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28631 <limits.h> exists even on freestanding compilers. */
28632
28633 #ifdef __STDC__
28634 # include <limits.h>
28635 #else
28636 # include <assert.h>
28637 #endif
28638
28639 #undef $ac_func
28640
28641 /* Override any gcc2 internal prototype to avoid an error. */
28642 #ifdef __cplusplus
28643 extern "C"
28644 {
28645 #endif
28646 /* We use char because int might match the return type of a gcc2
28647 builtin and then its argument prototype would still apply. */
28648 char $ac_func ();
28649 /* The GNU C library defines this for functions which it implements
28650 to always fail with ENOSYS. Some functions are actually named
28651 something starting with __ and the normal name is an alias. */
28652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28653 choke me
28654 #else
28655 char (*f) () = $ac_func;
28656 #endif
28657 #ifdef __cplusplus
28658 }
28659 #endif
28660
28661 int
28662 main ()
28663 {
28664 return f != $ac_func;
28665 ;
28666 return 0;
28667 }
28668 _ACEOF
28669 rm -f conftest.$ac_objext conftest$ac_exeext
28670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28671 (eval $ac_link) 2>conftest.er1
28672 ac_status=$?
28673 grep -v '^ *+' conftest.er1 >conftest.err
28674 rm -f conftest.er1
28675 cat conftest.err >&5
28676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28677 (exit $ac_status); } &&
28678 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28680 (eval $ac_try) 2>&5
28681 ac_status=$?
28682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28683 (exit $ac_status); }; } &&
28684 { ac_try='test -s conftest$ac_exeext'
28685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28686 (eval $ac_try) 2>&5
28687 ac_status=$?
28688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28689 (exit $ac_status); }; }; then
28690 eval "$as_ac_var=yes"
28691 else
28692 echo "$as_me: failed program was:" >&5
28693 sed 's/^/| /' conftest.$ac_ext >&5
28694
28695 eval "$as_ac_var=no"
28696 fi
28697 rm -f conftest.err conftest.$ac_objext \
28698 conftest$ac_exeext conftest.$ac_ext
28699 fi
28700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28702 if test `eval echo '${'$as_ac_var'}'` = yes; then
28703 cat >>confdefs.h <<_ACEOF
28704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28705 _ACEOF
28706
28707 fi
28708 done
28709
28710 else
28711 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
28712 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
28713 fi
28714
28715
28716
28717 ac_ext=cc
28718 ac_cpp='$CXXCPP $CPPFLAGS'
28719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28722
28723
28724
28725 for ac_func in vsnprintf
28726 do
28727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28728 echo "$as_me:$LINENO: checking for $ac_func" >&5
28729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28730 if eval "test \"\${$as_ac_var+set}\" = set"; then
28731 echo $ECHO_N "(cached) $ECHO_C" >&6
28732 else
28733 cat >conftest.$ac_ext <<_ACEOF
28734 /* confdefs.h. */
28735 _ACEOF
28736 cat confdefs.h >>conftest.$ac_ext
28737 cat >>conftest.$ac_ext <<_ACEOF
28738 /* end confdefs.h. */
28739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28741 #define $ac_func innocuous_$ac_func
28742
28743 /* System header to define __stub macros and hopefully few prototypes,
28744 which can conflict with char $ac_func (); below.
28745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28746 <limits.h> exists even on freestanding compilers. */
28747
28748 #ifdef __STDC__
28749 # include <limits.h>
28750 #else
28751 # include <assert.h>
28752 #endif
28753
28754 #undef $ac_func
28755
28756 /* Override any gcc2 internal prototype to avoid an error. */
28757 #ifdef __cplusplus
28758 extern "C"
28759 {
28760 #endif
28761 /* We use char because int might match the return type of a gcc2
28762 builtin and then its argument prototype would still apply. */
28763 char $ac_func ();
28764 /* The GNU C library defines this for functions which it implements
28765 to always fail with ENOSYS. Some functions are actually named
28766 something starting with __ and the normal name is an alias. */
28767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28768 choke me
28769 #else
28770 char (*f) () = $ac_func;
28771 #endif
28772 #ifdef __cplusplus
28773 }
28774 #endif
28775
28776 int
28777 main ()
28778 {
28779 return f != $ac_func;
28780 ;
28781 return 0;
28782 }
28783 _ACEOF
28784 rm -f conftest.$ac_objext conftest$ac_exeext
28785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28786 (eval $ac_link) 2>conftest.er1
28787 ac_status=$?
28788 grep -v '^ *+' conftest.er1 >conftest.err
28789 rm -f conftest.er1
28790 cat conftest.err >&5
28791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28792 (exit $ac_status); } &&
28793 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28795 (eval $ac_try) 2>&5
28796 ac_status=$?
28797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28798 (exit $ac_status); }; } &&
28799 { ac_try='test -s conftest$ac_exeext'
28800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28801 (eval $ac_try) 2>&5
28802 ac_status=$?
28803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28804 (exit $ac_status); }; }; then
28805 eval "$as_ac_var=yes"
28806 else
28807 echo "$as_me: failed program was:" >&5
28808 sed 's/^/| /' conftest.$ac_ext >&5
28809
28810 eval "$as_ac_var=no"
28811 fi
28812 rm -f conftest.err conftest.$ac_objext \
28813 conftest$ac_exeext conftest.$ac_ext
28814 fi
28815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28816 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28817 if test `eval echo '${'$as_ac_var'}'` = yes; then
28818 cat >>confdefs.h <<_ACEOF
28819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28820 _ACEOF
28821
28822 fi
28823 done
28824
28825
28826 if test "$ac_cv_func_vsnprintf" = "yes"; then
28827 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
28828 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
28829 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
28830 echo $ECHO_N "(cached) $ECHO_C" >&6
28831 else
28832
28833 cat >conftest.$ac_ext <<_ACEOF
28834 /* confdefs.h. */
28835 _ACEOF
28836 cat confdefs.h >>conftest.$ac_ext
28837 cat >>conftest.$ac_ext <<_ACEOF
28838 /* end confdefs.h. */
28839
28840 #include <stdio.h>
28841 #include <stdarg.h>
28842
28843 int
28844 main ()
28845 {
28846
28847 char *buf;
28848 va_list ap;
28849 vsnprintf(buf, 10u, "%s", ap);
28850
28851 ;
28852 return 0;
28853 }
28854 _ACEOF
28855 rm -f conftest.$ac_objext
28856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28857 (eval $ac_compile) 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" || test ! -s conftest.err'
28865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28866 (eval $ac_try) 2>&5
28867 ac_status=$?
28868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28869 (exit $ac_status); }; } &&
28870 { ac_try='test -s conftest.$ac_objext'
28871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28872 (eval $ac_try) 2>&5
28873 ac_status=$?
28874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28875 (exit $ac_status); }; }; then
28876 wx_cv_func_vsnprintf_decl=yes
28877 else
28878 echo "$as_me: failed program was:" >&5
28879 sed 's/^/| /' conftest.$ac_ext >&5
28880
28881 wx_cv_func_vsnprintf_decl=no
28882
28883 fi
28884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28885
28886
28887 fi
28888 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
28889 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
28890
28891 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
28892 cat >>confdefs.h <<\_ACEOF
28893 #define HAVE_VSNPRINTF_DECL 1
28894 _ACEOF
28895
28896 fi
28897 fi
28898
28899 if test "$wxUSE_UNICODE" = yes; then
28900
28901
28902
28903
28904
28905
28906 for ac_func in wputc wputchar putws fputws wprintf vswprintf
28907 do
28908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28909 echo "$as_me:$LINENO: checking for $ac_func" >&5
28910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28911 if eval "test \"\${$as_ac_var+set}\" = set"; then
28912 echo $ECHO_N "(cached) $ECHO_C" >&6
28913 else
28914 cat >conftest.$ac_ext <<_ACEOF
28915 /* confdefs.h. */
28916 _ACEOF
28917 cat confdefs.h >>conftest.$ac_ext
28918 cat >>conftest.$ac_ext <<_ACEOF
28919 /* end confdefs.h. */
28920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28922 #define $ac_func innocuous_$ac_func
28923
28924 /* System header to define __stub macros and hopefully few prototypes,
28925 which can conflict with char $ac_func (); below.
28926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28927 <limits.h> exists even on freestanding compilers. */
28928
28929 #ifdef __STDC__
28930 # include <limits.h>
28931 #else
28932 # include <assert.h>
28933 #endif
28934
28935 #undef $ac_func
28936
28937 /* Override any gcc2 internal prototype to avoid an error. */
28938 #ifdef __cplusplus
28939 extern "C"
28940 {
28941 #endif
28942 /* We use char because int might match the return type of a gcc2
28943 builtin and then its argument prototype would still apply. */
28944 char $ac_func ();
28945 /* The GNU C library defines this for functions which it implements
28946 to always fail with ENOSYS. Some functions are actually named
28947 something starting with __ and the normal name is an alias. */
28948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28949 choke me
28950 #else
28951 char (*f) () = $ac_func;
28952 #endif
28953 #ifdef __cplusplus
28954 }
28955 #endif
28956
28957 int
28958 main ()
28959 {
28960 return f != $ac_func;
28961 ;
28962 return 0;
28963 }
28964 _ACEOF
28965 rm -f conftest.$ac_objext conftest$ac_exeext
28966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28967 (eval $ac_link) 2>conftest.er1
28968 ac_status=$?
28969 grep -v '^ *+' conftest.er1 >conftest.err
28970 rm -f conftest.er1
28971 cat conftest.err >&5
28972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28973 (exit $ac_status); } &&
28974 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28976 (eval $ac_try) 2>&5
28977 ac_status=$?
28978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28979 (exit $ac_status); }; } &&
28980 { ac_try='test -s conftest$ac_exeext'
28981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28982 (eval $ac_try) 2>&5
28983 ac_status=$?
28984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28985 (exit $ac_status); }; }; then
28986 eval "$as_ac_var=yes"
28987 else
28988 echo "$as_me: failed program was:" >&5
28989 sed 's/^/| /' conftest.$ac_ext >&5
28990
28991 eval "$as_ac_var=no"
28992 fi
28993 rm -f conftest.err conftest.$ac_objext \
28994 conftest$ac_exeext conftest.$ac_ext
28995 fi
28996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28998 if test `eval echo '${'$as_ac_var'}'` = yes; then
28999 cat >>confdefs.h <<_ACEOF
29000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29001 _ACEOF
29002
29003 fi
29004 done
29005
29006
29007 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29008 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29009 cat >conftest.$ac_ext <<_ACEOF
29010 /* confdefs.h. */
29011 _ACEOF
29012 cat confdefs.h >>conftest.$ac_ext
29013 cat >>conftest.$ac_ext <<_ACEOF
29014 /* end confdefs.h. */
29015 #include <wchar.h>
29016 int
29017 main ()
29018 {
29019 &_vsnwprintf;
29020 ;
29021 return 0;
29022 }
29023 _ACEOF
29024 rm -f conftest.$ac_objext
29025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29026 (eval $ac_compile) 2>conftest.er1
29027 ac_status=$?
29028 grep -v '^ *+' conftest.er1 >conftest.err
29029 rm -f conftest.er1
29030 cat conftest.err >&5
29031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29032 (exit $ac_status); } &&
29033 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29035 (eval $ac_try) 2>&5
29036 ac_status=$?
29037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29038 (exit $ac_status); }; } &&
29039 { ac_try='test -s conftest.$ac_objext'
29040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29041 (eval $ac_try) 2>&5
29042 ac_status=$?
29043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29044 (exit $ac_status); }; }; then
29045 echo "$as_me:$LINENO: result: yes" >&5
29046 echo "${ECHO_T}yes" >&6
29047 cat >>confdefs.h <<\_ACEOF
29048 #define HAVE__VSNWPRINTF 1
29049 _ACEOF
29050
29051 else
29052 echo "$as_me: failed program was:" >&5
29053 sed 's/^/| /' conftest.$ac_ext >&5
29054
29055 echo "$as_me:$LINENO: result: no" >&5
29056 echo "${ECHO_T}no" >&6
29057 fi
29058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
29059 fi
29060
29061 ac_ext=c
29062 ac_cpp='$CPP $CPPFLAGS'
29063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29066
29067
29068
29069
29070 if test "$TOOLKIT" != "MSW"; then
29071
29072
29073
29074
29075 ac_ext=cc
29076 ac_cpp='$CXXCPP $CPPFLAGS'
29077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29080
29081
29082
29083
29084 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29085 if test "${with_libiconv_prefix+set}" = set; then
29086 withval="$with_libiconv_prefix"
29087
29088 for dir in `echo "$withval" | tr : ' '`; do
29089 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
29090 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
29091 done
29092
29093 fi;
29094
29095 echo "$as_me:$LINENO: checking for iconv" >&5
29096 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29097 if test "${am_cv_func_iconv+set}" = set; then
29098 echo $ECHO_N "(cached) $ECHO_C" >&6
29099 else
29100
29101 am_cv_func_iconv="no, consider installing GNU libiconv"
29102 am_cv_lib_iconv=no
29103 cat >conftest.$ac_ext <<_ACEOF
29104 /* confdefs.h. */
29105 _ACEOF
29106 cat confdefs.h >>conftest.$ac_ext
29107 cat >>conftest.$ac_ext <<_ACEOF
29108 /* end confdefs.h. */
29109 #include <stdlib.h>
29110 #include <iconv.h>
29111 int
29112 main ()
29113 {
29114 iconv_t cd = iconv_open("","");
29115 iconv(cd,NULL,NULL,NULL,NULL);
29116 iconv_close(cd);
29117 ;
29118 return 0;
29119 }
29120 _ACEOF
29121 rm -f conftest.$ac_objext conftest$ac_exeext
29122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29123 (eval $ac_link) 2>conftest.er1
29124 ac_status=$?
29125 grep -v '^ *+' conftest.er1 >conftest.err
29126 rm -f conftest.er1
29127 cat conftest.err >&5
29128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29129 (exit $ac_status); } &&
29130 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29132 (eval $ac_try) 2>&5
29133 ac_status=$?
29134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29135 (exit $ac_status); }; } &&
29136 { ac_try='test -s conftest$ac_exeext'
29137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29138 (eval $ac_try) 2>&5
29139 ac_status=$?
29140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29141 (exit $ac_status); }; }; then
29142 am_cv_func_iconv=yes
29143 else
29144 echo "$as_me: failed program was:" >&5
29145 sed 's/^/| /' conftest.$ac_ext >&5
29146
29147 fi
29148 rm -f conftest.err conftest.$ac_objext \
29149 conftest$ac_exeext conftest.$ac_ext
29150 if test "$am_cv_func_iconv" != yes; then
29151 am_save_LIBS="$LIBS"
29152 LIBS="$LIBS -liconv"
29153 cat >conftest.$ac_ext <<_ACEOF
29154 /* confdefs.h. */
29155 _ACEOF
29156 cat confdefs.h >>conftest.$ac_ext
29157 cat >>conftest.$ac_ext <<_ACEOF
29158 /* end confdefs.h. */
29159 #include <stdlib.h>
29160 #include <iconv.h>
29161 int
29162 main ()
29163 {
29164 iconv_t cd = iconv_open("","");
29165 iconv(cd,NULL,NULL,NULL,NULL);
29166 iconv_close(cd);
29167 ;
29168 return 0;
29169 }
29170 _ACEOF
29171 rm -f conftest.$ac_objext conftest$ac_exeext
29172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29173 (eval $ac_link) 2>conftest.er1
29174 ac_status=$?
29175 grep -v '^ *+' conftest.er1 >conftest.err
29176 rm -f conftest.er1
29177 cat conftest.err >&5
29178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29179 (exit $ac_status); } &&
29180 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29182 (eval $ac_try) 2>&5
29183 ac_status=$?
29184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29185 (exit $ac_status); }; } &&
29186 { ac_try='test -s conftest$ac_exeext'
29187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29188 (eval $ac_try) 2>&5
29189 ac_status=$?
29190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29191 (exit $ac_status); }; }; then
29192 am_cv_lib_iconv=yes
29193 am_cv_func_iconv=yes
29194 else
29195 echo "$as_me: failed program was:" >&5
29196 sed 's/^/| /' conftest.$ac_ext >&5
29197
29198 fi
29199 rm -f conftest.err conftest.$ac_objext \
29200 conftest$ac_exeext conftest.$ac_ext
29201 LIBS="$am_save_LIBS"
29202 fi
29203
29204 fi
29205 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29206 echo "${ECHO_T}$am_cv_func_iconv" >&6
29207 if test "$am_cv_func_iconv" = yes; then
29208
29209 cat >>confdefs.h <<\_ACEOF
29210 #define HAVE_ICONV 1
29211 _ACEOF
29212
29213 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29214 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29215 if test "${wx_cv_func_iconv_const+set}" = set; then
29216 echo $ECHO_N "(cached) $ECHO_C" >&6
29217 else
29218 cat >conftest.$ac_ext <<_ACEOF
29219 /* confdefs.h. */
29220 _ACEOF
29221 cat confdefs.h >>conftest.$ac_ext
29222 cat >>conftest.$ac_ext <<_ACEOF
29223 /* end confdefs.h. */
29224
29225 #include <stdlib.h>
29226 #include <iconv.h>
29227 extern
29228 #ifdef __cplusplus
29229 "C"
29230 #endif
29231 #if defined(__STDC__) || defined(__cplusplus)
29232 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29233 #else
29234 size_t iconv();
29235 #endif
29236
29237 int
29238 main ()
29239 {
29240
29241 ;
29242 return 0;
29243 }
29244 _ACEOF
29245 rm -f conftest.$ac_objext
29246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29247 (eval $ac_compile) 2>conftest.er1
29248 ac_status=$?
29249 grep -v '^ *+' conftest.er1 >conftest.err
29250 rm -f conftest.er1
29251 cat conftest.err >&5
29252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29253 (exit $ac_status); } &&
29254 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29256 (eval $ac_try) 2>&5
29257 ac_status=$?
29258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29259 (exit $ac_status); }; } &&
29260 { ac_try='test -s conftest.$ac_objext'
29261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29262 (eval $ac_try) 2>&5
29263 ac_status=$?
29264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29265 (exit $ac_status); }; }; then
29266 wx_cv_func_iconv_const="no"
29267 else
29268 echo "$as_me: failed program was:" >&5
29269 sed 's/^/| /' conftest.$ac_ext >&5
29270
29271 wx_cv_func_iconv_const="yes"
29272
29273 fi
29274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29275
29276 fi
29277 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29278 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29279
29280 iconv_const=
29281 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29282 iconv_const="const"
29283 fi
29284
29285
29286 cat >>confdefs.h <<_ACEOF
29287 #define ICONV_CONST $iconv_const
29288 _ACEOF
29289
29290 fi
29291 LIBICONV=
29292 if test "$am_cv_lib_iconv" = yes; then
29293 LIBICONV="-liconv"
29294 fi
29295
29296
29297 LIBS="$LIBICONV $LIBS"
29298 ac_ext=c
29299 ac_cpp='$CPP $CPPFLAGS'
29300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29303
29304
29305 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29306
29307 for ac_func in sigaction
29308 do
29309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29310 echo "$as_me:$LINENO: checking for $ac_func" >&5
29311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29312 if eval "test \"\${$as_ac_var+set}\" = set"; then
29313 echo $ECHO_N "(cached) $ECHO_C" >&6
29314 else
29315 cat >conftest.$ac_ext <<_ACEOF
29316 /* confdefs.h. */
29317 _ACEOF
29318 cat confdefs.h >>conftest.$ac_ext
29319 cat >>conftest.$ac_ext <<_ACEOF
29320 /* end confdefs.h. */
29321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29323 #define $ac_func innocuous_$ac_func
29324
29325 /* System header to define __stub macros and hopefully few prototypes,
29326 which can conflict with char $ac_func (); below.
29327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29328 <limits.h> exists even on freestanding compilers. */
29329
29330 #ifdef __STDC__
29331 # include <limits.h>
29332 #else
29333 # include <assert.h>
29334 #endif
29335
29336 #undef $ac_func
29337
29338 /* Override any gcc2 internal prototype to avoid an error. */
29339 #ifdef __cplusplus
29340 extern "C"
29341 {
29342 #endif
29343 /* We use char because int might match the return type of a gcc2
29344 builtin and then its argument prototype would still apply. */
29345 char $ac_func ();
29346 /* The GNU C library defines this for functions which it implements
29347 to always fail with ENOSYS. Some functions are actually named
29348 something starting with __ and the normal name is an alias. */
29349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29350 choke me
29351 #else
29352 char (*f) () = $ac_func;
29353 #endif
29354 #ifdef __cplusplus
29355 }
29356 #endif
29357
29358 int
29359 main ()
29360 {
29361 return f != $ac_func;
29362 ;
29363 return 0;
29364 }
29365 _ACEOF
29366 rm -f conftest.$ac_objext conftest$ac_exeext
29367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29368 (eval $ac_link) 2>conftest.er1
29369 ac_status=$?
29370 grep -v '^ *+' conftest.er1 >conftest.err
29371 rm -f conftest.er1
29372 cat conftest.err >&5
29373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29374 (exit $ac_status); } &&
29375 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29377 (eval $ac_try) 2>&5
29378 ac_status=$?
29379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29380 (exit $ac_status); }; } &&
29381 { ac_try='test -s conftest$ac_exeext'
29382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29383 (eval $ac_try) 2>&5
29384 ac_status=$?
29385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29386 (exit $ac_status); }; }; then
29387 eval "$as_ac_var=yes"
29388 else
29389 echo "$as_me: failed program was:" >&5
29390 sed 's/^/| /' conftest.$ac_ext >&5
29391
29392 eval "$as_ac_var=no"
29393 fi
29394 rm -f conftest.err conftest.$ac_objext \
29395 conftest$ac_exeext conftest.$ac_ext
29396 fi
29397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29399 if test `eval echo '${'$as_ac_var'}'` = yes; then
29400 cat >>confdefs.h <<_ACEOF
29401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29402 _ACEOF
29403
29404 fi
29405 done
29406
29407
29408 if test "$ac_cv_func_sigaction" = "no"; then
29409 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29410 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29411 wxUSE_ON_FATAL_EXCEPTION=no
29412 fi
29413
29414 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29415
29416
29417 ac_ext=cc
29418 ac_cpp='$CXXCPP $CPPFLAGS'
29419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29422
29423
29424 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29425 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29426 if test "${wx_cv_type_sa_handler+set}" = set; then
29427 echo $ECHO_N "(cached) $ECHO_C" >&6
29428 else
29429
29430 cat >conftest.$ac_ext <<_ACEOF
29431 /* confdefs.h. */
29432 _ACEOF
29433 cat confdefs.h >>conftest.$ac_ext
29434 cat >>conftest.$ac_ext <<_ACEOF
29435 /* end confdefs.h. */
29436 #include <signal.h>
29437 int
29438 main ()
29439 {
29440
29441 extern void testSigHandler(int);
29442
29443 struct sigaction sa;
29444 sa.sa_handler = testSigHandler;
29445
29446 ;
29447 return 0;
29448 }
29449 _ACEOF
29450 rm -f conftest.$ac_objext
29451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29452 (eval $ac_compile) 2>conftest.er1
29453 ac_status=$?
29454 grep -v '^ *+' conftest.er1 >conftest.err
29455 rm -f conftest.er1
29456 cat conftest.err >&5
29457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29458 (exit $ac_status); } &&
29459 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29461 (eval $ac_try) 2>&5
29462 ac_status=$?
29463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29464 (exit $ac_status); }; } &&
29465 { ac_try='test -s conftest.$ac_objext'
29466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29467 (eval $ac_try) 2>&5
29468 ac_status=$?
29469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29470 (exit $ac_status); }; }; then
29471
29472 wx_cv_type_sa_handler=int
29473
29474 else
29475 echo "$as_me: failed program was:" >&5
29476 sed 's/^/| /' conftest.$ac_ext >&5
29477
29478
29479 wx_cv_type_sa_handler=void
29480
29481 fi
29482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29483
29484 fi
29485 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29486 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29487
29488 ac_ext=c
29489 ac_cpp='$CPP $CPPFLAGS'
29490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29493
29494
29495 cat >>confdefs.h <<_ACEOF
29496 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29497 _ACEOF
29498
29499 fi
29500 fi
29501
29502
29503
29504 for ac_func in mkstemp mktemp
29505 do
29506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29507 echo "$as_me:$LINENO: checking for $ac_func" >&5
29508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29509 if eval "test \"\${$as_ac_var+set}\" = set"; then
29510 echo $ECHO_N "(cached) $ECHO_C" >&6
29511 else
29512 cat >conftest.$ac_ext <<_ACEOF
29513 /* confdefs.h. */
29514 _ACEOF
29515 cat confdefs.h >>conftest.$ac_ext
29516 cat >>conftest.$ac_ext <<_ACEOF
29517 /* end confdefs.h. */
29518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29520 #define $ac_func innocuous_$ac_func
29521
29522 /* System header to define __stub macros and hopefully few prototypes,
29523 which can conflict with char $ac_func (); below.
29524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29525 <limits.h> exists even on freestanding compilers. */
29526
29527 #ifdef __STDC__
29528 # include <limits.h>
29529 #else
29530 # include <assert.h>
29531 #endif
29532
29533 #undef $ac_func
29534
29535 /* Override any gcc2 internal prototype to avoid an error. */
29536 #ifdef __cplusplus
29537 extern "C"
29538 {
29539 #endif
29540 /* We use char because int might match the return type of a gcc2
29541 builtin and then its argument prototype would still apply. */
29542 char $ac_func ();
29543 /* The GNU C library defines this for functions which it implements
29544 to always fail with ENOSYS. Some functions are actually named
29545 something starting with __ and the normal name is an alias. */
29546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29547 choke me
29548 #else
29549 char (*f) () = $ac_func;
29550 #endif
29551 #ifdef __cplusplus
29552 }
29553 #endif
29554
29555 int
29556 main ()
29557 {
29558 return f != $ac_func;
29559 ;
29560 return 0;
29561 }
29562 _ACEOF
29563 rm -f conftest.$ac_objext conftest$ac_exeext
29564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29565 (eval $ac_link) 2>conftest.er1
29566 ac_status=$?
29567 grep -v '^ *+' conftest.er1 >conftest.err
29568 rm -f conftest.er1
29569 cat conftest.err >&5
29570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29571 (exit $ac_status); } &&
29572 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29574 (eval $ac_try) 2>&5
29575 ac_status=$?
29576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29577 (exit $ac_status); }; } &&
29578 { ac_try='test -s conftest$ac_exeext'
29579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29580 (eval $ac_try) 2>&5
29581 ac_status=$?
29582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29583 (exit $ac_status); }; }; then
29584 eval "$as_ac_var=yes"
29585 else
29586 echo "$as_me: failed program was:" >&5
29587 sed 's/^/| /' conftest.$ac_ext >&5
29588
29589 eval "$as_ac_var=no"
29590 fi
29591 rm -f conftest.err conftest.$ac_objext \
29592 conftest$ac_exeext conftest.$ac_ext
29593 fi
29594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29595 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29596 if test `eval echo '${'$as_ac_var'}'` = yes; then
29597 cat >>confdefs.h <<_ACEOF
29598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29599 _ACEOF
29600 break
29601 fi
29602 done
29603
29604
29605 echo "$as_me:$LINENO: checking for statfs" >&5
29606 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
29607 if test "${wx_cv_func_statfs+set}" = set; then
29608 echo $ECHO_N "(cached) $ECHO_C" >&6
29609 else
29610 cat >conftest.$ac_ext <<_ACEOF
29611 /* confdefs.h. */
29612 _ACEOF
29613 cat confdefs.h >>conftest.$ac_ext
29614 cat >>conftest.$ac_ext <<_ACEOF
29615 /* end confdefs.h. */
29616
29617 #if defined(__BSD__)
29618 #include <sys/param.h>
29619 #include <sys/mount.h>
29620 #else
29621 #include <sys/vfs.h>
29622 #endif
29623
29624 int
29625 main ()
29626 {
29627
29628 long l;
29629 struct statfs fs;
29630 statfs("/", &fs);
29631 l = fs.f_bsize;
29632 l += fs.f_blocks;
29633 l += fs.f_bavail;
29634
29635 ;
29636 return 0;
29637 }
29638 _ACEOF
29639 rm -f conftest.$ac_objext
29640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29641 (eval $ac_compile) 2>conftest.er1
29642 ac_status=$?
29643 grep -v '^ *+' conftest.er1 >conftest.err
29644 rm -f conftest.er1
29645 cat conftest.err >&5
29646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29647 (exit $ac_status); } &&
29648 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29650 (eval $ac_try) 2>&5
29651 ac_status=$?
29652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29653 (exit $ac_status); }; } &&
29654 { ac_try='test -s conftest.$ac_objext'
29655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29656 (eval $ac_try) 2>&5
29657 ac_status=$?
29658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29659 (exit $ac_status); }; }; then
29660
29661 wx_cv_func_statfs=yes
29662
29663 else
29664 echo "$as_me: failed program was:" >&5
29665 sed 's/^/| /' conftest.$ac_ext >&5
29666
29667
29668 wx_cv_func_statfs=no
29669
29670
29671 fi
29672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29673
29674 fi
29675 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
29676 echo "${ECHO_T}$wx_cv_func_statfs" >&6
29677
29678 if test "$wx_cv_func_statfs" = "yes"; then
29679 wx_cv_type_statvfs_t="struct statfs"
29680 cat >>confdefs.h <<\_ACEOF
29681 #define HAVE_STATFS 1
29682 _ACEOF
29683
29684 else
29685 echo "$as_me:$LINENO: checking for statvfs" >&5
29686 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
29687 if test "${wx_cv_func_statvfs+set}" = set; then
29688 echo $ECHO_N "(cached) $ECHO_C" >&6
29689 else
29690 cat >conftest.$ac_ext <<_ACEOF
29691 /* confdefs.h. */
29692 _ACEOF
29693 cat confdefs.h >>conftest.$ac_ext
29694 cat >>conftest.$ac_ext <<_ACEOF
29695 /* end confdefs.h. */
29696
29697 #include <stddef.h>
29698 #include <sys/statvfs.h>
29699
29700 int
29701 main ()
29702 {
29703
29704 statvfs("/", NULL);
29705
29706 ;
29707 return 0;
29708 }
29709 _ACEOF
29710 rm -f conftest.$ac_objext
29711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29712 (eval $ac_compile) 2>conftest.er1
29713 ac_status=$?
29714 grep -v '^ *+' conftest.er1 >conftest.err
29715 rm -f conftest.er1
29716 cat conftest.err >&5
29717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29718 (exit $ac_status); } &&
29719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29721 (eval $ac_try) 2>&5
29722 ac_status=$?
29723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29724 (exit $ac_status); }; } &&
29725 { ac_try='test -s conftest.$ac_objext'
29726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29727 (eval $ac_try) 2>&5
29728 ac_status=$?
29729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29730 (exit $ac_status); }; }; then
29731 wx_cv_func_statvfs=yes
29732 else
29733 echo "$as_me: failed program was:" >&5
29734 sed 's/^/| /' conftest.$ac_ext >&5
29735
29736 wx_cv_func_statvfs=no
29737
29738 fi
29739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29740
29741 fi
29742 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
29743 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
29744
29745 if test "$wx_cv_func_statvfs" = "yes"; then
29746
29747
29748 ac_ext=cc
29749 ac_cpp='$CXXCPP $CPPFLAGS'
29750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29753
29754
29755 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
29756 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
29757 if test "${wx_cv_type_statvfs_t+set}" = set; then
29758 echo $ECHO_N "(cached) $ECHO_C" >&6
29759 else
29760 cat >conftest.$ac_ext <<_ACEOF
29761 /* confdefs.h. */
29762 _ACEOF
29763 cat confdefs.h >>conftest.$ac_ext
29764 cat >>conftest.$ac_ext <<_ACEOF
29765 /* end confdefs.h. */
29766
29767 #include <sys/statvfs.h>
29768
29769 int
29770 main ()
29771 {
29772
29773 long l;
29774 statvfs_t fs;
29775 statvfs("/", &fs);
29776 l = fs.f_bsize;
29777 l += fs.f_blocks;
29778 l += fs.f_bavail;
29779
29780 ;
29781 return 0;
29782 }
29783 _ACEOF
29784 rm -f conftest.$ac_objext
29785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29786 (eval $ac_compile) 2>conftest.er1
29787 ac_status=$?
29788 grep -v '^ *+' conftest.er1 >conftest.err
29789 rm -f conftest.er1
29790 cat conftest.err >&5
29791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29792 (exit $ac_status); } &&
29793 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29795 (eval $ac_try) 2>&5
29796 ac_status=$?
29797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29798 (exit $ac_status); }; } &&
29799 { ac_try='test -s conftest.$ac_objext'
29800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29801 (eval $ac_try) 2>&5
29802 ac_status=$?
29803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29804 (exit $ac_status); }; }; then
29805 wx_cv_type_statvfs_t=statvfs_t
29806 else
29807 echo "$as_me: failed program was:" >&5
29808 sed 's/^/| /' conftest.$ac_ext >&5
29809
29810
29811 cat >conftest.$ac_ext <<_ACEOF
29812 /* confdefs.h. */
29813 _ACEOF
29814 cat confdefs.h >>conftest.$ac_ext
29815 cat >>conftest.$ac_ext <<_ACEOF
29816 /* end confdefs.h. */
29817
29818 #include <sys/statvfs.h>
29819
29820 int
29821 main ()
29822 {
29823
29824 long l;
29825 struct statvfs fs;
29826 statvfs("/", &fs);
29827 l = fs.f_bsize;
29828 l += fs.f_blocks;
29829 l += fs.f_bavail;
29830
29831 ;
29832 return 0;
29833 }
29834 _ACEOF
29835 rm -f conftest.$ac_objext
29836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29837 (eval $ac_compile) 2>conftest.er1
29838 ac_status=$?
29839 grep -v '^ *+' conftest.er1 >conftest.err
29840 rm -f conftest.er1
29841 cat conftest.err >&5
29842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29843 (exit $ac_status); } &&
29844 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29846 (eval $ac_try) 2>&5
29847 ac_status=$?
29848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29849 (exit $ac_status); }; } &&
29850 { ac_try='test -s conftest.$ac_objext'
29851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29852 (eval $ac_try) 2>&5
29853 ac_status=$?
29854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29855 (exit $ac_status); }; }; then
29856 wx_cv_type_statvfs_t="struct statvfs"
29857 else
29858 echo "$as_me: failed program was:" >&5
29859 sed 's/^/| /' conftest.$ac_ext >&5
29860
29861 wx_cv_type_statvfs_t="unknown"
29862
29863 fi
29864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29865
29866
29867 fi
29868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29869
29870 fi
29871 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
29872 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
29873
29874 ac_ext=c
29875 ac_cpp='$CPP $CPPFLAGS'
29876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29879
29880
29881 if test "$wx_cv_type_statvfs_t" != "unknown"; then
29882 cat >>confdefs.h <<\_ACEOF
29883 #define HAVE_STATVFS 1
29884 _ACEOF
29885
29886 fi
29887 else
29888 wx_cv_type_statvfs_t="unknown"
29889 fi
29890 fi
29891
29892 if test "$wx_cv_type_statvfs_t" != "unknown"; then
29893 cat >>confdefs.h <<_ACEOF
29894 #define WX_STATFS_T $wx_cv_type_statvfs_t
29895 _ACEOF
29896
29897 else
29898 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
29899 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
29900 fi
29901
29902 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
29903
29904
29905 for ac_func in fcntl flock
29906 do
29907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29908 echo "$as_me:$LINENO: checking for $ac_func" >&5
29909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29910 if eval "test \"\${$as_ac_var+set}\" = set"; then
29911 echo $ECHO_N "(cached) $ECHO_C" >&6
29912 else
29913 cat >conftest.$ac_ext <<_ACEOF
29914 /* confdefs.h. */
29915 _ACEOF
29916 cat confdefs.h >>conftest.$ac_ext
29917 cat >>conftest.$ac_ext <<_ACEOF
29918 /* end confdefs.h. */
29919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29921 #define $ac_func innocuous_$ac_func
29922
29923 /* System header to define __stub macros and hopefully few prototypes,
29924 which can conflict with char $ac_func (); below.
29925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29926 <limits.h> exists even on freestanding compilers. */
29927
29928 #ifdef __STDC__
29929 # include <limits.h>
29930 #else
29931 # include <assert.h>
29932 #endif
29933
29934 #undef $ac_func
29935
29936 /* Override any gcc2 internal prototype to avoid an error. */
29937 #ifdef __cplusplus
29938 extern "C"
29939 {
29940 #endif
29941 /* We use char because int might match the return type of a gcc2
29942 builtin and then its argument prototype would still apply. */
29943 char $ac_func ();
29944 /* The GNU C library defines this for functions which it implements
29945 to always fail with ENOSYS. Some functions are actually named
29946 something starting with __ and the normal name is an alias. */
29947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29948 choke me
29949 #else
29950 char (*f) () = $ac_func;
29951 #endif
29952 #ifdef __cplusplus
29953 }
29954 #endif
29955
29956 int
29957 main ()
29958 {
29959 return f != $ac_func;
29960 ;
29961 return 0;
29962 }
29963 _ACEOF
29964 rm -f conftest.$ac_objext conftest$ac_exeext
29965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29966 (eval $ac_link) 2>conftest.er1
29967 ac_status=$?
29968 grep -v '^ *+' conftest.er1 >conftest.err
29969 rm -f conftest.er1
29970 cat conftest.err >&5
29971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29972 (exit $ac_status); } &&
29973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29975 (eval $ac_try) 2>&5
29976 ac_status=$?
29977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29978 (exit $ac_status); }; } &&
29979 { ac_try='test -s conftest$ac_exeext'
29980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29981 (eval $ac_try) 2>&5
29982 ac_status=$?
29983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29984 (exit $ac_status); }; }; then
29985 eval "$as_ac_var=yes"
29986 else
29987 echo "$as_me: failed program was:" >&5
29988 sed 's/^/| /' conftest.$ac_ext >&5
29989
29990 eval "$as_ac_var=no"
29991 fi
29992 rm -f conftest.err conftest.$ac_objext \
29993 conftest$ac_exeext conftest.$ac_ext
29994 fi
29995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29996 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29997 if test `eval echo '${'$as_ac_var'}'` = yes; then
29998 cat >>confdefs.h <<_ACEOF
29999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30000 _ACEOF
30001 break
30002 fi
30003 done
30004
30005
30006 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30007 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30008 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30009 wxUSE_SNGLINST_CHECKER=no
30010 fi
30011 fi
30012
30013
30014 for ac_func in timegm
30015 do
30016 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30017 echo "$as_me:$LINENO: checking for $ac_func" >&5
30018 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30019 if eval "test \"\${$as_ac_var+set}\" = set"; then
30020 echo $ECHO_N "(cached) $ECHO_C" >&6
30021 else
30022 cat >conftest.$ac_ext <<_ACEOF
30023 /* confdefs.h. */
30024 _ACEOF
30025 cat confdefs.h >>conftest.$ac_ext
30026 cat >>conftest.$ac_ext <<_ACEOF
30027 /* end confdefs.h. */
30028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30030 #define $ac_func innocuous_$ac_func
30031
30032 /* System header to define __stub macros and hopefully few prototypes,
30033 which can conflict with char $ac_func (); below.
30034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30035 <limits.h> exists even on freestanding compilers. */
30036
30037 #ifdef __STDC__
30038 # include <limits.h>
30039 #else
30040 # include <assert.h>
30041 #endif
30042
30043 #undef $ac_func
30044
30045 /* Override any gcc2 internal prototype to avoid an error. */
30046 #ifdef __cplusplus
30047 extern "C"
30048 {
30049 #endif
30050 /* We use char because int might match the return type of a gcc2
30051 builtin and then its argument prototype would still apply. */
30052 char $ac_func ();
30053 /* The GNU C library defines this for functions which it implements
30054 to always fail with ENOSYS. Some functions are actually named
30055 something starting with __ and the normal name is an alias. */
30056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30057 choke me
30058 #else
30059 char (*f) () = $ac_func;
30060 #endif
30061 #ifdef __cplusplus
30062 }
30063 #endif
30064
30065 int
30066 main ()
30067 {
30068 return f != $ac_func;
30069 ;
30070 return 0;
30071 }
30072 _ACEOF
30073 rm -f conftest.$ac_objext conftest$ac_exeext
30074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30075 (eval $ac_link) 2>conftest.er1
30076 ac_status=$?
30077 grep -v '^ *+' conftest.er1 >conftest.err
30078 rm -f conftest.er1
30079 cat conftest.err >&5
30080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30081 (exit $ac_status); } &&
30082 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30084 (eval $ac_try) 2>&5
30085 ac_status=$?
30086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30087 (exit $ac_status); }; } &&
30088 { ac_try='test -s conftest$ac_exeext'
30089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30090 (eval $ac_try) 2>&5
30091 ac_status=$?
30092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30093 (exit $ac_status); }; }; then
30094 eval "$as_ac_var=yes"
30095 else
30096 echo "$as_me: failed program was:" >&5
30097 sed 's/^/| /' conftest.$ac_ext >&5
30098
30099 eval "$as_ac_var=no"
30100 fi
30101 rm -f conftest.err conftest.$ac_objext \
30102 conftest$ac_exeext conftest.$ac_ext
30103 fi
30104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30106 if test `eval echo '${'$as_ac_var'}'` = yes; then
30107 cat >>confdefs.h <<_ACEOF
30108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30109 _ACEOF
30110
30111 fi
30112 done
30113
30114
30115
30116
30117 for ac_func in putenv setenv
30118 do
30119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30120 echo "$as_me:$LINENO: checking for $ac_func" >&5
30121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30122 if eval "test \"\${$as_ac_var+set}\" = set"; then
30123 echo $ECHO_N "(cached) $ECHO_C" >&6
30124 else
30125 cat >conftest.$ac_ext <<_ACEOF
30126 /* confdefs.h. */
30127 _ACEOF
30128 cat confdefs.h >>conftest.$ac_ext
30129 cat >>conftest.$ac_ext <<_ACEOF
30130 /* end confdefs.h. */
30131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30133 #define $ac_func innocuous_$ac_func
30134
30135 /* System header to define __stub macros and hopefully few prototypes,
30136 which can conflict with char $ac_func (); below.
30137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30138 <limits.h> exists even on freestanding compilers. */
30139
30140 #ifdef __STDC__
30141 # include <limits.h>
30142 #else
30143 # include <assert.h>
30144 #endif
30145
30146 #undef $ac_func
30147
30148 /* Override any gcc2 internal prototype to avoid an error. */
30149 #ifdef __cplusplus
30150 extern "C"
30151 {
30152 #endif
30153 /* We use char because int might match the return type of a gcc2
30154 builtin and then its argument prototype would still apply. */
30155 char $ac_func ();
30156 /* The GNU C library defines this for functions which it implements
30157 to always fail with ENOSYS. Some functions are actually named
30158 something starting with __ and the normal name is an alias. */
30159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30160 choke me
30161 #else
30162 char (*f) () = $ac_func;
30163 #endif
30164 #ifdef __cplusplus
30165 }
30166 #endif
30167
30168 int
30169 main ()
30170 {
30171 return f != $ac_func;
30172 ;
30173 return 0;
30174 }
30175 _ACEOF
30176 rm -f conftest.$ac_objext conftest$ac_exeext
30177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30178 (eval $ac_link) 2>conftest.er1
30179 ac_status=$?
30180 grep -v '^ *+' conftest.er1 >conftest.err
30181 rm -f conftest.er1
30182 cat conftest.err >&5
30183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30184 (exit $ac_status); } &&
30185 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30187 (eval $ac_try) 2>&5
30188 ac_status=$?
30189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30190 (exit $ac_status); }; } &&
30191 { ac_try='test -s conftest$ac_exeext'
30192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30193 (eval $ac_try) 2>&5
30194 ac_status=$?
30195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30196 (exit $ac_status); }; }; then
30197 eval "$as_ac_var=yes"
30198 else
30199 echo "$as_me: failed program was:" >&5
30200 sed 's/^/| /' conftest.$ac_ext >&5
30201
30202 eval "$as_ac_var=no"
30203 fi
30204 rm -f conftest.err conftest.$ac_objext \
30205 conftest$ac_exeext conftest.$ac_ext
30206 fi
30207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30209 if test `eval echo '${'$as_ac_var'}'` = yes; then
30210 cat >>confdefs.h <<_ACEOF
30211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30212 _ACEOF
30213 break
30214 fi
30215 done
30216
30217
30218 HAVE_SOME_SLEEP_FUNC=0
30219 if test "$USE_BEOS" = 1; then
30220 cat >>confdefs.h <<\_ACEOF
30221 #define HAVE_SLEEP 1
30222 _ACEOF
30223
30224 HAVE_SOME_SLEEP_FUNC=1
30225 fi
30226
30227 if test "$USE_DARWIN" = 1; then
30228 cat >>confdefs.h <<\_ACEOF
30229 #define HAVE_USLEEP 1
30230 _ACEOF
30231
30232 HAVE_SOME_SLEEP_FUNC=1
30233 fi
30234
30235 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30236 POSIX4_LINK=
30237
30238 for ac_func in nanosleep
30239 do
30240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30241 echo "$as_me:$LINENO: checking for $ac_func" >&5
30242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30243 if eval "test \"\${$as_ac_var+set}\" = set"; then
30244 echo $ECHO_N "(cached) $ECHO_C" >&6
30245 else
30246 cat >conftest.$ac_ext <<_ACEOF
30247 /* confdefs.h. */
30248 _ACEOF
30249 cat confdefs.h >>conftest.$ac_ext
30250 cat >>conftest.$ac_ext <<_ACEOF
30251 /* end confdefs.h. */
30252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30254 #define $ac_func innocuous_$ac_func
30255
30256 /* System header to define __stub macros and hopefully few prototypes,
30257 which can conflict with char $ac_func (); below.
30258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30259 <limits.h> exists even on freestanding compilers. */
30260
30261 #ifdef __STDC__
30262 # include <limits.h>
30263 #else
30264 # include <assert.h>
30265 #endif
30266
30267 #undef $ac_func
30268
30269 /* Override any gcc2 internal prototype to avoid an error. */
30270 #ifdef __cplusplus
30271 extern "C"
30272 {
30273 #endif
30274 /* We use char because int might match the return type of a gcc2
30275 builtin and then its argument prototype would still apply. */
30276 char $ac_func ();
30277 /* The GNU C library defines this for functions which it implements
30278 to always fail with ENOSYS. Some functions are actually named
30279 something starting with __ and the normal name is an alias. */
30280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30281 choke me
30282 #else
30283 char (*f) () = $ac_func;
30284 #endif
30285 #ifdef __cplusplus
30286 }
30287 #endif
30288
30289 int
30290 main ()
30291 {
30292 return f != $ac_func;
30293 ;
30294 return 0;
30295 }
30296 _ACEOF
30297 rm -f conftest.$ac_objext conftest$ac_exeext
30298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30299 (eval $ac_link) 2>conftest.er1
30300 ac_status=$?
30301 grep -v '^ *+' conftest.er1 >conftest.err
30302 rm -f conftest.er1
30303 cat conftest.err >&5
30304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30305 (exit $ac_status); } &&
30306 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30308 (eval $ac_try) 2>&5
30309 ac_status=$?
30310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30311 (exit $ac_status); }; } &&
30312 { ac_try='test -s conftest$ac_exeext'
30313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30314 (eval $ac_try) 2>&5
30315 ac_status=$?
30316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30317 (exit $ac_status); }; }; then
30318 eval "$as_ac_var=yes"
30319 else
30320 echo "$as_me: failed program was:" >&5
30321 sed 's/^/| /' conftest.$ac_ext >&5
30322
30323 eval "$as_ac_var=no"
30324 fi
30325 rm -f conftest.err conftest.$ac_objext \
30326 conftest$ac_exeext conftest.$ac_ext
30327 fi
30328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30330 if test `eval echo '${'$as_ac_var'}'` = yes; then
30331 cat >>confdefs.h <<_ACEOF
30332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30333 _ACEOF
30334 cat >>confdefs.h <<\_ACEOF
30335 #define HAVE_NANOSLEEP 1
30336 _ACEOF
30337
30338 else
30339
30340 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30341 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30342 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30343 echo $ECHO_N "(cached) $ECHO_C" >&6
30344 else
30345 ac_check_lib_save_LIBS=$LIBS
30346 LIBS="-lposix4 $LIBS"
30347 cat >conftest.$ac_ext <<_ACEOF
30348 /* confdefs.h. */
30349 _ACEOF
30350 cat confdefs.h >>conftest.$ac_ext
30351 cat >>conftest.$ac_ext <<_ACEOF
30352 /* end confdefs.h. */
30353
30354 /* Override any gcc2 internal prototype to avoid an error. */
30355 #ifdef __cplusplus
30356 extern "C"
30357 #endif
30358 /* We use char because int might match the return type of a gcc2
30359 builtin and then its argument prototype would still apply. */
30360 char nanosleep ();
30361 int
30362 main ()
30363 {
30364 nanosleep ();
30365 ;
30366 return 0;
30367 }
30368 _ACEOF
30369 rm -f conftest.$ac_objext conftest$ac_exeext
30370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30371 (eval $ac_link) 2>conftest.er1
30372 ac_status=$?
30373 grep -v '^ *+' conftest.er1 >conftest.err
30374 rm -f conftest.er1
30375 cat conftest.err >&5
30376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30377 (exit $ac_status); } &&
30378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30380 (eval $ac_try) 2>&5
30381 ac_status=$?
30382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30383 (exit $ac_status); }; } &&
30384 { ac_try='test -s conftest$ac_exeext'
30385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30386 (eval $ac_try) 2>&5
30387 ac_status=$?
30388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30389 (exit $ac_status); }; }; then
30390 ac_cv_lib_posix4_nanosleep=yes
30391 else
30392 echo "$as_me: failed program was:" >&5
30393 sed 's/^/| /' conftest.$ac_ext >&5
30394
30395 ac_cv_lib_posix4_nanosleep=no
30396 fi
30397 rm -f conftest.err conftest.$ac_objext \
30398 conftest$ac_exeext conftest.$ac_ext
30399 LIBS=$ac_check_lib_save_LIBS
30400 fi
30401 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30402 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30403 if test $ac_cv_lib_posix4_nanosleep = yes; then
30404
30405 cat >>confdefs.h <<\_ACEOF
30406 #define HAVE_NANOSLEEP 1
30407 _ACEOF
30408
30409 POSIX4_LINK=" -lposix4"
30410
30411 else
30412
30413
30414 for ac_func in usleep
30415 do
30416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30417 echo "$as_me:$LINENO: checking for $ac_func" >&5
30418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30419 if eval "test \"\${$as_ac_var+set}\" = set"; then
30420 echo $ECHO_N "(cached) $ECHO_C" >&6
30421 else
30422 cat >conftest.$ac_ext <<_ACEOF
30423 /* confdefs.h. */
30424 _ACEOF
30425 cat confdefs.h >>conftest.$ac_ext
30426 cat >>conftest.$ac_ext <<_ACEOF
30427 /* end confdefs.h. */
30428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30430 #define $ac_func innocuous_$ac_func
30431
30432 /* System header to define __stub macros and hopefully few prototypes,
30433 which can conflict with char $ac_func (); below.
30434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30435 <limits.h> exists even on freestanding compilers. */
30436
30437 #ifdef __STDC__
30438 # include <limits.h>
30439 #else
30440 # include <assert.h>
30441 #endif
30442
30443 #undef $ac_func
30444
30445 /* Override any gcc2 internal prototype to avoid an error. */
30446 #ifdef __cplusplus
30447 extern "C"
30448 {
30449 #endif
30450 /* We use char because int might match the return type of a gcc2
30451 builtin and then its argument prototype would still apply. */
30452 char $ac_func ();
30453 /* The GNU C library defines this for functions which it implements
30454 to always fail with ENOSYS. Some functions are actually named
30455 something starting with __ and the normal name is an alias. */
30456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30457 choke me
30458 #else
30459 char (*f) () = $ac_func;
30460 #endif
30461 #ifdef __cplusplus
30462 }
30463 #endif
30464
30465 int
30466 main ()
30467 {
30468 return f != $ac_func;
30469 ;
30470 return 0;
30471 }
30472 _ACEOF
30473 rm -f conftest.$ac_objext conftest$ac_exeext
30474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30475 (eval $ac_link) 2>conftest.er1
30476 ac_status=$?
30477 grep -v '^ *+' conftest.er1 >conftest.err
30478 rm -f conftest.er1
30479 cat conftest.err >&5
30480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30481 (exit $ac_status); } &&
30482 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30484 (eval $ac_try) 2>&5
30485 ac_status=$?
30486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30487 (exit $ac_status); }; } &&
30488 { ac_try='test -s conftest$ac_exeext'
30489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30490 (eval $ac_try) 2>&5
30491 ac_status=$?
30492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30493 (exit $ac_status); }; }; then
30494 eval "$as_ac_var=yes"
30495 else
30496 echo "$as_me: failed program was:" >&5
30497 sed 's/^/| /' conftest.$ac_ext >&5
30498
30499 eval "$as_ac_var=no"
30500 fi
30501 rm -f conftest.err conftest.$ac_objext \
30502 conftest$ac_exeext conftest.$ac_ext
30503 fi
30504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30506 if test `eval echo '${'$as_ac_var'}'` = yes; then
30507 cat >>confdefs.h <<_ACEOF
30508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30509 _ACEOF
30510 cat >>confdefs.h <<\_ACEOF
30511 #define HAVE_USLEEP 1
30512 _ACEOF
30513
30514 else
30515 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30516 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30517
30518 fi
30519 done
30520
30521
30522
30523 fi
30524
30525
30526
30527 fi
30528 done
30529
30530 fi
30531
30532
30533
30534 for ac_func in uname gethostname
30535 do
30536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30537 echo "$as_me:$LINENO: checking for $ac_func" >&5
30538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30539 if eval "test \"\${$as_ac_var+set}\" = set"; then
30540 echo $ECHO_N "(cached) $ECHO_C" >&6
30541 else
30542 cat >conftest.$ac_ext <<_ACEOF
30543 /* confdefs.h. */
30544 _ACEOF
30545 cat confdefs.h >>conftest.$ac_ext
30546 cat >>conftest.$ac_ext <<_ACEOF
30547 /* end confdefs.h. */
30548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30550 #define $ac_func innocuous_$ac_func
30551
30552 /* System header to define __stub macros and hopefully few prototypes,
30553 which can conflict with char $ac_func (); below.
30554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30555 <limits.h> exists even on freestanding compilers. */
30556
30557 #ifdef __STDC__
30558 # include <limits.h>
30559 #else
30560 # include <assert.h>
30561 #endif
30562
30563 #undef $ac_func
30564
30565 /* Override any gcc2 internal prototype to avoid an error. */
30566 #ifdef __cplusplus
30567 extern "C"
30568 {
30569 #endif
30570 /* We use char because int might match the return type of a gcc2
30571 builtin and then its argument prototype would still apply. */
30572 char $ac_func ();
30573 /* The GNU C library defines this for functions which it implements
30574 to always fail with ENOSYS. Some functions are actually named
30575 something starting with __ and the normal name is an alias. */
30576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30577 choke me
30578 #else
30579 char (*f) () = $ac_func;
30580 #endif
30581 #ifdef __cplusplus
30582 }
30583 #endif
30584
30585 int
30586 main ()
30587 {
30588 return f != $ac_func;
30589 ;
30590 return 0;
30591 }
30592 _ACEOF
30593 rm -f conftest.$ac_objext conftest$ac_exeext
30594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30595 (eval $ac_link) 2>conftest.er1
30596 ac_status=$?
30597 grep -v '^ *+' conftest.er1 >conftest.err
30598 rm -f conftest.er1
30599 cat conftest.err >&5
30600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30601 (exit $ac_status); } &&
30602 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30604 (eval $ac_try) 2>&5
30605 ac_status=$?
30606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30607 (exit $ac_status); }; } &&
30608 { ac_try='test -s conftest$ac_exeext'
30609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30610 (eval $ac_try) 2>&5
30611 ac_status=$?
30612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30613 (exit $ac_status); }; }; then
30614 eval "$as_ac_var=yes"
30615 else
30616 echo "$as_me: failed program was:" >&5
30617 sed 's/^/| /' conftest.$ac_ext >&5
30618
30619 eval "$as_ac_var=no"
30620 fi
30621 rm -f conftest.err conftest.$ac_objext \
30622 conftest$ac_exeext conftest.$ac_ext
30623 fi
30624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30625 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30626 if test `eval echo '${'$as_ac_var'}'` = yes; then
30627 cat >>confdefs.h <<_ACEOF
30628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30629 _ACEOF
30630 break
30631 fi
30632 done
30633
30634
30635
30636
30637 ac_ext=cc
30638 ac_cpp='$CXXCPP $CPPFLAGS'
30639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30642
30643
30644
30645 for ac_func in strtok_r
30646 do
30647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30648 echo "$as_me:$LINENO: checking for $ac_func" >&5
30649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30650 if eval "test \"\${$as_ac_var+set}\" = set"; then
30651 echo $ECHO_N "(cached) $ECHO_C" >&6
30652 else
30653 cat >conftest.$ac_ext <<_ACEOF
30654 /* confdefs.h. */
30655 _ACEOF
30656 cat confdefs.h >>conftest.$ac_ext
30657 cat >>conftest.$ac_ext <<_ACEOF
30658 /* end confdefs.h. */
30659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30661 #define $ac_func innocuous_$ac_func
30662
30663 /* System header to define __stub macros and hopefully few prototypes,
30664 which can conflict with char $ac_func (); below.
30665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30666 <limits.h> exists even on freestanding compilers. */
30667
30668 #ifdef __STDC__
30669 # include <limits.h>
30670 #else
30671 # include <assert.h>
30672 #endif
30673
30674 #undef $ac_func
30675
30676 /* Override any gcc2 internal prototype to avoid an error. */
30677 #ifdef __cplusplus
30678 extern "C"
30679 {
30680 #endif
30681 /* We use char because int might match the return type of a gcc2
30682 builtin and then its argument prototype would still apply. */
30683 char $ac_func ();
30684 /* The GNU C library defines this for functions which it implements
30685 to always fail with ENOSYS. Some functions are actually named
30686 something starting with __ and the normal name is an alias. */
30687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30688 choke me
30689 #else
30690 char (*f) () = $ac_func;
30691 #endif
30692 #ifdef __cplusplus
30693 }
30694 #endif
30695
30696 int
30697 main ()
30698 {
30699 return f != $ac_func;
30700 ;
30701 return 0;
30702 }
30703 _ACEOF
30704 rm -f conftest.$ac_objext conftest$ac_exeext
30705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30706 (eval $ac_link) 2>conftest.er1
30707 ac_status=$?
30708 grep -v '^ *+' conftest.er1 >conftest.err
30709 rm -f conftest.er1
30710 cat conftest.err >&5
30711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30712 (exit $ac_status); } &&
30713 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30715 (eval $ac_try) 2>&5
30716 ac_status=$?
30717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30718 (exit $ac_status); }; } &&
30719 { ac_try='test -s conftest$ac_exeext'
30720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30721 (eval $ac_try) 2>&5
30722 ac_status=$?
30723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30724 (exit $ac_status); }; }; then
30725 eval "$as_ac_var=yes"
30726 else
30727 echo "$as_me: failed program was:" >&5
30728 sed 's/^/| /' conftest.$ac_ext >&5
30729
30730 eval "$as_ac_var=no"
30731 fi
30732 rm -f conftest.err conftest.$ac_objext \
30733 conftest$ac_exeext conftest.$ac_ext
30734 fi
30735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30737 if test `eval echo '${'$as_ac_var'}'` = yes; then
30738 cat >>confdefs.h <<_ACEOF
30739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30740 _ACEOF
30741
30742 fi
30743 done
30744
30745
30746 ac_ext=c
30747 ac_cpp='$CPP $CPPFLAGS'
30748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30751
30752
30753 INET_LINK=
30754
30755 for ac_func in inet_addr
30756 do
30757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30758 echo "$as_me:$LINENO: checking for $ac_func" >&5
30759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30760 if eval "test \"\${$as_ac_var+set}\" = set"; then
30761 echo $ECHO_N "(cached) $ECHO_C" >&6
30762 else
30763 cat >conftest.$ac_ext <<_ACEOF
30764 /* confdefs.h. */
30765 _ACEOF
30766 cat confdefs.h >>conftest.$ac_ext
30767 cat >>conftest.$ac_ext <<_ACEOF
30768 /* end confdefs.h. */
30769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30771 #define $ac_func innocuous_$ac_func
30772
30773 /* System header to define __stub macros and hopefully few prototypes,
30774 which can conflict with char $ac_func (); below.
30775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30776 <limits.h> exists even on freestanding compilers. */
30777
30778 #ifdef __STDC__
30779 # include <limits.h>
30780 #else
30781 # include <assert.h>
30782 #endif
30783
30784 #undef $ac_func
30785
30786 /* Override any gcc2 internal prototype to avoid an error. */
30787 #ifdef __cplusplus
30788 extern "C"
30789 {
30790 #endif
30791 /* We use char because int might match the return type of a gcc2
30792 builtin and then its argument prototype would still apply. */
30793 char $ac_func ();
30794 /* The GNU C library defines this for functions which it implements
30795 to always fail with ENOSYS. Some functions are actually named
30796 something starting with __ and the normal name is an alias. */
30797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30798 choke me
30799 #else
30800 char (*f) () = $ac_func;
30801 #endif
30802 #ifdef __cplusplus
30803 }
30804 #endif
30805
30806 int
30807 main ()
30808 {
30809 return f != $ac_func;
30810 ;
30811 return 0;
30812 }
30813 _ACEOF
30814 rm -f conftest.$ac_objext conftest$ac_exeext
30815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30816 (eval $ac_link) 2>conftest.er1
30817 ac_status=$?
30818 grep -v '^ *+' conftest.er1 >conftest.err
30819 rm -f conftest.er1
30820 cat conftest.err >&5
30821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30822 (exit $ac_status); } &&
30823 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30825 (eval $ac_try) 2>&5
30826 ac_status=$?
30827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30828 (exit $ac_status); }; } &&
30829 { ac_try='test -s conftest$ac_exeext'
30830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30831 (eval $ac_try) 2>&5
30832 ac_status=$?
30833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30834 (exit $ac_status); }; }; then
30835 eval "$as_ac_var=yes"
30836 else
30837 echo "$as_me: failed program was:" >&5
30838 sed 's/^/| /' conftest.$ac_ext >&5
30839
30840 eval "$as_ac_var=no"
30841 fi
30842 rm -f conftest.err conftest.$ac_objext \
30843 conftest$ac_exeext conftest.$ac_ext
30844 fi
30845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30846 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30847 if test `eval echo '${'$as_ac_var'}'` = yes; then
30848 cat >>confdefs.h <<_ACEOF
30849 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30850 _ACEOF
30851 cat >>confdefs.h <<\_ACEOF
30852 #define HAVE_INET_ADDR 1
30853 _ACEOF
30854
30855 else
30856
30857 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
30858 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
30859 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
30860 echo $ECHO_N "(cached) $ECHO_C" >&6
30861 else
30862 ac_check_lib_save_LIBS=$LIBS
30863 LIBS="-lnsl $LIBS"
30864 cat >conftest.$ac_ext <<_ACEOF
30865 /* confdefs.h. */
30866 _ACEOF
30867 cat confdefs.h >>conftest.$ac_ext
30868 cat >>conftest.$ac_ext <<_ACEOF
30869 /* end confdefs.h. */
30870
30871 /* Override any gcc2 internal prototype to avoid an error. */
30872 #ifdef __cplusplus
30873 extern "C"
30874 #endif
30875 /* We use char because int might match the return type of a gcc2
30876 builtin and then its argument prototype would still apply. */
30877 char inet_addr ();
30878 int
30879 main ()
30880 {
30881 inet_addr ();
30882 ;
30883 return 0;
30884 }
30885 _ACEOF
30886 rm -f conftest.$ac_objext conftest$ac_exeext
30887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30888 (eval $ac_link) 2>conftest.er1
30889 ac_status=$?
30890 grep -v '^ *+' conftest.er1 >conftest.err
30891 rm -f conftest.er1
30892 cat conftest.err >&5
30893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30894 (exit $ac_status); } &&
30895 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30897 (eval $ac_try) 2>&5
30898 ac_status=$?
30899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30900 (exit $ac_status); }; } &&
30901 { ac_try='test -s conftest$ac_exeext'
30902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30903 (eval $ac_try) 2>&5
30904 ac_status=$?
30905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30906 (exit $ac_status); }; }; then
30907 ac_cv_lib_nsl_inet_addr=yes
30908 else
30909 echo "$as_me: failed program was:" >&5
30910 sed 's/^/| /' conftest.$ac_ext >&5
30911
30912 ac_cv_lib_nsl_inet_addr=no
30913 fi
30914 rm -f conftest.err conftest.$ac_objext \
30915 conftest$ac_exeext conftest.$ac_ext
30916 LIBS=$ac_check_lib_save_LIBS
30917 fi
30918 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
30919 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
30920 if test $ac_cv_lib_nsl_inet_addr = yes; then
30921 INET_LINK="nsl"
30922 else
30923
30924 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
30925 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
30926 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
30927 echo $ECHO_N "(cached) $ECHO_C" >&6
30928 else
30929 ac_check_lib_save_LIBS=$LIBS
30930 LIBS="-lresolv $LIBS"
30931 cat >conftest.$ac_ext <<_ACEOF
30932 /* confdefs.h. */
30933 _ACEOF
30934 cat confdefs.h >>conftest.$ac_ext
30935 cat >>conftest.$ac_ext <<_ACEOF
30936 /* end confdefs.h. */
30937
30938 /* Override any gcc2 internal prototype to avoid an error. */
30939 #ifdef __cplusplus
30940 extern "C"
30941 #endif
30942 /* We use char because int might match the return type of a gcc2
30943 builtin and then its argument prototype would still apply. */
30944 char inet_addr ();
30945 int
30946 main ()
30947 {
30948 inet_addr ();
30949 ;
30950 return 0;
30951 }
30952 _ACEOF
30953 rm -f conftest.$ac_objext conftest$ac_exeext
30954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30955 (eval $ac_link) 2>conftest.er1
30956 ac_status=$?
30957 grep -v '^ *+' conftest.er1 >conftest.err
30958 rm -f conftest.er1
30959 cat conftest.err >&5
30960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30961 (exit $ac_status); } &&
30962 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30964 (eval $ac_try) 2>&5
30965 ac_status=$?
30966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30967 (exit $ac_status); }; } &&
30968 { ac_try='test -s conftest$ac_exeext'
30969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30970 (eval $ac_try) 2>&5
30971 ac_status=$?
30972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30973 (exit $ac_status); }; }; then
30974 ac_cv_lib_resolv_inet_addr=yes
30975 else
30976 echo "$as_me: failed program was:" >&5
30977 sed 's/^/| /' conftest.$ac_ext >&5
30978
30979 ac_cv_lib_resolv_inet_addr=no
30980 fi
30981 rm -f conftest.err conftest.$ac_objext \
30982 conftest$ac_exeext conftest.$ac_ext
30983 LIBS=$ac_check_lib_save_LIBS
30984 fi
30985 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
30986 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
30987 if test $ac_cv_lib_resolv_inet_addr = yes; then
30988 INET_LINK="resolv"
30989 else
30990
30991 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
30992 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
30993 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
30994 echo $ECHO_N "(cached) $ECHO_C" >&6
30995 else
30996 ac_check_lib_save_LIBS=$LIBS
30997 LIBS="-lsocket $LIBS"
30998 cat >conftest.$ac_ext <<_ACEOF
30999 /* confdefs.h. */
31000 _ACEOF
31001 cat confdefs.h >>conftest.$ac_ext
31002 cat >>conftest.$ac_ext <<_ACEOF
31003 /* end confdefs.h. */
31004
31005 /* Override any gcc2 internal prototype to avoid an error. */
31006 #ifdef __cplusplus
31007 extern "C"
31008 #endif
31009 /* We use char because int might match the return type of a gcc2
31010 builtin and then its argument prototype would still apply. */
31011 char inet_addr ();
31012 int
31013 main ()
31014 {
31015 inet_addr ();
31016 ;
31017 return 0;
31018 }
31019 _ACEOF
31020 rm -f conftest.$ac_objext conftest$ac_exeext
31021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31022 (eval $ac_link) 2>conftest.er1
31023 ac_status=$?
31024 grep -v '^ *+' conftest.er1 >conftest.err
31025 rm -f conftest.er1
31026 cat conftest.err >&5
31027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31028 (exit $ac_status); } &&
31029 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31031 (eval $ac_try) 2>&5
31032 ac_status=$?
31033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31034 (exit $ac_status); }; } &&
31035 { ac_try='test -s conftest$ac_exeext'
31036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31037 (eval $ac_try) 2>&5
31038 ac_status=$?
31039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31040 (exit $ac_status); }; }; then
31041 ac_cv_lib_socket_inet_addr=yes
31042 else
31043 echo "$as_me: failed program was:" >&5
31044 sed 's/^/| /' conftest.$ac_ext >&5
31045
31046 ac_cv_lib_socket_inet_addr=no
31047 fi
31048 rm -f conftest.err conftest.$ac_objext \
31049 conftest$ac_exeext conftest.$ac_ext
31050 LIBS=$ac_check_lib_save_LIBS
31051 fi
31052 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31053 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31054 if test $ac_cv_lib_socket_inet_addr = yes; then
31055 INET_LINK="socket"
31056
31057 fi
31058
31059
31060
31061 fi
31062
31063
31064
31065 fi
31066
31067
31068
31069 fi
31070 done
31071
31072
31073
31074 for ac_func in inet_aton
31075 do
31076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31077 echo "$as_me:$LINENO: checking for $ac_func" >&5
31078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31079 if eval "test \"\${$as_ac_var+set}\" = set"; then
31080 echo $ECHO_N "(cached) $ECHO_C" >&6
31081 else
31082 cat >conftest.$ac_ext <<_ACEOF
31083 /* confdefs.h. */
31084 _ACEOF
31085 cat confdefs.h >>conftest.$ac_ext
31086 cat >>conftest.$ac_ext <<_ACEOF
31087 /* end confdefs.h. */
31088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31090 #define $ac_func innocuous_$ac_func
31091
31092 /* System header to define __stub macros and hopefully few prototypes,
31093 which can conflict with char $ac_func (); below.
31094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31095 <limits.h> exists even on freestanding compilers. */
31096
31097 #ifdef __STDC__
31098 # include <limits.h>
31099 #else
31100 # include <assert.h>
31101 #endif
31102
31103 #undef $ac_func
31104
31105 /* Override any gcc2 internal prototype to avoid an error. */
31106 #ifdef __cplusplus
31107 extern "C"
31108 {
31109 #endif
31110 /* We use char because int might match the return type of a gcc2
31111 builtin and then its argument prototype would still apply. */
31112 char $ac_func ();
31113 /* The GNU C library defines this for functions which it implements
31114 to always fail with ENOSYS. Some functions are actually named
31115 something starting with __ and the normal name is an alias. */
31116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31117 choke me
31118 #else
31119 char (*f) () = $ac_func;
31120 #endif
31121 #ifdef __cplusplus
31122 }
31123 #endif
31124
31125 int
31126 main ()
31127 {
31128 return f != $ac_func;
31129 ;
31130 return 0;
31131 }
31132 _ACEOF
31133 rm -f conftest.$ac_objext conftest$ac_exeext
31134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31135 (eval $ac_link) 2>conftest.er1
31136 ac_status=$?
31137 grep -v '^ *+' conftest.er1 >conftest.err
31138 rm -f conftest.er1
31139 cat conftest.err >&5
31140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31141 (exit $ac_status); } &&
31142 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31144 (eval $ac_try) 2>&5
31145 ac_status=$?
31146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31147 (exit $ac_status); }; } &&
31148 { ac_try='test -s conftest$ac_exeext'
31149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31150 (eval $ac_try) 2>&5
31151 ac_status=$?
31152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31153 (exit $ac_status); }; }; then
31154 eval "$as_ac_var=yes"
31155 else
31156 echo "$as_me: failed program was:" >&5
31157 sed 's/^/| /' conftest.$ac_ext >&5
31158
31159 eval "$as_ac_var=no"
31160 fi
31161 rm -f conftest.err conftest.$ac_objext \
31162 conftest$ac_exeext conftest.$ac_ext
31163 fi
31164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31166 if test `eval echo '${'$as_ac_var'}'` = yes; then
31167 cat >>confdefs.h <<_ACEOF
31168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31169 _ACEOF
31170 cat >>confdefs.h <<\_ACEOF
31171 #define HAVE_INET_ATON 1
31172 _ACEOF
31173
31174 else
31175
31176 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31177 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31178 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31179 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31180 echo $ECHO_N "(cached) $ECHO_C" >&6
31181 else
31182 ac_check_lib_save_LIBS=$LIBS
31183 LIBS="-l$INET_LINK $LIBS"
31184 cat >conftest.$ac_ext <<_ACEOF
31185 /* confdefs.h. */
31186 _ACEOF
31187 cat confdefs.h >>conftest.$ac_ext
31188 cat >>conftest.$ac_ext <<_ACEOF
31189 /* end confdefs.h. */
31190
31191 /* Override any gcc2 internal prototype to avoid an error. */
31192 #ifdef __cplusplus
31193 extern "C"
31194 #endif
31195 /* We use char because int might match the return type of a gcc2
31196 builtin and then its argument prototype would still apply. */
31197 char inet_aton ();
31198 int
31199 main ()
31200 {
31201 inet_aton ();
31202 ;
31203 return 0;
31204 }
31205 _ACEOF
31206 rm -f conftest.$ac_objext conftest$ac_exeext
31207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31208 (eval $ac_link) 2>conftest.er1
31209 ac_status=$?
31210 grep -v '^ *+' conftest.er1 >conftest.err
31211 rm -f conftest.er1
31212 cat conftest.err >&5
31213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31214 (exit $ac_status); } &&
31215 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31217 (eval $ac_try) 2>&5
31218 ac_status=$?
31219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31220 (exit $ac_status); }; } &&
31221 { ac_try='test -s conftest$ac_exeext'
31222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31223 (eval $ac_try) 2>&5
31224 ac_status=$?
31225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31226 (exit $ac_status); }; }; then
31227 eval "$as_ac_Lib=yes"
31228 else
31229 echo "$as_me: failed program was:" >&5
31230 sed 's/^/| /' conftest.$ac_ext >&5
31231
31232 eval "$as_ac_Lib=no"
31233 fi
31234 rm -f conftest.err conftest.$ac_objext \
31235 conftest$ac_exeext conftest.$ac_ext
31236 LIBS=$ac_check_lib_save_LIBS
31237 fi
31238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31239 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31240 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31241 cat >>confdefs.h <<\_ACEOF
31242 #define HAVE_INET_ATON 1
31243 _ACEOF
31244
31245 fi
31246
31247
31248 fi
31249 done
31250
31251
31252 if test "x$INET_LINK" != "x"; then
31253 cat >>confdefs.h <<\_ACEOF
31254 #define HAVE_INET_ADDR 1
31255 _ACEOF
31256
31257 INET_LINK=" -l$INET_LINK"
31258 fi
31259
31260 fi
31261
31262
31263
31264 EXTRALIBS_ESD=
31265 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31266 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31267 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31268 echo $ECHO_N "(cached) $ECHO_C" >&6
31269 else
31270 ac_check_lib_save_LIBS=$LIBS
31271 LIBS="-lesd $LIBS"
31272 cat >conftest.$ac_ext <<_ACEOF
31273 /* confdefs.h. */
31274 _ACEOF
31275 cat confdefs.h >>conftest.$ac_ext
31276 cat >>conftest.$ac_ext <<_ACEOF
31277 /* end confdefs.h. */
31278
31279 /* Override any gcc2 internal prototype to avoid an error. */
31280 #ifdef __cplusplus
31281 extern "C"
31282 #endif
31283 /* We use char because int might match the return type of a gcc2
31284 builtin and then its argument prototype would still apply. */
31285 char esd_close ();
31286 int
31287 main ()
31288 {
31289 esd_close ();
31290 ;
31291 return 0;
31292 }
31293 _ACEOF
31294 rm -f conftest.$ac_objext conftest$ac_exeext
31295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31296 (eval $ac_link) 2>conftest.er1
31297 ac_status=$?
31298 grep -v '^ *+' conftest.er1 >conftest.err
31299 rm -f conftest.er1
31300 cat conftest.err >&5
31301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31302 (exit $ac_status); } &&
31303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31305 (eval $ac_try) 2>&5
31306 ac_status=$?
31307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31308 (exit $ac_status); }; } &&
31309 { ac_try='test -s conftest$ac_exeext'
31310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31311 (eval $ac_try) 2>&5
31312 ac_status=$?
31313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31314 (exit $ac_status); }; }; then
31315 ac_cv_lib_esd_esd_close=yes
31316 else
31317 echo "$as_me: failed program was:" >&5
31318 sed 's/^/| /' conftest.$ac_ext >&5
31319
31320 ac_cv_lib_esd_esd_close=no
31321 fi
31322 rm -f conftest.err conftest.$ac_objext \
31323 conftest$ac_exeext conftest.$ac_ext
31324 LIBS=$ac_check_lib_save_LIBS
31325 fi
31326 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31327 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31328 if test $ac_cv_lib_esd_esd_close = yes; then
31329
31330
31331 for ac_header in esd.h
31332 do
31333 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31335 echo "$as_me:$LINENO: checking for $ac_header" >&5
31336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31338 echo $ECHO_N "(cached) $ECHO_C" >&6
31339 fi
31340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31341 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31342 else
31343 # Is the header compilable?
31344 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31345 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31346 cat >conftest.$ac_ext <<_ACEOF
31347 /* confdefs.h. */
31348 _ACEOF
31349 cat confdefs.h >>conftest.$ac_ext
31350 cat >>conftest.$ac_ext <<_ACEOF
31351 /* end confdefs.h. */
31352 $ac_includes_default
31353 #include <$ac_header>
31354 _ACEOF
31355 rm -f conftest.$ac_objext
31356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31357 (eval $ac_compile) 2>conftest.er1
31358 ac_status=$?
31359 grep -v '^ *+' conftest.er1 >conftest.err
31360 rm -f conftest.er1
31361 cat conftest.err >&5
31362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31363 (exit $ac_status); } &&
31364 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31366 (eval $ac_try) 2>&5
31367 ac_status=$?
31368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31369 (exit $ac_status); }; } &&
31370 { ac_try='test -s conftest.$ac_objext'
31371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31372 (eval $ac_try) 2>&5
31373 ac_status=$?
31374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31375 (exit $ac_status); }; }; then
31376 ac_header_compiler=yes
31377 else
31378 echo "$as_me: failed program was:" >&5
31379 sed 's/^/| /' conftest.$ac_ext >&5
31380
31381 ac_header_compiler=no
31382 fi
31383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31384 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31385 echo "${ECHO_T}$ac_header_compiler" >&6
31386
31387 # Is the header present?
31388 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31389 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31390 cat >conftest.$ac_ext <<_ACEOF
31391 /* confdefs.h. */
31392 _ACEOF
31393 cat confdefs.h >>conftest.$ac_ext
31394 cat >>conftest.$ac_ext <<_ACEOF
31395 /* end confdefs.h. */
31396 #include <$ac_header>
31397 _ACEOF
31398 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31399 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31400 ac_status=$?
31401 grep -v '^ *+' conftest.er1 >conftest.err
31402 rm -f conftest.er1
31403 cat conftest.err >&5
31404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31405 (exit $ac_status); } >/dev/null; then
31406 if test -s conftest.err; then
31407 ac_cpp_err=$ac_c_preproc_warn_flag
31408 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31409 else
31410 ac_cpp_err=
31411 fi
31412 else
31413 ac_cpp_err=yes
31414 fi
31415 if test -z "$ac_cpp_err"; then
31416 ac_header_preproc=yes
31417 else
31418 echo "$as_me: failed program was:" >&5
31419 sed 's/^/| /' conftest.$ac_ext >&5
31420
31421 ac_header_preproc=no
31422 fi
31423 rm -f conftest.err conftest.$ac_ext
31424 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31425 echo "${ECHO_T}$ac_header_preproc" >&6
31426
31427 # So? What about this header?
31428 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31429 yes:no: )
31430 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31431 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31432 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31433 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31434 ac_header_preproc=yes
31435 ;;
31436 no:yes:* )
31437 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31438 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31439 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31440 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31441 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31442 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31443 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31444 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31445 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31446 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31447 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31448 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31449 (
31450 cat <<\_ASBOX
31451 ## ----------------------------------------- ##
31452 ## Report this to wx-dev@lists.wxwidgets.org ##
31453 ## ----------------------------------------- ##
31454 _ASBOX
31455 ) |
31456 sed "s/^/$as_me: WARNING: /" >&2
31457 ;;
31458 esac
31459 echo "$as_me:$LINENO: checking for $ac_header" >&5
31460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31462 echo $ECHO_N "(cached) $ECHO_C" >&6
31463 else
31464 eval "$as_ac_Header=\$ac_header_preproc"
31465 fi
31466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31467 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31468
31469 fi
31470 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31471 cat >>confdefs.h <<_ACEOF
31472 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31473 _ACEOF
31474
31475 EXTRALIBS_ESD="-lesd"
31476
31477 fi
31478
31479 done
31480
31481
31482 fi
31483
31484
31485
31486 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31487 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31488 cat >conftest.$ac_ext <<_ACEOF
31489 /* confdefs.h. */
31490 _ACEOF
31491 cat confdefs.h >>conftest.$ac_ext
31492 cat >>conftest.$ac_ext <<_ACEOF
31493 /* end confdefs.h. */
31494 #ifdef __linux__
31495 #include <linux/cdrom.h>
31496 #else
31497 /* For Solaris */
31498 #include <sys/cdio.h>
31499 #endif
31500
31501 int
31502 main ()
31503 {
31504 struct cdrom_tocentry entry, old_entry;
31505 ;
31506 return 0;
31507 }
31508 _ACEOF
31509 rm -f conftest.$ac_objext
31510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31511 (eval $ac_compile) 2>conftest.er1
31512 ac_status=$?
31513 grep -v '^ *+' conftest.er1 >conftest.err
31514 rm -f conftest.er1
31515 cat conftest.err >&5
31516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31517 (exit $ac_status); } &&
31518 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31520 (eval $ac_try) 2>&5
31521 ac_status=$?
31522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31523 (exit $ac_status); }; } &&
31524 { ac_try='test -s conftest.$ac_objext'
31525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31526 (eval $ac_try) 2>&5
31527 ac_status=$?
31528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31529 (exit $ac_status); }; }; then
31530 echo "$as_me:$LINENO: result: yes" >&5
31531 echo "${ECHO_T}yes" >&6
31532 cat >>confdefs.h <<\_ACEOF
31533 #define HAVE_KNOWN_CDROM_INTERFACE 1
31534 _ACEOF
31535
31536 else
31537 echo "$as_me: failed program was:" >&5
31538 sed 's/^/| /' conftest.$ac_ext >&5
31539
31540 echo "$as_me:$LINENO: result: no" >&5
31541 echo "${ECHO_T}no" >&6
31542 fi
31543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31544
31545
31546 cat >confcache <<\_ACEOF
31547 # This file is a shell script that caches the results of configure
31548 # tests run on this system so they can be shared between configure
31549 # scripts and configure runs, see configure's option --config-cache.
31550 # It is not useful on other systems. If it contains results you don't
31551 # want to keep, you may remove or edit it.
31552 #
31553 # config.status only pays attention to the cache file if you give it
31554 # the --recheck option to rerun configure.
31555 #
31556 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31557 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31558 # following values.
31559
31560 _ACEOF
31561
31562 # The following way of writing the cache mishandles newlines in values,
31563 # but we know of no workaround that is simple, portable, and efficient.
31564 # So, don't put newlines in cache variables' values.
31565 # Ultrix sh set writes to stderr and can't be redirected directly,
31566 # and sets the high bit in the cache file unless we assign to the vars.
31567 {
31568 (set) 2>&1 |
31569 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31570 *ac_space=\ *)
31571 # `set' does not quote correctly, so add quotes (double-quote
31572 # substitution turns \\\\ into \\, and sed turns \\ into \).
31573 sed -n \
31574 "s/'/'\\\\''/g;
31575 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31576 ;;
31577 *)
31578 # `set' quotes correctly as required by POSIX, so do not add quotes.
31579 sed -n \
31580 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
31581 ;;
31582 esac;
31583 } |
31584 sed '
31585 t clear
31586 : clear
31587 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31588 t end
31589 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31590 : end' >>confcache
31591 if diff $cache_file confcache >/dev/null 2>&1; then :; else
31592 if test -w $cache_file; then
31593 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
31594 cat confcache >$cache_file
31595 else
31596 echo "not updating unwritable cache $cache_file"
31597 fi
31598 fi
31599 rm -f confcache
31600
31601
31602 CPP_MT_FLAG=
31603 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31604
31605
31606 THREADS_LINK=
31607 THREADS_CFLAGS=
31608
31609 if test "$wxUSE_THREADS" = "yes" ; then
31610 if test "$USE_BEOS" = 1; then
31611 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
31612 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31613 wxUSE_THREADS="no"
31614 fi
31615 fi
31616
31617 if test "$wxUSE_THREADS" = "yes" ; then
31618
31619
31620 THREAD_OPTS="-pthread"
31621 case "${host}" in
31622 *-*-solaris2* | *-*-sunos4* )
31623 if test "x$GCC" = "xyes"; then
31624 THREAD_OPTS="-pthreads $THREAD_OPTS"
31625 else
31626 THREAD_OPTS="-mt $THREAD_OPTS"
31627 fi
31628 ;;
31629 *-*-freebsd*)
31630 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
31631 ;;
31632 *-*-darwin* | *-*-cygwin* )
31633 THREAD_OPTS=""
31634 ;;
31635 *-*-aix*)
31636 THREAD_OPTS="pthreads"
31637 ;;
31638 *-hp-hpux* )
31639 if test "x$GCC" != "xyes"; then
31640 THREAD_OPTS=""
31641 fi
31642 ;;
31643
31644 *-*-irix* )
31645 if test "x$GCC" = "xyes"; then
31646 THREAD_OPTS=""
31647 fi
31648 ;;
31649
31650 *-*-*UnixWare*)
31651 if test "x$GCC" != "xyes"; then
31652 THREAD_OPTS="-Ethread"
31653 fi
31654 ;;
31655 esac
31656
31657 THREAD_OPTS="$THREAD_OPTS pthread none"
31658
31659 THREADS_OK=no
31660 for flag in $THREAD_OPTS; do
31661 case $flag in
31662 none)
31663 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
31664 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
31665 ;;
31666
31667 -*)
31668 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
31669 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
31670 THREADS_CFLAGS="$flag"
31671 ;;
31672
31673 *)
31674 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
31675 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
31676 THREADS_LINK="-l$flag"
31677 ;;
31678 esac
31679
31680 save_LIBS="$LIBS"
31681 save_CFLAGS="$CFLAGS"
31682 LIBS="$THREADS_LINK $LIBS"
31683 CFLAGS="$THREADS_CFLAGS $CFLAGS"
31684
31685 cat >conftest.$ac_ext <<_ACEOF
31686 /* confdefs.h. */
31687 _ACEOF
31688 cat confdefs.h >>conftest.$ac_ext
31689 cat >>conftest.$ac_ext <<_ACEOF
31690 /* end confdefs.h. */
31691 #include <pthread.h>
31692 int
31693 main ()
31694 {
31695 pthread_create(0,0,0,0);
31696 ;
31697 return 0;
31698 }
31699 _ACEOF
31700 rm -f conftest.$ac_objext conftest$ac_exeext
31701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31702 (eval $ac_link) 2>conftest.er1
31703 ac_status=$?
31704 grep -v '^ *+' conftest.er1 >conftest.err
31705 rm -f conftest.er1
31706 cat conftest.err >&5
31707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31708 (exit $ac_status); } &&
31709 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31711 (eval $ac_try) 2>&5
31712 ac_status=$?
31713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31714 (exit $ac_status); }; } &&
31715 { ac_try='test -s conftest$ac_exeext'
31716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31717 (eval $ac_try) 2>&5
31718 ac_status=$?
31719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31720 (exit $ac_status); }; }; then
31721 THREADS_OK=yes
31722 else
31723 echo "$as_me: failed program was:" >&5
31724 sed 's/^/| /' conftest.$ac_ext >&5
31725
31726 fi
31727 rm -f conftest.err conftest.$ac_objext \
31728 conftest$ac_exeext conftest.$ac_ext
31729
31730 LIBS="$save_LIBS"
31731 CFLAGS="$save_CFLAGS"
31732
31733 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
31734 echo "${ECHO_T}$THREADS_OK" >&6
31735 if test "x$THREADS_OK" = "xyes"; then
31736 break;
31737 fi
31738
31739 THREADS_LINK=""
31740 THREADS_CFLAGS=""
31741 done
31742
31743 if test "x$THREADS_OK" != "xyes"; then
31744 wxUSE_THREADS=no
31745 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
31746 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31747 else
31748 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
31749 LIBS="$THREADS_LINK $LIBS"
31750
31751 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
31752 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
31753 flag=no
31754 case "${host}" in
31755 *-aix*)
31756 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
31757 flag="-D_THREAD_SAFE"
31758 ;;
31759 *-freebsd*)
31760 flag="-D_THREAD_SAFE"
31761 ;;
31762 *-hp-hpux* )
31763 flag="-D_REENTRANT"
31764 if test "x$GCC" != "xyes"; then
31765 flag="$flag -D_RWSTD_MULTI_THREAD"
31766
31767 LIBS="$LIBS -lcma"
31768 fi
31769 ;;
31770 *solaris* | alpha*-osf*)
31771 flag="-D_REENTRANT"
31772 ;;
31773 esac
31774 echo "$as_me:$LINENO: result: ${flag}" >&5
31775 echo "${ECHO_T}${flag}" >&6
31776 if test "x$flag" != xno; then
31777 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
31778 fi
31779
31780 if test "x$THREADS_CFLAGS" != "x"; then
31781 CFLAGS="$CFLAGS $THREADS_CFLAGS"
31782 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
31783 fi
31784 fi
31785 fi
31786
31787 if test "$wxUSE_THREADS" = "yes" ; then
31788
31789 for ac_func in thr_setconcurrency
31790 do
31791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31792 echo "$as_me:$LINENO: checking for $ac_func" >&5
31793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31794 if eval "test \"\${$as_ac_var+set}\" = set"; then
31795 echo $ECHO_N "(cached) $ECHO_C" >&6
31796 else
31797 cat >conftest.$ac_ext <<_ACEOF
31798 /* confdefs.h. */
31799 _ACEOF
31800 cat confdefs.h >>conftest.$ac_ext
31801 cat >>conftest.$ac_ext <<_ACEOF
31802 /* end confdefs.h. */
31803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31805 #define $ac_func innocuous_$ac_func
31806
31807 /* System header to define __stub macros and hopefully few prototypes,
31808 which can conflict with char $ac_func (); below.
31809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31810 <limits.h> exists even on freestanding compilers. */
31811
31812 #ifdef __STDC__
31813 # include <limits.h>
31814 #else
31815 # include <assert.h>
31816 #endif
31817
31818 #undef $ac_func
31819
31820 /* Override any gcc2 internal prototype to avoid an error. */
31821 #ifdef __cplusplus
31822 extern "C"
31823 {
31824 #endif
31825 /* We use char because int might match the return type of a gcc2
31826 builtin and then its argument prototype would still apply. */
31827 char $ac_func ();
31828 /* The GNU C library defines this for functions which it implements
31829 to always fail with ENOSYS. Some functions are actually named
31830 something starting with __ and the normal name is an alias. */
31831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31832 choke me
31833 #else
31834 char (*f) () = $ac_func;
31835 #endif
31836 #ifdef __cplusplus
31837 }
31838 #endif
31839
31840 int
31841 main ()
31842 {
31843 return f != $ac_func;
31844 ;
31845 return 0;
31846 }
31847 _ACEOF
31848 rm -f conftest.$ac_objext conftest$ac_exeext
31849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31850 (eval $ac_link) 2>conftest.er1
31851 ac_status=$?
31852 grep -v '^ *+' conftest.er1 >conftest.err
31853 rm -f conftest.er1
31854 cat conftest.err >&5
31855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31856 (exit $ac_status); } &&
31857 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31859 (eval $ac_try) 2>&5
31860 ac_status=$?
31861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31862 (exit $ac_status); }; } &&
31863 { ac_try='test -s conftest$ac_exeext'
31864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31865 (eval $ac_try) 2>&5
31866 ac_status=$?
31867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31868 (exit $ac_status); }; }; then
31869 eval "$as_ac_var=yes"
31870 else
31871 echo "$as_me: failed program was:" >&5
31872 sed 's/^/| /' conftest.$ac_ext >&5
31873
31874 eval "$as_ac_var=no"
31875 fi
31876 rm -f conftest.err conftest.$ac_objext \
31877 conftest$ac_exeext conftest.$ac_ext
31878 fi
31879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31881 if test `eval echo '${'$as_ac_var'}'` = yes; then
31882 cat >>confdefs.h <<_ACEOF
31883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31884 _ACEOF
31885
31886 fi
31887 done
31888
31889
31890
31891 for ac_header in sched.h
31892 do
31893 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31894 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31895 echo "$as_me:$LINENO: checking for $ac_header" >&5
31896 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31897 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31898 echo $ECHO_N "(cached) $ECHO_C" >&6
31899 fi
31900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31901 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31902 else
31903 # Is the header compilable?
31904 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31905 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
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 $ac_includes_default
31913 #include <$ac_header>
31914 _ACEOF
31915 rm -f conftest.$ac_objext
31916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31917 (eval $ac_compile) 2>conftest.er1
31918 ac_status=$?
31919 grep -v '^ *+' conftest.er1 >conftest.err
31920 rm -f conftest.er1
31921 cat conftest.err >&5
31922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31923 (exit $ac_status); } &&
31924 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31926 (eval $ac_try) 2>&5
31927 ac_status=$?
31928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31929 (exit $ac_status); }; } &&
31930 { ac_try='test -s conftest.$ac_objext'
31931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31932 (eval $ac_try) 2>&5
31933 ac_status=$?
31934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31935 (exit $ac_status); }; }; then
31936 ac_header_compiler=yes
31937 else
31938 echo "$as_me: failed program was:" >&5
31939 sed 's/^/| /' conftest.$ac_ext >&5
31940
31941 ac_header_compiler=no
31942 fi
31943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31944 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31945 echo "${ECHO_T}$ac_header_compiler" >&6
31946
31947 # Is the header present?
31948 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31949 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31950 cat >conftest.$ac_ext <<_ACEOF
31951 /* confdefs.h. */
31952 _ACEOF
31953 cat confdefs.h >>conftest.$ac_ext
31954 cat >>conftest.$ac_ext <<_ACEOF
31955 /* end confdefs.h. */
31956 #include <$ac_header>
31957 _ACEOF
31958 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31959 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31960 ac_status=$?
31961 grep -v '^ *+' conftest.er1 >conftest.err
31962 rm -f conftest.er1
31963 cat conftest.err >&5
31964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31965 (exit $ac_status); } >/dev/null; then
31966 if test -s conftest.err; then
31967 ac_cpp_err=$ac_c_preproc_warn_flag
31968 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31969 else
31970 ac_cpp_err=
31971 fi
31972 else
31973 ac_cpp_err=yes
31974 fi
31975 if test -z "$ac_cpp_err"; then
31976 ac_header_preproc=yes
31977 else
31978 echo "$as_me: failed program was:" >&5
31979 sed 's/^/| /' conftest.$ac_ext >&5
31980
31981 ac_header_preproc=no
31982 fi
31983 rm -f conftest.err conftest.$ac_ext
31984 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31985 echo "${ECHO_T}$ac_header_preproc" >&6
31986
31987 # So? What about this header?
31988 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31989 yes:no: )
31990 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31991 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31992 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31993 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31994 ac_header_preproc=yes
31995 ;;
31996 no:yes:* )
31997 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31998 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31999 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32000 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32001 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32002 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32003 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32004 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32005 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32006 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32007 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32008 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32009 (
32010 cat <<\_ASBOX
32011 ## ----------------------------------------- ##
32012 ## Report this to wx-dev@lists.wxwidgets.org ##
32013 ## ----------------------------------------- ##
32014 _ASBOX
32015 ) |
32016 sed "s/^/$as_me: WARNING: /" >&2
32017 ;;
32018 esac
32019 echo "$as_me:$LINENO: checking for $ac_header" >&5
32020 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32021 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32022 echo $ECHO_N "(cached) $ECHO_C" >&6
32023 else
32024 eval "$as_ac_Header=\$ac_header_preproc"
32025 fi
32026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32027 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32028
32029 fi
32030 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32031 cat >>confdefs.h <<_ACEOF
32032 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32033 _ACEOF
32034
32035 fi
32036
32037 done
32038
32039 if test "$ac_cv_header_sched_h" = "yes"; then
32040 echo "$as_me:$LINENO: checking for sched_yield" >&5
32041 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32042 if test "${ac_cv_func_sched_yield+set}" = set; then
32043 echo $ECHO_N "(cached) $ECHO_C" >&6
32044 else
32045 cat >conftest.$ac_ext <<_ACEOF
32046 /* confdefs.h. */
32047 _ACEOF
32048 cat confdefs.h >>conftest.$ac_ext
32049 cat >>conftest.$ac_ext <<_ACEOF
32050 /* end confdefs.h. */
32051 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32053 #define sched_yield innocuous_sched_yield
32054
32055 /* System header to define __stub macros and hopefully few prototypes,
32056 which can conflict with char sched_yield (); below.
32057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32058 <limits.h> exists even on freestanding compilers. */
32059
32060 #ifdef __STDC__
32061 # include <limits.h>
32062 #else
32063 # include <assert.h>
32064 #endif
32065
32066 #undef sched_yield
32067
32068 /* Override any gcc2 internal prototype to avoid an error. */
32069 #ifdef __cplusplus
32070 extern "C"
32071 {
32072 #endif
32073 /* We use char because int might match the return type of a gcc2
32074 builtin and then its argument prototype would still apply. */
32075 char sched_yield ();
32076 /* The GNU C library defines this for functions which it implements
32077 to always fail with ENOSYS. Some functions are actually named
32078 something starting with __ and the normal name is an alias. */
32079 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32080 choke me
32081 #else
32082 char (*f) () = sched_yield;
32083 #endif
32084 #ifdef __cplusplus
32085 }
32086 #endif
32087
32088 int
32089 main ()
32090 {
32091 return f != sched_yield;
32092 ;
32093 return 0;
32094 }
32095 _ACEOF
32096 rm -f conftest.$ac_objext conftest$ac_exeext
32097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32098 (eval $ac_link) 2>conftest.er1
32099 ac_status=$?
32100 grep -v '^ *+' conftest.er1 >conftest.err
32101 rm -f conftest.er1
32102 cat conftest.err >&5
32103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32104 (exit $ac_status); } &&
32105 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32107 (eval $ac_try) 2>&5
32108 ac_status=$?
32109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32110 (exit $ac_status); }; } &&
32111 { ac_try='test -s conftest$ac_exeext'
32112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32113 (eval $ac_try) 2>&5
32114 ac_status=$?
32115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32116 (exit $ac_status); }; }; then
32117 ac_cv_func_sched_yield=yes
32118 else
32119 echo "$as_me: failed program was:" >&5
32120 sed 's/^/| /' conftest.$ac_ext >&5
32121
32122 ac_cv_func_sched_yield=no
32123 fi
32124 rm -f conftest.err conftest.$ac_objext \
32125 conftest$ac_exeext conftest.$ac_ext
32126 fi
32127 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32128 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32129 if test $ac_cv_func_sched_yield = yes; then
32130 cat >>confdefs.h <<\_ACEOF
32131 #define HAVE_SCHED_YIELD 1
32132 _ACEOF
32133
32134 else
32135
32136 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32137 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32138 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32139 echo $ECHO_N "(cached) $ECHO_C" >&6
32140 else
32141 ac_check_lib_save_LIBS=$LIBS
32142 LIBS="-lposix4 $LIBS"
32143 cat >conftest.$ac_ext <<_ACEOF
32144 /* confdefs.h. */
32145 _ACEOF
32146 cat confdefs.h >>conftest.$ac_ext
32147 cat >>conftest.$ac_ext <<_ACEOF
32148 /* end confdefs.h. */
32149
32150 /* Override any gcc2 internal prototype to avoid an error. */
32151 #ifdef __cplusplus
32152 extern "C"
32153 #endif
32154 /* We use char because int might match the return type of a gcc2
32155 builtin and then its argument prototype would still apply. */
32156 char sched_yield ();
32157 int
32158 main ()
32159 {
32160 sched_yield ();
32161 ;
32162 return 0;
32163 }
32164 _ACEOF
32165 rm -f conftest.$ac_objext conftest$ac_exeext
32166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32167 (eval $ac_link) 2>conftest.er1
32168 ac_status=$?
32169 grep -v '^ *+' conftest.er1 >conftest.err
32170 rm -f conftest.er1
32171 cat conftest.err >&5
32172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32173 (exit $ac_status); } &&
32174 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32176 (eval $ac_try) 2>&5
32177 ac_status=$?
32178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32179 (exit $ac_status); }; } &&
32180 { ac_try='test -s conftest$ac_exeext'
32181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32182 (eval $ac_try) 2>&5
32183 ac_status=$?
32184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32185 (exit $ac_status); }; }; then
32186 ac_cv_lib_posix4_sched_yield=yes
32187 else
32188 echo "$as_me: failed program was:" >&5
32189 sed 's/^/| /' conftest.$ac_ext >&5
32190
32191 ac_cv_lib_posix4_sched_yield=no
32192 fi
32193 rm -f conftest.err conftest.$ac_objext \
32194 conftest$ac_exeext conftest.$ac_ext
32195 LIBS=$ac_check_lib_save_LIBS
32196 fi
32197 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32198 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32199 if test $ac_cv_lib_posix4_sched_yield = yes; then
32200 cat >>confdefs.h <<\_ACEOF
32201 #define HAVE_SCHED_YIELD 1
32202 _ACEOF
32203 POSIX4_LINK=" -lposix4"
32204 else
32205 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32206 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32207
32208 fi
32209
32210
32211
32212 fi
32213
32214 fi
32215
32216 HAVE_PRIOR_FUNCS=0
32217 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32218 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32219 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32220 echo $ECHO_N "(cached) $ECHO_C" >&6
32221 else
32222 cat >conftest.$ac_ext <<_ACEOF
32223 /* confdefs.h. */
32224 _ACEOF
32225 cat confdefs.h >>conftest.$ac_ext
32226 cat >>conftest.$ac_ext <<_ACEOF
32227 /* end confdefs.h. */
32228 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32230 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32231
32232 /* System header to define __stub macros and hopefully few prototypes,
32233 which can conflict with char pthread_attr_getschedpolicy (); below.
32234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32235 <limits.h> exists even on freestanding compilers. */
32236
32237 #ifdef __STDC__
32238 # include <limits.h>
32239 #else
32240 # include <assert.h>
32241 #endif
32242
32243 #undef pthread_attr_getschedpolicy
32244
32245 /* Override any gcc2 internal prototype to avoid an error. */
32246 #ifdef __cplusplus
32247 extern "C"
32248 {
32249 #endif
32250 /* We use char because int might match the return type of a gcc2
32251 builtin and then its argument prototype would still apply. */
32252 char pthread_attr_getschedpolicy ();
32253 /* The GNU C library defines this for functions which it implements
32254 to always fail with ENOSYS. Some functions are actually named
32255 something starting with __ and the normal name is an alias. */
32256 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32257 choke me
32258 #else
32259 char (*f) () = pthread_attr_getschedpolicy;
32260 #endif
32261 #ifdef __cplusplus
32262 }
32263 #endif
32264
32265 int
32266 main ()
32267 {
32268 return f != pthread_attr_getschedpolicy;
32269 ;
32270 return 0;
32271 }
32272 _ACEOF
32273 rm -f conftest.$ac_objext conftest$ac_exeext
32274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32275 (eval $ac_link) 2>conftest.er1
32276 ac_status=$?
32277 grep -v '^ *+' conftest.er1 >conftest.err
32278 rm -f conftest.er1
32279 cat conftest.err >&5
32280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32281 (exit $ac_status); } &&
32282 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32284 (eval $ac_try) 2>&5
32285 ac_status=$?
32286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32287 (exit $ac_status); }; } &&
32288 { ac_try='test -s conftest$ac_exeext'
32289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32290 (eval $ac_try) 2>&5
32291 ac_status=$?
32292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32293 (exit $ac_status); }; }; then
32294 ac_cv_func_pthread_attr_getschedpolicy=yes
32295 else
32296 echo "$as_me: failed program was:" >&5
32297 sed 's/^/| /' conftest.$ac_ext >&5
32298
32299 ac_cv_func_pthread_attr_getschedpolicy=no
32300 fi
32301 rm -f conftest.err conftest.$ac_objext \
32302 conftest$ac_exeext conftest.$ac_ext
32303 fi
32304 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32305 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32306 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32307 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32308 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32309 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32310 echo $ECHO_N "(cached) $ECHO_C" >&6
32311 else
32312 cat >conftest.$ac_ext <<_ACEOF
32313 /* confdefs.h. */
32314 _ACEOF
32315 cat confdefs.h >>conftest.$ac_ext
32316 cat >>conftest.$ac_ext <<_ACEOF
32317 /* end confdefs.h. */
32318 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32320 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32321
32322 /* System header to define __stub macros and hopefully few prototypes,
32323 which can conflict with char pthread_attr_setschedparam (); below.
32324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32325 <limits.h> exists even on freestanding compilers. */
32326
32327 #ifdef __STDC__
32328 # include <limits.h>
32329 #else
32330 # include <assert.h>
32331 #endif
32332
32333 #undef pthread_attr_setschedparam
32334
32335 /* Override any gcc2 internal prototype to avoid an error. */
32336 #ifdef __cplusplus
32337 extern "C"
32338 {
32339 #endif
32340 /* We use char because int might match the return type of a gcc2
32341 builtin and then its argument prototype would still apply. */
32342 char pthread_attr_setschedparam ();
32343 /* The GNU C library defines this for functions which it implements
32344 to always fail with ENOSYS. Some functions are actually named
32345 something starting with __ and the normal name is an alias. */
32346 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32347 choke me
32348 #else
32349 char (*f) () = pthread_attr_setschedparam;
32350 #endif
32351 #ifdef __cplusplus
32352 }
32353 #endif
32354
32355 int
32356 main ()
32357 {
32358 return f != pthread_attr_setschedparam;
32359 ;
32360 return 0;
32361 }
32362 _ACEOF
32363 rm -f conftest.$ac_objext conftest$ac_exeext
32364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32365 (eval $ac_link) 2>conftest.er1
32366 ac_status=$?
32367 grep -v '^ *+' conftest.er1 >conftest.err
32368 rm -f conftest.er1
32369 cat conftest.err >&5
32370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32371 (exit $ac_status); } &&
32372 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32374 (eval $ac_try) 2>&5
32375 ac_status=$?
32376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32377 (exit $ac_status); }; } &&
32378 { ac_try='test -s conftest$ac_exeext'
32379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32380 (eval $ac_try) 2>&5
32381 ac_status=$?
32382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32383 (exit $ac_status); }; }; then
32384 ac_cv_func_pthread_attr_setschedparam=yes
32385 else
32386 echo "$as_me: failed program was:" >&5
32387 sed 's/^/| /' conftest.$ac_ext >&5
32388
32389 ac_cv_func_pthread_attr_setschedparam=no
32390 fi
32391 rm -f conftest.err conftest.$ac_objext \
32392 conftest$ac_exeext conftest.$ac_ext
32393 fi
32394 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32395 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32396 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32397 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32398 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32399 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32400 echo $ECHO_N "(cached) $ECHO_C" >&6
32401 else
32402 cat >conftest.$ac_ext <<_ACEOF
32403 /* confdefs.h. */
32404 _ACEOF
32405 cat confdefs.h >>conftest.$ac_ext
32406 cat >>conftest.$ac_ext <<_ACEOF
32407 /* end confdefs.h. */
32408 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32410 #define sched_get_priority_max innocuous_sched_get_priority_max
32411
32412 /* System header to define __stub macros and hopefully few prototypes,
32413 which can conflict with char sched_get_priority_max (); below.
32414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32415 <limits.h> exists even on freestanding compilers. */
32416
32417 #ifdef __STDC__
32418 # include <limits.h>
32419 #else
32420 # include <assert.h>
32421 #endif
32422
32423 #undef sched_get_priority_max
32424
32425 /* Override any gcc2 internal prototype to avoid an error. */
32426 #ifdef __cplusplus
32427 extern "C"
32428 {
32429 #endif
32430 /* We use char because int might match the return type of a gcc2
32431 builtin and then its argument prototype would still apply. */
32432 char sched_get_priority_max ();
32433 /* The GNU C library defines this for functions which it implements
32434 to always fail with ENOSYS. Some functions are actually named
32435 something starting with __ and the normal name is an alias. */
32436 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32437 choke me
32438 #else
32439 char (*f) () = sched_get_priority_max;
32440 #endif
32441 #ifdef __cplusplus
32442 }
32443 #endif
32444
32445 int
32446 main ()
32447 {
32448 return f != sched_get_priority_max;
32449 ;
32450 return 0;
32451 }
32452 _ACEOF
32453 rm -f conftest.$ac_objext conftest$ac_exeext
32454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32455 (eval $ac_link) 2>conftest.er1
32456 ac_status=$?
32457 grep -v '^ *+' conftest.er1 >conftest.err
32458 rm -f conftest.er1
32459 cat conftest.err >&5
32460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32461 (exit $ac_status); } &&
32462 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32464 (eval $ac_try) 2>&5
32465 ac_status=$?
32466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32467 (exit $ac_status); }; } &&
32468 { ac_try='test -s conftest$ac_exeext'
32469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32470 (eval $ac_try) 2>&5
32471 ac_status=$?
32472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32473 (exit $ac_status); }; }; then
32474 ac_cv_func_sched_get_priority_max=yes
32475 else
32476 echo "$as_me: failed program was:" >&5
32477 sed 's/^/| /' conftest.$ac_ext >&5
32478
32479 ac_cv_func_sched_get_priority_max=no
32480 fi
32481 rm -f conftest.err conftest.$ac_objext \
32482 conftest$ac_exeext conftest.$ac_ext
32483 fi
32484 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32485 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32486 if test $ac_cv_func_sched_get_priority_max = yes; then
32487 HAVE_PRIOR_FUNCS=1
32488 else
32489 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32490 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32491 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32492 echo $ECHO_N "(cached) $ECHO_C" >&6
32493 else
32494 ac_check_lib_save_LIBS=$LIBS
32495 LIBS="-lposix4 $LIBS"
32496 cat >conftest.$ac_ext <<_ACEOF
32497 /* confdefs.h. */
32498 _ACEOF
32499 cat confdefs.h >>conftest.$ac_ext
32500 cat >>conftest.$ac_ext <<_ACEOF
32501 /* end confdefs.h. */
32502
32503 /* Override any gcc2 internal prototype to avoid an error. */
32504 #ifdef __cplusplus
32505 extern "C"
32506 #endif
32507 /* We use char because int might match the return type of a gcc2
32508 builtin and then its argument prototype would still apply. */
32509 char sched_get_priority_max ();
32510 int
32511 main ()
32512 {
32513 sched_get_priority_max ();
32514 ;
32515 return 0;
32516 }
32517 _ACEOF
32518 rm -f conftest.$ac_objext conftest$ac_exeext
32519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32520 (eval $ac_link) 2>conftest.er1
32521 ac_status=$?
32522 grep -v '^ *+' conftest.er1 >conftest.err
32523 rm -f conftest.er1
32524 cat conftest.err >&5
32525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32526 (exit $ac_status); } &&
32527 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32529 (eval $ac_try) 2>&5
32530 ac_status=$?
32531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32532 (exit $ac_status); }; } &&
32533 { ac_try='test -s conftest$ac_exeext'
32534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32535 (eval $ac_try) 2>&5
32536 ac_status=$?
32537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32538 (exit $ac_status); }; }; then
32539 ac_cv_lib_posix4_sched_get_priority_max=yes
32540 else
32541 echo "$as_me: failed program was:" >&5
32542 sed 's/^/| /' conftest.$ac_ext >&5
32543
32544 ac_cv_lib_posix4_sched_get_priority_max=no
32545 fi
32546 rm -f conftest.err conftest.$ac_objext \
32547 conftest$ac_exeext conftest.$ac_ext
32548 LIBS=$ac_check_lib_save_LIBS
32549 fi
32550 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32551 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32552 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32553
32554 HAVE_PRIOR_FUNCS=1
32555 POSIX4_LINK=" -lposix4"
32556
32557 fi
32558
32559
32560 fi
32561
32562
32563 fi
32564
32565
32566 fi
32567
32568
32569 if test "$HAVE_PRIOR_FUNCS" = 1; then
32570 cat >>confdefs.h <<\_ACEOF
32571 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32572 _ACEOF
32573
32574 else
32575 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32576 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32577 fi
32578
32579 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32580 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32581 if test "${ac_cv_func_pthread_cancel+set}" = set; then
32582 echo $ECHO_N "(cached) $ECHO_C" >&6
32583 else
32584 cat >conftest.$ac_ext <<_ACEOF
32585 /* confdefs.h. */
32586 _ACEOF
32587 cat confdefs.h >>conftest.$ac_ext
32588 cat >>conftest.$ac_ext <<_ACEOF
32589 /* end confdefs.h. */
32590 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
32591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32592 #define pthread_cancel innocuous_pthread_cancel
32593
32594 /* System header to define __stub macros and hopefully few prototypes,
32595 which can conflict with char pthread_cancel (); below.
32596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32597 <limits.h> exists even on freestanding compilers. */
32598
32599 #ifdef __STDC__
32600 # include <limits.h>
32601 #else
32602 # include <assert.h>
32603 #endif
32604
32605 #undef pthread_cancel
32606
32607 /* Override any gcc2 internal prototype to avoid an error. */
32608 #ifdef __cplusplus
32609 extern "C"
32610 {
32611 #endif
32612 /* We use char because int might match the return type of a gcc2
32613 builtin and then its argument prototype would still apply. */
32614 char pthread_cancel ();
32615 /* The GNU C library defines this for functions which it implements
32616 to always fail with ENOSYS. Some functions are actually named
32617 something starting with __ and the normal name is an alias. */
32618 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
32619 choke me
32620 #else
32621 char (*f) () = pthread_cancel;
32622 #endif
32623 #ifdef __cplusplus
32624 }
32625 #endif
32626
32627 int
32628 main ()
32629 {
32630 return f != pthread_cancel;
32631 ;
32632 return 0;
32633 }
32634 _ACEOF
32635 rm -f conftest.$ac_objext conftest$ac_exeext
32636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32637 (eval $ac_link) 2>conftest.er1
32638 ac_status=$?
32639 grep -v '^ *+' conftest.er1 >conftest.err
32640 rm -f conftest.er1
32641 cat conftest.err >&5
32642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32643 (exit $ac_status); } &&
32644 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32646 (eval $ac_try) 2>&5
32647 ac_status=$?
32648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32649 (exit $ac_status); }; } &&
32650 { ac_try='test -s conftest$ac_exeext'
32651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32652 (eval $ac_try) 2>&5
32653 ac_status=$?
32654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32655 (exit $ac_status); }; }; then
32656 ac_cv_func_pthread_cancel=yes
32657 else
32658 echo "$as_me: failed program was:" >&5
32659 sed 's/^/| /' conftest.$ac_ext >&5
32660
32661 ac_cv_func_pthread_cancel=no
32662 fi
32663 rm -f conftest.err conftest.$ac_objext \
32664 conftest$ac_exeext conftest.$ac_ext
32665 fi
32666 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
32667 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
32668 if test $ac_cv_func_pthread_cancel = yes; then
32669 cat >>confdefs.h <<\_ACEOF
32670 #define HAVE_PTHREAD_CANCEL 1
32671 _ACEOF
32672
32673 else
32674 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
32675 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32676 fi
32677
32678
32679
32680
32681 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
32682 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
32683 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
32684 echo $ECHO_N "(cached) $ECHO_C" >&6
32685 else
32686
32687 cat >conftest.$ac_ext <<_ACEOF
32688 /* confdefs.h. */
32689 _ACEOF
32690 cat confdefs.h >>conftest.$ac_ext
32691 cat >>conftest.$ac_ext <<_ACEOF
32692 /* end confdefs.h. */
32693 #include <pthread.h>
32694 int
32695 main ()
32696 {
32697
32698 pthread_mutexattr_t attr;
32699 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32700
32701 ;
32702 return 0;
32703 }
32704 _ACEOF
32705 rm -f conftest.$ac_objext
32706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32707 (eval $ac_compile) 2>conftest.er1
32708 ac_status=$?
32709 grep -v '^ *+' conftest.er1 >conftest.err
32710 rm -f conftest.er1
32711 cat conftest.err >&5
32712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32713 (exit $ac_status); } &&
32714 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32716 (eval $ac_try) 2>&5
32717 ac_status=$?
32718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32719 (exit $ac_status); }; } &&
32720 { ac_try='test -s conftest.$ac_objext'
32721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32722 (eval $ac_try) 2>&5
32723 ac_status=$?
32724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32725 (exit $ac_status); }; }; then
32726
32727 wx_cv_type_pthread_mutexattr_t=yes
32728
32729 else
32730 echo "$as_me: failed program was:" >&5
32731 sed 's/^/| /' conftest.$ac_ext >&5
32732
32733
32734 wx_cv_type_pthread_mutexattr_t=no
32735
32736
32737 fi
32738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32739
32740 fi
32741 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
32742 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
32743
32744 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32745 cat >>confdefs.h <<\_ACEOF
32746 #define HAVE_PTHREAD_MUTEXATTR_T 1
32747 _ACEOF
32748
32749 else
32750 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32751 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
32752 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
32753 echo $ECHO_N "(cached) $ECHO_C" >&6
32754 else
32755
32756 cat >conftest.$ac_ext <<_ACEOF
32757 /* confdefs.h. */
32758 _ACEOF
32759 cat confdefs.h >>conftest.$ac_ext
32760 cat >>conftest.$ac_ext <<_ACEOF
32761 /* end confdefs.h. */
32762 #include <pthread.h>
32763 int
32764 main ()
32765 {
32766
32767 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32768
32769 ;
32770 return 0;
32771 }
32772 _ACEOF
32773 rm -f conftest.$ac_objext
32774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32775 (eval $ac_compile) 2>conftest.er1
32776 ac_status=$?
32777 grep -v '^ *+' conftest.er1 >conftest.err
32778 rm -f conftest.er1
32779 cat conftest.err >&5
32780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32781 (exit $ac_status); } &&
32782 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32784 (eval $ac_try) 2>&5
32785 ac_status=$?
32786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32787 (exit $ac_status); }; } &&
32788 { ac_try='test -s conftest.$ac_objext'
32789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32790 (eval $ac_try) 2>&5
32791 ac_status=$?
32792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32793 (exit $ac_status); }; }; then
32794
32795 wx_cv_type_pthread_rec_mutex_init=yes
32796
32797 else
32798 echo "$as_me: failed program was:" >&5
32799 sed 's/^/| /' conftest.$ac_ext >&5
32800
32801
32802 wx_cv_type_pthread_rec_mutex_init=no
32803
32804
32805 fi
32806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32807
32808 fi
32809 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32810 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
32811 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32812 cat >>confdefs.h <<\_ACEOF
32813 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
32814 _ACEOF
32815
32816 else
32817 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
32818 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32819 fi
32820 fi
32821 fi
32822
32823 else
32824 if test "$wxUSE_THREADS" = "yes" ; then
32825 case "${host}" in
32826 *-*-mingw32* )
32827 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
32828 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
32829 if test "${wx_cv_cflags_mthread+set}" = set; then
32830 echo $ECHO_N "(cached) $ECHO_C" >&6
32831 else
32832
32833 CFLAGS_OLD="$CFLAGS"
32834 CFLAGS="$CFLAGS -mthreads"
32835 cat >conftest.$ac_ext <<_ACEOF
32836 /* confdefs.h. */
32837 _ACEOF
32838 cat confdefs.h >>conftest.$ac_ext
32839 cat >>conftest.$ac_ext <<_ACEOF
32840 /* end confdefs.h. */
32841
32842 int
32843 main ()
32844 {
32845
32846 ;
32847 return 0;
32848 }
32849 _ACEOF
32850 rm -f conftest.$ac_objext
32851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32852 (eval $ac_compile) 2>conftest.er1
32853 ac_status=$?
32854 grep -v '^ *+' conftest.er1 >conftest.err
32855 rm -f conftest.er1
32856 cat conftest.err >&5
32857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32858 (exit $ac_status); } &&
32859 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32861 (eval $ac_try) 2>&5
32862 ac_status=$?
32863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32864 (exit $ac_status); }; } &&
32865 { ac_try='test -s conftest.$ac_objext'
32866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32867 (eval $ac_try) 2>&5
32868 ac_status=$?
32869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32870 (exit $ac_status); }; }; then
32871 wx_cv_cflags_mthread=yes
32872 else
32873 echo "$as_me: failed program was:" >&5
32874 sed 's/^/| /' conftest.$ac_ext >&5
32875
32876 wx_cv_cflags_mthread=no
32877
32878 fi
32879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32880
32881
32882 fi
32883 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
32884 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
32885
32886 if test "$wx_cv_cflags_mthread" = "yes"; then
32887 CXXFLAGS="$CXXFLAGS -mthreads"
32888 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
32889 LDFLAGS="$LDFLAGS -mthreads"
32890 else
32891 CFLAGS="$CFLAGS_OLD"
32892 fi
32893 ;;
32894 *-pc-os2*emx )
32895 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
32896 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
32897 LDFLAGS="$LDFLAGS -Zmt"
32898 ;;
32899 esac
32900 fi
32901 fi
32902
32903 if test "$wxUSE_THREADS" = "yes"; then
32904 cat >>confdefs.h <<\_ACEOF
32905 #define wxUSE_THREADS 1
32906 _ACEOF
32907
32908
32909 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
32910 else
32911 if test "$ac_cv_func_strtok_r" = "yes"; then
32912 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
32913 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
32914 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
32915 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
32916 echo "$as_me:$LINENO: result: yes" >&5
32917 echo "${ECHO_T}yes" >&6
32918 else
32919 echo "$as_me:$LINENO: result: no" >&5
32920 echo "${ECHO_T}no" >&6
32921 fi
32922 fi
32923 fi
32924
32925 if test "$WXGTK20" = 1 ; then
32926 cat >>confdefs.h <<_ACEOF
32927 #define __WXGTK20__ $WXGTK20
32928 _ACEOF
32929
32930 WXGTK12=1
32931 fi
32932
32933 if test "$WXGTK12" = 1 ; then
32934 cat >>confdefs.h <<_ACEOF
32935 #define __WXGTK12__ $WXGTK12
32936 _ACEOF
32937
32938 fi
32939
32940 if test "$WXGTK127" = 1 ; then
32941 cat >>confdefs.h <<_ACEOF
32942 #define __WXGTK127__ $WXGTK127
32943 _ACEOF
32944
32945 fi
32946
32947 if test "$WXGPE" = 1 ; then
32948 cat >>confdefs.h <<_ACEOF
32949 #define __WXGPE__ $WXGPE
32950 _ACEOF
32951
32952 fi
32953
32954 WXDEBUG=
32955
32956 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
32957 WXDEBUG="-g"
32958 wxUSE_OPTIMISE=no
32959 fi
32960
32961 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
32962 wxUSE_DEBUG_INFO=yes
32963 WXDEBUG="-ggdb"
32964 fi
32965
32966 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
32967 cat >>confdefs.h <<\_ACEOF
32968 #define WXDEBUG 1
32969 _ACEOF
32970
32971 WXDEBUG_DEFINE="-D__WXDEBUG__"
32972 else
32973 if test "$wxUSE_GTK" = 1 ; then
32974 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
32975 fi
32976 fi
32977
32978 if test "$wxUSE_MEM_TRACING" = "yes" ; then
32979 cat >>confdefs.h <<\_ACEOF
32980 #define wxUSE_MEMORY_TRACING 1
32981 _ACEOF
32982
32983 cat >>confdefs.h <<\_ACEOF
32984 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
32985 _ACEOF
32986
32987 cat >>confdefs.h <<\_ACEOF
32988 #define wxUSE_DEBUG_NEW_ALWAYS 1
32989 _ACEOF
32990
32991 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
32992 fi
32993
32994 if test "$wxUSE_DMALLOC" = "yes" ; then
32995 DMALLOC_LIBS="-ldmalloc"
32996 fi
32997
32998 PROFILE=
32999 if test "$wxUSE_PROFILE" = "yes" ; then
33000 PROFILE=" -pg"
33001 fi
33002
33003 CODE_GEN_FLAGS=
33004 CODE_GEN_FLAGS_CXX=
33005 if test "$GCC" = "yes" ; then
33006 if test "$wxUSE_NO_RTTI" = "yes" ; then
33007 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
33008 fi
33009 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33010 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33011 fi
33012 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33013 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
33014 fi
33015
33016 case "${host}" in
33017 powerpc*-*-aix* )
33018 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
33019 ;;
33020 *-hppa* )
33021 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
33022 ;;
33023 esac
33024 fi
33025
33026 OPTIMISE=
33027 if test "$wxUSE_OPTIMISE" = "no" ; then
33028 if test "$GCC" = yes ; then
33029 OPTIMISE="-O0"
33030 fi
33031 else
33032 if test "$GCC" = yes ; then
33033 OPTIMISE="-O2"
33034
33035 case "${host}" in
33036 i586-*-*|i686-*-* )
33037 OPTIMISE="${OPTIMISE} "
33038 ;;
33039 esac
33040 else
33041 OPTIMISE="-O"
33042 fi
33043 fi
33044
33045
33046 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33047 cat >>confdefs.h <<\_ACEOF
33048 #define WXWIN_COMPATIBILITY_2_2 1
33049 _ACEOF
33050
33051
33052 WXWIN_COMPATIBILITY_2_4="yes"
33053 fi
33054
33055 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33056 cat >>confdefs.h <<\_ACEOF
33057 #define WXWIN_COMPATIBILITY_2_4 1
33058 _ACEOF
33059
33060 fi
33061
33062
33063 if test "$wxUSE_GUI" = "yes"; then
33064 cat >>confdefs.h <<\_ACEOF
33065 #define wxUSE_GUI 1
33066 _ACEOF
33067
33068
33069 else
33070 cat >>confdefs.h <<\_ACEOF
33071 #define wxUSE_NOGUI 1
33072 _ACEOF
33073
33074 fi
33075
33076
33077 if test "$wxUSE_UNIX" = "yes"; then
33078 cat >>confdefs.h <<\_ACEOF
33079 #define wxUSE_UNIX 1
33080 _ACEOF
33081
33082 fi
33083
33084
33085 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33086
33087 HAVE_DL_FUNCS=0
33088 HAVE_SHL_FUNCS=0
33089 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33090 if test "$USE_DARWIN" = 1; then
33091 HAVE_DL_FUNCS=1
33092 else
33093
33094 for ac_func in dlopen
33095 do
33096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33097 echo "$as_me:$LINENO: checking for $ac_func" >&5
33098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33099 if eval "test \"\${$as_ac_var+set}\" = set"; then
33100 echo $ECHO_N "(cached) $ECHO_C" >&6
33101 else
33102 cat >conftest.$ac_ext <<_ACEOF
33103 /* confdefs.h. */
33104 _ACEOF
33105 cat confdefs.h >>conftest.$ac_ext
33106 cat >>conftest.$ac_ext <<_ACEOF
33107 /* end confdefs.h. */
33108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33110 #define $ac_func innocuous_$ac_func
33111
33112 /* System header to define __stub macros and hopefully few prototypes,
33113 which can conflict with char $ac_func (); below.
33114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33115 <limits.h> exists even on freestanding compilers. */
33116
33117 #ifdef __STDC__
33118 # include <limits.h>
33119 #else
33120 # include <assert.h>
33121 #endif
33122
33123 #undef $ac_func
33124
33125 /* Override any gcc2 internal prototype to avoid an error. */
33126 #ifdef __cplusplus
33127 extern "C"
33128 {
33129 #endif
33130 /* We use char because int might match the return type of a gcc2
33131 builtin and then its argument prototype would still apply. */
33132 char $ac_func ();
33133 /* The GNU C library defines this for functions which it implements
33134 to always fail with ENOSYS. Some functions are actually named
33135 something starting with __ and the normal name is an alias. */
33136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33137 choke me
33138 #else
33139 char (*f) () = $ac_func;
33140 #endif
33141 #ifdef __cplusplus
33142 }
33143 #endif
33144
33145 int
33146 main ()
33147 {
33148 return f != $ac_func;
33149 ;
33150 return 0;
33151 }
33152 _ACEOF
33153 rm -f conftest.$ac_objext conftest$ac_exeext
33154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33155 (eval $ac_link) 2>conftest.er1
33156 ac_status=$?
33157 grep -v '^ *+' conftest.er1 >conftest.err
33158 rm -f conftest.er1
33159 cat conftest.err >&5
33160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33161 (exit $ac_status); } &&
33162 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33164 (eval $ac_try) 2>&5
33165 ac_status=$?
33166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33167 (exit $ac_status); }; } &&
33168 { ac_try='test -s conftest$ac_exeext'
33169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33170 (eval $ac_try) 2>&5
33171 ac_status=$?
33172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33173 (exit $ac_status); }; }; then
33174 eval "$as_ac_var=yes"
33175 else
33176 echo "$as_me: failed program was:" >&5
33177 sed 's/^/| /' conftest.$ac_ext >&5
33178
33179 eval "$as_ac_var=no"
33180 fi
33181 rm -f conftest.err conftest.$ac_objext \
33182 conftest$ac_exeext conftest.$ac_ext
33183 fi
33184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33186 if test `eval echo '${'$as_ac_var'}'` = yes; then
33187 cat >>confdefs.h <<_ACEOF
33188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33189 _ACEOF
33190
33191 cat >>confdefs.h <<\_ACEOF
33192 #define HAVE_DLOPEN 1
33193 _ACEOF
33194
33195 HAVE_DL_FUNCS=1
33196
33197 else
33198
33199 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33200 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33201 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33202 echo $ECHO_N "(cached) $ECHO_C" >&6
33203 else
33204 ac_check_lib_save_LIBS=$LIBS
33205 LIBS="-ldl $LIBS"
33206 cat >conftest.$ac_ext <<_ACEOF
33207 /* confdefs.h. */
33208 _ACEOF
33209 cat confdefs.h >>conftest.$ac_ext
33210 cat >>conftest.$ac_ext <<_ACEOF
33211 /* end confdefs.h. */
33212
33213 /* Override any gcc2 internal prototype to avoid an error. */
33214 #ifdef __cplusplus
33215 extern "C"
33216 #endif
33217 /* We use char because int might match the return type of a gcc2
33218 builtin and then its argument prototype would still apply. */
33219 char dlopen ();
33220 int
33221 main ()
33222 {
33223 dlopen ();
33224 ;
33225 return 0;
33226 }
33227 _ACEOF
33228 rm -f conftest.$ac_objext conftest$ac_exeext
33229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33230 (eval $ac_link) 2>conftest.er1
33231 ac_status=$?
33232 grep -v '^ *+' conftest.er1 >conftest.err
33233 rm -f conftest.er1
33234 cat conftest.err >&5
33235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33236 (exit $ac_status); } &&
33237 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33239 (eval $ac_try) 2>&5
33240 ac_status=$?
33241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33242 (exit $ac_status); }; } &&
33243 { ac_try='test -s conftest$ac_exeext'
33244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33245 (eval $ac_try) 2>&5
33246 ac_status=$?
33247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33248 (exit $ac_status); }; }; then
33249 ac_cv_lib_dl_dlopen=yes
33250 else
33251 echo "$as_me: failed program was:" >&5
33252 sed 's/^/| /' conftest.$ac_ext >&5
33253
33254 ac_cv_lib_dl_dlopen=no
33255 fi
33256 rm -f conftest.err conftest.$ac_objext \
33257 conftest$ac_exeext conftest.$ac_ext
33258 LIBS=$ac_check_lib_save_LIBS
33259 fi
33260 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33261 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33262 if test $ac_cv_lib_dl_dlopen = yes; then
33263
33264 cat >>confdefs.h <<\_ACEOF
33265 #define HAVE_DLOPEN 1
33266 _ACEOF
33267
33268 HAVE_DL_FUNCS=1
33269 DL_LINK=" -ldl$DL_LINK"
33270
33271 else
33272
33273
33274 for ac_func in shl_load
33275 do
33276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33277 echo "$as_me:$LINENO: checking for $ac_func" >&5
33278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33279 if eval "test \"\${$as_ac_var+set}\" = set"; then
33280 echo $ECHO_N "(cached) $ECHO_C" >&6
33281 else
33282 cat >conftest.$ac_ext <<_ACEOF
33283 /* confdefs.h. */
33284 _ACEOF
33285 cat confdefs.h >>conftest.$ac_ext
33286 cat >>conftest.$ac_ext <<_ACEOF
33287 /* end confdefs.h. */
33288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33290 #define $ac_func innocuous_$ac_func
33291
33292 /* System header to define __stub macros and hopefully few prototypes,
33293 which can conflict with char $ac_func (); below.
33294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33295 <limits.h> exists even on freestanding compilers. */
33296
33297 #ifdef __STDC__
33298 # include <limits.h>
33299 #else
33300 # include <assert.h>
33301 #endif
33302
33303 #undef $ac_func
33304
33305 /* Override any gcc2 internal prototype to avoid an error. */
33306 #ifdef __cplusplus
33307 extern "C"
33308 {
33309 #endif
33310 /* We use char because int might match the return type of a gcc2
33311 builtin and then its argument prototype would still apply. */
33312 char $ac_func ();
33313 /* The GNU C library defines this for functions which it implements
33314 to always fail with ENOSYS. Some functions are actually named
33315 something starting with __ and the normal name is an alias. */
33316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33317 choke me
33318 #else
33319 char (*f) () = $ac_func;
33320 #endif
33321 #ifdef __cplusplus
33322 }
33323 #endif
33324
33325 int
33326 main ()
33327 {
33328 return f != $ac_func;
33329 ;
33330 return 0;
33331 }
33332 _ACEOF
33333 rm -f conftest.$ac_objext conftest$ac_exeext
33334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33335 (eval $ac_link) 2>conftest.er1
33336 ac_status=$?
33337 grep -v '^ *+' conftest.er1 >conftest.err
33338 rm -f conftest.er1
33339 cat conftest.err >&5
33340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33341 (exit $ac_status); } &&
33342 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33344 (eval $ac_try) 2>&5
33345 ac_status=$?
33346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33347 (exit $ac_status); }; } &&
33348 { ac_try='test -s conftest$ac_exeext'
33349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33350 (eval $ac_try) 2>&5
33351 ac_status=$?
33352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33353 (exit $ac_status); }; }; then
33354 eval "$as_ac_var=yes"
33355 else
33356 echo "$as_me: failed program was:" >&5
33357 sed 's/^/| /' conftest.$ac_ext >&5
33358
33359 eval "$as_ac_var=no"
33360 fi
33361 rm -f conftest.err conftest.$ac_objext \
33362 conftest$ac_exeext conftest.$ac_ext
33363 fi
33364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33365 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33366 if test `eval echo '${'$as_ac_var'}'` = yes; then
33367 cat >>confdefs.h <<_ACEOF
33368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33369 _ACEOF
33370
33371 cat >>confdefs.h <<\_ACEOF
33372 #define HAVE_SHL_LOAD 1
33373 _ACEOF
33374
33375 HAVE_SHL_FUNCS=1
33376
33377 else
33378
33379 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33380 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33381 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33382 echo $ECHO_N "(cached) $ECHO_C" >&6
33383 else
33384 ac_check_lib_save_LIBS=$LIBS
33385 LIBS="-lshl_load $LIBS"
33386 cat >conftest.$ac_ext <<_ACEOF
33387 /* confdefs.h. */
33388 _ACEOF
33389 cat confdefs.h >>conftest.$ac_ext
33390 cat >>conftest.$ac_ext <<_ACEOF
33391 /* end confdefs.h. */
33392
33393 /* Override any gcc2 internal prototype to avoid an error. */
33394 #ifdef __cplusplus
33395 extern "C"
33396 #endif
33397 /* We use char because int might match the return type of a gcc2
33398 builtin and then its argument prototype would still apply. */
33399 char dld ();
33400 int
33401 main ()
33402 {
33403 dld ();
33404 ;
33405 return 0;
33406 }
33407 _ACEOF
33408 rm -f conftest.$ac_objext conftest$ac_exeext
33409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33410 (eval $ac_link) 2>conftest.er1
33411 ac_status=$?
33412 grep -v '^ *+' conftest.er1 >conftest.err
33413 rm -f conftest.er1
33414 cat conftest.err >&5
33415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33416 (exit $ac_status); } &&
33417 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33419 (eval $ac_try) 2>&5
33420 ac_status=$?
33421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33422 (exit $ac_status); }; } &&
33423 { ac_try='test -s conftest$ac_exeext'
33424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33425 (eval $ac_try) 2>&5
33426 ac_status=$?
33427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33428 (exit $ac_status); }; }; then
33429 ac_cv_lib_shl_load_dld=yes
33430 else
33431 echo "$as_me: failed program was:" >&5
33432 sed 's/^/| /' conftest.$ac_ext >&5
33433
33434 ac_cv_lib_shl_load_dld=no
33435 fi
33436 rm -f conftest.err conftest.$ac_objext \
33437 conftest$ac_exeext conftest.$ac_ext
33438 LIBS=$ac_check_lib_save_LIBS
33439 fi
33440 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33441 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33442 if test $ac_cv_lib_shl_load_dld = yes; then
33443
33444 HAVE_SHL_FUNCS=1
33445 DL_LINK=" -ldld$DL_LINK"
33446
33447 fi
33448
33449
33450 fi
33451 done
33452
33453
33454 fi
33455
33456
33457 fi
33458 done
33459
33460
33461 if test "$HAVE_DL_FUNCS" = 1; then
33462
33463 for ac_func in dlerror
33464 do
33465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33466 echo "$as_me:$LINENO: checking for $ac_func" >&5
33467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33468 if eval "test \"\${$as_ac_var+set}\" = set"; then
33469 echo $ECHO_N "(cached) $ECHO_C" >&6
33470 else
33471 cat >conftest.$ac_ext <<_ACEOF
33472 /* confdefs.h. */
33473 _ACEOF
33474 cat confdefs.h >>conftest.$ac_ext
33475 cat >>conftest.$ac_ext <<_ACEOF
33476 /* end confdefs.h. */
33477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33479 #define $ac_func innocuous_$ac_func
33480
33481 /* System header to define __stub macros and hopefully few prototypes,
33482 which can conflict with char $ac_func (); below.
33483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33484 <limits.h> exists even on freestanding compilers. */
33485
33486 #ifdef __STDC__
33487 # include <limits.h>
33488 #else
33489 # include <assert.h>
33490 #endif
33491
33492 #undef $ac_func
33493
33494 /* Override any gcc2 internal prototype to avoid an error. */
33495 #ifdef __cplusplus
33496 extern "C"
33497 {
33498 #endif
33499 /* We use char because int might match the return type of a gcc2
33500 builtin and then its argument prototype would still apply. */
33501 char $ac_func ();
33502 /* The GNU C library defines this for functions which it implements
33503 to always fail with ENOSYS. Some functions are actually named
33504 something starting with __ and the normal name is an alias. */
33505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33506 choke me
33507 #else
33508 char (*f) () = $ac_func;
33509 #endif
33510 #ifdef __cplusplus
33511 }
33512 #endif
33513
33514 int
33515 main ()
33516 {
33517 return f != $ac_func;
33518 ;
33519 return 0;
33520 }
33521 _ACEOF
33522 rm -f conftest.$ac_objext conftest$ac_exeext
33523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33524 (eval $ac_link) 2>conftest.er1
33525 ac_status=$?
33526 grep -v '^ *+' conftest.er1 >conftest.err
33527 rm -f conftest.er1
33528 cat conftest.err >&5
33529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33530 (exit $ac_status); } &&
33531 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33533 (eval $ac_try) 2>&5
33534 ac_status=$?
33535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33536 (exit $ac_status); }; } &&
33537 { ac_try='test -s conftest$ac_exeext'
33538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33539 (eval $ac_try) 2>&5
33540 ac_status=$?
33541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33542 (exit $ac_status); }; }; then
33543 eval "$as_ac_var=yes"
33544 else
33545 echo "$as_me: failed program was:" >&5
33546 sed 's/^/| /' conftest.$ac_ext >&5
33547
33548 eval "$as_ac_var=no"
33549 fi
33550 rm -f conftest.err conftest.$ac_objext \
33551 conftest$ac_exeext conftest.$ac_ext
33552 fi
33553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33555 if test `eval echo '${'$as_ac_var'}'` = yes; then
33556 cat >>confdefs.h <<_ACEOF
33557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33558 _ACEOF
33559 cat >>confdefs.h <<\_ACEOF
33560 #define HAVE_DLERROR 1
33561 _ACEOF
33562
33563 else
33564
33565 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
33566 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
33567 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
33568 echo $ECHO_N "(cached) $ECHO_C" >&6
33569 else
33570 ac_check_lib_save_LIBS=$LIBS
33571 LIBS="-ldl $LIBS"
33572 cat >conftest.$ac_ext <<_ACEOF
33573 /* confdefs.h. */
33574 _ACEOF
33575 cat confdefs.h >>conftest.$ac_ext
33576 cat >>conftest.$ac_ext <<_ACEOF
33577 /* end confdefs.h. */
33578
33579 /* Override any gcc2 internal prototype to avoid an error. */
33580 #ifdef __cplusplus
33581 extern "C"
33582 #endif
33583 /* We use char because int might match the return type of a gcc2
33584 builtin and then its argument prototype would still apply. */
33585 char dlerror ();
33586 int
33587 main ()
33588 {
33589 dlerror ();
33590 ;
33591 return 0;
33592 }
33593 _ACEOF
33594 rm -f conftest.$ac_objext conftest$ac_exeext
33595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33596 (eval $ac_link) 2>conftest.er1
33597 ac_status=$?
33598 grep -v '^ *+' conftest.er1 >conftest.err
33599 rm -f conftest.er1
33600 cat conftest.err >&5
33601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33602 (exit $ac_status); } &&
33603 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33605 (eval $ac_try) 2>&5
33606 ac_status=$?
33607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33608 (exit $ac_status); }; } &&
33609 { ac_try='test -s conftest$ac_exeext'
33610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33611 (eval $ac_try) 2>&5
33612 ac_status=$?
33613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33614 (exit $ac_status); }; }; then
33615 ac_cv_lib_dl_dlerror=yes
33616 else
33617 echo "$as_me: failed program was:" >&5
33618 sed 's/^/| /' conftest.$ac_ext >&5
33619
33620 ac_cv_lib_dl_dlerror=no
33621 fi
33622 rm -f conftest.err conftest.$ac_objext \
33623 conftest$ac_exeext conftest.$ac_ext
33624 LIBS=$ac_check_lib_save_LIBS
33625 fi
33626 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
33627 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
33628 if test $ac_cv_lib_dl_dlerror = yes; then
33629 cat >>confdefs.h <<\_ACEOF
33630 #define HAVE_DLERROR 1
33631 _ACEOF
33632
33633 fi
33634
33635
33636
33637 fi
33638 done
33639
33640 fi
33641 fi
33642
33643 if test "$HAVE_DL_FUNCS" = 0; then
33644 if test "$HAVE_SHL_FUNCS" = 0; then
33645 if test "$USE_UNIX" = 1; then
33646 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33647 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33648 wxUSE_DYNAMIC_LOADER=no
33649 wxUSE_DYNLIB_CLASS=no
33650 else
33651 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
33652 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33653 fi
33654 fi
33655 fi
33656 fi
33657 fi
33658
33659 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33660 cat >>confdefs.h <<\_ACEOF
33661 #define wxUSE_DYNAMIC_LOADER 1
33662 _ACEOF
33663
33664 fi
33665 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33666 cat >>confdefs.h <<\_ACEOF
33667 #define wxUSE_DYNLIB_CLASS 1
33668 _ACEOF
33669
33670 fi
33671
33672
33673
33674 if test "$wxUSE_PLUGINS" = "yes" ; then
33675 if test "$wxUSE_SHARED" = "no" ; then
33676 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
33677 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33678 wxUSE_PLUGINS=no
33679 fi
33680 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33681 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
33682 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33683 wxUSE_PLUGINS=no
33684 fi
33685 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33686 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33687 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33688 wxUSE_PLUGINS=no
33689 fi
33690 if test "$wxUSE_PLUGINS" = "yes" ; then
33691 cat >>confdefs.h <<\_ACEOF
33692 #define wxUSE_PLUGINS 1
33693 _ACEOF
33694
33695 fi
33696 fi
33697
33698
33699 if test "$wxUSE_STL" = "yes"; then
33700 cat >>confdefs.h <<\_ACEOF
33701 #define wxUSE_STL 1
33702 _ACEOF
33703
33704 fi
33705
33706 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33707 cat >>confdefs.h <<\_ACEOF
33708 #define wxUSE_APPLE_IEEE 1
33709 _ACEOF
33710
33711 fi
33712
33713 if test "$wxUSE_TIMER" = "yes"; then
33714 cat >>confdefs.h <<\_ACEOF
33715 #define wxUSE_TIMER 1
33716 _ACEOF
33717
33718 fi
33719
33720 WITH_PLUGIN_SDL=0
33721 if test "$wxUSE_SOUND" = "yes"; then
33722 if test "$USE_UNIX" = "1" ; then
33723
33724 for ac_header in sys/soundcard.h
33725 do
33726 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33728 echo "$as_me:$LINENO: checking for $ac_header" >&5
33729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33731 echo $ECHO_N "(cached) $ECHO_C" >&6
33732 fi
33733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33734 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33735 else
33736 # Is the header compilable?
33737 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33738 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33739 cat >conftest.$ac_ext <<_ACEOF
33740 /* confdefs.h. */
33741 _ACEOF
33742 cat confdefs.h >>conftest.$ac_ext
33743 cat >>conftest.$ac_ext <<_ACEOF
33744 /* end confdefs.h. */
33745 $ac_includes_default
33746 #include <$ac_header>
33747 _ACEOF
33748 rm -f conftest.$ac_objext
33749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33750 (eval $ac_compile) 2>conftest.er1
33751 ac_status=$?
33752 grep -v '^ *+' conftest.er1 >conftest.err
33753 rm -f conftest.er1
33754 cat conftest.err >&5
33755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33756 (exit $ac_status); } &&
33757 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33759 (eval $ac_try) 2>&5
33760 ac_status=$?
33761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33762 (exit $ac_status); }; } &&
33763 { ac_try='test -s conftest.$ac_objext'
33764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33765 (eval $ac_try) 2>&5
33766 ac_status=$?
33767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33768 (exit $ac_status); }; }; then
33769 ac_header_compiler=yes
33770 else
33771 echo "$as_me: failed program was:" >&5
33772 sed 's/^/| /' conftest.$ac_ext >&5
33773
33774 ac_header_compiler=no
33775 fi
33776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33777 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33778 echo "${ECHO_T}$ac_header_compiler" >&6
33779
33780 # Is the header present?
33781 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33782 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33783 cat >conftest.$ac_ext <<_ACEOF
33784 /* confdefs.h. */
33785 _ACEOF
33786 cat confdefs.h >>conftest.$ac_ext
33787 cat >>conftest.$ac_ext <<_ACEOF
33788 /* end confdefs.h. */
33789 #include <$ac_header>
33790 _ACEOF
33791 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33792 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33793 ac_status=$?
33794 grep -v '^ *+' conftest.er1 >conftest.err
33795 rm -f conftest.er1
33796 cat conftest.err >&5
33797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33798 (exit $ac_status); } >/dev/null; then
33799 if test -s conftest.err; then
33800 ac_cpp_err=$ac_c_preproc_warn_flag
33801 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33802 else
33803 ac_cpp_err=
33804 fi
33805 else
33806 ac_cpp_err=yes
33807 fi
33808 if test -z "$ac_cpp_err"; then
33809 ac_header_preproc=yes
33810 else
33811 echo "$as_me: failed program was:" >&5
33812 sed 's/^/| /' conftest.$ac_ext >&5
33813
33814 ac_header_preproc=no
33815 fi
33816 rm -f conftest.err conftest.$ac_ext
33817 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33818 echo "${ECHO_T}$ac_header_preproc" >&6
33819
33820 # So? What about this header?
33821 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33822 yes:no: )
33823 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33824 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33825 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33826 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33827 ac_header_preproc=yes
33828 ;;
33829 no:yes:* )
33830 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33831 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33832 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33833 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33834 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33835 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33836 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33837 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33838 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33839 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33840 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33841 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33842 (
33843 cat <<\_ASBOX
33844 ## ----------------------------------------- ##
33845 ## Report this to wx-dev@lists.wxwidgets.org ##
33846 ## ----------------------------------------- ##
33847 _ASBOX
33848 ) |
33849 sed "s/^/$as_me: WARNING: /" >&2
33850 ;;
33851 esac
33852 echo "$as_me:$LINENO: checking for $ac_header" >&5
33853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33855 echo $ECHO_N "(cached) $ECHO_C" >&6
33856 else
33857 eval "$as_ac_Header=\$ac_header_preproc"
33858 fi
33859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33860 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33861
33862 fi
33863 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33864 cat >>confdefs.h <<_ACEOF
33865 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33866 _ACEOF
33867
33868 fi
33869
33870 done
33871
33872
33873 if test "$wxUSE_LIBSDL" != "no"; then
33874
33875 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
33876 if test "${with_sdl_prefix+set}" = set; then
33877 withval="$with_sdl_prefix"
33878 sdl_prefix="$withval"
33879 else
33880 sdl_prefix=""
33881 fi;
33882
33883 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
33884 if test "${with_sdl_exec_prefix+set}" = set; then
33885 withval="$with_sdl_exec_prefix"
33886 sdl_exec_prefix="$withval"
33887 else
33888 sdl_exec_prefix=""
33889 fi;
33890 # Check whether --enable-sdltest or --disable-sdltest was given.
33891 if test "${enable_sdltest+set}" = set; then
33892 enableval="$enable_sdltest"
33893
33894 else
33895 enable_sdltest=yes
33896 fi;
33897
33898 if test x$sdl_exec_prefix != x ; then
33899 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
33900 if test x${SDL_CONFIG+set} != xset ; then
33901 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
33902 fi
33903 fi
33904 if test x$sdl_prefix != x ; then
33905 sdl_args="$sdl_args --prefix=$sdl_prefix"
33906 if test x${SDL_CONFIG+set} != xset ; then
33907 SDL_CONFIG=$sdl_prefix/bin/sdl-config
33908 fi
33909 fi
33910
33911
33912 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
33913 # Extract the first word of "sdl-config", so it can be a program name with args.
33914 set dummy sdl-config; ac_word=$2
33915 echo "$as_me:$LINENO: checking for $ac_word" >&5
33916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33917 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
33918 echo $ECHO_N "(cached) $ECHO_C" >&6
33919 else
33920 case $SDL_CONFIG in
33921 [\\/]* | ?:[\\/]*)
33922 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
33923 ;;
33924 *)
33925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33926 for as_dir in $PATH
33927 do
33928 IFS=$as_save_IFS
33929 test -z "$as_dir" && as_dir=.
33930 for ac_exec_ext in '' $ac_executable_extensions; do
33931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33932 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33934 break 2
33935 fi
33936 done
33937 done
33938
33939 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
33940 ;;
33941 esac
33942 fi
33943 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
33944
33945 if test -n "$SDL_CONFIG"; then
33946 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
33947 echo "${ECHO_T}$SDL_CONFIG" >&6
33948 else
33949 echo "$as_me:$LINENO: result: no" >&5
33950 echo "${ECHO_T}no" >&6
33951 fi
33952
33953 min_sdl_version=1.2.0
33954 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
33955 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
33956 no_sdl=""
33957 if test "$SDL_CONFIG" = "no" ; then
33958 no_sdl=yes
33959 else
33960 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
33961 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
33962
33963 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
33964 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33965 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
33966 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33967 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
33968 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33969 if test "x$enable_sdltest" = "xyes" ; then
33970 ac_save_CFLAGS="$CFLAGS"
33971 ac_save_LIBS="$LIBS"
33972 CFLAGS="$CFLAGS $SDL_CFLAGS"
33973 LIBS="$LIBS $SDL_LIBS"
33974 rm -f conf.sdltest
33975 if test "$cross_compiling" = yes; then
33976 echo $ac_n "cross compiling; assumed OK... $ac_c"
33977 else
33978 cat >conftest.$ac_ext <<_ACEOF
33979 /* confdefs.h. */
33980 _ACEOF
33981 cat confdefs.h >>conftest.$ac_ext
33982 cat >>conftest.$ac_ext <<_ACEOF
33983 /* end confdefs.h. */
33984
33985 #include <stdio.h>
33986 #include <stdlib.h>
33987 #include <string.h>
33988 #include "SDL.h"
33989
33990 char*
33991 my_strdup (char *str)
33992 {
33993 char *new_str;
33994
33995 if (str)
33996 {
33997 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33998 strcpy (new_str, str);
33999 }
34000 else
34001 new_str = NULL;
34002
34003 return new_str;
34004 }
34005
34006 int main (int argc, char *argv[])
34007 {
34008 int major, minor, micro;
34009 char *tmp_version;
34010
34011 /* This hangs on some systems (?)
34012 system ("touch conf.sdltest");
34013 */
34014 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34015
34016 /* HP/UX 9 (%@#!) writes to sscanf strings */
34017 tmp_version = my_strdup("$min_sdl_version");
34018 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
34019 printf("%s, bad version string\n", "$min_sdl_version");
34020 exit(1);
34021 }
34022
34023 if (($sdl_major_version > major) ||
34024 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34025 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34026 {
34027 return 0;
34028 }
34029 else
34030 {
34031 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34032 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34033 printf("*** best to upgrade to the required version.\n");
34034 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34035 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34036 printf("*** config.cache before re-running configure\n");
34037 return 1;
34038 }
34039 }
34040
34041
34042 _ACEOF
34043 rm -f conftest$ac_exeext
34044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34045 (eval $ac_link) 2>&5
34046 ac_status=$?
34047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34048 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34050 (eval $ac_try) 2>&5
34051 ac_status=$?
34052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34053 (exit $ac_status); }; }; then
34054 :
34055 else
34056 echo "$as_me: program exited with status $ac_status" >&5
34057 echo "$as_me: failed program was:" >&5
34058 sed 's/^/| /' conftest.$ac_ext >&5
34059
34060 ( exit $ac_status )
34061 no_sdl=yes
34062 fi
34063 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34064 fi
34065 CFLAGS="$ac_save_CFLAGS"
34066 LIBS="$ac_save_LIBS"
34067 fi
34068 fi
34069 if test "x$no_sdl" = x ; then
34070 echo "$as_me:$LINENO: result: yes" >&5
34071 echo "${ECHO_T}yes" >&6
34072
34073 EXTRALIBS_SDL="$SDL_LIBS"
34074 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
34075 cat >>confdefs.h <<\_ACEOF
34076 #define wxUSE_LIBSDL 1
34077 _ACEOF
34078
34079
34080 else
34081 echo "$as_me:$LINENO: result: no" >&5
34082 echo "${ECHO_T}no" >&6
34083 if test "$SDL_CONFIG" = "no" ; then
34084 echo "*** The sdl-config script installed by SDL could not be found"
34085 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34086 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34087 echo "*** full path to sdl-config."
34088 else
34089 if test -f conf.sdltest ; then
34090 :
34091 else
34092 echo "*** Could not run SDL test program, checking why..."
34093 CFLAGS="$CFLAGS $SDL_CFLAGS"
34094 LIBS="$LIBS $SDL_LIBS"
34095 cat >conftest.$ac_ext <<_ACEOF
34096 /* confdefs.h. */
34097 _ACEOF
34098 cat confdefs.h >>conftest.$ac_ext
34099 cat >>conftest.$ac_ext <<_ACEOF
34100 /* end confdefs.h. */
34101
34102 #include <stdio.h>
34103 #include "SDL.h"
34104
34105 int main(int argc, char *argv[])
34106 { return 0; }
34107 #undef main
34108 #define main K_and_R_C_main
34109
34110 int
34111 main ()
34112 {
34113 return 0;
34114 ;
34115 return 0;
34116 }
34117 _ACEOF
34118 rm -f conftest.$ac_objext conftest$ac_exeext
34119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34120 (eval $ac_link) 2>conftest.er1
34121 ac_status=$?
34122 grep -v '^ *+' conftest.er1 >conftest.err
34123 rm -f conftest.er1
34124 cat conftest.err >&5
34125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34126 (exit $ac_status); } &&
34127 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34129 (eval $ac_try) 2>&5
34130 ac_status=$?
34131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34132 (exit $ac_status); }; } &&
34133 { ac_try='test -s conftest$ac_exeext'
34134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34135 (eval $ac_try) 2>&5
34136 ac_status=$?
34137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34138 (exit $ac_status); }; }; then
34139 echo "*** The test program compiled, but did not run. This usually means"
34140 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34141 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34142 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34143 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34144 echo "*** is required on your system"
34145 echo "***"
34146 echo "*** If you have an old version installed, it is best to remove it, although"
34147 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34148 else
34149 echo "$as_me: failed program was:" >&5
34150 sed 's/^/| /' conftest.$ac_ext >&5
34151
34152 echo "*** The test program failed to compile or link. See the file config.log for the"
34153 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34154 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34155 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34156 fi
34157 rm -f conftest.err conftest.$ac_objext \
34158 conftest$ac_exeext conftest.$ac_ext
34159 CFLAGS="$ac_save_CFLAGS"
34160 LIBS="$ac_save_LIBS"
34161 fi
34162 fi
34163 SDL_CFLAGS=""
34164 SDL_LIBS=""
34165 wxUSE_LIBSDL="no"
34166 fi
34167
34168
34169 rm -f conf.sdltest
34170
34171 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34172 WITH_PLUGIN_SDL=1
34173 fi
34174 fi
34175 fi
34176
34177 cat >>confdefs.h <<\_ACEOF
34178 #define wxUSE_SOUND 1
34179 _ACEOF
34180
34181 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
34182 fi
34183
34184 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34185 cat >>confdefs.h <<\_ACEOF
34186 #define wxUSE_CMDLINE_PARSER 1
34187 _ACEOF
34188
34189 fi
34190
34191 if test "$wxUSE_STOPWATCH" = "yes"; then
34192 cat >>confdefs.h <<\_ACEOF
34193 #define wxUSE_STOPWATCH 1
34194 _ACEOF
34195
34196 fi
34197
34198 if test "$wxUSE_DATETIME" = "yes"; then
34199 cat >>confdefs.h <<\_ACEOF
34200 #define wxUSE_DATETIME 1
34201 _ACEOF
34202
34203 fi
34204
34205 if test "$wxUSE_FILE" = "yes"; then
34206 cat >>confdefs.h <<\_ACEOF
34207 #define wxUSE_FILE 1
34208 _ACEOF
34209
34210 fi
34211
34212 if test "$wxUSE_FFILE" = "yes"; then
34213 cat >>confdefs.h <<\_ACEOF
34214 #define wxUSE_FFILE 1
34215 _ACEOF
34216
34217 fi
34218
34219 if test "$wxUSE_FILESYSTEM" = "yes"; then
34220 cat >>confdefs.h <<\_ACEOF
34221 #define wxUSE_FILESYSTEM 1
34222 _ACEOF
34223
34224 fi
34225
34226 if test "$wxUSE_FS_ZIP" = "yes"; then
34227 cat >>confdefs.h <<\_ACEOF
34228 #define wxUSE_FS_ZIP 1
34229 _ACEOF
34230
34231 fi
34232
34233 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34234 cat >>confdefs.h <<\_ACEOF
34235 #define wxUSE_ZIPSTREAM 1
34236 _ACEOF
34237
34238 fi
34239
34240 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34241 cat >>confdefs.h <<\_ACEOF
34242 #define wxUSE_ON_FATAL_EXCEPTION 1
34243 _ACEOF
34244
34245 fi
34246
34247 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34248 cat >>confdefs.h <<\_ACEOF
34249 #define wxUSE_SNGLINST_CHECKER 1
34250 _ACEOF
34251
34252 fi
34253
34254 if test "$wxUSE_BUSYINFO" = "yes"; then
34255 cat >>confdefs.h <<\_ACEOF
34256 #define wxUSE_BUSYINFO 1
34257 _ACEOF
34258
34259 fi
34260
34261 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34262 cat >>confdefs.h <<\_ACEOF
34263 #define wxUSE_STD_IOSTREAM 1
34264 _ACEOF
34265
34266 fi
34267
34268 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34269 cat >>confdefs.h <<\_ACEOF
34270 #define wxUSE_TEXTBUFFER 1
34271 _ACEOF
34272
34273 fi
34274
34275 if test "$wxUSE_TEXTFILE" = "yes"; then
34276 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34277 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34278 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34279 else
34280 cat >>confdefs.h <<\_ACEOF
34281 #define wxUSE_TEXTFILE 1
34282 _ACEOF
34283
34284 fi
34285 fi
34286
34287 if test "$wxUSE_CONFIG" = "yes" ; then
34288 if test "$wxUSE_TEXTFILE" != "yes"; then
34289 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34290 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34291 else
34292 cat >>confdefs.h <<\_ACEOF
34293 #define wxUSE_CONFIG 1
34294 _ACEOF
34295
34296 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34297 fi
34298 fi
34299
34300 if test "$wxUSE_INTL" = "yes" ; then
34301 if test "$wxUSE_FILE" != "yes"; then
34302 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34303 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34304 else
34305 cat >>confdefs.h <<\_ACEOF
34306 #define wxUSE_INTL 1
34307 _ACEOF
34308
34309 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
34310 GUIDIST="$GUIDIST INTL_DIST"
34311 fi
34312 fi
34313
34314 if test "$wxUSE_LOG" = "yes"; then
34315 cat >>confdefs.h <<\_ACEOF
34316 #define wxUSE_LOG 1
34317 _ACEOF
34318
34319
34320 if test "$wxUSE_LOGGUI" = "yes"; then
34321 cat >>confdefs.h <<\_ACEOF
34322 #define wxUSE_LOGGUI 1
34323 _ACEOF
34324
34325 fi
34326
34327 if test "$wxUSE_LOGWINDOW" = "yes"; then
34328 cat >>confdefs.h <<\_ACEOF
34329 #define wxUSE_LOGWINDOW 1
34330 _ACEOF
34331
34332 fi
34333
34334 if test "$wxUSE_LOGDIALOG" = "yes"; then
34335 cat >>confdefs.h <<\_ACEOF
34336 #define wxUSE_LOG_DIALOG 1
34337 _ACEOF
34338
34339 fi
34340 fi
34341
34342 if test "$wxUSE_LONGLONG" = "yes"; then
34343 cat >>confdefs.h <<\_ACEOF
34344 #define wxUSE_LONGLONG 1
34345 _ACEOF
34346
34347 fi
34348
34349 if test "$wxUSE_GEOMETRY" = "yes"; then
34350 cat >>confdefs.h <<\_ACEOF
34351 #define wxUSE_GEOMETRY 1
34352 _ACEOF
34353
34354 fi
34355
34356 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34357 cat >>confdefs.h <<\_ACEOF
34358 #define wxUSE_DIALUP_MANAGER 1
34359 _ACEOF
34360
34361 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
34362 fi
34363
34364 if test "$wxUSE_STREAMS" = "yes" ; then
34365 cat >>confdefs.h <<\_ACEOF
34366 #define wxUSE_STREAMS 1
34367 _ACEOF
34368
34369 fi
34370
34371
34372 if test "$wxUSE_DATETIME" = "yes"; then
34373
34374 for ac_func in strptime
34375 do
34376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34377 echo "$as_me:$LINENO: checking for $ac_func" >&5
34378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34379 if eval "test \"\${$as_ac_var+set}\" = set"; then
34380 echo $ECHO_N "(cached) $ECHO_C" >&6
34381 else
34382 cat >conftest.$ac_ext <<_ACEOF
34383 /* confdefs.h. */
34384 _ACEOF
34385 cat confdefs.h >>conftest.$ac_ext
34386 cat >>conftest.$ac_ext <<_ACEOF
34387 /* end confdefs.h. */
34388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34390 #define $ac_func innocuous_$ac_func
34391
34392 /* System header to define __stub macros and hopefully few prototypes,
34393 which can conflict with char $ac_func (); below.
34394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34395 <limits.h> exists even on freestanding compilers. */
34396
34397 #ifdef __STDC__
34398 # include <limits.h>
34399 #else
34400 # include <assert.h>
34401 #endif
34402
34403 #undef $ac_func
34404
34405 /* Override any gcc2 internal prototype to avoid an error. */
34406 #ifdef __cplusplus
34407 extern "C"
34408 {
34409 #endif
34410 /* We use char because int might match the return type of a gcc2
34411 builtin and then its argument prototype would still apply. */
34412 char $ac_func ();
34413 /* The GNU C library defines this for functions which it implements
34414 to always fail with ENOSYS. Some functions are actually named
34415 something starting with __ and the normal name is an alias. */
34416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34417 choke me
34418 #else
34419 char (*f) () = $ac_func;
34420 #endif
34421 #ifdef __cplusplus
34422 }
34423 #endif
34424
34425 int
34426 main ()
34427 {
34428 return f != $ac_func;
34429 ;
34430 return 0;
34431 }
34432 _ACEOF
34433 rm -f conftest.$ac_objext conftest$ac_exeext
34434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34435 (eval $ac_link) 2>conftest.er1
34436 ac_status=$?
34437 grep -v '^ *+' conftest.er1 >conftest.err
34438 rm -f conftest.er1
34439 cat conftest.err >&5
34440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34441 (exit $ac_status); } &&
34442 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34444 (eval $ac_try) 2>&5
34445 ac_status=$?
34446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34447 (exit $ac_status); }; } &&
34448 { ac_try='test -s conftest$ac_exeext'
34449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34450 (eval $ac_try) 2>&5
34451 ac_status=$?
34452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34453 (exit $ac_status); }; }; then
34454 eval "$as_ac_var=yes"
34455 else
34456 echo "$as_me: failed program was:" >&5
34457 sed 's/^/| /' conftest.$ac_ext >&5
34458
34459 eval "$as_ac_var=no"
34460 fi
34461 rm -f conftest.err conftest.$ac_objext \
34462 conftest$ac_exeext conftest.$ac_ext
34463 fi
34464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34466 if test `eval echo '${'$as_ac_var'}'` = yes; then
34467 cat >>confdefs.h <<_ACEOF
34468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34469 _ACEOF
34470
34471 fi
34472 done
34473
34474
34475 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34476 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34477 if test "${wx_cv_var_timezone+set}" = set; then
34478 echo $ECHO_N "(cached) $ECHO_C" >&6
34479 else
34480
34481 cat >conftest.$ac_ext <<_ACEOF
34482 /* confdefs.h. */
34483 _ACEOF
34484 cat confdefs.h >>conftest.$ac_ext
34485 cat >>conftest.$ac_ext <<_ACEOF
34486 /* end confdefs.h. */
34487
34488 #include <time.h>
34489
34490 int
34491 main ()
34492 {
34493
34494 int tz;
34495 tz = timezone;
34496
34497 ;
34498 return 0;
34499 }
34500 _ACEOF
34501 rm -f conftest.$ac_objext
34502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34503 (eval $ac_compile) 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" || test ! -s conftest.err'
34511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34512 (eval $ac_try) 2>&5
34513 ac_status=$?
34514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34515 (exit $ac_status); }; } &&
34516 { ac_try='test -s conftest.$ac_objext'
34517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34518 (eval $ac_try) 2>&5
34519 ac_status=$?
34520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34521 (exit $ac_status); }; }; then
34522
34523 wx_cv_var_timezone=timezone
34524
34525 else
34526 echo "$as_me: failed program was:" >&5
34527 sed 's/^/| /' conftest.$ac_ext >&5
34528
34529
34530 cat >conftest.$ac_ext <<_ACEOF
34531 /* confdefs.h. */
34532 _ACEOF
34533 cat confdefs.h >>conftest.$ac_ext
34534 cat >>conftest.$ac_ext <<_ACEOF
34535 /* end confdefs.h. */
34536
34537 #include <time.h>
34538
34539 int
34540 main ()
34541 {
34542
34543 int tz;
34544 tz = _timezone;
34545
34546 ;
34547 return 0;
34548 }
34549 _ACEOF
34550 rm -f conftest.$ac_objext
34551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34552 (eval $ac_compile) 2>conftest.er1
34553 ac_status=$?
34554 grep -v '^ *+' conftest.er1 >conftest.err
34555 rm -f conftest.er1
34556 cat conftest.err >&5
34557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34558 (exit $ac_status); } &&
34559 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34561 (eval $ac_try) 2>&5
34562 ac_status=$?
34563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34564 (exit $ac_status); }; } &&
34565 { ac_try='test -s conftest.$ac_objext'
34566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34567 (eval $ac_try) 2>&5
34568 ac_status=$?
34569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34570 (exit $ac_status); }; }; then
34571
34572 wx_cv_var_timezone=_timezone
34573
34574 else
34575 echo "$as_me: failed program was:" >&5
34576 sed 's/^/| /' conftest.$ac_ext >&5
34577
34578
34579 cat >conftest.$ac_ext <<_ACEOF
34580 /* confdefs.h. */
34581 _ACEOF
34582 cat confdefs.h >>conftest.$ac_ext
34583 cat >>conftest.$ac_ext <<_ACEOF
34584 /* end confdefs.h. */
34585
34586 #include <time.h>
34587
34588 int
34589 main ()
34590 {
34591
34592 int tz;
34593 tz = __timezone;
34594
34595 ;
34596 return 0;
34597 }
34598 _ACEOF
34599 rm -f conftest.$ac_objext
34600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34601 (eval $ac_compile) 2>conftest.er1
34602 ac_status=$?
34603 grep -v '^ *+' conftest.er1 >conftest.err
34604 rm -f conftest.er1
34605 cat conftest.err >&5
34606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34607 (exit $ac_status); } &&
34608 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34610 (eval $ac_try) 2>&5
34611 ac_status=$?
34612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34613 (exit $ac_status); }; } &&
34614 { ac_try='test -s conftest.$ac_objext'
34615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34616 (eval $ac_try) 2>&5
34617 ac_status=$?
34618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34619 (exit $ac_status); }; }; then
34620
34621 wx_cv_var_timezone=__timezone
34622
34623 else
34624 echo "$as_me: failed program was:" >&5
34625 sed 's/^/| /' conftest.$ac_ext >&5
34626
34627
34628 if test "$USE_DOS" = 0 ; then
34629 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
34630 echo "$as_me: WARNING: no timezone variable" >&2;}
34631 fi
34632
34633
34634 fi
34635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34636
34637
34638 fi
34639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34640
34641
34642 fi
34643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34644
34645
34646 fi
34647 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
34648 echo "${ECHO_T}$wx_cv_var_timezone" >&6
34649
34650 if test "x$wx_cv_var_timezone" != x ; then
34651 cat >>confdefs.h <<_ACEOF
34652 #define WX_TIMEZONE $wx_cv_var_timezone
34653 _ACEOF
34654
34655 fi
34656
34657
34658 for ac_func in localtime
34659 do
34660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34661 echo "$as_me:$LINENO: checking for $ac_func" >&5
34662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34663 if eval "test \"\${$as_ac_var+set}\" = set"; then
34664 echo $ECHO_N "(cached) $ECHO_C" >&6
34665 else
34666 cat >conftest.$ac_ext <<_ACEOF
34667 /* confdefs.h. */
34668 _ACEOF
34669 cat confdefs.h >>conftest.$ac_ext
34670 cat >>conftest.$ac_ext <<_ACEOF
34671 /* end confdefs.h. */
34672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34674 #define $ac_func innocuous_$ac_func
34675
34676 /* System header to define __stub macros and hopefully few prototypes,
34677 which can conflict with char $ac_func (); below.
34678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34679 <limits.h> exists even on freestanding compilers. */
34680
34681 #ifdef __STDC__
34682 # include <limits.h>
34683 #else
34684 # include <assert.h>
34685 #endif
34686
34687 #undef $ac_func
34688
34689 /* Override any gcc2 internal prototype to avoid an error. */
34690 #ifdef __cplusplus
34691 extern "C"
34692 {
34693 #endif
34694 /* We use char because int might match the return type of a gcc2
34695 builtin and then its argument prototype would still apply. */
34696 char $ac_func ();
34697 /* The GNU C library defines this for functions which it implements
34698 to always fail with ENOSYS. Some functions are actually named
34699 something starting with __ and the normal name is an alias. */
34700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34701 choke me
34702 #else
34703 char (*f) () = $ac_func;
34704 #endif
34705 #ifdef __cplusplus
34706 }
34707 #endif
34708
34709 int
34710 main ()
34711 {
34712 return f != $ac_func;
34713 ;
34714 return 0;
34715 }
34716 _ACEOF
34717 rm -f conftest.$ac_objext conftest$ac_exeext
34718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34719 (eval $ac_link) 2>conftest.er1
34720 ac_status=$?
34721 grep -v '^ *+' conftest.er1 >conftest.err
34722 rm -f conftest.er1
34723 cat conftest.err >&5
34724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34725 (exit $ac_status); } &&
34726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34728 (eval $ac_try) 2>&5
34729 ac_status=$?
34730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34731 (exit $ac_status); }; } &&
34732 { ac_try='test -s conftest$ac_exeext'
34733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34734 (eval $ac_try) 2>&5
34735 ac_status=$?
34736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34737 (exit $ac_status); }; }; then
34738 eval "$as_ac_var=yes"
34739 else
34740 echo "$as_me: failed program was:" >&5
34741 sed 's/^/| /' conftest.$ac_ext >&5
34742
34743 eval "$as_ac_var=no"
34744 fi
34745 rm -f conftest.err conftest.$ac_objext \
34746 conftest$ac_exeext conftest.$ac_ext
34747 fi
34748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34750 if test `eval echo '${'$as_ac_var'}'` = yes; then
34751 cat >>confdefs.h <<_ACEOF
34752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34753 _ACEOF
34754
34755 fi
34756 done
34757
34758
34759 if test "$ac_cv_func_localtime" = "yes"; then
34760 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
34761 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
34762 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
34763 echo $ECHO_N "(cached) $ECHO_C" >&6
34764 else
34765
34766 cat >conftest.$ac_ext <<_ACEOF
34767 /* confdefs.h. */
34768 _ACEOF
34769 cat confdefs.h >>conftest.$ac_ext
34770 cat >>conftest.$ac_ext <<_ACEOF
34771 /* end confdefs.h. */
34772
34773 #include <time.h>
34774
34775 int
34776 main ()
34777 {
34778
34779 struct tm tm;
34780 tm.tm_gmtoff++;
34781
34782 ;
34783 return 0;
34784 }
34785 _ACEOF
34786 rm -f conftest.$ac_objext
34787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34788 (eval $ac_compile) 2>conftest.er1
34789 ac_status=$?
34790 grep -v '^ *+' conftest.er1 >conftest.err
34791 rm -f conftest.er1
34792 cat conftest.err >&5
34793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34794 (exit $ac_status); } &&
34795 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34797 (eval $ac_try) 2>&5
34798 ac_status=$?
34799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34800 (exit $ac_status); }; } &&
34801 { ac_try='test -s conftest.$ac_objext'
34802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34803 (eval $ac_try) 2>&5
34804 ac_status=$?
34805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34806 (exit $ac_status); }; }; then
34807
34808 wx_cv_struct_tm_has_gmtoff=yes
34809
34810 else
34811 echo "$as_me: failed program was:" >&5
34812 sed 's/^/| /' conftest.$ac_ext >&5
34813
34814 wx_cv_struct_tm_has_gmtoff=no
34815
34816 fi
34817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34818
34819 fi
34820 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
34821 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
34822 fi
34823
34824 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
34825 cat >>confdefs.h <<\_ACEOF
34826 #define WX_GMTOFF_IN_TM 1
34827 _ACEOF
34828
34829 fi
34830
34831
34832
34833 for ac_func in gettimeofday ftime
34834 do
34835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34836 echo "$as_me:$LINENO: checking for $ac_func" >&5
34837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34838 if eval "test \"\${$as_ac_var+set}\" = set"; then
34839 echo $ECHO_N "(cached) $ECHO_C" >&6
34840 else
34841 cat >conftest.$ac_ext <<_ACEOF
34842 /* confdefs.h. */
34843 _ACEOF
34844 cat confdefs.h >>conftest.$ac_ext
34845 cat >>conftest.$ac_ext <<_ACEOF
34846 /* end confdefs.h. */
34847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34849 #define $ac_func innocuous_$ac_func
34850
34851 /* System header to define __stub macros and hopefully few prototypes,
34852 which can conflict with char $ac_func (); below.
34853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34854 <limits.h> exists even on freestanding compilers. */
34855
34856 #ifdef __STDC__
34857 # include <limits.h>
34858 #else
34859 # include <assert.h>
34860 #endif
34861
34862 #undef $ac_func
34863
34864 /* Override any gcc2 internal prototype to avoid an error. */
34865 #ifdef __cplusplus
34866 extern "C"
34867 {
34868 #endif
34869 /* We use char because int might match the return type of a gcc2
34870 builtin and then its argument prototype would still apply. */
34871 char $ac_func ();
34872 /* The GNU C library defines this for functions which it implements
34873 to always fail with ENOSYS. Some functions are actually named
34874 something starting with __ and the normal name is an alias. */
34875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34876 choke me
34877 #else
34878 char (*f) () = $ac_func;
34879 #endif
34880 #ifdef __cplusplus
34881 }
34882 #endif
34883
34884 int
34885 main ()
34886 {
34887 return f != $ac_func;
34888 ;
34889 return 0;
34890 }
34891 _ACEOF
34892 rm -f conftest.$ac_objext conftest$ac_exeext
34893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34894 (eval $ac_link) 2>conftest.er1
34895 ac_status=$?
34896 grep -v '^ *+' conftest.er1 >conftest.err
34897 rm -f conftest.er1
34898 cat conftest.err >&5
34899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34900 (exit $ac_status); } &&
34901 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34903 (eval $ac_try) 2>&5
34904 ac_status=$?
34905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34906 (exit $ac_status); }; } &&
34907 { ac_try='test -s conftest$ac_exeext'
34908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34909 (eval $ac_try) 2>&5
34910 ac_status=$?
34911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34912 (exit $ac_status); }; }; then
34913 eval "$as_ac_var=yes"
34914 else
34915 echo "$as_me: failed program was:" >&5
34916 sed 's/^/| /' conftest.$ac_ext >&5
34917
34918 eval "$as_ac_var=no"
34919 fi
34920 rm -f conftest.err conftest.$ac_objext \
34921 conftest$ac_exeext conftest.$ac_ext
34922 fi
34923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34925 if test `eval echo '${'$as_ac_var'}'` = yes; then
34926 cat >>confdefs.h <<_ACEOF
34927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34928 _ACEOF
34929 break
34930 fi
34931 done
34932
34933
34934 if test "$ac_cv_func_gettimeofday" = "yes"; then
34935 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
34936 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
34937 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
34938 echo $ECHO_N "(cached) $ECHO_C" >&6
34939 else
34940
34941
34942
34943 ac_ext=cc
34944 ac_cpp='$CXXCPP $CPPFLAGS'
34945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34948
34949
34950 cat >conftest.$ac_ext <<_ACEOF
34951 /* confdefs.h. */
34952 _ACEOF
34953 cat confdefs.h >>conftest.$ac_ext
34954 cat >>conftest.$ac_ext <<_ACEOF
34955 /* end confdefs.h. */
34956
34957 #include <sys/time.h>
34958 #include <unistd.h>
34959
34960 int
34961 main ()
34962 {
34963
34964 struct timeval tv;
34965 gettimeofday(&tv, NULL);
34966
34967 ;
34968 return 0;
34969 }
34970 _ACEOF
34971 rm -f conftest.$ac_objext
34972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34973 (eval $ac_compile) 2>conftest.er1
34974 ac_status=$?
34975 grep -v '^ *+' conftest.er1 >conftest.err
34976 rm -f conftest.er1
34977 cat conftest.err >&5
34978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34979 (exit $ac_status); } &&
34980 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34982 (eval $ac_try) 2>&5
34983 ac_status=$?
34984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34985 (exit $ac_status); }; } &&
34986 { ac_try='test -s conftest.$ac_objext'
34987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34988 (eval $ac_try) 2>&5
34989 ac_status=$?
34990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34991 (exit $ac_status); }; }; then
34992 wx_cv_func_gettimeofday_has_2_args=yes
34993 else
34994 echo "$as_me: failed program was:" >&5
34995 sed 's/^/| /' conftest.$ac_ext >&5
34996
34997 cat >conftest.$ac_ext <<_ACEOF
34998 /* confdefs.h. */
34999 _ACEOF
35000 cat confdefs.h >>conftest.$ac_ext
35001 cat >>conftest.$ac_ext <<_ACEOF
35002 /* end confdefs.h. */
35003
35004 #include <sys/time.h>
35005 #include <unistd.h>
35006
35007 int
35008 main ()
35009 {
35010
35011 struct timeval tv;
35012 gettimeofday(&tv);
35013
35014 ;
35015 return 0;
35016 }
35017 _ACEOF
35018 rm -f conftest.$ac_objext
35019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35020 (eval $ac_compile) 2>conftest.er1
35021 ac_status=$?
35022 grep -v '^ *+' conftest.er1 >conftest.err
35023 rm -f conftest.er1
35024 cat conftest.err >&5
35025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35026 (exit $ac_status); } &&
35027 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35029 (eval $ac_try) 2>&5
35030 ac_status=$?
35031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35032 (exit $ac_status); }; } &&
35033 { ac_try='test -s conftest.$ac_objext'
35034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35035 (eval $ac_try) 2>&5
35036 ac_status=$?
35037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35038 (exit $ac_status); }; }; then
35039 wx_cv_func_gettimeofday_has_2_args=no
35040 else
35041 echo "$as_me: failed program was:" >&5
35042 sed 's/^/| /' conftest.$ac_ext >&5
35043
35044
35045 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35046 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35047 wx_cv_func_gettimeofday_has_2_args=unknown
35048
35049
35050 fi
35051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35052
35053 fi
35054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35055 ac_ext=c
35056 ac_cpp='$CPP $CPPFLAGS'
35057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35060
35061
35062 fi
35063 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35064 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35065
35066 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35067 cat >>confdefs.h <<\_ACEOF
35068 #define WX_GETTIMEOFDAY_NO_TZ 1
35069 _ACEOF
35070
35071 fi
35072 fi
35073
35074 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
35075 fi
35076
35077
35078 if test "$wxUSE_SOCKETS" = "yes"; then
35079 if test "$wxUSE_MGL" = "1"; then
35080 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35081 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35082 wxUSE_SOCKETS="no"
35083 fi
35084 fi
35085
35086 if test "$wxUSE_SOCKETS" = "yes"; then
35087 if test "$TOOLKIT" != "MSW"; then
35088 echo "$as_me:$LINENO: checking for socket" >&5
35089 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35090 if test "${ac_cv_func_socket+set}" = set; then
35091 echo $ECHO_N "(cached) $ECHO_C" >&6
35092 else
35093 cat >conftest.$ac_ext <<_ACEOF
35094 /* confdefs.h. */
35095 _ACEOF
35096 cat confdefs.h >>conftest.$ac_ext
35097 cat >>conftest.$ac_ext <<_ACEOF
35098 /* end confdefs.h. */
35099 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35101 #define socket innocuous_socket
35102
35103 /* System header to define __stub macros and hopefully few prototypes,
35104 which can conflict with char socket (); below.
35105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35106 <limits.h> exists even on freestanding compilers. */
35107
35108 #ifdef __STDC__
35109 # include <limits.h>
35110 #else
35111 # include <assert.h>
35112 #endif
35113
35114 #undef socket
35115
35116 /* Override any gcc2 internal prototype to avoid an error. */
35117 #ifdef __cplusplus
35118 extern "C"
35119 {
35120 #endif
35121 /* We use char because int might match the return type of a gcc2
35122 builtin and then its argument prototype would still apply. */
35123 char socket ();
35124 /* The GNU C library defines this for functions which it implements
35125 to always fail with ENOSYS. Some functions are actually named
35126 something starting with __ and the normal name is an alias. */
35127 #if defined (__stub_socket) || defined (__stub___socket)
35128 choke me
35129 #else
35130 char (*f) () = socket;
35131 #endif
35132 #ifdef __cplusplus
35133 }
35134 #endif
35135
35136 int
35137 main ()
35138 {
35139 return f != socket;
35140 ;
35141 return 0;
35142 }
35143 _ACEOF
35144 rm -f conftest.$ac_objext conftest$ac_exeext
35145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35146 (eval $ac_link) 2>conftest.er1
35147 ac_status=$?
35148 grep -v '^ *+' conftest.er1 >conftest.err
35149 rm -f conftest.er1
35150 cat conftest.err >&5
35151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35152 (exit $ac_status); } &&
35153 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35155 (eval $ac_try) 2>&5
35156 ac_status=$?
35157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35158 (exit $ac_status); }; } &&
35159 { ac_try='test -s conftest$ac_exeext'
35160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35161 (eval $ac_try) 2>&5
35162 ac_status=$?
35163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35164 (exit $ac_status); }; }; then
35165 ac_cv_func_socket=yes
35166 else
35167 echo "$as_me: failed program was:" >&5
35168 sed 's/^/| /' conftest.$ac_ext >&5
35169
35170 ac_cv_func_socket=no
35171 fi
35172 rm -f conftest.err conftest.$ac_objext \
35173 conftest$ac_exeext conftest.$ac_ext
35174 fi
35175 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35176 echo "${ECHO_T}$ac_cv_func_socket" >&6
35177 if test $ac_cv_func_socket = yes; then
35178 :
35179 else
35180
35181 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35182 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35183 if test "${ac_cv_lib_socket_socket+set}" = set; then
35184 echo $ECHO_N "(cached) $ECHO_C" >&6
35185 else
35186 ac_check_lib_save_LIBS=$LIBS
35187 LIBS="-lsocket $LIBS"
35188 cat >conftest.$ac_ext <<_ACEOF
35189 /* confdefs.h. */
35190 _ACEOF
35191 cat confdefs.h >>conftest.$ac_ext
35192 cat >>conftest.$ac_ext <<_ACEOF
35193 /* end confdefs.h. */
35194
35195 /* Override any gcc2 internal prototype to avoid an error. */
35196 #ifdef __cplusplus
35197 extern "C"
35198 #endif
35199 /* We use char because int might match the return type of a gcc2
35200 builtin and then its argument prototype would still apply. */
35201 char socket ();
35202 int
35203 main ()
35204 {
35205 socket ();
35206 ;
35207 return 0;
35208 }
35209 _ACEOF
35210 rm -f conftest.$ac_objext conftest$ac_exeext
35211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35212 (eval $ac_link) 2>conftest.er1
35213 ac_status=$?
35214 grep -v '^ *+' conftest.er1 >conftest.err
35215 rm -f conftest.er1
35216 cat conftest.err >&5
35217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35218 (exit $ac_status); } &&
35219 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35221 (eval $ac_try) 2>&5
35222 ac_status=$?
35223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35224 (exit $ac_status); }; } &&
35225 { ac_try='test -s conftest$ac_exeext'
35226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35227 (eval $ac_try) 2>&5
35228 ac_status=$?
35229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35230 (exit $ac_status); }; }; then
35231 ac_cv_lib_socket_socket=yes
35232 else
35233 echo "$as_me: failed program was:" >&5
35234 sed 's/^/| /' conftest.$ac_ext >&5
35235
35236 ac_cv_lib_socket_socket=no
35237 fi
35238 rm -f conftest.err conftest.$ac_objext \
35239 conftest$ac_exeext conftest.$ac_ext
35240 LIBS=$ac_check_lib_save_LIBS
35241 fi
35242 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35243 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35244 if test $ac_cv_lib_socket_socket = yes; then
35245 if test "$INET_LINK" != " -lsocket"; then
35246 INET_LINK="$INET_LINK -lsocket"
35247 fi
35248 else
35249
35250 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35251 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35252 wxUSE_SOCKETS=no
35253
35254
35255 fi
35256
35257
35258
35259 fi
35260
35261 fi
35262 fi
35263
35264 if test "$wxUSE_SOCKETS" = "yes" ; then
35265 if test "$TOOLKIT" != "MSW"; then
35266 ac_ext=cc
35267 ac_cpp='$CXXCPP $CPPFLAGS'
35268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35271
35272 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35273 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35274 if test "${wx_cv_type_getsockname3+set}" = set; then
35275 echo $ECHO_N "(cached) $ECHO_C" >&6
35276 else
35277
35278 cat >conftest.$ac_ext <<_ACEOF
35279 /* confdefs.h. */
35280 _ACEOF
35281 cat confdefs.h >>conftest.$ac_ext
35282 cat >>conftest.$ac_ext <<_ACEOF
35283 /* end confdefs.h. */
35284
35285 #include <sys/types.h>
35286 #include <sys/socket.h>
35287
35288 int
35289 main ()
35290 {
35291
35292 socklen_t len;
35293 getsockname(0, 0, &len);
35294
35295 ;
35296 return 0;
35297 }
35298 _ACEOF
35299 rm -f conftest.$ac_objext
35300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35301 (eval $ac_compile) 2>conftest.er1
35302 ac_status=$?
35303 grep -v '^ *+' conftest.er1 >conftest.err
35304 rm -f conftest.er1
35305 cat conftest.err >&5
35306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35307 (exit $ac_status); } &&
35308 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35310 (eval $ac_try) 2>&5
35311 ac_status=$?
35312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35313 (exit $ac_status); }; } &&
35314 { ac_try='test -s conftest.$ac_objext'
35315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35316 (eval $ac_try) 2>&5
35317 ac_status=$?
35318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35319 (exit $ac_status); }; }; then
35320 wx_cv_type_getsockname3=socklen_t
35321 else
35322 echo "$as_me: failed program was:" >&5
35323 sed 's/^/| /' conftest.$ac_ext >&5
35324
35325
35326 CFLAGS_OLD="$CFLAGS"
35327 if test "$GCC" = yes ; then
35328 CFLAGS="$CFLAGS -Werror"
35329 fi
35330
35331 cat >conftest.$ac_ext <<_ACEOF
35332 /* confdefs.h. */
35333 _ACEOF
35334 cat confdefs.h >>conftest.$ac_ext
35335 cat >>conftest.$ac_ext <<_ACEOF
35336 /* end confdefs.h. */
35337
35338 #include <sys/types.h>
35339 #include <sys/socket.h>
35340
35341 int
35342 main ()
35343 {
35344
35345 size_t len;
35346 getsockname(0, 0, &len);
35347
35348 ;
35349 return 0;
35350 }
35351 _ACEOF
35352 rm -f conftest.$ac_objext
35353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35354 (eval $ac_compile) 2>conftest.er1
35355 ac_status=$?
35356 grep -v '^ *+' conftest.er1 >conftest.err
35357 rm -f conftest.er1
35358 cat conftest.err >&5
35359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35360 (exit $ac_status); } &&
35361 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35363 (eval $ac_try) 2>&5
35364 ac_status=$?
35365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35366 (exit $ac_status); }; } &&
35367 { ac_try='test -s conftest.$ac_objext'
35368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35369 (eval $ac_try) 2>&5
35370 ac_status=$?
35371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35372 (exit $ac_status); }; }; then
35373 wx_cv_type_getsockname3=size_t
35374 else
35375 echo "$as_me: failed program was:" >&5
35376 sed 's/^/| /' conftest.$ac_ext >&5
35377
35378 cat >conftest.$ac_ext <<_ACEOF
35379 /* confdefs.h. */
35380 _ACEOF
35381 cat confdefs.h >>conftest.$ac_ext
35382 cat >>conftest.$ac_ext <<_ACEOF
35383 /* end confdefs.h. */
35384
35385 #include <sys/types.h>
35386 #include <sys/socket.h>
35387
35388 int
35389 main ()
35390 {
35391
35392 int len;
35393 getsockname(0, 0, &len);
35394
35395 ;
35396 return 0;
35397 }
35398 _ACEOF
35399 rm -f conftest.$ac_objext
35400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35401 (eval $ac_compile) 2>conftest.er1
35402 ac_status=$?
35403 grep -v '^ *+' conftest.er1 >conftest.err
35404 rm -f conftest.er1
35405 cat conftest.err >&5
35406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35407 (exit $ac_status); } &&
35408 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35410 (eval $ac_try) 2>&5
35411 ac_status=$?
35412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35413 (exit $ac_status); }; } &&
35414 { ac_try='test -s conftest.$ac_objext'
35415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35416 (eval $ac_try) 2>&5
35417 ac_status=$?
35418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35419 (exit $ac_status); }; }; then
35420 wx_cv_type_getsockname3=int
35421 else
35422 echo "$as_me: failed program was:" >&5
35423 sed 's/^/| /' conftest.$ac_ext >&5
35424
35425 wx_cv_type_getsockname3=unknown
35426
35427 fi
35428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35429
35430 fi
35431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35432
35433 CFLAGS="$CFLAGS_OLD"
35434
35435
35436 fi
35437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35438
35439 fi
35440 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35441 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35442
35443 if test "$wx_cv_type_getsockname3" = "unknown"; then
35444 wxUSE_SOCKETS=no
35445 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35446 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35447 else
35448 cat >>confdefs.h <<_ACEOF
35449 #define SOCKLEN_T $wx_cv_type_getsockname3
35450 _ACEOF
35451
35452 fi
35453 ac_ext=c
35454 ac_cpp='$CPP $CPPFLAGS'
35455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35458
35459 fi
35460 fi
35461
35462 if test "$wxUSE_SOCKETS" = "yes" ; then
35463 cat >>confdefs.h <<\_ACEOF
35464 #define wxUSE_SOCKETS 1
35465 _ACEOF
35466
35467 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35468 fi
35469
35470 if test "$wxUSE_PROTOCOL" = "yes"; then
35471 if test "$wxUSE_SOCKETS" != "yes"; then
35472 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35473 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35474 wxUSE_PROTOCOL=no
35475 fi
35476 fi
35477
35478 if test "$wxUSE_PROTOCOL" = "yes"; then
35479 cat >>confdefs.h <<\_ACEOF
35480 #define wxUSE_PROTOCOL 1
35481 _ACEOF
35482
35483
35484 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35485 cat >>confdefs.h <<\_ACEOF
35486 #define wxUSE_PROTOCOL_HTTP 1
35487 _ACEOF
35488
35489 fi
35490 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35491 cat >>confdefs.h <<\_ACEOF
35492 #define wxUSE_PROTOCOL_FTP 1
35493 _ACEOF
35494
35495 fi
35496 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35497 cat >>confdefs.h <<\_ACEOF
35498 #define wxUSE_PROTOCOL_FILE 1
35499 _ACEOF
35500
35501 fi
35502 else
35503 if test "$wxUSE_FS_INET" = "yes"; then
35504 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35505 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35506 wxUSE_FS_INET="no"
35507 fi
35508 fi
35509
35510 if test "$wxUSE_URL" = "yes"; then
35511 if test "$wxUSE_PROTOCOL" != "yes"; then
35512 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35513 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35514 wxUSE_URL=no
35515 fi
35516 if test "$wxUSE_URL" = "yes"; then
35517 cat >>confdefs.h <<\_ACEOF
35518 #define wxUSE_URL 1
35519 _ACEOF
35520
35521 fi
35522 fi
35523
35524 if test "$wxUSE_FS_INET" = "yes"; then
35525 cat >>confdefs.h <<\_ACEOF
35526 #define wxUSE_FS_INET 1
35527 _ACEOF
35528
35529 fi
35530
35531
35532 if test "$wxUSE_GUI" = "yes"; then
35533
35534 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
35535 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
35536 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
35537 wxUSE_JOYSTICK=no
35538 fi
35539
35540 if test "$TOOLKIT" != "MSW"; then
35541 if test "$wxUSE_JOYSTICK" = "yes"; then
35542
35543 for ac_header in linux/joystick.h
35544 do
35545 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35546 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35547 echo "$as_me:$LINENO: checking for $ac_header" >&5
35548 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35549 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35550 echo $ECHO_N "(cached) $ECHO_C" >&6
35551 fi
35552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35553 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35554 else
35555 # Is the header compilable?
35556 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35557 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35558 cat >conftest.$ac_ext <<_ACEOF
35559 /* confdefs.h. */
35560 _ACEOF
35561 cat confdefs.h >>conftest.$ac_ext
35562 cat >>conftest.$ac_ext <<_ACEOF
35563 /* end confdefs.h. */
35564 $ac_includes_default
35565 #include <$ac_header>
35566 _ACEOF
35567 rm -f conftest.$ac_objext
35568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35569 (eval $ac_compile) 2>conftest.er1
35570 ac_status=$?
35571 grep -v '^ *+' conftest.er1 >conftest.err
35572 rm -f conftest.er1
35573 cat conftest.err >&5
35574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35575 (exit $ac_status); } &&
35576 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35578 (eval $ac_try) 2>&5
35579 ac_status=$?
35580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35581 (exit $ac_status); }; } &&
35582 { ac_try='test -s conftest.$ac_objext'
35583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35584 (eval $ac_try) 2>&5
35585 ac_status=$?
35586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35587 (exit $ac_status); }; }; then
35588 ac_header_compiler=yes
35589 else
35590 echo "$as_me: failed program was:" >&5
35591 sed 's/^/| /' conftest.$ac_ext >&5
35592
35593 ac_header_compiler=no
35594 fi
35595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35596 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35597 echo "${ECHO_T}$ac_header_compiler" >&6
35598
35599 # Is the header present?
35600 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35601 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35602 cat >conftest.$ac_ext <<_ACEOF
35603 /* confdefs.h. */
35604 _ACEOF
35605 cat confdefs.h >>conftest.$ac_ext
35606 cat >>conftest.$ac_ext <<_ACEOF
35607 /* end confdefs.h. */
35608 #include <$ac_header>
35609 _ACEOF
35610 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35611 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35612 ac_status=$?
35613 grep -v '^ *+' conftest.er1 >conftest.err
35614 rm -f conftest.er1
35615 cat conftest.err >&5
35616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35617 (exit $ac_status); } >/dev/null; then
35618 if test -s conftest.err; then
35619 ac_cpp_err=$ac_c_preproc_warn_flag
35620 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35621 else
35622 ac_cpp_err=
35623 fi
35624 else
35625 ac_cpp_err=yes
35626 fi
35627 if test -z "$ac_cpp_err"; then
35628 ac_header_preproc=yes
35629 else
35630 echo "$as_me: failed program was:" >&5
35631 sed 's/^/| /' conftest.$ac_ext >&5
35632
35633 ac_header_preproc=no
35634 fi
35635 rm -f conftest.err conftest.$ac_ext
35636 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35637 echo "${ECHO_T}$ac_header_preproc" >&6
35638
35639 # So? What about this header?
35640 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35641 yes:no: )
35642 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35643 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35644 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35645 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35646 ac_header_preproc=yes
35647 ;;
35648 no:yes:* )
35649 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35650 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35651 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35652 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35653 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35654 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35655 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35656 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35657 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35658 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35659 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35660 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35661 (
35662 cat <<\_ASBOX
35663 ## ----------------------------------------- ##
35664 ## Report this to wx-dev@lists.wxwidgets.org ##
35665 ## ----------------------------------------- ##
35666 _ASBOX
35667 ) |
35668 sed "s/^/$as_me: WARNING: /" >&2
35669 ;;
35670 esac
35671 echo "$as_me:$LINENO: checking for $ac_header" >&5
35672 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35673 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35674 echo $ECHO_N "(cached) $ECHO_C" >&6
35675 else
35676 eval "$as_ac_Header=\$ac_header_preproc"
35677 fi
35678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35679 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35680
35681 fi
35682 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35683 cat >>confdefs.h <<_ACEOF
35684 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35685 _ACEOF
35686
35687 fi
35688
35689 done
35690
35691 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
35692 wxUSE_JOYSTICK=no
35693 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
35694 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35695 fi
35696 fi
35697 fi
35698
35699 if test "$wxUSE_JOYSTICK" = "yes"; then
35700 cat >>confdefs.h <<\_ACEOF
35701 #define wxUSE_JOYSTICK 1
35702 _ACEOF
35703
35704 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
35705 fi
35706 fi
35707
35708
35709
35710 if test "$wxUSE_FONTMAP" = "yes" ; then
35711 cat >>confdefs.h <<\_ACEOF
35712 #define wxUSE_FONTMAP 1
35713 _ACEOF
35714
35715 fi
35716
35717 if test "$wxUSE_UNICODE" = "yes" ; then
35718 cat >>confdefs.h <<\_ACEOF
35719 #define wxUSE_UNICODE 1
35720 _ACEOF
35721
35722
35723 if test "$USE_WIN32" != 1; then
35724 wxUSE_UNICODE_MSLU=no
35725 fi
35726
35727 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35728 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
35729 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
35730 if test "${ac_cv_lib_unicows_main+set}" = set; then
35731 echo $ECHO_N "(cached) $ECHO_C" >&6
35732 else
35733 ac_check_lib_save_LIBS=$LIBS
35734 LIBS="-lunicows $LIBS"
35735 cat >conftest.$ac_ext <<_ACEOF
35736 /* confdefs.h. */
35737 _ACEOF
35738 cat confdefs.h >>conftest.$ac_ext
35739 cat >>conftest.$ac_ext <<_ACEOF
35740 /* end confdefs.h. */
35741
35742
35743 int
35744 main ()
35745 {
35746 main ();
35747 ;
35748 return 0;
35749 }
35750 _ACEOF
35751 rm -f conftest.$ac_objext conftest$ac_exeext
35752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35753 (eval $ac_link) 2>conftest.er1
35754 ac_status=$?
35755 grep -v '^ *+' conftest.er1 >conftest.err
35756 rm -f conftest.er1
35757 cat conftest.err >&5
35758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35759 (exit $ac_status); } &&
35760 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35762 (eval $ac_try) 2>&5
35763 ac_status=$?
35764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35765 (exit $ac_status); }; } &&
35766 { ac_try='test -s conftest$ac_exeext'
35767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35768 (eval $ac_try) 2>&5
35769 ac_status=$?
35770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35771 (exit $ac_status); }; }; then
35772 ac_cv_lib_unicows_main=yes
35773 else
35774 echo "$as_me: failed program was:" >&5
35775 sed 's/^/| /' conftest.$ac_ext >&5
35776
35777 ac_cv_lib_unicows_main=no
35778 fi
35779 rm -f conftest.err conftest.$ac_objext \
35780 conftest$ac_exeext conftest.$ac_ext
35781 LIBS=$ac_check_lib_save_LIBS
35782 fi
35783 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
35784 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
35785 if test $ac_cv_lib_unicows_main = yes; then
35786
35787 cat >>confdefs.h <<\_ACEOF
35788 #define wxUSE_UNICODE_MSLU 1
35789 _ACEOF
35790
35791
35792 else
35793
35794 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35795 Applications will only run on Windows NT/2000/XP!" >&5
35796 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35797 Applications will only run on Windows NT/2000/XP!" >&2;}
35798 wxUSE_UNICODE_MSLU=no
35799
35800 fi
35801
35802 fi
35803 fi
35804
35805 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
35806 cat >>confdefs.h <<\_ACEOF
35807 #define wxUSE_EXPERIMENTAL_PRINTF 1
35808 _ACEOF
35809
35810 fi
35811
35812
35813 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35814 cat >>confdefs.h <<\_ACEOF
35815 #define wxUSE_POSTSCRIPT 1
35816 _ACEOF
35817
35818 fi
35819
35820 cat >>confdefs.h <<\_ACEOF
35821 #define wxUSE_AFM_FOR_POSTSCRIPT 1
35822 _ACEOF
35823
35824
35825 cat >>confdefs.h <<\_ACEOF
35826 #define wxUSE_NORMALIZED_PS_FONTS 1
35827 _ACEOF
35828
35829
35830
35831 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35832 cat >>confdefs.h <<\_ACEOF
35833 #define wxUSE_CONSTRAINTS 1
35834 _ACEOF
35835
35836 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
35837 fi
35838
35839 if test "$wxUSE_MDI" = "yes"; then
35840 cat >>confdefs.h <<\_ACEOF
35841 #define wxUSE_MDI 1
35842 _ACEOF
35843
35844
35845 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35846 cat >>confdefs.h <<\_ACEOF
35847 #define wxUSE_MDI_ARCHITECTURE 1
35848 _ACEOF
35849
35850 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
35851 fi
35852 fi
35853
35854 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35855 cat >>confdefs.h <<\_ACEOF
35856 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
35857 _ACEOF
35858
35859 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
35860 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35861 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
35862 fi
35863 fi
35864
35865 if test "$wxUSE_HELP" = "yes"; then
35866 cat >>confdefs.h <<\_ACEOF
35867 #define wxUSE_HELP 1
35868 _ACEOF
35869
35870 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
35871
35872 if test "$wxUSE_MSW" = 1; then
35873 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35874 cat >>confdefs.h <<\_ACEOF
35875 #define wxUSE_MS_HTML_HELP 1
35876 _ACEOF
35877
35878 fi
35879 fi
35880
35881 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35882 if test "$wxUSE_HTML" = "yes"; then
35883 cat >>confdefs.h <<\_ACEOF
35884 #define wxUSE_WXHTML_HELP 1
35885 _ACEOF
35886
35887 else
35888 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35889 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35890 wxUSE_WXHTML_HELP=no
35891 fi
35892 fi
35893 fi
35894
35895 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35896 if test "$wxUSE_CONSTRAINTS" != "yes"; then
35897 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
35898 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
35899 else
35900 cat >>confdefs.h <<\_ACEOF
35901 #define wxUSE_PRINTING_ARCHITECTURE 1
35902 _ACEOF
35903
35904 fi
35905 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
35906 fi
35907
35908 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
35909 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
35910 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
35911 { (exit 1); exit 1; }; }
35912 fi
35913
35914
35915 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
35916 -o "$wxUSE_CLIPBOARD" = "yes" \
35917 -o "$wxUSE_OLE" = "yes" \
35918 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
35919
35920 for ac_header in ole2.h
35921 do
35922 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35924 echo "$as_me:$LINENO: checking for $ac_header" >&5
35925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35927 echo $ECHO_N "(cached) $ECHO_C" >&6
35928 fi
35929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35930 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35931 else
35932 # Is the header compilable?
35933 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35934 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35935 cat >conftest.$ac_ext <<_ACEOF
35936 /* confdefs.h. */
35937 _ACEOF
35938 cat confdefs.h >>conftest.$ac_ext
35939 cat >>conftest.$ac_ext <<_ACEOF
35940 /* end confdefs.h. */
35941 $ac_includes_default
35942 #include <$ac_header>
35943 _ACEOF
35944 rm -f conftest.$ac_objext
35945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35946 (eval $ac_compile) 2>conftest.er1
35947 ac_status=$?
35948 grep -v '^ *+' conftest.er1 >conftest.err
35949 rm -f conftest.er1
35950 cat conftest.err >&5
35951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35952 (exit $ac_status); } &&
35953 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35955 (eval $ac_try) 2>&5
35956 ac_status=$?
35957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35958 (exit $ac_status); }; } &&
35959 { ac_try='test -s conftest.$ac_objext'
35960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35961 (eval $ac_try) 2>&5
35962 ac_status=$?
35963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35964 (exit $ac_status); }; }; then
35965 ac_header_compiler=yes
35966 else
35967 echo "$as_me: failed program was:" >&5
35968 sed 's/^/| /' conftest.$ac_ext >&5
35969
35970 ac_header_compiler=no
35971 fi
35972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35973 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35974 echo "${ECHO_T}$ac_header_compiler" >&6
35975
35976 # Is the header present?
35977 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35978 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35979 cat >conftest.$ac_ext <<_ACEOF
35980 /* confdefs.h. */
35981 _ACEOF
35982 cat confdefs.h >>conftest.$ac_ext
35983 cat >>conftest.$ac_ext <<_ACEOF
35984 /* end confdefs.h. */
35985 #include <$ac_header>
35986 _ACEOF
35987 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35988 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35989 ac_status=$?
35990 grep -v '^ *+' conftest.er1 >conftest.err
35991 rm -f conftest.er1
35992 cat conftest.err >&5
35993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35994 (exit $ac_status); } >/dev/null; then
35995 if test -s conftest.err; then
35996 ac_cpp_err=$ac_c_preproc_warn_flag
35997 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35998 else
35999 ac_cpp_err=
36000 fi
36001 else
36002 ac_cpp_err=yes
36003 fi
36004 if test -z "$ac_cpp_err"; then
36005 ac_header_preproc=yes
36006 else
36007 echo "$as_me: failed program was:" >&5
36008 sed 's/^/| /' conftest.$ac_ext >&5
36009
36010 ac_header_preproc=no
36011 fi
36012 rm -f conftest.err conftest.$ac_ext
36013 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36014 echo "${ECHO_T}$ac_header_preproc" >&6
36015
36016 # So? What about this header?
36017 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36018 yes:no: )
36019 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36020 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36021 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36022 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36023 ac_header_preproc=yes
36024 ;;
36025 no:yes:* )
36026 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36027 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36028 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36029 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36030 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36031 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36032 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36033 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36035 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36036 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36037 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36038 (
36039 cat <<\_ASBOX
36040 ## ----------------------------------------- ##
36041 ## Report this to wx-dev@lists.wxwidgets.org ##
36042 ## ----------------------------------------- ##
36043 _ASBOX
36044 ) |
36045 sed "s/^/$as_me: WARNING: /" >&2
36046 ;;
36047 esac
36048 echo "$as_me:$LINENO: checking for $ac_header" >&5
36049 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36050 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36051 echo $ECHO_N "(cached) $ECHO_C" >&6
36052 else
36053 eval "$as_ac_Header=\$ac_header_preproc"
36054 fi
36055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36056 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36057
36058 fi
36059 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36060 cat >>confdefs.h <<_ACEOF
36061 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36062 _ACEOF
36063
36064 fi
36065
36066 done
36067
36068
36069 if test "$ac_cv_header_ole2_h" = "yes" ; then
36070 if test "$GCC" = yes ; then
36071
36072
36073 ac_ext=cc
36074 ac_cpp='$CXXCPP $CPPFLAGS'
36075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36078
36079
36080 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36081 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36082 cat >conftest.$ac_ext <<_ACEOF
36083 /* confdefs.h. */
36084 _ACEOF
36085 cat confdefs.h >>conftest.$ac_ext
36086 cat >>conftest.$ac_ext <<_ACEOF
36087 /* end confdefs.h. */
36088 #include <windows.h>
36089 #include <ole2.h>
36090 int
36091 main ()
36092 {
36093
36094 ;
36095 return 0;
36096 }
36097 _ACEOF
36098 rm -f conftest.$ac_objext
36099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36100 (eval $ac_compile) 2>conftest.er1
36101 ac_status=$?
36102 grep -v '^ *+' conftest.er1 >conftest.err
36103 rm -f conftest.er1
36104 cat conftest.err >&5
36105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36106 (exit $ac_status); } &&
36107 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36109 (eval $ac_try) 2>&5
36110 ac_status=$?
36111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36112 (exit $ac_status); }; } &&
36113 { ac_try='test -s conftest.$ac_objext'
36114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36115 (eval $ac_try) 2>&5
36116 ac_status=$?
36117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36118 (exit $ac_status); }; }; then
36119 echo "$as_me:$LINENO: result: no" >&5
36120 echo "${ECHO_T}no" >&6
36121 else
36122 echo "$as_me: failed program was:" >&5
36123 sed 's/^/| /' conftest.$ac_ext >&5
36124
36125 echo "$as_me:$LINENO: result: yes" >&5
36126 echo "${ECHO_T}yes" >&6
36127 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36128 fi
36129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36130 ac_ext=c
36131 ac_cpp='$CPP $CPPFLAGS'
36132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36135
36136 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36137 if test "$wxUSE_OLE" = "yes" ; then
36138 cat >>confdefs.h <<\_ACEOF
36139 #define wxUSE_OLE 1
36140 _ACEOF
36141
36142 fi
36143 fi
36144
36145 if test "$wxUSE_DATAOBJ" = "yes" ; then
36146 cat >>confdefs.h <<\_ACEOF
36147 #define wxUSE_DATAOBJ 1
36148 _ACEOF
36149
36150 fi
36151 else
36152 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36153 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36154
36155 wxUSE_CLIPBOARD=no
36156 wxUSE_DRAG_AND_DROP=no
36157 wxUSE_DATAOBJ=no
36158 wxUSE_OLE=no
36159 fi
36160
36161 if test "$wxUSE_METAFILE" = "yes"; then
36162 cat >>confdefs.h <<\_ACEOF
36163 #define wxUSE_METAFILE 1
36164 _ACEOF
36165
36166
36167 cat >>confdefs.h <<\_ACEOF
36168 #define wxUSE_ENH_METAFILE 1
36169 _ACEOF
36170
36171 fi
36172 fi
36173
36174 if test "$wxUSE_IPC" = "yes"; then
36175 if test "$wxUSE_SOCKETS" != "yes"; then
36176 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36177 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
36178 fi
36179
36180 cat >>confdefs.h <<\_ACEOF
36181 #define wxUSE_IPC 1
36182 _ACEOF
36183
36184 fi
36185
36186 if test "$wxUSE_CLIPBOARD" = "yes"; then
36187 if test "$wxUSE_MGL" = 1; then
36188 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36189 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36190 wxUSE_CLIPBOARD=no
36191 fi
36192
36193 if test "$wxUSE_CLIPBOARD" = "yes"; then
36194 cat >>confdefs.h <<\_ACEOF
36195 #define wxUSE_CLIPBOARD 1
36196 _ACEOF
36197
36198
36199 cat >>confdefs.h <<\_ACEOF
36200 #define wxUSE_DATAOBJ 1
36201 _ACEOF
36202
36203 fi
36204 fi
36205
36206 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36207 if test "$wxUSE_GTK" = 1; then
36208 if test "$WXGTK12" != 1; then
36209 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36210 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36211 wxUSE_DRAG_AND_DROP=no
36212 fi
36213 fi
36214
36215 if test "$wxUSE_MOTIF" = 1; then
36216 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36217 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36218 wxUSE_DRAG_AND_DROP=no
36219 fi
36220
36221 if test "$wxUSE_X11" = 1; then
36222 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36223 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36224 wxUSE_DRAG_AND_DROP=no
36225 fi
36226
36227 if test "$wxUSE_MGL" = 1; then
36228 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36229 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36230 wxUSE_DRAG_AND_DROP=no
36231 fi
36232
36233 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36234 cat >>confdefs.h <<\_ACEOF
36235 #define wxUSE_DRAG_AND_DROP 1
36236 _ACEOF
36237
36238 fi
36239
36240 fi
36241
36242 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36243 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
36244 fi
36245
36246 if test "$wxUSE_SPLINES" = "yes" ; then
36247 cat >>confdefs.h <<\_ACEOF
36248 #define wxUSE_SPLINES 1
36249 _ACEOF
36250
36251 fi
36252
36253
36254 USES_CONTROLS=0
36255 if test "$wxUSE_CONTROLS" = "yes"; then
36256 USES_CONTROLS=1
36257 fi
36258
36259 if test "$wxUSE_ACCEL" = "yes"; then
36260 cat >>confdefs.h <<\_ACEOF
36261 #define wxUSE_ACCEL 1
36262 _ACEOF
36263
36264 USES_CONTROLS=1
36265 fi
36266
36267 if test "$wxUSE_BUTTON" = "yes"; then
36268 cat >>confdefs.h <<\_ACEOF
36269 #define wxUSE_BUTTON 1
36270 _ACEOF
36271
36272 USES_CONTROLS=1
36273 fi
36274
36275 if test "$wxUSE_BMPBUTTON" = "yes"; then
36276 cat >>confdefs.h <<\_ACEOF
36277 #define wxUSE_BMPBUTTON 1
36278 _ACEOF
36279
36280 USES_CONTROLS=1
36281 fi
36282
36283 if test "$wxUSE_CALCTRL" = "yes"; then
36284 cat >>confdefs.h <<\_ACEOF
36285 #define wxUSE_CALENDARCTRL 1
36286 _ACEOF
36287
36288 USES_CONTROLS=1
36289 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
36290 fi
36291
36292 if test "$wxUSE_CARET" = "yes"; then
36293 cat >>confdefs.h <<\_ACEOF
36294 #define wxUSE_CARET 1
36295 _ACEOF
36296
36297 USES_CONTROLS=1
36298 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
36299 fi
36300
36301 if test "$wxUSE_COMBOBOX" = "yes"; then
36302 cat >>confdefs.h <<\_ACEOF
36303 #define wxUSE_COMBOBOX 1
36304 _ACEOF
36305
36306 USES_CONTROLS=1
36307 fi
36308
36309 if test "$wxUSE_CHOICE" = "yes"; then
36310 cat >>confdefs.h <<\_ACEOF
36311 #define wxUSE_CHOICE 1
36312 _ACEOF
36313
36314 USES_CONTROLS=1
36315 fi
36316
36317 if test "$wxUSE_CHOICEBOOK" = "yes"; then
36318 cat >>confdefs.h <<\_ACEOF
36319 #define wxUSE_CHOICEBOOK 1
36320 _ACEOF
36321
36322 USES_CONTROLS=1
36323 fi
36324
36325 if test "$wxUSE_CHECKBOX" = "yes"; then
36326 cat >>confdefs.h <<\_ACEOF
36327 #define wxUSE_CHECKBOX 1
36328 _ACEOF
36329
36330 USES_CONTROLS=1
36331 fi
36332
36333 if test "$wxUSE_CHECKLST" = "yes"; then
36334 cat >>confdefs.h <<\_ACEOF
36335 #define wxUSE_CHECKLISTBOX 1
36336 _ACEOF
36337
36338 USES_CONTROLS=1
36339 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
36340 fi
36341
36342 if test "$wxUSE_DISPLAY" = "yes"; then
36343 cat >>confdefs.h <<\_ACEOF
36344 #define wxUSE_DISPLAY 1
36345 _ACEOF
36346
36347 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
36348 fi
36349
36350 if test "$wxUSE_GAUGE" = "yes"; then
36351 cat >>confdefs.h <<\_ACEOF
36352 #define wxUSE_GAUGE 1
36353 _ACEOF
36354
36355 USES_CONTROLS=1
36356 fi
36357
36358 if test "$wxUSE_GRID" = "yes"; then
36359 cat >>confdefs.h <<\_ACEOF
36360 #define wxUSE_GRID 1
36361 _ACEOF
36362
36363 USES_CONTROLS=1
36364 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
36365 fi
36366
36367 if test "$wxUSE_IMAGLIST" = "yes"; then
36368 cat >>confdefs.h <<\_ACEOF
36369 #define wxUSE_IMAGLIST 1
36370 _ACEOF
36371
36372 fi
36373
36374 if test "$wxUSE_LISTBOOK" = "yes"; then
36375 cat >>confdefs.h <<\_ACEOF
36376 #define wxUSE_LISTBOOK 1
36377 _ACEOF
36378
36379 USES_CONTROLS=1
36380 fi
36381
36382 if test "$wxUSE_LISTBOX" = "yes"; then
36383 cat >>confdefs.h <<\_ACEOF
36384 #define wxUSE_LISTBOX 1
36385 _ACEOF
36386
36387 USES_CONTROLS=1
36388 fi
36389
36390 if test "$wxUSE_LISTCTRL" = "yes"; then
36391 if test "$wxUSE_IMAGLIST" = "yes"; then
36392 cat >>confdefs.h <<\_ACEOF
36393 #define wxUSE_LISTCTRL 1
36394 _ACEOF
36395
36396 USES_CONTROLS=1
36397 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
36398 else
36399 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36400 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36401 fi
36402 fi
36403
36404 if test "$wxUSE_NOTEBOOK" = "yes"; then
36405 cat >>confdefs.h <<\_ACEOF
36406 #define wxUSE_NOTEBOOK 1
36407 _ACEOF
36408
36409 USES_CONTROLS=1
36410 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
36411 fi
36412
36413
36414 if test "$wxUSE_RADIOBOX" = "yes"; then
36415 cat >>confdefs.h <<\_ACEOF
36416 #define wxUSE_RADIOBOX 1
36417 _ACEOF
36418
36419 USES_CONTROLS=1
36420 fi
36421
36422 if test "$wxUSE_RADIOBTN" = "yes"; then
36423 cat >>confdefs.h <<\_ACEOF
36424 #define wxUSE_RADIOBTN 1
36425 _ACEOF
36426
36427 USES_CONTROLS=1
36428 fi
36429
36430 if test "$wxUSE_SASH" = "yes"; then
36431 cat >>confdefs.h <<\_ACEOF
36432 #define wxUSE_SASH 1
36433 _ACEOF
36434
36435 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
36436 fi
36437
36438 if test "$wxUSE_SCROLLBAR" = "yes"; then
36439 cat >>confdefs.h <<\_ACEOF
36440 #define wxUSE_SCROLLBAR 1
36441 _ACEOF
36442
36443 USES_CONTROLS=1
36444 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
36445 fi
36446
36447 if test "$wxUSE_SLIDER" = "yes"; then
36448 cat >>confdefs.h <<\_ACEOF
36449 #define wxUSE_SLIDER 1
36450 _ACEOF
36451
36452 USES_CONTROLS=1
36453 fi
36454
36455 if test "$wxUSE_SPINBTN" = "yes"; then
36456 cat >>confdefs.h <<\_ACEOF
36457 #define wxUSE_SPINBTN 1
36458 _ACEOF
36459
36460 USES_CONTROLS=1
36461 fi
36462
36463 if test "$wxUSE_SPINCTRL" = "yes"; then
36464 cat >>confdefs.h <<\_ACEOF
36465 #define wxUSE_SPINCTRL 1
36466 _ACEOF
36467
36468 USES_CONTROLS=1
36469 fi
36470
36471 if test "$wxUSE_SPLITTER" = "yes"; then
36472 cat >>confdefs.h <<\_ACEOF
36473 #define wxUSE_SPLITTER 1
36474 _ACEOF
36475
36476 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
36477 fi
36478
36479 if test "$wxUSE_STATBMP" = "yes"; then
36480 cat >>confdefs.h <<\_ACEOF
36481 #define wxUSE_STATBMP 1
36482 _ACEOF
36483
36484 USES_CONTROLS=1
36485 fi
36486
36487 if test "$wxUSE_STATBOX" = "yes"; then
36488 cat >>confdefs.h <<\_ACEOF
36489 #define wxUSE_STATBOX 1
36490 _ACEOF
36491
36492 USES_CONTROLS=1
36493 fi
36494
36495 if test "$wxUSE_STATTEXT" = "yes"; then
36496 cat >>confdefs.h <<\_ACEOF
36497 #define wxUSE_STATTEXT 1
36498 _ACEOF
36499
36500 USES_CONTROLS=1
36501 fi
36502
36503 if test "$wxUSE_STATLINE" = "yes"; then
36504 cat >>confdefs.h <<\_ACEOF
36505 #define wxUSE_STATLINE 1
36506 _ACEOF
36507
36508 USES_CONTROLS=1
36509 fi
36510
36511 if test "$wxUSE_STATUSBAR" = "yes"; then
36512 cat >>confdefs.h <<\_ACEOF
36513 #define wxUSE_STATUSBAR 1
36514 _ACEOF
36515
36516 USES_CONTROLS=1
36517
36518 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
36519 fi
36520
36521 if test "$wxUSE_TABDIALOG" = "yes"; then
36522 cat >>confdefs.h <<\_ACEOF
36523 #define wxUSE_TAB_DIALOG 1
36524 _ACEOF
36525
36526 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
36527 fi
36528
36529 if test "$wxUSE_TEXTCTRL" = "yes"; then
36530 cat >>confdefs.h <<\_ACEOF
36531 #define wxUSE_TEXTCTRL 1
36532 _ACEOF
36533
36534 USES_CONTROLS=1
36535 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
36536 fi
36537
36538 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36539 if test "$wxUSE_COCOA" = 1 ; then
36540 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36541 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36542 wxUSE_TOGGLEBTN=no
36543 else
36544 if test "$wxUSE_PM" = 1; then
36545 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
36546 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
36547 wxUSE_TOGGLEBTN=no
36548 fi
36549 fi
36550 if test "$wxUSE_UNIVERSAL" = "yes"; then
36551 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
36552 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
36553 wxUSE_TOGGLEBTN=no
36554 fi
36555
36556 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36557 cat >>confdefs.h <<\_ACEOF
36558 #define wxUSE_TOGGLEBTN 1
36559 _ACEOF
36560
36561 USES_CONTROLS=1
36562 fi
36563 fi
36564
36565 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
36566 cat >>confdefs.h <<\_ACEOF
36567 #define wxUSE_TOOLBAR_SIMPLE 1
36568 _ACEOF
36569
36570 wxUSE_TOOLBAR="yes"
36571 USES_CONTROLS=1
36572 fi
36573
36574 if test "$wxUSE_TOOLBAR" = "yes"; then
36575 cat >>confdefs.h <<\_ACEOF
36576 #define wxUSE_TOOLBAR 1
36577 _ACEOF
36578
36579 USES_CONTROLS=1
36580
36581 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
36582 wxUSE_TOOLBAR_NATIVE="yes"
36583 fi
36584
36585 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
36586 cat >>confdefs.h <<\_ACEOF
36587 #define wxUSE_TOOLBAR_NATIVE 1
36588 _ACEOF
36589
36590 USES_CONTROLS=1
36591 fi
36592
36593 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
36594 fi
36595
36596 if test "$wxUSE_TOOLTIPS" = "yes"; then
36597 if test "$wxUSE_MOTIF" = 1; then
36598 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36599 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36600 else
36601 if test "$wxUSE_UNIVERSAL" = "yes"; then
36602 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36603 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36604 else
36605 cat >>confdefs.h <<\_ACEOF
36606 #define wxUSE_TOOLTIPS 1
36607 _ACEOF
36608
36609 fi
36610 fi
36611 fi
36612
36613 if test "$wxUSE_TREECTRL" = "yes"; then
36614 if test "$wxUSE_IMAGLIST" = "yes"; then
36615 cat >>confdefs.h <<\_ACEOF
36616 #define wxUSE_TREECTRL 1
36617 _ACEOF
36618
36619 USES_CONTROLS=1
36620 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
36621 else
36622 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36623 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36624 fi
36625 fi
36626
36627 if test "$wxUSE_POPUPWIN" = "yes"; then
36628 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
36629 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36630 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36631 else
36632 if test "$wxUSE_PM" = 1; then
36633 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36634 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36635 else
36636 cat >>confdefs.h <<\_ACEOF
36637 #define wxUSE_POPUPWIN 1
36638 _ACEOF
36639
36640
36641 USES_CONTROLS=1
36642 fi
36643 fi
36644 fi
36645
36646 if test "$wxUSE_TIPWINDOW" = "yes"; then
36647 if test "$wxUSE_PM" = 1; then
36648 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36649 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36650 else
36651 cat >>confdefs.h <<\_ACEOF
36652 #define wxUSE_TIPWINDOW 1
36653 _ACEOF
36654
36655 fi
36656 fi
36657
36658 if test "$USES_CONTROLS" = 1; then
36659 cat >>confdefs.h <<\_ACEOF
36660 #define wxUSE_CONTROLS 1
36661 _ACEOF
36662
36663 fi
36664
36665
36666 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36667 cat >>confdefs.h <<\_ACEOF
36668 #define wxUSE_ACCESSIBILITY 1
36669 _ACEOF
36670
36671 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
36672 fi
36673
36674 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36675 cat >>confdefs.h <<\_ACEOF
36676 #define wxUSE_DRAGIMAGE 1
36677 _ACEOF
36678
36679 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
36680 fi
36681
36682 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36683 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36684 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36685 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36686 else
36687 cat >>confdefs.h <<\_ACEOF
36688 #define wxUSE_EXCEPTIONS 1
36689 _ACEOF
36690
36691 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
36692 fi
36693 fi
36694
36695 USE_HTML=0
36696 if test "$wxUSE_HTML" = "yes"; then
36697 cat >>confdefs.h <<\_ACEOF
36698 #define wxUSE_HTML 1
36699 _ACEOF
36700
36701 USE_HTML=1
36702 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36703 if test "$wxUSE_MAC" = 1; then
36704 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
36705 fi
36706 fi
36707 if test "$wxUSE_WEBKIT" = "yes"; then
36708 if test "$wxUSE_MAC" = 1; then
36709 old_CPPFLAGS="$CPPFLAGS"
36710 CPPFLAGS="$CPPFLAGS -x objective-c++"
36711 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
36712 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
36713 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
36714 echo $ECHO_N "(cached) $ECHO_C" >&6
36715 else
36716 cat >conftest.$ac_ext <<_ACEOF
36717 /* confdefs.h. */
36718 _ACEOF
36719 cat confdefs.h >>conftest.$ac_ext
36720 cat >>conftest.$ac_ext <<_ACEOF
36721 /* end confdefs.h. */
36722 #include <Carbon/Carbon.h>
36723
36724 #include <WebKit/HIWebView.h>
36725 _ACEOF
36726 rm -f conftest.$ac_objext
36727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36728 (eval $ac_compile) 2>conftest.er1
36729 ac_status=$?
36730 grep -v '^ *+' conftest.er1 >conftest.err
36731 rm -f conftest.er1
36732 cat conftest.err >&5
36733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36734 (exit $ac_status); } &&
36735 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36737 (eval $ac_try) 2>&5
36738 ac_status=$?
36739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36740 (exit $ac_status); }; } &&
36741 { ac_try='test -s conftest.$ac_objext'
36742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36743 (eval $ac_try) 2>&5
36744 ac_status=$?
36745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36746 (exit $ac_status); }; }; then
36747 ac_cv_header_WebKit_HIWebView_h=yes
36748 else
36749 echo "$as_me: failed program was:" >&5
36750 sed 's/^/| /' conftest.$ac_ext >&5
36751
36752 ac_cv_header_WebKit_HIWebView_h=no
36753 fi
36754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36755 fi
36756 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
36757 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
36758 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
36759
36760 cat >>confdefs.h <<\_ACEOF
36761 #define wxUSE_WEBKIT 1
36762 _ACEOF
36763
36764 WEBKIT_LINK="-framework WebKit"
36765
36766 else
36767
36768 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36769 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36770 wxUSE_WEBKIT=no
36771
36772 fi
36773
36774
36775 CPPFLAGS="$old_CPPFLAGS"
36776 elif test "$wxUSE_COCOA" = 1; then
36777 cat >>confdefs.h <<\_ACEOF
36778 #define wxUSE_WEBKIT 1
36779 _ACEOF
36780
36781 else
36782 wxUSE_WEBKIT=no
36783 fi
36784 fi
36785
36786 USE_XRC=0
36787 if test "$wxUSE_XRC" = "yes"; then
36788 if test "$wxUSE_XML" != "yes"; then
36789 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
36790 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36791 wxUSE_XRC=no
36792 else
36793 cat >>confdefs.h <<\_ACEOF
36794 #define wxUSE_XRC 1
36795 _ACEOF
36796
36797 USE_XRC=1
36798 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
36799 fi
36800 fi
36801
36802 if test "$wxUSE_MENUS" = "yes"; then
36803 cat >>confdefs.h <<\_ACEOF
36804 #define wxUSE_MENUS 1
36805 _ACEOF
36806
36807 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
36808 fi
36809
36810 if test "$wxUSE_METAFILE" = "yes"; then
36811 cat >>confdefs.h <<\_ACEOF
36812 #define wxUSE_METAFILE 1
36813 _ACEOF
36814
36815 fi
36816
36817 if test "$wxUSE_MIMETYPE" = "yes"; then
36818 cat >>confdefs.h <<\_ACEOF
36819 #define wxUSE_MIMETYPE 1
36820 _ACEOF
36821
36822 fi
36823
36824 if test "$wxUSE_MINIFRAME" = "yes"; then
36825 cat >>confdefs.h <<\_ACEOF
36826 #define wxUSE_MINIFRAME 1
36827 _ACEOF
36828
36829 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
36830 fi
36831
36832 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36833 cat >>confdefs.h <<\_ACEOF
36834 #define wxUSE_SYSTEM_OPTIONS 1
36835 _ACEOF
36836
36837 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
36838 "$TOOLKIT" = "MOTIF"; then
36839 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
36840 fi
36841 fi
36842
36843
36844 if test "$wxUSE_VALIDATORS" = "yes"; then
36845 cat >>confdefs.h <<\_ACEOF
36846 #define wxUSE_VALIDATORS 1
36847 _ACEOF
36848
36849 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
36850 fi
36851
36852 if test "$wxUSE_PALETTE" = "yes" ; then
36853 cat >>confdefs.h <<\_ACEOF
36854 #define wxUSE_PALETTE 1
36855 _ACEOF
36856
36857 fi
36858
36859 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36860 LIBS=" -lunicows $LIBS"
36861 fi
36862
36863
36864 if test "$wxUSE_IMAGE" = "yes" ; then
36865 cat >>confdefs.h <<\_ACEOF
36866 #define wxUSE_IMAGE 1
36867 _ACEOF
36868
36869
36870 if test "$wxUSE_GIF" = "yes" ; then
36871 cat >>confdefs.h <<\_ACEOF
36872 #define wxUSE_GIF 1
36873 _ACEOF
36874
36875 fi
36876
36877 if test "$wxUSE_PCX" = "yes" ; then
36878 cat >>confdefs.h <<\_ACEOF
36879 #define wxUSE_PCX 1
36880 _ACEOF
36881
36882 fi
36883
36884 if test "$wxUSE_IFF" = "yes" ; then
36885 cat >>confdefs.h <<\_ACEOF
36886 #define wxUSE_IFF 1
36887 _ACEOF
36888
36889 fi
36890
36891 if test "$wxUSE_PNM" = "yes" ; then
36892 cat >>confdefs.h <<\_ACEOF
36893 #define wxUSE_PNM 1
36894 _ACEOF
36895
36896 fi
36897
36898 if test "$wxUSE_XPM" = "yes" ; then
36899 cat >>confdefs.h <<\_ACEOF
36900 #define wxUSE_XPM 1
36901 _ACEOF
36902
36903 fi
36904
36905 if test "$wxUSE_ICO_CUR" = "yes" ; then
36906 cat >>confdefs.h <<\_ACEOF
36907 #define wxUSE_ICO_CUR 1
36908 _ACEOF
36909
36910 fi
36911 fi
36912
36913
36914 if test "$wxUSE_CHOICEDLG" = "yes"; then
36915 cat >>confdefs.h <<\_ACEOF
36916 #define wxUSE_CHOICEDLG 1
36917 _ACEOF
36918
36919 fi
36920
36921 if test "$wxUSE_COLOURDLG" = "yes"; then
36922 cat >>confdefs.h <<\_ACEOF
36923 #define wxUSE_COLOURDLG 1
36924 _ACEOF
36925
36926 fi
36927
36928 if test "$wxUSE_FILEDLG" = "yes"; then
36929 cat >>confdefs.h <<\_ACEOF
36930 #define wxUSE_FILEDLG 1
36931 _ACEOF
36932
36933 fi
36934
36935 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36936 cat >>confdefs.h <<\_ACEOF
36937 #define wxUSE_FINDREPLDLG 1
36938 _ACEOF
36939
36940 fi
36941
36942 if test "$wxUSE_FONTDLG" = "yes"; then
36943 cat >>confdefs.h <<\_ACEOF
36944 #define wxUSE_FONTDLG 1
36945 _ACEOF
36946
36947 fi
36948
36949 if test "$wxUSE_DIRDLG" = "yes"; then
36950 if test "$wxUSE_TREECTRL" != "yes"; then
36951 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36952 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36953 else
36954 cat >>confdefs.h <<\_ACEOF
36955 #define wxUSE_DIRDLG 1
36956 _ACEOF
36957
36958 fi
36959 fi
36960
36961 if test "$wxUSE_MSGDLG" = "yes"; then
36962 cat >>confdefs.h <<\_ACEOF
36963 #define wxUSE_MSGDLG 1
36964 _ACEOF
36965
36966 fi
36967
36968 if test "$wxUSE_NUMBERDLG" = "yes"; then
36969 cat >>confdefs.h <<\_ACEOF
36970 #define wxUSE_NUMBERDLG 1
36971 _ACEOF
36972
36973 fi
36974
36975 if test "$wxUSE_PROGRESSDLG" = "yes"; then
36976 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36977 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
36978 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
36979 else
36980 cat >>confdefs.h <<\_ACEOF
36981 #define wxUSE_PROGRESSDLG 1
36982 _ACEOF
36983
36984 fi
36985 fi
36986
36987 if test "$wxUSE_SPLASH" = "yes"; then
36988 cat >>confdefs.h <<\_ACEOF
36989 #define wxUSE_SPLASH 1
36990 _ACEOF
36991
36992 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
36993 fi
36994
36995 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
36996 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36997 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
36998 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
36999 else
37000 cat >>confdefs.h <<\_ACEOF
37001 #define wxUSE_STARTUP_TIPS 1
37002 _ACEOF
37003
37004 fi
37005 fi
37006
37007 if test "$wxUSE_TEXTDLG" = "yes"; then
37008 cat >>confdefs.h <<\_ACEOF
37009 #define wxUSE_TEXTDLG 1
37010 _ACEOF
37011
37012 fi
37013
37014 if test "$wxUSE_WIZARDDLG" = "yes"; then
37015 cat >>confdefs.h <<\_ACEOF
37016 #define wxUSE_WIZARDDLG 1
37017 _ACEOF
37018
37019 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
37020 fi
37021
37022
37023 if test "$cross_compiling" = "yes"; then
37024 OSINFO="\"$host\""
37025 else
37026 OSINFO=`uname -s -r -m`
37027 OSINFO="\"$OSINFO\""
37028 fi
37029
37030 cat >>confdefs.h <<_ACEOF
37031 #define WXWIN_OS_DESCRIPTION $OSINFO
37032 _ACEOF
37033
37034
37035
37036 if test "x$prefix" != "xNONE"; then
37037 wxPREFIX=$prefix
37038 else
37039 wxPREFIX=$ac_default_prefix
37040 fi
37041
37042 cat >>confdefs.h <<_ACEOF
37043 #define wxINSTALL_PREFIX "$wxPREFIX"
37044 _ACEOF
37045
37046
37047
37048
37049 CORE_BASE_LIBS="net base"
37050 CORE_GUI_LIBS="adv core"
37051
37052 if test "$wxUSE_XML" = "yes" ; then
37053 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
37054 fi
37055 if test "$wxUSE_ODBC" != "no" ; then
37056 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
37057 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
37058 fi
37059 if test "$wxUSE_HTML" = "yes" ; then
37060 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
37061 fi
37062 if test "$wxUSE_XRC" = "yes" ; then
37063 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
37064 fi
37065
37066 if test "$wxUSE_GUI" != "yes"; then
37067 CORE_GUI_LIBS=""
37068 fi
37069
37070
37071
37072
37073
37074
37075
37076
37077 if test "$wxUSE_MAC" = 1 ; then
37078 if test "$wxUSE_SOUND" = "yes"; then
37079 LDFLAGS="$LDFLAGS -framework QuickTime"
37080 fi
37081 if test "$USE_DARWIN" = 1; then
37082 LDFLAGS="$LDFLAGS -framework IOKit"
37083 fi
37084 LDFLAGS="$LDFLAGS -framework Carbon -framework Cocoa -framework System"
37085 fi
37086 if test "$wxUSE_COCOA" = 1 ; then
37087 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
37088 fi
37089
37090
37091 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37092
37093 have_cos=0
37094 have_floor=0
37095
37096 for ac_func in cos
37097 do
37098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37099 echo "$as_me:$LINENO: checking for $ac_func" >&5
37100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37101 if eval "test \"\${$as_ac_var+set}\" = set"; then
37102 echo $ECHO_N "(cached) $ECHO_C" >&6
37103 else
37104 cat >conftest.$ac_ext <<_ACEOF
37105 /* confdefs.h. */
37106 _ACEOF
37107 cat confdefs.h >>conftest.$ac_ext
37108 cat >>conftest.$ac_ext <<_ACEOF
37109 /* end confdefs.h. */
37110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37111 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37112 #define $ac_func innocuous_$ac_func
37113
37114 /* System header to define __stub macros and hopefully few prototypes,
37115 which can conflict with char $ac_func (); below.
37116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37117 <limits.h> exists even on freestanding compilers. */
37118
37119 #ifdef __STDC__
37120 # include <limits.h>
37121 #else
37122 # include <assert.h>
37123 #endif
37124
37125 #undef $ac_func
37126
37127 /* Override any gcc2 internal prototype to avoid an error. */
37128 #ifdef __cplusplus
37129 extern "C"
37130 {
37131 #endif
37132 /* We use char because int might match the return type of a gcc2
37133 builtin and then its argument prototype would still apply. */
37134 char $ac_func ();
37135 /* The GNU C library defines this for functions which it implements
37136 to always fail with ENOSYS. Some functions are actually named
37137 something starting with __ and the normal name is an alias. */
37138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37139 choke me
37140 #else
37141 char (*f) () = $ac_func;
37142 #endif
37143 #ifdef __cplusplus
37144 }
37145 #endif
37146
37147 int
37148 main ()
37149 {
37150 return f != $ac_func;
37151 ;
37152 return 0;
37153 }
37154 _ACEOF
37155 rm -f conftest.$ac_objext conftest$ac_exeext
37156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37157 (eval $ac_link) 2>conftest.er1
37158 ac_status=$?
37159 grep -v '^ *+' conftest.er1 >conftest.err
37160 rm -f conftest.er1
37161 cat conftest.err >&5
37162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37163 (exit $ac_status); } &&
37164 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37166 (eval $ac_try) 2>&5
37167 ac_status=$?
37168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37169 (exit $ac_status); }; } &&
37170 { ac_try='test -s conftest$ac_exeext'
37171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37172 (eval $ac_try) 2>&5
37173 ac_status=$?
37174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37175 (exit $ac_status); }; }; then
37176 eval "$as_ac_var=yes"
37177 else
37178 echo "$as_me: failed program was:" >&5
37179 sed 's/^/| /' conftest.$ac_ext >&5
37180
37181 eval "$as_ac_var=no"
37182 fi
37183 rm -f conftest.err conftest.$ac_objext \
37184 conftest$ac_exeext conftest.$ac_ext
37185 fi
37186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37188 if test `eval echo '${'$as_ac_var'}'` = yes; then
37189 cat >>confdefs.h <<_ACEOF
37190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37191 _ACEOF
37192 have_cos=1
37193 fi
37194 done
37195
37196
37197 for ac_func in floor
37198 do
37199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37200 echo "$as_me:$LINENO: checking for $ac_func" >&5
37201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37202 if eval "test \"\${$as_ac_var+set}\" = set"; then
37203 echo $ECHO_N "(cached) $ECHO_C" >&6
37204 else
37205 cat >conftest.$ac_ext <<_ACEOF
37206 /* confdefs.h. */
37207 _ACEOF
37208 cat confdefs.h >>conftest.$ac_ext
37209 cat >>conftest.$ac_ext <<_ACEOF
37210 /* end confdefs.h. */
37211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37213 #define $ac_func innocuous_$ac_func
37214
37215 /* System header to define __stub macros and hopefully few prototypes,
37216 which can conflict with char $ac_func (); below.
37217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37218 <limits.h> exists even on freestanding compilers. */
37219
37220 #ifdef __STDC__
37221 # include <limits.h>
37222 #else
37223 # include <assert.h>
37224 #endif
37225
37226 #undef $ac_func
37227
37228 /* Override any gcc2 internal prototype to avoid an error. */
37229 #ifdef __cplusplus
37230 extern "C"
37231 {
37232 #endif
37233 /* We use char because int might match the return type of a gcc2
37234 builtin and then its argument prototype would still apply. */
37235 char $ac_func ();
37236 /* The GNU C library defines this for functions which it implements
37237 to always fail with ENOSYS. Some functions are actually named
37238 something starting with __ and the normal name is an alias. */
37239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37240 choke me
37241 #else
37242 char (*f) () = $ac_func;
37243 #endif
37244 #ifdef __cplusplus
37245 }
37246 #endif
37247
37248 int
37249 main ()
37250 {
37251 return f != $ac_func;
37252 ;
37253 return 0;
37254 }
37255 _ACEOF
37256 rm -f conftest.$ac_objext conftest$ac_exeext
37257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37258 (eval $ac_link) 2>conftest.er1
37259 ac_status=$?
37260 grep -v '^ *+' conftest.er1 >conftest.err
37261 rm -f conftest.er1
37262 cat conftest.err >&5
37263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37264 (exit $ac_status); } &&
37265 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37267 (eval $ac_try) 2>&5
37268 ac_status=$?
37269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37270 (exit $ac_status); }; } &&
37271 { ac_try='test -s conftest$ac_exeext'
37272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37273 (eval $ac_try) 2>&5
37274 ac_status=$?
37275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37276 (exit $ac_status); }; }; then
37277 eval "$as_ac_var=yes"
37278 else
37279 echo "$as_me: failed program was:" >&5
37280 sed 's/^/| /' conftest.$ac_ext >&5
37281
37282 eval "$as_ac_var=no"
37283 fi
37284 rm -f conftest.err conftest.$ac_objext \
37285 conftest$ac_exeext conftest.$ac_ext
37286 fi
37287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37289 if test `eval echo '${'$as_ac_var'}'` = yes; then
37290 cat >>confdefs.h <<_ACEOF
37291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37292 _ACEOF
37293 have_floor=1
37294 fi
37295 done
37296
37297 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37298 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37299 if test "$have_cos" = 1 -a "$have_floor" = 1; then
37300 echo "$as_me:$LINENO: result: yes" >&5
37301 echo "${ECHO_T}yes" >&6
37302 else
37303 echo "$as_me:$LINENO: result: no" >&5
37304 echo "${ECHO_T}no" >&6
37305 LIBS="$LIBS -lm"
37306 # use different functions to avoid configure caching
37307 have_sin=0
37308 have_ceil=0
37309
37310 for ac_func in sin
37311 do
37312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37313 echo "$as_me:$LINENO: checking for $ac_func" >&5
37314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37315 if eval "test \"\${$as_ac_var+set}\" = set"; then
37316 echo $ECHO_N "(cached) $ECHO_C" >&6
37317 else
37318 cat >conftest.$ac_ext <<_ACEOF
37319 /* confdefs.h. */
37320 _ACEOF
37321 cat confdefs.h >>conftest.$ac_ext
37322 cat >>conftest.$ac_ext <<_ACEOF
37323 /* end confdefs.h. */
37324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37326 #define $ac_func innocuous_$ac_func
37327
37328 /* System header to define __stub macros and hopefully few prototypes,
37329 which can conflict with char $ac_func (); below.
37330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37331 <limits.h> exists even on freestanding compilers. */
37332
37333 #ifdef __STDC__
37334 # include <limits.h>
37335 #else
37336 # include <assert.h>
37337 #endif
37338
37339 #undef $ac_func
37340
37341 /* Override any gcc2 internal prototype to avoid an error. */
37342 #ifdef __cplusplus
37343 extern "C"
37344 {
37345 #endif
37346 /* We use char because int might match the return type of a gcc2
37347 builtin and then its argument prototype would still apply. */
37348 char $ac_func ();
37349 /* The GNU C library defines this for functions which it implements
37350 to always fail with ENOSYS. Some functions are actually named
37351 something starting with __ and the normal name is an alias. */
37352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37353 choke me
37354 #else
37355 char (*f) () = $ac_func;
37356 #endif
37357 #ifdef __cplusplus
37358 }
37359 #endif
37360
37361 int
37362 main ()
37363 {
37364 return f != $ac_func;
37365 ;
37366 return 0;
37367 }
37368 _ACEOF
37369 rm -f conftest.$ac_objext conftest$ac_exeext
37370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37371 (eval $ac_link) 2>conftest.er1
37372 ac_status=$?
37373 grep -v '^ *+' conftest.er1 >conftest.err
37374 rm -f conftest.er1
37375 cat conftest.err >&5
37376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37377 (exit $ac_status); } &&
37378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37380 (eval $ac_try) 2>&5
37381 ac_status=$?
37382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37383 (exit $ac_status); }; } &&
37384 { ac_try='test -s conftest$ac_exeext'
37385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37386 (eval $ac_try) 2>&5
37387 ac_status=$?
37388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37389 (exit $ac_status); }; }; then
37390 eval "$as_ac_var=yes"
37391 else
37392 echo "$as_me: failed program was:" >&5
37393 sed 's/^/| /' conftest.$ac_ext >&5
37394
37395 eval "$as_ac_var=no"
37396 fi
37397 rm -f conftest.err conftest.$ac_objext \
37398 conftest$ac_exeext conftest.$ac_ext
37399 fi
37400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37402 if test `eval echo '${'$as_ac_var'}'` = yes; then
37403 cat >>confdefs.h <<_ACEOF
37404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37405 _ACEOF
37406 have_sin=1
37407 fi
37408 done
37409
37410
37411 for ac_func in ceil
37412 do
37413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37414 echo "$as_me:$LINENO: checking for $ac_func" >&5
37415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37416 if eval "test \"\${$as_ac_var+set}\" = set"; then
37417 echo $ECHO_N "(cached) $ECHO_C" >&6
37418 else
37419 cat >conftest.$ac_ext <<_ACEOF
37420 /* confdefs.h. */
37421 _ACEOF
37422 cat confdefs.h >>conftest.$ac_ext
37423 cat >>conftest.$ac_ext <<_ACEOF
37424 /* end confdefs.h. */
37425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37427 #define $ac_func innocuous_$ac_func
37428
37429 /* System header to define __stub macros and hopefully few prototypes,
37430 which can conflict with char $ac_func (); below.
37431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37432 <limits.h> exists even on freestanding compilers. */
37433
37434 #ifdef __STDC__
37435 # include <limits.h>
37436 #else
37437 # include <assert.h>
37438 #endif
37439
37440 #undef $ac_func
37441
37442 /* Override any gcc2 internal prototype to avoid an error. */
37443 #ifdef __cplusplus
37444 extern "C"
37445 {
37446 #endif
37447 /* We use char because int might match the return type of a gcc2
37448 builtin and then its argument prototype would still apply. */
37449 char $ac_func ();
37450 /* The GNU C library defines this for functions which it implements
37451 to always fail with ENOSYS. Some functions are actually named
37452 something starting with __ and the normal name is an alias. */
37453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37454 choke me
37455 #else
37456 char (*f) () = $ac_func;
37457 #endif
37458 #ifdef __cplusplus
37459 }
37460 #endif
37461
37462 int
37463 main ()
37464 {
37465 return f != $ac_func;
37466 ;
37467 return 0;
37468 }
37469 _ACEOF
37470 rm -f conftest.$ac_objext conftest$ac_exeext
37471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37472 (eval $ac_link) 2>conftest.er1
37473 ac_status=$?
37474 grep -v '^ *+' conftest.er1 >conftest.err
37475 rm -f conftest.er1
37476 cat conftest.err >&5
37477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37478 (exit $ac_status); } &&
37479 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37481 (eval $ac_try) 2>&5
37482 ac_status=$?
37483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37484 (exit $ac_status); }; } &&
37485 { ac_try='test -s conftest$ac_exeext'
37486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37487 (eval $ac_try) 2>&5
37488 ac_status=$?
37489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37490 (exit $ac_status); }; }; then
37491 eval "$as_ac_var=yes"
37492 else
37493 echo "$as_me: failed program was:" >&5
37494 sed 's/^/| /' conftest.$ac_ext >&5
37495
37496 eval "$as_ac_var=no"
37497 fi
37498 rm -f conftest.err conftest.$ac_objext \
37499 conftest$ac_exeext conftest.$ac_ext
37500 fi
37501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37503 if test `eval echo '${'$as_ac_var'}'` = yes; then
37504 cat >>confdefs.h <<_ACEOF
37505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37506 _ACEOF
37507 have_ceil=1
37508 fi
37509 done
37510
37511 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37512 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37513 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37514 echo "$as_me:$LINENO: result: yes" >&5
37515 echo "${ECHO_T}yes" >&6
37516 else
37517 echo "$as_me:$LINENO: result: no" >&5
37518 echo "${ECHO_T}no" >&6
37519 # not sure we should warn the user, crash, etc.
37520 fi
37521 fi
37522
37523 if test "$wxUSE_GUI" = "yes"; then
37524
37525
37526 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
37527 drawing dynamic erase event exec font image \
37528 minimal propsize rotate shaped widgets render"
37529
37530 if test "$wxUSE_MONOLITHIC" != "yes"; then
37531 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37532 fi
37533 else
37534 SAMPLES_SUBDIRS="console"
37535 fi
37536
37537
37538 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
37539 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37540
37541 if test "$GXX" = yes ; then
37542 CXXWARNINGS="-Wall"
37543 fi
37544
37545 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37546
37547 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
37548 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS`
37549 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
37550
37551
37552 LIBS=`echo $LIBS`
37553 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37554 EXTRALIBS_XML="$EXPAT_LINK"
37555 EXTRALIBS_HTML="$MSPACK_LINK"
37556 EXTRALIBS_ODBC="$ODBC_LINK"
37557 if test "$wxUSE_GUI" = "yes"; then
37558 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37559 fi
37560 if test "$wxUSE_OPENGL" = "yes"; then
37561 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
37562 fi
37563
37564 LDFLAGS="$LDFLAGS $PROFILE"
37565
37566 if test "$wxUSE_GTK" = 1; then
37567 WXCONFIG_INCLUDE=
37568 else
37569 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
37570 fi
37571
37572 WXCONFIG_EXTRALIBS="$LIBS"
37573
37574 if test "$wxUSE_REGEX" = "builtin" ; then
37575 wxconfig_3rdparty="$wxconfig_3rdparty regex${lib_unicode_suffix}"
37576 fi
37577 if test "$wxUSE_EXPAT" = "builtin" ; then
37578 wxconfig_3rdparty="$wxconfig_3rdparty expat"
37579 fi
37580 if test "$wxUSE_ODBC" = "builtin" ; then
37581 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
37582 fi
37583 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37584 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
37585 fi
37586 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37587 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
37588 fi
37589 if test "$wxUSE_LIBPNG" = "builtin" ; then
37590 wxconfig_3rdparty="$wxconfig_3rdparty png"
37591 fi
37592 if test "$wxUSE_ZLIB" = "builtin" ; then
37593 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
37594 fi
37595 if test "$wxUSE_ODBC" = "builtin" ; then
37596 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
37597 fi
37598
37599 for i in $wxconfig_3rdparty ; do
37600 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37601 done
37602
37603
37604 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37605 WXUNIV=1
37606 else
37607 WXUNIV=0
37608 fi
37609
37610
37611
37612
37613
37614
37615
37616
37617
37618 if test $wxUSE_MONOLITHIC = "yes" ; then
37619 MONOLITHIC=1
37620 else
37621 MONOLITHIC=0
37622 fi
37623
37624 if test $wxUSE_PLUGINS = "yes" ; then
37625 USE_PLUGINS=1
37626 else
37627 USE_PLUGINS=0
37628 fi
37629
37630 if test $wxUSE_ODBC != "no" ; then
37631 USE_ODBC=1
37632 else
37633 USE_ODBC=0
37634 fi
37635
37636 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37637 OFFICIAL_BUILD=1
37638 else
37639 OFFICIAL_BUILD=0
37640 fi
37641
37642
37643
37644
37645
37646
37647
37648
37649
37650
37651
37652
37653
37654
37655
37656
37657
37658
37659
37660
37661
37662
37663 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
37664
37665
37666
37667
37668
37669
37670
37671
37672 case "$TOOLKIT" in
37673 GTK)
37674 TOOLKIT_USER="GTK+"
37675 if test "$WXGTK20" = 1; then
37676 TOOLKIT_USER="$TOOLKIT_USER 2"
37677 fi
37678 ;;
37679
37680 *)
37681 TOOLKIT_USER=$TOOLKIT_LOWERCASE
37682 ;;
37683 esac
37684
37685
37686 if test "x$BAKEFILE_HOST" = "x"; then
37687 BAKEFILE_HOST="${host}"
37688 fi
37689
37690 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37691
37692 if test -n "$ac_tool_prefix"; then
37693 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37694 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
37695 echo "$as_me:$LINENO: checking for $ac_word" >&5
37696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37697 if test "${ac_cv_prog_RANLIB+set}" = set; then
37698 echo $ECHO_N "(cached) $ECHO_C" >&6
37699 else
37700 if test -n "$RANLIB"; then
37701 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
37702 else
37703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37704 for as_dir in $PATH
37705 do
37706 IFS=$as_save_IFS
37707 test -z "$as_dir" && as_dir=.
37708 for ac_exec_ext in '' $ac_executable_extensions; do
37709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37710 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
37711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37712 break 2
37713 fi
37714 done
37715 done
37716
37717 fi
37718 fi
37719 RANLIB=$ac_cv_prog_RANLIB
37720 if test -n "$RANLIB"; then
37721 echo "$as_me:$LINENO: result: $RANLIB" >&5
37722 echo "${ECHO_T}$RANLIB" >&6
37723 else
37724 echo "$as_me:$LINENO: result: no" >&5
37725 echo "${ECHO_T}no" >&6
37726 fi
37727
37728 fi
37729 if test -z "$ac_cv_prog_RANLIB"; then
37730 ac_ct_RANLIB=$RANLIB
37731 # Extract the first word of "ranlib", so it can be a program name with args.
37732 set dummy ranlib; ac_word=$2
37733 echo "$as_me:$LINENO: checking for $ac_word" >&5
37734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37735 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
37736 echo $ECHO_N "(cached) $ECHO_C" >&6
37737 else
37738 if test -n "$ac_ct_RANLIB"; then
37739 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
37740 else
37741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37742 for as_dir in $PATH
37743 do
37744 IFS=$as_save_IFS
37745 test -z "$as_dir" && as_dir=.
37746 for ac_exec_ext in '' $ac_executable_extensions; do
37747 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37748 ac_cv_prog_ac_ct_RANLIB="ranlib"
37749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37750 break 2
37751 fi
37752 done
37753 done
37754
37755 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
37756 fi
37757 fi
37758 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
37759 if test -n "$ac_ct_RANLIB"; then
37760 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
37761 echo "${ECHO_T}$ac_ct_RANLIB" >&6
37762 else
37763 echo "$as_me:$LINENO: result: no" >&5
37764 echo "${ECHO_T}no" >&6
37765 fi
37766
37767 RANLIB=$ac_ct_RANLIB
37768 else
37769 RANLIB="$ac_cv_prog_RANLIB"
37770 fi
37771
37772 # Find a good install program. We prefer a C program (faster),
37773 # so one script is as good as another. But avoid the broken or
37774 # incompatible versions:
37775 # SysV /etc/install, /usr/sbin/install
37776 # SunOS /usr/etc/install
37777 # IRIX /sbin/install
37778 # AIX /bin/install
37779 # AmigaOS /C/install, which installs bootblocks on floppy discs
37780 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37781 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37782 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37783 # OS/2's system install, which has a completely different semantic
37784 # ./install, which can be erroneously created by make from ./install.sh.
37785 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
37786 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
37787 if test -z "$INSTALL"; then
37788 if test "${ac_cv_path_install+set}" = set; then
37789 echo $ECHO_N "(cached) $ECHO_C" >&6
37790 else
37791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37792 for as_dir in $PATH
37793 do
37794 IFS=$as_save_IFS
37795 test -z "$as_dir" && as_dir=.
37796 # Account for people who put trailing slashes in PATH elements.
37797 case $as_dir/ in
37798 ./ | .// | /cC/* | \
37799 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
37800 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
37801 /usr/ucb/* ) ;;
37802 *)
37803 # OSF1 and SCO ODT 3.0 have their own names for install.
37804 # Don't use installbsd from OSF since it installs stuff as root
37805 # by default.
37806 for ac_prog in ginstall scoinst install; do
37807 for ac_exec_ext in '' $ac_executable_extensions; do
37808 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
37809 if test $ac_prog = install &&
37810 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37811 # AIX install. It has an incompatible calling convention.
37812 :
37813 elif test $ac_prog = install &&
37814 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37815 # program-specific install script used by HP pwplus--don't use.
37816 :
37817 else
37818 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
37819 break 3
37820 fi
37821 fi
37822 done
37823 done
37824 ;;
37825 esac
37826 done
37827
37828
37829 fi
37830 if test "${ac_cv_path_install+set}" = set; then
37831 INSTALL=$ac_cv_path_install
37832 else
37833 # As a last resort, use the slow shell script. We don't cache a
37834 # path for INSTALL within a source directory, because that will
37835 # break other packages using the cache if that directory is
37836 # removed, or if the path is relative.
37837 INSTALL=$ac_install_sh
37838 fi
37839 fi
37840 echo "$as_me:$LINENO: result: $INSTALL" >&5
37841 echo "${ECHO_T}$INSTALL" >&6
37842
37843 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37844 # It thinks the first close brace ends the variable substitution.
37845 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
37846
37847 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
37848
37849 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
37850
37851 echo "$as_me:$LINENO: checking whether ln -s works" >&5
37852 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
37853 LN_S=$as_ln_s
37854 if test "$LN_S" = "ln -s"; then
37855 echo "$as_me:$LINENO: result: yes" >&5
37856 echo "${ECHO_T}yes" >&6
37857 else
37858 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
37859 echo "${ECHO_T}no, using $LN_S" >&6
37860 fi
37861
37862
37863 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37864 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
37865 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
37866 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
37867 echo $ECHO_N "(cached) $ECHO_C" >&6
37868 else
37869 cat >conftest.make <<\_ACEOF
37870 all:
37871 @echo 'ac_maketemp="$(MAKE)"'
37872 _ACEOF
37873 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
37874 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
37875 if test -n "$ac_maketemp"; then
37876 eval ac_cv_prog_make_${ac_make}_set=yes
37877 else
37878 eval ac_cv_prog_make_${ac_make}_set=no
37879 fi
37880 rm -f conftest.make
37881 fi
37882 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
37883 echo "$as_me:$LINENO: result: yes" >&5
37884 echo "${ECHO_T}yes" >&6
37885 SET_MAKE=
37886 else
37887 echo "$as_me:$LINENO: result: no" >&5
37888 echo "${ECHO_T}no" >&6
37889 SET_MAKE="MAKE=${MAKE-make}"
37890 fi
37891
37892
37893
37894 if test -n "$ac_tool_prefix"; then
37895 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
37896 set dummy ${ac_tool_prefix}ar; ac_word=$2
37897 echo "$as_me:$LINENO: checking for $ac_word" >&5
37898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37899 if test "${ac_cv_prog_AR+set}" = set; then
37900 echo $ECHO_N "(cached) $ECHO_C" >&6
37901 else
37902 if test -n "$AR"; then
37903 ac_cv_prog_AR="$AR" # Let the user override the test.
37904 else
37905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37906 for as_dir in $PATH
37907 do
37908 IFS=$as_save_IFS
37909 test -z "$as_dir" && as_dir=.
37910 for ac_exec_ext in '' $ac_executable_extensions; do
37911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37912 ac_cv_prog_AR="${ac_tool_prefix}ar"
37913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37914 break 2
37915 fi
37916 done
37917 done
37918
37919 fi
37920 fi
37921 AR=$ac_cv_prog_AR
37922 if test -n "$AR"; then
37923 echo "$as_me:$LINENO: result: $AR" >&5
37924 echo "${ECHO_T}$AR" >&6
37925 else
37926 echo "$as_me:$LINENO: result: no" >&5
37927 echo "${ECHO_T}no" >&6
37928 fi
37929
37930 fi
37931 if test -z "$ac_cv_prog_AR"; then
37932 ac_ct_AR=$AR
37933 # Extract the first word of "ar", so it can be a program name with args.
37934 set dummy ar; ac_word=$2
37935 echo "$as_me:$LINENO: checking for $ac_word" >&5
37936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37937 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
37938 echo $ECHO_N "(cached) $ECHO_C" >&6
37939 else
37940 if test -n "$ac_ct_AR"; then
37941 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
37942 else
37943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37944 for as_dir in $PATH
37945 do
37946 IFS=$as_save_IFS
37947 test -z "$as_dir" && as_dir=.
37948 for ac_exec_ext in '' $ac_executable_extensions; do
37949 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37950 ac_cv_prog_ac_ct_AR="ar"
37951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37952 break 2
37953 fi
37954 done
37955 done
37956
37957 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
37958 fi
37959 fi
37960 ac_ct_AR=$ac_cv_prog_ac_ct_AR
37961 if test -n "$ac_ct_AR"; then
37962 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
37963 echo "${ECHO_T}$ac_ct_AR" >&6
37964 else
37965 echo "$as_me:$LINENO: result: no" >&5
37966 echo "${ECHO_T}no" >&6
37967 fi
37968
37969 AR=$ac_ct_AR
37970 else
37971 AR="$ac_cv_prog_AR"
37972 fi
37973
37974 if test -n "$ac_tool_prefix"; then
37975 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
37976 set dummy ${ac_tool_prefix}strip; ac_word=$2
37977 echo "$as_me:$LINENO: checking for $ac_word" >&5
37978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37979 if test "${ac_cv_prog_STRIP+set}" = set; then
37980 echo $ECHO_N "(cached) $ECHO_C" >&6
37981 else
37982 if test -n "$STRIP"; then
37983 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
37984 else
37985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37986 for as_dir in $PATH
37987 do
37988 IFS=$as_save_IFS
37989 test -z "$as_dir" && as_dir=.
37990 for ac_exec_ext in '' $ac_executable_extensions; do
37991 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37992 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
37993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37994 break 2
37995 fi
37996 done
37997 done
37998
37999 fi
38000 fi
38001 STRIP=$ac_cv_prog_STRIP
38002 if test -n "$STRIP"; then
38003 echo "$as_me:$LINENO: result: $STRIP" >&5
38004 echo "${ECHO_T}$STRIP" >&6
38005 else
38006 echo "$as_me:$LINENO: result: no" >&5
38007 echo "${ECHO_T}no" >&6
38008 fi
38009
38010 fi
38011 if test -z "$ac_cv_prog_STRIP"; then
38012 ac_ct_STRIP=$STRIP
38013 # Extract the first word of "strip", so it can be a program name with args.
38014 set dummy strip; ac_word=$2
38015 echo "$as_me:$LINENO: checking for $ac_word" >&5
38016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38017 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38018 echo $ECHO_N "(cached) $ECHO_C" >&6
38019 else
38020 if test -n "$ac_ct_STRIP"; then
38021 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
38022 else
38023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38024 for as_dir in $PATH
38025 do
38026 IFS=$as_save_IFS
38027 test -z "$as_dir" && as_dir=.
38028 for ac_exec_ext in '' $ac_executable_extensions; do
38029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38030 ac_cv_prog_ac_ct_STRIP="strip"
38031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38032 break 2
38033 fi
38034 done
38035 done
38036
38037 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
38038 fi
38039 fi
38040 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
38041 if test -n "$ac_ct_STRIP"; then
38042 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38043 echo "${ECHO_T}$ac_ct_STRIP" >&6
38044 else
38045 echo "$as_me:$LINENO: result: no" >&5
38046 echo "${ECHO_T}no" >&6
38047 fi
38048
38049 STRIP=$ac_ct_STRIP
38050 else
38051 STRIP="$ac_cv_prog_STRIP"
38052 fi
38053
38054 if test -n "$ac_tool_prefix"; then
38055 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38056 set dummy ${ac_tool_prefix}nm; ac_word=$2
38057 echo "$as_me:$LINENO: checking for $ac_word" >&5
38058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38059 if test "${ac_cv_prog_NM+set}" = set; then
38060 echo $ECHO_N "(cached) $ECHO_C" >&6
38061 else
38062 if test -n "$NM"; then
38063 ac_cv_prog_NM="$NM" # Let the user override the test.
38064 else
38065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38066 for as_dir in $PATH
38067 do
38068 IFS=$as_save_IFS
38069 test -z "$as_dir" && as_dir=.
38070 for ac_exec_ext in '' $ac_executable_extensions; do
38071 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38072 ac_cv_prog_NM="${ac_tool_prefix}nm"
38073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38074 break 2
38075 fi
38076 done
38077 done
38078
38079 fi
38080 fi
38081 NM=$ac_cv_prog_NM
38082 if test -n "$NM"; then
38083 echo "$as_me:$LINENO: result: $NM" >&5
38084 echo "${ECHO_T}$NM" >&6
38085 else
38086 echo "$as_me:$LINENO: result: no" >&5
38087 echo "${ECHO_T}no" >&6
38088 fi
38089
38090 fi
38091 if test -z "$ac_cv_prog_NM"; then
38092 ac_ct_NM=$NM
38093 # Extract the first word of "nm", so it can be a program name with args.
38094 set dummy nm; ac_word=$2
38095 echo "$as_me:$LINENO: checking for $ac_word" >&5
38096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38097 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38098 echo $ECHO_N "(cached) $ECHO_C" >&6
38099 else
38100 if test -n "$ac_ct_NM"; then
38101 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
38102 else
38103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38104 for as_dir in $PATH
38105 do
38106 IFS=$as_save_IFS
38107 test -z "$as_dir" && as_dir=.
38108 for ac_exec_ext in '' $ac_executable_extensions; do
38109 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38110 ac_cv_prog_ac_ct_NM="nm"
38111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38112 break 2
38113 fi
38114 done
38115 done
38116
38117 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
38118 fi
38119 fi
38120 ac_ct_NM=$ac_cv_prog_ac_ct_NM
38121 if test -n "$ac_ct_NM"; then
38122 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38123 echo "${ECHO_T}$ac_ct_NM" >&6
38124 else
38125 echo "$as_me:$LINENO: result: no" >&5
38126 echo "${ECHO_T}no" >&6
38127 fi
38128
38129 NM=$ac_ct_NM
38130 else
38131 NM="$ac_cv_prog_NM"
38132 fi
38133
38134
38135 case ${BAKEFILE_HOST} in
38136 *-hp-hpux* )
38137 INSTALL_DIR="mkdir -p"
38138 ;;
38139 *) INSTALL_DIR="$INSTALL -d"
38140 ;;
38141 esac
38142
38143
38144 LDFLAGS_GUI=
38145 case ${BAKEFILE_HOST} in
38146 *-*-cygwin* | *-*-mingw32* )
38147 LDFLAGS_GUI="-mwindows"
38148 esac
38149
38150
38151 fi
38152
38153 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38154 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38155 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38156 echo $ECHO_N "(cached) $ECHO_C" >&6
38157 else
38158
38159 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
38160 egrep -s GNU > /dev/null); then
38161 bakefile_cv_prog_makeisgnu="yes"
38162 else
38163 bakefile_cv_prog_makeisgnu="no"
38164 fi
38165
38166 fi
38167 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38168 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38169
38170 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38171 IF_GNU_MAKE=""
38172 else
38173 IF_GNU_MAKE="#"
38174 fi
38175
38176
38177
38178 PLATFORM_UNIX=0
38179 PLATFORM_WIN32=0
38180 PLATFORM_MSDOS=0
38181 PLATFORM_MAC=0
38182 PLATFORM_MACOSX=0
38183 PLATFORM_OS2=0
38184
38185 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38186 case "${BAKEFILE_HOST}" in
38187 *-*-cygwin* | *-*-mingw32* )
38188 PLATFORM_WIN32=1
38189 ;;
38190 *-pc-msdosdjgpp )
38191 PLATFORM_MSDOS=1
38192 ;;
38193 *-pc-os2_emx | *-pc-os2-emx )
38194 PLATFORM_OS2=1
38195 ;;
38196 powerpc-*-darwin* )
38197 PLATFORM_MAC=1
38198 PLATFORM_MACOSX=1
38199 ;;
38200 * )
38201 PLATFORM_UNIX=1
38202 ;;
38203 esac
38204 else
38205 case "$BAKEFILE_FORCE_PLATFORM" in
38206 win32 )
38207 PLATFORM_WIN32=1
38208 ;;
38209 msdos )
38210 PLATFORM_MSDOS=1
38211 ;;
38212 os2 )
38213 PLATFORM_OS2=1
38214 ;;
38215 darwin )
38216 PLATFORM_MAC=1
38217 PLATFORM_MACOSX=1
38218 ;;
38219 unix )
38220 PLATFORM_UNIX=1
38221 ;;
38222 * )
38223 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38224 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38225 { (exit 1); exit 1; }; }
38226 ;;
38227 esac
38228 fi
38229
38230
38231
38232
38233
38234
38235
38236
38237
38238 # Check whether --enable-omf or --disable-omf was given.
38239 if test "${enable_omf+set}" = set; then
38240 enableval="$enable_omf"
38241 bk_os2_use_omf="$enableval"
38242 fi;
38243
38244 case "${BAKEFILE_HOST}" in
38245 *-*-darwin* )
38246 CFLAGS="$CFLAGS -fno-common"
38247 CXXFLAGS="$CXXFLAGS -fno-common"
38248 ;;
38249
38250 *-pc-os2_emx | *-pc-os2-emx )
38251 if test "x$bk_os2_use_omf" = "xyes" ; then
38252 AR=emxomfar
38253 RANLIB=:
38254 LDFLAGS="-Zomf $LDFLAGS"
38255 CFLAGS="-Zomf $CFLAGS"
38256 CXXFLAGS="-Zomf $CXXFLAGS"
38257 OS2_LIBEXT="lib"
38258 else
38259 OS2_LIBEXT="a"
38260 fi
38261 ;;
38262 esac
38263
38264
38265 SO_SUFFIX="so"
38266 SO_SUFFIX_MODULE="so"
38267 EXEEXT=""
38268 LIBPREFIX="lib"
38269 LIBEXT=".a"
38270 DLLPREFIX="lib"
38271 DLLPREFIX_MODULE=""
38272 DLLIMP_SUFFIX=""
38273
38274 case "${BAKEFILE_HOST}" in
38275 *-hp-hpux* )
38276 SO_SUFFIX="sl"
38277 SO_SUFFIX_MODULE="sl"
38278 ;;
38279 *-*-aix* )
38280 SO_SUFFIX="a"
38281 SO_SUFFIX_MODULE="a"
38282 ;;
38283 *-*-cygwin* | *-*-mingw32* )
38284 SO_SUFFIX="dll"
38285 SO_SUFFIX_MODULE="dll"
38286 DLLIMP_SUFFIX="dll.a"
38287 EXEEXT=".exe"
38288 DLLPREFIX=""
38289 ;;
38290 *-pc-msdosdjgpp )
38291 EXEEXT=".exe"
38292 DLLPREFIX=""
38293 ;;
38294 *-pc-os2_emx | *-pc-os2-emx )
38295 SO_SUFFIX="dll"
38296 SO_SUFFIX_MODULE="dll"
38297 DLLIMP_SUFFIX=$OS2_LIBEXT
38298 EXEEXT=".exe"
38299 DLLPREFIX=""
38300 LIBPREFIX=""
38301 LIBEXT=".$OS2_LIBEXT"
38302 ;;
38303 powerpc-*-darwin* )
38304 SO_SUFFIX="dylib"
38305 SO_SUFFIX_MODULE="bundle"
38306 ;;
38307 esac
38308
38309 if test "x$DLLIMP_SUFFIX" = "x" ; then
38310 DLLIMP_SUFFIX="$SO_SUFFIX"
38311 fi
38312
38313
38314
38315
38316
38317
38318
38319
38320
38321
38322
38323 SHARED_LD_CC="\$(CC) -shared -o"
38324 SHARED_LD_CXX="\$(CXX) -shared -o"
38325
38326 if test "x$GCC" = "xyes"; then
38327 PIC_FLAG="-fPIC"
38328 fi
38329
38330 case "${BAKEFILE_HOST}" in
38331 *-hp-hpux* )
38332 if test "x$GCC" = "xyes"; then
38333 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
38334 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
38335 else
38336 LDFLAGS="$LDFLAGS -L/usr/lib"
38337
38338 SHARED_LD_CC="${CC} -b -o"
38339 SHARED_LD_CXX="${CXX} -b -o"
38340 PIC_FLAG="+Z"
38341 fi
38342 ;;
38343
38344 *-*-linux* )
38345 if test "x$GCC" != "xyes"; then
38346 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38347 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38348 if test "${bakefile_cv_prog_icc+set}" = set; then
38349 echo $ECHO_N "(cached) $ECHO_C" >&6
38350 else
38351
38352 cat >conftest.$ac_ext <<_ACEOF
38353 /* confdefs.h. */
38354 _ACEOF
38355 cat confdefs.h >>conftest.$ac_ext
38356 cat >>conftest.$ac_ext <<_ACEOF
38357 /* end confdefs.h. */
38358
38359 int
38360 main ()
38361 {
38362
38363 #ifndef __INTEL_COMPILER
38364 #error Not icc
38365 #endif
38366
38367 ;
38368 return 0;
38369 }
38370 _ACEOF
38371 rm -f conftest.$ac_objext
38372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38373 (eval $ac_compile) 2>conftest.er1
38374 ac_status=$?
38375 grep -v '^ *+' conftest.er1 >conftest.err
38376 rm -f conftest.er1
38377 cat conftest.err >&5
38378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38379 (exit $ac_status); } &&
38380 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38382 (eval $ac_try) 2>&5
38383 ac_status=$?
38384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38385 (exit $ac_status); }; } &&
38386 { ac_try='test -s conftest.$ac_objext'
38387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38388 (eval $ac_try) 2>&5
38389 ac_status=$?
38390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38391 (exit $ac_status); }; }; then
38392 bakefile_cv_prog_icc=yes
38393 else
38394 echo "$as_me: failed program was:" >&5
38395 sed 's/^/| /' conftest.$ac_ext >&5
38396
38397 bakefile_cv_prog_icc=no
38398
38399 fi
38400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38401
38402 fi
38403 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38404 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38405 if test "$bakefile_cv_prog_icc" = "yes"; then
38406 PIC_FLAG="-KPIC"
38407 fi
38408 fi
38409 ;;
38410
38411 *-*-solaris2* )
38412 if test "x$GCC" != xyes ; then
38413 SHARED_LD_CC="${CC} -G -o"
38414 SHARED_LD_CXX="${CXX} -G -o"
38415 PIC_FLAG="-KPIC"
38416 fi
38417 ;;
38418
38419 *-*-darwin* )
38420
38421 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38422 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38423 if test "${wx_cv_gcc31+set}" = set; then
38424 echo $ECHO_N "(cached) $ECHO_C" >&6
38425 else
38426
38427 cat >conftest.$ac_ext <<_ACEOF
38428 /* confdefs.h. */
38429 _ACEOF
38430 cat confdefs.h >>conftest.$ac_ext
38431 cat >>conftest.$ac_ext <<_ACEOF
38432 /* end confdefs.h. */
38433
38434 int
38435 main ()
38436 {
38437
38438 #if (__GNUC__ < 3) || \
38439 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38440 #error old gcc
38441 #endif
38442
38443 ;
38444 return 0;
38445 }
38446 _ACEOF
38447 rm -f conftest.$ac_objext
38448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38449 (eval $ac_compile) 2>conftest.er1
38450 ac_status=$?
38451 grep -v '^ *+' conftest.er1 >conftest.err
38452 rm -f conftest.er1
38453 cat conftest.err >&5
38454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38455 (exit $ac_status); } &&
38456 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38458 (eval $ac_try) 2>&5
38459 ac_status=$?
38460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38461 (exit $ac_status); }; } &&
38462 { ac_try='test -s conftest.$ac_objext'
38463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38464 (eval $ac_try) 2>&5
38465 ac_status=$?
38466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38467 (exit $ac_status); }; }; then
38468
38469 wx_cv_gcc31=yes
38470
38471 else
38472 echo "$as_me: failed program was:" >&5
38473 sed 's/^/| /' conftest.$ac_ext >&5
38474
38475
38476 wx_cv_gcc31=no
38477
38478
38479 fi
38480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38481
38482 fi
38483 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38484 echo "${ECHO_T}$wx_cv_gcc31" >&6
38485 if test "$wx_cv_gcc31" = "no"; then
38486
38487 D='$'
38488 cat <<EOF >shared-ld-sh
38489 #!/bin/sh
38490 #-----------------------------------------------------------------------------
38491 #-- Name: distrib/mac/shared-ld-sh
38492 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38493 #-- Author: Gilles Depeyrot
38494 #-- Copyright: (c) 2002 Gilles Depeyrot
38495 #-- Licence: any use permitted
38496 #-----------------------------------------------------------------------------
38497
38498 verbose=0
38499 args=""
38500 objects=""
38501 linking_flag="-dynamiclib"
38502
38503 while test ${D}# -gt 0; do
38504 case ${D}1 in
38505
38506 -v)
38507 verbose=1
38508 ;;
38509
38510 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38511 # collect these options and values
38512 args="${D}{args} ${D}1 ${D}2"
38513 shift
38514 ;;
38515
38516 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38517 # collect these options
38518 args="${D}{args} ${D}1"
38519 ;;
38520
38521 -dynamiclib|-bundle)
38522 linking_flag="${D}1"
38523 ;;
38524
38525 -*)
38526 echo "shared-ld: unhandled option '${D}1'"
38527 exit 1
38528 ;;
38529
38530 *.o | *.a | *.dylib)
38531 # collect object files
38532 objects="${D}{objects} ${D}1"
38533 ;;
38534
38535 *)
38536 echo "shared-ld: unhandled argument '${D}1'"
38537 exit 1
38538 ;;
38539
38540 esac
38541 shift
38542 done
38543
38544 #
38545 # Link one module containing all the others
38546 #
38547 if test ${D}{verbose} = 1; then
38548 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
38549 fi
38550 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
38551 status=${D}?
38552 if test ${D}{status} != 0; then
38553 exit ${D}{status}
38554 fi
38555
38556 #
38557 # Link the shared library from the single module created
38558 #
38559 if test ${D}{verbose} = 1; then
38560 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38561 fi
38562 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38563 status=${D}?
38564 if test ${D}{status} != 0; then
38565 exit ${D}{status}
38566 fi
38567
38568 #
38569 # Remove intermediate module
38570 #
38571 rm -f master.${D}${D}.o
38572
38573 exit 0
38574 EOF
38575
38576 chmod +x shared-ld-sh
38577
38578 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38579 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38580 SHARED_LD_CXX="$SHARED_LD_CC"
38581 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
38582 else
38583 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38584 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
38585 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38586 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
38587 fi
38588
38589 PIC_FLAG="-dynamic -fPIC"
38590 ;;
38591
38592 *-*-aix* )
38593 if test "x$GCC" != "xyes"; then
38594 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38595 set dummy makeC++SharedLib; ac_word=$2
38596 echo "$as_me:$LINENO: checking for $ac_word" >&5
38597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38598 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
38599 echo $ECHO_N "(cached) $ECHO_C" >&6
38600 else
38601 if test -n "$AIX_CXX_LD"; then
38602 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
38603 else
38604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38605 for as_dir in $PATH
38606 do
38607 IFS=$as_save_IFS
38608 test -z "$as_dir" && as_dir=.
38609 for ac_exec_ext in '' $ac_executable_extensions; do
38610 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38611 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
38612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38613 break 2
38614 fi
38615 done
38616 done
38617
38618 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
38619 fi
38620 fi
38621 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
38622 if test -n "$AIX_CXX_LD"; then
38623 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
38624 echo "${ECHO_T}$AIX_CXX_LD" >&6
38625 else
38626 echo "$as_me:$LINENO: result: no" >&5
38627 echo "${ECHO_T}no" >&6
38628 fi
38629
38630 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
38631 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
38632 fi
38633 ;;
38634
38635 *-*-beos* )
38636 SHARED_LD_CC="${LD} -shared -o"
38637 SHARED_LD_CXX="${LD} -shared -o"
38638 ;;
38639
38640 *-*-irix* )
38641 if test "x$GCC" != "xyes"; then
38642 PIC_FLAG="-KPIC"
38643 fi
38644 ;;
38645
38646 *-*-cygwin* | *-*-mingw32* )
38647 PIC_FLAG=""
38648 ;;
38649
38650 *-pc-os2_emx | *-pc-os2-emx )
38651 SHARED_LD_CC="`pwd`/dllar.sh -o"
38652 SHARED_LD_CXX="`pwd`/dllar.sh -o"
38653 PIC_FLAG=""
38654
38655 D='$'
38656 cat <<EOF >dllar.sh
38657 #!/bin/sh
38658 #
38659 # dllar - a tool to build both a .dll and an .a file
38660 # from a set of object (.o) files for EMX/OS2.
38661 #
38662 # Written by Andrew Zabolotny, bit@freya.etu.ru
38663 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38664 #
38665 # This script will accept a set of files on the command line.
38666 # All the public symbols from the .o files will be exported into
38667 # a .DEF file, then linker will be run (through gcc) against them to
38668 # build a shared library consisting of all given .o files. All libraries
38669 # (.a) will be first decompressed into component .o files then act as
38670 # described above. You can optionally give a description (-d "description")
38671 # which will be put into .DLL. To see the list of accepted options (as well
38672 # as command-line format) simply run this program without options. The .DLL
38673 # is built to be imported by name (there is no guarantee that new versions
38674 # of the library you build will have same ordinals for same symbols).
38675 #
38676 # dllar is free software; you can redistribute it and/or modify
38677 # it under the terms of the GNU General Public License as published by
38678 # the Free Software Foundation; either version 2, or (at your option)
38679 # any later version.
38680 #
38681 # dllar is distributed in the hope that it will be useful,
38682 # but WITHOUT ANY WARRANTY; without even the implied warranty of
38683 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38684 # GNU General Public License for more details.
38685 #
38686 # You should have received a copy of the GNU General Public License
38687 # along with dllar; see the file COPYING. If not, write to the Free
38688 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38689 # 02111-1307, USA.
38690
38691 # To successfuly run this program you will need:
38692 # - Current drive should have LFN support (HPFS, ext2, network, etc)
38693 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38694 # - gcc
38695 # (used to build the .dll)
38696 # - emxexp
38697 # (used to create .def file from .o files)
38698 # - emximp
38699 # (used to create .a file from .def file)
38700 # - GNU text utilites (cat, sort, uniq)
38701 # used to process emxexp output
38702 # - GNU file utilities (mv, rm)
38703 # - GNU sed
38704 # - lxlite (optional, see flag below)
38705 # (used for general .dll cleanup)
38706 #
38707
38708 flag_USE_LXLITE=1;
38709
38710 #
38711 # helper functions
38712 # basnam, variant of basename, which does _not_ remove the path, _iff_
38713 # second argument (suffix to remove) is given
38714 basnam(){
38715 case ${D}# in
38716 1)
38717 echo ${D}1 | sed 's/.*\///' | sed 's/.*\\//'
38718 ;;
38719 2)
38720 echo ${D}1 | sed 's/'${D}2'${D}//'
38721 ;;
38722 *)
38723 echo "error in basnam ${D}*"
38724 exit 8
38725 ;;
38726 esac
38727 }
38728
38729 # Cleanup temporary files and output
38730 CleanUp() {
38731 cd ${D}curDir
38732 for i in ${D}inputFiles ; do
38733 case ${D}i in
38734 *!)
38735 rm -rf \`basnam ${D}i !\`
38736 ;;
38737 *)
38738 ;;
38739 esac
38740 done
38741
38742 # Kill result in case of failure as there is just to many stupid make/nmake
38743 # things out there which doesn't do this.
38744 if [] ${D}# -eq 0 []; then
38745 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
38746 fi
38747 }
38748
38749 # Print usage and exit script with rc=1.
38750 PrintHelp() {
38751 echo 'Usage: dllar []-o[[]utput[]] output_file[] []-i[[]mport[]] importlib_name[]'
38752 echo ' []-d[[]escription[]] "dll descrption"[] []-cc "CC"[] []-f[[]lags[]] "CFLAGS"[]'
38753 echo ' []-ord[[]inals[]][] -ex[]clude[] "symbol(s)"'
38754 echo ' []-libf[[]lags[]] "{INIT|TERM}{GLOBAL|INSTANCE}"[] []-nocrt[[]dll[]][] []-nolxl[[]ite[]][]'
38755 echo ' []*.o[] []*.a[]'
38756 echo '*> "output_file" should have no extension.'
38757 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
38758 echo ' The import library name is derived from this and is set to "name".a,'
38759 echo ' unless overridden by -import'
38760 echo '*> "importlib_name" should have no extension.'
38761 echo ' If it has the .o, or .a extension, it is automatically removed.'
38762 echo ' This name is used as the import library name and may be longer and'
38763 echo ' more descriptive than the DLL name which has to follow the old '
38764 echo ' 8.3 convention of FAT.'
38765 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
38766 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
38767 echo ' These flags will be put at the start of GCC command line.'
38768 echo '*> -ord[]inals[] tells dllar to export entries by ordinals. Be careful.'
38769 echo '*> -ex[]clude[] defines symbols which will not be exported. You can define'
38770 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
38771 echo ' If the last character of a symbol is "*", all symbols beginning'
38772 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
38773 echo '*> -libf[]lags[] can be used to add INITGLOBAL/INITINSTANCE and/or'
38774 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
38775 echo '*> -nocrt[]dll[] switch will disable linking the library against emx''s'
38776 echo ' C runtime DLLs.'
38777 echo '*> -nolxl[]ite[] switch will disable running lxlite on the resulting DLL.'
38778 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
38779 echo ' unchanged to GCC at the end of command line.'
38780 echo '*> If you create a DLL from a library and you do not specify -o,'
38781 echo ' the basename for DLL and import library will be set to library name,'
38782 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
38783 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
38784 echo ' library will be renamed into gcc_s.a.'
38785 echo '--------'
38786 echo 'Example:'
38787 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
38788 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
38789 CleanUp
38790 exit 1
38791 }
38792
38793 # Execute a command.
38794 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
38795 # @Uses Whatever CleanUp() uses.
38796 doCommand() {
38797 echo "${D}*"
38798 eval ${D}*
38799 rcCmd=${D}?
38800
38801 if [] ${D}rcCmd -ne 0 []; then
38802 echo "command failed, exit code="${D}rcCmd
38803 CleanUp
38804 exit ${D}rcCmd
38805 fi
38806 }
38807
38808 # main routine
38809 # setup globals
38810 cmdLine=${D}*
38811 outFile=""
38812 outimpFile=""
38813 inputFiles=""
38814 description=""
38815 CC=gcc.exe
38816 CFLAGS="-s -Zcrtdll"
38817 EXTRA_CFLAGS=""
38818 EXPORT_BY_ORDINALS=0
38819 exclude_symbols=""
38820 library_flags=""
38821 curDir=\`pwd\`
38822 curDirS=curDir
38823 case ${D}curDirS in
38824 */)
38825 ;;
38826 *)
38827 curDirS=${D}{curDirS}"/"
38828 ;;
38829 esac
38830 # Parse commandline
38831 libsToLink=0
38832 while [] ${D}1 []; do
38833 case ${D}1 in
38834 -ord*)
38835 EXPORT_BY_ORDINALS=1;
38836 ;;
38837 -o*)
38838 shift
38839 outFile=${D}1
38840 ;;
38841 -i*)
38842 shift
38843 outimpFile=${D}1
38844 ;;
38845 -d*)
38846 shift
38847 description=${D}1
38848 ;;
38849 -f*)
38850 shift
38851 CFLAGS=${D}1
38852 ;;
38853 -c*)
38854 shift
38855 CC=${D}1
38856 ;;
38857 -h*)
38858 PrintHelp
38859 ;;
38860 -ex*)
38861 shift
38862 exclude_symbols=${D}{exclude_symbols}${D}1" "
38863 ;;
38864 -libf*)
38865 shift
38866 library_flags=${D}{library_flags}${D}1" "
38867 ;;
38868 -nocrt*)
38869 CFLAGS="-s"
38870 ;;
38871 -nolxl*)
38872 flag_USE_LXLITE=0
38873 ;;
38874 -* | /*)
38875 case ${D}1 in
38876 -L* | -l*)
38877 libsToLink=1
38878 ;;
38879 *)
38880 ;;
38881 esac
38882 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38883 ;;
38884 *)
38885 found=0;
38886 if [] ${D}libsToLink -ne 0 []; then
38887 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38888 else
38889 for file in ${D}1 ; do
38890 if [] -f ${D}file []; then
38891 inputFiles="${D}{inputFiles} ${D}file"
38892 found=1
38893 fi
38894 done
38895 if [] ${D}found -eq 0 []; then
38896 echo "ERROR: No file(s) found: "${D}1
38897 exit 8
38898 fi
38899 fi
38900 ;;
38901 esac
38902 shift
38903 done # iterate cmdline words
38904
38905 #
38906 if [] -z "${D}inputFiles" []; then
38907 echo "dllar: no input files"
38908 PrintHelp
38909 fi
38910
38911 # Now extract all .o files from .a files
38912 newInputFiles=""
38913 for file in ${D}inputFiles ; do
38914 case ${D}file in
38915 *.a | *.lib)
38916 case ${D}file in
38917 *.a)
38918 suffix=".a"
38919 AR="ar"
38920 ;;
38921 *.lib)
38922 suffix=".lib"
38923 AR="emxomfar"
38924 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
38925 ;;
38926 *)
38927 ;;
38928 esac
38929 dirname=\`basnam ${D}file ${D}suffix\`"_%"
38930 mkdir ${D}dirname
38931 if [] ${D}? -ne 0 []; then
38932 echo "Failed to create subdirectory ./${D}dirname"
38933 CleanUp
38934 exit 8;
38935 fi
38936 # Append '!' to indicate archive
38937 newInputFiles="${D}newInputFiles ${D}{dirname}!"
38938 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
38939 cd ${D}curDir
38940 found=0;
38941 for subfile in ${D}dirname/*.o* ; do
38942 if [] -f ${D}subfile []; then
38943 found=1
38944 if [] -s ${D}subfile []; then
38945 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
38946 newInputFiles="${D}newInputFiles ${D}subfile"
38947 fi
38948 fi
38949 done
38950 if [] ${D}found -eq 0 []; then
38951 echo "WARNING: there are no files in archive \'${D}file\'"
38952 fi
38953 ;;
38954 *)
38955 newInputFiles="${D}{newInputFiles} ${D}file"
38956 ;;
38957 esac
38958 done
38959 inputFiles="${D}newInputFiles"
38960
38961 # Output filename(s).
38962 do_backup=0;
38963 if [] -z ${D}outFile []; then
38964 do_backup=1;
38965 set outFile ${D}inputFiles; outFile=${D}2
38966 fi
38967
38968 # If it is an archive, remove the '!' and the '_%' suffixes
38969 case ${D}outFile in
38970 *_%!)
38971 outFile=\`basnam ${D}outFile _%!\`
38972 ;;
38973 *)
38974 ;;
38975 esac
38976 case ${D}outFile in
38977 *.dll)
38978 outFile=\`basnam ${D}outFile .dll\`
38979 ;;
38980 *.DLL)
38981 outFile=\`basnam ${D}outFile .DLL\`
38982 ;;
38983 *.o)
38984 outFile=\`basnam ${D}outFile .o\`
38985 ;;
38986 *.obj)
38987 outFile=\`basnam ${D}outFile .obj\`
38988 ;;
38989 *.a)
38990 outFile=\`basnam ${D}outFile .a\`
38991 ;;
38992 *.lib)
38993 outFile=\`basnam ${D}outFile .lib\`
38994 ;;
38995 *)
38996 ;;
38997 esac
38998 case ${D}outimpFile in
38999 *.a)
39000 outimpFile=\`basnam ${D}outimpFile .a\`
39001 ;;
39002 *.lib)
39003 outimpFile=\`basnam ${D}outimpFile .lib\`
39004 ;;
39005 *)
39006 ;;
39007 esac
39008 if [] -z ${D}outimpFile []; then
39009 outimpFile=${D}outFile
39010 fi
39011 defFile="${D}{outFile}.def"
39012 arcFile="${D}{outimpFile}.a"
39013 arcFile2="${D}{outimpFile}.lib"
39014 dllFile="${D}outFile"
39015 # Add suffix to dllFile later, first we need a version to use as
39016 # name in .def file.
39017
39018 if [] ${D}do_backup -ne 0 [] ; then
39019 if [] -f ${D}arcFile [] ; then
39020 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39021 fi
39022 if [] -f ${D}arcFile2 [] ; then
39023 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39024 fi
39025 fi
39026
39027 # Extract public symbols from all the object files.
39028 tmpdefFile=${D}{defFile}_%
39029 rm -f ${D}tmpdefFile
39030 for file in ${D}inputFiles ; do
39031 case ${D}file in
39032 *!)
39033 ;;
39034 *)
39035 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39036 ;;
39037 esac
39038 done
39039
39040 # Create the def file.
39041 rm -f ${D}defFile
39042 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39043 dllFile="${D}dllFile.dll"
39044 if [] -n ${D}description []; then
39045 echo "DESCRIPTION \"${D}{description}\"" >> ${D}defFile
39046 fi
39047 echo "EXPORTS" >> ${D}defFile
39048
39049 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39050 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39051
39052 # Checks if the export is ok or not.
39053 for word in ${D}exclude_symbols; do
39054 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39055 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39056 done
39057
39058
39059 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39060 sed "=" < ${D}tmpdefFile | \
39061 sed '
39062 N
39063 : loop
39064 s/^\([]0-9[]\+\)\([]^;[]*\)\(;.*\)\?/\2 @\1 NONAME/
39065 t loop
39066 ' > ${D}{tmpdefFile}%
39067 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39068 else
39069 rm -f ${D}{tmpdefFile}%
39070 fi
39071 cat ${D}tmpdefFile >> ${D}defFile
39072 rm -f ${D}tmpdefFile
39073
39074 # Do linking, create implib, and apply lxlite.
39075 gccCmdl="";
39076 for file in ${D}inputFiles ; do
39077 case ${D}file in
39078 *!)
39079 ;;
39080 *)
39081 gccCmdl="${D}gccCmdl ${D}file"
39082 ;;
39083 esac
39084 done
39085 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39086 touch "${D}{outFile}.dll"
39087
39088 doCommand "emximp -o ${D}arcFile ${D}defFile"
39089 if [] ${D}flag_USE_LXLITE -ne 0 []; then
39090 add_flags="";
39091 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39092 add_flags="-ynd"
39093 fi
39094 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39095 fi
39096 doCommand "emxomf -s -l ${D}arcFile"
39097
39098 # Successful exit.
39099 CleanUp 1
39100 exit 0
39101 EOF
39102
39103 chmod +x dllar.sh
39104 ;;
39105
39106 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39107 *-*-sunos4* | \
39108 *-*-osf* | \
39109 *-*-dgux5* | \
39110 *-*-sysv5* )
39111 ;;
39112
39113 *)
39114 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
39115 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
39116 { (exit 1); exit 1; }; }
39117 esac
39118
39119 if test "x$PIC_FLAG" != "x" ; then
39120 PIC_FLAG="$PIC_FLAG -DPIC"
39121 fi
39122
39123 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39124 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
39125 fi
39126 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39127 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
39128 fi
39129
39130
39131
39132
39133
39134
39135
39136
39137 USE_SOVERSION=0
39138 USE_SOVERLINUX=0
39139 USE_SOVERSOLARIS=0
39140 USE_SOSYMLINKS=0
39141 USE_MACVERSION=0
39142 SONAME_FLAG=
39143
39144 case "${BAKEFILE_HOST}" in
39145 *-*-linux* )
39146 SONAME_FLAG="-Wl,-soname,"
39147 USE_SOVERSION=1
39148 USE_SOVERLINUX=1
39149 USE_SOSYMLINKS=1
39150 ;;
39151
39152 *-*-solaris2* )
39153 SONAME_FLAG="-h "
39154 USE_SOVERSION=1
39155 USE_SOVERSOLARIS=1
39156 USE_SOSYMLINKS=1
39157 ;;
39158
39159 *-*-darwin* )
39160 USE_MACVERSION=1
39161 USE_SOVERSION=1
39162 USE_SOSYMLINKS=1
39163 ;;
39164 esac
39165
39166
39167
39168
39169
39170
39171
39172
39173
39174 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
39175 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
39176 DEPS_TRACKING=0
39177
39178 if test "x$GCC" = "xyes"; then
39179 DEPSMODE=gcc
39180 DEPS_TRACKING=1
39181 case "${BAKEFILE_HOST}" in
39182 powerpc-*-darwin* )
39183 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
39184 ;;
39185 * )
39186 DEPSFLAG_GCC="-MMD"
39187 ;;
39188 esac
39189 echo "$as_me:$LINENO: result: gcc" >&5
39190 echo "${ECHO_T}gcc" >&6
39191 else
39192 echo "$as_me:$LINENO: result: none" >&5
39193 echo "${ECHO_T}none" >&6
39194 fi
39195
39196 if test $DEPS_TRACKING = 1 ; then
39197
39198 D='$'
39199 cat <<EOF >bk-deps
39200 #!/bin/sh
39201
39202 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39203 # script. It is used to track C/C++ files dependencies in portable way.
39204 #
39205 # Permission is given to use this file in any way.
39206
39207 DEPSMODE=${DEPSMODE}
39208 DEPSDIR=.deps
39209 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
39210
39211 mkdir -p ${D}DEPSDIR
39212
39213 if test ${D}DEPSMODE = gcc ; then
39214 ${D}* ${D}{DEPSFLAG_GCC}
39215 status=${D}?
39216 if test ${D}{status} != 0 ; then
39217 exit ${D}{status}
39218 fi
39219 # move created file to the location we want it in:
39220 while test ${D}# -gt 0; do
39221 case "${D}1" in
39222 -o )
39223 shift
39224 objfile=${D}1
39225 ;;
39226 -* )
39227 ;;
39228 * )
39229 srcfile=${D}1
39230 ;;
39231 esac
39232 shift
39233 done
39234 depfile=\`basename ${D}srcfile | sed -e 's/\..*${D}/.d/g'\`
39235 depobjname=\`echo ${D}depfile |sed -e 's/\.d/.o/g'\`
39236 if test -f ${D}depfile ; then
39237 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39238 rm -f ${D}depfile
39239 else
39240 depfile=\`basename ${D}objfile | sed -e 's/\..*${D}/.d/g'\`
39241 if test -f ${D}depfile ; then
39242 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39243 rm -f ${D}depfile
39244 fi
39245 fi
39246 exit 0
39247 else
39248 ${D}*
39249 exit ${D}?
39250 fi
39251 EOF
39252
39253 chmod +x bk-deps
39254 fi
39255
39256
39257
39258
39259 RESCOMP=
39260 SETFILE=
39261
39262 case ${BAKEFILE_HOST} in
39263 *-*-cygwin* | *-*-mingw32* )
39264 if test "$build" != "$host" ; then
39265 RESCOMP=$host_alias-windres
39266 else
39267 # Extract the first word of "windres", so it can be a program name with args.
39268 set dummy windres; ac_word=$2
39269 echo "$as_me:$LINENO: checking for $ac_word" >&5
39270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39271 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39272 echo $ECHO_N "(cached) $ECHO_C" >&6
39273 else
39274 if test -n "$RESCOMP"; then
39275 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
39276 else
39277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39278 for as_dir in $PATH
39279 do
39280 IFS=$as_save_IFS
39281 test -z "$as_dir" && as_dir=.
39282 for ac_exec_ext in '' $ac_executable_extensions; do
39283 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39284 ac_cv_prog_RESCOMP="windres"
39285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39286 break 2
39287 fi
39288 done
39289 done
39290
39291 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
39292 fi
39293 fi
39294 RESCOMP=$ac_cv_prog_RESCOMP
39295 if test -n "$RESCOMP"; then
39296 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39297 echo "${ECHO_T}$RESCOMP" >&6
39298 else
39299 echo "$as_me:$LINENO: result: no" >&5
39300 echo "${ECHO_T}no" >&6
39301 fi
39302
39303 fi
39304 ;;
39305
39306 *-*-darwin* )
39307 # Extract the first word of "Rez", so it can be a program name with args.
39308 set dummy Rez; ac_word=$2
39309 echo "$as_me:$LINENO: checking for $ac_word" >&5
39310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39311 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39312 echo $ECHO_N "(cached) $ECHO_C" >&6
39313 else
39314 if test -n "$RESCOMP"; then
39315 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
39316 else
39317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39318 for as_dir in $PATH
39319 do
39320 IFS=$as_save_IFS
39321 test -z "$as_dir" && as_dir=.
39322 for ac_exec_ext in '' $ac_executable_extensions; do
39323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39324 ac_cv_prog_RESCOMP="Rez"
39325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39326 break 2
39327 fi
39328 done
39329 done
39330
39331 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
39332 fi
39333 fi
39334 RESCOMP=$ac_cv_prog_RESCOMP
39335 if test -n "$RESCOMP"; then
39336 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39337 echo "${ECHO_T}$RESCOMP" >&6
39338 else
39339 echo "$as_me:$LINENO: result: no" >&5
39340 echo "${ECHO_T}no" >&6
39341 fi
39342
39343 # Extract the first word of "SetFile", so it can be a program name with args.
39344 set dummy SetFile; ac_word=$2
39345 echo "$as_me:$LINENO: checking for $ac_word" >&5
39346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39347 if test "${ac_cv_prog_SETFILE+set}" = set; then
39348 echo $ECHO_N "(cached) $ECHO_C" >&6
39349 else
39350 if test -n "$SETFILE"; then
39351 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
39352 else
39353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39354 for as_dir in $PATH
39355 do
39356 IFS=$as_save_IFS
39357 test -z "$as_dir" && as_dir=.
39358 for ac_exec_ext in '' $ac_executable_extensions; do
39359 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39360 ac_cv_prog_SETFILE="SetFile"
39361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39362 break 2
39363 fi
39364 done
39365 done
39366
39367 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
39368 fi
39369 fi
39370 SETFILE=$ac_cv_prog_SETFILE
39371 if test -n "$SETFILE"; then
39372 echo "$as_me:$LINENO: result: $SETFILE" >&5
39373 echo "${ECHO_T}$SETFILE" >&6
39374 else
39375 echo "$as_me:$LINENO: result: no" >&5
39376 echo "${ECHO_T}no" >&6
39377 fi
39378
39379 ;;
39380 esac
39381
39382
39383
39384
39385
39386 BAKEFILE_BAKEFILE_M4_VERSION="0.1.4"
39387
39388
39389
39390
39391
39392 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.4"
39393
39394
39395
39396 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39397 if test "${enable_precomp_headers+set}" = set; then
39398 enableval="$enable_precomp_headers"
39399 bk_use_pch="$enableval"
39400 fi;
39401
39402 GCC_PCH=0
39403
39404 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39405 if test "x$GCC" = "xyes"; then
39406 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39407 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39408 cat >conftest.$ac_ext <<_ACEOF
39409 /* confdefs.h. */
39410 _ACEOF
39411 cat confdefs.h >>conftest.$ac_ext
39412 cat >>conftest.$ac_ext <<_ACEOF
39413 /* end confdefs.h. */
39414
39415 int
39416 main ()
39417 {
39418
39419 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39420 #error "no pch support"
39421 #endif
39422 #if (__GNUC__ < 3)
39423 #error "no pch support"
39424 #endif
39425 #if (__GNUC__ == 3) && \
39426 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39427 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39428 #error "no pch support"
39429 #endif
39430
39431 ;
39432 return 0;
39433 }
39434 _ACEOF
39435 rm -f conftest.$ac_objext
39436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39437 (eval $ac_compile) 2>conftest.er1
39438 ac_status=$?
39439 grep -v '^ *+' conftest.er1 >conftest.err
39440 rm -f conftest.er1
39441 cat conftest.err >&5
39442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39443 (exit $ac_status); } &&
39444 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39446 (eval $ac_try) 2>&5
39447 ac_status=$?
39448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39449 (exit $ac_status); }; } &&
39450 { ac_try='test -s conftest.$ac_objext'
39451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39452 (eval $ac_try) 2>&5
39453 ac_status=$?
39454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39455 (exit $ac_status); }; }; then
39456
39457 echo "$as_me:$LINENO: result: yes" >&5
39458 echo "${ECHO_T}yes" >&6
39459 GCC_PCH=1
39460
39461 else
39462 echo "$as_me: failed program was:" >&5
39463 sed 's/^/| /' conftest.$ac_ext >&5
39464
39465
39466 echo "$as_me:$LINENO: result: no" >&5
39467 echo "${ECHO_T}no" >&6
39468
39469 fi
39470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39471 if test $GCC_PCH = 1 ; then
39472 cat <<EOF >bk-make-pch
39473 #!/bin/sh
39474
39475 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39476 # script. It is used to generated precompiled headers.
39477 #
39478 # Permission is given to use this file in any way.
39479
39480 outfile="\${1}"
39481 header="\${2}"
39482 shift
39483 shift
39484
39485 compiler=
39486 headerfile=
39487 while test \${#} -gt 0; do
39488 case "\${1}" in
39489 -I* )
39490 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39491 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39492 headerfile="\${incdir}/\${header}"
39493 fi
39494 ;;
39495 esac
39496 compiler="\${compiler} \${1}"
39497 shift
39498 done
39499
39500 if test "x\${headerfile}" = "x" ; then
39501 echo "error: can't find header \${header} in include paths" >2
39502 else
39503 if test -f \${outfile} ; then
39504 rm -f \${outfile}
39505 else
39506 mkdir -p \`dirname \${outfile}\`
39507 fi
39508 depsfile=".deps/\`basename \${outfile}\`.d"
39509 mkdir -p .deps
39510 # can do this because gcc is >= 3.4:
39511 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39512 exit \${?}
39513 fi
39514 EOF
39515 chmod +x bk-make-pch
39516 fi
39517 fi
39518 fi
39519
39520
39521
39522
39523
39524
39525
39526 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39527 if test "${enable_precomp_headers+set}" = set; then
39528 enableval="$enable_precomp_headers"
39529 bk_use_pch="$enableval"
39530 fi;
39531
39532 GCC_PCH=0
39533
39534 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39535 if test "x$GCC" = "xyes"; then
39536 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39537 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39538 cat >conftest.$ac_ext <<_ACEOF
39539 /* confdefs.h. */
39540 _ACEOF
39541 cat confdefs.h >>conftest.$ac_ext
39542 cat >>conftest.$ac_ext <<_ACEOF
39543 /* end confdefs.h. */
39544
39545 int
39546 main ()
39547 {
39548
39549 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39550 #error "no pch support"
39551 #endif
39552 #if (__GNUC__ < 3)
39553 #error "no pch support"
39554 #endif
39555 #if (__GNUC__ == 3) && \
39556 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39557 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39558 #error "no pch support"
39559 #endif
39560
39561 ;
39562 return 0;
39563 }
39564 _ACEOF
39565 rm -f conftest.$ac_objext
39566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39567 (eval $ac_compile) 2>conftest.er1
39568 ac_status=$?
39569 grep -v '^ *+' conftest.er1 >conftest.err
39570 rm -f conftest.er1
39571 cat conftest.err >&5
39572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39573 (exit $ac_status); } &&
39574 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39576 (eval $ac_try) 2>&5
39577 ac_status=$?
39578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39579 (exit $ac_status); }; } &&
39580 { ac_try='test -s conftest.$ac_objext'
39581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39582 (eval $ac_try) 2>&5
39583 ac_status=$?
39584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39585 (exit $ac_status); }; }; then
39586
39587 echo "$as_me:$LINENO: result: yes" >&5
39588 echo "${ECHO_T}yes" >&6
39589 GCC_PCH=1
39590
39591 else
39592 echo "$as_me: failed program was:" >&5
39593 sed 's/^/| /' conftest.$ac_ext >&5
39594
39595
39596 echo "$as_me:$LINENO: result: no" >&5
39597 echo "${ECHO_T}no" >&6
39598
39599 fi
39600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39601 if test $GCC_PCH = 1 ; then
39602 cat <<EOF >bk-make-pch
39603 #!/bin/sh
39604
39605 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39606 # script. It is used to generated precompiled headers.
39607 #
39608 # Permission is given to use this file in any way.
39609
39610 outfile="\${1}"
39611 header="\${2}"
39612 shift
39613 shift
39614
39615 compiler=
39616 headerfile=
39617 while test \${#} -gt 0; do
39618 case "\${1}" in
39619 -I* )
39620 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39621 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39622 headerfile="\${incdir}/\${header}"
39623 fi
39624 ;;
39625 esac
39626 compiler="\${compiler} \${1}"
39627 shift
39628 done
39629
39630 if test "x\${headerfile}" = "x" ; then
39631 echo "error: can't find header \${header} in include paths" >2
39632 else
39633 if test -f \${outfile} ; then
39634 rm -f \${outfile}
39635 else
39636 mkdir -p \`dirname \${outfile}\`
39637 fi
39638 depsfile=".deps/\`basename \${outfile}\`.d"
39639 mkdir -p .deps
39640 # can do this because gcc is >= 3.4:
39641 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39642 exit \${?}
39643 fi
39644 EOF
39645 chmod +x bk-make-pch
39646 fi
39647 fi
39648 fi
39649
39650
39651
39652 COND_BUILD_DEBUG="#"
39653 if test "x$BUILD" = "xdebug" ; then
39654 COND_BUILD_DEBUG=""
39655 fi
39656
39657 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
39658 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39659 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
39660 fi
39661
39662 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
39663 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39664 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
39665 fi
39666
39667 COND_BUILD_DEBUG_UNICODE_0="#"
39668 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39669 COND_BUILD_DEBUG_UNICODE_0=""
39670 fi
39671
39672 COND_BUILD_DEBUG_UNICODE_1="#"
39673 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39674 COND_BUILD_DEBUG_UNICODE_1=""
39675 fi
39676
39677 COND_BUILD_RELEASE="#"
39678 if test "x$BUILD" = "xrelease" ; then
39679 COND_BUILD_RELEASE=""
39680 fi
39681
39682 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
39683 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39684 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
39685 fi
39686
39687 COND_BUILD_RELEASE_UNICODE_0="#"
39688 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39689 COND_BUILD_RELEASE_UNICODE_0=""
39690 fi
39691
39692 COND_BUILD_RELEASE_UNICODE_1="#"
39693 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39694 COND_BUILD_RELEASE_UNICODE_1=""
39695 fi
39696
39697 COND_DEBUG_FLAG_1="#"
39698 if test "x$DEBUG_FLAG" = "x1" ; then
39699 COND_DEBUG_FLAG_1=""
39700 fi
39701
39702 COND_DEBUG_INFO_0="#"
39703 if test "x$DEBUG_INFO" = "x0" ; then
39704 COND_DEBUG_INFO_0=""
39705 fi
39706
39707 COND_DEBUG_INFO_1="#"
39708 if test "x$DEBUG_INFO" = "x1" ; then
39709 COND_DEBUG_INFO_1=""
39710 fi
39711
39712 COND_DEPS_TRACKING_0="#"
39713 if test "x$DEPS_TRACKING" = "x0" ; then
39714 COND_DEPS_TRACKING_0=""
39715 fi
39716
39717 COND_DEPS_TRACKING_1="#"
39718 if test "x$DEPS_TRACKING" = "x1" ; then
39719 COND_DEPS_TRACKING_1=""
39720 fi
39721
39722 COND_GCC_PCH_1="#"
39723 if test "x$GCC_PCH" = "x1" ; then
39724 COND_GCC_PCH_1=""
39725 fi
39726
39727 COND_MONOLITHIC_0="#"
39728 if test "x$MONOLITHIC" = "x0" ; then
39729 COND_MONOLITHIC_0=""
39730 fi
39731
39732 COND_MONOLITHIC_0_SHARED_0="#"
39733 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39734 COND_MONOLITHIC_0_SHARED_0=""
39735 fi
39736
39737 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
39738 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39739 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
39740 fi
39741
39742 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
39743 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39744 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
39745 fi
39746
39747 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
39748 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
39749 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
39750 fi
39751
39752 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
39753 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
39754 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
39755 fi
39756
39757 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
39758 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
39759 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
39760 fi
39761
39762 COND_MONOLITHIC_0_SHARED_1="#"
39763 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39764 COND_MONOLITHIC_0_SHARED_1=""
39765 fi
39766
39767 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
39768 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39769 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
39770 fi
39771
39772 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
39773 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39774 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
39775 fi
39776
39777 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
39778 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
39779 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
39780 fi
39781
39782 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
39783 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
39784 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
39785 fi
39786
39787 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
39788 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
39789 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
39790 fi
39791
39792 COND_MONOLITHIC_0_USE_ODBC_1="#"
39793 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
39794 COND_MONOLITHIC_0_USE_ODBC_1=""
39795 fi
39796
39797 COND_MONOLITHIC_1="#"
39798 if test "x$MONOLITHIC" = "x1" ; then
39799 COND_MONOLITHIC_1=""
39800 fi
39801
39802 COND_MONOLITHIC_1_SHARED_0="#"
39803 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39804 COND_MONOLITHIC_1_SHARED_0=""
39805 fi
39806
39807 COND_MONOLITHIC_1_SHARED_1="#"
39808 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39809 COND_MONOLITHIC_1_SHARED_1=""
39810 fi
39811
39812 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
39813 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39814 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
39815 fi
39816
39817 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
39818 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
39819 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
39820 fi
39821
39822 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
39823 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39824 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
39825 fi
39826
39827 COND_PLATFORM_MACOSX_1="#"
39828 if test "x$PLATFORM_MACOSX" = "x1" ; then
39829 COND_PLATFORM_MACOSX_1=""
39830 fi
39831
39832 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
39833 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
39834 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
39835 fi
39836
39837 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
39838 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
39839 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
39840 fi
39841
39842 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
39843 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
39844 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
39845 fi
39846
39847 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
39848 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
39849 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
39850 fi
39851
39852 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
39853 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
39854 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
39855 fi
39856
39857 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
39858 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
39859 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
39860 fi
39861
39862 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
39863 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
39864 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
39865 fi
39866
39867 COND_PLATFORM_MAC_1="#"
39868 if test "x$PLATFORM_MAC" = "x1" ; then
39869 COND_PLATFORM_MAC_1=""
39870 fi
39871
39872 COND_PLATFORM_OS2_1="#"
39873 if test "x$PLATFORM_OS2" = "x1" ; then
39874 COND_PLATFORM_OS2_1=""
39875 fi
39876
39877 COND_PLATFORM_UNIX_0="#"
39878 if test "x$PLATFORM_UNIX" = "x0" ; then
39879 COND_PLATFORM_UNIX_0=""
39880 fi
39881
39882 COND_PLATFORM_UNIX_1="#"
39883 if test "x$PLATFORM_UNIX" = "x1" ; then
39884 COND_PLATFORM_UNIX_1=""
39885 fi
39886
39887 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
39888 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
39889 COND_PLATFORM_UNIX_1_USE_GUI_1=""
39890 fi
39891
39892 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
39893 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
39894 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
39895 fi
39896
39897 COND_PLATFORM_WIN32_0="#"
39898 if test "x$PLATFORM_WIN32" = "x0" ; then
39899 COND_PLATFORM_WIN32_0=""
39900 fi
39901
39902 COND_PLATFORM_WIN32_1="#"
39903 if test "x$PLATFORM_WIN32" = "x1" ; then
39904 COND_PLATFORM_WIN32_1=""
39905 fi
39906
39907 COND_SHARED_0="#"
39908 if test "x$SHARED" = "x0" ; then
39909 COND_SHARED_0=""
39910 fi
39911
39912 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
39913 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
39914 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
39915 fi
39916
39917 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
39918 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
39919 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
39920 fi
39921
39922 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
39923 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
39924 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
39925 fi
39926
39927 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
39928 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39929 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
39930 fi
39931
39932 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
39933 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39934 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
39935 fi
39936
39937 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
39938 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39939 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
39940 fi
39941
39942 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
39943 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39944 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
39945 fi
39946
39947 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
39948 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
39949 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
39950 fi
39951
39952 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
39953 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
39954 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
39955 fi
39956
39957 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
39958 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
39959 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
39960 fi
39961
39962 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
39963 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
39964 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
39965 fi
39966
39967 COND_SHARED_1="#"
39968 if test "x$SHARED" = "x1" ; then
39969 COND_SHARED_1=""
39970 fi
39971
39972 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
39973 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39974 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
39975 fi
39976
39977 COND_TOOLKIT_COCOA="#"
39978 if test "x$TOOLKIT" = "xCOCOA" ; then
39979 COND_TOOLKIT_COCOA=""
39980 fi
39981
39982 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
39983 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39984 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
39985 fi
39986
39987 COND_TOOLKIT_GTK="#"
39988 if test "x$TOOLKIT" = "xGTK" ; then
39989 COND_TOOLKIT_GTK=""
39990 fi
39991
39992 COND_TOOLKIT_GTK_USE_GUI_1="#"
39993 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
39994 COND_TOOLKIT_GTK_USE_GUI_1=""
39995 fi
39996
39997 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
39998 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39999 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
40000 fi
40001
40002 COND_TOOLKIT_MAC="#"
40003 if test "x$TOOLKIT" = "xMAC" ; then
40004 COND_TOOLKIT_MAC=""
40005 fi
40006
40007 COND_TOOLKIT_MAC_USE_GUI_1="#"
40008 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40009 COND_TOOLKIT_MAC_USE_GUI_1=""
40010 fi
40011
40012 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
40013 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40014 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
40015 fi
40016
40017 COND_TOOLKIT_MGL="#"
40018 if test "x$TOOLKIT" = "xMGL" ; then
40019 COND_TOOLKIT_MGL=""
40020 fi
40021
40022 COND_TOOLKIT_MGL_USE_GUI_1="#"
40023 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40024 COND_TOOLKIT_MGL_USE_GUI_1=""
40025 fi
40026
40027 COND_TOOLKIT_MOTIF="#"
40028 if test "x$TOOLKIT" = "xMOTIF" ; then
40029 COND_TOOLKIT_MOTIF=""
40030 fi
40031
40032 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40033 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40034 COND_TOOLKIT_MOTIF_USE_GUI_1=""
40035 fi
40036
40037 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40038 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40039 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40040 fi
40041
40042 COND_TOOLKIT_MSW="#"
40043 if test "x$TOOLKIT" = "xMSW" ; then
40044 COND_TOOLKIT_MSW=""
40045 fi
40046
40047 COND_TOOLKIT_MSW_USE_GUI_1="#"
40048 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40049 COND_TOOLKIT_MSW_USE_GUI_1=""
40050 fi
40051
40052 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40053 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40054 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40055 fi
40056
40057 COND_TOOLKIT_PM="#"
40058 if test "x$TOOLKIT" = "xPM" ; then
40059 COND_TOOLKIT_PM=""
40060 fi
40061
40062 COND_TOOLKIT_PM_USE_GUI_1="#"
40063 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40064 COND_TOOLKIT_PM_USE_GUI_1=""
40065 fi
40066
40067 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40068 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40069 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40070 fi
40071
40072 COND_TOOLKIT_WINCE="#"
40073 if test "x$TOOLKIT" = "xWINCE" ; then
40074 COND_TOOLKIT_WINCE=""
40075 fi
40076
40077 COND_TOOLKIT_WINCE_USE_GUI_1="#"
40078 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40079 COND_TOOLKIT_WINCE_USE_GUI_1=""
40080 fi
40081
40082 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40083 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40084 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40085 fi
40086
40087 COND_TOOLKIT_X11="#"
40088 if test "x$TOOLKIT" = "xX11" ; then
40089 COND_TOOLKIT_X11=""
40090 fi
40091
40092 COND_TOOLKIT_X11_USE_GUI_1="#"
40093 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40094 COND_TOOLKIT_X11_USE_GUI_1=""
40095 fi
40096
40097 COND_UNICODE_1="#"
40098 if test "x$UNICODE" = "x1" ; then
40099 COND_UNICODE_1=""
40100 fi
40101
40102 COND_USE_EXCEPTIONS_0="#"
40103 if test "x$USE_EXCEPTIONS" = "x0" ; then
40104 COND_USE_EXCEPTIONS_0=""
40105 fi
40106
40107 COND_USE_EXCEPTIONS_1="#"
40108 if test "x$USE_EXCEPTIONS" = "x1" ; then
40109 COND_USE_EXCEPTIONS_1=""
40110 fi
40111
40112 COND_USE_GUI_0="#"
40113 if test "x$USE_GUI" = "x0" ; then
40114 COND_USE_GUI_0=""
40115 fi
40116
40117 COND_USE_GUI_1="#"
40118 if test "x$USE_GUI" = "x1" ; then
40119 COND_USE_GUI_1=""
40120 fi
40121
40122 COND_USE_GUI_1_WXUNIV_0="#"
40123 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40124 COND_USE_GUI_1_WXUNIV_0=""
40125 fi
40126
40127 COND_USE_GUI_1_WXUNIV_1="#"
40128 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40129 COND_USE_GUI_1_WXUNIV_1=""
40130 fi
40131
40132 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40133 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40134 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40135 fi
40136
40137 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40138 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40139 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40140 fi
40141
40142 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40143 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40144 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40145 fi
40146
40147 COND_USE_ODBC_1="#"
40148 if test "x$USE_ODBC" = "x1" ; then
40149 COND_USE_ODBC_1=""
40150 fi
40151
40152 COND_USE_PLUGINS_0="#"
40153 if test "x$USE_PLUGINS" = "x0" ; then
40154 COND_USE_PLUGINS_0=""
40155 fi
40156
40157 COND_USE_SOSYMLINKS_1="#"
40158 if test "x$USE_SOSYMLINKS" = "x1" ; then
40159 COND_USE_SOSYMLINKS_1=""
40160 fi
40161
40162 COND_USE_SOVERLINUX_1="#"
40163 if test "x$USE_SOVERLINUX" = "x1" ; then
40164 COND_USE_SOVERLINUX_1=""
40165 fi
40166
40167 COND_USE_SOVERSION_0="#"
40168 if test "x$USE_SOVERSION" = "x0" ; then
40169 COND_USE_SOVERSION_0=""
40170 fi
40171
40172 COND_USE_SOVERSOLARIS_1="#"
40173 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40174 COND_USE_SOVERSOLARIS_1=""
40175 fi
40176
40177 COND_WITH_PLUGIN_SDL_1="#"
40178 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40179 COND_WITH_PLUGIN_SDL_1=""
40180 fi
40181
40182 COND_WXUNIV_1="#"
40183 if test "x$WXUNIV" = "x1" ; then
40184 COND_WXUNIV_1=""
40185 fi
40186
40187 COND_WXUSE_EXPAT_BUILTIN="#"
40188 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40189 COND_WXUSE_EXPAT_BUILTIN=""
40190 fi
40191
40192 COND_WXUSE_LIBJPEG_BUILTIN="#"
40193 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40194 COND_WXUSE_LIBJPEG_BUILTIN=""
40195 fi
40196
40197 COND_WXUSE_LIBPNG_BUILTIN="#"
40198 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40199 COND_WXUSE_LIBPNG_BUILTIN=""
40200 fi
40201
40202 COND_WXUSE_LIBTIFF_BUILTIN="#"
40203 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40204 COND_WXUSE_LIBTIFF_BUILTIN=""
40205 fi
40206
40207 COND_WXUSE_ODBC_BUILTIN="#"
40208 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40209 COND_WXUSE_ODBC_BUILTIN=""
40210 fi
40211
40212 COND_WXUSE_REGEX_BUILTIN="#"
40213 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40214 COND_WXUSE_REGEX_BUILTIN=""
40215 fi
40216
40217 COND_WXUSE_ZLIB_BUILTIN="#"
40218 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40219 COND_WXUSE_ZLIB_BUILTIN=""
40220 fi
40221
40222 COND_BUILD_DEBUG="#"
40223 if test "x$BUILD" = "xdebug" ; then
40224 COND_BUILD_DEBUG=""
40225 fi
40226
40227 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
40228 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40229 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
40230 fi
40231
40232 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
40233 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40234 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
40235 fi
40236
40237 COND_BUILD_DEBUG_UNICODE_0="#"
40238 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40239 COND_BUILD_DEBUG_UNICODE_0=""
40240 fi
40241
40242 COND_BUILD_DEBUG_UNICODE_1="#"
40243 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40244 COND_BUILD_DEBUG_UNICODE_1=""
40245 fi
40246
40247 COND_BUILD_RELEASE="#"
40248 if test "x$BUILD" = "xrelease" ; then
40249 COND_BUILD_RELEASE=""
40250 fi
40251
40252 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
40253 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40254 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
40255 fi
40256
40257 COND_BUILD_RELEASE_UNICODE_0="#"
40258 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40259 COND_BUILD_RELEASE_UNICODE_0=""
40260 fi
40261
40262 COND_BUILD_RELEASE_UNICODE_1="#"
40263 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40264 COND_BUILD_RELEASE_UNICODE_1=""
40265 fi
40266
40267 COND_DEBUG_FLAG_1="#"
40268 if test "x$DEBUG_FLAG" = "x1" ; then
40269 COND_DEBUG_FLAG_1=""
40270 fi
40271
40272 COND_DEBUG_INFO_0="#"
40273 if test "x$DEBUG_INFO" = "x0" ; then
40274 COND_DEBUG_INFO_0=""
40275 fi
40276
40277 COND_DEBUG_INFO_1="#"
40278 if test "x$DEBUG_INFO" = "x1" ; then
40279 COND_DEBUG_INFO_1=""
40280 fi
40281
40282 COND_DEPS_TRACKING_0="#"
40283 if test "x$DEPS_TRACKING" = "x0" ; then
40284 COND_DEPS_TRACKING_0=""
40285 fi
40286
40287 COND_DEPS_TRACKING_1="#"
40288 if test "x$DEPS_TRACKING" = "x1" ; then
40289 COND_DEPS_TRACKING_1=""
40290 fi
40291
40292 COND_GCC_PCH_1="#"
40293 if test "x$GCC_PCH" = "x1" ; then
40294 COND_GCC_PCH_1=""
40295 fi
40296
40297 COND_MONOLITHIC_0="#"
40298 if test "x$MONOLITHIC" = "x0" ; then
40299 COND_MONOLITHIC_0=""
40300 fi
40301
40302 COND_MONOLITHIC_0_SHARED_0="#"
40303 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40304 COND_MONOLITHIC_0_SHARED_0=""
40305 fi
40306
40307 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
40308 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40309 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
40310 fi
40311
40312 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
40313 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40314 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
40315 fi
40316
40317 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
40318 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40319 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
40320 fi
40321
40322 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
40323 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40324 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
40325 fi
40326
40327 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
40328 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40329 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
40330 fi
40331
40332 COND_MONOLITHIC_0_SHARED_1="#"
40333 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40334 COND_MONOLITHIC_0_SHARED_1=""
40335 fi
40336
40337 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
40338 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40339 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
40340 fi
40341
40342 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
40343 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40344 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
40345 fi
40346
40347 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
40348 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40349 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
40350 fi
40351
40352 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
40353 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40354 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
40355 fi
40356
40357 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
40358 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40359 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
40360 fi
40361
40362 COND_MONOLITHIC_0_USE_ODBC_1="#"
40363 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40364 COND_MONOLITHIC_0_USE_ODBC_1=""
40365 fi
40366
40367 COND_MONOLITHIC_1="#"
40368 if test "x$MONOLITHIC" = "x1" ; then
40369 COND_MONOLITHIC_1=""
40370 fi
40371
40372 COND_MONOLITHIC_1_SHARED_0="#"
40373 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40374 COND_MONOLITHIC_1_SHARED_0=""
40375 fi
40376
40377 COND_MONOLITHIC_1_SHARED_1="#"
40378 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40379 COND_MONOLITHIC_1_SHARED_1=""
40380 fi
40381
40382 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
40383 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40384 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
40385 fi
40386
40387 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
40388 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40389 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
40390 fi
40391
40392 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
40393 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40394 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
40395 fi
40396
40397 COND_PLATFORM_MACOSX_1="#"
40398 if test "x$PLATFORM_MACOSX" = "x1" ; then
40399 COND_PLATFORM_MACOSX_1=""
40400 fi
40401
40402 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
40403 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40404 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
40405 fi
40406
40407 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
40408 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40409 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
40410 fi
40411
40412 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
40413 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40414 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
40415 fi
40416
40417 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
40418 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40419 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
40420 fi
40421
40422 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
40423 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40424 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
40425 fi
40426
40427 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40428 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40429 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40430 fi
40431
40432 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
40433 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40434 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
40435 fi
40436
40437 COND_PLATFORM_MAC_1="#"
40438 if test "x$PLATFORM_MAC" = "x1" ; then
40439 COND_PLATFORM_MAC_1=""
40440 fi
40441
40442 COND_PLATFORM_OS2_1="#"
40443 if test "x$PLATFORM_OS2" = "x1" ; then
40444 COND_PLATFORM_OS2_1=""
40445 fi
40446
40447 COND_PLATFORM_UNIX_0="#"
40448 if test "x$PLATFORM_UNIX" = "x0" ; then
40449 COND_PLATFORM_UNIX_0=""
40450 fi
40451
40452 COND_PLATFORM_UNIX_1="#"
40453 if test "x$PLATFORM_UNIX" = "x1" ; then
40454 COND_PLATFORM_UNIX_1=""
40455 fi
40456
40457 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40458 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40459 COND_PLATFORM_UNIX_1_USE_GUI_1=""
40460 fi
40461
40462 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40463 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40464 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40465 fi
40466
40467 COND_PLATFORM_WIN32_0="#"
40468 if test "x$PLATFORM_WIN32" = "x0" ; then
40469 COND_PLATFORM_WIN32_0=""
40470 fi
40471
40472 COND_PLATFORM_WIN32_1="#"
40473 if test "x$PLATFORM_WIN32" = "x1" ; then
40474 COND_PLATFORM_WIN32_1=""
40475 fi
40476
40477 COND_SHARED_0="#"
40478 if test "x$SHARED" = "x0" ; then
40479 COND_SHARED_0=""
40480 fi
40481
40482 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40483 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40484 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40485 fi
40486
40487 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40488 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40489 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40490 fi
40491
40492 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40493 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40494 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40495 fi
40496
40497 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40498 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40499 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40500 fi
40501
40502 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
40503 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40504 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
40505 fi
40506
40507 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
40508 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40509 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
40510 fi
40511
40512 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
40513 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40514 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
40515 fi
40516
40517 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
40518 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40519 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
40520 fi
40521
40522 COND_SHARED_1="#"
40523 if test "x$SHARED" = "x1" ; then
40524 COND_SHARED_1=""
40525 fi
40526
40527 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40528 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40529 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40530 fi
40531
40532 COND_TOOLKIT_COCOA="#"
40533 if test "x$TOOLKIT" = "xCOCOA" ; then
40534 COND_TOOLKIT_COCOA=""
40535 fi
40536
40537 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40538 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40539 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40540 fi
40541
40542 COND_TOOLKIT_GTK="#"
40543 if test "x$TOOLKIT" = "xGTK" ; then
40544 COND_TOOLKIT_GTK=""
40545 fi
40546
40547 COND_TOOLKIT_GTK_USE_GUI_1="#"
40548 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40549 COND_TOOLKIT_GTK_USE_GUI_1=""
40550 fi
40551
40552 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
40553 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40554 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
40555 fi
40556
40557 COND_TOOLKIT_MAC="#"
40558 if test "x$TOOLKIT" = "xMAC" ; then
40559 COND_TOOLKIT_MAC=""
40560 fi
40561
40562 COND_TOOLKIT_MAC_USE_GUI_1="#"
40563 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40564 COND_TOOLKIT_MAC_USE_GUI_1=""
40565 fi
40566
40567 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
40568 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40569 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
40570 fi
40571
40572 COND_TOOLKIT_MAC_WXUNIV_0="#"
40573 if test "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40574 COND_TOOLKIT_MAC_WXUNIV_0=""
40575 fi
40576
40577 COND_TOOLKIT_MGL="#"
40578 if test "x$TOOLKIT" = "xMGL" ; then
40579 COND_TOOLKIT_MGL=""
40580 fi
40581
40582 COND_TOOLKIT_MGL_USE_GUI_1="#"
40583 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40584 COND_TOOLKIT_MGL_USE_GUI_1=""
40585 fi
40586
40587 COND_TOOLKIT_MOTIF="#"
40588 if test "x$TOOLKIT" = "xMOTIF" ; then
40589 COND_TOOLKIT_MOTIF=""
40590 fi
40591
40592 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40593 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40594 COND_TOOLKIT_MOTIF_USE_GUI_1=""
40595 fi
40596
40597 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40598 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40599 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40600 fi
40601
40602 COND_TOOLKIT_MSW="#"
40603 if test "x$TOOLKIT" = "xMSW" ; then
40604 COND_TOOLKIT_MSW=""
40605 fi
40606
40607 COND_TOOLKIT_MSW_USE_GUI_1="#"
40608 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40609 COND_TOOLKIT_MSW_USE_GUI_1=""
40610 fi
40611
40612 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40613 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40614 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40615 fi
40616
40617 COND_TOOLKIT_MSW_WXUNIV_0="#"
40618 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40619 COND_TOOLKIT_MSW_WXUNIV_0=""
40620 fi
40621
40622 COND_TOOLKIT_PM="#"
40623 if test "x$TOOLKIT" = "xPM" ; then
40624 COND_TOOLKIT_PM=""
40625 fi
40626
40627 COND_TOOLKIT_PM_USE_GUI_1="#"
40628 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40629 COND_TOOLKIT_PM_USE_GUI_1=""
40630 fi
40631
40632 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40633 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40634 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40635 fi
40636
40637 COND_TOOLKIT_PM_WXUNIV_0="#"
40638 if test "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40639 COND_TOOLKIT_PM_WXUNIV_0=""
40640 fi
40641
40642 COND_TOOLKIT_WINCE="#"
40643 if test "x$TOOLKIT" = "xWINCE" ; then
40644 COND_TOOLKIT_WINCE=""
40645 fi
40646
40647 COND_TOOLKIT_WINCE_USE_GUI_1="#"
40648 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40649 COND_TOOLKIT_WINCE_USE_GUI_1=""
40650 fi
40651
40652 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40653 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40654 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40655 fi
40656
40657 COND_TOOLKIT_X11="#"
40658 if test "x$TOOLKIT" = "xX11" ; then
40659 COND_TOOLKIT_X11=""
40660 fi
40661
40662 COND_TOOLKIT_X11_USE_GUI_1="#"
40663 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40664 COND_TOOLKIT_X11_USE_GUI_1=""
40665 fi
40666
40667 COND_UNICODE_1="#"
40668 if test "x$UNICODE" = "x1" ; then
40669 COND_UNICODE_1=""
40670 fi
40671
40672 COND_USE_EXCEPTIONS_0="#"
40673 if test "x$USE_EXCEPTIONS" = "x0" ; then
40674 COND_USE_EXCEPTIONS_0=""
40675 fi
40676
40677 COND_USE_EXCEPTIONS_1="#"
40678 if test "x$USE_EXCEPTIONS" = "x1" ; then
40679 COND_USE_EXCEPTIONS_1=""
40680 fi
40681
40682 COND_USE_GUI_0="#"
40683 if test "x$USE_GUI" = "x0" ; then
40684 COND_USE_GUI_0=""
40685 fi
40686
40687 COND_USE_GUI_1="#"
40688 if test "x$USE_GUI" = "x1" ; then
40689 COND_USE_GUI_1=""
40690 fi
40691
40692 COND_USE_GUI_1_WXUNIV_0="#"
40693 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40694 COND_USE_GUI_1_WXUNIV_0=""
40695 fi
40696
40697 COND_USE_GUI_1_WXUNIV_1="#"
40698 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40699 COND_USE_GUI_1_WXUNIV_1=""
40700 fi
40701
40702 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40703 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40704 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40705 fi
40706
40707 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40708 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40709 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40710 fi
40711
40712 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40713 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40714 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40715 fi
40716
40717 COND_USE_ODBC_1="#"
40718 if test "x$USE_ODBC" = "x1" ; then
40719 COND_USE_ODBC_1=""
40720 fi
40721
40722 COND_USE_PLUGINS_0="#"
40723 if test "x$USE_PLUGINS" = "x0" ; then
40724 COND_USE_PLUGINS_0=""
40725 fi
40726
40727 COND_USE_SOSYMLINKS_1="#"
40728 if test "x$USE_SOSYMLINKS" = "x1" ; then
40729 COND_USE_SOSYMLINKS_1=""
40730 fi
40731
40732 COND_USE_SOVERLINUX_1="#"
40733 if test "x$USE_SOVERLINUX" = "x1" ; then
40734 COND_USE_SOVERLINUX_1=""
40735 fi
40736
40737 COND_USE_SOVERSION_0="#"
40738 if test "x$USE_SOVERSION" = "x0" ; then
40739 COND_USE_SOVERSION_0=""
40740 fi
40741
40742 COND_USE_SOVERSOLARIS_1="#"
40743 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40744 COND_USE_SOVERSOLARIS_1=""
40745 fi
40746
40747 COND_WITH_PLUGIN_SDL_1="#"
40748 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40749 COND_WITH_PLUGIN_SDL_1=""
40750 fi
40751
40752 COND_WXUNIV_1="#"
40753 if test "x$WXUNIV" = "x1" ; then
40754 COND_WXUNIV_1=""
40755 fi
40756
40757 COND_WXUSE_EXPAT_BUILTIN="#"
40758 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40759 COND_WXUSE_EXPAT_BUILTIN=""
40760 fi
40761
40762 COND_WXUSE_LIBJPEG_BUILTIN="#"
40763 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40764 COND_WXUSE_LIBJPEG_BUILTIN=""
40765 fi
40766
40767 COND_WXUSE_LIBPNG_BUILTIN="#"
40768 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40769 COND_WXUSE_LIBPNG_BUILTIN=""
40770 fi
40771
40772 COND_WXUSE_LIBTIFF_BUILTIN="#"
40773 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40774 COND_WXUSE_LIBTIFF_BUILTIN=""
40775 fi
40776
40777 COND_WXUSE_ODBC_BUILTIN="#"
40778 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40779 COND_WXUSE_ODBC_BUILTIN=""
40780 fi
40781
40782 COND_WXUSE_REGEX_BUILTIN="#"
40783 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40784 COND_WXUSE_REGEX_BUILTIN=""
40785 fi
40786
40787 COND_WXUSE_ZLIB_BUILTIN="#"
40788 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40789 COND_WXUSE_ZLIB_BUILTIN=""
40790 fi
40791
40792
40793
40794 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
40795 { { echo "$as_me:$LINENO: error: Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." >&5
40796 echo "$as_me: error: Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." >&2;}
40797 { (exit 1); exit 1; }; }
40798 fi
40799
40800
40801 if test "$wxUSE_SHARED" = "yes"; then
40802
40803 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
40804 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
40805
40806 else
40807
40808 EXE_LINKER="$CXX -o"
40809
40810 fi
40811
40812 GCC_PRAGMA_FLAGS=""
40813 if test $GCC_PCH = 1 ; then
40814 GCC_PRAGMA_FLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA"
40815 else
40816 case "${host}" in
40817 powerpc-*-darwin* )
40818 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
40819 ;;
40820 *-*-mingw32* )
40821 if test "$wxUSE_STL" = "yes" -o \
40822 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
40823 "$wxUSE_NO_RTTI" != "yes"; then
40824 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
40825 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
40826 cat >conftest.$ac_ext <<_ACEOF
40827 /* confdefs.h. */
40828 _ACEOF
40829 cat confdefs.h >>conftest.$ac_ext
40830 cat >>conftest.$ac_ext <<_ACEOF
40831 /* end confdefs.h. */
40832
40833 int
40834 main ()
40835 {
40836 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
40837 #error "Not GCC 3.2 or greater"
40838 #endif
40839
40840 ;
40841 return 0;
40842 }
40843 _ACEOF
40844 rm -f conftest.$ac_objext
40845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40846 (eval $ac_compile) 2>conftest.er1
40847 ac_status=$?
40848 grep -v '^ *+' conftest.er1 >conftest.err
40849 rm -f conftest.er1
40850 cat conftest.err >&5
40851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40852 (exit $ac_status); } &&
40853 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40855 (eval $ac_try) 2>&5
40856 ac_status=$?
40857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40858 (exit $ac_status); }; } &&
40859 { ac_try='test -s conftest.$ac_objext'
40860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40861 (eval $ac_try) 2>&5
40862 ac_status=$?
40863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40864 (exit $ac_status); }; }; then
40865 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
40866 echo "$as_me:$LINENO: result: yes" >&5
40867 echo "${ECHO_T}yes" >&6
40868 else
40869 echo "$as_me: failed program was:" >&5
40870 sed 's/^/| /' conftest.$ac_ext >&5
40871
40872 echo "$as_me:$LINENO: result: no" >&5
40873 echo "${ECHO_T}no" >&6
40874 fi
40875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40876 fi
40877 ;;
40878 esac
40879 fi
40880 CPPFLAGS="$GCC_PRAGMA_FLAGS $CPPFLAGS"
40881
40882
40883 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
40884
40885
40886
40887
40888
40889
40890
40891
40892
40893
40894
40895
40896
40897
40898
40899
40900
40901
40902
40903
40904
40905
40906
40907
40908
40909
40910
40911
40912
40913
40914
40915
40916
40917
40918
40919
40920
40921
40922
40923
40924
40925
40926
40927
40928
40929
40930
40931
40932
40933
40934
40935
40936
40937
40938
40939
40940
40941
40942
40943
40944
40945
40946
40947 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40948 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
40949 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
40950 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
40951 echo $ECHO_N "(cached) $ECHO_C" >&6
40952 else
40953 cat >conftest.make <<\_ACEOF
40954 all:
40955 @echo 'ac_maketemp="$(MAKE)"'
40956 _ACEOF
40957 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
40958 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
40959 if test -n "$ac_maketemp"; then
40960 eval ac_cv_prog_make_${ac_make}_set=yes
40961 else
40962 eval ac_cv_prog_make_${ac_make}_set=no
40963 fi
40964 rm -f conftest.make
40965 fi
40966 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
40967 echo "$as_me:$LINENO: result: yes" >&5
40968 echo "${ECHO_T}yes" >&6
40969 SET_MAKE=
40970 else
40971 echo "$as_me:$LINENO: result: no" >&5
40972 echo "${ECHO_T}no" >&6
40973 SET_MAKE="MAKE=${MAKE-make}"
40974 fi
40975
40976
40977
40978 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
40979
40980
40981 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
40982
40983
40984 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
40985
40986
40987 ac_config_files="$ac_config_files version-script Makefile"
40988
40989
40990 ac_config_commands="$ac_config_commands wx-config
40991 "
40992
40993
40994
40995
40996 if test "$wxUSE_GUI" = "yes"; then
40997 SUBDIRS="samples demos utils contrib"
40998 else SUBDIRS="samples utils"
40999 fi
41000
41001
41002
41003 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
41004 if test "${with_cppunit_prefix+set}" = set; then
41005 withval="$with_cppunit_prefix"
41006 cppunit_config_prefix="$withval"
41007 else
41008 cppunit_config_prefix=""
41009 fi;
41010
41011 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
41012 if test "${with_cppunit_exec_prefix+set}" = set; then
41013 withval="$with_cppunit_exec_prefix"
41014 cppunit_config_exec_prefix="$withval"
41015 else
41016 cppunit_config_exec_prefix=""
41017 fi;
41018
41019 if test x$cppunit_config_exec_prefix != x ; then
41020 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41021 if test x${CPPUNIT_CONFIG+set} != xset ; then
41022 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
41023 fi
41024 fi
41025 if test x$cppunit_config_prefix != x ; then
41026 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
41027 if test x${CPPUNIT_CONFIG+set} != xset ; then
41028 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
41029 fi
41030 fi
41031
41032 # Extract the first word of "cppunit-config", so it can be a program name with args.
41033 set dummy cppunit-config; ac_word=$2
41034 echo "$as_me:$LINENO: checking for $ac_word" >&5
41035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41036 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
41037 echo $ECHO_N "(cached) $ECHO_C" >&6
41038 else
41039 case $CPPUNIT_CONFIG in
41040 [\\/]* | ?:[\\/]*)
41041 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41042 ;;
41043 *)
41044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41045 for as_dir in $PATH
41046 do
41047 IFS=$as_save_IFS
41048 test -z "$as_dir" && as_dir=.
41049 for ac_exec_ext in '' $ac_executable_extensions; do
41050 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41051 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41053 break 2
41054 fi
41055 done
41056 done
41057
41058 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
41059 ;;
41060 esac
41061 fi
41062 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
41063
41064 if test -n "$CPPUNIT_CONFIG"; then
41065 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
41066 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
41067 else
41068 echo "$as_me:$LINENO: result: no" >&5
41069 echo "${ECHO_T}no" >&6
41070 fi
41071
41072 cppunit_version_min=1.8.0
41073
41074 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
41075 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
41076 no_cppunit=""
41077 if test "$CPPUNIT_CONFIG" = "no" ; then
41078 no_cppunit=yes
41079 else
41080 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
41081 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
41082 cppunit_version=`$CPPUNIT_CONFIG --version`
41083
41084 cppunit_major_version=`echo $cppunit_version | \
41085 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41086 cppunit_minor_version=`echo $cppunit_version | \
41087 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41088 cppunit_micro_version=`echo $cppunit_version | \
41089 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41090
41091 cppunit_major_min=`echo $cppunit_version_min | \
41092 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41093 cppunit_minor_min=`echo $cppunit_version_min | \
41094 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41095 cppunit_micro_min=`echo $cppunit_version_min | \
41096 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41097
41098 cppunit_version_proper=`expr \
41099 $cppunit_major_version \> $cppunit_major_min \| \
41100 $cppunit_major_version \= $cppunit_major_min \& \
41101 $cppunit_minor_version \> $cppunit_minor_min \| \
41102 $cppunit_major_version \= $cppunit_major_min \& \
41103 $cppunit_minor_version \= $cppunit_minor_min \& \
41104 $cppunit_micro_version \>= $cppunit_micro_min `
41105
41106 if test "$cppunit_version_proper" = "1" ; then
41107 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41108 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
41109 else
41110 echo "$as_me:$LINENO: result: no" >&5
41111 echo "${ECHO_T}no" >&6
41112 no_cppunit=yes
41113 fi
41114 fi
41115
41116 if test "x$no_cppunit" = x ; then
41117 SUBDIRS="$SUBDIRS tests"
41118 else
41119 CPPUNIT_CFLAGS=""
41120 CPPUNIT_LIBS=""
41121 :
41122 fi
41123
41124
41125
41126
41127
41128 for subdir in `echo $SUBDIRS`; do
41129 if test -d ${srcdir}/${subdir} ; then
41130 if test "$wxUSE_GUI" = "yes"; then
41131 if test ${subdir} = "samples"; then
41132 makefiles="samples/Makefile.in $makefiles"
41133 for sample in `echo $SAMPLES_SUBDIRS`; do
41134 if test -d $srcdir/samples/$sample; then
41135 makefiles="samples/$sample/Makefile.in $makefiles"
41136 fi
41137 done
41138 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41139 fi
41140 else if test ${subdir} = "samples"; then
41141 makefiles="samples/Makefile.in samples/console/Makefile.in"
41142 elif test ${subdir} = "utils"; then
41143 makefiles="utils/HelpGen/Makefile.in \
41144 utils/HelpGen/src/Makefile.in \
41145 utils/tex2rtf/Makefile.in \
41146 utils/tex2rtf/src/Makefile.in"
41147 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41148 fi
41149 fi
41150
41151 for mkin in $makefiles ; do
41152 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41153 ac_config_files="$ac_config_files $mk"
41154
41155 done
41156 fi
41157 done
41158
41159
41160 cat >confcache <<\_ACEOF
41161 # This file is a shell script that caches the results of configure
41162 # tests run on this system so they can be shared between configure
41163 # scripts and configure runs, see configure's option --config-cache.
41164 # It is not useful on other systems. If it contains results you don't
41165 # want to keep, you may remove or edit it.
41166 #
41167 # config.status only pays attention to the cache file if you give it
41168 # the --recheck option to rerun configure.
41169 #
41170 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41171 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41172 # following values.
41173
41174 _ACEOF
41175
41176 # The following way of writing the cache mishandles newlines in values,
41177 # but we know of no workaround that is simple, portable, and efficient.
41178 # So, don't put newlines in cache variables' values.
41179 # Ultrix sh set writes to stderr and can't be redirected directly,
41180 # and sets the high bit in the cache file unless we assign to the vars.
41181 {
41182 (set) 2>&1 |
41183 case `(ac_space=' '; set | grep ac_space) 2>&1` in
41184 *ac_space=\ *)
41185 # `set' does not quote correctly, so add quotes (double-quote
41186 # substitution turns \\\\ into \\, and sed turns \\ into \).
41187 sed -n \
41188 "s/'/'\\\\''/g;
41189 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41190 ;;
41191 *)
41192 # `set' quotes correctly as required by POSIX, so do not add quotes.
41193 sed -n \
41194 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
41195 ;;
41196 esac;
41197 } |
41198 sed '
41199 t clear
41200 : clear
41201 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41202 t end
41203 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41204 : end' >>confcache
41205 if diff $cache_file confcache >/dev/null 2>&1; then :; else
41206 if test -w $cache_file; then
41207 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
41208 cat confcache >$cache_file
41209 else
41210 echo "not updating unwritable cache $cache_file"
41211 fi
41212 fi
41213 rm -f confcache
41214
41215 test "x$prefix" = xNONE && prefix=$ac_default_prefix
41216 # Let make expand exec_prefix.
41217 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
41218
41219 # VPATH may cause trouble with some makes, so we remove $(srcdir),
41220 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
41221 # trailing colons and then remove the whole line if VPATH becomes empty
41222 # (actually we leave an empty line to preserve line numbers).
41223 if test "x$srcdir" = x.; then
41224 ac_vpsub='/^[ ]*VPATH[ ]*=/{
41225 s/:*\$(srcdir):*/:/;
41226 s/:*\${srcdir}:*/:/;
41227 s/:*@srcdir@:*/:/;
41228 s/^\([^=]*=[ ]*\):*/\1/;
41229 s/:*$//;
41230 s/^[^=]*=[ ]*$//;
41231 }'
41232 fi
41233
41234 DEFS=-DHAVE_CONFIG_H
41235
41236 ac_libobjs=
41237 ac_ltlibobjs=
41238 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
41239 # 1. Remove the extension, and $U if already installed.
41240 ac_i=`echo "$ac_i" |
41241 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
41242 # 2. Add them.
41243 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
41244 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
41245 done
41246 LIBOBJS=$ac_libobjs
41247
41248 LTLIBOBJS=$ac_ltlibobjs
41249
41250
41251
41252 : ${CONFIG_STATUS=./config.status}
41253 ac_clean_files_save=$ac_clean_files
41254 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
41255 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
41256 echo "$as_me: creating $CONFIG_STATUS" >&6;}
41257 cat >$CONFIG_STATUS <<_ACEOF
41258 #! $SHELL
41259 # Generated by $as_me.
41260 # Run this file to recreate the current configuration.
41261 # Compiler output produced by configure, useful for debugging
41262 # configure, is in config.log if it exists.
41263
41264 debug=false
41265 ac_cs_recheck=false
41266 ac_cs_silent=false
41267 SHELL=\${CONFIG_SHELL-$SHELL}
41268 _ACEOF
41269
41270 cat >>$CONFIG_STATUS <<\_ACEOF
41271 ## --------------------- ##
41272 ## M4sh Initialization. ##
41273 ## --------------------- ##
41274
41275 # Be Bourne compatible
41276 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
41277 emulate sh
41278 NULLCMD=:
41279 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
41280 # is contrary to our usage. Disable this feature.
41281 alias -g '${1+"$@"}'='"$@"'
41282 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
41283 set -o posix
41284 fi
41285 DUALCASE=1; export DUALCASE # for MKS sh
41286
41287 # Support unset when possible.
41288 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
41289 as_unset=unset
41290 else
41291 as_unset=false
41292 fi
41293
41294
41295 # Work around bugs in pre-3.0 UWIN ksh.
41296 $as_unset ENV MAIL MAILPATH
41297 PS1='$ '
41298 PS2='> '
41299 PS4='+ '
41300
41301 # NLS nuisances.
41302 for as_var in \
41303 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41304 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41305 LC_TELEPHONE LC_TIME
41306 do
41307 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
41308 eval $as_var=C; export $as_var
41309 else
41310 $as_unset $as_var
41311 fi
41312 done
41313
41314 # Required to use basename.
41315 if expr a : '\(a\)' >/dev/null 2>&1; then
41316 as_expr=expr
41317 else
41318 as_expr=false
41319 fi
41320
41321 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
41322 as_basename=basename
41323 else
41324 as_basename=false
41325 fi
41326
41327
41328 # Name of the executable.
41329 as_me=`$as_basename "$0" ||
41330 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41331 X"$0" : 'X\(//\)$' \| \
41332 X"$0" : 'X\(/\)$' \| \
41333 . : '\(.\)' 2>/dev/null ||
41334 echo X/"$0" |
41335 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
41336 /^X\/\(\/\/\)$/{ s//\1/; q; }
41337 /^X\/\(\/\).*/{ s//\1/; q; }
41338 s/.*/./; q'`
41339
41340
41341 # PATH needs CR, and LINENO needs CR and PATH.
41342 # Avoid depending upon Character Ranges.
41343 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
41344 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41345 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
41346 as_cr_digits='0123456789'
41347 as_cr_alnum=$as_cr_Letters$as_cr_digits
41348
41349 # The user is always right.
41350 if test "${PATH_SEPARATOR+set}" != set; then
41351 echo "#! /bin/sh" >conf$$.sh
41352 echo "exit 0" >>conf$$.sh
41353 chmod +x conf$$.sh
41354 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
41355 PATH_SEPARATOR=';'
41356 else
41357 PATH_SEPARATOR=:
41358 fi
41359 rm -f conf$$.sh
41360 fi
41361
41362
41363 as_lineno_1=$LINENO
41364 as_lineno_2=$LINENO
41365 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
41366 test "x$as_lineno_1" != "x$as_lineno_2" &&
41367 test "x$as_lineno_3" = "x$as_lineno_2" || {
41368 # Find who we are. Look in the path if we contain no path at all
41369 # relative or not.
41370 case $0 in
41371 *[\\/]* ) as_myself=$0 ;;
41372 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41373 for as_dir in $PATH
41374 do
41375 IFS=$as_save_IFS
41376 test -z "$as_dir" && as_dir=.
41377 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41378 done
41379
41380 ;;
41381 esac
41382 # We did not find ourselves, most probably we were run as `sh COMMAND'
41383 # in which case we are not to be found in the path.
41384 if test "x$as_myself" = x; then
41385 as_myself=$0
41386 fi
41387 if test ! -f "$as_myself"; then
41388 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
41389 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
41390 { (exit 1); exit 1; }; }
41391 fi
41392 case $CONFIG_SHELL in
41393 '')
41394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41395 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
41396 do
41397 IFS=$as_save_IFS
41398 test -z "$as_dir" && as_dir=.
41399 for as_base in sh bash ksh sh5; do
41400 case $as_dir in
41401 /*)
41402 if ("$as_dir/$as_base" -c '
41403 as_lineno_1=$LINENO
41404 as_lineno_2=$LINENO
41405 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
41406 test "x$as_lineno_1" != "x$as_lineno_2" &&
41407 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
41408 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
41409 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
41410 CONFIG_SHELL=$as_dir/$as_base
41411 export CONFIG_SHELL
41412 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
41413 fi;;
41414 esac
41415 done
41416 done
41417 ;;
41418 esac
41419
41420 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
41421 # uniformly replaced by the line number. The first 'sed' inserts a
41422 # line-number line before each line; the second 'sed' does the real
41423 # work. The second script uses 'N' to pair each line-number line
41424 # with the numbered line, and appends trailing '-' during
41425 # substitution so that $LINENO is not a special case at line end.
41426 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
41427 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
41428 sed '=' <$as_myself |
41429 sed '
41430 N
41431 s,$,-,
41432 : loop
41433 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
41434 t loop
41435 s,-$,,
41436 s,^['$as_cr_digits']*\n,,
41437 ' >$as_me.lineno &&
41438 chmod +x $as_me.lineno ||
41439 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
41440 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
41441 { (exit 1); exit 1; }; }
41442
41443 # Don't try to exec as it changes $[0], causing all sort of problems
41444 # (the dirname of $[0] is not the place where we might find the
41445 # original and so on. Autoconf is especially sensible to this).
41446 . ./$as_me.lineno
41447 # Exit status is that of the last command.
41448 exit
41449 }
41450
41451
41452 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
41453 *c*,-n*) ECHO_N= ECHO_C='
41454 ' ECHO_T=' ' ;;
41455 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
41456 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
41457 esac
41458
41459 if expr a : '\(a\)' >/dev/null 2>&1; then
41460 as_expr=expr
41461 else
41462 as_expr=false
41463 fi
41464
41465 rm -f conf$$ conf$$.exe conf$$.file
41466 echo >conf$$.file
41467 if ln -s conf$$.file conf$$ 2>/dev/null; then
41468 # We could just check for DJGPP; but this test a) works b) is more generic
41469 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
41470 if test -f conf$$.exe; then
41471 # Don't use ln at all; we don't have any links
41472 as_ln_s='cp -p'
41473 else
41474 as_ln_s='ln -s'
41475 fi
41476 elif ln conf$$.file conf$$ 2>/dev/null; then
41477 as_ln_s=ln
41478 else
41479 as_ln_s='cp -p'
41480 fi
41481 rm -f conf$$ conf$$.exe conf$$.file
41482
41483 if mkdir -p . 2>/dev/null; then
41484 as_mkdir_p=:
41485 else
41486 test -d ./-p && rmdir ./-p
41487 as_mkdir_p=false
41488 fi
41489
41490 as_executable_p="test -f"
41491
41492 # Sed expression to map a string onto a valid CPP name.
41493 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41494
41495 # Sed expression to map a string onto a valid variable name.
41496 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41497
41498
41499 # IFS
41500 # We need space, tab and new line, in precisely that order.
41501 as_nl='
41502 '
41503 IFS=" $as_nl"
41504
41505 # CDPATH.
41506 $as_unset CDPATH
41507
41508 exec 6>&1
41509
41510 # Open the log real soon, to keep \$[0] and so on meaningful, and to
41511 # report actual input values of CONFIG_FILES etc. instead of their
41512 # values after options handling. Logging --version etc. is OK.
41513 exec 5>>config.log
41514 {
41515 echo
41516 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41517 ## Running $as_me. ##
41518 _ASBOX
41519 } >&5
41520 cat >&5 <<_CSEOF
41521
41522 This file was extended by wxWidgets $as_me 2.5.3, which was
41523 generated by GNU Autoconf 2.59. Invocation command line was
41524
41525 CONFIG_FILES = $CONFIG_FILES
41526 CONFIG_HEADERS = $CONFIG_HEADERS
41527 CONFIG_LINKS = $CONFIG_LINKS
41528 CONFIG_COMMANDS = $CONFIG_COMMANDS
41529 $ $0 $@
41530
41531 _CSEOF
41532 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
41533 echo >&5
41534 _ACEOF
41535
41536 # Files that config.status was made for.
41537 if test -n "$ac_config_files"; then
41538 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
41539 fi
41540
41541 if test -n "$ac_config_headers"; then
41542 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
41543 fi
41544
41545 if test -n "$ac_config_links"; then
41546 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
41547 fi
41548
41549 if test -n "$ac_config_commands"; then
41550 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
41551 fi
41552
41553 cat >>$CONFIG_STATUS <<\_ACEOF
41554
41555 ac_cs_usage="\
41556 \`$as_me' instantiates files from templates according to the
41557 current configuration.
41558
41559 Usage: $0 [OPTIONS] [FILE]...
41560
41561 -h, --help print this help, then exit
41562 -V, --version print version number, then exit
41563 -q, --quiet do not print progress messages
41564 -d, --debug don't remove temporary files
41565 --recheck update $as_me by reconfiguring in the same conditions
41566 --file=FILE[:TEMPLATE]
41567 instantiate the configuration file FILE
41568 --header=FILE[:TEMPLATE]
41569 instantiate the configuration header FILE
41570
41571 Configuration files:
41572 $config_files
41573
41574 Configuration headers:
41575 $config_headers
41576
41577 Configuration commands:
41578 $config_commands
41579
41580 Report bugs to <bug-autoconf@gnu.org>."
41581 _ACEOF
41582
41583 cat >>$CONFIG_STATUS <<_ACEOF
41584 ac_cs_version="\\
41585 wxWidgets config.status 2.5.3
41586 configured by $0, generated by GNU Autoconf 2.59,
41587 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
41588
41589 Copyright (C) 2003 Free Software Foundation, Inc.
41590 This config.status script is free software; the Free Software Foundation
41591 gives unlimited permission to copy, distribute and modify it."
41592 srcdir=$srcdir
41593 INSTALL="$INSTALL"
41594 _ACEOF
41595
41596 cat >>$CONFIG_STATUS <<\_ACEOF
41597 # If no file are specified by the user, then we need to provide default
41598 # value. By we need to know if files were specified by the user.
41599 ac_need_defaults=:
41600 while test $# != 0
41601 do
41602 case $1 in
41603 --*=*)
41604 ac_option=`expr "x$1" : 'x\([^=]*\)='`
41605 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
41606 ac_shift=:
41607 ;;
41608 -*)
41609 ac_option=$1
41610 ac_optarg=$2
41611 ac_shift=shift
41612 ;;
41613 *) # This is not an option, so the user has probably given explicit
41614 # arguments.
41615 ac_option=$1
41616 ac_need_defaults=false;;
41617 esac
41618
41619 case $ac_option in
41620 # Handling of the options.
41621 _ACEOF
41622 cat >>$CONFIG_STATUS <<\_ACEOF
41623 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41624 ac_cs_recheck=: ;;
41625 --version | --vers* | -V )
41626 echo "$ac_cs_version"; exit 0 ;;
41627 --he | --h)
41628 # Conflict between --help and --header
41629 { { echo "$as_me:$LINENO: error: ambiguous option: $1
41630 Try \`$0 --help' for more information." >&5
41631 echo "$as_me: error: ambiguous option: $1
41632 Try \`$0 --help' for more information." >&2;}
41633 { (exit 1); exit 1; }; };;
41634 --help | --hel | -h )
41635 echo "$ac_cs_usage"; exit 0 ;;
41636 --debug | --d* | -d )
41637 debug=: ;;
41638 --file | --fil | --fi | --f )
41639 $ac_shift
41640 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
41641 ac_need_defaults=false;;
41642 --header | --heade | --head | --hea )
41643 $ac_shift
41644 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
41645 ac_need_defaults=false;;
41646 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
41647 | -silent | --silent | --silen | --sile | --sil | --si | --s)
41648 ac_cs_silent=: ;;
41649
41650 # This is an error.
41651 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
41652 Try \`$0 --help' for more information." >&5
41653 echo "$as_me: error: unrecognized option: $1
41654 Try \`$0 --help' for more information." >&2;}
41655 { (exit 1); exit 1; }; } ;;
41656
41657 *) ac_config_targets="$ac_config_targets $1" ;;
41658
41659 esac
41660 shift
41661 done
41662
41663 ac_configure_extra_args=
41664
41665 if $ac_cs_silent; then
41666 exec 6>/dev/null
41667 ac_configure_extra_args="$ac_configure_extra_args --silent"
41668 fi
41669
41670 _ACEOF
41671 cat >>$CONFIG_STATUS <<_ACEOF
41672 if \$ac_cs_recheck; then
41673 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
41674 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
41675 fi
41676
41677 _ACEOF
41678
41679 cat >>$CONFIG_STATUS <<_ACEOF
41680 #
41681 # INIT-COMMANDS section.
41682 #
41683
41684 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41685 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41686 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41687 LN_S="${LN_S}"
41688
41689
41690 _ACEOF
41691
41692
41693
41694 cat >>$CONFIG_STATUS <<\_ACEOF
41695 for ac_config_target in $ac_config_targets
41696 do
41697 case "$ac_config_target" in
41698 # Handling of arguments.
41699 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
41700 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
41701 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
41702 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
41703 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
41704 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
41705 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
41706 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
41707 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
41708 { (exit 1); exit 1; }; };;
41709 esac
41710 done
41711
41712 # If the user did not use the arguments to specify the items to instantiate,
41713 # then the envvar interface is used. Set only those that are not.
41714 # We use the long form for the default assignment because of an extremely
41715 # bizarre bug on SunOS 4.1.3.
41716 if $ac_need_defaults; then
41717 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
41718 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
41719 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
41720 fi
41721
41722 # Have a temporary directory for convenience. Make it in the build tree
41723 # simply because there is no reason to put it here, and in addition,
41724 # creating and moving files from /tmp can sometimes cause problems.
41725 # Create a temporary directory, and hook for its removal unless debugging.
41726 $debug ||
41727 {
41728 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
41729 trap '{ (exit 1); exit 1; }' 1 2 13 15
41730 }
41731
41732 # Create a (secure) tmp directory for tmp files.
41733
41734 {
41735 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
41736 test -n "$tmp" && test -d "$tmp"
41737 } ||
41738 {
41739 tmp=./confstat$$-$RANDOM
41740 (umask 077 && mkdir $tmp)
41741 } ||
41742 {
41743 echo "$me: cannot create a temporary directory in ." >&2
41744 { (exit 1); exit 1; }
41745 }
41746
41747 _ACEOF
41748
41749 cat >>$CONFIG_STATUS <<_ACEOF
41750
41751 #
41752 # CONFIG_FILES section.
41753 #
41754
41755 # No need to generate the scripts if there are no CONFIG_FILES.
41756 # This happens for instance when ./config.status config.h
41757 if test -n "\$CONFIG_FILES"; then
41758 # Protect against being on the right side of a sed subst in config.status.
41759 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
41760 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
41761 s,@SHELL@,$SHELL,;t t
41762 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
41763 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
41764 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
41765 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
41766 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
41767 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
41768 s,@exec_prefix@,$exec_prefix,;t t
41769 s,@prefix@,$prefix,;t t
41770 s,@program_transform_name@,$program_transform_name,;t t
41771 s,@bindir@,$bindir,;t t
41772 s,@sbindir@,$sbindir,;t t
41773 s,@libexecdir@,$libexecdir,;t t
41774 s,@datadir@,$datadir,;t t
41775 s,@sysconfdir@,$sysconfdir,;t t
41776 s,@sharedstatedir@,$sharedstatedir,;t t
41777 s,@localstatedir@,$localstatedir,;t t
41778 s,@libdir@,$libdir,;t t
41779 s,@includedir@,$includedir,;t t
41780 s,@oldincludedir@,$oldincludedir,;t t
41781 s,@infodir@,$infodir,;t t
41782 s,@mandir@,$mandir,;t t
41783 s,@build_alias@,$build_alias,;t t
41784 s,@host_alias@,$host_alias,;t t
41785 s,@target_alias@,$target_alias,;t t
41786 s,@DEFS@,$DEFS,;t t
41787 s,@ECHO_C@,$ECHO_C,;t t
41788 s,@ECHO_N@,$ECHO_N,;t t
41789 s,@ECHO_T@,$ECHO_T,;t t
41790 s,@LIBS@,$LIBS,;t t
41791 s,@build@,$build,;t t
41792 s,@build_cpu@,$build_cpu,;t t
41793 s,@build_vendor@,$build_vendor,;t t
41794 s,@build_os@,$build_os,;t t
41795 s,@host@,$host,;t t
41796 s,@host_cpu@,$host_cpu,;t t
41797 s,@host_vendor@,$host_vendor,;t t
41798 s,@host_os@,$host_os,;t t
41799 s,@target@,$target,;t t
41800 s,@target_cpu@,$target_cpu,;t t
41801 s,@target_vendor@,$target_vendor,;t t
41802 s,@target_os@,$target_os,;t t
41803 s,@CC@,$CC,;t t
41804 s,@CFLAGS@,$CFLAGS,;t t
41805 s,@LDFLAGS@,$LDFLAGS,;t t
41806 s,@CPPFLAGS@,$CPPFLAGS,;t t
41807 s,@ac_ct_CC@,$ac_ct_CC,;t t
41808 s,@EXEEXT@,$EXEEXT,;t t
41809 s,@OBJEXT@,$OBJEXT,;t t
41810 s,@CPP@,$CPP,;t t
41811 s,@EGREP@,$EGREP,;t t
41812 s,@CXX@,$CXX,;t t
41813 s,@CXXFLAGS@,$CXXFLAGS,;t t
41814 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
41815 s,@RANLIB@,$RANLIB,;t t
41816 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
41817 s,@AR@,$AR,;t t
41818 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
41819 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
41820 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
41821 s,@STRIP@,$STRIP,;t t
41822 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
41823 s,@LN_S@,$LN_S,;t t
41824 s,@CXXCPP@,$CXXCPP,;t t
41825 s,@subdirs@,$subdirs,;t t
41826 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
41827 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
41828 s,@GTK_LIBS@,$GTK_LIBS,;t t
41829 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
41830 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
41831 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
41832 s,@X_CFLAGS@,$X_CFLAGS,;t t
41833 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
41834 s,@X_LIBS@,$X_LIBS,;t t
41835 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
41836 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
41837 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
41838 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
41839 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
41840 s,@RESCOMP@,$RESCOMP,;t t
41841 s,@DEREZ@,$DEREZ,;t t
41842 s,@SETFILE@,$SETFILE,;t t
41843 s,@LIBICONV@,$LIBICONV,;t t
41844 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
41845 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
41846 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
41847 s,@SDL_LIBS@,$SDL_LIBS,;t t
41848 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
41849 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
41850 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
41851 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
41852 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
41853 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
41854 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
41855 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
41856 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
41857 s,@VENDOR@,$VENDOR,;t t
41858 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
41859 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
41860 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
41861 s,@WXUNIV@,$WXUNIV,;t t
41862 s,@MONOLITHIC@,$MONOLITHIC,;t t
41863 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
41864 s,@EXTRALIBS@,$EXTRALIBS,;t t
41865 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
41866 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
41867 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
41868 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
41869 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
41870 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
41871 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
41872 s,@UNICODE@,$UNICODE,;t t
41873 s,@BUILD@,$BUILD,;t t
41874 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
41875 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
41876 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
41877 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
41878 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
41879 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
41880 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
41881 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
41882 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
41883 s,@SET_MAKE@,$SET_MAKE,;t t
41884 s,@MAKE_SET@,$MAKE_SET,;t t
41885 s,@ac_ct_AR@,$ac_ct_AR,;t t
41886 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
41887 s,@NM@,$NM,;t t
41888 s,@ac_ct_NM@,$ac_ct_NM,;t t
41889 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
41890 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
41891 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
41892 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
41893 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
41894 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
41895 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
41896 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
41897 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
41898 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
41899 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
41900 s,@LIBPREFIX@,$LIBPREFIX,;t t
41901 s,@LIBEXT@,$LIBEXT,;t t
41902 s,@DLLPREFIX@,$DLLPREFIX,;t t
41903 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
41904 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
41905 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
41906 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
41907 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
41908 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
41909 s,@PIC_FLAG@,$PIC_FLAG,;t t
41910 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
41911 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
41912 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
41913 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
41914 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
41915 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
41916 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
41917 s,@GCC_PCH@,$GCC_PCH,;t t
41918 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
41919 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
41920 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
41921 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
41922 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
41923 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
41924 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
41925 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
41926 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
41927 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
41928 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
41929 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
41930 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
41931 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
41932 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
41933 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
41934 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
41935 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
41936 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
41937 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
41938 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
41939 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
41940 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
41941 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
41942 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
41943 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
41944 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
41945 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
41946 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
41947 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
41948 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
41949 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
41950 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
41951 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
41952 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
41953 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
41954 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
41955 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
41956 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
41957 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
41958 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
41959 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
41960 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
41961 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
41962 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
41963 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
41964 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
41965 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
41966 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
41967 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
41968 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
41969 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
41970 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
41971 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
41972 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
41973 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
41974 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
41975 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
41976 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
41977 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
41978 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
41979 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
41980 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
41981 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
41982 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
41983 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
41984 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
41985 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
41986 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
41987 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
41988 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
41989 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
41990 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
41991 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
41992 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
41993 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
41994 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
41995 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
41996 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
41997 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
41998 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
41999 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
42000 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
42001 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
42002 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
42003 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
42004 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
42005 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
42006 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
42007 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
42008 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
42009 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
42010 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
42011 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
42012 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
42013 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
42014 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42015 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42016 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42017 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
42018 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
42019 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
42020 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
42021 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
42022 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
42023 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
42024 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
42025 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
42026 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
42027 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
42028 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
42029 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
42030 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
42031 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
42032 s,@COND_TOOLKIT_MAC_WXUNIV_0@,$COND_TOOLKIT_MAC_WXUNIV_0,;t t
42033 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
42034 s,@COND_TOOLKIT_PM_WXUNIV_0@,$COND_TOOLKIT_PM_WXUNIV_0,;t t
42035 s,@SHARED@,$SHARED,;t t
42036 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
42037 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
42038 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
42039 s,@USE_GUI@,$USE_GUI,;t t
42040 s,@AFMINSTALL@,$AFMINSTALL,;t t
42041 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
42042 s,@TOOLKIT@,$TOOLKIT,;t t
42043 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
42044 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
42045 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
42046 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
42047 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
42048 s,@cross_compiling@,$cross_compiling,;t t
42049 s,@WIDGET_SET@,$WIDGET_SET,;t t
42050 s,@WX_RELEASE@,$WX_RELEASE,;t t
42051 s,@WX_VERSION@,$WX_VERSION,;t t
42052 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
42053 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
42054 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
42055 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
42056 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
42057 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
42058 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
42059 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
42060 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
42061 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
42062 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
42063 s,@EXE_LINKER@,$EXE_LINKER,;t t
42064 s,@GUIDIST@,$GUIDIST,;t t
42065 s,@DISTDIR@,$DISTDIR,;t t
42066 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
42067 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
42068 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
42069 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
42070 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
42071 s,@RESFLAGS@,$RESFLAGS,;t t
42072 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
42073 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
42074 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
42075 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
42076 s,@MACRESCOMP@,$MACRESCOMP,;t t
42077 s,@MACSETFILE@,$MACSETFILE,;t t
42078 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
42079 s,@GCC@,$GCC,;t t
42080 s,@DLLTOOL@,$DLLTOOL,;t t
42081 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
42082 s,@LIBOBJS@,$LIBOBJS,;t t
42083 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
42084 CEOF
42085
42086 _ACEOF
42087
42088 cat >>$CONFIG_STATUS <<\_ACEOF
42089 # Split the substitutions into bite-sized pieces for seds with
42090 # small command number limits, like on Digital OSF/1 and HP-UX.
42091 ac_max_sed_lines=48
42092 ac_sed_frag=1 # Number of current file.
42093 ac_beg=1 # First line for current file.
42094 ac_end=$ac_max_sed_lines # Line after last line for current file.
42095 ac_more_lines=:
42096 ac_sed_cmds=
42097 while $ac_more_lines; do
42098 if test $ac_beg -gt 1; then
42099 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
42100 else
42101 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
42102 fi
42103 if test ! -s $tmp/subs.frag; then
42104 ac_more_lines=false
42105 else
42106 # The purpose of the label and of the branching condition is to
42107 # speed up the sed processing (if there are no `@' at all, there
42108 # is no need to browse any of the substitutions).
42109 # These are the two extra sed commands mentioned above.
42110 (echo ':t
42111 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
42112 if test -z "$ac_sed_cmds"; then
42113 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
42114 else
42115 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
42116 fi
42117 ac_sed_frag=`expr $ac_sed_frag + 1`
42118 ac_beg=$ac_end
42119 ac_end=`expr $ac_end + $ac_max_sed_lines`
42120 fi
42121 done
42122 if test -z "$ac_sed_cmds"; then
42123 ac_sed_cmds=cat
42124 fi
42125 fi # test -n "$CONFIG_FILES"
42126
42127 _ACEOF
42128 cat >>$CONFIG_STATUS <<\_ACEOF
42129 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
42130 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42131 case $ac_file in
42132 - | *:- | *:-:* ) # input from stdin
42133 cat >$tmp/stdin
42134 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42135 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
42136 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42137 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
42138 * ) ac_file_in=$ac_file.in ;;
42139 esac
42140
42141 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
42142 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
42143 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42144 X"$ac_file" : 'X\(//\)[^/]' \| \
42145 X"$ac_file" : 'X\(//\)$' \| \
42146 X"$ac_file" : 'X\(/\)' \| \
42147 . : '\(.\)' 2>/dev/null ||
42148 echo X"$ac_file" |
42149 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42150 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42151 /^X\(\/\/\)$/{ s//\1/; q; }
42152 /^X\(\/\).*/{ s//\1/; q; }
42153 s/.*/./; q'`
42154 { if $as_mkdir_p; then
42155 mkdir -p "$ac_dir"
42156 else
42157 as_dir="$ac_dir"
42158 as_dirs=
42159 while test ! -d "$as_dir"; do
42160 as_dirs="$as_dir $as_dirs"
42161 as_dir=`(dirname "$as_dir") 2>/dev/null ||
42162 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42163 X"$as_dir" : 'X\(//\)[^/]' \| \
42164 X"$as_dir" : 'X\(//\)$' \| \
42165 X"$as_dir" : 'X\(/\)' \| \
42166 . : '\(.\)' 2>/dev/null ||
42167 echo X"$as_dir" |
42168 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42169 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42170 /^X\(\/\/\)$/{ s//\1/; q; }
42171 /^X\(\/\).*/{ s//\1/; q; }
42172 s/.*/./; q'`
42173 done
42174 test ! -n "$as_dirs" || mkdir $as_dirs
42175 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42176 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42177 { (exit 1); exit 1; }; }; }
42178
42179 ac_builddir=.
42180
42181 if test "$ac_dir" != .; then
42182 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42183 # A "../" for each directory in $ac_dir_suffix.
42184 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42185 else
42186 ac_dir_suffix= ac_top_builddir=
42187 fi
42188
42189 case $srcdir in
42190 .) # No --srcdir option. We are building in place.
42191 ac_srcdir=.
42192 if test -z "$ac_top_builddir"; then
42193 ac_top_srcdir=.
42194 else
42195 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
42196 fi ;;
42197 [\\/]* | ?:[\\/]* ) # Absolute path.
42198 ac_srcdir=$srcdir$ac_dir_suffix;
42199 ac_top_srcdir=$srcdir ;;
42200 *) # Relative path.
42201 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
42202 ac_top_srcdir=$ac_top_builddir$srcdir ;;
42203 esac
42204
42205 # Do not use `cd foo && pwd` to compute absolute paths, because
42206 # the directories may not exist.
42207 case `pwd` in
42208 .) ac_abs_builddir="$ac_dir";;
42209 *)
42210 case "$ac_dir" in
42211 .) ac_abs_builddir=`pwd`;;
42212 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
42213 *) ac_abs_builddir=`pwd`/"$ac_dir";;
42214 esac;;
42215 esac
42216 case $ac_abs_builddir in
42217 .) ac_abs_top_builddir=${ac_top_builddir}.;;
42218 *)
42219 case ${ac_top_builddir}. in
42220 .) ac_abs_top_builddir=$ac_abs_builddir;;
42221 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
42222 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
42223 esac;;
42224 esac
42225 case $ac_abs_builddir in
42226 .) ac_abs_srcdir=$ac_srcdir;;
42227 *)
42228 case $ac_srcdir in
42229 .) ac_abs_srcdir=$ac_abs_builddir;;
42230 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
42231 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
42232 esac;;
42233 esac
42234 case $ac_abs_builddir in
42235 .) ac_abs_top_srcdir=$ac_top_srcdir;;
42236 *)
42237 case $ac_top_srcdir in
42238 .) ac_abs_top_srcdir=$ac_abs_builddir;;
42239 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
42240 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
42241 esac;;
42242 esac
42243
42244
42245 case $INSTALL in
42246 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
42247 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
42248 esac
42249
42250 # Let's still pretend it is `configure' which instantiates (i.e., don't
42251 # use $as_me), people would be surprised to read:
42252 # /* config.h. Generated by config.status. */
42253 if test x"$ac_file" = x-; then
42254 configure_input=
42255 else
42256 configure_input="$ac_file. "
42257 fi
42258 configure_input=$configure_input"Generated from `echo $ac_file_in |
42259 sed 's,.*/,,'` by configure."
42260
42261 # First look for the input files in the build tree, otherwise in the
42262 # src tree.
42263 ac_file_inputs=`IFS=:
42264 for f in $ac_file_in; do
42265 case $f in
42266 -) echo $tmp/stdin ;;
42267 [\\/$]*)
42268 # Absolute (can't be DOS-style, as IFS=:)
42269 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42270 echo "$as_me: error: cannot find input file: $f" >&2;}
42271 { (exit 1); exit 1; }; }
42272 echo "$f";;
42273 *) # Relative
42274 if test -f "$f"; then
42275 # Build tree
42276 echo "$f"
42277 elif test -f "$srcdir/$f"; then
42278 # Source tree
42279 echo "$srcdir/$f"
42280 else
42281 # /dev/null tree
42282 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42283 echo "$as_me: error: cannot find input file: $f" >&2;}
42284 { (exit 1); exit 1; }; }
42285 fi;;
42286 esac
42287 done` || { (exit 1); exit 1; }
42288
42289 if test x"$ac_file" != x-; then
42290 { echo "$as_me:$LINENO: creating $ac_file" >&5
42291 echo "$as_me: creating $ac_file" >&6;}
42292 rm -f "$ac_file"
42293 fi
42294 _ACEOF
42295 cat >>$CONFIG_STATUS <<_ACEOF
42296 sed "$ac_vpsub
42297 $extrasub
42298 _ACEOF
42299 cat >>$CONFIG_STATUS <<\_ACEOF
42300 :t
42301 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42302 s,@configure_input@,$configure_input,;t t
42303 s,@srcdir@,$ac_srcdir,;t t
42304 s,@abs_srcdir@,$ac_abs_srcdir,;t t
42305 s,@top_srcdir@,$ac_top_srcdir,;t t
42306 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
42307 s,@builddir@,$ac_builddir,;t t
42308 s,@abs_builddir@,$ac_abs_builddir,;t t
42309 s,@top_builddir@,$ac_top_builddir,;t t
42310 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
42311 s,@INSTALL@,$ac_INSTALL,;t t
42312 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
42313 rm -f $tmp/stdin
42314 if test x"$ac_file" != x-; then
42315 mv $tmp/out $ac_file
42316 else
42317 cat $tmp/out
42318 rm -f $tmp/out
42319 fi
42320
42321 # Run the commands associated with the file.
42322 case $ac_file in
42323 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
42324 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
42325 esac
42326 done
42327 _ACEOF
42328 cat >>$CONFIG_STATUS <<\_ACEOF
42329
42330 #
42331 # CONFIG_HEADER section.
42332 #
42333
42334 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
42335 # NAME is the cpp macro being defined and VALUE is the value it is being given.
42336 #
42337 # ac_d sets the value in "#define NAME VALUE" lines.
42338 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
42339 ac_dB='[ ].*$,\1#\2'
42340 ac_dC=' '
42341 ac_dD=',;t'
42342 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
42343 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
42344 ac_uB='$,\1#\2define\3'
42345 ac_uC=' '
42346 ac_uD=',;t'
42347
42348 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
42349 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42350 case $ac_file in
42351 - | *:- | *:-:* ) # input from stdin
42352 cat >$tmp/stdin
42353 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42354 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
42355 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42356 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
42357 * ) ac_file_in=$ac_file.in ;;
42358 esac
42359
42360 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
42361 echo "$as_me: creating $ac_file" >&6;}
42362
42363 # First look for the input files in the build tree, otherwise in the
42364 # src tree.
42365 ac_file_inputs=`IFS=:
42366 for f in $ac_file_in; do
42367 case $f in
42368 -) echo $tmp/stdin ;;
42369 [\\/$]*)
42370 # Absolute (can't be DOS-style, as IFS=:)
42371 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42372 echo "$as_me: error: cannot find input file: $f" >&2;}
42373 { (exit 1); exit 1; }; }
42374 # Do quote $f, to prevent DOS paths from being IFS'd.
42375 echo "$f";;
42376 *) # Relative
42377 if test -f "$f"; then
42378 # Build tree
42379 echo "$f"
42380 elif test -f "$srcdir/$f"; then
42381 # Source tree
42382 echo "$srcdir/$f"
42383 else
42384 # /dev/null tree
42385 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42386 echo "$as_me: error: cannot find input file: $f" >&2;}
42387 { (exit 1); exit 1; }; }
42388 fi;;
42389 esac
42390 done` || { (exit 1); exit 1; }
42391 # Remove the trailing spaces.
42392 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
42393
42394 _ACEOF
42395
42396 # Transform confdefs.h into two sed scripts, `conftest.defines' and
42397 # `conftest.undefs', that substitutes the proper values into
42398 # config.h.in to produce config.h. The first handles `#define'
42399 # templates, and the second `#undef' templates.
42400 # And first: Protect against being on the right side of a sed subst in
42401 # config.status. Protect against being in an unquoted here document
42402 # in config.status.
42403 rm -f conftest.defines conftest.undefs
42404 # Using a here document instead of a string reduces the quoting nightmare.
42405 # Putting comments in sed scripts is not portable.
42406 #
42407 # `end' is used to avoid that the second main sed command (meant for
42408 # 0-ary CPP macros) applies to n-ary macro definitions.
42409 # See the Autoconf documentation for `clear'.
42410 cat >confdef2sed.sed <<\_ACEOF
42411 s/[\\&,]/\\&/g
42412 s,[\\$`],\\&,g
42413 t clear
42414 : clear
42415 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
42416 t end
42417 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
42418 : end
42419 _ACEOF
42420 # If some macros were called several times there might be several times
42421 # the same #defines, which is useless. Nevertheless, we may not want to
42422 # sort them, since we want the *last* AC-DEFINE to be honored.
42423 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
42424 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
42425 rm -f confdef2sed.sed
42426
42427 # This sed command replaces #undef with comments. This is necessary, for
42428 # example, in the case of _POSIX_SOURCE, which is predefined and required
42429 # on some systems where configure will not decide to define it.
42430 cat >>conftest.undefs <<\_ACEOF
42431 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
42432 _ACEOF
42433
42434 # Break up conftest.defines because some shells have a limit on the size
42435 # of here documents, and old seds have small limits too (100 cmds).
42436 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
42437 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
42438 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
42439 echo ' :' >>$CONFIG_STATUS
42440 rm -f conftest.tail
42441 while grep . conftest.defines >/dev/null
42442 do
42443 # Write a limited-size here document to $tmp/defines.sed.
42444 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
42445 # Speed up: don't consider the non `#define' lines.
42446 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
42447 # Work around the forget-to-reset-the-flag bug.
42448 echo 't clr' >>$CONFIG_STATUS
42449 echo ': clr' >>$CONFIG_STATUS
42450 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
42451 echo 'CEOF
42452 sed -f $tmp/defines.sed $tmp/in >$tmp/out
42453 rm -f $tmp/in
42454 mv $tmp/out $tmp/in
42455 ' >>$CONFIG_STATUS
42456 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
42457 rm -f conftest.defines
42458 mv conftest.tail conftest.defines
42459 done
42460 rm -f conftest.defines
42461 echo ' fi # grep' >>$CONFIG_STATUS
42462 echo >>$CONFIG_STATUS
42463
42464 # Break up conftest.undefs because some shells have a limit on the size
42465 # of here documents, and old seds have small limits too (100 cmds).
42466 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
42467 rm -f conftest.tail
42468 while grep . conftest.undefs >/dev/null
42469 do
42470 # Write a limited-size here document to $tmp/undefs.sed.
42471 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
42472 # Speed up: don't consider the non `#undef'
42473 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
42474 # Work around the forget-to-reset-the-flag bug.
42475 echo 't clr' >>$CONFIG_STATUS
42476 echo ': clr' >>$CONFIG_STATUS
42477 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
42478 echo 'CEOF
42479 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
42480 rm -f $tmp/in
42481 mv $tmp/out $tmp/in
42482 ' >>$CONFIG_STATUS
42483 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
42484 rm -f conftest.undefs
42485 mv conftest.tail conftest.undefs
42486 done
42487 rm -f conftest.undefs
42488
42489 cat >>$CONFIG_STATUS <<\_ACEOF
42490 # Let's still pretend it is `configure' which instantiates (i.e., don't
42491 # use $as_me), people would be surprised to read:
42492 # /* config.h. Generated by config.status. */
42493 if test x"$ac_file" = x-; then
42494 echo "/* Generated by configure. */" >$tmp/config.h
42495 else
42496 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
42497 fi
42498 cat $tmp/in >>$tmp/config.h
42499 rm -f $tmp/in
42500 if test x"$ac_file" != x-; then
42501 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
42502 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
42503 echo "$as_me: $ac_file is unchanged" >&6;}
42504 else
42505 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
42506 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42507 X"$ac_file" : 'X\(//\)[^/]' \| \
42508 X"$ac_file" : 'X\(//\)$' \| \
42509 X"$ac_file" : 'X\(/\)' \| \
42510 . : '\(.\)' 2>/dev/null ||
42511 echo X"$ac_file" |
42512 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42513 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42514 /^X\(\/\/\)$/{ s//\1/; q; }
42515 /^X\(\/\).*/{ s//\1/; q; }
42516 s/.*/./; q'`
42517 { if $as_mkdir_p; then
42518 mkdir -p "$ac_dir"
42519 else
42520 as_dir="$ac_dir"
42521 as_dirs=
42522 while test ! -d "$as_dir"; do
42523 as_dirs="$as_dir $as_dirs"
42524 as_dir=`(dirname "$as_dir") 2>/dev/null ||
42525 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42526 X"$as_dir" : 'X\(//\)[^/]' \| \
42527 X"$as_dir" : 'X\(//\)$' \| \
42528 X"$as_dir" : 'X\(/\)' \| \
42529 . : '\(.\)' 2>/dev/null ||
42530 echo X"$as_dir" |
42531 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42532 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42533 /^X\(\/\/\)$/{ s//\1/; q; }
42534 /^X\(\/\).*/{ s//\1/; q; }
42535 s/.*/./; q'`
42536 done
42537 test ! -n "$as_dirs" || mkdir $as_dirs
42538 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42539 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42540 { (exit 1); exit 1; }; }; }
42541
42542 rm -f $ac_file
42543 mv $tmp/config.h $ac_file
42544 fi
42545 else
42546 cat $tmp/config.h
42547 rm -f $tmp/config.h
42548 fi
42549 done
42550 _ACEOF
42551 cat >>$CONFIG_STATUS <<\_ACEOF
42552
42553 #
42554 # CONFIG_COMMANDS section.
42555 #
42556 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
42557 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
42558 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
42559 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
42560 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42561 X"$ac_dest" : 'X\(//\)[^/]' \| \
42562 X"$ac_dest" : 'X\(//\)$' \| \
42563 X"$ac_dest" : 'X\(/\)' \| \
42564 . : '\(.\)' 2>/dev/null ||
42565 echo X"$ac_dest" |
42566 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42567 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42568 /^X\(\/\/\)$/{ s//\1/; q; }
42569 /^X\(\/\).*/{ s//\1/; q; }
42570 s/.*/./; q'`
42571 { if $as_mkdir_p; then
42572 mkdir -p "$ac_dir"
42573 else
42574 as_dir="$ac_dir"
42575 as_dirs=
42576 while test ! -d "$as_dir"; do
42577 as_dirs="$as_dir $as_dirs"
42578 as_dir=`(dirname "$as_dir") 2>/dev/null ||
42579 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42580 X"$as_dir" : 'X\(//\)[^/]' \| \
42581 X"$as_dir" : 'X\(//\)$' \| \
42582 X"$as_dir" : 'X\(/\)' \| \
42583 . : '\(.\)' 2>/dev/null ||
42584 echo X"$as_dir" |
42585 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42586 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42587 /^X\(\/\/\)$/{ s//\1/; q; }
42588 /^X\(\/\).*/{ s//\1/; q; }
42589 s/.*/./; q'`
42590 done
42591 test ! -n "$as_dirs" || mkdir $as_dirs
42592 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42593 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42594 { (exit 1); exit 1; }; }; }
42595
42596 ac_builddir=.
42597
42598 if test "$ac_dir" != .; then
42599 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42600 # A "../" for each directory in $ac_dir_suffix.
42601 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42602 else
42603 ac_dir_suffix= ac_top_builddir=
42604 fi
42605
42606 case $srcdir in
42607 .) # No --srcdir option. We are building in place.
42608 ac_srcdir=.
42609 if test -z "$ac_top_builddir"; then
42610 ac_top_srcdir=.
42611 else
42612 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
42613 fi ;;
42614 [\\/]* | ?:[\\/]* ) # Absolute path.
42615 ac_srcdir=$srcdir$ac_dir_suffix;
42616 ac_top_srcdir=$srcdir ;;
42617 *) # Relative path.
42618 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
42619 ac_top_srcdir=$ac_top_builddir$srcdir ;;
42620 esac
42621
42622 # Do not use `cd foo && pwd` to compute absolute paths, because
42623 # the directories may not exist.
42624 case `pwd` in
42625 .) ac_abs_builddir="$ac_dir";;
42626 *)
42627 case "$ac_dir" in
42628 .) ac_abs_builddir=`pwd`;;
42629 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
42630 *) ac_abs_builddir=`pwd`/"$ac_dir";;
42631 esac;;
42632 esac
42633 case $ac_abs_builddir in
42634 .) ac_abs_top_builddir=${ac_top_builddir}.;;
42635 *)
42636 case ${ac_top_builddir}. in
42637 .) ac_abs_top_builddir=$ac_abs_builddir;;
42638 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
42639 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
42640 esac;;
42641 esac
42642 case $ac_abs_builddir in
42643 .) ac_abs_srcdir=$ac_srcdir;;
42644 *)
42645 case $ac_srcdir in
42646 .) ac_abs_srcdir=$ac_abs_builddir;;
42647 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
42648 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
42649 esac;;
42650 esac
42651 case $ac_abs_builddir in
42652 .) ac_abs_top_srcdir=$ac_top_srcdir;;
42653 *)
42654 case $ac_top_srcdir in
42655 .) ac_abs_top_srcdir=$ac_abs_builddir;;
42656 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
42657 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
42658 esac;;
42659 esac
42660
42661
42662 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
42663 echo "$as_me: executing $ac_dest commands" >&6;}
42664 case $ac_dest in
42665 wx-config ) rm -f wx-config
42666 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
42667 ;;
42668 esac
42669 done
42670 _ACEOF
42671
42672 cat >>$CONFIG_STATUS <<\_ACEOF
42673
42674 { (exit 0); exit 0; }
42675 _ACEOF
42676 chmod +x $CONFIG_STATUS
42677 ac_clean_files=$ac_clean_files_save
42678
42679
42680 # configure is writing to config.log, and then calls config.status.
42681 # config.status does its own redirection, appending to config.log.
42682 # Unfortunately, on DOS this fails, as config.log is still kept open
42683 # by configure, so config.status won't be able to write to it; its
42684 # output is simply discarded. So we exec the FD to /dev/null,
42685 # effectively closing config.log, so it can be properly (re)opened and
42686 # appended to by config.status. When coming back to configure, we
42687 # need to make the FD available again.
42688 if test "$no_create" != yes; then
42689 ac_cs_success=:
42690 ac_config_status_args=
42691 test "$silent" = yes &&
42692 ac_config_status_args="$ac_config_status_args --quiet"
42693 exec 5>/dev/null
42694 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
42695 exec 5>>config.log
42696 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42697 # would make configure fail if this is the last instruction.
42698 $ac_cs_success || { (exit 1); exit 1; }
42699 fi
42700
42701 #
42702 # CONFIG_SUBDIRS section.
42703 #
42704 if test "$no_recursion" != yes; then
42705
42706 # Remove --cache-file and --srcdir arguments so they do not pile up.
42707 ac_sub_configure_args=
42708 ac_prev=
42709 for ac_arg in $ac_configure_args; do
42710 if test -n "$ac_prev"; then
42711 ac_prev=
42712 continue
42713 fi
42714 case $ac_arg in
42715 -cache-file | --cache-file | --cache-fil | --cache-fi \
42716 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42717 ac_prev=cache_file ;;
42718 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42719 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42720 | --c=*)
42721 ;;
42722 --config-cache | -C)
42723 ;;
42724 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42725 ac_prev=srcdir ;;
42726 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42727 ;;
42728 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42729 ac_prev=prefix ;;
42730 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42731 ;;
42732 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
42733 esac
42734 done
42735
42736 # Always prepend --prefix to ensure using the same prefix
42737 # in subdir configurations.
42738 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
42739
42740 ac_popdir=`pwd`
42741 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
42742
42743 # Do not complain, so a configure script can configure whichever
42744 # parts of a large source tree are present.
42745 test -d $srcdir/$ac_dir || continue
42746
42747 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
42748 echo "$as_me: configuring in $ac_dir" >&6;}
42749 { if $as_mkdir_p; then
42750 mkdir -p "$ac_dir"
42751 else
42752 as_dir="$ac_dir"
42753 as_dirs=
42754 while test ! -d "$as_dir"; do
42755 as_dirs="$as_dir $as_dirs"
42756 as_dir=`(dirname "$as_dir") 2>/dev/null ||
42757 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42758 X"$as_dir" : 'X\(//\)[^/]' \| \
42759 X"$as_dir" : 'X\(//\)$' \| \
42760 X"$as_dir" : 'X\(/\)' \| \
42761 . : '\(.\)' 2>/dev/null ||
42762 echo X"$as_dir" |
42763 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42764 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42765 /^X\(\/\/\)$/{ s//\1/; q; }
42766 /^X\(\/\).*/{ s//\1/; q; }
42767 s/.*/./; q'`
42768 done
42769 test ! -n "$as_dirs" || mkdir $as_dirs
42770 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42771 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42772 { (exit 1); exit 1; }; }; }
42773
42774 ac_builddir=.
42775
42776 if test "$ac_dir" != .; then
42777 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42778 # A "../" for each directory in $ac_dir_suffix.
42779 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42780 else
42781 ac_dir_suffix= ac_top_builddir=
42782 fi
42783
42784 case $srcdir in
42785 .) # No --srcdir option. We are building in place.
42786 ac_srcdir=.
42787 if test -z "$ac_top_builddir"; then
42788 ac_top_srcdir=.
42789 else
42790 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
42791 fi ;;
42792 [\\/]* | ?:[\\/]* ) # Absolute path.
42793 ac_srcdir=$srcdir$ac_dir_suffix;
42794 ac_top_srcdir=$srcdir ;;
42795 *) # Relative path.
42796 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
42797 ac_top_srcdir=$ac_top_builddir$srcdir ;;
42798 esac
42799
42800 # Do not use `cd foo && pwd` to compute absolute paths, because
42801 # the directories may not exist.
42802 case `pwd` in
42803 .) ac_abs_builddir="$ac_dir";;
42804 *)
42805 case "$ac_dir" in
42806 .) ac_abs_builddir=`pwd`;;
42807 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
42808 *) ac_abs_builddir=`pwd`/"$ac_dir";;
42809 esac;;
42810 esac
42811 case $ac_abs_builddir in
42812 .) ac_abs_top_builddir=${ac_top_builddir}.;;
42813 *)
42814 case ${ac_top_builddir}. in
42815 .) ac_abs_top_builddir=$ac_abs_builddir;;
42816 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
42817 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
42818 esac;;
42819 esac
42820 case $ac_abs_builddir in
42821 .) ac_abs_srcdir=$ac_srcdir;;
42822 *)
42823 case $ac_srcdir in
42824 .) ac_abs_srcdir=$ac_abs_builddir;;
42825 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
42826 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
42827 esac;;
42828 esac
42829 case $ac_abs_builddir in
42830 .) ac_abs_top_srcdir=$ac_top_srcdir;;
42831 *)
42832 case $ac_top_srcdir in
42833 .) ac_abs_top_srcdir=$ac_abs_builddir;;
42834 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
42835 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
42836 esac;;
42837 esac
42838
42839
42840 cd $ac_dir
42841
42842 # Check for guested configure; otherwise get Cygnus style configure.
42843 if test -f $ac_srcdir/configure.gnu; then
42844 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
42845 elif test -f $ac_srcdir/configure; then
42846 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
42847 elif test -f $ac_srcdir/configure.in; then
42848 ac_sub_configure=$ac_configure
42849 else
42850 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
42851 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
42852 ac_sub_configure=
42853 fi
42854
42855 # The recursion is here.
42856 if test -n "$ac_sub_configure"; then
42857 # Make the cache file name correct relative to the subdirectory.
42858 case $cache_file in
42859 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
42860 *) # Relative path.
42861 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
42862 esac
42863
42864 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
42865 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
42866 # The eval makes quoting arguments work.
42867 eval $ac_sub_configure $ac_sub_configure_args \
42868 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
42869 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
42870 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
42871 { (exit 1); exit 1; }; }
42872 fi
42873
42874 cd "$ac_popdir"
42875 done
42876 fi
42877
42878
42879 echo
42880 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
42881 echo ""
42882 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
42883 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
42884
42885 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
42886 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
42887 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
42888
42889 echo " What level of wxWidgets compatibility should be enabled?"
42890 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
42891 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
42892
42893 echo " Which libraries should wxWidgets use?"
42894 echo " jpeg ${wxUSE_LIBJPEG-none}"
42895 echo " png ${wxUSE_LIBPNG-none}"
42896 echo " regex ${wxUSE_REGEX}"
42897 echo " tiff ${wxUSE_LIBTIFF-none}"
42898 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
42899 echo " xpm ${wxUSE_LIBXPM-none}"
42900 fi
42901 echo " zlib ${wxUSE_ZLIB}"
42902 echo " odbc ${wxUSE_ODBC}"
42903 echo " expat ${wxUSE_EXPAT}"
42904 echo " libmspack ${wxUSE_LIBMSPACK}"
42905 echo " sdl ${wxUSE_LIBSDL}"
42906
42907 echo ""
42908